From 3d92245a54082f55d97c4378f86ddbf424a0c62c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 8 Nov 2022 01:57:59 +0000 Subject: [PATCH 1/4] docs: marking keyword_searchable_job_custom_attributes on the company object as deprecated --- docs: marking company_size histogram facet as deprecated PiperOrigin-RevId: 486780715 Source-Link: https://github.com/googleapis/googleapis/commit/737555f00997fb0e60336c452a6922c5cb8c060a Source-Link: https://github.com/googleapis/googleapis-gen/commit/d4bac364a85a02e78b91d57ed0de17aaab1bc621 Copy-Tag: eyJwIjoiamF2YS10YWxlbnQvLk93bEJvdC55YW1sIiwiaCI6ImQ0YmFjMzY0YTg1YTAyZTc4YjkxZDU3ZWQwZGUxN2FhYWIxYmM2MjEifQ== --- .../cloud/talent/v4/CompanyServiceGrpc.java | 805 --- .../cloud/talent/v4/TenantServiceGrpc.java | 798 --- .../talent/v4beta1/CompanyServiceGrpc.java | 826 --- .../cloud/talent/v4beta1/CompletionGrpc.java | 363 -- .../cloud/talent/v4beta1/JobServiceGrpc.java | 1428 ----- .../talent/v4beta1/TenantServiceGrpc.java | 819 --- .../google/cloud/talent/v4/CommonProto.java | 345 -- .../google/cloud/talent/v4/CompanyProto.java | 118 - .../cloud/talent/v4/CompanyServiceProto.java | 200 - .../talent/v4/CompletionServiceProto.java | 143 - .../v4/DeleteCompanyRequestOrBuilder.java | 60 - .../talent/v4/DeleteJobRequestOrBuilder.java | 60 - .../v4/DeleteTenantRequestOrBuilder.java | 58 - .../google/cloud/talent/v4/EventProto.java | 105 - .../cloud/talent/v4/EventServiceProto.java | 101 - .../google/cloud/talent/v4/FiltersProto.java | 186 - .../talent/v4/GetCompanyRequestOrBuilder.java | 60 - .../talent/v4/GetJobRequestOrBuilder.java | 60 - .../talent/v4/GetTenantRequestOrBuilder.java | 58 - .../cloud/talent/v4/HistogramProto.java | 95 - .../com/google/cloud/talent/v4/JobProto.java | 208 - .../cloud/talent/v4/JobServiceProto.java | 485 -- .../talent/v4/ResponseMetadataOrBuilder.java | 52 - .../google/cloud/talent/v4/TenantProto.java | 80 - .../cloud/talent/v4/TenantServiceProto.java | 197 - .../BatchCreateJobsRequestOrBuilder.java | 121 - .../cloud/talent/v4beta1/BatchProto.java | 50 - .../cloud/talent/v4beta1/CommonProto.java | 350 -- .../talent/v4beta1/CompanyResourceProto.java | 120 - .../talent/v4beta1/CompanyServiceProto.java | 208 - .../v4beta1/CompletionServiceProto.java | 145 - .../v4beta1/DeleteTenantRequestOrBuilder.java | 58 - .../cloud/talent/v4beta1/EventProto.java | 106 - .../talent/v4beta1/EventServiceProto.java | 103 - .../cloud/talent/v4beta1/FiltersProto.java | 194 - .../v4beta1/GetTenantRequestOrBuilder.java | 58 - .../cloud/talent/v4beta1/HistogramProto.java | 95 - .../talent/v4beta1/JobResourceProto.java | 211 - .../cloud/talent/v4beta1/JobServiceProto.java | 479 -- .../talent/v4beta1/TenantResourceProto.java | 85 - .../talent/v4beta1/TenantServiceProto.java | 200 - .../cloud/talent/v4/CompanyServiceClient.java | 0 .../talent/v4/CompanyServiceSettings.java | 1 + .../cloud/talent/v4/CompletionClient.java | 0 .../cloud/talent/v4/CompletionSettings.java | 1 + .../cloud/talent/v4/EventServiceClient.java | 0 .../cloud/talent/v4/EventServiceSettings.java | 1 + .../cloud/talent/v4/JobServiceClient.java | 0 .../cloud/talent/v4/JobServiceSettings.java | 1 + .../cloud/talent/v4/TenantServiceClient.java | 0 .../talent/v4/TenantServiceSettings.java | 1 + .../cloud/talent/v4/gapic_metadata.json | 0 .../google/cloud/talent/v4/package-info.java | 0 .../talent/v4/stub/CompanyServiceStub.java | 0 .../v4/stub/CompanyServiceStubSettings.java | 0 .../cloud/talent/v4/stub/CompletionStub.java | 0 .../v4/stub/CompletionStubSettings.java | 0 .../talent/v4/stub/EventServiceStub.java | 0 .../v4/stub/EventServiceStubSettings.java | 0 .../GrpcCompanyServiceCallableFactory.java | 0 .../v4/stub/GrpcCompanyServiceStub.java | 1 + .../stub/GrpcCompletionCallableFactory.java | 0 .../talent/v4/stub/GrpcCompletionStub.java | 1 + .../stub/GrpcEventServiceCallableFactory.java | 0 .../talent/v4/stub/GrpcEventServiceStub.java | 1 + .../stub/GrpcJobServiceCallableFactory.java | 0 .../talent/v4/stub/GrpcJobServiceStub.java | 1 + .../GrpcTenantServiceCallableFactory.java | 0 .../talent/v4/stub/GrpcTenantServiceStub.java | 1 + ...HttpJsonCompanyServiceCallableFactory.java | 0 .../v4/stub/HttpJsonCompanyServiceStub.java | 0 .../HttpJsonCompletionCallableFactory.java | 0 .../v4/stub/HttpJsonCompletionStub.java | 0 .../HttpJsonEventServiceCallableFactory.java | 0 .../v4/stub/HttpJsonEventServiceStub.java | 0 .../HttpJsonJobServiceCallableFactory.java | 0 .../v4/stub/HttpJsonJobServiceStub.java | 1 + .../HttpJsonTenantServiceCallableFactory.java | 0 .../v4/stub/HttpJsonTenantServiceStub.java | 0 .../cloud/talent/v4/stub/JobServiceStub.java | 0 .../v4/stub/JobServiceStubSettings.java | 0 .../talent/v4/stub/TenantServiceStub.java | 0 .../v4/stub/TenantServiceStubSettings.java | 0 .../v4/CompanyServiceClientHttpJsonTest.java | 0 .../talent/v4/CompanyServiceClientTest.java | 0 .../v4/CompletionClientHttpJsonTest.java | 0 .../cloud/talent/v4/CompletionClientTest.java | 0 .../v4/EventServiceClientHttpJsonTest.java | 0 .../talent/v4/EventServiceClientTest.java | 0 .../v4/JobServiceClientHttpJsonTest.java | 0 .../cloud/talent/v4/JobServiceClientTest.java | 0 .../cloud/talent/v4/MockCompanyService.java | 0 .../talent/v4/MockCompanyServiceImpl.java | 0 .../cloud/talent/v4/MockCompletion.java | 0 .../cloud/talent/v4/MockCompletionImpl.java | 0 .../cloud/talent/v4/MockEventService.java | 0 .../cloud/talent/v4/MockEventServiceImpl.java | 0 .../cloud/talent/v4/MockJobService.java | 0 .../cloud/talent/v4/MockJobServiceImpl.java | 0 .../cloud/talent/v4/MockTenantService.java | 0 .../talent/v4/MockTenantServiceImpl.java | 0 .../v4/TenantServiceClientHttpJsonTest.java | 0 .../talent/v4/TenantServiceClientTest.java | 0 .../cloud/talent/v4/CompanyServiceGrpc.java | 651 +++ .../cloud/talent/v4/CompletionGrpc.java | 227 +- .../cloud/talent/v4/EventServiceGrpc.java | 222 +- .../cloud/talent/v4/JobServiceGrpc.java | 970 ++-- .../cloud/talent/v4/TenantServiceGrpc.java | 647 +++ .../talent/v4/BatchCreateJobsRequest.java | 605 +-- .../v4/BatchCreateJobsRequestOrBuilder.java | 69 +- .../talent/v4/BatchCreateJobsResponse.java | 405 +- .../v4/BatchCreateJobsResponseOrBuilder.java | 36 +- .../talent/v4/BatchDeleteJobsRequest.java | 462 +- .../v4/BatchDeleteJobsRequestOrBuilder.java | 53 +- .../talent/v4/BatchDeleteJobsResponse.java | 405 +- .../v4/BatchDeleteJobsResponseOrBuilder.java | 36 +- .../talent/v4/BatchOperationMetadata.java | 843 ++- .../v4/BatchOperationMetadataOrBuilder.java | 66 +- .../talent/v4/BatchUpdateJobsRequest.java | 686 +-- .../v4/BatchUpdateJobsRequestOrBuilder.java | 77 +- .../talent/v4/BatchUpdateJobsResponse.java | 405 +- .../v4/BatchUpdateJobsResponseOrBuilder.java | 36 +- .../google/cloud/talent/v4/ClientEvent.java | 725 +-- .../cloud/talent/v4/ClientEventOrBuilder.java | 70 +- .../google/cloud/talent/v4/CommonProto.java | 307 ++ .../google/cloud/talent/v4/CommuteFilter.java | 897 ++-- .../talent/v4/CommuteFilterOrBuilder.java | 86 +- .../google/cloud/talent/v4/CommuteMethod.java | 103 +- .../com/google/cloud/talent/v4/Company.java | 1542 +++--- .../google/cloud/talent/v4/CompanyName.java | 0 .../cloud/talent/v4/CompanyOrBuilder.java | 140 +- .../google/cloud/talent/v4/CompanyProto.java | 90 + .../cloud/talent/v4/CompanyServiceProto.java | 180 + .../google/cloud/talent/v4/CompanySize.java | 117 +- .../cloud/talent/v4/CompensationFilter.java | 764 +-- .../v4/CompensationFilterOrBuilder.java | 81 +- .../cloud/talent/v4/CompensationInfo.java | 2267 +++----- .../talent/v4/CompensationInfoOrBuilder.java | 85 +- .../cloud/talent/v4/CompleteQueryRequest.java | 934 ++-- .../v4/CompleteQueryRequestOrBuilder.java | 86 +- .../talent/v4/CompleteQueryResponse.java | 1141 ++-- .../v4/CompleteQueryResponseOrBuilder.java | 65 +- .../talent/v4/CompletionServiceProto.java | 124 + .../talent/v4/CreateClientEventRequest.java | 492 +- .../v4/CreateClientEventRequestOrBuilder.java | 55 +- .../cloud/talent/v4/CreateCompanyRequest.java | 472 +- .../v4/CreateCompanyRequestOrBuilder.java | 52 +- .../cloud/talent/v4/CreateJobRequest.java | 426 +- .../talent/v4/CreateJobRequestOrBuilder.java | 43 +- .../cloud/talent/v4/CreateTenantRequest.java | 461 +- .../v4/CreateTenantRequestOrBuilder.java | 52 +- .../cloud/talent/v4/CustomAttribute.java | 520 +- .../talent/v4/CustomAttributeOrBuilder.java | 51 +- .../google/cloud/talent/v4/DegreeType.java | 122 +- .../cloud/talent/v4/DeleteCompanyRequest.java | 351 +- .../v4/DeleteCompanyRequestOrBuilder.java | 35 + .../cloud/talent/v4/DeleteJobRequest.java | 348 +- .../talent/v4/DeleteJobRequestOrBuilder.java | 35 + .../cloud/talent/v4/DeleteTenantRequest.java | 348 +- .../v4/DeleteTenantRequestOrBuilder.java | 33 + .../google/cloud/talent/v4/DeviceInfo.java | 470 +- .../cloud/talent/v4/DeviceInfoOrBuilder.java | 33 +- .../cloud/talent/v4/EmploymentType.java | 136 +- .../google/cloud/talent/v4/EventProto.java | 89 + .../cloud/talent/v4/EventServiceProto.java | 86 + .../google/cloud/talent/v4/FiltersProto.java | 149 + .../cloud/talent/v4/GetCompanyRequest.java | 348 +- .../talent/v4/GetCompanyRequestOrBuilder.java | 35 + .../google/cloud/talent/v4/GetJobRequest.java | 345 +- .../talent/v4/GetJobRequestOrBuilder.java | 35 + .../cloud/talent/v4/GetTenantRequest.java | 348 +- .../talent/v4/GetTenantRequestOrBuilder.java | 33 + .../cloud/talent/v4/HistogramProto.java | 78 + .../cloud/talent/v4/HistogramQuery.java | 320 +- .../talent/v4/HistogramQueryOrBuilder.java | 27 +- .../cloud/talent/v4/HistogramQueryResult.java | 582 +-- .../v4/HistogramQueryResultOrBuilder.java | 59 +- .../cloud/talent/v4/HtmlSanitization.java | 82 +- .../java/com/google/cloud/talent/v4/Job.java | 4571 ++++++---------- .../google/cloud/talent/v4/JobBenefit.java | 143 +- .../google/cloud/talent/v4/JobCategory.java | 276 +- .../com/google/cloud/talent/v4/JobEvent.java | 592 +-- .../cloud/talent/v4/JobEventOrBuilder.java | 50 +- .../com/google/cloud/talent/v4/JobLevel.java | 103 +- .../com/google/cloud/talent/v4/JobName.java | 0 .../google/cloud/talent/v4/JobOrBuilder.java | 378 +- .../com/google/cloud/talent/v4/JobProto.java | 160 + .../com/google/cloud/talent/v4/JobQuery.java | 1585 ++---- .../cloud/talent/v4/JobQueryOrBuilder.java | 198 +- .../com/google/cloud/talent/v4/JobResult.java | 388 +- .../cloud/talent/v4/JobResultOrBuilder.java | 34 +- .../cloud/talent/v4/JobServiceProto.java | 428 ++ .../com/google/cloud/talent/v4/JobView.java | 96 +- .../cloud/talent/v4/ListCompaniesRequest.java | 503 +- .../v4/ListCompaniesRequestOrBuilder.java | 50 +- .../talent/v4/ListCompaniesResponse.java | 566 +- .../v4/ListCompaniesResponseOrBuilder.java | 54 +- .../cloud/talent/v4/ListJobsRequest.java | 589 +-- .../talent/v4/ListJobsRequestOrBuilder.java | 62 +- .../cloud/talent/v4/ListJobsResponse.java | 567 +- .../talent/v4/ListJobsResponseOrBuilder.java | 54 +- .../cloud/talent/v4/ListTenantsRequest.java | 462 +- .../v4/ListTenantsRequestOrBuilder.java | 47 +- .../cloud/talent/v4/ListTenantsResponse.java | 559 +- .../v4/ListTenantsResponseOrBuilder.java | 54 +- .../com/google/cloud/talent/v4/Location.java | 623 +-- .../cloud/talent/v4/LocationFilter.java | 688 +-- .../talent/v4/LocationFilterOrBuilder.java | 59 +- .../cloud/talent/v4/LocationOrBuilder.java | 43 +- .../google/cloud/talent/v4/PostingRegion.java | 89 +- .../google/cloud/talent/v4/ProjectName.java | 0 .../cloud/talent/v4/RequestMetadata.java | 595 +-- .../talent/v4/RequestMetadataOrBuilder.java | 56 +- .../cloud/talent/v4/ResponseMetadata.java | 320 +- .../talent/v4/ResponseMetadataOrBuilder.java | 31 + .../cloud/talent/v4/SearchJobsRequest.java | 2275 +++----- .../talent/v4/SearchJobsRequestOrBuilder.java | 176 +- .../cloud/talent/v4/SearchJobsResponse.java | 2275 +++----- .../v4/SearchJobsResponseOrBuilder.java | 97 +- .../cloud/talent/v4/SpellingCorrection.java | 437 +- .../v4/SpellingCorrectionOrBuilder.java | 39 +- .../com/google/cloud/talent/v4/Tenant.java | 392 +- .../google/cloud/talent/v4/TenantName.java | 0 .../cloud/talent/v4/TenantOrBuilder.java | 36 +- .../google/cloud/talent/v4/TenantProto.java | 65 + .../cloud/talent/v4/TenantServiceProto.java | 177 + .../cloud/talent/v4/TimestampRange.java | 398 +- .../talent/v4/TimestampRangeOrBuilder.java | 34 +- .../cloud/talent/v4/UpdateCompanyRequest.java | 447 +- .../v4/UpdateCompanyRequestOrBuilder.java | 43 +- .../cloud/talent/v4/UpdateJobRequest.java | 405 +- .../talent/v4/UpdateJobRequestOrBuilder.java | 34 +- .../cloud/talent/v4/UpdateTenantRequest.java | 440 +- .../v4/UpdateTenantRequestOrBuilder.java | 43 +- .../google/cloud/talent/v4/Visibility.java | 90 +- .../proto/google/cloud/talent/v4/common.proto | 0 .../google/cloud/talent/v4/company.proto | 0 .../cloud/talent/v4/company_service.proto | 0 .../cloud/talent/v4/completion_service.proto | 0 .../proto/google/cloud/talent/v4/event.proto | 0 .../cloud/talent/v4/event_service.proto | 0 .../google/cloud/talent/v4/filters.proto | 0 .../google/cloud/talent/v4/histogram.proto | 0 .../proto/google/cloud/talent/v4/job.proto | 0 .../google/cloud/talent/v4/job_service.proto | 0 .../proto/google/cloud/talent/v4/tenant.proto | 0 .../cloud/talent/v4/tenant_service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createcompany/AsyncCreateCompany.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../SyncCreateCompanyStringCompany.java | 0 .../SyncCreateCompanyTenantnameCompany.java | 0 .../deletecompany/AsyncDeleteCompany.java | 0 .../deletecompany/SyncDeleteCompany.java | 0 .../SyncDeleteCompanyCompanyname.java | 0 .../SyncDeleteCompanyString.java | 0 .../getcompany/AsyncGetCompany.java | 0 .../getcompany/SyncGetCompany.java | 0 .../getcompany/SyncGetCompanyCompanyname.java | 0 .../getcompany/SyncGetCompanyString.java | 0 .../listcompanies/AsyncListCompanies.java | 0 .../AsyncListCompaniesPaged.java | 0 .../listcompanies/SyncListCompanies.java | 0 .../SyncListCompaniesString.java | 0 .../SyncListCompaniesTenantname.java | 0 .../updatecompany/AsyncUpdateCompany.java | 0 .../updatecompany/SyncUpdateCompany.java | 0 .../SyncUpdateCompanyCompanyFieldmask.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../completequery/AsyncCompleteQuery.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateClientEvent.java | 0 .../SyncCreateClientEvent.java | 0 ...yncCreateClientEventStringClientevent.java | 0 ...reateClientEventTenantnameClientevent.java | 0 .../SyncCreateClientEvent.java | 0 .../batchcreatejobs/AsyncBatchCreateJobs.java | 0 .../AsyncBatchCreateJobsLRO.java | 0 .../batchcreatejobs/SyncBatchCreateJobs.java | 0 .../SyncBatchCreateJobsStringListjob.java | 0 .../SyncBatchCreateJobsTenantnameListjob.java | 0 .../batchdeletejobs/AsyncBatchDeleteJobs.java | 0 .../AsyncBatchDeleteJobsLRO.java | 0 .../batchdeletejobs/SyncBatchDeleteJobs.java | 0 .../SyncBatchDeleteJobsStringListstring.java | 0 ...ncBatchDeleteJobsTenantnameListstring.java | 0 .../batchupdatejobs/AsyncBatchUpdateJobs.java | 0 .../AsyncBatchUpdateJobsLRO.java | 0 .../batchupdatejobs/SyncBatchUpdateJobs.java | 0 .../SyncBatchUpdateJobsStringListjob.java | 0 .../SyncBatchUpdateJobsTenantnameListjob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../jobservice/createjob/AsyncCreateJob.java | 0 .../jobservice/createjob/SyncCreateJob.java | 0 .../createjob/SyncCreateJobStringJob.java | 0 .../createjob/SyncCreateJobTenantnameJob.java | 0 .../jobservice/deletejob/AsyncDeleteJob.java | 0 .../jobservice/deletejob/SyncDeleteJob.java | 0 .../deletejob/SyncDeleteJobJobname.java | 0 .../deletejob/SyncDeleteJobString.java | 0 .../v4/jobservice/getjob/AsyncGetJob.java | 0 .../v4/jobservice/getjob/SyncGetJob.java | 0 .../jobservice/getjob/SyncGetJobJobname.java | 0 .../jobservice/getjob/SyncGetJobString.java | 0 .../v4/jobservice/listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../v4/jobservice/listjobs/SyncListJobs.java | 0 .../listjobs/SyncListJobsStringString.java | 0 .../SyncListJobsTenantnameString.java | 0 .../searchjobs/AsyncSearchJobs.java | 0 .../jobservice/searchjobs/SyncSearchJobs.java | 0 .../AsyncSearchJobsForAlert.java | 0 .../SyncSearchJobsForAlert.java | 0 .../jobservice/updatejob/AsyncUpdateJob.java | 0 .../jobservice/updatejob/SyncUpdateJob.java | 0 .../updatejob/SyncUpdateJobJobFieldmask.java | 0 .../createjob/SyncCreateJob.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateClientEvent.java | 0 .../createjob/SyncCreateJob.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createtenant/AsyncCreateTenant.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../SyncCreateTenantProjectnameTenant.java | 0 .../SyncCreateTenantStringTenant.java | 0 .../deletetenant/AsyncDeleteTenant.java | 0 .../deletetenant/SyncDeleteTenant.java | 0 .../deletetenant/SyncDeleteTenantString.java | 0 .../SyncDeleteTenantTenantname.java | 0 .../gettenant/AsyncGetTenant.java | 0 .../gettenant/SyncGetTenant.java | 0 .../gettenant/SyncGetTenantString.java | 0 .../gettenant/SyncGetTenantTenantname.java | 0 .../listtenants/AsyncListTenants.java | 0 .../listtenants/AsyncListTenantsPaged.java | 0 .../listtenants/SyncListTenants.java | 0 .../SyncListTenantsProjectname.java | 0 .../listtenants/SyncListTenantsString.java | 0 .../updatetenant/AsyncUpdateTenant.java | 0 .../updatetenant/SyncUpdateTenant.java | 0 .../SyncUpdateTenantTenantFieldmask.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../talent/v4beta1/CompanyServiceClient.java | 0 .../v4beta1/CompanyServiceSettings.java | 1 + .../talent/v4beta1/CompletionClient.java | 0 .../talent/v4beta1/CompletionSettings.java | 1 + .../talent/v4beta1/EventServiceClient.java | 0 .../talent/v4beta1/EventServiceSettings.java | 1 + .../talent/v4beta1/JobServiceClient.java | 0 .../talent/v4beta1/JobServiceSettings.java | 1 + .../talent/v4beta1/TenantServiceClient.java | 0 .../talent/v4beta1/TenantServiceSettings.java | 1 + .../cloud/talent/v4beta1/gapic_metadata.json | 0 .../cloud/talent/v4beta1/package-info.java | 0 .../v4beta1/stub/CompanyServiceStub.java | 0 .../stub/CompanyServiceStubSettings.java | 0 .../talent/v4beta1/stub/CompletionStub.java | 0 .../v4beta1/stub/CompletionStubSettings.java | 0 .../talent/v4beta1/stub/EventServiceStub.java | 0 .../stub/EventServiceStubSettings.java | 0 .../GrpcCompanyServiceCallableFactory.java | 0 .../v4beta1/stub/GrpcCompanyServiceStub.java | 1 + .../stub/GrpcCompletionCallableFactory.java | 0 .../v4beta1/stub/GrpcCompletionStub.java | 1 + .../stub/GrpcEventServiceCallableFactory.java | 0 .../v4beta1/stub/GrpcEventServiceStub.java | 1 + .../stub/GrpcJobServiceCallableFactory.java | 0 .../v4beta1/stub/GrpcJobServiceStub.java | 1 + .../GrpcTenantServiceCallableFactory.java | 0 .../v4beta1/stub/GrpcTenantServiceStub.java | 1 + ...HttpJsonCompanyServiceCallableFactory.java | 0 .../stub/HttpJsonCompanyServiceStub.java | 0 .../HttpJsonCompletionCallableFactory.java | 0 .../v4beta1/stub/HttpJsonCompletionStub.java | 0 .../HttpJsonEventServiceCallableFactory.java | 0 .../stub/HttpJsonEventServiceStub.java | 0 .../HttpJsonJobServiceCallableFactory.java | 0 .../v4beta1/stub/HttpJsonJobServiceStub.java | 1 + .../HttpJsonTenantServiceCallableFactory.java | 0 .../stub/HttpJsonTenantServiceStub.java | 0 .../talent/v4beta1/stub/JobServiceStub.java | 0 .../v4beta1/stub/JobServiceStubSettings.java | 0 .../v4beta1/stub/TenantServiceStub.java | 0 .../stub/TenantServiceStubSettings.java | 0 .../CompanyServiceClientHttpJsonTest.java | 0 .../v4beta1/CompanyServiceClientTest.java | 0 .../v4beta1/CompletionClientHttpJsonTest.java | 0 .../talent/v4beta1/CompletionClientTest.java | 0 .../EventServiceClientHttpJsonTest.java | 0 .../v4beta1/EventServiceClientTest.java | 0 .../v4beta1/JobServiceClientHttpJsonTest.java | 0 .../talent/v4beta1/JobServiceClientTest.java | 0 .../talent/v4beta1/MockCompanyService.java | 0 .../v4beta1/MockCompanyServiceImpl.java | 0 .../cloud/talent/v4beta1/MockCompletion.java | 0 .../talent/v4beta1/MockCompletionImpl.java | 0 .../talent/v4beta1/MockEventService.java | 0 .../talent/v4beta1/MockEventServiceImpl.java | 0 .../cloud/talent/v4beta1/MockJobService.java | 0 .../talent/v4beta1/MockJobServiceImpl.java | 0 .../talent/v4beta1/MockTenantService.java | 0 .../talent/v4beta1/MockTenantServiceImpl.java | 0 .../TenantServiceClientHttpJsonTest.java | 0 .../v4beta1/TenantServiceClientTest.java | 0 .../talent/v4beta1/CompanyServiceGrpc.java | 651 +++ .../cloud/talent/v4beta1/CompletionGrpc.java | 307 ++ .../talent/v4beta1/EventServiceGrpc.java | 223 +- .../cloud/talent/v4beta1/JobServiceGrpc.java | 1145 ++++ .../talent/v4beta1/TenantServiceGrpc.java | 647 +++ .../v4beta1/BatchCreateJobsRequest.java | 611 +-- .../BatchCreateJobsRequestOrBuilder.java | 79 + .../v4beta1/BatchDeleteJobsRequest.java | 437 +- .../BatchDeleteJobsRequestOrBuilder.java | 44 +- .../v4beta1/BatchOperationMetadata.java | 848 ++- .../BatchOperationMetadataOrBuilder.java | 66 +- .../cloud/talent/v4beta1/BatchProto.java | 39 + .../v4beta1/BatchUpdateJobsRequest.java | 692 +-- .../BatchUpdateJobsRequestOrBuilder.java | 82 +- .../cloud/talent/v4beta1/ClientEvent.java | 729 +-- .../talent/v4beta1/ClientEventOrBuilder.java | 70 +- .../cloud/talent/v4beta1/CommonProto.java | 308 ++ .../cloud/talent/v4beta1/CommuteFilter.java | 900 ++-- .../v4beta1/CommuteFilterOrBuilder.java | 86 +- .../cloud/talent/v4beta1/CommuteMethod.java | 96 +- .../google/cloud/talent/v4beta1/Company.java | 1641 +++--- .../cloud/talent/v4beta1/CompanyName.java | 0 .../talent/v4beta1/CompanyOrBuilder.java | 168 +- .../talent/v4beta1/CompanyResourceProto.java | 92 + .../talent/v4beta1/CompanyServiceProto.java | 188 + .../cloud/talent/v4beta1/CompanySize.java | 117 +- .../talent/v4beta1/CompensationFilter.java | 796 +-- .../v4beta1/CompensationFilterOrBuilder.java | 81 +- .../talent/v4beta1/CompensationInfo.java | 2439 +++------ .../v4beta1/CompensationInfoOrBuilder.java | 100 +- .../talent/v4beta1/CompleteQueryRequest.java | 952 ++-- .../CompleteQueryRequestOrBuilder.java | 86 +- .../talent/v4beta1/CompleteQueryResponse.java | 1168 ++--- .../CompleteQueryResponseOrBuilder.java | 68 +- .../v4beta1/CompletionServiceProto.java | 126 + .../v4beta1/CreateClientEventRequest.java | 492 +- .../CreateClientEventRequestOrBuilder.java | 55 +- .../talent/v4beta1/CreateCompanyRequest.java | 492 +- .../CreateCompanyRequestOrBuilder.java | 55 +- .../talent/v4beta1/CreateJobRequest.java | 468 +- .../v4beta1/CreateJobRequestOrBuilder.java | 52 +- .../talent/v4beta1/CreateTenantRequest.java | 485 +- .../v4beta1/CreateTenantRequestOrBuilder.java | 52 +- .../cloud/talent/v4beta1/CustomAttribute.java | 523 +- .../v4beta1/CustomAttributeOrBuilder.java | 51 +- .../cloud/talent/v4beta1/DegreeType.java | 122 +- .../talent/v4beta1/DeleteCompanyRequest.java | 355 +- .../DeleteCompanyRequestOrBuilder.java | 35 +- .../talent/v4beta1/DeleteJobRequest.java | 355 +- .../v4beta1/DeleteJobRequestOrBuilder.java | 35 +- .../talent/v4beta1/DeleteTenantRequest.java | 355 +- .../v4beta1/DeleteTenantRequestOrBuilder.java | 33 + .../cloud/talent/v4beta1/DeviceInfo.java | 480 +- .../talent/v4beta1/DeviceInfoOrBuilder.java | 33 +- .../cloud/talent/v4beta1/EmploymentType.java | 136 +- .../cloud/talent/v4beta1/EventProto.java | 90 + .../talent/v4beta1/EventServiceProto.java | 88 + .../cloud/talent/v4beta1/FiltersProto.java | 152 + .../talent/v4beta1/GetCompanyRequest.java | 355 +- .../v4beta1/GetCompanyRequestOrBuilder.java | 35 +- .../cloud/talent/v4beta1/GetJobRequest.java | 348 +- .../v4beta1/GetJobRequestOrBuilder.java | 35 +- .../talent/v4beta1/GetTenantRequest.java | 355 +- .../v4beta1/GetTenantRequestOrBuilder.java | 33 + .../cloud/talent/v4beta1/HistogramProto.java | 78 + .../cloud/talent/v4beta1/HistogramQuery.java | 320 +- .../v4beta1/HistogramQueryOrBuilder.java | 27 +- .../talent/v4beta1/HistogramQueryResult.java | 586 +-- .../HistogramQueryResultOrBuilder.java | 59 +- .../talent/v4beta1/HtmlSanitization.java | 82 +- .../com/google/cloud/talent/v4beta1/Job.java | 4644 ++++++----------- .../cloud/talent/v4beta1/JobBenefit.java | 143 +- .../cloud/talent/v4beta1/JobCategory.java | 276 +- .../google/cloud/talent/v4beta1/JobEvent.java | 677 +-- .../talent/v4beta1/JobEventOrBuilder.java | 59 +- .../google/cloud/talent/v4beta1/JobLevel.java | 103 +- .../google/cloud/talent/v4beta1/JobName.java | 0 .../talent/v4beta1/JobOperationResult.java | 925 ++-- .../v4beta1/JobOperationResultOrBuilder.java | 48 +- .../cloud/talent/v4beta1/JobOrBuilder.java | 392 +- .../google/cloud/talent/v4beta1/JobQuery.java | 1588 ++---- .../talent/v4beta1/JobQueryOrBuilder.java | 198 +- .../talent/v4beta1/JobResourceProto.java | 163 + .../cloud/talent/v4beta1/JobServiceProto.java | 418 ++ .../google/cloud/talent/v4beta1/JobView.java | 96 +- .../talent/v4beta1/ListCompaniesRequest.java | 499 +- .../ListCompaniesRequestOrBuilder.java | 50 +- .../talent/v4beta1/ListCompaniesResponse.java | 570 +- .../ListCompaniesResponseOrBuilder.java | 53 +- .../cloud/talent/v4beta1/ListJobsRequest.java | 592 +-- .../v4beta1/ListJobsRequestOrBuilder.java | 62 +- .../talent/v4beta1/ListJobsResponse.java | 572 +- .../v4beta1/ListJobsResponseOrBuilder.java | 54 +- .../talent/v4beta1/ListTenantsRequest.java | 469 +- .../v4beta1/ListTenantsRequestOrBuilder.java | 47 +- .../talent/v4beta1/ListTenantsResponse.java | 566 +- .../v4beta1/ListTenantsResponseOrBuilder.java | 53 +- .../google/cloud/talent/v4beta1/Location.java | 633 +-- .../cloud/talent/v4beta1/LocationFilter.java | 728 +-- .../v4beta1/LocationFilterOrBuilder.java | 64 +- .../talent/v4beta1/LocationOrBuilder.java | 43 +- .../cloud/talent/v4beta1/PostingRegion.java | 89 +- .../cloud/talent/v4beta1/ProjectName.java | 0 .../cloud/talent/v4beta1/RequestMetadata.java | 595 +-- .../v4beta1/RequestMetadataOrBuilder.java | 56 +- .../talent/v4beta1/ResponseMetadata.java | 327 +- .../v4beta1/ResponseMetadataOrBuilder.java | 27 +- .../talent/v4beta1/SearchJobsRequest.java | 2448 +++------ .../v4beta1/SearchJobsRequestOrBuilder.java | 202 +- .../talent/v4beta1/SearchJobsResponse.java | 2422 ++++----- .../v4beta1/SearchJobsResponseOrBuilder.java | 128 +- .../talent/v4beta1/SpellingCorrection.java | 444 +- .../v4beta1/SpellingCorrectionOrBuilder.java | 39 +- .../google/cloud/talent/v4beta1/Tenant.java | 637 +-- .../cloud/talent/v4beta1/TenantName.java | 0 .../cloud/talent/v4beta1/TenantOrBuilder.java | 60 +- .../talent/v4beta1/TenantResourceProto.java | 70 + .../talent/v4beta1/TenantServiceProto.java | 180 + .../cloud/talent/v4beta1/TimestampRange.java | 398 +- .../v4beta1/TimestampRangeOrBuilder.java | 34 +- .../talent/v4beta1/UpdateCompanyRequest.java | 467 +- .../UpdateCompanyRequestOrBuilder.java | 46 +- .../talent/v4beta1/UpdateJobRequest.java | 447 +- .../v4beta1/UpdateJobRequestOrBuilder.java | 43 +- .../talent/v4beta1/UpdateTenantRequest.java | 460 +- .../v4beta1/UpdateTenantRequestOrBuilder.java | 43 +- .../cloud/talent/v4beta1/Visibility.java | 90 +- .../google/cloud/talent/v4beta1/batch.proto | 0 .../google/cloud/talent/v4beta1/common.proto | 0 .../google/cloud/talent/v4beta1/company.proto | 5 +- .../talent/v4beta1/company_service.proto | 0 .../talent/v4beta1/completion_service.proto | 0 .../google/cloud/talent/v4beta1/event.proto | 0 .../cloud/talent/v4beta1/event_service.proto | 0 .../google/cloud/talent/v4beta1/filters.proto | 0 .../cloud/talent/v4beta1/histogram.proto | 0 .../google/cloud/talent/v4beta1/job.proto | 0 .../cloud/talent/v4beta1/job_service.proto | 4 +- .../google/cloud/talent/v4beta1/tenant.proto | 0 .../cloud/talent/v4beta1/tenant_service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createcompany/AsyncCreateCompany.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../SyncCreateCompanyProjectnameCompany.java | 0 .../SyncCreateCompanyStringCompany.java | 0 .../SyncCreateCompanyTenantnameCompany.java | 0 .../deletecompany/AsyncDeleteCompany.java | 0 .../deletecompany/SyncDeleteCompany.java | 0 .../SyncDeleteCompanyCompanyname.java | 0 .../SyncDeleteCompanyString.java | 0 .../getcompany/AsyncGetCompany.java | 0 .../getcompany/SyncGetCompany.java | 0 .../getcompany/SyncGetCompanyCompanyname.java | 0 .../getcompany/SyncGetCompanyString.java | 0 .../listcompanies/AsyncListCompanies.java | 0 .../AsyncListCompaniesPaged.java | 0 .../listcompanies/SyncListCompanies.java | 0 .../SyncListCompaniesProjectname.java | 0 .../SyncListCompaniesString.java | 0 .../SyncListCompaniesTenantname.java | 0 .../updatecompany/AsyncUpdateCompany.java | 0 .../updatecompany/SyncUpdateCompany.java | 0 .../SyncUpdateCompanyCompany.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../completequery/AsyncCompleteQuery.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateClientEvent.java | 0 .../SyncCreateClientEvent.java | 0 ...eateClientEventProjectnameClientevent.java | 0 ...yncCreateClientEventStringClientevent.java | 0 ...reateClientEventTenantnameClientevent.java | 0 .../SyncCreateClientEvent.java | 0 .../batchcreatejobs/AsyncBatchCreateJobs.java | 0 .../AsyncBatchCreateJobsLRO.java | 0 .../batchcreatejobs/SyncBatchCreateJobs.java | 0 ...SyncBatchCreateJobsProjectnameListjob.java | 0 .../SyncBatchCreateJobsStringListjob.java | 0 .../SyncBatchCreateJobsTenantnameListjob.java | 0 .../batchdeletejobs/AsyncBatchDeleteJobs.java | 0 .../batchdeletejobs/SyncBatchDeleteJobs.java | 0 .../SyncBatchDeleteJobsProjectnameString.java | 0 .../SyncBatchDeleteJobsStringString.java | 0 .../SyncBatchDeleteJobsTenantnameString.java | 0 .../batchupdatejobs/AsyncBatchUpdateJobs.java | 0 .../AsyncBatchUpdateJobsLRO.java | 0 .../batchupdatejobs/SyncBatchUpdateJobs.java | 0 ...SyncBatchUpdateJobsProjectnameListjob.java | 0 .../SyncBatchUpdateJobsStringListjob.java | 0 .../SyncBatchUpdateJobsTenantnameListjob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../jobservice/createjob/AsyncCreateJob.java | 0 .../jobservice/createjob/SyncCreateJob.java | 0 .../SyncCreateJobProjectnameJob.java | 0 .../createjob/SyncCreateJobStringJob.java | 0 .../createjob/SyncCreateJobTenantnameJob.java | 0 .../jobservice/deletejob/AsyncDeleteJob.java | 0 .../jobservice/deletejob/SyncDeleteJob.java | 0 .../deletejob/SyncDeleteJobJobname.java | 0 .../deletejob/SyncDeleteJobString.java | 0 .../jobservice/getjob/AsyncGetJob.java | 0 .../v4beta1/jobservice/getjob/SyncGetJob.java | 0 .../jobservice/getjob/SyncGetJobJobname.java | 0 .../jobservice/getjob/SyncGetJobString.java | 0 .../jobservice/listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../jobservice/listjobs/SyncListJobs.java | 0 .../SyncListJobsProjectnameString.java | 0 .../listjobs/SyncListJobsStringString.java | 0 .../SyncListJobsTenantnameString.java | 0 .../searchjobs/AsyncSearchJobs.java | 0 .../searchjobs/AsyncSearchJobsPaged.java | 0 .../jobservice/searchjobs/SyncSearchJobs.java | 0 .../AsyncSearchJobsForAlert.java | 0 .../AsyncSearchJobsForAlertPaged.java | 0 .../SyncSearchJobsForAlert.java | 0 .../jobservice/updatejob/AsyncUpdateJob.java | 0 .../jobservice/updatejob/SyncUpdateJob.java | 0 .../updatejob/SyncUpdateJobJob.java | 0 .../createjob/SyncCreateJob.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateClientEvent.java | 0 .../createjob/SyncCreateJob.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createtenant/AsyncCreateTenant.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../SyncCreateTenantProjectnameTenant.java | 0 .../SyncCreateTenantStringTenant.java | 0 .../deletetenant/AsyncDeleteTenant.java | 0 .../deletetenant/SyncDeleteTenant.java | 0 .../deletetenant/SyncDeleteTenantString.java | 0 .../SyncDeleteTenantTenantname.java | 0 .../gettenant/AsyncGetTenant.java | 0 .../gettenant/SyncGetTenant.java | 0 .../gettenant/SyncGetTenantString.java | 0 .../gettenant/SyncGetTenantTenantname.java | 0 .../listtenants/AsyncListTenants.java | 0 .../listtenants/AsyncListTenantsPaged.java | 0 .../listtenants/SyncListTenants.java | 0 .../SyncListTenantsProjectname.java | 0 .../listtenants/SyncListTenantsString.java | 0 .../updatetenant/AsyncUpdateTenant.java | 0 .../updatetenant/SyncUpdateTenant.java | 0 .../updatetenant/SyncUpdateTenantTenant.java | 0 .../createtenant/SyncCreateTenant.java | 0 678 files changed, 39313 insertions(+), 65769 deletions(-) delete mode 100644 java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java (100%) create mode 100644 owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java rename {java-talent => owl-bot-staging/java-talent/v4}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java (50%) rename {java-talent => owl-bot-staging/java-talent/v4}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java (54%) rename {java-talent => owl-bot-staging/java-talent/v4}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java (50%) create mode 100644 owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java (57%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java (83%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilter.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java (75%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java (82%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanySize.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java (63%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java (75%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java (55%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequest.java (62%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java (52%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java (55%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java (59%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java (54%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java (86%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java (81%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java (61%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java (78%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceProto.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java (62%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQuery.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java (57%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java (80%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java (90%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQuery.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java (93%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java (79%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobView.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java (62%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java (56%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java (75%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java (88%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java (83%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java (86%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java (65%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java (86%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java (94%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java (88%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java (66%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRange.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java (100%) create mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java create mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java (54%) create mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java create mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java (62%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java (63%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java (81%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java (54%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java (63%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java (55%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java (63%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java (51%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java (58%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java (62%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java (54%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java (87%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java (81%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java (53%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java (51%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java (62%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java (62%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java (78%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java (54%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java (51%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java (62%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java (80%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java (90%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java (93%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java (56%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java (75%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java (86%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java (83%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java (87%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java (50%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java (92%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto (94%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java (100%) diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java deleted file mode 100644 index abf761d7cb03..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java +++ /dev/null @@ -1,805 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service that handles company management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4/company_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompanyServiceGrpc { - - private CompanyServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4.CompanyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> - getCreateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompany", - requestType = com.google.cloud.talent.v4.CreateCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> - getCreateCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> - getCreateCompanyMethod; - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - CompanyServiceGrpc.getCreateCompanyMethod = - getCreateCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("CreateCompany")) - .build(); - } - } - } - return getCreateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> - getGetCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompany", - requestType = com.google.cloud.talent.v4.GetCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> - getGetCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> - getGetCompanyMethod; - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - CompanyServiceGrpc.getGetCompanyMethod = - getGetCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetCompanyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) - .build(); - } - } - } - return getGetCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> - getUpdateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", - requestType = com.google.cloud.talent.v4.UpdateCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> - getUpdateCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> - getUpdateCompanyMethod; - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - CompanyServiceGrpc.getUpdateCompanyMethod = - getUpdateCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) - .build(); - } - } - } - return getUpdateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", - requestType = com.google.cloud.talent.v4.DeleteCompanyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod; - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - CompanyServiceGrpc.getDeleteCompanyMethod = - getDeleteCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) - .build(); - } - } - } - return getDeleteCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse> - getListCompaniesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompanies", - requestType = com.google.cloud.talent.v4.ListCompaniesRequest.class, - responseType = com.google.cloud.talent.v4.ListCompaniesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse> - getListCompaniesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse> - getListCompaniesMethod; - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - CompanyServiceGrpc.getListCompaniesMethod = - getListCompaniesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListCompaniesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("ListCompanies")) - .build(); - } - } - } - return getListCompaniesMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static CompanyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - }; - return CompanyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompanyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - }; - return CompanyServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CompanyServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - }; - return CompanyServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public abstract static class CompanyServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany( - com.google.cloud.talent.v4.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany( - com.google.cloud.talent.v4.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany( - com.google.cloud.talent.v4.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany( - com.google.cloud.talent.v4.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies( - com.google.cloud.talent.v4.ListCompaniesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCompaniesMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateCompanyRequest, - com.google.cloud.talent.v4.Company>(this, METHODID_CREATE_COMPANY))) - .addMethod( - getGetCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetCompanyRequest, - com.google.cloud.talent.v4.Company>(this, METHODID_GET_COMPANY))) - .addMethod( - getUpdateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateCompanyRequest, - com.google.cloud.talent.v4.Company>(this, METHODID_UPDATE_COMPANY))) - .addMethod( - getDeleteCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_COMPANY))) - .addMethod( - getListCompaniesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse>( - this, METHODID_LIST_COMPANIES))) - .build(); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private CompanyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany( - com.google.cloud.talent.v4.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany( - com.google.cloud.talent.v4.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany( - com.google.cloud.talent.v4.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany( - com.google.cloud.talent.v4.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies( - com.google.cloud.talent.v4.ListCompaniesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CompanyServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.cloud.talent.v4.Company createCompany( - com.google.cloud.talent.v4.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.cloud.talent.v4.Company getCompany( - com.google.cloud.talent.v4.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public com.google.cloud.talent.v4.Company updateCompany( - com.google.cloud.talent.v4.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.protobuf.Empty deleteCompany( - com.google.cloud.talent.v4.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4.ListCompaniesResponse listCompanies( - com.google.cloud.talent.v4.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompaniesMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CompanyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getCompany(com.google.cloud.talent.v4.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.ListCompaniesResponse> - listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_COMPANY = 0; - private static final int METHODID_GET_COMPANY = 1; - private static final int METHODID_UPDATE_COMPANY = 2; - private static final int METHODID_DELETE_COMPANY = 3; - private static final int METHODID_LIST_COMPANIES = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompanyServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_COMPANY: - serviceImpl.createCompany( - (com.google.cloud.talent.v4.CreateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_COMPANY: - serviceImpl.getCompany( - (com.google.cloud.talent.v4.GetCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_COMPANY: - serviceImpl.updateCompany( - (com.google.cloud.talent.v4.UpdateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_COMPANY: - serviceImpl.deleteCompany( - (com.google.cloud.talent.v4.DeleteCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPANIES: - serviceImpl.listCompanies( - (com.google.cloud.talent.v4.ListCompaniesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompanyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CompanyService"); - } - } - - private static final class CompanyServiceFileDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier { - CompanyServiceFileDescriptorSupplier() {} - } - - private static final class CompanyServiceMethodDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompanyServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompanyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) - .addMethod(getCreateCompanyMethod()) - .addMethod(getGetCompanyMethod()) - .addMethod(getUpdateCompanyMethod()) - .addMethod(getDeleteCompanyMethod()) - .addMethod(getListCompaniesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java deleted file mode 100644 index 2b4421a625dc..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java +++ /dev/null @@ -1,798 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service that handles tenant management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4/tenant_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TenantServiceGrpc { - - private TenantServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4.TenantService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> - getCreateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTenant", - requestType = com.google.cloud.talent.v4.CreateTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> - getCreateTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> - getCreateTenantMethod; - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - TenantServiceGrpc.getCreateTenantMethod = - getCreateTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateTenantRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("CreateTenant")) - .build(); - } - } - } - return getCreateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> - getGetTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTenant", - requestType = com.google.cloud.talent.v4.GetTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> - getGetTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> - getGetTenantMethod; - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - TenantServiceGrpc.getGetTenantMethod = - getGetTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetTenantRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) - .build(); - } - } - } - return getGetTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> - getUpdateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", - requestType = com.google.cloud.talent.v4.UpdateTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> - getUpdateTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> - getUpdateTenantMethod; - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - TenantServiceGrpc.getUpdateTenantMethod = - getUpdateTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateTenantRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("UpdateTenant")) - .build(); - } - } - } - return getUpdateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", - requestType = com.google.cloud.talent.v4.DeleteTenantRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod; - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - TenantServiceGrpc.getDeleteTenantMethod = - getDeleteTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteTenantRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("DeleteTenant")) - .build(); - } - } - } - return getDeleteTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse> - getListTenantsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTenants", - requestType = com.google.cloud.talent.v4.ListTenantsRequest.class, - responseType = com.google.cloud.talent.v4.ListTenantsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse> - getListTenantsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse> - getListTenantsMethod; - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - TenantServiceGrpc.getListTenantsMethod = - getListTenantsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListTenantsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListTenantsResponse.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) - .build(); - } - } - } - return getListTenantsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static TenantServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - }; - return TenantServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TenantServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - }; - return TenantServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static TenantServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - }; - return TenantServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public abstract static class TenantServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant( - com.google.cloud.talent.v4.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant( - com.google.cloud.talent.v4.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant( - com.google.cloud.talent.v4.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant( - com.google.cloud.talent.v4.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants( - com.google.cloud.talent.v4.ListTenantsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTenantsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateTenantRequest, - com.google.cloud.talent.v4.Tenant>(this, METHODID_CREATE_TENANT))) - .addMethod( - getGetTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetTenantRequest, - com.google.cloud.talent.v4.Tenant>(this, METHODID_GET_TENANT))) - .addMethod( - getUpdateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateTenantRequest, - com.google.cloud.talent.v4.Tenant>(this, METHODID_UPDATE_TENANT))) - .addMethod( - getDeleteTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TENANT))) - .addMethod( - getListTenantsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse>(this, METHODID_LIST_TENANTS))) - .build(); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private TenantServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant( - com.google.cloud.talent.v4.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant( - com.google.cloud.talent.v4.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant( - com.google.cloud.talent.v4.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant( - com.google.cloud.talent.v4.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants( - com.google.cloud.talent.v4.ListTenantsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private TenantServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant createTenant( - com.google.cloud.talent.v4.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant getTenant( - com.google.cloud.talent.v4.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant updateTenant( - com.google.cloud.talent.v4.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.protobuf.Empty deleteTenant( - com.google.cloud.talent.v4.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4.ListTenantsResponse listTenants( - com.google.cloud.talent.v4.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTenantsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private TenantServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createTenant(com.google.cloud.talent.v4.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getTenant(com.google.cloud.talent.v4.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.ListTenantsResponse> - listTenants(com.google.cloud.talent.v4.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TENANT = 0; - private static final int METHODID_GET_TENANT = 1; - private static final int METHODID_UPDATE_TENANT = 2; - private static final int METHODID_DELETE_TENANT = 3; - private static final int METHODID_LIST_TENANTS = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TenantServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TENANT: - serviceImpl.createTenant( - (com.google.cloud.talent.v4.CreateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TENANT: - serviceImpl.getTenant( - (com.google.cloud.talent.v4.GetTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TENANT: - serviceImpl.updateTenant( - (com.google.cloud.talent.v4.UpdateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TENANT: - serviceImpl.deleteTenant( - (com.google.cloud.talent.v4.DeleteTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TENANTS: - serviceImpl.listTenants( - (com.google.cloud.talent.v4.ListTenantsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TenantServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TenantService"); - } - } - - private static final class TenantServiceFileDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier { - TenantServiceFileDescriptorSupplier() {} - } - - private static final class TenantServiceMethodDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TenantServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TenantServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) - .addMethod(getCreateTenantMethod()) - .addMethod(getGetTenantMethod()) - .addMethod(getUpdateTenantMethod()) - .addMethod(getDeleteTenantMethod()) - .addMethod(getListTenantsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java deleted file mode 100644 index 1015857aaf7e..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java +++ /dev/null @@ -1,826 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service that handles company management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/company_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompanyServiceGrpc { - - private CompanyServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.CompanyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getCreateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompany", - requestType = com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getCreateCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getCreateCompanyMethod; - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - CompanyServiceGrpc.getCreateCompanyMethod = - getCreateCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateCompanyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("CreateCompany")) - .build(); - } - } - } - return getCreateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getGetCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompany", - requestType = com.google.cloud.talent.v4beta1.GetCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getGetCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getGetCompanyMethod; - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - CompanyServiceGrpc.getGetCompanyMethod = - getGetCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetCompanyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) - .build(); - } - } - } - return getGetCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getUpdateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", - requestType = com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getUpdateCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getUpdateCompanyMethod; - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - CompanyServiceGrpc.getUpdateCompanyMethod = - getUpdateCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) - .build(); - } - } - } - return getUpdateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", - requestType = com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod; - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - CompanyServiceGrpc.getDeleteCompanyMethod = - getDeleteCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) - .build(); - } - } - } - return getDeleteCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse> - getListCompaniesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompanies", - requestType = com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse> - getListCompaniesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse> - getListCompaniesMethod; - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - CompanyServiceGrpc.getListCompaniesMethod = - getListCompaniesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListCompaniesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListCompaniesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("ListCompanies")) - .build(); - } - } - } - return getListCompaniesMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static CompanyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - }; - return CompanyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompanyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - }; - return CompanyServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CompanyServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - }; - return CompanyServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public abstract static class CompanyServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany( - com.google.cloud.talent.v4beta1.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany( - com.google.cloud.talent.v4beta1.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies( - com.google.cloud.talent.v4beta1.ListCompaniesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCompaniesMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company>(this, METHODID_CREATE_COMPANY))) - .addMethod( - getGetCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company>(this, METHODID_GET_COMPANY))) - .addMethod( - getUpdateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company>(this, METHODID_UPDATE_COMPANY))) - .addMethod( - getDeleteCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_COMPANY))) - .addMethod( - getListCompaniesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse>( - this, METHODID_LIST_COMPANIES))) - .build(); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private CompanyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany( - com.google.cloud.talent.v4beta1.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany( - com.google.cloud.talent.v4beta1.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies( - com.google.cloud.talent.v4beta1.ListCompaniesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CompanyServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company createCompany( - com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company getCompany( - com.google.cloud.talent.v4beta1.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company updateCompany( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.protobuf.Empty deleteCompany( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListCompaniesResponse listCompanies( - com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompaniesMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CompanyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Company> - createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Company> - getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Company> - updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.ListCompaniesResponse> - listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_COMPANY = 0; - private static final int METHODID_GET_COMPANY = 1; - private static final int METHODID_UPDATE_COMPANY = 2; - private static final int METHODID_DELETE_COMPANY = 3; - private static final int METHODID_LIST_COMPANIES = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompanyServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_COMPANY: - serviceImpl.createCompany( - (com.google.cloud.talent.v4beta1.CreateCompanyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_COMPANY: - serviceImpl.getCompany( - (com.google.cloud.talent.v4beta1.GetCompanyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_COMPANY: - serviceImpl.updateCompany( - (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_COMPANY: - serviceImpl.deleteCompany( - (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPANIES: - serviceImpl.listCompanies( - (com.google.cloud.talent.v4beta1.ListCompaniesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompanyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CompanyService"); - } - } - - private static final class CompanyServiceFileDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier { - CompanyServiceFileDescriptorSupplier() {} - } - - private static final class CompanyServiceMethodDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompanyServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompanyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) - .addMethod(getCreateCompanyMethod()) - .addMethod(getGetCompanyMethod()) - .addMethod(getUpdateCompanyMethod()) - .addMethod(getDeleteCompanyMethod()) - .addMethod(getListCompaniesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java deleted file mode 100644 index 528a11de4b18..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java +++ /dev/null @@ -1,363 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service handles auto completion.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompletionGrpc { - - private CompletionGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.Completion"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse> - getCompleteQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", - requestType = com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, - responseType = com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse> - getCompleteQueryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse> - getCompleteQueryMethod; - if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - synchronized (CompletionGrpc.class) { - if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - CompletionGrpc.getCompleteQueryMethod = - getCompleteQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CompleteQueryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CompleteQueryResponse - .getDefaultInstance())) - .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) - .build(); - } - } - } - return getCompleteQueryMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static CompletionStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - }; - return CompletionStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompletionBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - }; - return CompletionBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CompletionFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - }; - return CompletionFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service handles auto completion.
-   * 
- */ - public abstract static class CompletionImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public void completeQuery( - com.google.cloud.talent.v4beta1.CompleteQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCompleteQueryMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCompleteQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse>( - this, METHODID_COMPLETE_QUERY))) - .build(); - } - } - - /** - * - * - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { - private CompletionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - - /** - * - * - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public void completeQuery( - com.google.cloud.talent.v4beta1.CompleteQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CompletionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse completeQuery( - com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteQueryMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CompletionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.CompleteQueryResponse> - completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_COMPLETE_QUERY = 0; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompletionImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompletionImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_COMPLETE_QUERY: - serviceImpl.completeQuery( - (com.google.cloud.talent.v4beta1.CompleteQueryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompletionBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Completion"); - } - } - - private static final class CompletionFileDescriptorSupplier - extends CompletionBaseDescriptorSupplier { - CompletionFileDescriptorSupplier() {} - } - - private static final class CompletionMethodDescriptorSupplier - extends CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompletionMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompletionGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) - .addMethod(getCompleteQueryMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java deleted file mode 100644 index b5c3d0db5a44..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java +++ /dev/null @@ -1,1428 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service handles job management, including job CRUD, enumeration and search.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/job_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class JobServiceGrpc { - - private JobServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.JobService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> - getCreateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJob", - requestType = com.google.cloud.talent.v4beta1.CreateJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> - getCreateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> - getCreateJobMethod; - if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - JobServiceGrpc.getCreateJobMethod = - getCreateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) - .build(); - } - } - } - return getCreateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", - requestType = com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, - com.google.longrunning.Operation> - getBatchCreateJobsMethod; - if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - JobServiceGrpc.getBatchCreateJobsMethod = - getBatchCreateJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) - .build(); - } - } - } - return getBatchCreateJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> - getGetJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJob", - requestType = com.google.cloud.talent.v4beta1.GetJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> - getGetJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> - getGetJobMethod; - if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - JobServiceGrpc.getGetJobMethod = - getGetJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) - .build(); - } - } - } - return getGetJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> - getUpdateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateJob", - requestType = com.google.cloud.talent.v4beta1.UpdateJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> - getUpdateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> - getUpdateJobMethod; - if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - JobServiceGrpc.getUpdateJobMethod = - getUpdateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) - .build(); - } - } - } - return getUpdateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", - requestType = com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, - com.google.longrunning.Operation> - getBatchUpdateJobsMethod; - if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - JobServiceGrpc.getBatchUpdateJobsMethod = - getBatchUpdateJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) - .build(); - } - } - } - return getBatchUpdateJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJob", - requestType = com.google.cloud.talent.v4beta1.DeleteJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod; - if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - JobServiceGrpc.getDeleteJobMethod = - getDeleteJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) - .build(); - } - } - } - return getDeleteJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> - getBatchDeleteJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", - requestType = com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> - getBatchDeleteJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> - getBatchDeleteJobsMethod; - if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - JobServiceGrpc.getBatchDeleteJobsMethod = - getBatchDeleteJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) - .build(); - } - } - } - return getBatchDeleteJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse> - getListJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobs", - requestType = com.google.cloud.talent.v4beta1.ListJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse> - getListJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse> - getListJobsMethod; - if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - JobServiceGrpc.getListJobsMethod = - getListJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) - .build(); - } - } - } - return getListJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchJobs", - requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsMethod; - if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - JobServiceGrpc.getSearchJobsMethod = - getSearchJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) - .build(); - } - } - } - return getSearchJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsForAlertMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", - requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsForAlertMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsForAlertMethod; - if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - JobServiceGrpc.getSearchJobsForAlertMethod = - getSearchJobsForAlertMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) - .build(); - } - } - } - return getSearchJobsForAlertMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static JobServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - }; - return JobServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static JobServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - }; - return JobServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static JobServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - }; - return JobServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public abstract static class JobServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void createJob( - com.google.cloud.talent.v4beta1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public void batchCreateJobs( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public void getJob( - com.google.cloud.talent.v4beta1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public void updateJob( - com.google.cloud.talent.v4beta1.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public void batchUpdateJobs( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchUpdateJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public void batchDeleteJobs( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchDeleteJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists jobs by filter.
-     * 
- */ - public void listJobs( - com.google.cloud.talent.v4beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobs( - com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobsForAlert( - com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchJobsForAlertMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateJobRequest, - com.google.cloud.talent.v4beta1.Job>(this, METHODID_CREATE_JOB))) - .addMethod( - getBatchCreateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_JOBS))) - .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetJobRequest, - com.google.cloud.talent.v4beta1.Job>(this, METHODID_GET_JOB))) - .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateJobRequest, - com.google.cloud.talent.v4beta1.Job>(this, METHODID_UPDATE_JOB))) - .addMethod( - getBatchUpdateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_JOBS))) - .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) - .addMethod( - getBatchDeleteJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, - com.google.protobuf.Empty>(this, METHODID_BATCH_DELETE_JOBS))) - .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse>(this, METHODID_LIST_JOBS))) - .addMethod( - getSearchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS))) - .addMethod( - getSearchJobsForAlertMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS_FOR_ALERT))) - .build(); - } - } - - /** - * - * - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { - private JobServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void createJob( - com.google.cloud.talent.v4beta1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public void batchCreateJobs( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public void getJob( - com.google.cloud.talent.v4beta1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public void updateJob( - com.google.cloud.talent.v4beta1.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public void batchUpdateJobs( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public void batchDeleteJobs( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists jobs by filter.
-     * 
- */ - public void listJobs( - com.google.cloud.talent.v4beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobs( - com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobsForAlert( - com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private JobServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job createJob( - com.google.cloud.talent.v4beta1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public com.google.longrunning.Operation batchCreateJobs( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job getJob( - com.google.cloud.talent.v4beta1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job updateJob( - com.google.cloud.talent.v4beta1.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public com.google.longrunning.Operation batchUpdateJobs( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.protobuf.Empty deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteJobs( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists jobs by filter.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs( - com.google.cloud.talent.v4beta1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobs( - com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobsForAlert( - com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private JobServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getJob(com.google.cloud.talent.v4beta1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists jobs by filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.ListJobsResponse> - listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.SearchJobsResponse> - searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.SearchJobsResponse> - searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_JOB = 0; - private static final int METHODID_BATCH_CREATE_JOBS = 1; - private static final int METHODID_GET_JOB = 2; - private static final int METHODID_UPDATE_JOB = 3; - private static final int METHODID_BATCH_UPDATE_JOBS = 4; - private static final int METHODID_DELETE_JOB = 5; - private static final int METHODID_BATCH_DELETE_JOBS = 6; - private static final int METHODID_LIST_JOBS = 7; - private static final int METHODID_SEARCH_JOBS = 8; - private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 9; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final JobServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(JobServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_JOB: - serviceImpl.createJob( - (com.google.cloud.talent.v4beta1.CreateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_JOBS: - serviceImpl.batchCreateJobs( - (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JOB: - serviceImpl.getJob( - (com.google.cloud.talent.v4beta1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_JOB: - serviceImpl.updateJob( - (com.google.cloud.talent.v4beta1.UpdateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_UPDATE_JOBS: - serviceImpl.batchUpdateJobs( - (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_JOB: - serviceImpl.deleteJob( - (com.google.cloud.talent.v4beta1.DeleteJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_JOBS: - serviceImpl.batchDeleteJobs( - (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOBS: - serviceImpl.listJobs( - (com.google.cloud.talent.v4beta1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SEARCH_JOBS: - serviceImpl.searchJobs( - (com.google.cloud.talent.v4beta1.SearchJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SEARCH_JOBS_FOR_ALERT: - serviceImpl.searchJobsForAlert( - (com.google.cloud.talent.v4beta1.SearchJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class JobServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - JobServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("JobService"); - } - } - - private static final class JobServiceFileDescriptorSupplier - extends JobServiceBaseDescriptorSupplier { - JobServiceFileDescriptorSupplier() {} - } - - private static final class JobServiceMethodDescriptorSupplier - extends JobServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - JobServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (JobServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new JobServiceFileDescriptorSupplier()) - .addMethod(getCreateJobMethod()) - .addMethod(getBatchCreateJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getBatchUpdateJobsMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getBatchDeleteJobsMethod()) - .addMethod(getListJobsMethod()) - .addMethod(getSearchJobsMethod()) - .addMethod(getSearchJobsForAlertMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java deleted file mode 100644 index d91eb72e8a1b..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java +++ /dev/null @@ -1,819 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service that handles tenant management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TenantServiceGrpc { - - private TenantServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.TenantService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getCreateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTenant", - requestType = com.google.cloud.talent.v4beta1.CreateTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getCreateTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getCreateTenantMethod; - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - TenantServiceGrpc.getCreateTenantMethod = - getCreateTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateTenantRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("CreateTenant")) - .build(); - } - } - } - return getCreateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetTenantRequest, com.google.cloud.talent.v4beta1.Tenant> - getGetTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTenant", - requestType = com.google.cloud.talent.v4beta1.GetTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetTenantRequest, com.google.cloud.talent.v4beta1.Tenant> - getGetTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getGetTenantMethod; - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - TenantServiceGrpc.getGetTenantMethod = - getGetTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetTenantRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) - .build(); - } - } - } - return getGetTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getUpdateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", - requestType = com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getUpdateTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getUpdateTenantMethod; - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - TenantServiceGrpc.getUpdateTenantMethod = - getUpdateTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateTenantRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("UpdateTenant")) - .build(); - } - } - } - return getUpdateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", - requestType = com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod; - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - TenantServiceGrpc.getDeleteTenantMethod = - getDeleteTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteTenantRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("DeleteTenant")) - .build(); - } - } - } - return getDeleteTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse> - getListTenantsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTenants", - requestType = com.google.cloud.talent.v4beta1.ListTenantsRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListTenantsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse> - getListTenantsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse> - getListTenantsMethod; - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - TenantServiceGrpc.getListTenantsMethod = - getListTenantsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListTenantsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListTenantsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) - .build(); - } - } - } - return getListTenantsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static TenantServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - }; - return TenantServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TenantServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - }; - return TenantServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static TenantServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - }; - return TenantServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public abstract static class TenantServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant( - com.google.cloud.talent.v4beta1.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant( - com.google.cloud.talent.v4beta1.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant( - com.google.cloud.talent.v4beta1.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant( - com.google.cloud.talent.v4beta1.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants( - com.google.cloud.talent.v4beta1.ListTenantsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTenantsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_CREATE_TENANT))) - .addMethod( - getGetTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_GET_TENANT))) - .addMethod( - getUpdateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_UPDATE_TENANT))) - .addMethod( - getDeleteTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TENANT))) - .addMethod( - getListTenantsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse>( - this, METHODID_LIST_TENANTS))) - .build(); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private TenantServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant( - com.google.cloud.talent.v4beta1.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant( - com.google.cloud.talent.v4beta1.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant( - com.google.cloud.talent.v4beta1.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant( - com.google.cloud.talent.v4beta1.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants( - com.google.cloud.talent.v4beta1.ListTenantsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private TenantServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant createTenant( - com.google.cloud.talent.v4beta1.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant getTenant( - com.google.cloud.talent.v4beta1.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant updateTenant( - com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.protobuf.Empty deleteTenant( - com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListTenantsResponse listTenants( - com.google.cloud.talent.v4beta1.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTenantsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private TenantServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Tenant> - createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Tenant> - getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Tenant> - updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.ListTenantsResponse> - listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TENANT = 0; - private static final int METHODID_GET_TENANT = 1; - private static final int METHODID_UPDATE_TENANT = 2; - private static final int METHODID_DELETE_TENANT = 3; - private static final int METHODID_LIST_TENANTS = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TenantServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TENANT: - serviceImpl.createTenant( - (com.google.cloud.talent.v4beta1.CreateTenantRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_TENANT: - serviceImpl.getTenant( - (com.google.cloud.talent.v4beta1.GetTenantRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TENANT: - serviceImpl.updateTenant( - (com.google.cloud.talent.v4beta1.UpdateTenantRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TENANT: - serviceImpl.deleteTenant( - (com.google.cloud.talent.v4beta1.DeleteTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TENANTS: - serviceImpl.listTenants( - (com.google.cloud.talent.v4beta1.ListTenantsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TenantServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TenantService"); - } - } - - private static final class TenantServiceFileDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier { - TenantServiceFileDescriptorSupplier() {} - } - - private static final class TenantServiceMethodDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TenantServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TenantServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) - .addMethod(getCreateTenantMethod()) - .addMethod(getGetTenantMethod()) - .addMethod(getUpdateTenantMethod()) - .addMethod(getDeleteTenantMethod()) - .addMethod(getListTenantsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java deleted file mode 100644 index 7599af687ace..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java +++ /dev/null @@ -1,345 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/common.proto - -package com.google.cloud.talent.v4; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_TimestampRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_RequestMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_DeviceInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/talent/v4/common.proto\022\026g" - + "oogle.cloud.talent.v4\032\037google/api/field_" - + "behavior.proto\032\037google/protobuf/timestam" - + "p.proto\032\036google/protobuf/wrappers.proto\032" - + "\030google/type/latlng.proto\032\027google/type/m" - + "oney.proto\032 google/type/postal_address.p" - + "roto\"n\n\016TimestampRange\022.\n\nstart_time\030\001 \001" - + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" - + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"\262\003\n" - + "\010Location\022D\n\rlocation_type\030\001 \001(\0162-.googl" - + "e.cloud.talent.v4.Location.LocationType\022" - + "2\n\016postal_address\030\002 \001(\0132\032.google.type.Po" - + "stalAddress\022$\n\007lat_lng\030\003 \001(\0132\023.google.ty" - + "pe.LatLng\022\024\n\014radius_miles\030\004 \001(\001\"\357\001\n\014Loca" - + "tionType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020\000\022" - + "\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATIVE_AREA\020\002\022\033\n" - + "\027SUB_ADMINISTRATIVE_AREA\020\003\022\014\n\010LOCALITY\020\004" - + "\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOCALITY\020\006\022\022\n\016S" - + "UB_LOCALITY_1\020\007\022\022\n\016SUB_LOCALITY_2\020\010\022\020\n\014N" - + "EIGHBORHOOD\020\t\022\022\n\016STREET_ADDRESS\020\n\"\232\001\n\017Re" - + "questMetadata\022\016\n\006domain\030\001 \001(\t\022\022\n\nsession" - + "_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031\n\021allow_miss" - + "ing_ids\030\004 \001(\010\0227\n\013device_info\030\005 \001(\0132\".goo" - + "gle.cloud.talent.v4.DeviceInfo\"&\n\020Respon" - + "seMetadata\022\022\n\nrequest_id\030\001 \001(\t\"\312\001\n\nDevic" - + "eInfo\022B\n\013device_type\030\001 \001(\0162-.google.clou" - + "d.talent.v4.DeviceInfo.DeviceType\022\n\n\002id\030" - + "\002 \001(\t\"l\n\nDeviceType\022\033\n\027DEVICE_TYPE_UNSPE" - + "CIFIED\020\000\022\007\n\003WEB\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007AND" - + "ROID\020\003\022\007\n\003IOS\020\004\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017C" - + "ustomAttribute\022\025\n\rstring_values\030\001 \003(\t\022\023\n" - + "\013long_values\030\002 \003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032" - + "\n\022keyword_searchable\030\004 \001(\010\"W\n\022SpellingCo" - + "rrection\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected" - + "_text\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\210\t\n\020" - + "CompensationInfo\022K\n\007entries\030\001 \003(\0132:.goog" - + "le.cloud.talent.v4.CompensationInfo.Comp" - + "ensationEntry\022k\n\"annualized_base_compens" - + "ation_range\030\002 \001(\0132:.google.cloud.talent." - + "v4.CompensationInfo.CompensationRangeB\003\340" - + "A\003\022l\n#annualized_total_compensation_rang" - + "e\030\003 \001(\0132:.google.cloud.talent.v4.Compens" - + "ationInfo.CompensationRangeB\003\340A\003\032\203\003\n\021Com" - + "pensationEntry\022G\n\004type\030\001 \001(\01629.google.cl" - + "oud.talent.v4.CompensationInfo.Compensat" - + "ionType\022G\n\004unit\030\002 \001(\01629.google.cloud.tal" - + "ent.v4.CompensationInfo.CompensationUnit" - + "\022$\n\006amount\030\003 \001(\0132\022.google.type.MoneyH\000\022K" - + "\n\005range\030\004 \001(\0132:.google.cloud.talent.v4.C" - + "ompensationInfo.CompensationRangeH\000\022\023\n\013d" - + "escription\030\005 \001(\t\022=\n\027expected_units_per_y" - + "ear\030\006 \001(\0132\034.google.protobuf.DoubleValueB" - + "\025\n\023compensation_amount\032o\n\021CompensationRa" - + "nge\022,\n\020max_compensation\030\002 \001(\0132\022.google.t" - + "ype.Money\022,\n\020min_compensation\030\001 \001(\0132\022.go" - + "ogle.type.Money\"\265\001\n\020CompensationType\022!\n\035" - + "COMPENSATION_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020" - + "\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BONUS\020\003\022\n\n\006EQUIT" - + "Y\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n\013COMMISSIONS\020\006" - + "\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPENSATION_TYPE\020\010\"" - + "\234\001\n\020CompensationUnit\022!\n\035COMPENSATION_UNI" - + "T_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020\002\022\n" - + "\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\022\014\n\010O" - + "NE_TIME\020\006\022\033\n\027OTHER_COMPENSATION_UNIT\020\007\"\307" - + "\003\n\026BatchOperationMetadata\022C\n\005state\030\001 \001(\016" - + "24.google.cloud.talent.v4.BatchOperation" - + "Metadata.State\022\031\n\021state_description\030\002 \001(" - + "\t\022\025\n\rsuccess_count\030\003 \001(\005\022\025\n\rfailure_coun" - + "t\030\004 \001(\005\022\023\n\013total_count\030\005 \001(\005\022/\n\013create_t" - + "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" - + "estamp\022,\n\010end_time\030\010 \001(\0132\032.google.protob" - + "uf.Timestamp\"z\n\005State\022\025\n\021STATE_UNSPECIFI" - + "ED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022\r" - + "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\016\n\nCANCELLING\020" - + "\005\022\r\n\tCANCELLED\020\006*y\n\013CompanySize\022\034\n\030COMPA" - + "NY_SIZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL" - + "\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006" - + "BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JO" - + "B_BENEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022" - + "\n\n\006DENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLE" - + "XIBLE_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSUR" - + "ANCE\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT" - + "_PLAN\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006" - + "VISION\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_U" - + "NSPECIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031L" - + "OWER_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECO" - + "NDARY_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUC" - + "ATION\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n" - + "\027BACHELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR" - + "_EQUIVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020" - + "\010*\334\001\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_" - + "UNSPECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIM" - + "E\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020" - + "\004\022\r\n\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEE" - + "R\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n" - + "\025OTHER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025" - + "JOB_LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001" - + "\022\017\n\013EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECT" - + "OR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030J" - + "OB_CATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_" - + "AND_FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFI" - + "CE\020\002\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013A" - + "NIMAL_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005" - + "\022\027\n\023BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AN" - + "D_FACILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014C" - + "ONSTRUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tE" - + "DUCATION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014" - + "\022\030\n\024FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE" - + "\020\016\022\023\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_" - + "MAINTENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nM" - + "ANAGEMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOU" - + "SE\020\023\022$\n MEDIA_COMMUNICATIONS_AND_WRITING" - + "\020\024\022\026\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_C" - + "ARE_AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICE" - + "S\020\027\022\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_H" - + "OSPITALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SC" - + "IENCE_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVIC" - + "ES_AND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AN" - + "D_RECREATION\020\035\022 \n\034TRANSPORTATION_AND_LOG" - + "ISTICS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REG" - + "ION_UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA" - + "\020\001\022\n\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisib" - + "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACC" - + "OUNT_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022S" - + "HARED_WITH_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitizat" - + "ion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036" - + "\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE" - + "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" - + "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" - + "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" - + "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" - + "oud.talent.v4B\013CommonProtoP\001Z23/v4/{company.name=projects/*/te" - + "nants/*/companies/*}:\007company\332A\023company," - + "update_mask\022\221\001\n\rDeleteCompany\022,.google.c" - + "loud.talent.v4.DeleteCompanyRequest\032\026.go" - + "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v4/{name=p" - + "rojects/*/tenants/*/companies/*}\332A\004name\022" - + "\252\001\n\rListCompanies\022,.google.cloud.talent." - + "v4.ListCompaniesRequest\032-.google.cloud.t" - + "alent.v4.ListCompaniesResponse\"<\202\323\344\223\002-\022+" - + "/v4/{parent=projects/*/tenants/*}/compan" - + "ies\332A\006parent\032l\312A\023jobs.googleapis.com\322ASh" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform,https://www.googleapis.com/auth/jo" - + "bsBw\n\032com.google.cloud.talent.v4B\023Compan" - + "yServiceProtoP\001Z.google.cloud.talent.v4.CompleteQuer" - + "yResponse.CompletionResult\022:\n\010metadata\030\002" - + " \001(\0132(.google.cloud.talent.v4.ResponseMe" - + "tadata\032\204\001\n\020CompletionResult\022\022\n\nsuggestio" - + "n\030\001 \001(\t\022I\n\004type\030\002 \001(\0162;.google.cloud.tal" - + "ent.v4.CompleteQueryRequest.CompletionTy" - + "pe\022\021\n\timage_uri\030\003 \001(\t2\242\002\n\nCompletion\022\245\001\n" - + "\rCompleteQuery\022,.google.cloud.talent.v4." - + "CompleteQueryRequest\032-.google.cloud.tale" - + "nt.v4.CompleteQueryResponse\"7\202\323\344\223\0021\022//v4" - + "/{tenant=projects/*/tenants/*}:completeQ" - + "uery\032l\312A\023jobs.googleapis.com\322AShttps://w" - + "ww.googleapis.com/auth/cloud-platform,ht" - + "tps://www.googleapis.com/auth/jobsBz\n\032co" - + "m.google.cloud.talent.v4B\026CompletionServ" - + "iceProtoP\001Z - * Required. The resource name of the company to be deleted. - * The format is - * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/foo/tenants/bar/companies/baz". - * - * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the company to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
-   * example, "projects/foo/tenants/bar/companies/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java deleted file mode 100644 index 67be0b74c015..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/job_service.proto - -package com.google.cloud.talent.v4; - -public interface DeleteJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the job to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the job to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java deleted file mode 100644 index 52c6779909ed..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant_service.proto - -package com.google.cloud.talent.v4; - -public interface DeleteTenantRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java deleted file mode 100644 index f8522a8fa5fc..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/event.proto - -package com.google.cloud.talent.v4; - -public final class EventProto { - private EventProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_ClientEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_JobEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/talent/v4/event.proto\022\026go" - + "ogle.cloud.talent.v4\032\037google/api/field_b" - + "ehavior.proto\032\037google/protobuf/timestamp" - + ".proto\"\303\001\n\013ClientEvent\022\022\n\nrequest_id\030\001 \001" - + "(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013create_time" - + "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" - + "5\n\tjob_event\030\005 \001(\0132 .google.cloud.talent" - + ".v4.JobEventH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005e" - + "vent\"\340\003\n\010JobEvent\022@\n\004type\030\001 \001(\0162-.google" - + ".cloud.talent.v4.JobEvent.JobEventTypeB\003" - + "\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340A\002\"\376\002\n\014JobEventType\022" - + "\036\n\032JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE" - + "SSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021" - + "APPLICATION_START\020\004\022\026\n\022APPLICATION_FINIS" - + "H\020\005\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n" - + "\024APPLICATION_REDIRECT\020\007\022!\n\035APPLICATION_S" - + "TART_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRE" - + "CT_FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_" - + "SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014" - + "\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GR" - + "ANTED\020\017Bn\n\032com.google.cloud.talent.v4B\nE" - + "ventProtoP\001Z\n\014client_event\030\002 \001" - + "(\0132#.google.cloud.talent.v4.ClientEventB" - + "\003\340A\0022\305\002\n\014EventService\022\306\001\n\021CreateClientEv" - + "ent\0220.google.cloud.talent.v4.CreateClien" - + "tEventRequest\032#.google.cloud.talent.v4.C" - + "lientEvent\"Z\202\323\344\223\002>\"./v4/{parent=projects" - + "/*/tenants/*}/clientEvents:\014client_event" - + "\332A\023parent,client_event\032l\312A\023jobs.googleap" - + "is.com\322AShttps://www.googleapis.com/auth" - + "/cloud-platform,https://www.googleapis.c" - + "om/auth/jobsBu\n\032com.google.cloud.talent." - + "v4B\021EventServiceProtoP\001Z - * Required. The resource name of the company to be retrieved. - * The format is - * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/api-test-project/tenants/foo/companies/bar". - * - * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the company to be retrieved.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
-   * example, "projects/api-test-project/tenants/foo/companies/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java deleted file mode 100644 index 2cd5e9050380..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/job_service.proto - -package com.google.cloud.talent.v4; - -public interface GetJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the job to retrieve.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the job to retrieve.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java deleted file mode 100644 index 8daf851a3510..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant_service.proto - -package com.google.cloud.talent.v4; - -public interface GetTenantRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java deleted file mode 100644 index 0b84891210be..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/histogram.proto - -package com.google.cloud.talent.v4; - -public final class HistogramProto { - private HistogramProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/talent/v4/histogram.proto" - + "\022\026google.cloud.talent.v4\")\n\016HistogramQue" - + "ry\022\027\n\017histogram_query\030\001 \001(\t\"\261\001\n\024Histogra" - + "mQueryResult\022\027\n\017histogram_query\030\001 \001(\t\022N\n" - + "\thistogram\030\002 \003(\0132;.google.cloud.talent.v" - + "4.HistogramQueryResult.HistogramEntry\0320\n" - + "\016HistogramEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\003:\0028\001Br\n\032com.google.cloud.talent.v4B\016H" - + "istogramProtoP\001Z\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372" - + "A\031\n\027jobs.googleapis.com/Job\"r\n\020UpdateJob" - + "Request\022-\n\003job\030\001 \001(\0132\033.google.cloud.tale" - + "nt.v4.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" - + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" - + "is.com/Job\"\261\001\n\017ListJobsRequest\022/\n\006parent" - + "\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022" - + "\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\npage_token\030\003 \001(\t" - + "\022\021\n\tpage_size\030\004 \001(\005\0221\n\010job_view\030\005 \001(\0162\037." - + "google.cloud.talent.v4.JobView\"\222\001\n\020ListJ" - + "obsResponse\022)\n\004jobs\030\001 \003(\0132\033.google.cloud" - + ".talent.v4.Job\022\027\n\017next_page_token\030\002 \001(\t\022" - + ":\n\010metadata\030\003 \001(\0132(.google.cloud.talent." - + "v4.ResponseMetadata\"\274\013\n\021SearchJobsReques" - + "t\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleap" - + "is.com/Job\022I\n\013search_mode\030\002 \001(\01624.google" - + ".cloud.talent.v4.SearchJobsRequest.Searc" - + "hMode\022F\n\020request_metadata\030\003 \001(\0132\'.google" - + ".cloud.talent.v4.RequestMetadataB\003\340A\002\0223\n" - + "\tjob_query\030\004 \001(\0132 .google.cloud.talent.v" - + "4.JobQuery\022\031\n\021enable_broadening\030\005 \001(\010\022A\n" - + "\021histogram_queries\030\007 \003(\0132&.google.cloud." - + "talent.v4.HistogramQuery\0221\n\010job_view\030\010 \001" - + "(\0162\037.google.cloud.talent.v4.JobView\022\016\n\006o" - + "ffset\030\t \001(\005\022\025\n\rmax_page_size\030\n \001(\005\022\022\n\npa" - + "ge_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t\022]\n\025dive" - + "rsification_level\030\r \001(\0162>.google.cloud.t" - + "alent.v4.SearchJobsRequest.Diversificati" - + "onLevel\022X\n\023custom_ranking_info\030\016 \001(\0132;.g" - + "oogle.cloud.talent.v4.SearchJobsRequest." - + "CustomRankingInfo\022!\n\025disable_keyword_mat" - + "ch\030\020 \001(\010B\002\030\001\022V\n\022keyword_match_mode\030\022 \001(\016" - + "2:.google.cloud.talent.v4.SearchJobsRequ" - + "est.KeywordMatchMode\032\225\002\n\021CustomRankingIn" - + "fo\022j\n\020importance_level\030\001 \001(\0162K.google.cl" - + "oud.talent.v4.SearchJobsRequest.CustomRa" - + "nkingInfo.ImportanceLevelB\003\340A\002\022\037\n\022rankin" - + "g_expression\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLev" - + "el\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004" - + "NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n" - + "\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SE" - + "ARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022" - + "\027\n\023FEATURED_JOB_SEARCH\020\002\"\245\001\n\024Diversifica" - + "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE" - + "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\022\023\n\017ON" - + "E_PER_COMPANY\020\003\022\023\n\017TWO_PER_COMPANY\020\004\022\"\n\036" - + "DIVERSIFY_BY_LOOSER_SIMILARITY\020\005\"\207\001\n\020Key" - + "wordMatchMode\022\"\n\036KEYWORD_MATCH_MODE_UNSP" - + "ECIFIED\020\000\022\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n" - + "\021KEYWORD_MATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TI" - + "TLE_ONLY\020\003\"\221\006\n\022SearchJobsResponse\022M\n\rmat" - + "ching_jobs\030\001 \003(\01326.google.cloud.talent.v" - + "4.SearchJobsResponse.MatchingJob\022M\n\027hist" - + "ogram_query_results\030\002 \003(\0132,.google.cloud" - + ".talent.v4.HistogramQueryResult\022\027\n\017next_" - + "page_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003" - + "(\0132 .google.cloud.talent.v4.Location\022\022\n\n" - + "total_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.goo" - + "gle.cloud.talent.v4.ResponseMetadata\022\"\n\032" - + "broadened_query_jobs_count\030\010 \001(\005\022D\n\020spel" - + "l_correction\030\t \001(\0132*.google.cloud.talent" - + ".v4.SpellingCorrection\032\322\001\n\013MatchingJob\022(" - + "\n\003job\030\001 \001(\0132\033.google.cloud.talent.v4.Job" - + "\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snipp" - + "et\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n" - + "\014commute_info\030\005 \001(\01326.google.cloud.talen" - + "t.v4.SearchJobsResponse.CommuteInfo\032y\n\013C" - + "ommuteInfo\0226\n\014job_location\030\001 \001(\0132 .googl" - + "e.cloud.talent.v4.Location\0222\n\017travel_dur" - + "ation\030\002 \001(\0132\031.google.protobuf.Duration\"y" - + "\n\026BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\t" - + "B\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004job" - + "s\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A" - + "\002\"\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001" - + " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n" - + "\004jobs\030\002 \003(\0132\033.google.cloud.talent.v4.Job" - + "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" - + "obuf.FieldMask\"y\n\026BatchDeleteJobsRequest" - + "\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapi" - + "s.com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.g" - + "oogleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 " - + "\001(\0132\033.google.cloud.talent.v4.Job\022\"\n\006stat" - + "us\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCre" - + "ateJobsResponse\0226\n\013job_results\030\001 \003(\0132!.g" - + "oogle.cloud.talent.v4.JobResult\"Q\n\027Batch" - + "UpdateJobsResponse\0226\n\013job_results\030\001 \003(\0132" - + "!.google.cloud.talent.v4.JobResult\"Q\n\027Ba" - + "tchDeleteJobsResponse\0226\n\013job_results\030\001 \003" - + "(\0132!.google.cloud.talent.v4.JobResult*v\n" - + "\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JO" - + "B_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022" - + "\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016" - + "\n\nJobService\022\224\001\n\tCreateJob\022(.google.clou" - + "d.talent.v4.CreateJobRequest\032\033.google.cl" - + "oud.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=p" - + "rojects/*/tenants/*}/jobs:\003job\332A\nparent," - + "job\022\341\001\n\017BatchCreateJobs\022..google.cloud.t" - + "alent.v4.BatchCreateJobsRequest\032\035.google" - + ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par" - + "ent=projects/*/tenants/*}/jobs:batchCrea" - + "te:\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsR" - + "esponse\022\026BatchOperationMetadata\022\203\001\n\006GetJ" - + "ob\022%.google.cloud.talent.v4.GetJobReques" - + "t\032\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&" - + "/v4/{name=projects/*/tenants/*/jobs/*}\332A" - + "\004name\022\235\001\n\tUpdateJob\022(.google.cloud.talen" - + "t.v4.UpdateJobRequest\032\033.google.cloud.tal" - + "ent.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projec" - + "ts/*/tenants/*/jobs/*}:\003job\332A\017job,update" - + "_mask\022\341\001\n\017BatchUpdateJobs\022..google.cloud" - + ".talent.v4.BatchUpdateJobsRequest\032\035.goog" - + "le.longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{p" - + "arent=projects/*/tenants/*}/jobs:batchUp" - + "date:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJob" - + "sResponse\022\026BatchOperationMetadata\022\204\001\n\tDe" - + "leteJob\022(.google.cloud.talent.v4.DeleteJ" - + "obRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002" - + "(*&/v4/{name=projects/*/tenants/*/jobs/*" - + "}\332A\004name\022\343\001\n\017BatchDeleteJobs\022..google.cl" - + "oud.talent.v4.BatchDeleteJobsRequest\032\035.g" - + "oogle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v" - + "4/{parent=projects/*/tenants/*}/jobs:bat" - + "chDelete:\001*\332A\014parent,names\312A1\n\027BatchDele" - + "teJobsResponse\022\026BatchOperationMetadata\022\235" - + "\001\n\010ListJobs\022\'.google.cloud.talent.v4.Lis" - + "tJobsRequest\032(.google.cloud.talent.v4.Li" - + "stJobsResponse\">\202\323\344\223\002(\022&/v4/{parent=proj" - + "ects/*/tenants/*}/jobs\332A\rparent,filter\022\235" - + "\001\n\nSearchJobs\022).google.cloud.talent.v4.S" - + "earchJobsRequest\032*.google.cloud.talent.v" - + "4.SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{paren" - + "t=projects/*/tenants/*}/jobs:search:\001*\022\255" - + "\001\n\022SearchJobsForAlert\022).google.cloud.tal" - + "ent.v4.SearchJobsRequest\032*.google.cloud." - + "talent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v" - + "4/{parent=projects/*/tenants/*}/jobs:sea" - + "rchForAlert:\001*\032l\312A\023jobs.googleapis.com\322A" - + "Shttps://www.googleapis.com/auth/cloud-p" - + "latform,https://www.googleapis.com/auth/" - + "jobsBs\n\032com.google.cloud.talent.v4B\017JobS" - + "erviceProtoP\001Z - * A unique id associated with this call. - * This id is logged for tracking purposes. - * - * - * string request_id = 1; - * - * @return The requestId. - */ - java.lang.String getRequestId(); - /** - * - * - *
-   * A unique id associated with this call.
-   * This id is logged for tracking purposes.
-   * 
- * - * string request_id = 1; - * - * @return The bytes for requestId. - */ - com.google.protobuf.ByteString getRequestIdBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java deleted file mode 100644 index 83b26d9a14e9..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant.proto - -package com.google.cloud.talent.v4; - -public final class TenantProto { - private TenantProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_Tenant_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/talent/v4/tenant.proto\022\026g" - + "oogle.cloud.talent.v4\032\037google/api/field_" - + "behavior.proto\032\031google/api/resource.prot" - + "o\"v\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013external_id" - + "\030\002 \001(\tB\003\340A\002:D\352AA\n\032jobs.googleapis.com/Te" - + "nant\022#projects/{project}/tenants/{tenant" - + "}Bo\n\032com.google.cloud.talent.v4B\013TenantP" - + "rotoP\001Z - * Required. The resource name of the tenant under which the job is created. - * The format is "projects/{project_id}/tenants/{tenant_id}". For example, - * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - * is created. For example, "projects/foo". - * - * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The resource name of the tenant under which the job is created.
-   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
-   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
-   * is created. For example, "projects/foo".
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getJobsList(); - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.talent.v4beta1.Job getJobs(int index); - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getJobsCount(); - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getJobsOrBuilderList(); - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index); -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java deleted file mode 100644 index ed90f94ed8bc..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/batch.proto - -package com.google.cloud.talent.v4beta1; - -public final class BatchProto { - private BatchProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/batch.prot" - + "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go" - + "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z" - + "Agoogle.golang.org/genproto/googleapis/c" - + "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java deleted file mode 100644 index dbe85a81e01b..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java +++ /dev/null @@ -1,350 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/common.proto - -package com.google.cloud.talent.v4beta1; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/talent/v4beta1/common.pro" - + "to\022\033google.cloud.talent.v4beta1\032\037google/" - + "api/field_behavior.proto\032\037google/protobu" - + "f/timestamp.proto\032\036google/protobuf/wrapp" - + "ers.proto\032\030google/type/latlng.proto\032\027goo" - + "gle/type/money.proto\032 google/type/postal" - + "_address.proto\"n\n\016TimestampRange\022.\n\nstar" - + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" - + "\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" - + "estamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001" - + "(\01622.google.cloud.talent.v4beta1.Locatio" - + "n.LocationType\0222\n\016postal_address\030\002 \001(\0132\032" - + ".google.type.PostalAddress\022$\n\007lat_lng\030\003 " - + "\001(\0132\023.google.type.LatLng\022\024\n\014radius_miles" - + "\030\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE" - + "_UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTR" - + "ATIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020" - + "\003\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_" - + "LOCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LO" - + "CALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_A" - + "DDRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001" - + " \001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(" - + "\t\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_i" - + "nfo\030\005 \001(\0132\'.google.cloud.talent.v4beta1." - + "DeviceInfo\"&\n\020ResponseMetadata\022\022\n\nreques" - + "t_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type" - + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Dev" - + "iceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDevice" - + "Type\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB" - + "\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004" - + "\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017CustomAttribute\022" - + "\025\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 " - + "\003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032\n\022keyword_searc" - + "hable\030\004 \001(\010\"W\n\022SpellingCorrection\022\021\n\tcor" - + "rected\030\001 \001(\010\022\026\n\016corrected_text\030\002 \001(\t\022\026\n\016" - + "corrected_html\030\003 \001(\t\"\246\t\n\020CompensationInf" - + "o\022P\n\007entries\030\001 \003(\0132?.google.cloud.talent" - + ".v4beta1.CompensationInfo.CompensationEn" - + "try\022p\n\"annualized_base_compensation_rang" - + "e\030\002 \001(\0132?.google.cloud.talent.v4beta1.Co" - + "mpensationInfo.CompensationRangeB\003\340A\003\022q\n" - + "#annualized_total_compensation_range\030\003 \001" - + "(\0132?.google.cloud.talent.v4beta1.Compens" - + "ationInfo.CompensationRangeB\003\340A\003\032\222\003\n\021Com" - + "pensationEntry\022L\n\004type\030\001 \001(\0162>.google.cl" - + "oud.talent.v4beta1.CompensationInfo.Comp" - + "ensationType\022L\n\004unit\030\002 \001(\0162>.google.clou" - + "d.talent.v4beta1.CompensationInfo.Compen" - + "sationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type" - + ".MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.t" - + "alent.v4beta1.CompensationInfo.Compensat" - + "ionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expec" - + "ted_units_per_year\030\006 \001(\0132\034.google.protob" - + "uf.DoubleValueB\025\n\023compensation_amount\032o\n" - + "\021CompensationRange\022,\n\020max_compensation\030\002" - + " \001(\0132\022.google.type.Money\022,\n\020min_compensa" - + "tion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compe" - + "nsationType\022!\n\035COMPENSATION_TYPE_UNSPECI" - + "FIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_B" - + "ONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017" - + "\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPE" - + "NSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035C" - + "OMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY" - + "\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n" - + "\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPEN" - + "SATION_UNIT\020\007\"\314\003\n\026BatchOperationMetadata" - + "\022H\n\005state\030\001 \001(\01629.google.cloud.talent.v4" - + "beta1.BatchOperationMetadata.State\022\031\n\021st" - + "ate_description\030\002 \001(\t\022\025\n\rsuccess_count\030\003" - + " \001(\005\022\025\n\rfailure_count\030\004 \001(\005\022\023\n\013total_cou" - + "nt\030\005 \001(\005\022/\n\013create_time\030\006 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022/\n\013update_time\030\007 \001(\0132\032" - + ".google.protobuf.Timestamp\022,\n\010end_time\030\010" - + " \001(\0132\032.google.protobuf.Timestamp\"z\n\005Stat" - + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIALIZING" - + "\020\001\022\016\n\nPROCESSING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI" - + "LED\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLED\020\006*y\n\013" - + "CompanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020" - + "\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006M" - + "EDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*" - + "\342\001\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIE" - + "D\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMES" - + "TIC_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MED" - + "ICAL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_L" - + "EAVE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS" - + "\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeT" - + "ype\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIM" - + "ARY_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCA" - + "TION\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n" - + "\030ADULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATE" - + "S_OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVA" - + "LENT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOC" - + "TORAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType" - + "\022\037\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFUL" - + "L_TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022" - + "\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006" - + "INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n" - + "\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TY" - + "PE\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIE" - + "D\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n" - + "\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*" - + "\272\006\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIF" - + "IED\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADM" - + "INISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_" - + "AND_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_" - + "FASHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATI" - + "ONS\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017CO" - + "MPUTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUS" - + "TOMER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERT" - + "AINMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTD" - + "OORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCE" - + "S\020\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPA" - + "IR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUF" - + "ACTURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUN" - + "ICATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MI" - + "NING\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027" - + "\n\023PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030" - + "\022\036\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALE" - + "S_AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERIN" - + "G\020\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022" - + "!\n\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TR" - + "ANSPORTATION_AND_LOGISTICS\020\036*e\n\rPostingR" - + "egion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n" - + "\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TE" - + "LECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VISIBILITY_" - + "UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARE" - + "D_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003\032" - + "\002\030\001*q\n\020HtmlSanitization\022!\n\035HTML_SANITIZA" - + "TION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZATION_" - + "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" - + "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" - + "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" - + "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." - + "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" - + "lang.org/genproto/googleapis/cloud/talen" - + "t/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", - }); - internal_static_google_cloud_talent_v4beta1_Location_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Location_descriptor, - new java.lang.String[] { - "LocationType", "PostalAddress", "LatLng", "RadiusMiles", - }); - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor, - new java.lang.String[] { - "Domain", "SessionId", "UserId", "AllowMissingIds", "DeviceInfo", - }); - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor, - new java.lang.String[] { - "RequestId", - }); - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor, - new java.lang.String[] { - "DeviceType", "Id", - }); - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor, - new java.lang.String[] { - "StringValues", "LongValues", "Filterable", "KeywordSearchable", - }); - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor, - new java.lang.String[] { - "Corrected", "CorrectedText", "CorrectedHtml", - }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor, - new java.lang.String[] { - "Entries", "AnnualizedBaseCompensationRange", "AnnualizedTotalCompensationRange", - }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor, - new java.lang.String[] { - "Type", - "Unit", - "Amount", - "Range", - "Description", - "ExpectedUnitsPerYear", - "CompensationAmount", - }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor = - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor, - new java.lang.String[] { - "MaxCompensation", "MinCompensation", - }); - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor, - new java.lang.String[] { - "State", - "StateDescription", - "SuccessCount", - "FailureCount", - "TotalCount", - "CreateTime", - "UpdateTime", - "EndTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java deleted file mode 100644 index d1abb75599ea..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/company.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompanyResourceProto { - private CompanyResourceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Company_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/talent/v4beta1/company.pr" - + "oto\022\033google.cloud.talent.v4beta1\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032(google/cloud/talent/v4beta" - + "1/common.proto\"\374\004\n\007Company\022\014\n\004name\030\001 \001(\t" - + "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013external_" - + "id\030\003 \001(\tB\003\340A\002\0226\n\004size\030\004 \001(\0162(.google.clo" - + "ud.talent.v4beta1.CompanySize\022\034\n\024headqua" - + "rters_address\030\005 \001(\t\022\025\n\rhiring_agency\030\006 \001" - + "(\010\022\020\n\010eeo_text\030\007 \001(\t\022\023\n\013website_uri\030\010 \001(" - + "\t\022\027\n\017career_site_uri\030\t \001(\t\022\021\n\timage_uri\030" - + "\n \001(\t\0220\n(keyword_searchable_job_custom_a" - + "ttributes\030\013 \003(\t\022K\n\014derived_info\030\014 \001(\01320." - + "google.cloud.talent.v4beta1.Company.Deri" - + "vedInfoB\003\340A\003\022\026\n\tsuspended\030\r \001(\010B\003\340A\003\032S\n\013" - + "DerivedInfo\022D\n\025headquarters_location\030\001 \001" - + "(\0132%.google.cloud.talent.v4beta1.Locatio" - + "n:\201\001\352A~\n\033jobs.googleapis.com/Company\0227pr" - + "ojects/{project}/tenants/{tenant}/compan" - + "ies/{company}\022&projects/{project}/compan" - + "ies/{company}B\202\001\n\037com.google.cloud.talen" - + "t.v4beta1B\024CompanyResourceProtoP\001ZAgoogl" - + "e.golang.org/genproto/googleapis/cloud/t" - + "alent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Company_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Company_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "ExternalId", - "Size", - "HeadquartersAddress", - "HiringAgency", - "EeoText", - "WebsiteUri", - "CareerSiteUri", - "ImageUri", - "KeywordSearchableJobCustomAttributes", - "DerivedInfo", - "Suspended", - }); - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Company_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor, - new java.lang.String[] { - "HeadquartersLocation", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java deleted file mode 100644 index 41feb9ae8cc7..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/company_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompanyServiceProto { - private CompanyServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/talent/v4beta1/company_se" - + "rvice.proto\022\033google.cloud.talent.v4beta1" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\032(goo" - + "gle/cloud/talent/v4beta1/common.proto\032)g" - + "oogle/cloud/talent/v4beta1/company.proto" - + "\032\033google/protobuf/empty.proto\032 google/pr" - + "otobuf/field_mask.proto\"\207\001\n\024CreateCompan" - + "yRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\022\033jobs.g" - + "oogleapis.com/Company\022:\n\007company\030\002 \001(\0132$" - + ".google.cloud.talent.v4beta1.CompanyB\003\340A" - + "\002\"F\n\021GetCompanyRequest\0221\n\004name\030\001 \001(\tB#\340A" - + "\002\372A\035\n\033jobs.googleapis.com/Company\"\203\001\n\024Up" - + "dateCompanyRequest\022:\n\007company\030\001 \001(\0132$.go" - + "ogle.cloud.talent.v4beta1.CompanyB\003\340A\002\022/" - + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" - + "eldMask\"I\n\024DeleteCompanyRequest\0221\n\004name\030" - + "\001 \001(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Compa" - + "ny\"\215\001\n\024ListCompaniesRequest\0223\n\006parent\030\001 " - + "\001(\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company" - + "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" - + "\031\n\021require_open_jobs\030\004 \001(\010\"\252\001\n\025ListCompa" - + "niesResponse\0227\n\tcompanies\030\001 \003(\0132$.google" - + ".cloud.talent.v4beta1.Company\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.googl" - + "e.cloud.talent.v4beta1.ResponseMetadata2" - + "\322\t\n\016CompanyService\022\343\001\n\rCreateCompany\0221.g" - + "oogle.cloud.talent.v4beta1.CreateCompany" - + "Request\032$.google.cloud.talent.v4beta1.Co" - + "mpany\"y\202\323\344\223\002b\"0/v4beta1/{parent=projects" - + "/*/tenants/*}/companies:\001*Z+\"&/v4beta1/{" - + "parent=projects/*}/companies:\001*\332A\016parent" - + ",company\022\315\001\n\nGetCompany\022..google.cloud.t" - + "alent.v4beta1.GetCompanyRequest\032$.google" - + ".cloud.talent.v4beta1.Company\"i\202\323\344\223\002\\\0220/" - + "v4beta1/{name=projects/*/tenants/*/compa" - + "nies/*}Z(\022&/v4beta1/{name=projects/*/com" - + "panies/*}\332A\004name\022\355\001\n\rUpdateCompany\0221.goo" - + "gle.cloud.talent.v4beta1.UpdateCompanyRe" - + "quest\032$.google.cloud.talent.v4beta1.Comp" - + "any\"\202\001\202\323\344\223\002r28/v4beta1/{company.name=pro" - + "jects/*/tenants/*/companies/*}:\001*Z32./v4" - + "beta1/{company.name=projects/*/companies" - + "/*}:\001*\332A\007company\022\305\001\n\rDeleteCompany\0221.goo" - + "gle.cloud.talent.v4beta1.DeleteCompanyRe" - + "quest\032\026.google.protobuf.Empty\"i\202\323\344\223\002\\*0/" - + "v4beta1/{name=projects/*/tenants/*/compa" - + "nies/*}Z(*&/v4beta1/{name=projects/*/com" - + "panies/*}\332A\004name\022\343\001\n\rListCompanies\0221.goo" - + "gle.cloud.talent.v4beta1.ListCompaniesRe" - + "quest\0322.google.cloud.talent.v4beta1.List" - + "CompaniesResponse\"k\202\323\344\223\002\\\0220/v4beta1/{par" - + "ent=projects/*/tenants/*}/companiesZ(\022&/" - + "v4beta1/{parent=projects/*}/companies\332A\006" - + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" - + "/www.googleapis.com/auth/cloud-platform," - + "https://www.googleapis.com/auth/jobsB\201\001\n" - + "\037com.google.cloud.talent.v4beta1B\023Compan" - + "yServiceProtoP\001ZAgoogle.golang.org/genpr" - + "oto/googleapis/cloud/talent/v4beta1;tale" - + "nt\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor, - new java.lang.String[] { - "Parent", "Company", - }); - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor, - new java.lang.String[] { - "Company", "UpdateMask", - }); - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", "RequireOpenJobs", - }); - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor, - new java.lang.String[] { - "Companies", "NextPageToken", "Metadata", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java deleted file mode 100644 index 3580295427ad..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/completion_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompletionServiceProto { - private CompletionServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/talent/v4beta1/completion" - + "_service.proto\022\033google.cloud.talent.v4be" - + "ta1\032\034google/api/annotations.proto\032\027googl" - + "e/api/client.proto\032\037google/api/field_beh" - + "avior.proto\032\031google/api/resource.proto\032(" - + "google/cloud/talent/v4beta1/common.proto" - + "\"\223\004\n\024CompleteQueryRequest\0223\n\006parent\030\001 \001(" - + "\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022\022" - + "\n\005query\030\002 \001(\tB\003\340A\002\022\026\n\016language_codes\030\003 \003" - + "(\t\022\026\n\tpage_size\030\004 \001(\005B\003\340A\002\0221\n\007company\030\005 " - + "\001(\tB \372A\035\n\033jobs.googleapis.com/Company\022P\n" - + "\005scope\030\006 \001(\0162A.google.cloud.talent.v4bet" - + "a1.CompleteQueryRequest.CompletionScope\022" - + "N\n\004type\030\007 \001(\0162@.google.cloud.talent.v4be" - + "ta1.CompleteQueryRequest.CompletionType\"" - + "K\n\017CompletionScope\022 \n\034COMPLETION_SCOPE_U" - + "NSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016" - + "CompletionType\022\037\n\033COMPLETION_TYPE_UNSPEC" - + "IFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002" - + "\022\014\n\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse" - + "\022_\n\022completion_results\030\001 \003(\0132C.google.cl" - + "oud.talent.v4beta1.CompleteQueryResponse" - + ".CompletionResult\022?\n\010metadata\030\002 \001(\0132-.go" - + "ogle.cloud.talent.v4beta1.ResponseMetada" - + "ta\032\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 " - + "\001(\t\022N\n\004type\030\002 \001(\0162@.google.cloud.talent." - + "v4beta1.CompleteQueryRequest.CompletionT" - + "ype\022\021\n\timage_uri\030\003 \001(\t2\325\002\n\nCompletion\022\330\001" - + "\n\rCompleteQuery\0221.google.cloud.talent.v4" - + "beta1.CompleteQueryRequest\0322.google.clou" - + "d.talent.v4beta1.CompleteQueryResponse\"`" - + "\202\323\344\223\002Z\022//v4beta1/{parent=projects/*/tena" - + "nts/*}:completeZ\'\022%/v4beta1/{parent=proj" - + "ects/*}:complete\032l\312A\023jobs.googleapis.com" - + "\322AShttps://www.googleapis.com/auth/cloud" - + "-platform,https://www.googleapis.com/aut" - + "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet" - + "a1B\026CompletionServiceProtoP\001ZAgoogle.gol" - + "ang.org/genproto/googleapis/cloud/talent" - + "/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor, - new java.lang.String[] { - "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type", - }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor, - new java.lang.String[] { - "CompletionResults", "Metadata", - }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor = - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor, - new java.lang.String[] { - "Suggestion", "Type", "ImageUri", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java deleted file mode 100644 index c002bac0b0b4..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface DeleteTenantRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java deleted file mode 100644 index 9bf3bda85a3d..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/event.proto - -package com.google.cloud.talent.v4beta1; - -public final class EventProto { - private EventProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/event.prot" - + "o\022\033google.cloud.talent.v4beta1\032\037google/a" - + "pi/field_behavior.proto\032\037google/protobuf" - + "/timestamp.proto\"\310\001\n\013ClientEvent\022\022\n\nrequ" - + "est_id\030\001 \001(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013c" - + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\002\022:\n\tjob_event\030\005 \001(\0132%.google.cl" - + "oud.talent.v4beta1.JobEventH\000\022\023\n\013event_n" - + "otes\030\t \001(\tB\007\n\005event\"\366\003\n\010JobEvent\022E\n\004type" - + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Job" - + "Event.JobEventTypeB\003\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340" - + "A\002\022\017\n\007profile\030\003 \001(\t\"\376\002\n\014JobEventType\022\036\n\032" - + "JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSI" - + "ON\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APP" - + "LICATION_START\020\004\022\026\n\022APPLICATION_FINISH\020\005" - + "\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n\024AP" - + "PLICATION_REDIRECT\020\007\022!\n\035APPLICATION_STAR" - + "T_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRECT_" - + "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" - + "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" - + "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" - + "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" - + "\nEventProtoP\001ZAgoogle.golang.org/genprot" - + "o/googleapis/cloud/talent/v4beta1;talent" - + "\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor, - new java.lang.String[] { - "RequestId", "EventId", "CreateTime", "JobEvent", "EventNotes", "Event", - }); - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor, - new java.lang.String[] { - "Type", "Jobs", "Profile", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java deleted file mode 100644 index 9aeec3907ff9..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/event_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class EventServiceProto { - private EventServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/talent/v4beta1/event_serv" - + "ice.proto\022\033google.cloud.talent.v4beta1\032\034" - + "google/api/annotations.proto\032\027google/api" - + "/client.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\'googl" - + "e/cloud/talent/v4beta1/event.proto\"\224\001\n\030C" - + "reateClientEventRequest\0223\n\006parent\030\001 \001(\tB" - + "#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022C\n\014" - + "client_event\030\002 \001(\0132(.google.cloud.talent" - + ".v4beta1.ClientEventB\003\340A\0022\372\002\n\014EventServi" - + "ce\022\373\001\n\021CreateClientEvent\0225.google.cloud." - + "talent.v4beta1.CreateClientEventRequest\032" - + "(.google.cloud.talent.v4beta1.ClientEven" - + "t\"\204\001\202\323\344\223\002h\"3/v4beta1/{parent=projects/*/" - + "tenants/*}/clientEvents:\001*Z.\")/v4beta1/{" - + "parent=projects/*}/clientEvents:\001*\332A\023par" - + "ent,client_event\032l\312A\023jobs.googleapis.com" - + "\322AShttps://www.googleapis.com/auth/cloud" - + "-platform,https://www.googleapis.com/aut" - + "h/jobsB\177\n\037com.google.cloud.talent.v4beta" - + "1B\021EventServiceProtoP\001ZAgoogle.golang.or" - + "g/genproto/googleapis/cloud/talent/v4bet" - + "a1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.EventProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor, - new java.lang.String[] { - "Parent", "ClientEvent", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.EventProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java deleted file mode 100644 index 63e204fdce09..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/filters.proto - -package com.google.cloud.talent.v4beta1; - -public final class FiltersProto { - private FiltersProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/talent/v4beta1/filters.pr" - + "oto\022\033google.cloud.talent.v4beta1\032\037google" - + "/api/field_behavior.proto\032(google/cloud/" - + "talent/v4beta1/common.proto\032\036google/prot" - + "obuf/duration.proto\032\030google/type/latlng." - + "proto\032\033google/type/timeofday.proto\"\200\005\n\010J" - + "obQuery\022\r\n\005query\030\001 \001(\t\022\033\n\023query_language" - + "_code\030\016 \001(\t\022\021\n\tcompanies\030\002 \003(\t\022E\n\020locati" - + "on_filters\030\003 \003(\0132+.google.cloud.talent.v" - + "4beta1.LocationFilter\022@\n\016job_categories\030" - + "\004 \003(\0162(.google.cloud.talent.v4beta1.JobC" - + "ategory\022B\n\016commute_filter\030\005 \001(\0132*.google" - + ".cloud.talent.v4beta1.CommuteFilter\022\035\n\025c" - + "ompany_display_names\030\006 \003(\t\022L\n\023compensati" - + "on_filter\030\007 \001(\0132/.google.cloud.talent.v4" - + "beta1.CompensationFilter\022\037\n\027custom_attri" - + "bute_filter\030\010 \001(\t\022\033\n\023disable_spell_check" - + "\030\t \001(\010\022E\n\020employment_types\030\n \003(\0162+.googl" - + "e.cloud.talent.v4beta1.EmploymentType\022\026\n" - + "\016language_codes\030\013 \003(\t\022G\n\022publish_time_ra" - + "nge\030\014 \001(\0132+.google.cloud.talent.v4beta1." - + "TimestampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\203\003" - + "\n\016LocationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013reg" - + "ion_code\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google" - + ".type.LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022" - + "a\n\026telecommute_preference\030\005 \001(\0162A.google" - + ".cloud.talent.v4beta1.LocationFilter.Tel" - + "ecommutePreference\022\017\n\007negated\030\006 \001(\010\"\225\001\n\025" - + "TelecommutePreference\022&\n\"TELECOMMUTE_PRE" - + "FERENCE_UNSPECIFIED\020\000\022\034\n\024TELECOMMUTE_EXC" - + "LUDED\020\001\032\002\010\001\022\027\n\023TELECOMMUTE_ALLOWED\020\002\022\035\n\031" - + "TELECOMMUTE_JOBS_EXCLUDED\020\003\"\312\003\n\022Compensa" - + "tionFilter\022M\n\004type\030\001 \001(\0162:.google.cloud." - + "talent.v4beta1.CompensationFilter.Filter" - + "TypeB\003\340A\002\022R\n\005units\030\002 \003(\0162>.google.cloud." - + "talent.v4beta1.CompensationInfo.Compensa" - + "tionUnitB\003\340A\002\022N\n\005range\030\003 \001(\0132?.google.cl" - + "oud.talent.v4beta1.CompensationInfo.Comp" - + "ensationRange\0228\n0include_jobs_with_unspe" - + "cified_compensation_range\030\004 \001(\010\"\206\001\n\nFilt" - + "erType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n\tU" - + "NIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANNUA" - + "LIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTAL_" - + "AMOUNT\020\004\"\313\003\n\rCommuteFilter\022G\n\016commute_me" - + "thod\030\001 \001(\0162*.google.cloud.talent.v4beta1" - + ".CommuteMethodB\003\340A\002\0223\n\021start_coordinates" - + "\030\002 \001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017trav" - + "el_duration\030\003 \001(\0132\031.google.protobuf.Dura" - + "tionB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004" - + " \001(\010\022N\n\014road_traffic\030\005 \001(\01626.google.clou" - + "d.talent.v4beta1.CommuteFilter.RoadTraff" - + "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" - + "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" - + "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" - + "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" - + "ogle.cloud.talent.v4beta1B\014FiltersProtoP" - + "\001ZAgoogle.golang.org/genproto/googleapis" - + "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor, - new java.lang.String[] { - "Query", - "QueryLanguageCode", - "Companies", - "LocationFilters", - "JobCategories", - "CommuteFilter", - "CompanyDisplayNames", - "CompensationFilter", - "CustomAttributeFilter", - "DisableSpellCheck", - "EmploymentTypes", - "LanguageCodes", - "PublishTimeRange", - "ExcludedJobs", - }); - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor, - new java.lang.String[] { - "Address", - "RegionCode", - "LatLng", - "DistanceInMiles", - "TelecommutePreference", - "Negated", - }); - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor, - new java.lang.String[] { - "Type", "Units", "Range", "IncludeJobsWithUnspecifiedCompensationRange", - }); - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor, - new java.lang.String[] { - "CommuteMethod", - "StartCoordinates", - "TravelDuration", - "AllowImpreciseAddresses", - "RoadTraffic", - "DepartureTime", - "TrafficOption", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java deleted file mode 100644 index 7fb3e7cb4811..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface GetTenantRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java deleted file mode 100644 index c036e0f5d115..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/histogram.proto - -package com.google.cloud.talent.v4beta1; - -public final class HistogramProto { - private HistogramProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/talent/v4beta1/histogram." - + "proto\022\033google.cloud.talent.v4beta1\")\n\016Hi" - + "stogramQuery\022\027\n\017histogram_query\030\001 \001(\t\"\266\001" - + "\n\024HistogramQueryResult\022\027\n\017histogram_quer" - + "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" - + "d.talent.v4beta1.HistogramQueryResult.Hi" - + "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" - + "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor, - new java.lang.String[] { - "HistogramQuery", - }); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor, - new java.lang.String[] { - "HistogramQuery", "Histogram", - }); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java deleted file mode 100644 index 8985ac656fd0..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java +++ /dev/null @@ -1,211 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job.proto - -package com.google.cloud.talent.v4beta1; - -public final class JobResourceProto { - private JobResourceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n%google/cloud/talent/v4beta1/job.proto\022" - + "\033google.cloud.talent.v4beta1\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032(google/cloud/talent/v4beta1/co" - + "mmon.proto\032\037google/protobuf/timestamp.pr" - + "oto\"\340\017\n\003Job\022\014\n\004name\030\001 \001(\t\0224\n\007company\030\002 \001" - + "(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Company\022" - + "\033\n\016requisition_id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 " - + "\001(\tB\003\340A\002\022\030\n\013description\030\005 \001(\tB\003\340A\002\022\021\n\tad" - + "dresses\030\006 \003(\t\022J\n\020application_info\030\007 \001(\0132" - + "0.google.cloud.talent.v4beta1.Job.Applic" - + "ationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.google" - + ".cloud.talent.v4beta1.JobBenefit\022H\n\021comp" - + "ensation_info\030\t \001(\0132-.google.cloud.talen" - + "t.v4beta1.CompensationInfo\022Q\n\021custom_att" - + "ributes\030\n \003(\01326.google.cloud.talent.v4be" - + "ta1.Job.CustomAttributesEntry\022=\n\014degree_" - + "types\030\013 \003(\0162\'.google.cloud.talent.v4beta" - + "1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020empl" - + "oyment_types\030\r \003(\0162+.google.cloud.talent" - + ".v4beta1.EmploymentType\022\022\n\nincentives\030\016 " - + "\001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_level\030" - + "\020 \001(\0162%.google.cloud.talent.v4beta1.JobL" - + "evel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qualifi" - + "cations\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022" - + "B\n\016posting_region\030\024 \001(\0162*.google.cloud.t" - + "alent.v4beta1.PostingRegion\022?\n\nvisibilit" - + "y\030\025 \001(\0162\'.google.cloud.talent.v4beta1.Vi" - + "sibilityB\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\0220\n\014job_end_time" - + "\030\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024po" - + "sting_publish_time\030\030 \001(\0132\032.google.protob" - + "uf.Timestamp\0227\n\023posting_expire_time\030\031 \001(" - + "\0132\032.google.protobuf.Timestamp\022<\n\023posting" - + "_create_time\030\032 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\022<\n\023posting_update_time\030\033 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\022!\n\024com" - + "pany_display_name\030\034 \001(\tB\003\340A\003\022G\n\014derived_" - + "info\030\035 \001(\0132,.google.cloud.talent.v4beta1" - + ".Job.DerivedInfoB\003\340A\003\022N\n\022processing_opti" - + "ons\030\036 \001(\01322.google.cloud.talent.v4beta1." - + "Job.ProcessingOptions\032D\n\017ApplicationInfo" - + "\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 \001(\t\022\014\n" - + "\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tlocations" - + "\030\001 \003(\0132%.google.cloud.talent.v4beta1.Loc" - + "ation\022@\n\016job_categories\030\003 \003(\0162(.google.c" - + "loud.talent.v4beta1.JobCategory\032\210\001\n\021Proc" - + "essingOptions\022)\n!disable_street_address_" - + "resolution\030\001 \001(\010\022H\n\021html_sanitization\030\002 " - + "\001(\0162-.google.cloud.talent.v4beta1.HtmlSa" - + "nitization\032e\n\025CustomAttributesEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.t" - + "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" - + "jobs.googleapis.com/Job\022.projects/{proje" - + "ct}/tenants/{tenant}/jobs/{job}\022\035project" - + "s/{project}/jobs/{job}B~\n\037com.google.clo" - + "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Job_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_descriptor, - new java.lang.String[] { - "Name", - "Company", - "RequisitionId", - "Title", - "Description", - "Addresses", - "ApplicationInfo", - "JobBenefits", - "CompensationInfo", - "CustomAttributes", - "DegreeTypes", - "Department", - "EmploymentTypes", - "Incentives", - "LanguageCode", - "JobLevel", - "PromotionValue", - "Qualifications", - "Responsibilities", - "PostingRegion", - "Visibility", - "JobStartTime", - "JobEndTime", - "PostingPublishTime", - "PostingExpireTime", - "PostingCreateTime", - "PostingUpdateTime", - "CompanyDisplayName", - "DerivedInfo", - "ProcessingOptions", - }); - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor, - new java.lang.String[] { - "Emails", "Instruction", "Uris", - }); - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor, - new java.lang.String[] { - "Locations", "JobCategories", - }); - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor, - new java.lang.String[] { - "DisableStreetAddressResolution", "HtmlSanitization", - }); - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java deleted file mode 100644 index e513814b921c..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java +++ /dev/null @@ -1,479 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class JobServiceProto { - private JobServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/talent/v4beta1/job_servic" - + "e.proto\022\033google.cloud.talent.v4beta1\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032(google/" - + "cloud/talent/v4beta1/common.proto\032)googl" - + "e/cloud/talent/v4beta1/filters.proto\032+go" - + "ogle/cloud/talent/v4beta1/histogram.prot" - + "o\032%google/cloud/talent/v4beta1/job.proto" - + "\032#google/longrunning/operations.proto\032\036g" - + "oogle/protobuf/duration.proto\032\033google/pr" - + "otobuf/empty.proto\032 google/protobuf/fiel" - + "d_mask.proto\032\027google/rpc/status.proto\"w\n" - + "\020CreateJobRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A" - + "\031\022\027jobs.googleapis.com/Job\0222\n\003job\030\002 \001(\0132" - + " .google.cloud.talent.v4beta1.JobB\003\340A\002\">" - + "\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027j" - + "obs.googleapis.com/Job\"w\n\020UpdateJobReque" - + "st\0222\n\003job\030\001 \001(\0132 .google.cloud.talent.v4" - + "beta1.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" - + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" - + "is.com/Job\"^\n\026BatchDeleteJobsRequest\022/\n\006" - + "parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.co" - + "m/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\"\266\001\n\017ListJobsR" - + "equest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.goo" - + "gleapis.com/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\n" - + "page_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010j" - + "ob_view\030\005 \001(\0162$.google.cloud.talent.v4be" - + "ta1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs" - + "\030\001 \003(\0132 .google.cloud.talent.v4beta1.Job" - + "\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 " - + "\001(\0132-.google.cloud.talent.v4beta1.Respon" - + "seMetadata\"\273\013\n\021SearchJobsRequest\022/\n\006pare" - + "nt\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Jo" - + "b\022N\n\013search_mode\030\002 \001(\01629.google.cloud.ta" - + "lent.v4beta1.SearchJobsRequest.SearchMod" - + "e\022K\n\020request_metadata\030\003 \001(\0132,.google.clo" - + "ud.talent.v4beta1.RequestMetadataB\003\340A\002\0228" - + "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." - + "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " - + "\001(\010\022\'\n\033require_precise_result_size\030\006 \001(\010" - + "B\002\030\001\022F\n\021histogram_queries\030\007 \003(\0132+.google" - + ".cloud.talent.v4beta1.HistogramQuery\0226\n\010" - + "job_view\030\010 \001(\0162$.google.cloud.talent.v4b" - + "eta1.JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_siz" - + "e\030\n \001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030" - + "\014 \001(\t\022b\n\025diversification_level\030\r \001(\0162C.g" - + "oogle.cloud.talent.v4beta1.SearchJobsReq" - + "uest.DiversificationLevel\022]\n\023custom_rank" - + "ing_info\030\016 \001(\0132@.google.cloud.talent.v4b" - + "eta1.SearchJobsRequest.CustomRankingInfo" - + "\022\035\n\025disable_keyword_match\030\020 \001(\010\022[\n\022keywo" - + "rd_match_mode\030\022 \001(\0162?.google.cloud.talen" - + "t.v4beta1.SearchJobsRequest.KeywordMatch" - + "Mode\032\232\002\n\021CustomRankingInfo\022o\n\020importance" - + "_level\030\001 \001(\0162P.google.cloud.talent.v4bet" - + "a1.SearchJobsRequest.CustomRankingInfo.I" - + "mportanceLevelB\003\340A\002\022\037\n\022ranking_expressio" - + "n\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLevel\022 \n\034IMPOR" - + "TANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003L" - + "OW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007" - + "EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SEARCH_MODE_U" - + "NSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED" - + "_JOB_SEARCH\020\002\"W\n\024DiversificationLevel\022%\n" - + "!DIVERSIFICATION_LEVEL_UNSPECIFIED\020\000\022\014\n\010" - + "DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\207\001\n\020KeywordMatchM" - + "ode\022\"\n\036KEYWORD_MATCH_MODE_UNSPECIFIED\020\000\022" - + "\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n\021KEYWORD_M" - + "ATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TITLE_ONLY\020\003" - + "\"\327\006\n\022SearchJobsResponse\022R\n\rmatching_jobs" - + "\030\001 \003(\0132;.google.cloud.talent.v4beta1.Sea" - + "rchJobsResponse.MatchingJob\022R\n\027histogram" - + "_query_results\030\002 \003(\01321.google.cloud.tale" - + "nt.v4beta1.HistogramQueryResult\022\027\n\017next_" - + "page_token\030\003 \001(\t\022?\n\020location_filters\030\004 \003" - + "(\0132%.google.cloud.talent.v4beta1.Locatio" - + "n\022\034\n\024estimated_total_size\030\005 \001(\005\022\022\n\ntotal" - + "_size\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.c" - + "loud.talent.v4beta1.ResponseMetadata\022\"\n\032" - + "broadened_query_jobs_count\030\010 \001(\005\022I\n\020spel" - + "l_correction\030\t \001(\0132/.google.cloud.talent" - + ".v4beta1.SpellingCorrection\032\334\001\n\013Matching" - + "Job\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v" - + "4beta1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_t" - + "itle_snippet\030\003 \001(\t\022\033\n\023search_text_snippe" - + "t\030\004 \001(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.c" - + "loud.talent.v4beta1.SearchJobsResponse.C" - + "ommuteInfo\032~\n\013CommuteInfo\022;\n\014job_locatio" - + "n\030\001 \001(\0132%.google.cloud.talent.v4beta1.Lo" - + "cation\0222\n\017travel_duration\030\002 \001(\0132\031.google" - + ".protobuf.Duration\"~\n\026BatchCreateJobsReq" - + "uest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googl" - + "eapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .google.clo" - + "ud.talent.v4beta1.JobB\003\340A\002\"\257\001\n\026BatchUpda" - + "teJobsRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027j" - + "obs.googleapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .g" - + "oogle.cloud.talent.v4beta1.JobB\003\340A\002\022/\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "Mask\"\304\001\n\022JobOperationResult\022N\n\013job_resul" - + "ts\030\001 \003(\01329.google.cloud.talent.v4beta1.J" - + "obOperationResult.JobResult\032^\n\tJobResult" - + "\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v4be" - + "ta1.Job\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" - + "tus*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" - + "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" - + "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" - + "L\020\0042\316\022\n\nJobService\022\311\001\n\tCreateJob\022-.googl" - + "e.cloud.talent.v4beta1.CreateJobRequest\032" - + " .google.cloud.talent.v4beta1.Job\"k\202\323\344\223\002" - + "X\"+/v4beta1/{parent=projects/*/tenants/*" - + "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" - + "}/jobs:\001*\332A\nparent,job\022\233\002\n\017BatchCreateJo" - + "bs\0223.google.cloud.talent.v4beta1.BatchCr" - + "eateJobsRequest\032\035.google.longrunning.Ope" - + "ration\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projec" - + "ts/*/tenants/*}/jobs:batchCreate:\001*Z2\"-/" - + "v4beta1/{parent=projects/*}/jobs:batchCr" - + "eate:\001*\332A\013parent,jobs\312A,\n\022JobOperationRe" - + "sult\022\026BatchOperationMetadata\022\267\001\n\006GetJob\022" - + "*.google.cloud.talent.v4beta1.GetJobRequ" - + "est\032 .google.cloud.talent.v4beta1.Job\"_\202" - + "\323\344\223\002R\022+/v4beta1/{name=projects/*/tenants" - + "/*/jobs/*}Z#\022!/v4beta1/{name=projects/*/" - + "jobs/*}\332A\004name\022\312\001\n\tUpdateJob\022-.google.cl" - + "oud.talent.v4beta1.UpdateJobRequest\032 .go" - + "ogle.cloud.talent.v4beta1.Job\"l\202\323\344\223\002`2//" - + "v4beta1/{job.name=projects/*/tenants/*/j" - + "obs/*}:\001*Z*2%/v4beta1/{job.name=projects" - + "/*/jobs/*}:\001*\332A\003job\022\233\002\n\017BatchUpdateJobs\022" - + "3.google.cloud.talent.v4beta1.BatchUpdat" - + "eJobsRequest\032\035.google.longrunning.Operat" - + "ion\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projects/" - + "*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/v4b" - + "eta1/{parent=projects/*}/jobs:batchUpdat" - + "e:\001*\332A\013parent,jobs\312A,\n\022JobOperationResul" - + "t\022\026BatchOperationMetadata\022\263\001\n\tDeleteJob\022" - + "-.google.cloud.talent.v4beta1.DeleteJobR" - + "equest\032\026.google.protobuf.Empty\"_\202\323\344\223\002R*+" - + "/v4beta1/{name=projects/*/tenants/*/jobs" - + "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}" - + "\332A\004name\022\344\001\n\017BatchDeleteJobs\0223.google.clo" - + "ud.talent.v4beta1.BatchDeleteJobsRequest" - + "\032\026.google.protobuf.Empty\"\203\001\202\323\344\223\002m\"7/v4be" - + "ta1/{parent=projects/*/tenants/*}/jobs:b" - + "atchDelete:\001*Z/\"-/v4beta1/{parent=projec" - + "ts/*}/jobs:batchDelete\332A\rparent,filter\022\321" - + "\001\n\010ListJobs\022,.google.cloud.talent.v4beta" - + "1.ListJobsRequest\032-.google.cloud.talent." - + "v4beta1.ListJobsResponse\"h\202\323\344\223\002R\022+/v4bet" - + "a1/{parent=projects/*/tenants/*}/jobsZ#\022" - + "!/v4beta1/{parent=projects/*}/jobs\332A\rpar" - + "ent,filter\022\333\001\n\nSearchJobs\022..google.cloud" - + ".talent.v4beta1.SearchJobsRequest\032/.goog" - + "le.cloud.talent.v4beta1.SearchJobsRespon" - + "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/" - + "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p" - + "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea" - + "rchJobsForAlert\022..google.cloud.talent.v4" - + "beta1.SearchJobsRequest\032/.google.cloud.t" - + "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v" - + "\":/v4beta1/{parent=projects/*/tenants/*}" - + "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par" - + "ent=projects/*}/jobs:searchForAlert:\001*\032l" - + "\312A\023jobs.googleapis.com\322AShttps://www.goo" - + "gleapis.com/auth/cloud-platform,https://" - + "www.googleapis.com/auth/jobsB}\n\037com.goog" - + "le.cloud.talent.v4beta1B\017JobServiceProto" - + "P\001ZAgoogle.golang.org/genproto/googleapi" - + "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" - + "to3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), - com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), - com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor, - new java.lang.String[] { - "Parent", "Job", - }); - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor, - new java.lang.String[] { - "Job", "UpdateMask", - }); - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", - }); - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageToken", "PageSize", "JobView", - }); - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor, - new java.lang.String[] { - "Jobs", "NextPageToken", "Metadata", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor, - new java.lang.String[] { - "Parent", - "SearchMode", - "RequestMetadata", - "JobQuery", - "EnableBroadening", - "RequirePreciseResultSize", - "HistogramQueries", - "JobView", - "Offset", - "PageSize", - "PageToken", - "OrderBy", - "DiversificationLevel", - "CustomRankingInfo", - "DisableKeywordMatch", - "KeywordMatchMode", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor, - new java.lang.String[] { - "ImportanceLevel", "RankingExpression", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor, - new java.lang.String[] { - "MatchingJobs", - "HistogramQueryResults", - "NextPageToken", - "LocationFilters", - "EstimatedTotalSize", - "TotalSize", - "Metadata", - "BroadenedQueryJobsCount", - "SpellCorrection", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor, - new java.lang.String[] { - "Job", "JobSummary", "JobTitleSnippet", "SearchTextSnippet", "CommuteInfo", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor, - new java.lang.String[] { - "JobLocation", "TravelDuration", - }); - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Jobs", - }); - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Jobs", "UpdateMask", - }); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor, - new java.lang.String[] { - "JobResults", - }); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor = - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor, - new java.lang.String[] { - "Job", "Status", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); - com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); - com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java deleted file mode 100644 index 5b0067852a43..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant.proto - -package com.google.cloud.talent.v4beta1; - -public final class TenantResourceProto { - private TenantResourceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/talent/v4beta1/tenant.pro" - + "to\022\033google.cloud.talent.v4beta1\032\037google/" - + "api/field_behavior.proto\032\031google/api/res" - + "ource.proto\"\303\002\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013" - + "external_id\030\002 \001(\tB\003\340A\002\022E\n\nusage_type\030\003 \001" - + "(\01621.google.cloud.talent.v4beta1.Tenant." - + "DataUsageType\0224\n,keyword_searchable_prof" - + "ile_custom_attributes\030\004 \003(\t\"N\n\rDataUsage" - + "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" - + "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" - + "oogleapis.com/Tenant\022#projects/{project}" - + "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" - + "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor, - new java.lang.String[] { - "Name", "ExternalId", "UsageType", "KeywordSearchableProfileCustomAttributes", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java deleted file mode 100644 index 9f97b7d7ba06..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class TenantServiceProto { - private TenantServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/talent/v4beta1/tenant_ser" - + "vice.proto\022\033google.cloud.talent.v4beta1\032" - + "\034google/api/annotations.proto\032\027google/ap" - + "i/client.proto\032\037google/api/field_behavio" - + "r.proto\032\031google/api/resource.proto\032(goog" - + "le/cloud/talent/v4beta1/common.proto\032(go" - + "ogle/cloud/talent/v4beta1/tenant.proto\032\033" - + "google/protobuf/empty.proto\032 google/prot" - + "obuf/field_mask.proto\"\224\001\n\023CreateTenantRe" - + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" - + "urcemanager.googleapis.com/Project\0228\n\006te" - + "nant\030\002 \001(\0132#.google.cloud.talent.v4beta1" - + ".TenantB\003\340A\002\"D\n\020GetTenantRequest\0220\n\004name" - + "\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/Tena" - + "nt\"\200\001\n\023UpdateTenantRequest\0228\n\006tenant\030\001 \001" - + "(\0132#.google.cloud.talent.v4beta1.TenantB" - + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" - + "buf.FieldMask\"G\n\023DeleteTenantRequest\0220\n\004" - + "name\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/" - + "Tenant\"\200\001\n\022ListTenantsRequest\022C\n\006parent\030" - + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" - + "leapis.com/Project\022\022\n\npage_token\030\002 \001(\t\022\021" - + "\n\tpage_size\030\003 \001(\005\"\245\001\n\023ListTenantsRespons" - + "e\0224\n\007tenants\030\001 \003(\0132#.google.cloud.talent" - + ".v4beta1.Tenant\022\027\n\017next_page_token\030\002 \001(\t" - + "\022?\n\010metadata\030\003 \001(\0132-.google.cloud.talent" - + ".v4beta1.ResponseMetadata2\240\007\n\rTenantServ" - + "ice\022\246\001\n\014CreateTenant\0220.google.cloud.tale" - + "nt.v4beta1.CreateTenantRequest\032#.google." - + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\002)\"$/v4" - + "beta1/{parent=projects/*}/tenants:\001*\332A\rp" - + "arent,tenant\022\224\001\n\tGetTenant\022-.google.clou" - + "d.talent.v4beta1.GetTenantRequest\032#.goog" - + "le.cloud.talent.v4beta1.Tenant\"3\202\323\344\223\002&\022$" - + "/v4beta1/{name=projects/*/tenants/*}\332A\004n" - + "ame\022\246\001\n\014UpdateTenant\0220.google.cloud.tale" - + "nt.v4beta1.UpdateTenantRequest\032#.google." - + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\00202+/v4" - + "beta1/{tenant.name=projects/*/tenants/*}" - + ":\001*\332A\006tenant\022\215\001\n\014DeleteTenant\0220.google.c" - + "loud.talent.v4beta1.DeleteTenantRequest\032" - + "\026.google.protobuf.Empty\"3\202\323\344\223\002&*$/v4beta" - + "1/{name=projects/*/tenants/*}\332A\004name\022\247\001\n" - + "\013ListTenants\022/.google.cloud.talent.v4bet" - + "a1.ListTenantsRequest\0320.google.cloud.tal" - + "ent.v4beta1.ListTenantsResponse\"5\202\323\344\223\002&\022" - + "$/v4beta1/{parent=projects/*}/tenants\332A\006" - + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" - + "/www.googleapis.com/auth/cloud-platform," - + "https://www.googleapis.com/auth/jobsB\200\001\n" - + "\037com.google.cloud.talent.v4beta1B\022Tenant" - + "ServiceProtoP\001ZAgoogle.golang.org/genpro" - + "to/googleapis/cloud/talent/v4beta1;talen" - + "t\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor, - new java.lang.String[] { - "Parent", "Tenant", - }); - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor, - new java.lang.String[] { - "Tenant", "UpdateMask", - }); - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", - }); - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor, - new java.lang.String[] { - "Tenants", "NextPageToken", "Metadata", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java index 45dde7ee77a8..89bbd85283be 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.CompanyServiceStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java index a514bf13ad3d..e3f3aa9d2e96 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.CompletionStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java index 15a4619dfcaa..b3a0bac40cdf 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.EventServiceStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java index c169c28ac1d6..f85255f50cf5 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.JobServiceStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java index 1b6f8b048ead..ea9e39488dcf 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.TenantServiceStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java index 82f8fc4cac28..0309b6b3293f 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java @@ -37,6 +37,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java index 6ea25e438a31..c27915b13229 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java @@ -29,6 +29,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java index 20ce3149e18d..60fca5115e92 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java @@ -29,6 +29,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java index a0e91e423fbf..d41a07c4ed85 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java @@ -48,6 +48,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java index 7b40fb4e32c1..3dbad4b51d72 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java @@ -37,6 +37,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java index 22e90bea250c..a6076920f51b 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java new file mode 100644 index 000000000000..64026ce5e838 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java @@ -0,0 +1,651 @@ +package com.google.cloud.talent.v4; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * A service that handles company management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4/company_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompanyServiceGrpc { + + private CompanyServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4.CompanyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompany", + requestType = com.google.cloud.talent.v4.CreateCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCompanyMethod() { + io.grpc.MethodDescriptor getCreateCompanyMethod; + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + CompanyServiceGrpc.getCreateCompanyMethod = getCreateCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("CreateCompany")) + .build(); + } + } + } + return getCreateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompany", + requestType = com.google.cloud.talent.v4.GetCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCompanyMethod() { + io.grpc.MethodDescriptor getGetCompanyMethod; + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + CompanyServiceGrpc.getGetCompanyMethod = getGetCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) + .build(); + } + } + } + return getGetCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", + requestType = com.google.cloud.talent.v4.UpdateCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCompanyMethod() { + io.grpc.MethodDescriptor getUpdateCompanyMethod; + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + CompanyServiceGrpc.getUpdateCompanyMethod = getUpdateCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) + .build(); + } + } + } + return getUpdateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", + requestType = com.google.cloud.talent.v4.DeleteCompanyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteCompanyMethod() { + io.grpc.MethodDescriptor getDeleteCompanyMethod; + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + CompanyServiceGrpc.getDeleteCompanyMethod = getDeleteCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) + .build(); + } + } + } + return getDeleteCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCompaniesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompanies", + requestType = com.google.cloud.talent.v4.ListCompaniesRequest.class, + responseType = com.google.cloud.talent.v4.ListCompaniesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCompaniesMethod() { + io.grpc.MethodDescriptor getListCompaniesMethod; + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + CompanyServiceGrpc.getListCompaniesMethod = getListCompaniesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("ListCompanies")) + .build(); + } + } + } + return getListCompaniesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static CompanyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + }; + return CompanyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompanyServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + }; + return CompanyServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CompanyServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + }; + return CompanyServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static abstract class CompanyServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompanyMethod(), responseObserver); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany(com.google.cloud.talent.v4.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyMethod(), responseObserver); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCompanyMethod(), responseObserver); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompaniesMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateCompanyRequest, + com.google.cloud.talent.v4.Company>( + this, METHODID_CREATE_COMPANY))) + .addMethod( + getGetCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetCompanyRequest, + com.google.cloud.talent.v4.Company>( + this, METHODID_GET_COMPANY))) + .addMethod( + getUpdateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateCompanyRequest, + com.google.cloud.talent.v4.Company>( + this, METHODID_UPDATE_COMPANY))) + .addMethod( + getDeleteCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteCompanyRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_COMPANY))) + .addMethod( + getListCompaniesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse>( + this, METHODID_LIST_COMPANIES))) + .build(); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceStub extends io.grpc.stub.AbstractAsyncStub { + private CompanyServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany(com.google.cloud.talent.v4.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CompanyServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.cloud.talent.v4.Company createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.cloud.talent.v4.Company getCompany(com.google.cloud.talent.v4.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public com.google.cloud.talent.v4.Company updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.protobuf.Empty deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4.ListCompaniesResponse listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompaniesMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private CompanyServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCompany( + com.google.cloud.talent.v4.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCompany( + com.google.cloud.talent.v4.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCompany( + com.google.cloud.talent.v4.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCompany( + com.google.cloud.talent.v4.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCompanies( + com.google.cloud.talent.v4.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_COMPANY = 0; + private static final int METHODID_GET_COMPANY = 1; + private static final int METHODID_UPDATE_COMPANY = 2; + private static final int METHODID_DELETE_COMPANY = 3; + private static final int METHODID_LIST_COMPANIES = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompanyServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_COMPANY: + serviceImpl.createCompany((com.google.cloud.talent.v4.CreateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_COMPANY: + serviceImpl.getCompany((com.google.cloud.talent.v4.GetCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_COMPANY: + serviceImpl.updateCompany((com.google.cloud.talent.v4.UpdateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_COMPANY: + serviceImpl.deleteCompany((com.google.cloud.talent.v4.DeleteCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPANIES: + serviceImpl.listCompanies((com.google.cloud.talent.v4.ListCompaniesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompanyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CompanyService"); + } + } + + private static final class CompanyServiceFileDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier { + CompanyServiceFileDescriptorSupplier() {} + } + + private static final class CompanyServiceMethodDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompanyServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompanyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) + .addMethod(getCreateCompanyMethod()) + .addMethod(getGetCompanyMethod()) + .addMethod(getUpdateCompanyMethod()) + .addMethod(getDeleteCompanyMethod()) + .addMethod(getListCompaniesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java similarity index 50% rename from java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java rename to owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java index b2cc0c882cbf..70710d57be6a 100644 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java +++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * A service handles auto completion.
  * 
@@ -35,176 +18,150 @@ private CompletionGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.Completion"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse> - getCompleteQueryMethod; + private static volatile io.grpc.MethodDescriptor getCompleteQueryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", requestType = com.google.cloud.talent.v4.CompleteQueryRequest.class, responseType = com.google.cloud.talent.v4.CompleteQueryResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse> - getCompleteQueryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse> - getCompleteQueryMethod; + public static io.grpc.MethodDescriptor getCompleteQueryMethod() { + io.grpc.MethodDescriptor getCompleteQueryMethod; if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { synchronized (CompletionGrpc.class) { if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - CompletionGrpc.getCompleteQueryMethod = - getCompleteQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CompleteQueryResponse - .getDefaultInstance())) - .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) - .build(); + CompletionGrpc.getCompleteQueryMethod = getCompleteQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) + .build(); } } } return getCompleteQueryMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static CompletionStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + }; return CompletionStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static CompletionBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static CompletionBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + }; return CompletionBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CompletionFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CompletionFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + }; return CompletionFutureStub.newStub(factory, channel); } /** - * - * *
    * A service handles auto completion.
    * 
*/ - public abstract static class CompletionImplBase implements io.grpc.BindableService { + public static abstract class CompletionImplBase implements io.grpc.BindableService { /** - * - * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public void completeQuery( - com.google.cloud.talent.v4.CompleteQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCompleteQueryMethod(), responseObserver); + public void completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteQueryMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCompleteQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse>( - this, METHODID_COMPLETE_QUERY))) + getCompleteQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse>( + this, METHODID_COMPLETE_QUERY))) .build(); } } /** - * - * *
    * A service handles auto completion.
    * 
*/ public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { - private CompletionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CompletionStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CompletionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CompletionStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CompletionStub(channel, callOptions); } /** - * - * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public void completeQuery( - com.google.cloud.talent.v4.CompleteQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service handles auto completion.
    * 
*/ - public static final class CompletionBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CompletionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CompletionBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CompletionBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -215,49 +172,42 @@ protected CompletionBlockingStub build( } /** - * - * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public com.google.cloud.talent.v4.CompleteQueryResponse completeQuery( - com.google.cloud.talent.v4.CompleteQueryRequest request) { + public com.google.cloud.talent.v4.CompleteQueryResponse completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCompleteQueryMethod(), getCallOptions(), request); } } /** - * - * *
    * A service handles auto completion.
    * 
*/ - public static final class CompletionFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CompletionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CompletionFutureStub extends io.grpc.stub.AbstractFutureStub { + private CompletionFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CompletionFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CompletionFutureStub(channel, callOptions); } /** - * - * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.CompleteQueryResponse> - completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request) { + public com.google.common.util.concurrent.ListenableFuture completeQuery( + com.google.cloud.talent.v4.CompleteQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); } @@ -265,11 +215,11 @@ protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOption private static final int METHODID_COMPLETE_QUERY = 0; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final CompletionImplBase serviceImpl; private final int methodId; @@ -283,10 +233,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_COMPLETE_QUERY: - serviceImpl.completeQuery( - (com.google.cloud.talent.v4.CompleteQueryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.completeQuery((com.google.cloud.talent.v4.CompleteQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -304,9 +252,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { CompletionBaseDescriptorSupplier() {} @java.lang.Override @@ -348,12 +295,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CompletionGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) - .addMethod(getCompleteQueryMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) + .addMethod(getCompleteQueryMethod()) + .build(); } } } diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java similarity index 54% rename from java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java rename to owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java index fc86661433ee..fa141108eb74 100644 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java +++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * A service handles client event report.
  * 
@@ -35,105 +18,89 @@ private EventServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.EventService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent> - getCreateClientEventMethod; + private static volatile io.grpc.MethodDescriptor getCreateClientEventMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateClientEvent", requestType = com.google.cloud.talent.v4.CreateClientEventRequest.class, responseType = com.google.cloud.talent.v4.ClientEvent.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent> - getCreateClientEventMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent> - getCreateClientEventMethod; + public static io.grpc.MethodDescriptor getCreateClientEventMethod() { + io.grpc.MethodDescriptor getCreateClientEventMethod; if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { synchronized (EventServiceGrpc.class) { if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { - EventServiceGrpc.getCreateClientEventMethod = - getCreateClientEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateClientEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ClientEvent.getDefaultInstance())) - .setSchemaDescriptor( - new EventServiceMethodDescriptorSupplier("CreateClientEvent")) - .build(); + EventServiceGrpc.getCreateClientEventMethod = getCreateClientEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ClientEvent.getDefaultInstance())) + .setSchemaDescriptor(new EventServiceMethodDescriptorSupplier("CreateClientEvent")) + .build(); } } } return getCreateClientEventMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static EventServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceStub(channel, callOptions); + } + }; return EventServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static EventServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static EventServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceBlockingStub(channel, callOptions); + } + }; return EventServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static EventServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static EventServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceFutureStub(channel, callOptions); + } + }; return EventServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * A service handles client event report.
    * 
*/ - public abstract static class EventServiceImplBase implements io.grpc.BindableService { + public static abstract class EventServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -144,47 +111,42 @@ public abstract static class EventServiceImplBase implements io.grpc.BindableSer
      * about self service tools.
      * 
*/ - public void createClientEvent( - com.google.cloud.talent.v4.CreateClientEventRequest request, + public void createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClientEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClientEventMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateClientEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent>(this, METHODID_CREATE_CLIENT_EVENT))) + getCreateClientEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent>( + this, METHODID_CREATE_CLIENT_EVENT))) .build(); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private EventServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceStub extends io.grpc.stub.AbstractAsyncStub { + private EventServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected EventServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new EventServiceStub(channel, callOptions); } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -195,26 +157,21 @@ protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * about self service tools.
      * 
*/ - public void createClientEvent( - com.google.cloud.talent.v4.CreateClientEventRequest request, + public void createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private EventServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private EventServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -225,8 +182,6 @@ protected EventServiceBlockingStub build( } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -237,23 +192,20 @@ protected EventServiceBlockingStub build(
      * about self service tools.
      * 
*/ - public com.google.cloud.talent.v4.ClientEvent createClientEvent( - com.google.cloud.talent.v4.CreateClientEventRequest request) { + public com.google.cloud.talent.v4.ClientEvent createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateClientEventMethod(), getCallOptions(), request); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private EventServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private EventServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -264,8 +216,6 @@ protected EventServiceFutureStub build( } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -276,9 +226,8 @@ protected EventServiceFutureStub build(
      * about self service tools.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.ClientEvent> - createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request) { + public com.google.common.util.concurrent.ListenableFuture createClientEvent( + com.google.cloud.talent.v4.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request); } @@ -286,11 +235,11 @@ protected EventServiceFutureStub build( private static final int METHODID_CREATE_CLIENT_EVENT = 0; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final EventServiceImplBase serviceImpl; private final int methodId; @@ -304,10 +253,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CLIENT_EVENT: - serviceImpl.createClientEvent( - (com.google.cloud.talent.v4.CreateClientEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createClientEvent((com.google.cloud.talent.v4.CreateClientEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -325,9 +272,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class EventServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class EventServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { EventServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -369,12 +315,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (EventServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) - .addMethod(getCreateClientEventMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) + .addMethod(getCreateClientEventMethod()) + .build(); } } } diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java similarity index 50% rename from java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java rename to owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java index 8538ee796c10..ad495e9d8c87 100644 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java +++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * A service handles job management, including job CRUD, enumeration and search.
  * 
@@ -35,590 +18,455 @@ private JobServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.JobService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> - getCreateJobMethod; + private static volatile io.grpc.MethodDescriptor getCreateJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateJob", requestType = com.google.cloud.talent.v4.CreateJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> - getCreateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> - getCreateJobMethod; + public static io.grpc.MethodDescriptor getCreateJobMethod() { + io.grpc.MethodDescriptor getCreateJobMethod; if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - JobServiceGrpc.getCreateJobMethod = - getCreateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) - .build(); + JobServiceGrpc.getCreateJobMethod = getCreateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) + .build(); } } } return getCreateJobMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod; + private static volatile io.grpc.MethodDescriptor getBatchCreateJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", requestType = com.google.cloud.talent.v4.BatchCreateJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod; + public static io.grpc.MethodDescriptor getBatchCreateJobsMethod() { + io.grpc.MethodDescriptor getBatchCreateJobsMethod; if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - JobServiceGrpc.getBatchCreateJobsMethod = - getBatchCreateJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchCreateJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) - .build(); + JobServiceGrpc.getBatchCreateJobsMethod = getBatchCreateJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) + .build(); } } } return getBatchCreateJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> - getGetJobMethod; + private static volatile io.grpc.MethodDescriptor getGetJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetJob", requestType = com.google.cloud.talent.v4.GetJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> - getGetJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> - getGetJobMethod; + public static io.grpc.MethodDescriptor getGetJobMethod() { + io.grpc.MethodDescriptor getGetJobMethod; if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - JobServiceGrpc.getGetJobMethod = - getGetJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) - .build(); + JobServiceGrpc.getGetJobMethod = getGetJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) + .build(); } } } return getGetJobMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> - getUpdateJobMethod; + private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateJob", requestType = com.google.cloud.talent.v4.UpdateJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> - getUpdateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> - getUpdateJobMethod; + public static io.grpc.MethodDescriptor getUpdateJobMethod() { + io.grpc.MethodDescriptor getUpdateJobMethod; if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - JobServiceGrpc.getUpdateJobMethod = - getUpdateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) - .build(); + JobServiceGrpc.getUpdateJobMethod = getUpdateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) + .build(); } } } return getUpdateJobMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod; + private static volatile io.grpc.MethodDescriptor getBatchUpdateJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", requestType = com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod; + public static io.grpc.MethodDescriptor getBatchUpdateJobsMethod() { + io.grpc.MethodDescriptor getBatchUpdateJobsMethod; if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - JobServiceGrpc.getBatchUpdateJobsMethod = - getBatchUpdateJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchUpdateJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) - .build(); + JobServiceGrpc.getBatchUpdateJobsMethod = getBatchUpdateJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) + .build(); } } } return getBatchUpdateJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod; + private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteJob", requestType = com.google.cloud.talent.v4.DeleteJobRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod() { - io.grpc.MethodDescriptor - getDeleteJobMethod; + public static io.grpc.MethodDescriptor getDeleteJobMethod() { + io.grpc.MethodDescriptor getDeleteJobMethod; if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - JobServiceGrpc.getDeleteJobMethod = - getDeleteJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) - .build(); + JobServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) + .build(); } } } return getDeleteJobMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> - getBatchDeleteJobsMethod; + private static volatile io.grpc.MethodDescriptor getBatchDeleteJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", requestType = com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> - getBatchDeleteJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> - getBatchDeleteJobsMethod; + public static io.grpc.MethodDescriptor getBatchDeleteJobsMethod() { + io.grpc.MethodDescriptor getBatchDeleteJobsMethod; if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - JobServiceGrpc.getBatchDeleteJobsMethod = - getBatchDeleteJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchDeleteJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) - .build(); + JobServiceGrpc.getBatchDeleteJobsMethod = getBatchDeleteJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) + .build(); } } } return getBatchDeleteJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> - getListJobsMethod; + private static volatile io.grpc.MethodDescriptor getListJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListJobs", requestType = com.google.cloud.talent.v4.ListJobsRequest.class, responseType = com.google.cloud.talent.v4.ListJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> - getListJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> - getListJobsMethod; + public static io.grpc.MethodDescriptor getListJobsMethod() { + io.grpc.MethodDescriptor getListJobsMethod; if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - JobServiceGrpc.getListJobsMethod = - getListJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) - .build(); + JobServiceGrpc.getListJobsMethod = getListJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) + .build(); } } } return getListJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsMethod; + private static volatile io.grpc.MethodDescriptor getSearchJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchJobs", requestType = com.google.cloud.talent.v4.SearchJobsRequest.class, responseType = com.google.cloud.talent.v4.SearchJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsMethod; + public static io.grpc.MethodDescriptor getSearchJobsMethod() { + io.grpc.MethodDescriptor getSearchJobsMethod; if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - JobServiceGrpc.getSearchJobsMethod = - getSearchJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) - .build(); + JobServiceGrpc.getSearchJobsMethod = getSearchJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) + .build(); } } } return getSearchJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsForAlertMethod; + private static volatile io.grpc.MethodDescriptor getSearchJobsForAlertMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", requestType = com.google.cloud.talent.v4.SearchJobsRequest.class, responseType = com.google.cloud.talent.v4.SearchJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsForAlertMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsForAlertMethod; + public static io.grpc.MethodDescriptor getSearchJobsForAlertMethod() { + io.grpc.MethodDescriptor getSearchJobsForAlertMethod; if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - JobServiceGrpc.getSearchJobsForAlertMethod = - getSearchJobsForAlertMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) - .build(); + JobServiceGrpc.getSearchJobsForAlertMethod = getSearchJobsForAlertMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) + .build(); } } } return getSearchJobsForAlertMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static JobServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + }; return JobServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static JobServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static JobServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + }; return JobServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static JobServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static JobServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + }; return JobServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public abstract static class JobServiceImplBase implements io.grpc.BindableService { + public static abstract class JobServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void createJob( - com.google.cloud.talent.v4.CreateJobRequest request, + public void createJob(com.google.cloud.talent.v4.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); } /** - * - * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public void batchCreateJobs( - com.google.cloud.talent.v4.BatchCreateJobsRequest request, + public void batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateJobsMethod(), responseObserver); } /** - * - * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public void getJob( - com.google.cloud.talent.v4.GetJobRequest request, + public void getJob(com.google.cloud.talent.v4.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** - * - * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public void updateJob( - com.google.cloud.talent.v4.UpdateJobRequest request, + public void updateJob(com.google.cloud.talent.v4.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** - * - * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public void batchUpdateJobs( - com.google.cloud.talent.v4.BatchUpdateJobsRequest request, + public void batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchUpdateJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateJobsMethod(), responseObserver); } /** - * - * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void deleteJob( - com.google.cloud.talent.v4.DeleteJobRequest request, + public void deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } /** - * - * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public void batchDeleteJobs( - com.google.cloud.talent.v4.BatchDeleteJobsRequest request, + public void batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchDeleteJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteJobsMethod(), responseObserver); } /** - * - * *
      * Lists jobs by filter.
      * 
*/ - public void listJobs( - com.google.cloud.talent.v4.ListJobsRequest request, + public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -626,16 +474,12 @@ public void listJobs(
      * permission to search against.
      * 
*/ - public void searchJobs( - com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -647,227 +491,200 @@ public void searchJobs(
      * permission to search against.
      * 
*/ - public void searchJobsForAlert( - com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchJobsForAlertMethod(), responseObserver); + public void searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsForAlertMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job>( - this, METHODID_CREATE_JOB))) + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateJobRequest, + com.google.cloud.talent.v4.Job>( + this, METHODID_CREATE_JOB))) .addMethod( - getBatchCreateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchCreateJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_JOBS))) + getBatchCreateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchCreateJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_CREATE_JOBS))) .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job>( - this, METHODID_GET_JOB))) + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetJobRequest, + com.google.cloud.talent.v4.Job>( + this, METHODID_GET_JOB))) .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job>( - this, METHODID_UPDATE_JOB))) + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateJobRequest, + com.google.cloud.talent.v4.Job>( + this, METHODID_UPDATE_JOB))) .addMethod( - getBatchUpdateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_JOBS))) + getBatchUpdateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_UPDATE_JOBS))) .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) .addMethod( - getBatchDeleteJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_DELETE_JOBS))) + getBatchDeleteJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_DELETE_JOBS))) .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListJobsRequest, - com.google.cloud.talent.v4.ListJobsResponse>(this, METHODID_LIST_JOBS))) + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListJobsRequest, + com.google.cloud.talent.v4.ListJobsResponse>( + this, METHODID_LIST_JOBS))) .addMethod( - getSearchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse>(this, METHODID_SEARCH_JOBS))) + getSearchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS))) .addMethod( - getSearchJobsForAlertMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS_FOR_ALERT))) + getSearchJobsForAlertMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS_FOR_ALERT))) .build(); } } /** - * - * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { - private JobServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private JobServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected JobServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new JobServiceStub(channel, callOptions); } /** - * - * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void createJob( - com.google.cloud.talent.v4.CreateJobRequest request, + public void createJob(com.google.cloud.talent.v4.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public void batchCreateJobs( - com.google.cloud.talent.v4.BatchCreateJobsRequest request, + public void batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public void getJob( - com.google.cloud.talent.v4.GetJobRequest request, + public void getJob(com.google.cloud.talent.v4.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public void updateJob( - com.google.cloud.talent.v4.UpdateJobRequest request, + public void updateJob(com.google.cloud.talent.v4.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public void batchUpdateJobs( - com.google.cloud.talent.v4.BatchUpdateJobsRequest request, + public void batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void deleteJob( - com.google.cloud.talent.v4.DeleteJobRequest request, + public void deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public void batchDeleteJobs( - com.google.cloud.talent.v4.BatchDeleteJobsRequest request, + public void batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists jobs by filter.
      * 
*/ - public void listJobs( - com.google.cloud.talent.v4.ListJobsRequest request, + public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -875,17 +692,13 @@ public void listJobs(
      * permission to search against.
      * 
*/ - public void searchJobs( - com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -897,27 +710,21 @@ public void searchJobs(
      * permission to search against.
      * 
*/ - public void searchJobsForAlert( - com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static final class JobServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private JobServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private JobServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -928,36 +735,28 @@ protected JobServiceBlockingStub build( } /** - * - * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.cloud.talent.v4.Job createJob( - com.google.cloud.talent.v4.CreateJobRequest request) { + public com.google.cloud.talent.v4.Job createJob(com.google.cloud.talent.v4.CreateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateJobMethod(), getCallOptions(), request); } /** - * - * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchCreateJobs( - com.google.cloud.talent.v4.BatchCreateJobsRequest request) { + public com.google.longrunning.Operation batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
@@ -969,77 +768,60 @@ public com.google.cloud.talent.v4.Job getJob(com.google.cloud.talent.v4.GetJobRe
     }
 
     /**
-     *
-     *
      * 
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public com.google.cloud.talent.v4.Job updateJob( - com.google.cloud.talent.v4.UpdateJobRequest request) { + public com.google.cloud.talent.v4.Job updateJob(com.google.cloud.talent.v4.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** - * - * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchUpdateJobs( - com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { + public com.google.longrunning.Operation batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.protobuf.Empty deleteJob( - com.google.cloud.talent.v4.DeleteJobRequest request) { + public com.google.protobuf.Empty deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } /** - * - * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchDeleteJobs( - com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { + public com.google.longrunning.Operation batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists jobs by filter.
      * 
*/ - public com.google.cloud.talent.v4.ListJobsResponse listJobs( - com.google.cloud.talent.v4.ListJobsRequest request) { + public com.google.cloud.talent.v4.ListJobsResponse listJobs(com.google.cloud.talent.v4.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -1047,15 +829,12 @@ public com.google.cloud.talent.v4.ListJobsResponse listJobs(
      * permission to search against.
      * 
*/ - public com.google.cloud.talent.v4.SearchJobsResponse searchJobs( - com.google.cloud.talent.v4.SearchJobsRequest request) { + public com.google.cloud.talent.v4.SearchJobsResponse searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -1067,104 +846,90 @@ public com.google.cloud.talent.v4.SearchJobsResponse searchJobs(
      * permission to search against.
      * 
*/ - public com.google.cloud.talent.v4.SearchJobsResponse searchJobsForAlert( - com.google.cloud.talent.v4.SearchJobsRequest request) { + public com.google.cloud.talent.v4.SearchJobsResponse searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); } } /** - * - * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static final class JobServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private JobServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class JobServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private JobServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected JobServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new JobServiceFutureStub(channel, callOptions); } /** - * - * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createJob(com.google.cloud.talent.v4.CreateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture createJob( + com.google.cloud.talent.v4.CreateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); } /** - * - * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchCreateJobs( + com.google.cloud.talent.v4.BatchCreateJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getJob(com.google.cloud.talent.v4.GetJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.talent.v4.GetJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** - * - * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateJob(com.google.cloud.talent.v4.UpdateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateJob( + com.google.cloud.talent.v4.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); } /** - * - * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchUpdateJobs( + com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
@@ -1178,35 +943,28 @@ public com.google.common.util.concurrent.ListenableFuture
      * Begins executing a batch delete jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchDeleteJobs( + com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists jobs by filter.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.ListJobsResponse> - listJobs(com.google.cloud.talent.v4.ListJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.talent.v4.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -1214,16 +972,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.cloud.talent.v4.SearchJobsResponse>
-        searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture searchJobs(
+        com.google.cloud.talent.v4.SearchJobsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -1235,9 +990,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.cloud.talent.v4.SearchJobsResponse>
-        searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture searchJobsForAlert(
+        com.google.cloud.talent.v4.SearchJobsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request);
     }
@@ -1254,11 +1008,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final JobServiceImplBase serviceImpl;
     private final int methodId;
 
@@ -1272,57 +1026,44 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_JOB:
-          serviceImpl.createJob(
-              (com.google.cloud.talent.v4.CreateJobRequest) request,
+          serviceImpl.createJob((com.google.cloud.talent.v4.CreateJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_CREATE_JOBS:
-          serviceImpl.batchCreateJobs(
-              (com.google.cloud.talent.v4.BatchCreateJobsRequest) request,
+          serviceImpl.batchCreateJobs((com.google.cloud.talent.v4.BatchCreateJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_JOB:
-          serviceImpl.getJob(
-              (com.google.cloud.talent.v4.GetJobRequest) request,
+          serviceImpl.getJob((com.google.cloud.talent.v4.GetJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_JOB:
-          serviceImpl.updateJob(
-              (com.google.cloud.talent.v4.UpdateJobRequest) request,
+          serviceImpl.updateJob((com.google.cloud.talent.v4.UpdateJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_UPDATE_JOBS:
-          serviceImpl.batchUpdateJobs(
-              (com.google.cloud.talent.v4.BatchUpdateJobsRequest) request,
+          serviceImpl.batchUpdateJobs((com.google.cloud.talent.v4.BatchUpdateJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_JOB:
-          serviceImpl.deleteJob(
-              (com.google.cloud.talent.v4.DeleteJobRequest) request,
+          serviceImpl.deleteJob((com.google.cloud.talent.v4.DeleteJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_DELETE_JOBS:
-          serviceImpl.batchDeleteJobs(
-              (com.google.cloud.talent.v4.BatchDeleteJobsRequest) request,
+          serviceImpl.batchDeleteJobs((com.google.cloud.talent.v4.BatchDeleteJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_JOBS:
-          serviceImpl.listJobs(
-              (com.google.cloud.talent.v4.ListJobsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listJobs((com.google.cloud.talent.v4.ListJobsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_SEARCH_JOBS:
-          serviceImpl.searchJobs(
-              (com.google.cloud.talent.v4.SearchJobsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.searchJobs((com.google.cloud.talent.v4.SearchJobsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_SEARCH_JOBS_FOR_ALERT:
-          serviceImpl.searchJobsForAlert(
-              (com.google.cloud.talent.v4.SearchJobsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.searchJobsForAlert((com.google.cloud.talent.v4.SearchJobsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -1340,9 +1081,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class JobServiceBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class JobServiceBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     JobServiceBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1384,21 +1124,19 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (JobServiceGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new JobServiceFileDescriptorSupplier())
-                      .addMethod(getCreateJobMethod())
-                      .addMethod(getBatchCreateJobsMethod())
-                      .addMethod(getGetJobMethod())
-                      .addMethod(getUpdateJobMethod())
-                      .addMethod(getBatchUpdateJobsMethod())
-                      .addMethod(getDeleteJobMethod())
-                      .addMethod(getBatchDeleteJobsMethod())
-                      .addMethod(getListJobsMethod())
-                      .addMethod(getSearchJobsMethod())
-                      .addMethod(getSearchJobsForAlertMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new JobServiceFileDescriptorSupplier())
+              .addMethod(getCreateJobMethod())
+              .addMethod(getBatchCreateJobsMethod())
+              .addMethod(getGetJobMethod())
+              .addMethod(getUpdateJobMethod())
+              .addMethod(getBatchUpdateJobsMethod())
+              .addMethod(getDeleteJobMethod())
+              .addMethod(getBatchDeleteJobsMethod())
+              .addMethod(getListJobsMethod())
+              .addMethod(getSearchJobsMethod())
+              .addMethod(getSearchJobsForAlertMethod())
+              .build();
         }
       }
     }
diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
new file mode 100644
index 000000000000..1cd8a445db47
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
@@ -0,0 +1,647 @@
+package com.google.cloud.talent.v4;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ * 
+ * A service that handles tenant management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4/tenant_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TenantServiceGrpc { + + private TenantServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4.TenantService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTenant", + requestType = com.google.cloud.talent.v4.CreateTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTenantMethod() { + io.grpc.MethodDescriptor getCreateTenantMethod; + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + TenantServiceGrpc.getCreateTenantMethod = getCreateTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("CreateTenant")) + .build(); + } + } + } + return getCreateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTenant", + requestType = com.google.cloud.talent.v4.GetTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTenantMethod() { + io.grpc.MethodDescriptor getGetTenantMethod; + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + TenantServiceGrpc.getGetTenantMethod = getGetTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) + .build(); + } + } + } + return getGetTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", + requestType = com.google.cloud.talent.v4.UpdateTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTenantMethod() { + io.grpc.MethodDescriptor getUpdateTenantMethod; + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + TenantServiceGrpc.getUpdateTenantMethod = getUpdateTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("UpdateTenant")) + .build(); + } + } + } + return getUpdateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", + requestType = com.google.cloud.talent.v4.DeleteTenantRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTenantMethod() { + io.grpc.MethodDescriptor getDeleteTenantMethod; + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + TenantServiceGrpc.getDeleteTenantMethod = getDeleteTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("DeleteTenant")) + .build(); + } + } + } + return getDeleteTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTenantsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTenants", + requestType = com.google.cloud.talent.v4.ListTenantsRequest.class, + responseType = com.google.cloud.talent.v4.ListTenantsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTenantsMethod() { + io.grpc.MethodDescriptor getListTenantsMethod; + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + TenantServiceGrpc.getListTenantsMethod = getListTenantsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListTenantsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListTenantsResponse.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) + .build(); + } + } + } + return getListTenantsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static TenantServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + }; + return TenantServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TenantServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + }; + return TenantServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static TenantServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + }; + return TenantServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static abstract class TenantServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant(com.google.cloud.talent.v4.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTenantMethod(), responseObserver); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant(com.google.cloud.talent.v4.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTenantMethod(), responseObserver); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTenantMethod(), responseObserver); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants(com.google.cloud.talent.v4.ListTenantsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTenantsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateTenantRequest, + com.google.cloud.talent.v4.Tenant>( + this, METHODID_CREATE_TENANT))) + .addMethod( + getGetTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetTenantRequest, + com.google.cloud.talent.v4.Tenant>( + this, METHODID_GET_TENANT))) + .addMethod( + getUpdateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateTenantRequest, + com.google.cloud.talent.v4.Tenant>( + this, METHODID_UPDATE_TENANT))) + .addMethod( + getDeleteTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteTenantRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TENANT))) + .addMethod( + getListTenantsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse>( + this, METHODID_LIST_TENANTS))) + .build(); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceStub extends io.grpc.stub.AbstractAsyncStub { + private TenantServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant(com.google.cloud.talent.v4.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant(com.google.cloud.talent.v4.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants(com.google.cloud.talent.v4.ListTenantsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private TenantServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant createTenant(com.google.cloud.talent.v4.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant getTenant(com.google.cloud.talent.v4.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.protobuf.Empty deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4.ListTenantsResponse listTenants(com.google.cloud.talent.v4.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTenantsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private TenantServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTenant( + com.google.cloud.talent.v4.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTenant( + com.google.cloud.talent.v4.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTenant( + com.google.cloud.talent.v4.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTenant( + com.google.cloud.talent.v4.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTenants( + com.google.cloud.talent.v4.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TENANT = 0; + private static final int METHODID_GET_TENANT = 1; + private static final int METHODID_UPDATE_TENANT = 2; + private static final int METHODID_DELETE_TENANT = 3; + private static final int METHODID_LIST_TENANTS = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TenantServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TENANT: + serviceImpl.createTenant((com.google.cloud.talent.v4.CreateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TENANT: + serviceImpl.getTenant((com.google.cloud.talent.v4.GetTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TENANT: + serviceImpl.updateTenant((com.google.cloud.talent.v4.UpdateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TENANT: + serviceImpl.deleteTenant((com.google.cloud.talent.v4.DeleteTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TENANTS: + serviceImpl.listTenants((com.google.cloud.talent.v4.ListTenantsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TenantServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TenantService"); + } + } + + private static final class TenantServiceFileDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier { + TenantServiceFileDescriptorSupplier() {} + } + + private static final class TenantServiceMethodDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TenantServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TenantServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) + .addMethod(getCreateTenantMethod()) + .addMethod(getGetTenantMethod()) + .addMethod(getUpdateTenantMethod()) + .addMethod(getDeleteTenantMethod()) + .addMethod(getListTenantsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java index 1b9463d35ab9..55697f9d7d17 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Request to create a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsRequest} */ -public final class BatchCreateJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchCreateJobsRequest) BatchCreateJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateJobsRequest.newBuilder() to construct. private BatchCreateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -44,45 +26,39 @@ private BatchCreateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchCreateJobsRequest.class, - com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchCreateJobsRequest.class, com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,83 +102,69 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +197,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, jobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,16 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.BatchCreateJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.BatchCreateJobsRequest other = - (com.google.cloud.talent.v4.BatchCreateJobsRequest) obj; + com.google.cloud.talent.v4.BatchCreateJobsRequest other = (com.google.cloud.talent.v4.BatchCreateJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getJobsList().equals(other.getJobsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -279,135 +242,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.BatchCreateJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchCreateJobsRequest) com.google.cloud.talent.v4.BatchCreateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchCreateJobsRequest.class, - com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchCreateJobsRequest.class, com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchCreateJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override @@ -445,8 +402,7 @@ public com.google.cloud.talent.v4.BatchCreateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchCreateJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchCreateJobsRequest result = - new com.google.cloud.talent.v4.BatchCreateJobsRequest(this); + com.google.cloud.talent.v4.BatchCreateJobsRequest result = new com.google.cloud.talent.v4.BatchCreateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -466,39 +422,38 @@ public com.google.cloud.talent.v4.BatchCreateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchCreateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -506,8 +461,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -530,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsRequest other jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -565,31 +518,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4.Job m = - input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4.Job m = + input.readMessage( + com.google.cloud.talent.v4.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,29 +551,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -630,25 +577,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -656,105 +600,84 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -764,16 +687,12 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -783,16 +702,12 @@ public int getJobsCount() { } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -802,18 +717,15 @@ public com.google.cloud.talent.v4.Job getJobs(int index) { } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { + public Builder setJobs( + int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -827,18 +739,15 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -849,16 +758,12 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builder return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addJobs(com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { @@ -874,18 +779,15 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { + public Builder addJobs( + int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -899,18 +801,15 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -921,18 +820,15 @@ public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -943,21 +839,19 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builder return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addAllJobs(java.lang.Iterable values) { + public Builder addAllJobs( + java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -965,16 +859,12 @@ public Builder addAllJobs(java.lang.Iterable * Required. The jobs to be created. * A maximum of 200 jobs can be created in a batch. *
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -987,16 +877,12 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1009,53 +895,42 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.talent.v4.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1063,71 +938,59 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance()); + public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1137,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchCreateJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchCreateJobsRequest) private static final com.google.cloud.talent.v4.BatchCreateJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchCreateJobsRequest(); } @@ -1151,27 +1014,27 @@ public static com.google.cloud.talent.v4.BatchCreateJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.BatchCreateJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java similarity index 57% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java index cf3116ba773a..1b9202d0f8e0 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java @@ -1,119 +1,82 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface BatchCreateJobsRequestOrBuilder - extends +public interface BatchCreateJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchCreateJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.Job getJobs(int index); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getJobsCount(); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java index f781f88bfa7d..30452545d8ff 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsResponse}
  */
-public final class BatchCreateJobsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateJobsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchCreateJobsResponse)
     BatchCreateJobsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateJobsResponse.newBuilder() to construct.
   private BatchCreateJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchCreateJobsResponse.class,
-            com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchCreateJobsResponse.class, com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -85,8 +64,6 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -95,13 +72,11 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -114,8 +89,6 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -128,8 +101,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -138,12 +109,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,7 +126,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -169,7 +141,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,15 +152,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchCreateJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchCreateJobsResponse other =
-        (com.google.cloud.talent.v4.BatchCreateJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchCreateJobsResponse other = (com.google.cloud.talent.v4.BatchCreateJobsResponse) obj;
 
-    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList()
+        .equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -209,103 +182,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchCreateJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -313,32 +279,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchCreateJobsResponse)
       com.google.cloud.talent.v4.BatchCreateJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchCreateJobsResponse.class,
-              com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchCreateJobsResponse.class, com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchCreateJobsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +320,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -374,8 +341,7 @@ public com.google.cloud.talent.v4.BatchCreateJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchCreateJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchCreateJobsResponse result =
-          new com.google.cloud.talent.v4.BatchCreateJobsResponse(this);
+      com.google.cloud.talent.v4.BatchCreateJobsResponse result = new com.google.cloud.talent.v4.BatchCreateJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -394,39 +360,38 @@ public com.google.cloud.talent.v4.BatchCreateJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchCreateJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsResponse) other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchCreateJobsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4.BatchCreateJobsResponse.getDefaultInstance()) return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -454,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getJobResultsFieldBuilder()
-                    : null;
+            jobResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getJobResultsFieldBuilder() : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -489,26 +452,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.talent.v4.JobResult m =
-                    input.readMessage(
-                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
-                if (jobResultsBuilder_ == null) {
-                  ensureJobResultsIsMutable();
-                  jobResults_.add(m);
-                } else {
-                  jobResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.talent.v4.JobResult m =
+                  input.readMessage(
+                      com.google.cloud.talent.v4.JobResult.parser(),
+                      extensionRegistry);
+              if (jobResultsBuilder_ == null) {
+                ensureJobResultsIsMutable();
+                jobResults_.add(m);
+              } else {
+                jobResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -518,28 +480,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List jobResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
-        jobResultsBuilder_;
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -555,8 +510,6 @@ public java.util.List getJobResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -572,8 +525,6 @@ public int getJobResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -589,8 +540,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -598,7 +547,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -612,8 +562,6 @@ public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -633,8 +581,6 @@ public Builder setJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -656,8 +602,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -665,7 +609,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -679,8 +624,6 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -688,7 +631,8 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(
+        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -699,8 +643,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -720,8 +662,6 @@ public Builder addJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -733,7 +673,8 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -741,8 +682,6 @@ public Builder addAllJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -761,8 +700,6 @@ public Builder clearJobResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -781,8 +718,6 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -790,12 +725,11 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
+        int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -803,16 +737,14 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+        int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);
-      } else {
+        return jobResults_.get(index);  } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -820,8 +752,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List
-        getJobResultsOrBuilderList() {
+    public java.util.List 
+         getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -829,8 +761,6 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -839,12 +769,10 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -852,13 +780,12 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
-      return getJobResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
+        int index) {
+      return getJobResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -866,29 +793,27 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List getJobResultsBuilderList() {
+    public java.util.List 
+         getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.JobResult,
-                com.google.cloud.talent.v4.JobResult.Builder,
-                com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -898,12 +823,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchCreateJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchCreateJobsResponse)
   private static final com.google.cloud.talent.v4.BatchCreateJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchCreateJobsResponse();
   }
@@ -912,27 +837,27 @@ public static com.google.cloud.talent.v4.BatchCreateJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchCreateJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchCreateJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -947,4 +872,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchCreateJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
similarity index 69%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
index 1df0f93fb09d..1d098258868a 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchCreateJobsResponseOrBuilder
-    extends
+public interface BatchCreateJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchCreateJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -33,10 +15,9 @@ public interface BatchCreateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List getJobResultsList();
+  java.util.List 
+      getJobResultsList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -46,8 +27,6 @@ public interface BatchCreateJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -57,8 +36,6 @@ public interface BatchCreateJobsResponseOrBuilder
    */
   int getJobResultsCount();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -66,11 +43,9 @@ public interface BatchCreateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List
+  java.util.List 
       getJobResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -78,5 +53,6 @@ public interface BatchCreateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
index 6cd16c627fd1..7f0028702d1c 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Request to delete a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsRequest} */ -public final class BatchDeleteJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchDeleteJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchDeleteJobsRequest) BatchDeleteJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchDeleteJobsRequest.newBuilder() to construct. private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchDeleteJobsRequest() { parent_ = ""; names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,35 +26,32 @@ private BatchDeleteJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchDeleteJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, - com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,8 +104,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList names_; /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -140,15 +112,13 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_; } /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -157,15 +127,12 @@ public com.google.protobuf.ProtocolStringList getNamesList() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -174,7 +141,6 @@ public int getNamesCount() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The names at the given index. */ @@ -182,8 +148,6 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -192,16 +156,15 @@ public java.lang.String getNames(int index) {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -248,16 +212,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.BatchDeleteJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.BatchDeleteJobsRequest other = - (com.google.cloud.talent.v4.BatchDeleteJobsRequest) obj; + com.google.cloud.talent.v4.BatchDeleteJobsRequest other = (com.google.cloud.talent.v4.BatchDeleteJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getNamesList().equals(other.getNamesList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getNamesList() + .equals(other.getNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -281,135 +246,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.BatchDeleteJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchDeleteJobsRequest) com.google.cloud.talent.v4.BatchDeleteJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, - com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchDeleteJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override @@ -442,8 +401,7 @@ public com.google.cloud.talent.v4.BatchDeleteJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchDeleteJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchDeleteJobsRequest result = - new com.google.cloud.talent.v4.BatchDeleteJobsRequest(this); + com.google.cloud.talent.v4.BatchDeleteJobsRequest result = new com.google.cloud.talent.v4.BatchDeleteJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -459,39 +417,38 @@ public com.google.cloud.talent.v4.BatchDeleteJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchDeleteJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -499,8 +456,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -541,26 +497,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNamesIsMutable(); - names_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNamesIsMutable(); + names_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,13 +523,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -584,16 +534,14 @@ public Builder mergeFrom(
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -602,8 +550,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -611,17 +557,16 @@ public java.lang.String getParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -629,8 +574,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -638,25 +581,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -664,21 +603,16 @@ public Builder setParent(java.lang.String value) {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -686,36 +620,30 @@ public Builder clearParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList names_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -724,15 +652,13 @@ private void ensureNamesIsMutable() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_.getUnmodifiableView(); } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -741,15 +667,12 @@ public com.google.protobuf.ProtocolStringList getNamesList() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -758,7 +681,6 @@ public int getNamesCount() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The names at the given index. */ @@ -766,8 +688,6 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -776,16 +696,14 @@ public java.lang.String getNames(int index) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -794,23 +712,21 @@ public com.google.protobuf.ByteString getNamesBytes(int index) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames(int index, java.lang.String value) { + public Builder setNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -819,22 +735,20 @@ public Builder setNames(int index, java.lang.String value) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames(java.lang.String value) { + public Builder addNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -843,19 +757,18 @@ public Builder addNames(java.lang.String value) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames(java.lang.Iterable values) { + public Builder addAllNames( + java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, names_); onChanged(); return this; } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -864,7 +777,6 @@ public Builder addAllNames(java.lang.Iterable values) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearNames() { @@ -874,8 +786,6 @@ public Builder clearNames() { return this; } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -884,23 +794,23 @@ public Builder clearNames() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes(com.google.protobuf.ByteString value) { + public Builder addNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -910,12 +820,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchDeleteJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchDeleteJobsRequest) private static final com.google.cloud.talent.v4.BatchDeleteJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchDeleteJobsRequest(); } @@ -924,27 +834,27 @@ public static com.google.cloud.talent.v4.BatchDeleteJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -959,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.BatchDeleteJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java index 6fb76ebcab87..725800a16179 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface BatchDeleteJobsRequestOrBuilder - extends +public interface BatchDeleteJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchDeleteJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface BatchDeleteJobsRequestOrBuilder
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,17 +27,13 @@ public interface BatchDeleteJobsRequestOrBuilder
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -69,13 +42,11 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return A list containing the names. */ - java.util.List getNamesList(); + java.util.List + getNamesList(); /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -84,13 +55,10 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return The count of names. */ int getNamesCount(); /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -99,14 +67,11 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -115,9 +80,9 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString getNamesBytes(int index); + com.google.protobuf.ByteString + getNamesBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java index 4e994cabf9de..cf5e4662733f 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsResponse}
  */
-public final class BatchDeleteJobsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchDeleteJobsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchDeleteJobsResponse)
     BatchDeleteJobsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchDeleteJobsResponse.newBuilder() to construct.
   private BatchDeleteJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchDeleteJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchDeleteJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchDeleteJobsResponse.class,
-            com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchDeleteJobsResponse.class, com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -85,8 +64,6 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -95,13 +72,11 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -114,8 +89,6 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -128,8 +101,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -138,12 +109,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,7 +126,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -169,7 +141,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,15 +152,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchDeleteJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchDeleteJobsResponse other =
-        (com.google.cloud.talent.v4.BatchDeleteJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchDeleteJobsResponse other = (com.google.cloud.talent.v4.BatchDeleteJobsResponse) obj;
 
-    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList()
+        .equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -209,103 +182,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchDeleteJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -313,32 +279,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchDeleteJobsResponse)
       com.google.cloud.talent.v4.BatchDeleteJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchDeleteJobsResponse.class,
-              com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchDeleteJobsResponse.class, com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchDeleteJobsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +320,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -374,8 +341,7 @@ public com.google.cloud.talent.v4.BatchDeleteJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchDeleteJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchDeleteJobsResponse result =
-          new com.google.cloud.talent.v4.BatchDeleteJobsResponse(this);
+      com.google.cloud.talent.v4.BatchDeleteJobsResponse result = new com.google.cloud.talent.v4.BatchDeleteJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -394,39 +360,38 @@ public com.google.cloud.talent.v4.BatchDeleteJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchDeleteJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsResponse) other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchDeleteJobsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4.BatchDeleteJobsResponse.getDefaultInstance()) return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -454,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getJobResultsFieldBuilder()
-                    : null;
+            jobResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getJobResultsFieldBuilder() : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -489,26 +452,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.talent.v4.JobResult m =
-                    input.readMessage(
-                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
-                if (jobResultsBuilder_ == null) {
-                  ensureJobResultsIsMutable();
-                  jobResults_.add(m);
-                } else {
-                  jobResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.talent.v4.JobResult m =
+                  input.readMessage(
+                      com.google.cloud.talent.v4.JobResult.parser(),
+                      extensionRegistry);
+              if (jobResultsBuilder_ == null) {
+                ensureJobResultsIsMutable();
+                jobResults_.add(m);
+              } else {
+                jobResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -518,28 +480,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List jobResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
-        jobResultsBuilder_;
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -555,8 +510,6 @@ public java.util.List getJobResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -572,8 +525,6 @@ public int getJobResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -589,8 +540,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -598,7 +547,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -612,8 +562,6 @@ public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -633,8 +581,6 @@ public Builder setJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -656,8 +602,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -665,7 +609,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -679,8 +624,6 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -688,7 +631,8 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(
+        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -699,8 +643,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -720,8 +662,6 @@ public Builder addJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -733,7 +673,8 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -741,8 +682,6 @@ public Builder addAllJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -761,8 +700,6 @@ public Builder clearJobResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -781,8 +718,6 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -790,12 +725,11 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
+        int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -803,16 +737,14 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+        int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);
-      } else {
+        return jobResults_.get(index);  } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -820,8 +752,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List
-        getJobResultsOrBuilderList() {
+    public java.util.List 
+         getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -829,8 +761,6 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -839,12 +769,10 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -852,13 +780,12 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
-      return getJobResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
+        int index) {
+      return getJobResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -866,29 +793,27 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List getJobResultsBuilderList() {
+    public java.util.List 
+         getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.JobResult,
-                com.google.cloud.talent.v4.JobResult.Builder,
-                com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -898,12 +823,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchDeleteJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchDeleteJobsResponse)
   private static final com.google.cloud.talent.v4.BatchDeleteJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchDeleteJobsResponse();
   }
@@ -912,27 +837,27 @@ public static com.google.cloud.talent.v4.BatchDeleteJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchDeleteJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchDeleteJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -947,4 +872,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchDeleteJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
similarity index 69%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
index 3261e9ce06c8..5e488dd84e88 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchDeleteJobsResponseOrBuilder
-    extends
+public interface BatchDeleteJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchDeleteJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -33,10 +15,9 @@ public interface BatchDeleteJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List getJobResultsList();
+  java.util.List 
+      getJobResultsList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -46,8 +27,6 @@ public interface BatchDeleteJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -57,8 +36,6 @@ public interface BatchDeleteJobsResponseOrBuilder
    */
   int getJobResultsCount();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -66,11 +43,9 @@ public interface BatchDeleteJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List
+  java.util.List 
       getJobResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -78,5 +53,6 @@ public interface BatchDeleteJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
similarity index 74%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
index 6f5751d1c97a..90ab6d3b11a9 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Metadata used for long running operations returned by CTS batch APIs.
  * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchOperationMetadata}
  */
-public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchOperationMetadata)
     BatchOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchOperationMetadata.newBuilder() to construct.
   private BatchOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchOperationMetadata() {
     state_ = 0;
     stateDescription_ = "";
@@ -45,35 +27,35 @@ private BatchOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchOperationMetadata.class,
-            com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
+            com.google.cloud.talent.v4.BatchOperationMetadata.class, com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
   }
 
-  /** Protobuf enum {@code google.cloud.talent.v4.BatchOperationMetadata.State} */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  /**
+   * Protobuf enum {@code google.cloud.talent.v4.BatchOperationMetadata.State}
+   */
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -82,8 +64,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The batch operation is being prepared for processing.
      * 
@@ -92,8 +72,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ INITIALIZING(1), /** - * - * *
      * The batch operation is actively being processed.
      * 
@@ -102,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROCESSING(2), /** - * - * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -113,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUCCEEDED(3),
     /**
-     *
-     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -123,8 +97,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -134,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CANCELLING(5),
     /**
-     *
-     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -149,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -159,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The batch operation is being prepared for processing.
      * 
@@ -169,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INITIALIZING_VALUE = 1; /** - * - * *
      * The batch operation is actively being processed.
      * 
@@ -179,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROCESSING_VALUE = 2; /** - * - * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -190,8 +152,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUCCEEDED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -200,8 +160,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -211,8 +169,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLING_VALUE = 5;
     /**
-     *
-     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -223,6 +179,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -247,59 +204,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return INITIALIZING;
-        case 2:
-          return PROCESSING;
-        case 3:
-          return SUCCEEDED;
-        case 4:
-          return FAILED;
-        case 5:
-          return CANCELLING;
-        case 6:
-          return CANCELLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return INITIALIZING;
+        case 2: return PROCESSING;
+        case 3: return SUCCEEDED;
+        case 4: return FAILED;
+        case 5: return CANCELLING;
+        case 6: return CANCELLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4.BatchOperationMetadata.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.BatchOperationMetadata.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -319,52 +270,38 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_;
   /**
-   *
-   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { + @java.lang.Override public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.BatchOperationMetadata.State result = - com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.BatchOperationMetadata.State result = com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object stateDescription_; /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The stateDescription. */ @java.lang.Override @@ -373,29 +310,29 @@ public java.lang.String getStateDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; } } /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getStateDescriptionBytes() { + public com.google.protobuf.ByteString + getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -406,14 +343,11 @@ public com.google.protobuf.ByteString getStateDescriptionBytes() { public static final int SUCCESS_COUNT_FIELD_NUMBER = 3; private int successCount_; /** - * - * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; - * * @return The successCount. */ @java.lang.Override @@ -424,14 +358,11 @@ public int getSuccessCount() { public static final int FAILURE_COUNT_FIELD_NUMBER = 4; private int failureCount_; /** - * - * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; - * * @return The failureCount. */ @java.lang.Override @@ -442,14 +373,11 @@ public int getFailureCount() { public static final int TOTAL_COUNT_FIELD_NUMBER = 5; private int totalCount_; /** - * - * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; - * * @return The totalCount. */ @java.lang.Override @@ -460,14 +388,11 @@ public int getTotalCount() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -475,14 +400,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -490,8 +412,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the batch operation is created.
    * 
@@ -506,8 +426,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -515,7 +433,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -523,8 +440,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -532,7 +447,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ @java.lang.Override @@ -540,8 +454,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -558,15 +470,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 8;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -574,15 +483,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ @java.lang.Override @@ -590,8 +496,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -605,7 +509,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -617,9 +520,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (state_
-        != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
@@ -652,30 +555,36 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateDescription_);
     }
     if (successCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(3, successCount_);
     }
     if (failureCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, failureCount_);
     }
     if (totalCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(5, totalCount_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getUpdateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -685,30 +594,36 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchOperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchOperationMetadata other =
-        (com.google.cloud.talent.v4.BatchOperationMetadata) obj;
+    com.google.cloud.talent.v4.BatchOperationMetadata other = (com.google.cloud.talent.v4.BatchOperationMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getStateDescription().equals(other.getStateDescription())) return false;
-    if (getSuccessCount() != other.getSuccessCount()) return false;
-    if (getFailureCount() != other.getFailureCount()) return false;
-    if (getTotalCount() != other.getTotalCount()) return false;
+    if (!getStateDescription()
+        .equals(other.getStateDescription())) return false;
+    if (getSuccessCount()
+        != other.getSuccessCount()) return false;
+    if (getFailureCount()
+        != other.getFailureCount()) return false;
+    if (getTotalCount()
+        != other.getTotalCount()) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -749,103 +664,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchOperationMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata used for long running operations returned by CTS batch APIs.
    * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -853,32 +761,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchOperationMetadata)
       com.google.cloud.talent.v4.BatchOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchOperationMetadata.class,
-              com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
+              com.google.cloud.talent.v4.BatchOperationMetadata.class, com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchOperationMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -914,9 +823,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -935,8 +844,7 @@ public com.google.cloud.talent.v4.BatchOperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchOperationMetadata buildPartial() {
-      com.google.cloud.talent.v4.BatchOperationMetadata result =
-          new com.google.cloud.talent.v4.BatchOperationMetadata(this);
+      com.google.cloud.talent.v4.BatchOperationMetadata result = new com.google.cloud.talent.v4.BatchOperationMetadata(this);
       result.state_ = state_;
       result.stateDescription_ = stateDescription_;
       result.successCount_ = successCount_;
@@ -965,39 +873,38 @@ public com.google.cloud.talent.v4.BatchOperationMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchOperationMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchOperationMetadata) other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchOperationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1005,8 +912,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchOperationMetadata other) {
-      if (other == com.google.cloud.talent.v4.BatchOperationMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4.BatchOperationMetadata.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -1058,61 +964,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                stateDescription_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                successCount_ = input.readInt32();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                failureCount_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 40:
-              {
-                totalCount_ = input.readInt32();
-
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              stateDescription_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              successCount_ = input.readInt32();
+
+              break;
+            } // case 24
+            case 32: {
+              failureCount_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 40: {
+              totalCount_ = input.readInt32();
+
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1125,67 +1028,51 @@ public Builder mergeFrom(
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.BatchOperationMetadata.State result = - com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.BatchOperationMetadata.State result = com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1193,24 +1080,21 @@ public Builder setState(com.google.cloud.talent.v4.BatchOperationMetadata.State if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1218,20 +1102,18 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; @@ -1240,21 +1122,20 @@ public java.lang.String getStateDescription() { } } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString getStateDescriptionBytes() { + public com.google.protobuf.ByteString + getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -1262,76 +1143,66 @@ public com.google.protobuf.ByteString getStateDescriptionBytes() { } } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription(java.lang.String value) { + public Builder setStateDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateDescription_ = value; onChanged(); return this; } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return This builder for chaining. */ public Builder clearStateDescription() { - + stateDescription_ = getDefaultInstance().getStateDescription(); onChanged(); return this; } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setStateDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; onChanged(); return this; } - private int successCount_; + private int successCount_ ; /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @return The successCount. */ @java.lang.Override @@ -1339,51 +1210,42 @@ public int getSuccessCount() { return successCount_; } /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @param value The successCount to set. * @return This builder for chaining. */ public Builder setSuccessCount(int value) { - + successCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @return This builder for chaining. */ public Builder clearSuccessCount() { - + successCount_ = 0; onChanged(); return this; } - private int failureCount_; + private int failureCount_ ; /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @return The failureCount. */ @java.lang.Override @@ -1391,51 +1253,42 @@ public int getFailureCount() { return failureCount_; } /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @param value The failureCount to set. * @return This builder for chaining. */ public Builder setFailureCount(int value) { - + failureCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @return This builder for chaining. */ public Builder clearFailureCount() { - + failureCount_ = 0; onChanged(); return this; } - private int totalCount_; + private int totalCount_ ; /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @return The totalCount. */ @java.lang.Override @@ -1443,36 +1296,30 @@ public int getTotalCount() { return totalCount_; } /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { - + totalCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @return This builder for chaining. */ public Builder clearTotalCount() { - + totalCount_ = 0; onChanged(); return this; @@ -1480,47 +1327,34 @@ public Builder clearTotalCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1541,15 +1375,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1560,8 +1393,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1572,7 +1403,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1584,8 +1415,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1604,8 +1433,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1613,13 +1440,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1630,14 +1455,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1645,17 +1467,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1663,13 +1482,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1677,15 +1491,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1693,21 +1504,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1730,8 +1536,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1740,7 +1544,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 7;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1751,8 +1556,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1765,7 +1568,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1777,8 +1580,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1799,8 +1600,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1810,13 +1609,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1829,14 +1626,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1846,17 +1640,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(), getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(),
+                getParentForChildren(),
+                isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
@@ -1864,35 +1655,26 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1903,8 +1685,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1926,8 +1706,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1935,7 +1713,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 8;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1946,8 +1725,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1959,7 +1736,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1971,8 +1748,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1992,8 +1767,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2002,13 +1775,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2020,12 +1791,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2034,24 +1804,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2061,12 +1828,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchOperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchOperationMetadata)
   private static final com.google.cloud.talent.v4.BatchOperationMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchOperationMetadata();
   }
@@ -2075,27 +1842,27 @@ public static com.google.cloud.talent.v4.BatchOperationMetadata getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchOperationMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchOperationMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2110,4 +1877,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchOperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
similarity index 83%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
index ad809ff05f60..4d5f213b0d46 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
@@ -1,144 +1,100 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchOperationMetadataOrBuilder
-    extends
+public interface BatchOperationMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchOperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The state. */ com.google.cloud.talent.v4.BatchOperationMetadata.State getState(); /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The stateDescription. */ java.lang.String getStateDescription(); /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString getStateDescriptionBytes(); + com.google.protobuf.ByteString + getStateDescriptionBytes(); /** - * - * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; - * * @return The successCount. */ int getSuccessCount(); /** - * - * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; - * * @return The failureCount. */ int getFailureCount(); /** - * - * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; - * * @return The totalCount. */ int getTotalCount(); /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the batch operation is created.
    * 
@@ -148,8 +104,6 @@ public interface BatchOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -157,13 +111,10 @@ public interface BatchOperationMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -171,13 +122,10 @@ public interface BatchOperationMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -189,34 +137,26 @@ public interface BatchOperationMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
index ea2d9a2bacc6..55e45473b3e1 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Request to update a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsRequest} */ -public final class BatchUpdateJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchUpdateJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchUpdateJobsRequest) BatchUpdateJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchUpdateJobsRequest.newBuilder() to construct. private BatchUpdateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchUpdateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -44,45 +26,39 @@ private BatchUpdateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchUpdateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, - com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,86 +102,71 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -223,7 +182,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -231,8 +189,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -248,7 +204,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -256,8 +211,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -280,7 +233,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -292,7 +244,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -315,10 +268,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, jobs_.get(i));
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -328,19 +283,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchUpdateJobsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchUpdateJobsRequest other =
-        (com.google.cloud.talent.v4.BatchUpdateJobsRequest) obj;
+    com.google.cloud.talent.v4.BatchUpdateJobsRequest other = (com.google.cloud.talent.v4.BatchUpdateJobsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getJobsList().equals(other.getJobsList())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getJobsList()
+        .equals(other.getJobsList())) return false;
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -369,135 +326,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchUpdateJobsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request to update a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchUpdateJobsRequest) com.google.cloud.talent.v4.BatchUpdateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, - com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchUpdateJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override @@ -541,8 +492,7 @@ public com.google.cloud.talent.v4.BatchUpdateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchUpdateJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchUpdateJobsRequest result = - new com.google.cloud.talent.v4.BatchUpdateJobsRequest(this); + com.google.cloud.talent.v4.BatchUpdateJobsRequest result = new com.google.cloud.talent.v4.BatchUpdateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -567,39 +517,38 @@ public com.google.cloud.talent.v4.BatchUpdateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchUpdateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -607,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -631,10 +579,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsRequest other jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -669,37 +616,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4.Job m = - input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4.Job m = + input.readMessage( + com.google.cloud.talent.v4.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -709,29 +656,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -740,25 +682,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -766,105 +705,84 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -874,16 +792,12 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -893,16 +807,12 @@ public int getJobsCount() { } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -912,18 +822,15 @@ public com.google.cloud.talent.v4.Job getJobs(int index) { } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { + public Builder setJobs( + int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -937,18 +844,15 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -959,16 +863,12 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builder return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addJobs(com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { @@ -984,18 +884,15 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { + public Builder addJobs( + int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1009,18 +906,15 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -1031,18 +925,15 @@ public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -1053,21 +944,19 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builder return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addAllJobs(java.lang.Iterable values) { + public Builder addAllJobs( + java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -1075,16 +964,12 @@ public Builder addAllJobs(java.lang.Iterable * Required. The jobs to be updated. * A maximum of 200 jobs can be updated in a batch. *
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -1097,16 +982,12 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1119,53 +1000,42 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.talent.v4.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1173,64 +1043,52 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance()); + public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -1238,13 +1096,8 @@ public java.util.List getJobsBuilderList private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1260,15 +1113,12 @@ public java.util.List getJobsBuilderList
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1284,21 +1134,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1329,8 +1174,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1347,7 +1190,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1358,8 +1202,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1380,7 +1222,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1392,8 +1234,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1422,8 +1262,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1441,13 +1279,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1468,14 +1304,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1493,24 +1326,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1520,12 +1350,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchUpdateJobsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchUpdateJobsRequest)
   private static final com.google.cloud.talent.v4.BatchUpdateJobsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchUpdateJobsRequest();
   }
@@ -1534,27 +1364,27 @@ public static com.google.cloud.talent.v4.BatchUpdateJobsRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchUpdateJobsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchUpdateJobsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1569,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchUpdateJobsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
similarity index 77%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
index 876f981854be..8be3099f415b 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
@@ -1,125 +1,86 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchUpdateJobsRequestOrBuilder
-    extends
+public interface BatchUpdateJobsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchUpdateJobsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.Job getJobs(int index); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getJobsCount(); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -135,13 +96,10 @@ public interface BatchUpdateJobsRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -157,13 +115,10 @@ public interface BatchUpdateJobsRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
index a25fbb1dbb1f..0588731105c4 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsResponse}
  */
-public final class BatchUpdateJobsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchUpdateJobsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchUpdateJobsResponse)
     BatchUpdateJobsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchUpdateJobsResponse.newBuilder() to construct.
   private BatchUpdateJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchUpdateJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchUpdateJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchUpdateJobsResponse.class,
-            com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchUpdateJobsResponse.class, com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -85,8 +64,6 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -95,13 +72,11 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -114,8 +89,6 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -128,8 +101,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -138,12 +109,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,7 +126,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -169,7 +141,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,15 +152,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchUpdateJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchUpdateJobsResponse other =
-        (com.google.cloud.talent.v4.BatchUpdateJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchUpdateJobsResponse other = (com.google.cloud.talent.v4.BatchUpdateJobsResponse) obj;
 
-    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList()
+        .equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -209,103 +182,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchUpdateJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -313,32 +279,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchUpdateJobsResponse)
       com.google.cloud.talent.v4.BatchUpdateJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchUpdateJobsResponse.class,
-              com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchUpdateJobsResponse.class, com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchUpdateJobsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +320,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -374,8 +341,7 @@ public com.google.cloud.talent.v4.BatchUpdateJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchUpdateJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchUpdateJobsResponse result =
-          new com.google.cloud.talent.v4.BatchUpdateJobsResponse(this);
+      com.google.cloud.talent.v4.BatchUpdateJobsResponse result = new com.google.cloud.talent.v4.BatchUpdateJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -394,39 +360,38 @@ public com.google.cloud.talent.v4.BatchUpdateJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchUpdateJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsResponse) other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchUpdateJobsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4.BatchUpdateJobsResponse.getDefaultInstance()) return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -454,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getJobResultsFieldBuilder()
-                    : null;
+            jobResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getJobResultsFieldBuilder() : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -489,26 +452,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.talent.v4.JobResult m =
-                    input.readMessage(
-                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
-                if (jobResultsBuilder_ == null) {
-                  ensureJobResultsIsMutable();
-                  jobResults_.add(m);
-                } else {
-                  jobResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.talent.v4.JobResult m =
+                  input.readMessage(
+                      com.google.cloud.talent.v4.JobResult.parser(),
+                      extensionRegistry);
+              if (jobResultsBuilder_ == null) {
+                ensureJobResultsIsMutable();
+                jobResults_.add(m);
+              } else {
+                jobResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -518,28 +480,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List jobResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
-        jobResultsBuilder_;
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -555,8 +510,6 @@ public java.util.List getJobResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -572,8 +525,6 @@ public int getJobResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -589,8 +540,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -598,7 +547,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -612,8 +562,6 @@ public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -633,8 +581,6 @@ public Builder setJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -656,8 +602,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -665,7 +609,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -679,8 +624,6 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -688,7 +631,8 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(
+        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -699,8 +643,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -720,8 +662,6 @@ public Builder addJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -733,7 +673,8 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -741,8 +682,6 @@ public Builder addAllJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -761,8 +700,6 @@ public Builder clearJobResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -781,8 +718,6 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -790,12 +725,11 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
+        int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -803,16 +737,14 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+        int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);
-      } else {
+        return jobResults_.get(index);  } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -820,8 +752,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List
-        getJobResultsOrBuilderList() {
+    public java.util.List 
+         getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -829,8 +761,6 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -839,12 +769,10 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -852,13 +780,12 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
-      return getJobResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
+        int index) {
+      return getJobResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -866,29 +793,27 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List getJobResultsBuilderList() {
+    public java.util.List 
+         getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.JobResult,
-                com.google.cloud.talent.v4.JobResult.Builder,
-                com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -898,12 +823,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchUpdateJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchUpdateJobsResponse)
   private static final com.google.cloud.talent.v4.BatchUpdateJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchUpdateJobsResponse();
   }
@@ -912,27 +837,27 @@ public static com.google.cloud.talent.v4.BatchUpdateJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchUpdateJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchUpdateJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -947,4 +872,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchUpdateJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
similarity index 69%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
index 3e569db00b5f..08ef0a1f2221 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchUpdateJobsResponseOrBuilder
-    extends
+public interface BatchUpdateJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchUpdateJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -33,10 +15,9 @@ public interface BatchUpdateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List getJobResultsList();
+  java.util.List 
+      getJobResultsList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -46,8 +27,6 @@ public interface BatchUpdateJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -57,8 +36,6 @@ public interface BatchUpdateJobsResponseOrBuilder
    */
   int getJobResultsCount();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -66,11 +43,9 @@ public interface BatchUpdateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List
+  java.util.List 
       getJobResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -78,5 +53,6 @@ public interface BatchUpdateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
index 2f61e24bd93a..c7ee2f7c005d 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/event.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * An event issued when an end user interacts with the application that
  * implements Cloud Talent Solution. Providing this information improves the
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.ClientEvent}
  */
-public final class ClientEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ClientEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ClientEvent)
     ClientEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ClientEvent.newBuilder() to construct.
   private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ClientEvent() {
     requestId_ = "";
     eventId_ = "";
@@ -49,41 +31,37 @@ private ClientEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ClientEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.EventProto
-        .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.EventProto
-        .internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.ClientEvent.class,
-            com.google.cloud.talent.v4.ClientEvent.Builder.class);
+            com.google.cloud.talent.v4.ClientEvent.class, com.google.cloud.talent.v4.ClientEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
-
   public enum EventCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JOB_EVENT(5),
     EVENT_NOT_SET(0);
     private final int value;
-
     private EventCase(int value) {
       this.value = value;
     }
@@ -99,29 +77,25 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return JOB_EVENT;
-        case 0:
-          return EVENT_NOT_SET;
-        default:
-          return null;
+        case 5: return JOB_EVENT;
+        case 0: return EVENT_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase getEventCase() {
-    return EventCase.forNumber(eventCase_);
+  public EventCase
+  getEventCase() {
+    return EventCase.forNumber(
+        eventCase_);
   }
 
   public static final int REQUEST_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object requestId_;
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -129,7 +103,6 @@ public EventCase getEventCase() {
    * 
* * string request_id = 1; - * * @return The requestId. */ @java.lang.Override @@ -138,15 +111,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -154,15 +126,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -173,14 +146,11 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int EVENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object eventId_; /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ @java.lang.Override @@ -189,29 +159,29 @@ public java.lang.String getEventId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } } /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventId_ = b; return b; } else { @@ -222,15 +192,11 @@ public com.google.protobuf.ByteString getEventIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -238,15 +204,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ @java.lang.Override @@ -254,14 +216,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -270,15 +229,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int JOB_EVENT_FIELD_NUMBER = 5; /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -286,27 +242,22 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return The jobEvent. */ @java.lang.Override public com.google.cloud.talent.v4.JobEvent getJobEvent() { if (eventCase_ == 5) { - return (com.google.cloud.talent.v4.JobEvent) event_; + return (com.google.cloud.talent.v4.JobEvent) event_; } return com.google.cloud.talent.v4.JobEvent.getDefaultInstance(); } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -317,7 +268,7 @@ public com.google.cloud.talent.v4.JobEvent getJobEvent() {
   @java.lang.Override
   public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
     if (eventCase_ == 5) {
-      return (com.google.cloud.talent.v4.JobEvent) event_;
+       return (com.google.cloud.talent.v4.JobEvent) event_;
     }
     return com.google.cloud.talent.v4.JobEvent.getDefaultInstance();
   }
@@ -325,15 +276,12 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
   public static final int EVENT_NOTES_FIELD_NUMBER = 9;
   private volatile java.lang.Object eventNotes_;
   /**
-   *
-   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; - * * @return The eventNotes. */ @java.lang.Override @@ -342,30 +290,30 @@ public java.lang.String getEventNotes() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; } } /** - * - * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ @java.lang.Override - public com.google.protobuf.ByteString getEventNotesBytes() { + public com.google.protobuf.ByteString + getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -374,7 +322,6 @@ public com.google.protobuf.ByteString getEventNotesBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +333,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -418,12 +366,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (eventCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.talent.v4.JobEvent) event_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.talent.v4.JobEvent) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventNotes_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, eventNotes_); @@ -436,24 +384,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ClientEvent)) { return super.equals(obj); } com.google.cloud.talent.v4.ClientEvent other = (com.google.cloud.talent.v4.ClientEvent) obj; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEventId().equals(other.getEventId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEventId() + .equals(other.getEventId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (!getEventNotes().equals(other.getEventNotes())) return false; + if (!getEventNotes() + .equals(other.getEventNotes())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - if (!getJobEvent().equals(other.getJobEvent())) return false; + if (!getJobEvent() + .equals(other.getJobEvent())) return false; break; case 0: default: @@ -492,104 +445,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ClientEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ClientEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ClientEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ClientEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An event issued when an end user interacts with the application that
    * implements Cloud Talent Solution. Providing this information improves the
@@ -600,32 +546,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.ClientEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ClientEvent)
       com.google.cloud.talent.v4.ClientEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.ClientEvent.class,
-              com.google.cloud.talent.v4.ClientEvent.Builder.class);
+              com.google.cloud.talent.v4.ClientEvent.class, com.google.cloud.talent.v4.ClientEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.ClientEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -650,9 +597,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
     }
 
     @java.lang.Override
@@ -671,8 +618,7 @@ public com.google.cloud.talent.v4.ClientEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.ClientEvent buildPartial() {
-      com.google.cloud.talent.v4.ClientEvent result =
-          new com.google.cloud.talent.v4.ClientEvent(this);
+      com.google.cloud.talent.v4.ClientEvent result = new com.google.cloud.talent.v4.ClientEvent(this);
       result.requestId_ = requestId_;
       result.eventId_ = eventId_;
       if (createTimeBuilder_ == null) {
@@ -697,39 +643,38 @@ public com.google.cloud.talent.v4.ClientEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.ClientEvent) {
-        return mergeFrom((com.google.cloud.talent.v4.ClientEvent) other);
+        return mergeFrom((com.google.cloud.talent.v4.ClientEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -754,15 +699,13 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ClientEvent other) {
         onChanged();
       }
       switch (other.getEventCase()) {
-        case JOB_EVENT:
-          {
-            mergeJobEvent(other.getJobEvent());
-            break;
-          }
-        case EVENT_NOT_SET:
-          {
-            break;
-          }
+        case JOB_EVENT: {
+          mergeJobEvent(other.getJobEvent());
+          break;
+        }
+        case EVENT_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -790,43 +733,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                requestId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                eventId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getJobEventFieldBuilder().getBuilder(), extensionRegistry);
-                eventCase_ = 5;
-                break;
-              } // case 42
-            case 74:
-              {
-                eventNotes_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              requestId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              eventId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getJobEventFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              eventCase_ = 5;
+              break;
+            } // case 42
+            case 74: {
+              eventNotes_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -836,12 +777,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int eventCase_ = 0;
     private java.lang.Object event_;
-
-    public EventCase getEventCase() {
-      return EventCase.forNumber(eventCase_);
+    public EventCase
+        getEventCase() {
+      return EventCase.forNumber(
+          eventCase_);
     }
 
     public Builder clearEvent() {
@@ -851,10 +792,9 @@ public Builder clearEvent() {
       return this;
     }
 
+
     private java.lang.Object requestId_ = "";
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -862,13 +802,13 @@ public Builder clearEvent() {
      * 
* * string request_id = 1; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -877,8 +817,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -886,14 +824,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -901,8 +840,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -910,22 +847,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 1; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -933,18 +868,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 1; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -952,16 +884,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 1; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -969,20 +901,18 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object eventId_ = ""; /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; @@ -991,21 +921,20 @@ public java.lang.String getEventId() { } } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventId_ = b; return b; } else { @@ -1013,61 +942,54 @@ public com.google.protobuf.ByteString getEventIdBytes() { } } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId(java.lang.String value) { + public Builder setEventId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes(com.google.protobuf.ByteString value) { + public Builder setEventIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -1075,55 +997,39 @@ public Builder setEventIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1139,16 +1045,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1159,20 +1063,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1184,14 +1085,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1205,81 +1103,62 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobEvent, - com.google.cloud.talent.v4.JobEvent.Builder, - com.google.cloud.talent.v4.JobEventOrBuilder> - jobEventBuilder_; + com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder> jobEventBuilder_; /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -1287,15 +1166,12 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return The jobEvent. */ @java.lang.Override @@ -1313,8 +1189,6 @@ public com.google.cloud.talent.v4.JobEvent getJobEvent() { } } /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1336,8 +1210,6 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1345,7 +1217,8 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent value) {
      *
      * .google.cloud.talent.v4.JobEvent job_event = 5;
      */
-    public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent.Builder builderForValue) {
+    public Builder setJobEvent(
+        com.google.cloud.talent.v4.JobEvent.Builder builderForValue) {
       if (jobEventBuilder_ == null) {
         event_ = builderForValue.build();
         onChanged();
@@ -1356,8 +1229,6 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1367,12 +1238,10 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent.Builder builderFo
      */
     public Builder mergeJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       if (jobEventBuilder_ == null) {
-        if (eventCase_ == 5 && event_ != com.google.cloud.talent.v4.JobEvent.getDefaultInstance()) {
-          event_ =
-              com.google.cloud.talent.v4.JobEvent.newBuilder(
-                      (com.google.cloud.talent.v4.JobEvent) event_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (eventCase_ == 5 &&
+            event_ != com.google.cloud.talent.v4.JobEvent.getDefaultInstance()) {
+          event_ = com.google.cloud.talent.v4.JobEvent.newBuilder((com.google.cloud.talent.v4.JobEvent) event_)
+              .mergeFrom(value).buildPartial();
         } else {
           event_ = value;
         }
@@ -1388,8 +1257,6 @@ public Builder mergeJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1414,8 +1281,6 @@ public Builder clearJobEvent() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1427,8 +1292,6 @@ public com.google.cloud.talent.v4.JobEvent.Builder getJobEventBuilder() {
       return getJobEventFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1448,8 +1311,6 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1458,45 +1319,39 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
      * .google.cloud.talent.v4.JobEvent job_event = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.JobEvent,
-            com.google.cloud.talent.v4.JobEvent.Builder,
-            com.google.cloud.talent.v4.JobEventOrBuilder>
+        com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder> 
         getJobEventFieldBuilder() {
       if (jobEventBuilder_ == null) {
         if (!(eventCase_ == 5)) {
           event_ = com.google.cloud.talent.v4.JobEvent.getDefaultInstance();
         }
-        jobEventBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.JobEvent,
-                com.google.cloud.talent.v4.JobEvent.Builder,
-                com.google.cloud.talent.v4.JobEventOrBuilder>(
-                (com.google.cloud.talent.v4.JobEvent) event_, getParentForChildren(), isClean());
+        jobEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder>(
+                (com.google.cloud.talent.v4.JobEvent) event_,
+                getParentForChildren(),
+                isClean());
         event_ = null;
       }
       eventCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return jobEventBuilder_;
     }
 
     private java.lang.Object eventNotes_ = "";
     /**
-     *
-     *
      * 
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @return The eventNotes. */ public java.lang.String getEventNotes() { java.lang.Object ref = eventNotes_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; @@ -1505,22 +1360,21 @@ public java.lang.String getEventNotes() { } } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ - public com.google.protobuf.ByteString getEventNotesBytes() { + public com.google.protobuf.ByteString + getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -1528,71 +1382,64 @@ public com.google.protobuf.ByteString getEventNotesBytes() { } } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @param value The eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotes(java.lang.String value) { + public Builder setEventNotes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventNotes_ = value; onChanged(); return this; } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @return This builder for chaining. */ public Builder clearEventNotes() { - + eventNotes_ = getDefaultInstance().getEventNotes(); onChanged(); return this; } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @param value The bytes for eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { + public Builder setEventNotesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventNotes_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1602,12 +1449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ClientEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ClientEvent) private static final com.google.cloud.talent.v4.ClientEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ClientEvent(); } @@ -1616,27 +1463,27 @@ public static com.google.cloud.talent.v4.ClientEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1651,4 +1498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ClientEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java index ef27e7e90799..8a0875dd3149 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; -public interface ClientEventOrBuilder - extends +public interface ClientEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ClientEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -33,13 +15,10 @@ public interface ClientEventOrBuilder
    * 
* * string request_id = 1; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -47,103 +26,79 @@ public interface ClientEventOrBuilder
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ java.lang.String getEventId(); /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - com.google.protobuf.ByteString getEventIdBytes(); + com.google.protobuf.ByteString + getEventIdBytes(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ boolean hasJobEvent(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return The jobEvent. */ com.google.cloud.talent.v4.JobEvent getJobEvent(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -154,31 +109,26 @@ public interface ClientEventOrBuilder
   com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder();
 
   /**
-   *
-   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; - * * @return The eventNotes. */ java.lang.String getEventNotes(); /** - * - * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ - com.google.protobuf.ByteString getEventNotesBytes(); + com.google.protobuf.ByteString + getEventNotesBytes(); public com.google.cloud.talent.v4.ClientEvent.EventCase getEventCase(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java new file mode 100644 index 000000000000..ebea9649ff4d --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java @@ -0,0 +1,307 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/common.proto + +package com.google.cloud.talent.v4; + +public final class CommonProto { + private CommonProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Location_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_RequestMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_DeviceInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/talent/v4/common.proto\022\026g" + + "oogle.cloud.talent.v4\032\037google/api/field_" + + "behavior.proto\032\037google/protobuf/timestam" + + "p.proto\032\036google/protobuf/wrappers.proto\032" + + "\030google/type/latlng.proto\032\027google/type/m" + + "oney.proto\032 google/type/postal_address.p" + + "roto\"n\n\016TimestampRange\022.\n\nstart_time\030\001 \001" + + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"\262\003\n" + + "\010Location\022D\n\rlocation_type\030\001 \001(\0162-.googl" + + "e.cloud.talent.v4.Location.LocationType\022" + + "2\n\016postal_address\030\002 \001(\0132\032.google.type.Po" + + "stalAddress\022$\n\007lat_lng\030\003 \001(\0132\023.google.ty" + + "pe.LatLng\022\024\n\014radius_miles\030\004 \001(\001\"\357\001\n\014Loca" + + "tionType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020\000\022" + + "\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATIVE_AREA\020\002\022\033\n" + + "\027SUB_ADMINISTRATIVE_AREA\020\003\022\014\n\010LOCALITY\020\004" + + "\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOCALITY\020\006\022\022\n\016S" + + "UB_LOCALITY_1\020\007\022\022\n\016SUB_LOCALITY_2\020\010\022\020\n\014N" + + "EIGHBORHOOD\020\t\022\022\n\016STREET_ADDRESS\020\n\"\232\001\n\017Re" + + "questMetadata\022\016\n\006domain\030\001 \001(\t\022\022\n\nsession" + + "_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031\n\021allow_miss" + + "ing_ids\030\004 \001(\010\0227\n\013device_info\030\005 \001(\0132\".goo" + + "gle.cloud.talent.v4.DeviceInfo\"&\n\020Respon" + + "seMetadata\022\022\n\nrequest_id\030\001 \001(\t\"\312\001\n\nDevic" + + "eInfo\022B\n\013device_type\030\001 \001(\0162-.google.clou" + + "d.talent.v4.DeviceInfo.DeviceType\022\n\n\002id\030" + + "\002 \001(\t\"l\n\nDeviceType\022\033\n\027DEVICE_TYPE_UNSPE" + + "CIFIED\020\000\022\007\n\003WEB\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007AND" + + "ROID\020\003\022\007\n\003IOS\020\004\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017C" + + "ustomAttribute\022\025\n\rstring_values\030\001 \003(\t\022\023\n" + + "\013long_values\030\002 \003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032" + + "\n\022keyword_searchable\030\004 \001(\010\"W\n\022SpellingCo" + + "rrection\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected" + + "_text\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\210\t\n\020" + + "CompensationInfo\022K\n\007entries\030\001 \003(\0132:.goog" + + "le.cloud.talent.v4.CompensationInfo.Comp" + + "ensationEntry\022k\n\"annualized_base_compens" + + "ation_range\030\002 \001(\0132:.google.cloud.talent." + + "v4.CompensationInfo.CompensationRangeB\003\340" + + "A\003\022l\n#annualized_total_compensation_rang" + + "e\030\003 \001(\0132:.google.cloud.talent.v4.Compens" + + "ationInfo.CompensationRangeB\003\340A\003\032\203\003\n\021Com" + + "pensationEntry\022G\n\004type\030\001 \001(\01629.google.cl" + + "oud.talent.v4.CompensationInfo.Compensat" + + "ionType\022G\n\004unit\030\002 \001(\01629.google.cloud.tal" + + "ent.v4.CompensationInfo.CompensationUnit" + + "\022$\n\006amount\030\003 \001(\0132\022.google.type.MoneyH\000\022K" + + "\n\005range\030\004 \001(\0132:.google.cloud.talent.v4.C" + + "ompensationInfo.CompensationRangeH\000\022\023\n\013d" + + "escription\030\005 \001(\t\022=\n\027expected_units_per_y" + + "ear\030\006 \001(\0132\034.google.protobuf.DoubleValueB" + + "\025\n\023compensation_amount\032o\n\021CompensationRa" + + "nge\022,\n\020max_compensation\030\002 \001(\0132\022.google.t" + + "ype.Money\022,\n\020min_compensation\030\001 \001(\0132\022.go" + + "ogle.type.Money\"\265\001\n\020CompensationType\022!\n\035" + + "COMPENSATION_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020" + + "\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BONUS\020\003\022\n\n\006EQUIT" + + "Y\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n\013COMMISSIONS\020\006" + + "\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPENSATION_TYPE\020\010\"" + + "\234\001\n\020CompensationUnit\022!\n\035COMPENSATION_UNI" + + "T_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020\002\022\n" + + "\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\022\014\n\010O" + + "NE_TIME\020\006\022\033\n\027OTHER_COMPENSATION_UNIT\020\007\"\307" + + "\003\n\026BatchOperationMetadata\022C\n\005state\030\001 \001(\016" + + "24.google.cloud.talent.v4.BatchOperation" + + "Metadata.State\022\031\n\021state_description\030\002 \001(" + + "\t\022\025\n\rsuccess_count\030\003 \001(\005\022\025\n\rfailure_coun" + + "t\030\004 \001(\005\022\023\n\013total_count\030\005 \001(\005\022/\n\013create_t" + + "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" + + "estamp\022,\n\010end_time\030\010 \001(\0132\032.google.protob" + + "uf.Timestamp\"z\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022\r" + + "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\016\n\nCANCELLING\020" + + "\005\022\r\n\tCANCELLED\020\006*y\n\013CompanySize\022\034\n\030COMPA" + + "NY_SIZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL" + + "\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006" + + "BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JO" + + "B_BENEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022" + + "\n\n\006DENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLE" + + "XIBLE_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSUR" + + "ANCE\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT" + + "_PLAN\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006" + + "VISION\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_U" + + "NSPECIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031L" + + "OWER_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECO" + + "NDARY_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUC" + + "ATION\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n" + + "\027BACHELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR" + + "_EQUIVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020" + + "\010*\334\001\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_" + + "UNSPECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIM" + + "E\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020" + + "\004\022\r\n\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEE" + + "R\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n" + + "\025OTHER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025" + + "JOB_LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001" + + "\022\017\n\013EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECT" + + "OR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030J" + + "OB_CATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_" + + "AND_FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFI" + + "CE\020\002\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013A" + + "NIMAL_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005" + + "\022\027\n\023BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AN" + + "D_FACILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014C" + + "ONSTRUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tE" + + "DUCATION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014" + + "\022\030\n\024FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE" + + "\020\016\022\023\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_" + + "MAINTENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nM" + + "ANAGEMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOU" + + "SE\020\023\022$\n MEDIA_COMMUNICATIONS_AND_WRITING" + + "\020\024\022\026\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_C" + + "ARE_AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICE" + + "S\020\027\022\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_H" + + "OSPITALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SC" + + "IENCE_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVIC" + + "ES_AND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AN" + + "D_RECREATION\020\035\022 \n\034TRANSPORTATION_AND_LOG" + + "ISTICS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REG" + + "ION_UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA" + + "\020\001\022\n\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisib" + + "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACC" + + "OUNT_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022S" + + "HARED_WITH_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitizat" + + "ion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036" + + "\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE" + + "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" + + "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" + + "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" + + "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" + + "oud.talent.v4B\013CommonProtoP\001Z * Parameters needed for commute search. *
* * Protobuf type {@code google.cloud.talent.v4.CommuteFilter} */ -public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommuteFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CommuteFilter) CommuteFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommuteFilter.newBuilder() to construct. private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommuteFilter() { commuteMethod_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommuteFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CommuteFilter.class, - com.google.cloud.talent.v4.CommuteFilter.Builder.class); + com.google.cloud.talent.v4.CommuteFilter.class, com.google.cloud.talent.v4.CommuteFilter.Builder.class); } /** - * - * *
    * The traffic density to use when calculating commute time.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CommuteFilter.RoadTraffic} */ - public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { + public enum RoadTraffic + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Road traffic situation isn't specified.
      * 
@@ -88,8 +66,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ ROAD_TRAFFIC_UNSPECIFIED(0), /** - * - * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -98,8 +74,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ TRAFFIC_FREE(1), /** - * - * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -111,8 +85,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Road traffic situation isn't specified.
      * 
@@ -121,8 +93,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -131,8 +101,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRAFFIC_FREE_VALUE = 1; /** - * - * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -141,6 +109,7 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUSY_HOUR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +134,49 @@ public static RoadTraffic valueOf(int value) { */ public static RoadTraffic forNumber(int value) { switch (value) { - case 0: - return ROAD_TRAFFIC_UNSPECIFIED; - case 1: - return TRAFFIC_FREE; - case 2: - return BUSY_HOUR; - default: - return null; + case 0: return ROAD_TRAFFIC_UNSPECIFIED; + case 1: return TRAFFIC_FREE; + case 2: return BUSY_HOUR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RoadTraffic> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoadTraffic findValueByNumber(int number) { + return RoadTraffic.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoadTraffic findValueByNumber(int number) { - return RoadTraffic.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommuteFilter.getDescriptor().getEnumTypes().get(0); } private static final RoadTraffic[] VALUES = values(); - public static RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoadTraffic valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -226,16 +195,13 @@ private RoadTraffic(int value) { private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - public enum TrafficOptionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROAD_TRAFFIC(5), DEPARTURE_TIME(6), TRAFFICOPTION_NOT_SET(0); private final int value; - private TrafficOptionCase(int value) { this.value = value; } @@ -251,79 +217,59 @@ public static TrafficOptionCase valueOf(int value) { public static TrafficOptionCase forNumber(int value) { switch (value) { - case 5: - return ROAD_TRAFFIC; - case 6: - return DEPARTURE_TIME; - case 0: - return TRAFFICOPTION_NOT_SET; - default: - return null; + case 5: return ROAD_TRAFFIC; + case 6: return DEPARTURE_TIME; + case 0: return TRAFFICOPTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TrafficOptionCase getTrafficOptionCase() { - return TrafficOptionCase.forNumber(trafficOptionCase_); + public TrafficOptionCase + getTrafficOptionCase() { + return TrafficOptionCase.forNumber( + trafficOptionCase_); } public static final int COMMUTE_METHOD_FIELD_NUMBER = 1; private int commuteMethod_; /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override - public int getCommuteMethodValue() { + @java.lang.Override public int getCommuteMethodValue() { return commuteMethod_; } /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ - @java.lang.Override - public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { + @java.lang.Override public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteMethod result = - com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4.CommuteMethod result = com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4.CommuteMethod.UNRECOGNIZED : result; } public static final int START_COORDINATES_FIELD_NUMBER = 2; private com.google.type.LatLng startCoordinates_; /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ @java.lang.Override @@ -331,34 +277,25 @@ public boolean hasStartCoordinates() { return startCoordinates_ != null; } /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ @java.lang.Override public com.google.type.LatLng getStartCoordinates() { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { @@ -368,16 +305,12 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration travelDuration_; /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -385,34 +318,25 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @@ -422,8 +346,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER = 4; private boolean allowImpreciseAddresses_; /** - * - * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -433,7 +355,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
    * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -443,28 +364,22 @@ public boolean getAllowImpreciseAddresses() { public static final int ROAD_TRAFFIC_FIELD_NUMBER = 5; /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ public int getRoadTrafficValue() { @@ -474,33 +389,25 @@ public int getRoadTrafficValue() { return 0; } /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null - ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; } return com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 6; /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -508,7 +415,6 @@ public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() {
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -516,8 +422,6 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -525,19 +429,16 @@ public boolean hasDepartureTime() {
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ @java.lang.Override public com.google.type.TimeOfDay getDepartureTime() { if (trafficOptionCase_ == 6) { - return (com.google.type.TimeOfDay) trafficOption_; + return (com.google.type.TimeOfDay) trafficOption_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -549,13 +450,12 @@ public com.google.type.TimeOfDay getDepartureTime() {
   @java.lang.Override
   public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
     if (trafficOptionCase_ == 6) {
-      return (com.google.type.TimeOfDay) trafficOption_;
+       return (com.google.type.TimeOfDay) trafficOption_;
     }
     return com.google.type.TimeOfDay.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -567,9 +467,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (commuteMethod_
-        != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (commuteMethod_ != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
@@ -596,28 +496,29 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (commuteMethod_
-        != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, commuteMethod_);
+    if (commuteMethod_ != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartCoordinates());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartCoordinates());
     }
     if (travelDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTravelDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getTravelDuration());
     }
     if (allowImpreciseAddresses_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowImpreciseAddresses_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, allowImpreciseAddresses_);
     }
     if (trafficOptionCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeEnumSize(
-              5, ((java.lang.Integer) trafficOption_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, ((java.lang.Integer) trafficOption_));
     }
     if (trafficOptionCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.type.TimeOfDay) trafficOption_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.type.TimeOfDay) trafficOption_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -627,7 +528,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.CommuteFilter)) {
       return super.equals(obj);
@@ -637,20 +538,25 @@ public boolean equals(final java.lang.Object obj) {
     if (commuteMethod_ != other.commuteMethod_) return false;
     if (hasStartCoordinates() != other.hasStartCoordinates()) return false;
     if (hasStartCoordinates()) {
-      if (!getStartCoordinates().equals(other.getStartCoordinates())) return false;
+      if (!getStartCoordinates()
+          .equals(other.getStartCoordinates())) return false;
     }
     if (hasTravelDuration() != other.hasTravelDuration()) return false;
     if (hasTravelDuration()) {
-      if (!getTravelDuration().equals(other.getTravelDuration())) return false;
+      if (!getTravelDuration()
+          .equals(other.getTravelDuration())) return false;
     }
-    if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false;
+    if (getAllowImpreciseAddresses()
+        != other.getAllowImpreciseAddresses()) return false;
     if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false;
     switch (trafficOptionCase_) {
       case 5:
-        if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false;
+        if (getRoadTrafficValue()
+            != other.getRoadTrafficValue()) return false;
         break;
       case 6:
-        if (!getDepartureTime().equals(other.getDepartureTime())) return false;
+        if (!getDepartureTime()
+            .equals(other.getDepartureTime())) return false;
         break;
       case 0:
       default:
@@ -677,7 +583,8 @@ public int hashCode() {
       hash = (53 * hash) + getTravelDuration().hashCode();
     }
     hash = (37 * hash) + ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowImpreciseAddresses());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowImpreciseAddresses());
     switch (trafficOptionCase_) {
       case 5:
         hash = (37 * hash) + ROAD_TRAFFIC_FIELD_NUMBER;
@@ -695,136 +602,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.CommuteFilter parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.CommuteFilter prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Parameters needed for commute search.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CommuteFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CommuteFilter) com.google.cloud.talent.v4.CommuteFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CommuteFilter.class, - com.google.cloud.talent.v4.CommuteFilter.Builder.class); + com.google.cloud.talent.v4.CommuteFilter.class, com.google.cloud.talent.v4.CommuteFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.CommuteFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -853,9 +754,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override @@ -874,8 +775,7 @@ public com.google.cloud.talent.v4.CommuteFilter build() { @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter buildPartial() { - com.google.cloud.talent.v4.CommuteFilter result = - new com.google.cloud.talent.v4.CommuteFilter(this); + com.google.cloud.talent.v4.CommuteFilter result = new com.google.cloud.talent.v4.CommuteFilter(this); result.commuteMethod_ = commuteMethod_; if (startCoordinatesBuilder_ == null) { result.startCoordinates_ = startCoordinates_; @@ -907,39 +807,38 @@ public com.google.cloud.talent.v4.CommuteFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CommuteFilter) { - return mergeFrom((com.google.cloud.talent.v4.CommuteFilter) other); + return mergeFrom((com.google.cloud.talent.v4.CommuteFilter)other); } else { super.mergeFrom(other); return this; @@ -961,20 +860,17 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CommuteFilter other) { setAllowImpreciseAddresses(other.getAllowImpreciseAddresses()); } switch (other.getTrafficOptionCase()) { - case ROAD_TRAFFIC: - { - setRoadTrafficValue(other.getRoadTrafficValue()); - break; - } - case DEPARTURE_TIME: - { - mergeDepartureTime(other.getDepartureTime()); - break; - } - case TRAFFICOPTION_NOT_SET: - { - break; - } + case ROAD_TRAFFIC: { + setRoadTrafficValue(other.getRoadTrafficValue()); + break; + } + case DEPARTURE_TIME: { + mergeDepartureTime(other.getDepartureTime()); + break; + } + case TRAFFICOPTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1002,51 +898,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - commuteMethod_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage( - getStartCoordinatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - allowImpreciseAddresses_ = input.readBool(); - - break; - } // case 32 - case 40: - { - int rawValue = input.readEnum(); - trafficOptionCase_ = 5; - trafficOption_ = rawValue; - break; - } // case 40 - case 50: - { - input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); - trafficOptionCase_ = 6; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + commuteMethod_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getStartCoordinatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + allowImpreciseAddresses_ = input.readBool(); + + break; + } // case 32 + case 40: { + int rawValue = input.readEnum(); + trafficOptionCase_ = 5; + trafficOption_ = rawValue; + break; + } // case 40 + case 50: { + input.readMessage( + getDepartureTimeFieldBuilder().getBuilder(), + extensionRegistry); + trafficOptionCase_ = 6; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1056,12 +950,12 @@ public Builder mergeFrom( } // finally return this; } - private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - - public TrafficOptionCase getTrafficOptionCase() { - return TrafficOptionCase.forNumber(trafficOptionCase_); + public TrafficOptionCase + getTrafficOptionCase() { + return TrafficOptionCase.forNumber( + trafficOptionCase_); } public Builder clearTrafficOption() { @@ -1071,75 +965,54 @@ public Builder clearTrafficOption() { return this; } + private int commuteMethod_ = 0; /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override - public int getCommuteMethodValue() { + @java.lang.Override public int getCommuteMethodValue() { return commuteMethod_; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for commuteMethod to set. * @return This builder for chaining. */ public Builder setCommuteMethodValue(int value) { - + commuteMethod_ = value; onChanged(); return this; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteMethod result = - com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4.CommuteMethod result = com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4.CommuteMethod.UNRECOGNIZED : result; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The commuteMethod to set. * @return This builder for chaining. */ @@ -1147,26 +1020,21 @@ public Builder setCommuteMethod(com.google.cloud.talent.v4.CommuteMethod value) if (value == null) { throw new NullPointerException(); } - + commuteMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearCommuteMethod() { - + commuteMethod_ = 0; onChanged(); return this; @@ -1174,56 +1042,42 @@ public Builder clearCommuteMethod() { private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - startCoordinatesBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ public boolean hasStartCoordinates() { return startCoordinatesBuilder_ != null || startCoordinates_ != null; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ public com.google.type.LatLng getStartCoordinates() { if (startCoordinatesBuilder_ == null) { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } else { return startCoordinatesBuilder_.getMessage(); } } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { @@ -1239,17 +1093,15 @@ public Builder setStartCoordinates(com.google.type.LatLng value) { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValue) { + public Builder setStartCoordinates( + com.google.type.LatLng.Builder builderForValue) { if (startCoordinatesBuilder_ == null) { startCoordinates_ = builderForValue.build(); onChanged(); @@ -1260,21 +1112,18 @@ public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValu return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { if (startCoordinates_ != null) { startCoordinates_ = - com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); + com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); } else { startCoordinates_ = value; } @@ -1286,15 +1135,12 @@ public Builder mergeStartCoordinates(com.google.type.LatLng value) { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStartCoordinates() { if (startCoordinatesBuilder_ == null) { @@ -1308,62 +1154,51 @@ public Builder clearStartCoordinates() { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.LatLng.Builder getStartCoordinatesBuilder() { - + onChanged(); return getStartCoordinatesFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { if (startCoordinatesBuilder_ != null) { return startCoordinatesBuilder_.getMessageOrBuilder(); } else { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? + com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getStartCoordinatesFieldBuilder() { if (startCoordinatesBuilder_ == null) { - startCoordinatesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>( - getStartCoordinates(), getParentForChildren(), isClean()); + startCoordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getStartCoordinates(), + getParentForChildren(), + isClean()); startCoordinates_ = null; } return startCoordinatesBuilder_; @@ -1371,61 +1206,42 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - travelDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { @@ -1441,18 +1257,15 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTravelDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (travelDurationBuilder_ == null) { travelDuration_ = builderForValue.build(); onChanged(); @@ -1463,24 +1276,18 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { if (travelDuration_ != null) { travelDuration_ = - com.google.protobuf.Duration.newBuilder(travelDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial(); } else { travelDuration_ = value; } @@ -1492,16 +1299,12 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTravelDuration() { if (travelDurationBuilder_ == null) { @@ -1515,76 +1318,58 @@ public Builder clearTravelDuration() { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - + onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { if (travelDurationBuilder_ != null) { return travelDurationBuilder_.getMessageOrBuilder(); } else { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTravelDurationFieldBuilder() { if (travelDurationBuilder_ == null) { - travelDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTravelDuration(), getParentForChildren(), isClean()); + travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTravelDuration(), + getParentForChildren(), + isClean()); travelDuration_ = null; } return travelDurationBuilder_; } - private boolean allowImpreciseAddresses_; + private boolean allowImpreciseAddresses_ ; /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1594,7 +1379,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
      * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -1602,8 +1386,6 @@ public boolean getAllowImpreciseAddresses() { return allowImpreciseAddresses_; } /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1613,19 +1395,16 @@ public boolean getAllowImpreciseAddresses() {
      * 
* * bool allow_imprecise_addresses = 4; - * * @param value The allowImpreciseAddresses to set. * @return This builder for chaining. */ public Builder setAllowImpreciseAddresses(boolean value) { - + allowImpreciseAddresses_ = value; onChanged(); return this; } /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1635,25 +1414,21 @@ public Builder setAllowImpreciseAddresses(boolean value) {
      * 
* * bool allow_imprecise_addresses = 4; - * * @return This builder for chaining. */ public Builder clearAllowImpreciseAddresses() { - + allowImpreciseAddresses_ = false; onChanged(); return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ @java.lang.Override @@ -1661,14 +1436,11 @@ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ @java.lang.Override @@ -1679,14 +1451,11 @@ public int getRoadTrafficValue() { return 0; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @param value The enum numeric value on the wire for roadTraffic to set. * @return This builder for chaining. */ @@ -1697,38 +1466,29 @@ public Builder setRoadTrafficValue(int value) { return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null - ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; } return com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @param value The roadTraffic to set. * @return This builder for chaining. */ @@ -1742,14 +1502,11 @@ public Builder setRoadTraffic(com.google.cloud.talent.v4.CommuteFilter.RoadTraff return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return This builder for chaining. */ public Builder clearRoadTraffic() { @@ -1762,13 +1519,8 @@ public Builder clearRoadTraffic() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> - departureTimeBuilder_; + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> departureTimeBuilder_; /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1776,7 +1528,6 @@ public Builder clearRoadTraffic() {
      * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -1784,8 +1535,6 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1793,7 +1542,6 @@ public boolean hasDepartureTime() {
      * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ @java.lang.Override @@ -1811,8 +1559,6 @@ public com.google.type.TimeOfDay getDepartureTime() { } } /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1835,8 +1581,6 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1845,7 +1589,8 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
      *
      * .google.type.TimeOfDay departure_time = 6;
      */
-    public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValue) {
+    public Builder setDepartureTime(
+        com.google.type.TimeOfDay.Builder builderForValue) {
       if (departureTimeBuilder_ == null) {
         trafficOption_ = builderForValue.build();
         onChanged();
@@ -1856,8 +1601,6 @@ public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1868,12 +1611,10 @@ public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValu
      */
     public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       if (departureTimeBuilder_ == null) {
-        if (trafficOptionCase_ == 6
-            && trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
-          trafficOption_ =
-              com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (trafficOptionCase_ == 6 &&
+            trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
+          trafficOption_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
+              .mergeFrom(value).buildPartial();
         } else {
           trafficOption_ = value;
         }
@@ -1889,8 +1630,6 @@ public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1916,8 +1655,6 @@ public Builder clearDepartureTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1930,8 +1667,6 @@ public com.google.type.TimeOfDay.Builder getDepartureTimeBuilder() {
       return getDepartureTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1952,8 +1687,6 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1963,30 +1696,26 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
      * .google.type.TimeOfDay departure_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.TimeOfDay,
-            com.google.type.TimeOfDay.Builder,
-            com.google.type.TimeOfDayOrBuilder>
+        com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
         getDepartureTimeFieldBuilder() {
       if (departureTimeBuilder_ == null) {
         if (!(trafficOptionCase_ == 6)) {
           trafficOption_ = com.google.type.TimeOfDay.getDefaultInstance();
         }
-        departureTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.TimeOfDay,
-                com.google.type.TimeOfDay.Builder,
-                com.google.type.TimeOfDayOrBuilder>(
-                (com.google.type.TimeOfDay) trafficOption_, getParentForChildren(), isClean());
+        departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                (com.google.type.TimeOfDay) trafficOption_,
+                getParentForChildren(),
+                isClean());
         trafficOption_ = null;
       }
       trafficOptionCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return departureTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1996,12 +1725,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CommuteFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CommuteFilter)
   private static final com.google.cloud.talent.v4.CommuteFilter DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CommuteFilter();
   }
@@ -2010,27 +1739,27 @@ public static com.google.cloud.talent.v4.CommuteFilter getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CommuteFilter parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CommuteFilter parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2045,4 +1774,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.CommuteFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
similarity index 78%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
index 9483d3957680..3dd0ff8d69cb 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
@@ -1,142 +1,92 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/filters.proto
 
 package com.google.cloud.talent.v4;
 
-public interface CommuteFilterOrBuilder
-    extends
+public interface CommuteFilterOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CommuteFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ int getCommuteMethodValue(); /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ com.google.cloud.talent.v4.CommuteMethod getCommuteMethod(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ boolean hasStartCoordinates(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ com.google.type.LatLng getStartCoordinates(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder(); /** - * - * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -146,51 +96,39 @@ public interface CommuteFilterOrBuilder
    * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ boolean getAllowImpreciseAddresses(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ boolean hasRoadTraffic(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ int getRoadTrafficValue(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -198,13 +136,10 @@ public interface CommuteFilterOrBuilder
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -212,13 +147,10 @@ public interface CommuteFilterOrBuilder
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ com.google.type.TimeOfDay getDepartureTime(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
similarity index 71%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
index 8f8d636dc0c6..ac378e5a42bb 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Method for commute. Walking, biking and wheelchair accessible transit is
  * still in the Preview stage.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.CommuteMethod}
  */
-public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
+public enum CommuteMethod
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Commute method isn't specified.
    * 
@@ -40,8 +22,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ COMMUTE_METHOD_UNSPECIFIED(0), /** - * - * *
    * Commute time is calculated based on driving time.
    * 
@@ -50,8 +30,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ DRIVING(1), /** - * - * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -61,8 +39,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   TRANSIT(2),
   /**
-   *
-   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -71,8 +47,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ WALKING(3), /** - * - * *
    * Commute time is calculated based on biking time.
    * 
@@ -81,8 +55,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ CYCLING(4), /** - * - * *
    * Commute time is calculated based on public transit that is wheelchair
    * accessible.
@@ -95,8 +67,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Commute method isn't specified.
    * 
@@ -105,8 +75,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Commute time is calculated based on driving time.
    * 
@@ -115,8 +83,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRIVING_VALUE = 1; /** - * - * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -126,8 +92,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TRANSIT_VALUE = 2;
   /**
-   *
-   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -136,8 +100,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WALKING_VALUE = 3; /** - * - * *
    * Commute time is calculated based on biking time.
    * 
@@ -146,8 +108,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CYCLING_VALUE = 4; /** - * - * *
    * Commute time is calculated based on public transit that is wheelchair
    * accessible.
@@ -157,6 +117,7 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TRANSIT_ACCESSIBLE_VALUE = 5;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -181,55 +142,52 @@ public static CommuteMethod valueOf(int value) {
    */
   public static CommuteMethod forNumber(int value) {
     switch (value) {
-      case 0:
-        return COMMUTE_METHOD_UNSPECIFIED;
-      case 1:
-        return DRIVING;
-      case 2:
-        return TRANSIT;
-      case 3:
-        return WALKING;
-      case 4:
-        return CYCLING;
-      case 5:
-        return TRANSIT_ACCESSIBLE;
-      default:
-        return null;
+      case 0: return COMMUTE_METHOD_UNSPECIFIED;
+      case 1: return DRIVING;
+      case 2: return TRANSIT;
+      case 3: return WALKING;
+      case 4: return CYCLING;
+      case 5: return TRANSIT_ACCESSIBLE;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public CommuteMethod findValueByNumber(int number) {
-          return CommuteMethod.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      CommuteMethod> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public CommuteMethod findValueByNumber(int number) {
+            return CommuteMethod.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(9);
   }
 
   private static final CommuteMethod[] VALUES = values();
 
-  public static CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static CommuteMethod valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -245,3 +203,4 @@ private CommuteMethod(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CommuteMethod)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
similarity index 75%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
index 435b39408003..d4e7957a23a1 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * A Company resource represents a company in the service. A company is the
  * entity that owns job postings, that is, the hiring entity responsible for
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Company}
  */
-public final class Company extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Company extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Company)
     CompanyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Company.newBuilder() to construct.
   private Company(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Company() {
     name_ = "";
     displayName_ = "";
@@ -54,64 +36,54 @@ private Company() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Company();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.CompanyProto
-        .internal_static_google_cloud_talent_v4_Company_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CompanyProto
-        .internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
+    return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.Company.class,
-            com.google.cloud.talent.v4.Company.Builder.class);
+            com.google.cloud.talent.v4.Company.class, com.google.cloud.talent.v4.Company.Builder.class);
   }
 
-  public interface DerivedInfoOrBuilder
-      extends
+  public interface DerivedInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Company.DerivedInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ boolean hasHeadquartersLocation(); /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return The headquartersLocation. */ com.google.cloud.talent.v4.Location getHeadquartersLocation(); /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -122,64 +94,58 @@ public interface DerivedInfoOrBuilder
     com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Derived details about the company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Company.DerivedInfo} */ - public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DerivedInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Company.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DerivedInfo() {} + private DerivedInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Company.DerivedInfo.class, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Company.DerivedInfo.class, com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); } public static final int HEADQUARTERS_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Location headquartersLocation_; /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ @java.lang.Override @@ -187,26 +153,19 @@ public boolean hasHeadquartersLocation() { return headquartersLocation_ != null; } /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return The headquartersLocation. */ @java.lang.Override public com.google.cloud.talent.v4.Location getHeadquartersLocation() { - return headquartersLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : headquartersLocation_; + return headquartersLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_; } /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -220,7 +179,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -232,7 +190,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (headquartersLocation_ != null) {
         output.writeMessage(1, getHeadquartersLocation());
       }
@@ -246,8 +205,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (headquartersLocation_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeadquartersLocation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getHeadquartersLocation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -257,17 +216,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.Company.DerivedInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.Company.DerivedInfo other =
-          (com.google.cloud.talent.v4.Company.DerivedInfo) obj;
+      com.google.cloud.talent.v4.Company.DerivedInfo other = (com.google.cloud.talent.v4.Company.DerivedInfo) obj;
 
       if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
       if (hasHeadquartersLocation()) {
-        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
+        if (!getHeadquartersLocation()
+            .equals(other.getHeadquartersLocation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -289,94 +248,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(java.nio.ByteBuffer data)
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.cloud.talent.v4.Company.DerivedInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -386,41 +339,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Derived details about the company.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Company.DerivedInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Company.DerivedInfo) com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Company.DerivedInfo.class, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Company.DerivedInfo.class, com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override @@ -455,8 +406,7 @@ public com.google.cloud.talent.v4.Company.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfo buildPartial() { - com.google.cloud.talent.v4.Company.DerivedInfo result = - new com.google.cloud.talent.v4.Company.DerivedInfo(this); + com.google.cloud.talent.v4.Company.DerivedInfo result = new com.google.cloud.talent.v4.Company.DerivedInfo(this); if (headquartersLocationBuilder_ == null) { result.headquartersLocation_ = headquartersLocation_; } else { @@ -470,41 +420,38 @@ public com.google.cloud.talent.v4.Company.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Company.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4.Company.DerivedInfo) other); + return mergeFrom((com.google.cloud.talent.v4.Company.DerivedInfo)other); } else { super.mergeFrom(other); return this; @@ -512,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Company.DerivedInfo other) { - if (other == com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance()) return this; if (other.hasHeadquartersLocation()) { mergeHeadquartersLocation(other.getHeadquartersLocation()); } @@ -543,20 +489,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getHeadquartersLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getHeadquartersLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -569,49 +514,36 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> - headquartersLocationBuilder_; + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> headquartersLocationBuilder_; /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ public boolean hasHeadquartersLocation() { return headquartersLocationBuilder_ != null || headquartersLocation_ != null; } /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return The headquartersLocation. */ public com.google.cloud.talent.v4.Location getHeadquartersLocation() { if (headquartersLocationBuilder_ == null) { - return headquartersLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : headquartersLocation_; + return headquartersLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_; } else { return headquartersLocationBuilder_.getMessage(); } } /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -633,8 +565,6 @@ public Builder setHeadquartersLocation(com.google.cloud.talent.v4.Location value
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -654,8 +584,6 @@ public Builder setHeadquartersLocation(
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -667,9 +595,7 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4.Location val
         if (headquartersLocationBuilder_ == null) {
           if (headquartersLocation_ != null) {
             headquartersLocation_ =
-                com.google.cloud.talent.v4.Location.newBuilder(headquartersLocation_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4.Location.newBuilder(headquartersLocation_).mergeFrom(value).buildPartial();
           } else {
             headquartersLocation_ = value;
           }
@@ -681,8 +607,6 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4.Location val
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -702,8 +626,6 @@ public Builder clearHeadquartersLocation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -712,13 +634,11 @@ public Builder clearHeadquartersLocation() {
        * .google.cloud.talent.v4.Location headquarters_location = 1;
        */
       public com.google.cloud.talent.v4.Location.Builder getHeadquartersLocationBuilder() {
-
+        
         onChanged();
         return getHeadquartersLocationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -730,14 +650,11 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
         if (headquartersLocationBuilder_ != null) {
           return headquartersLocationBuilder_.getMessageOrBuilder();
         } else {
-          return headquartersLocation_ == null
-              ? com.google.cloud.talent.v4.Location.getDefaultInstance()
-              : headquartersLocation_;
+          return headquartersLocation_ == null ?
+              com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_;
         }
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -746,22 +663,18 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
        * .google.cloud.talent.v4.Location headquarters_location = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4.Location,
-              com.google.cloud.talent.v4.Location.Builder,
-              com.google.cloud.talent.v4.LocationOrBuilder>
+          com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
           getHeadquartersLocationFieldBuilder() {
         if (headquartersLocationBuilder_ == null) {
-          headquartersLocationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4.Location,
-                  com.google.cloud.talent.v4.Location.Builder,
-                  com.google.cloud.talent.v4.LocationOrBuilder>(
-                  getHeadquartersLocation(), getParentForChildren(), isClean());
+          headquartersLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
+                  getHeadquartersLocation(),
+                  getParentForChildren(),
+                  isClean());
           headquartersLocation_ = null;
         }
         return headquartersLocationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -774,12 +687,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Company.DerivedInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Company.DerivedInfo)
     private static final com.google.cloud.talent.v4.Company.DerivedInfo DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Company.DerivedInfo();
     }
@@ -788,28 +701,27 @@ public static com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstance(
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DerivedInfo parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DerivedInfo parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -824,13 +736,12 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -841,7 +752,6 @@ public com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstanceForType(
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -850,15 +760,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -869,15 +778,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -888,14 +798,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -904,29 +811,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -937,8 +844,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int EXTERNAL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object externalId_; /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -946,7 +851,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ @java.lang.Override @@ -955,15 +859,14 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -971,15 +874,16 @@ public java.lang.String getExternalId() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -990,44 +894,33 @@ public com.google.protobuf.ByteString getExternalIdBytes() { public static final int SIZE_FIELD_NUMBER = 4; private int size_; /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ - @java.lang.Override - public int getSizeValue() { + @java.lang.Override public int getSizeValue() { return size_; } /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The size. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompanySize getSize() { + @java.lang.Override public com.google.cloud.talent.v4.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompanySize result = - com.google.cloud.talent.v4.CompanySize.valueOf(size_); + com.google.cloud.talent.v4.CompanySize result = com.google.cloud.talent.v4.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4.CompanySize.UNRECOGNIZED : result; } public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER = 5; private volatile java.lang.Object headquartersAddress_; /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -1036,7 +929,6 @@ public com.google.cloud.talent.v4.CompanySize getSize() {
    * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ @java.lang.Override @@ -1045,15 +937,14 @@ public java.lang.String getHeadquartersAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; } } /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -1062,15 +953,16 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString + getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -1081,8 +973,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() { public static final int HIRING_AGENCY_FIELD_NUMBER = 6; private boolean hiringAgency_; /** - * - * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -1090,7 +980,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() {
    * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ @java.lang.Override @@ -1101,8 +990,6 @@ public boolean getHiringAgency() { public static final int EEO_TEXT_FIELD_NUMBER = 7; private volatile java.lang.Object eeoText_; /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1111,7 +998,6 @@ public boolean getHiringAgency() {
    * 
* * string eeo_text = 7; - * * @return The eeoText. */ @java.lang.Override @@ -1120,15 +1006,14 @@ public java.lang.String getEeoText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; } } /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1137,15 +1022,16 @@ public java.lang.String getEeoText() {
    * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ @java.lang.Override - public com.google.protobuf.ByteString getEeoTextBytes() { + public com.google.protobuf.ByteString + getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eeoText_ = b; return b; } else { @@ -1156,8 +1042,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() { public static final int WEBSITE_URI_FIELD_NUMBER = 8; private volatile java.lang.Object websiteUri_; /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1165,7 +1049,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() {
    * 
* * string website_uri = 8; - * * @return The websiteUri. */ @java.lang.Override @@ -1174,15 +1057,14 @@ public java.lang.String getWebsiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; } } /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1190,15 +1072,16 @@ public java.lang.String getWebsiteUri() {
    * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString getWebsiteUriBytes() { + public com.google.protobuf.ByteString + getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -1209,15 +1092,12 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() { public static final int CAREER_SITE_URI_FIELD_NUMBER = 9; private volatile java.lang.Object careerSiteUri_; /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ @java.lang.Override @@ -1226,30 +1106,30 @@ public java.lang.String getCareerSiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; } } /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString getCareerSiteUriBytes() { + public com.google.protobuf.ByteString + getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -1260,14 +1140,11 @@ public com.google.protobuf.ByteString getCareerSiteUriBytes() { public static final int IMAGE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object imageUri_; /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The imageUri. */ @java.lang.Override @@ -1276,29 +1153,29 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -1309,8 +1186,6 @@ public com.google.protobuf.ByteString getImageUriBytes() { public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_; /** - * - * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -1321,15 +1196,13 @@ public com.google.protobuf.ByteString getImageUriBytes() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @return A list containing the keywordSearchableJobCustomAttributes. */ - public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { + public com.google.protobuf.ProtocolStringList + getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_; } /** - * - * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -1340,15 +1213,12 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @return The count of keywordSearchableJobCustomAttributes. */ public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** - * - * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -1359,7 +1229,6 @@ public int getKeywordSearchableJobCustomAttributesCount() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ @@ -1367,8 +1236,6 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** - * - * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -1379,27 +1246,22 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { + public com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } public static final int DERIVED_INFO_FIELD_NUMBER = 12; private com.google.cloud.talent.v4.Company.DerivedInfo derivedInfo_; /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -1407,34 +1269,23 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -1444,8 +1295,6 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB public static final int SUSPENDED_FIELD_NUMBER = 13; private boolean suspended_; /** - * - * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -1453,7 +1302,6 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ @java.lang.Override @@ -1462,7 +1310,6 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1474,7 +1321,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1506,8 +1354,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageUri_); } for (int i = 0; i < keywordSearchableJobCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); } if (derivedInfo_ != null) { output.writeMessage(12, getDerivedInfo()); @@ -1534,13 +1381,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalId_); } if (size_ != com.google.cloud.talent.v4.CompanySize.COMPANY_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, size_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headquartersAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, headquartersAddress_); } if (hiringAgency_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hiringAgency_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, hiringAgency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eeoText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eeoText_); @@ -1563,10 +1412,12 @@ public int getSerializedSize() { size += 1 * getKeywordSearchableJobCustomAttributesList().size(); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDerivedInfo()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, suspended_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1576,30 +1427,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Company)) { return super.equals(obj); } com.google.cloud.talent.v4.Company other = (com.google.cloud.talent.v4.Company) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getExternalId().equals(other.getExternalId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getExternalId() + .equals(other.getExternalId())) return false; if (size_ != other.size_) return false; - if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; - if (getHiringAgency() != other.getHiringAgency()) return false; - if (!getEeoText().equals(other.getEeoText())) return false; - if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; - if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; - if (!getImageUri().equals(other.getImageUri())) return false; + if (!getHeadquartersAddress() + .equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() + != other.getHiringAgency()) return false; + if (!getEeoText() + .equals(other.getEeoText())) return false; + if (!getWebsiteUri() + .equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri() + .equals(other.getCareerSiteUri())) return false; + if (!getImageUri() + .equals(other.getImageUri())) return false; if (!getKeywordSearchableJobCustomAttributesList() .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo() + .equals(other.getDerivedInfo())) return false; } - if (getSuspended() != other.getSuspended()) return false; + if (getSuspended() + != other.getSuspended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1622,7 +1484,8 @@ public int hashCode() { hash = (37 * hash) + HEADQUARTERS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getHeadquartersAddress().hashCode(); hash = (37 * hash) + HIRING_AGENCY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHiringAgency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHiringAgency()); hash = (37 * hash) + EEO_TEXT_FIELD_NUMBER; hash = (53 * hash) + getEeoText().hashCode(); hash = (37 * hash) + WEBSITE_URI_FIELD_NUMBER; @@ -1640,109 +1503,104 @@ public int hashCode() { hash = (53 * hash) + getDerivedInfo().hashCode(); } hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuspended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.Company parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Company parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Company parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Company parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.Company parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Company parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Company parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Company parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Company parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Company parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Company prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Company resource represents a company in the service. A company is the
    * entity that owns job postings, that is, the hiring entity responsible for
@@ -1751,32 +1609,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.Company}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Company)
       com.google.cloud.talent.v4.CompanyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CompanyProto
-          .internal_static_google_cloud_talent_v4_Company_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CompanyProto
-          .internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
+      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.Company.class,
-              com.google.cloud.talent.v4.Company.Builder.class);
+              com.google.cloud.talent.v4.Company.class, com.google.cloud.talent.v4.Company.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Company.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1814,9 +1673,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.CompanyProto
-          .internal_static_google_cloud_talent_v4_Company_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
     }
 
     @java.lang.Override
@@ -1848,8 +1707,7 @@ public com.google.cloud.talent.v4.Company buildPartial() {
       result.careerSiteUri_ = careerSiteUri_;
       result.imageUri_ = imageUri_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableJobCustomAttributes_ =
-            keywordSearchableJobCustomAttributes_.getUnmodifiableView();
+        keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_;
@@ -1867,39 +1725,38 @@ public com.google.cloud.talent.v4.Company buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Company) {
-        return mergeFrom((com.google.cloud.talent.v4.Company) other);
+        return mergeFrom((com.google.cloud.talent.v4.Company)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1988,92 +1845,80 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                externalId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              externalId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                size_ = input.readEnum();
+              break;
+            } // case 26
+            case 32: {
+              size_ = input.readEnum();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                headquartersAddress_ = input.readStringRequireUtf8();
+              break;
+            } // case 32
+            case 42: {
+              headquartersAddress_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 48:
-              {
-                hiringAgency_ = input.readBool();
+              break;
+            } // case 42
+            case 48: {
+              hiringAgency_ = input.readBool();
 
-                break;
-              } // case 48
-            case 58:
-              {
-                eeoText_ = input.readStringRequireUtf8();
+              break;
+            } // case 48
+            case 58: {
+              eeoText_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 58
-            case 66:
-              {
-                websiteUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 58
+            case 66: {
+              websiteUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 66
-            case 74:
-              {
-                careerSiteUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 66
+            case 74: {
+              careerSiteUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 74
-            case 82:
-              {
-                imageUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 74
+            case 82: {
+              imageUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 82
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureKeywordSearchableJobCustomAttributesIsMutable();
-                keywordSearchableJobCustomAttributes_.add(s);
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 82
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureKeywordSearchableJobCustomAttributesIsMutable();
+              keywordSearchableJobCustomAttributes_.add(s);
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getDerivedInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 98
-            case 104:
-              {
-                suspended_ = input.readBool();
+              break;
+            } // case 98
+            case 104: {
+              suspended_ = input.readBool();
 
-                break;
-              } // case 104
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 104
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2083,13 +1928,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2100,13 +1942,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2115,8 +1957,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2127,14 +1967,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2142,8 +1983,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2154,22 +1993,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2180,18 +2017,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2202,16 +2036,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2219,20 +2053,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2241,21 +2073,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2263,61 +2094,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2325,8 +2149,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalId_ = ""; /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2334,13 +2156,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -2349,8 +2171,6 @@ public java.lang.String getExternalId() { } } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2358,14 +2178,15 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -2373,8 +2194,6 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2382,22 +2201,20 @@ public com.google.protobuf.ByteString getExternalIdBytes() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId(java.lang.String value) { + public Builder setExternalId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2405,18 +2222,15 @@ public Builder setExternalId(java.lang.String value) {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2424,16 +2238,16 @@ public Builder clearExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -2441,65 +2255,51 @@ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { private int size_ = 0; /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ - @java.lang.Override - public int getSizeValue() { + @java.lang.Override public int getSizeValue() { return size_; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @param value The enum numeric value on the wire for size to set. * @return This builder for chaining. */ public Builder setSizeValue(int value) { - + size_ = value; onChanged(); return this; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The size. */ @java.lang.Override public com.google.cloud.talent.v4.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompanySize result = - com.google.cloud.talent.v4.CompanySize.valueOf(size_); + com.google.cloud.talent.v4.CompanySize result = com.google.cloud.talent.v4.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4.CompanySize.UNRECOGNIZED : result; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @param value The size to set. * @return This builder for chaining. */ @@ -2507,24 +2307,21 @@ public Builder setSize(com.google.cloud.talent.v4.CompanySize value) { if (value == null) { throw new NullPointerException(); } - + size_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0; onChanged(); return this; @@ -2532,8 +2329,6 @@ public Builder clearSize() { private java.lang.Object headquartersAddress_ = ""; /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2542,13 +2337,13 @@ public Builder clearSize() {
      * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ public java.lang.String getHeadquartersAddress() { java.lang.Object ref = headquartersAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; @@ -2557,8 +2352,6 @@ public java.lang.String getHeadquartersAddress() { } } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2567,14 +2360,15 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ - public com.google.protobuf.ByteString getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString + getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -2582,8 +2376,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() { } } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2592,22 +2384,20 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() {
      * 
* * string headquarters_address = 5; - * * @param value The headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddress(java.lang.String value) { + public Builder setHeadquartersAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + headquartersAddress_ = value; onChanged(); return this; } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2616,18 +2406,15 @@ public Builder setHeadquartersAddress(java.lang.String value) {
      * 
* * string headquarters_address = 5; - * * @return This builder for chaining. */ public Builder clearHeadquartersAddress() { - + headquartersAddress_ = getDefaultInstance().getHeadquartersAddress(); onChanged(); return this; } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2636,25 +2423,23 @@ public Builder clearHeadquartersAddress() {
      * 
* * string headquarters_address = 5; - * * @param value The bytes for headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value) { + public Builder setHeadquartersAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + headquartersAddress_ = value; onChanged(); return this; } - private boolean hiringAgency_; + private boolean hiringAgency_ ; /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2662,7 +2447,6 @@ public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value)
      * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ @java.lang.Override @@ -2670,8 +2454,6 @@ public boolean getHiringAgency() { return hiringAgency_; } /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2679,19 +2461,16 @@ public boolean getHiringAgency() {
      * 
* * bool hiring_agency = 6; - * * @param value The hiringAgency to set. * @return This builder for chaining. */ public Builder setHiringAgency(boolean value) { - + hiringAgency_ = value; onChanged(); return this; } /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2699,11 +2478,10 @@ public Builder setHiringAgency(boolean value) {
      * 
* * bool hiring_agency = 6; - * * @return This builder for chaining. */ public Builder clearHiringAgency() { - + hiringAgency_ = false; onChanged(); return this; @@ -2711,8 +2489,6 @@ public Builder clearHiringAgency() { private java.lang.Object eeoText_ = ""; /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2721,13 +2497,13 @@ public Builder clearHiringAgency() {
      * 
* * string eeo_text = 7; - * * @return The eeoText. */ public java.lang.String getEeoText() { java.lang.Object ref = eeoText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; @@ -2736,8 +2512,6 @@ public java.lang.String getEeoText() { } } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2746,14 +2520,15 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ - public com.google.protobuf.ByteString getEeoTextBytes() { + public com.google.protobuf.ByteString + getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eeoText_ = b; return b; } else { @@ -2761,8 +2536,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() { } } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2771,22 +2544,20 @@ public com.google.protobuf.ByteString getEeoTextBytes() {
      * 
* * string eeo_text = 7; - * * @param value The eeoText to set. * @return This builder for chaining. */ - public Builder setEeoText(java.lang.String value) { + public Builder setEeoText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eeoText_ = value; onChanged(); return this; } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2795,18 +2566,15 @@ public Builder setEeoText(java.lang.String value) {
      * 
* * string eeo_text = 7; - * * @return This builder for chaining. */ public Builder clearEeoText() { - + eeoText_ = getDefaultInstance().getEeoText(); onChanged(); return this; } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2815,16 +2583,16 @@ public Builder clearEeoText() {
      * 
* * string eeo_text = 7; - * * @param value The bytes for eeoText to set. * @return This builder for chaining. */ - public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { + public Builder setEeoTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eeoText_ = value; onChanged(); return this; @@ -2832,8 +2600,6 @@ public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object websiteUri_ = ""; /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2841,13 +2607,13 @@ public Builder setEeoTextBytes(com.google.protobuf.ByteString value) {
      * 
* * string website_uri = 8; - * * @return The websiteUri. */ public java.lang.String getWebsiteUri() { java.lang.Object ref = websiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; @@ -2856,8 +2622,6 @@ public java.lang.String getWebsiteUri() { } } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2865,14 +2629,15 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ - public com.google.protobuf.ByteString getWebsiteUriBytes() { + public com.google.protobuf.ByteString + getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -2880,8 +2645,6 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() { } } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2889,22 +2652,20 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() {
      * 
* * string website_uri = 8; - * * @param value The websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUri(java.lang.String value) { + public Builder setWebsiteUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + websiteUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2912,18 +2673,15 @@ public Builder setWebsiteUri(java.lang.String value) {
      * 
* * string website_uri = 8; - * * @return This builder for chaining. */ public Builder clearWebsiteUri() { - + websiteUri_ = getDefaultInstance().getWebsiteUri(); onChanged(); return this; } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2931,16 +2689,16 @@ public Builder clearWebsiteUri() {
      * 
* * string website_uri = 8; - * * @param value The bytes for websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { + public Builder setWebsiteUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + websiteUri_ = value; onChanged(); return this; @@ -2948,21 +2706,19 @@ public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object careerSiteUri_ = ""; /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ public java.lang.String getCareerSiteUri() { java.lang.Object ref = careerSiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; @@ -2971,22 +2727,21 @@ public java.lang.String getCareerSiteUri() { } } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ - public com.google.protobuf.ByteString getCareerSiteUriBytes() { + public com.google.protobuf.ByteString + getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -2994,64 +2749,57 @@ public com.google.protobuf.ByteString getCareerSiteUriBytes() { } } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @param value The careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUri(java.lang.String value) { + public Builder setCareerSiteUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + careerSiteUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return This builder for chaining. */ public Builder clearCareerSiteUri() { - + careerSiteUri_ = getDefaultInstance().getCareerSiteUri(); onChanged(); return this; } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @param value The bytes for careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { + public Builder setCareerSiteUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + careerSiteUri_ = value; onChanged(); return this; @@ -3059,20 +2807,18 @@ public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageUri_ = ""; /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -3081,21 +2827,20 @@ public java.lang.String getImageUri() { } } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -3103,79 +2848,67 @@ public com.google.protobuf.ByteString getImageUriBytes() { } } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri(java.lang.String value) { + public Builder setImageUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes(com.google.protobuf.ByteString value) { + public Builder setImageUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeywordSearchableJobCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableJobCustomAttributes_ = - new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); + keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3186,15 +2919,13 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @return A list containing the keywordSearchableJobCustomAttributes. */ - public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { + public com.google.protobuf.ProtocolStringList + getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3205,15 +2936,12 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @return The count of keywordSearchableJobCustomAttributes. */ public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3224,7 +2952,6 @@ public int getKeywordSearchableJobCustomAttributesCount() {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ @@ -3232,8 +2959,6 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3244,16 +2969,14 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { + public com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3264,23 +2987,21 @@ public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesByt
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param index The index to set the value at. * @param value The keywordSearchableJobCustomAttributes to set. * @return This builder for chaining. */ - public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.String value) { + public Builder setKeywordSearchableJobCustomAttributes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3291,22 +3012,20 @@ public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.Stri
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param value The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) { + public Builder addKeywordSearchableJobCustomAttributes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3317,7 +3036,6 @@ public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param values The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ @@ -3330,8 +3048,6 @@ public Builder addAllKeywordSearchableJobCustomAttributes( return this; } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3342,7 +3058,6 @@ public Builder addAllKeywordSearchableJobCustomAttributes(
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @return This builder for chaining. */ public Builder clearKeywordSearchableJobCustomAttributes() { @@ -3352,8 +3067,6 @@ public Builder clearKeywordSearchableJobCustomAttributes() { return this; } /** - * - * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3364,16 +3077,15 @@ public Builder clearKeywordSearchableJobCustomAttributes() {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param value The bytes of the keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ public Builder addKeywordSearchableJobCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); @@ -3382,58 +3094,39 @@ public Builder addKeywordSearchableJobCustomAttributesBytes( private com.google.cloud.talent.v4.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> - derivedInfoBuilder_; + com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> derivedInfoBuilder_; /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ public com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -3449,15 +3142,11 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo val return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo( com.google.cloud.talent.v4.Company.DerivedInfo.Builder builderForValue) { @@ -3471,23 +3160,17 @@ public Builder setDerivedInfo( return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder(derivedInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); } else { derivedInfo_ = value; } @@ -3499,15 +3182,11 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo v return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -3521,73 +3200,55 @@ public Builder clearDerivedInfo() { return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4.Company.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? + com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> + com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder>( - getDerivedInfo(), getParentForChildren(), isClean()); + derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder>( + getDerivedInfo(), + getParentForChildren(), + isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; } - private boolean suspended_; + private boolean suspended_ ; /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3595,7 +3256,6 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ @java.lang.Override @@ -3603,8 +3263,6 @@ public boolean getSuspended() { return suspended_; } /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3612,19 +3270,16 @@ public boolean getSuspended() {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The suspended to set. * @return This builder for chaining. */ public Builder setSuspended(boolean value) { - + suspended_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3632,18 +3287,17 @@ public Builder setSuspended(boolean value) {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSuspended() { - + suspended_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3653,12 +3307,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Company) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Company) private static final com.google.cloud.talent.v4.Company DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Company(); } @@ -3667,27 +3321,27 @@ public static com.google.cloud.talent.v4.Company getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Company parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Company parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3702,4 +3356,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Company getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java similarity index 82% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java index 5f26e382f9a2..b3c1e0bdee12 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company.proto package com.google.cloud.talent.v4; -public interface CompanyOrBuilder - extends +public interface CompanyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Company) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -36,13 +18,10 @@ public interface CompanyOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -53,39 +32,32 @@ public interface CompanyOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -93,13 +65,10 @@ public interface CompanyOrBuilder
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ java.lang.String getExternalId(); /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -107,39 +76,31 @@ public interface CompanyOrBuilder
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - com.google.protobuf.ByteString getExternalIdBytes(); + com.google.protobuf.ByteString + getExternalIdBytes(); /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ int getSizeValue(); /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The size. */ com.google.cloud.talent.v4.CompanySize getSize(); /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -148,13 +109,10 @@ public interface CompanyOrBuilder
    * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ java.lang.String getHeadquartersAddress(); /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -163,14 +121,12 @@ public interface CompanyOrBuilder
    * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ - com.google.protobuf.ByteString getHeadquartersAddressBytes(); + com.google.protobuf.ByteString + getHeadquartersAddressBytes(); /** - * - * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -178,14 +134,11 @@ public interface CompanyOrBuilder
    * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ boolean getHiringAgency(); /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -194,13 +147,10 @@ public interface CompanyOrBuilder
    * 
* * string eeo_text = 7; - * * @return The eeoText. */ java.lang.String getEeoText(); /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -209,14 +159,12 @@ public interface CompanyOrBuilder
    * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ - com.google.protobuf.ByteString getEeoTextBytes(); + com.google.protobuf.ByteString + getEeoTextBytes(); /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -224,13 +172,10 @@ public interface CompanyOrBuilder
    * 
* * string website_uri = 8; - * * @return The websiteUri. */ java.lang.String getWebsiteUri(); /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -238,66 +183,54 @@ public interface CompanyOrBuilder
    * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ - com.google.protobuf.ByteString getWebsiteUriBytes(); + com.google.protobuf.ByteString + getWebsiteUriBytes(); /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ java.lang.String getCareerSiteUri(); /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ - com.google.protobuf.ByteString getCareerSiteUriBytes(); + com.google.protobuf.ByteString + getCareerSiteUriBytes(); /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The imageUri. */ java.lang.String getImageUri(); /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString getImageUriBytes(); + com.google.protobuf.ByteString + getImageUriBytes(); /** - * - * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -308,13 +241,11 @@ public interface CompanyOrBuilder
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @return A list containing the keywordSearchableJobCustomAttributes. */ - java.util.List getKeywordSearchableJobCustomAttributesList(); + java.util.List + getKeywordSearchableJobCustomAttributesList(); /** - * - * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -325,13 +256,10 @@ public interface CompanyOrBuilder
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @return The count of keywordSearchableJobCustomAttributes. */ int getKeywordSearchableJobCustomAttributesCount(); /** - * - * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -342,14 +270,11 @@ public interface CompanyOrBuilder
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ java.lang.String getKeywordSearchableJobCustomAttributes(int index); /** - * - * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -360,56 +285,40 @@ public interface CompanyOrBuilder
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index); + com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo(); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** - * - * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -417,7 +326,6 @@ public interface CompanyOrBuilder
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ boolean getSuspended(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java new file mode 100644 index 000000000000..eb045aeeaee5 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java @@ -0,0 +1,90 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company.proto + +package com.google.cloud.talent.v4; + +public final class CompanyProto { + private CompanyProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Company_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Company_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n$google/cloud/talent/v4/company.proto\022\026" + + "google.cloud.talent.v4\032\037google/api/field" + + "_behavior.proto\032\031google/api/resource.pro" + + "to\032#google/cloud/talent/v4/common.proto\"" + + "\304\004\n\007Company\022\014\n\004name\030\001 \001(\t\022\031\n\014display_nam" + + "e\030\002 \001(\tB\003\340A\002\022\030\n\013external_id\030\003 \001(\tB\003\340A\002\0221" + + "\n\004size\030\004 \001(\0162#.google.cloud.talent.v4.Co" + + "mpanySize\022\034\n\024headquarters_address\030\005 \001(\t\022" + + "\025\n\rhiring_agency\030\006 \001(\010\022\020\n\010eeo_text\030\007 \001(\t" + + "\022\023\n\013website_uri\030\010 \001(\t\022\027\n\017career_site_uri" + + "\030\t \001(\t\022\021\n\timage_uri\030\n \001(\t\0220\n(keyword_sea" + + "rchable_job_custom_attributes\030\013 \003(\t\022F\n\014d" + + "erived_info\030\014 \001(\0132+.google.cloud.talent." + + "v4.Company.DerivedInfoB\003\340A\003\022\026\n\tsuspended" + + "\030\r \001(\010B\003\340A\003\032N\n\013DerivedInfo\022?\n\025headquarte" + + "rs_location\030\001 \001(\0132 .google.cloud.talent." + + "v4.Location:Y\352AV\n\033jobs.googleapis.com/Co" + + "mpany\0227projects/{project}/tenants/{tenan" + + "t}/companies/{company}Bp\n\032com.google.clo" + + "ud.talent.v4B\014CompanyProtoP\001Z23/v4/{company.name=projects/*/te" + + "nants/*/companies/*}:\007company\332A\023company," + + "update_mask\022\221\001\n\rDeleteCompany\022,.google.c" + + "loud.talent.v4.DeleteCompanyRequest\032\026.go" + + "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v4/{name=p" + + "rojects/*/tenants/*/companies/*}\332A\004name\022" + + "\252\001\n\rListCompanies\022,.google.cloud.talent." + + "v4.ListCompaniesRequest\032-.google.cloud.t" + + "alent.v4.ListCompaniesResponse\"<\202\323\344\223\002-\022+" + + "/v4/{parent=projects/*/tenants/*}/compan" + + "ies\332A\006parent\032l\312A\023jobs.googleapis.com\322ASh" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tform,https://www.googleapis.com/auth/jo" + + "bsBw\n\032com.google.cloud.talent.v4B\023Compan" + + "yServiceProtoP\001Z * An enum that represents the size of the company. *
* * Protobuf enum {@code google.cloud.talent.v4.CompanySize} */ -public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { +public enum CompanySize + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if the size isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ COMPANY_SIZE_UNSPECIFIED(0), /** - * - * *
    * The company has less than 50 employees.
    * 
@@ -49,8 +29,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ MINI(1), /** - * - * *
    * The company has between 50 and 99 employees.
    * 
@@ -59,8 +37,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ SMALL(2), /** - * - * *
    * The company has between 100 and 499 employees.
    * 
@@ -69,8 +45,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ SMEDIUM(3), /** - * - * *
    * The company has between 500 and 999 employees.
    * 
@@ -79,8 +53,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ MEDIUM(4), /** - * - * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -89,8 +61,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ BIG(5), /** - * - * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -99,8 +69,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ BIGGER(6), /** - * - * *
    * The company has 10,000 or more employees.
    * 
@@ -112,8 +80,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value if the size isn't specified.
    * 
@@ -122,8 +88,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPANY_SIZE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The company has less than 50 employees.
    * 
@@ -132,8 +96,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MINI_VALUE = 1; /** - * - * *
    * The company has between 50 and 99 employees.
    * 
@@ -142,8 +104,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SMALL_VALUE = 2; /** - * - * *
    * The company has between 100 and 499 employees.
    * 
@@ -152,8 +112,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SMEDIUM_VALUE = 3; /** - * - * *
    * The company has between 500 and 999 employees.
    * 
@@ -162,8 +120,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIUM_VALUE = 4; /** - * - * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -172,8 +128,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIG_VALUE = 5; /** - * - * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -182,8 +136,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGGER_VALUE = 6; /** - * - * *
    * The company has 10,000 or more employees.
    * 
@@ -192,6 +144,7 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GIANT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static CompanySize valueOf(int value) { */ public static CompanySize forNumber(int value) { switch (value) { - case 0: - return COMPANY_SIZE_UNSPECIFIED; - case 1: - return MINI; - case 2: - return SMALL; - case 3: - return SMEDIUM; - case 4: - return MEDIUM; - case 5: - return BIG; - case 6: - return BIGGER; - case 7: - return GIANT; - default: - return null; + case 0: return COMPANY_SIZE_UNSPECIFIED; + case 1: return MINI; + case 2: return SMALL; + case 3: return SMEDIUM; + case 4: return MEDIUM; + case 5: return BIG; + case 6: return BIGGER; + case 7: return GIANT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompanySize findValueByNumber(int number) { - return CompanySize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + CompanySize> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompanySize findValueByNumber(int number) { + return CompanySize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final CompanySize[] VALUES = values(); - public static CompanySize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CompanySize valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private CompanySize(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CompanySize) } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java similarity index 69% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java index 954fc885ef93..6b99c5ed88d9 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; /** - * - * *
  * Filter on job compensation type and amount.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationFilter} */ -public final class CompensationFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompensationFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationFilter) CompensationFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompensationFilter.newBuilder() to construct. private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); @@ -44,43 +26,39 @@ private CompensationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationFilter.class, - com.google.cloud.talent.v4.CompensationFilter.Builder.class); + com.google.cloud.talent.v4.CompensationFilter.class, com.google.cloud.talent.v4.CompensationFilter.Builder.class); } /** - * - * *
    * Specify the type of filtering.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompensationFilter.FilterType} */ - public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -89,8 +67,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { */ FILTER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -104,8 +80,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNIT_ONLY(1),
     /**
-     *
-     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -122,8 +96,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNIT_AND_AMOUNT(2),
     /**
-     *
-     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -133,8 +105,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     ANNUALIZED_BASE_AMOUNT(3),
     /**
-     *
-     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -147,8 +117,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -157,8 +125,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILTER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -172,8 +138,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIT_ONLY_VALUE = 1;
     /**
-     *
-     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -190,8 +154,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIT_AND_AMOUNT_VALUE = 2;
     /**
-     *
-     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -201,8 +163,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANNUALIZED_BASE_AMOUNT_VALUE = 3;
     /**
-     *
-     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -212,6 +172,7 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANNUALIZED_TOTAL_AMOUNT_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -236,53 +197,51 @@ public static FilterType valueOf(int value) {
      */
     public static FilterType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FILTER_TYPE_UNSPECIFIED;
-        case 1:
-          return UNIT_ONLY;
-        case 2:
-          return UNIT_AND_AMOUNT;
-        case 3:
-          return ANNUALIZED_BASE_AMOUNT;
-        case 4:
-          return ANNUALIZED_TOTAL_AMOUNT;
-        default:
-          return null;
+        case 0: return FILTER_TYPE_UNSPECIFIED;
+        case 1: return UNIT_ONLY;
+        case 2: return UNIT_AND_AMOUNT;
+        case 3: return ANNUALIZED_BASE_AMOUNT;
+        case 4: return ANNUALIZED_TOTAL_AMOUNT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        FilterType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public FilterType findValueByNumber(int number) {
+              return FilterType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FilterType findValueByNumber(int number) {
-            return FilterType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.CompensationFilter.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FilterType[] VALUES = values();
 
-    public static FilterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FilterType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -302,95 +261,63 @@ private FilterType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { + @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationFilter.FilterType result = - com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationFilter.FilterType result = com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED : result; } public static final int UNITS_FIELD_NUMBER = 2; private java.util.List units_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit> - units_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit> units_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>() { - public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit convert( - java.lang.Integer from) { + public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(from); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(from); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ @java.lang.Override - public java.util.List - getUnitsList() { + public java.util.List getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>( - units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>(units_, units_converter_); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ @java.lang.Override @@ -398,17 +325,12 @@ public int getUnitsCount() { return units_.size(); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ @@ -417,35 +339,26 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int return units_converter_.convert(units_.get(index)); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ @java.lang.Override - public java.util.List getUnitsValueList() { + public java.util.List + getUnitsValueList() { return units_; } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -453,20 +366,16 @@ public java.util.List getUnitsValueList() { public int getUnitsValue(int index) { return units_.get(index); } - private int unitsMemoizedSerializedSize; public static final int RANGE_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.CompensationInfo.CompensationRange range_; /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ @java.lang.Override @@ -474,25 +383,18 @@ public boolean hasRange() { return range_ != null; } /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { - return range_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : range_; + return range_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } /** - * - * *
    * Compensation range.
    * 
@@ -500,23 +402,19 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { return getRange(); } public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER = 4; private boolean includeJobsWithUnspecifiedCompensationRange_; /** - * - * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -525,7 +423,6 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,11 +434,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); - if (type_ - != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (getUnitsList().size() > 0) { @@ -566,30 +462,29 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; for (int i = 0; i < units_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(units_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(units_.get(i)); } size += dataSize; - if (!getUnitsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - unitsMemoizedSerializedSize = dataSize; + if (!getUnitsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }unitsMemoizedSerializedSize = dataSize; } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRange()); } if (includeJobsWithUnspecifiedCompensationRange_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, includeJobsWithUnspecifiedCompensationRange_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, includeJobsWithUnspecifiedCompensationRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -599,19 +494,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompensationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompensationFilter other = - (com.google.cloud.talent.v4.CompensationFilter) obj; + com.google.cloud.talent.v4.CompensationFilter other = (com.google.cloud.talent.v4.CompensationFilter) obj; if (type_ != other.type_) return false; if (!units_.equals(other.units_)) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange().equals(other.getRange())) return false; + if (!getRange() + .equals(other.getRange())) return false; } if (getIncludeJobsWithUnspecifiedCompensationRange() != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; @@ -637,145 +532,137 @@ public int hashCode() { hash = (53 * hash) + getRange().hashCode(); } hash = (37 * hash) + INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean( - getIncludeJobsWithUnspecifiedCompensationRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeJobsWithUnspecifiedCompensationRange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CompensationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Filter on job compensation type and amount.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationFilter) com.google.cloud.talent.v4.CompensationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationFilter.class, - com.google.cloud.talent.v4.CompensationFilter.Builder.class); + com.google.cloud.talent.v4.CompensationFilter.class, com.google.cloud.talent.v4.CompensationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -795,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override @@ -816,8 +703,7 @@ public com.google.cloud.talent.v4.CompensationFilter build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter buildPartial() { - com.google.cloud.talent.v4.CompensationFilter result = - new com.google.cloud.talent.v4.CompensationFilter(this); + com.google.cloud.talent.v4.CompensationFilter result = new com.google.cloud.talent.v4.CompensationFilter(this); int from_bitField0_ = bitField0_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { @@ -830,8 +716,7 @@ public com.google.cloud.talent.v4.CompensationFilter buildPartial() { } else { result.range_ = rangeBuilder_.build(); } - result.includeJobsWithUnspecifiedCompensationRange_ = - includeJobsWithUnspecifiedCompensationRange_; + result.includeJobsWithUnspecifiedCompensationRange_ = includeJobsWithUnspecifiedCompensationRange_; onBuilt(); return result; } @@ -840,39 +725,38 @@ public com.google.cloud.talent.v4.CompensationFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationFilter) { - return mergeFrom((com.google.cloud.talent.v4.CompensationFilter) other); + return mergeFrom((com.google.cloud.talent.v4.CompensationFilter)other); } else { super.mergeFrom(other); return this; @@ -898,8 +782,7 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationFilter other) { mergeRange(other.getRange()); } if (other.getIncludeJobsWithUnspecifiedCompensationRange() != false) { - setIncludeJobsWithUnspecifiedCompensationRange( - other.getIncludeJobsWithUnspecifiedCompensationRange()); + setIncludeJobsWithUnspecifiedCompensationRange(other.getIncludeJobsWithUnspecifiedCompensationRange()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -927,50 +810,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); - - break; - } // case 8 - case 16: - { + case 8: { + type_ = input.readEnum(); + + break; + } // case 8 + case 16: { + int tmpRaw = input.readEnum(); + ensureUnitsIsMutable(); + units_.add(tmpRaw); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureUnitsIsMutable(); units_.add(tmpRaw); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureUnitsIsMutable(); - units_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: - { - input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: { + input.readMessage( + getRangeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -980,80 +859,55 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int type_ = 0; /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationFilter.FilterType result = - com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationFilter.FilterType result = com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1061,33 +915,28 @@ public Builder setType(com.google.cloud.talent.v4.CompensationFilter.FilterType if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private java.util.List units_ = java.util.Collections.emptyList(); - + private java.util.List units_ = + java.util.Collections.emptyList(); private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); @@ -1095,54 +944,37 @@ private void ensureUnitsIsMutable() { } } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ - public java.util.List - getUnitsList() { + public java.util.List getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>( - units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>(units_, units_converter_); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ public int getUnitsCount() { return units_.size(); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ @@ -1150,17 +982,12 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int return units_converter_.convert(units_.get(index)); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The units to set. * @return This builder for chaining. @@ -1176,17 +1003,12 @@ public Builder setUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The units to add. * @return This builder for chaining. */ @@ -1200,23 +1022,17 @@ public Builder addUnits(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The units to add. * @return This builder for chaining. */ public Builder addAllUnits( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureUnitsIsMutable(); for (com.google.cloud.talent.v4.CompensationInfo.CompensationUnit value : values) { units_.add(value.getNumber()); @@ -1225,17 +1041,12 @@ public Builder addAllUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearUnits() { @@ -1245,34 +1056,25 @@ public Builder clearUnits() { return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ - public java.util.List getUnitsValueList() { + public java.util.List + getUnitsValueList() { return java.util.Collections.unmodifiableList(units_); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -1280,39 +1082,30 @@ public int getUnitsValue(int index) { return units_.get(index); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ - public Builder setUnitsValue(int index, int value) { + public Builder setUnitsValue( + int index, int value) { ensureUnitsIsMutable(); units_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for units to add. * @return This builder for chaining. */ @@ -1323,21 +1116,17 @@ public Builder addUnitsValue(int value) { return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for units to add. * @return This builder for chaining. */ - public Builder addAllUnitsValue(java.lang.Iterable values) { + public Builder addAllUnitsValue( + java.lang.Iterable values) { ensureUnitsIsMutable(); for (int value : values) { units_.add(value); @@ -1348,47 +1137,34 @@ public Builder addAllUnitsValue(java.lang.Iterable values) { private com.google.cloud.talent.v4.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> - rangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { - return range_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : range_; + return range_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } else { return rangeBuilder_.getMessage(); } } /** - * - * *
      * Compensation range.
      * 
@@ -1409,8 +1185,6 @@ public Builder setRange(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1429,8 +1203,6 @@ public Builder setRange( return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1441,9 +1213,7 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati if (rangeBuilder_ == null) { if (range_ != null) { range_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(range_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(range_).mergeFrom(value).buildPartial(); } else { range_ = value; } @@ -1455,8 +1225,6 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1475,8 +1243,6 @@ public Builder clearRange() { return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1484,32 +1250,26 @@ public Builder clearRange() { * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getRangeBuilder() { - + onChanged(); return getRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { - return range_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : range_; + return range_ == null ? + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } } /** - * - * *
      * Compensation range.
      * 
@@ -1517,33 +1277,27 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder get * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getRange(), getParentForChildren(), isClean()); + rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getRange(), + getParentForChildren(), + isClean()); range_ = null; } return rangeBuilder_; } - private boolean includeJobsWithUnspecifiedCompensationRange_; + private boolean includeJobsWithUnspecifiedCompensationRange_ ; /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -1551,45 +1305,39 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { return includeJobsWithUnspecifiedCompensationRange_; } /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @param value The includeJobsWithUnspecifiedCompensationRange to set. * @return This builder for chaining. */ public Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value) { - + includeJobsWithUnspecifiedCompensationRange_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return This builder for chaining. */ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { - + includeJobsWithUnspecifiedCompensationRange_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1599,12 +1347,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationFilter) private static final com.google.cloud.talent.v4.CompensationFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationFilter(); } @@ -1613,27 +1361,27 @@ public static com.google.cloud.talent.v4.CompensationFilter getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1648,4 +1396,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompensationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java index abbebdf63a46..d1b94eae13b1 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java @@ -1,162 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface CompensationFilterOrBuilder - extends +public interface CompensationFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.talent.v4.CompensationFilter.FilterType getType(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ java.util.List getUnitsList(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ int getUnitsCount(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int index); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ - java.util.List getUnitsValueList(); + java.util.List + getUnitsValueList(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ int getUnitsValue(int index); /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange(); /** - * - * *
    * Compensation range.
    * 
@@ -166,15 +108,12 @@ public interface CompensationFilterOrBuilder com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** - * - * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ boolean getIncludeJobsWithUnspecifiedCompensationRange(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java similarity index 75% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java index c1688793a3a4..88833d342347 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java @@ -1,75 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Job compensation details.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo} */ -public final class CompensationInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompensationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo) CompensationInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompensationInfo.newBuilder() to construct. private CompensationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationInfo() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.class, - com.google.cloud.talent.v4.CompensationInfo.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.class, com.google.cloud.talent.v4.CompensationInfo.Builder.class); } /** - * - * *
    * The type of compensation.
    * For compensation amounts specified in non-monetary amounts,
@@ -88,10 +67,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4.CompensationInfo.CompensationType}
    */
-  public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CompensationType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -100,8 +78,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ COMPENSATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -113,8 +89,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum
      */
     BASE(1),
     /**
-     *
-     *
      * 
      * Bonus.
      * 
@@ -123,8 +97,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ BONUS(2), /** - * - * *
      * Signing bonus.
      * 
@@ -133,8 +105,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ SIGNING_BONUS(3), /** - * - * *
      * Equity.
      * 
@@ -143,8 +113,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ EQUITY(4), /** - * - * *
      * Profit sharing.
      * 
@@ -153,8 +121,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ PROFIT_SHARING(5), /** - * - * *
      * Commission.
      * 
@@ -163,8 +129,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ COMMISSIONS(6), /** - * - * *
      * Tips.
      * 
@@ -173,8 +137,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ TIPS(7), /** - * - * *
      * Other compensation type.
      * 
@@ -186,8 +148,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default value.
      * 
@@ -196,8 +156,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -209,8 +167,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int BASE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Bonus.
      * 
@@ -219,8 +175,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int BONUS_VALUE = 2; /** - * - * *
      * Signing bonus.
      * 
@@ -229,8 +183,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int SIGNING_BONUS_VALUE = 3; /** - * - * *
      * Equity.
      * 
@@ -239,8 +191,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int EQUITY_VALUE = 4; /** - * - * *
      * Profit sharing.
      * 
@@ -249,8 +199,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int PROFIT_SHARING_VALUE = 5; /** - * - * *
      * Commission.
      * 
@@ -259,8 +207,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMMISSIONS_VALUE = 6; /** - * - * *
      * Tips.
      * 
@@ -269,8 +215,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TIPS_VALUE = 7; /** - * - * *
      * Other compensation type.
      * 
@@ -279,6 +223,7 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_COMPENSATION_TYPE_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -303,54 +248,45 @@ public static CompensationType valueOf(int value) { */ public static CompensationType forNumber(int value) { switch (value) { - case 0: - return COMPENSATION_TYPE_UNSPECIFIED; - case 1: - return BASE; - case 2: - return BONUS; - case 3: - return SIGNING_BONUS; - case 4: - return EQUITY; - case 5: - return PROFIT_SHARING; - case 6: - return COMMISSIONS; - case 7: - return TIPS; - case 8: - return OTHER_COMPENSATION_TYPE; - default: - return null; + case 0: return COMPENSATION_TYPE_UNSPECIFIED; + case 1: return BASE; + case 2: return BONUS; + case 3: return SIGNING_BONUS; + case 4: return EQUITY; + case 5: return PROFIT_SHARING; + case 6: return COMMISSIONS; + case 7: return TIPS; + case 8: return OTHER_COMPENSATION_TYPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompensationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationType findValueByNumber(int number) { + return CompensationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationType findValueByNumber(int number) { - return CompensationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CompensationInfo.getDescriptor().getEnumTypes().get(0); } @@ -359,7 +295,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompensationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -377,18 +314,15 @@ private CompensationType(int value) { } /** - * - * *
    * Pay frequency.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompensationInfo.CompensationUnit} */ - public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum { + public enum CompensationUnit + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -397,8 +331,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ COMPENSATION_UNIT_UNSPECIFIED(0), /** - * - * *
      * Hourly.
      * 
@@ -407,8 +339,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ HOURLY(1), /** - * - * *
      * Daily.
      * 
@@ -417,8 +347,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ DAILY(2), /** - * - * *
      * Weekly
      * 
@@ -427,8 +355,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ WEEKLY(3), /** - * - * *
      * Monthly.
      * 
@@ -437,8 +363,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ MONTHLY(4), /** - * - * *
      * Yearly.
      * 
@@ -447,8 +371,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ YEARLY(5), /** - * - * *
      * One time.
      * 
@@ -457,8 +379,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ ONE_TIME(6), /** - * - * *
      * Other compensation units.
      * 
@@ -470,8 +390,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default value.
      * 
@@ -480,8 +398,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Hourly.
      * 
@@ -490,8 +406,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOURLY_VALUE = 1; /** - * - * *
      * Daily.
      * 
@@ -500,8 +414,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int DAILY_VALUE = 2; /** - * - * *
      * Weekly
      * 
@@ -510,8 +422,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int WEEKLY_VALUE = 3; /** - * - * *
      * Monthly.
      * 
@@ -520,8 +430,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int MONTHLY_VALUE = 4; /** - * - * *
      * Yearly.
      * 
@@ -530,8 +438,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int YEARLY_VALUE = 5; /** - * - * *
      * One time.
      * 
@@ -540,8 +446,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int ONE_TIME_VALUE = 6; /** - * - * *
      * Other compensation units.
      * 
@@ -550,6 +454,7 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_COMPENSATION_UNIT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -574,52 +479,44 @@ public static CompensationUnit valueOf(int value) { */ public static CompensationUnit forNumber(int value) { switch (value) { - case 0: - return COMPENSATION_UNIT_UNSPECIFIED; - case 1: - return HOURLY; - case 2: - return DAILY; - case 3: - return WEEKLY; - case 4: - return MONTHLY; - case 5: - return YEARLY; - case 6: - return ONE_TIME; - case 7: - return OTHER_COMPENSATION_UNIT; - default: - return null; + case 0: return COMPENSATION_UNIT_UNSPECIFIED; + case 1: return HOURLY; + case 2: return DAILY; + case 3: return WEEKLY; + case 4: return MONTHLY; + case 5: return YEARLY; + case 6: return ONE_TIME; + case 7: return OTHER_COMPENSATION_UNIT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompensationUnit> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationUnit findValueByNumber(int number) { + return CompensationUnit.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationUnit findValueByNumber(int number) { - return CompensationUnit.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CompensationInfo.getDescriptor().getEnumTypes().get(1); } @@ -628,7 +525,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompensationUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -645,92 +543,71 @@ private CompensationUnit(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CompensationInfo.CompensationUnit) } - public interface CompensationEntryOrBuilder - extends + public interface CompensationEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo.CompensationEntry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The type. */ com.google.cloud.talent.v4.CompensationInfo.CompensationType getType(); /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ int getUnitValue(); /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit(); /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ boolean hasAmount(); /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return The amount. */ com.google.type.Money getAmount(); /** - * - * *
      * Compensation amount.
      * 
@@ -740,32 +617,24 @@ public interface CompensationEntryOrBuilder com.google.type.MoneyOrBuilder getAmountOrBuilder(); /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange(); /** - * - * *
      * Compensation range.
      * 
@@ -775,8 +644,6 @@ public interface CompensationEntryOrBuilder com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -784,13 +651,10 @@ public interface CompensationEntryOrBuilder
      * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -798,14 +662,12 @@ public interface CompensationEntryOrBuilder
      * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -818,13 +680,10 @@ public interface CompensationEntryOrBuilder
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ boolean hasExpectedUnitsPerYear(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -837,13 +696,10 @@ public interface CompensationEntryOrBuilder
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ com.google.protobuf.DoubleValue getExpectedUnitsPerYear(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -859,12 +715,9 @@ public interface CompensationEntryOrBuilder
      */
     com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder();
 
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.CompensationAmountCase
-        getCompensationAmountCase();
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase();
   }
   /**
-   *
-   *
    * 
    * A compensation entry that represents one component of compensation, such
    * as base pay, bonus, or other compensation type.
@@ -877,16 +730,15 @@ public interface CompensationEntryOrBuilder
    *
    * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
    */
-  public static final class CompensationEntry extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CompensationEntry extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
       CompensationEntryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CompensationEntry.newBuilder() to construct.
     private CompensationEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CompensationEntry() {
       type_ = 0;
       unit_ = 0;
@@ -895,42 +747,38 @@ private CompensationEntry() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CompensationEntry();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class,
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
     }
 
     private int compensationAmountCase_ = 0;
     private java.lang.Object compensationAmount_;
-
     public enum CompensationAmountCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AMOUNT(3),
       RANGE(4),
       COMPENSATIONAMOUNT_NOT_SET(0);
       private final int value;
-
       private CompensationAmountCase(int value) {
         this.value = value;
       }
@@ -946,116 +794,88 @@ public static CompensationAmountCase valueOf(int value) {
 
       public static CompensationAmountCase forNumber(int value) {
         switch (value) {
-          case 3:
-            return AMOUNT;
-          case 4:
-            return RANGE;
-          case 0:
-            return COMPENSATIONAMOUNT_NOT_SET;
-          default:
-            return null;
+          case 3: return AMOUNT;
+          case 4: return RANGE;
+          case 0: return COMPENSATIONAMOUNT_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public CompensationAmountCase getCompensationAmountCase() {
-      return CompensationAmountCase.forNumber(compensationAmountCase_);
+    public CompensationAmountCase
+    getCompensationAmountCase() {
+      return CompensationAmountCase.forNumber(
+          compensationAmountCase_);
     }
 
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
-     *
-     *
      * 
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { + @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationType result = - com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationType result = com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED : result; } public static final int UNIT_FIELD_NUMBER = 2; private int unit_; /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override - public int getUnitValue() { + @java.lang.Override public int getUnitValue() { return unit_; } /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { + @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } public static final int AMOUNT_FIELD_NUMBER = 3; /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ @java.lang.Override @@ -1063,26 +883,21 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return The amount. */ @java.lang.Override public com.google.type.Money getAmount() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } /** - * - * *
      * Compensation amount.
      * 
@@ -1092,21 +907,18 @@ public com.google.type.Money getAmount() { @java.lang.Override public com.google.type.MoneyOrBuilder getAmountOrBuilder() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } public static final int RANGE_FIELD_NUMBER = 4; /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -1114,26 +926,21 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } /** - * - * *
      * Compensation range.
      * 
@@ -1141,10 +948,9 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } @@ -1152,8 +958,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -1161,7 +965,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange()
      * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -1170,15 +973,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -1186,15 +988,16 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1205,8 +1008,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER = 6; private com.google.protobuf.DoubleValue expectedUnitsPerYear_; /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1219,7 +1020,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ @java.lang.Override @@ -1227,8 +1027,6 @@ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYear_ != null; } /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1241,18 +1039,13 @@ public boolean hasExpectedUnitsPerYear() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ @java.lang.Override public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { - return expectedUnitsPerYear_ == null - ? com.google.protobuf.DoubleValue.getDefaultInstance() - : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; } /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1272,7 +1065,6 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1284,25 +1076,19 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (type_
-          != com.google.cloud.talent.v4.CompensationInfo.CompensationType
-              .COMPENSATION_TYPE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (type_ != com.google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, type_);
       }
-      if (unit_
-          != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
-              .COMPENSATION_UNIT_UNSPECIFIED
-              .getNumber()) {
+      if (unit_ != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
         output.writeEnum(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
         output.writeMessage(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        output.writeMessage(
-            4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
+        output.writeMessage(4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
@@ -1319,36 +1105,28 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_
-          != com.google.cloud.talent.v4.CompensationInfo.CompensationType
-              .COMPENSATION_TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
-      }
-      if (unit_
-          != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
-              .COMPENSATION_UNIT_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unit_);
+      if (type_ != com.google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, type_);
+      }
+      if (unit_ != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                3, (com.google.type.Money) compensationAmount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                4,
-                (com.google.cloud.talent.v4.CompensationInfo.CompensationRange)
-                    compensationAmount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
       }
       if (expectedUnitsPerYear_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpectedUnitsPerYear());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, getExpectedUnitsPerYear());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1358,28 +1136,31 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationEntry)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other =
-          (com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) obj;
+      com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) obj;
 
       if (type_ != other.type_) return false;
       if (unit_ != other.unit_) return false;
-      if (!getDescription().equals(other.getDescription())) return false;
+      if (!getDescription()
+          .equals(other.getDescription())) return false;
       if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
       if (hasExpectedUnitsPerYear()) {
-        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
+        if (!getExpectedUnitsPerYear()
+            .equals(other.getExpectedUnitsPerYear())) return false;
       }
       if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
       switch (compensationAmountCase_) {
         case 3:
-          if (!getAmount().equals(other.getAmount())) return false;
+          if (!getAmount()
+              .equals(other.getAmount())) return false;
           break;
         case 4:
-          if (!getRange().equals(other.getRange())) return false;
+          if (!getRange()
+              .equals(other.getRange())) return false;
           break;
         case 0:
         default:
@@ -1423,94 +1204,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo.CompensationEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1520,8 +1294,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A compensation entry that represents one component of compensation, such
      * as base pay, bonus, or other compensation type.
@@ -1534,33 +1306,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
         com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.talent.v4.CommonProto
-            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.talent.v4.CommonProto
-            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
+        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class,
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
       }
 
       // Construct using com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1588,14 +1360,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.talent.v4.CommonProto
-            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
-          getDefaultInstanceForType() {
+      public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
         return com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance();
       }
 
@@ -1610,8 +1381,7 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry build() {
 
       @java.lang.Override
       public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry buildPartial() {
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry result =
-            new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry(this);
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry result = new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry(this);
         result.type_ = type_;
         result.unit_ = unit_;
         if (compensationAmountCase_ == 3) {
@@ -1643,52 +1413,46 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) {
-          return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) other);
+          return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationEntry)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
-        if (other
-            == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
+        if (other == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -1703,20 +1467,17 @@ public Builder mergeFrom(
           mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
         }
         switch (other.getCompensationAmountCase()) {
-          case AMOUNT:
-            {
-              mergeAmount(other.getAmount());
-              break;
-            }
-          case RANGE:
-            {
-              mergeRange(other.getRange());
-              break;
-            }
-          case COMPENSATIONAMOUNT_NOT_SET:
-            {
-              break;
-            }
+          case AMOUNT: {
+            mergeAmount(other.getAmount());
+            break;
+          }
+          case RANGE: {
+            mergeRange(other.getRange());
+            break;
+          }
+          case COMPENSATIONAMOUNT_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1744,50 +1505,48 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  type_ = input.readEnum();
-
-                  break;
-                } // case 8
-              case 16:
-                {
-                  unit_ = input.readEnum();
-
-                  break;
-                } // case 16
-              case 26:
-                {
-                  input.readMessage(getAmountFieldBuilder().getBuilder(), extensionRegistry);
-                  compensationAmountCase_ = 3;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
-                  compensationAmountCase_ = 4;
-                  break;
-                } // case 34
-              case 42:
-                {
-                  description_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 42
-              case 50:
-                {
-                  input.readMessage(
-                      getExpectedUnitsPerYearFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 50
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                type_ = input.readEnum();
+
+                break;
+              } // case 8
+              case 16: {
+                unit_ = input.readEnum();
+
+                break;
+              } // case 16
+              case 26: {
+                input.readMessage(
+                    getAmountFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                compensationAmountCase_ = 3;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getRangeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                compensationAmountCase_ = 4;
+                break;
+              } // case 34
+              case 42: {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+              case 50: {
+                input.readMessage(
+                    getExpectedUnitsPerYearFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 50
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1797,12 +1556,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int compensationAmountCase_ = 0;
       private java.lang.Object compensationAmount_;
-
-      public CompensationAmountCase getCompensationAmountCase() {
-        return CompensationAmountCase.forNumber(compensationAmountCase_);
+      public CompensationAmountCase
+          getCompensationAmountCase() {
+        return CompensationAmountCase.forNumber(
+            compensationAmountCase_);
       }
 
       public Builder clearCompensationAmount() {
@@ -1812,73 +1571,58 @@ public Builder clearCompensationAmount() {
         return this;
       }
 
+
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationType result = - com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationType result = com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED : result; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1886,25 +1630,22 @@ public Builder setType(com.google.cloud.talent.v4.CompensationInfo.CompensationT if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1912,71 +1653,55 @@ public Builder clearType() { private int unit_ = 0; /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override - public int getUnitValue() { + @java.lang.Override public int getUnitValue() { return unit_; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @param value The enum numeric value on the wire for unit to set. * @return This builder for chaining. */ public Builder setUnitValue(int value) { - + unit_ = value; onChanged(); return this; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @param value The unit to set. * @return This builder for chaining. */ @@ -1984,42 +1709,35 @@ public Builder setUnit(com.google.cloud.talent.v4.CompensationInfo.CompensationU if (value == null) { throw new NullPointerException(); } - + unit_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - amountBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> amountBuilder_; /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ @java.lang.Override @@ -2027,14 +1745,11 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; - * * @return The amount. */ @java.lang.Override @@ -2052,8 +1767,6 @@ public com.google.type.Money getAmount() { } } /** - * - * *
        * Compensation amount.
        * 
@@ -2074,15 +1787,14 @@ public Builder setAmount(com.google.type.Money value) { return this; } /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; */ - public Builder setAmount(com.google.type.Money.Builder builderForValue) { + public Builder setAmount( + com.google.type.Money.Builder builderForValue) { if (amountBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -2093,8 +1805,6 @@ public Builder setAmount(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2103,12 +1813,10 @@ public Builder setAmount(com.google.type.Money.Builder builderForValue) { */ public Builder mergeAmount(com.google.type.Money value) { if (amountBuilder_ == null) { - if (compensationAmountCase_ == 3 - && compensationAmount_ != com.google.type.Money.getDefaultInstance()) { - compensationAmount_ = - com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) - .mergeFrom(value) - .buildPartial(); + if (compensationAmountCase_ == 3 && + compensationAmount_ != com.google.type.Money.getDefaultInstance()) { + compensationAmount_ = com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) + .mergeFrom(value).buildPartial(); } else { compensationAmount_ = value; } @@ -2124,8 +1832,6 @@ public Builder mergeAmount(com.google.type.Money value) { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2149,8 +1855,6 @@ public Builder clearAmount() { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2161,8 +1865,6 @@ public com.google.type.Money.Builder getAmountBuilder() { return getAmountFieldBuilder().getBuilder(); } /** - * - * *
        * Compensation amount.
        * 
@@ -2181,8 +1883,6 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { } } /** - * - * *
        * Compensation amount.
        * 
@@ -2190,40 +1890,32 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { * .google.type.Money amount = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { if (!(compensationAmountCase_ == 3)) { compensationAmount_ = com.google.type.Money.getDefaultInstance(); } - amountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - (com.google.type.Money) compensationAmount_, getParentForChildren(), isClean()); + amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + (com.google.type.Money) compensationAmount_, + getParentForChildren(), + isClean()); compensationAmount_ = null; } compensationAmountCase_ = 3; - onChanged(); - ; + onChanged();; return amountBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> - rangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -2231,22 +1923,18 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } else { @@ -2257,8 +1945,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() } } /** - * - * *
        * Compensation range.
        * 
@@ -2279,8 +1965,6 @@ public Builder setRange(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** - * - * *
        * Compensation range.
        * 
@@ -2299,27 +1983,18 @@ public Builder setRange( return this; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ - public Builder mergeRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { - if (compensationAmountCase_ == 4 - && compensationAmount_ - != com.google.cloud.talent.v4.CompensationInfo.CompensationRange - .getDefaultInstance()) { - compensationAmount_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( - (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) - compensationAmount_) - .mergeFrom(value) - .buildPartial(); + if (compensationAmountCase_ == 4 && + compensationAmount_ != com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) { + compensationAmount_ = com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder((com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_) + .mergeFrom(value).buildPartial(); } else { compensationAmount_ = value; } @@ -2335,8 +2010,6 @@ public Builder mergeRange( return this; } /** - * - * *
        * Compensation range.
        * 
@@ -2360,21 +2033,16 @@ public Builder clearRange() { return this; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder - getRangeBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getRangeBuilder() { return getRangeFieldBuilder().getBuilder(); } /** - * - * *
        * Compensation range.
        * 
@@ -2382,21 +2050,17 @@ public Builder clearRange() { * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if ((compensationAmountCase_ == 4) && (rangeBuilder_ != null)) { return rangeBuilder_.getMessageOrBuilder(); } else { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } } /** - * - * *
        * Compensation range.
        * 
@@ -2404,36 +2068,26 @@ public Builder clearRange() { * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { if (!(compensationAmountCase_ == 4)) { - compensationAmount_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); + compensationAmount_ = com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } - rangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) - compensationAmount_, + rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 4; - onChanged(); - ; + onChanged();; return rangeBuilder_; } private java.lang.Object description_ = ""; /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2441,13 +2095,13 @@ public Builder clearRange() {
        * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2456,8 +2110,6 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2465,14 +2117,15 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2480,8 +2133,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2489,22 +2140,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
        * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2512,18 +2161,15 @@ public Builder setDescription(java.lang.String value) {
        * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2531,16 +2177,16 @@ public Builder clearDescription() {
        * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2548,13 +2194,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> - expectedUnitsPerYearBuilder_; + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> expectedUnitsPerYearBuilder_; /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2567,15 +2208,12 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYearBuilder_ != null || expectedUnitsPerYear_ != null; } /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2588,21 +2226,16 @@ public boolean hasExpectedUnitsPerYear() {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { if (expectedUnitsPerYearBuilder_ == null) { - return expectedUnitsPerYear_ == null - ? com.google.protobuf.DoubleValue.getDefaultInstance() - : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; } else { return expectedUnitsPerYearBuilder_.getMessage(); } } /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2630,8 +2263,6 @@ public Builder setExpectedUnitsPerYear(com.google.protobuf.DoubleValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2657,8 +2288,6 @@ public Builder setExpectedUnitsPerYear(
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2676,9 +2305,7 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         if (expectedUnitsPerYearBuilder_ == null) {
           if (expectedUnitsPerYear_ != null) {
             expectedUnitsPerYear_ =
-                com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_).mergeFrom(value).buildPartial();
           } else {
             expectedUnitsPerYear_ = value;
           }
@@ -2690,8 +2317,6 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2717,8 +2342,6 @@ public Builder clearExpectedUnitsPerYear() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2733,13 +2356,11 @@ public Builder clearExpectedUnitsPerYear() {
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       public com.google.protobuf.DoubleValue.Builder getExpectedUnitsPerYearBuilder() {
-
+        
         onChanged();
         return getExpectedUnitsPerYearFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2757,14 +2378,11 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
         if (expectedUnitsPerYearBuilder_ != null) {
           return expectedUnitsPerYearBuilder_.getMessageOrBuilder();
         } else {
-          return expectedUnitsPerYear_ == null
-              ? com.google.protobuf.DoubleValue.getDefaultInstance()
-              : expectedUnitsPerYear_;
+          return expectedUnitsPerYear_ == null ?
+              com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_;
         }
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2779,22 +2397,18 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.DoubleValue,
-              com.google.protobuf.DoubleValue.Builder,
-              com.google.protobuf.DoubleValueOrBuilder>
+          com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> 
           getExpectedUnitsPerYearFieldBuilder() {
         if (expectedUnitsPerYearBuilder_ == null) {
-          expectedUnitsPerYearBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.DoubleValue,
-                  com.google.protobuf.DoubleValue.Builder,
-                  com.google.protobuf.DoubleValueOrBuilder>(
-                  getExpectedUnitsPerYear(), getParentForChildren(), isClean());
+          expectedUnitsPerYearBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
+                  getExpectedUnitsPerYear(),
+                  getParentForChildren(),
+                  isClean());
           expectedUnitsPerYear_ = null;
         }
         return expectedUnitsPerYearBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2807,44 +2421,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
-    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationEntry DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry();
     }
 
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompensationEntry parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompensationEntry parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2856,20 +2467,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CompensationRangeOrBuilder
-      extends
+  public interface CompensationRangeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo.CompensationRange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2878,13 +2486,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ boolean hasMaxCompensation(); /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2893,13 +2498,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ com.google.type.Money getMaxCompensation(); /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2912,8 +2514,6 @@ public interface CompensationRangeOrBuilder
     com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder();
 
     /**
-     *
-     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2921,13 +2521,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ boolean hasMinCompensation(); /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2935,13 +2532,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ com.google.type.Money getMinCompensation(); /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2953,57 +2547,52 @@ public interface CompensationRangeOrBuilder
     com.google.type.MoneyOrBuilder getMinCompensationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Compensation range.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationRange} */ - public static final class CompensationRange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompensationRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo.CompensationRange) CompensationRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationRange.newBuilder() to construct. private CompensationRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CompensationRange() {} + private CompensationRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); } public static final int MAX_COMPENSATION_FIELD_NUMBER = 2; private com.google.type.Money maxCompensation_; /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3012,7 +2601,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ @java.lang.Override @@ -3020,8 +2608,6 @@ public boolean hasMaxCompensation() { return maxCompensation_ != null; } /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3030,18 +2616,13 @@ public boolean hasMaxCompensation() {
      * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ @java.lang.Override public com.google.type.Money getMaxCompensation() { - return maxCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : maxCompensation_; + return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; } /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3059,8 +2640,6 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
     public static final int MIN_COMPENSATION_FIELD_NUMBER = 1;
     private com.google.type.Money minCompensation_;
     /**
-     *
-     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3068,7 +2647,6 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
      * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ @java.lang.Override @@ -3076,8 +2654,6 @@ public boolean hasMinCompensation() { return minCompensation_ != null; } /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3085,18 +2661,13 @@ public boolean hasMinCompensation() {
      * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ @java.lang.Override public com.google.type.Money getMinCompensation() { - return minCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : minCompensation_; + return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; } /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3111,7 +2682,6 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3123,7 +2693,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (minCompensation_ != null) {
         output.writeMessage(1, getMinCompensation());
       }
@@ -3140,10 +2711,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (minCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinCompensation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getMinCompensation());
       }
       if (maxCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxCompensation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMaxCompensation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3153,21 +2726,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.CompensationInfo.CompensationRange other =
-          (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) obj;
+      com.google.cloud.talent.v4.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) obj;
 
       if (hasMaxCompensation() != other.hasMaxCompensation()) return false;
       if (hasMaxCompensation()) {
-        if (!getMaxCompensation().equals(other.getMaxCompensation())) return false;
+        if (!getMaxCompensation()
+            .equals(other.getMaxCompensation())) return false;
       }
       if (hasMinCompensation() != other.hasMinCompensation()) return false;
       if (hasMinCompensation()) {
-        if (!getMinCompensation().equals(other.getMinCompensation())) return false;
+        if (!getMinCompensation()
+            .equals(other.getMinCompensation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3194,94 +2768,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4.CompensationInfo.CompensationRange prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo.CompensationRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3291,41 +2858,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Compensation range.
      * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationRange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo.CompensationRange) com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3345,14 +2910,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getDefaultInstanceForType() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstanceForType() { return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } @@ -3367,8 +2931,7 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange buildPartial() { - com.google.cloud.talent.v4.CompensationInfo.CompensationRange result = - new com.google.cloud.talent.v4.CompensationInfo.CompensationRange(this); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange result = new com.google.cloud.talent.v4.CompensationInfo.CompensationRange(this); if (maxCompensationBuilder_ == null) { result.maxCompensation_ = maxCompensation_; } else { @@ -3387,52 +2950,46 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationRange) { - return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationRange) other); + return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationRange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange other) { - if (other - == com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.CompensationRange other) { + if (other == com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) return this; if (other.hasMaxCompensation()) { mergeMaxCompensation(other.getMaxCompensation()); } @@ -3465,27 +3022,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getMinCompensationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getMaxCompensationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getMinCompensationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getMaxCompensationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3498,11 +3054,8 @@ public Builder mergeFrom( private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - maxCompensationBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3511,15 +3064,12 @@ public Builder mergeFrom(
        * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ public boolean hasMaxCompensation() { return maxCompensationBuilder_ != null || maxCompensation_ != null; } /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3528,21 +3078,16 @@ public boolean hasMaxCompensation() {
        * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ public com.google.type.Money getMaxCompensation() { if (maxCompensationBuilder_ == null) { - return maxCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : maxCompensation_; + return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; } else { return maxCompensationBuilder_.getMessage(); } } /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3566,8 +3111,6 @@ public Builder setMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3577,7 +3120,8 @@ public Builder setMaxCompensation(com.google.type.Money value) {
        *
        * .google.type.Money max_compensation = 2;
        */
-      public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue) {
+      public Builder setMaxCompensation(
+          com.google.type.Money.Builder builderForValue) {
         if (maxCompensationBuilder_ == null) {
           maxCompensation_ = builderForValue.build();
           onChanged();
@@ -3588,8 +3132,6 @@ public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3603,7 +3145,7 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         if (maxCompensationBuilder_ == null) {
           if (maxCompensation_ != null) {
             maxCompensation_ =
-                com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
           } else {
             maxCompensation_ = value;
           }
@@ -3615,8 +3157,6 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3638,8 +3178,6 @@ public Builder clearMaxCompensation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3650,13 +3188,11 @@ public Builder clearMaxCompensation() {
        * .google.type.Money max_compensation = 2;
        */
       public com.google.type.Money.Builder getMaxCompensationBuilder() {
-
+        
         onChanged();
         return getMaxCompensationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3670,14 +3206,11 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
         if (maxCompensationBuilder_ != null) {
           return maxCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return maxCompensation_ == null
-              ? com.google.type.Money.getDefaultInstance()
-              : maxCompensation_;
+          return maxCompensation_ == null ?
+              com.google.type.Money.getDefaultInstance() : maxCompensation_;
         }
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3688,15 +3221,14 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * .google.type.Money max_compensation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
           getMaxCompensationFieldBuilder() {
         if (maxCompensationBuilder_ == null) {
-          maxCompensationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Money,
-                  com.google.type.Money.Builder,
-                  com.google.type.MoneyOrBuilder>(
-                  getMaxCompensation(), getParentForChildren(), isClean());
+          maxCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                  getMaxCompensation(),
+                  getParentForChildren(),
+                  isClean());
           maxCompensation_ = null;
         }
         return maxCompensationBuilder_;
@@ -3704,11 +3236,8 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
 
       private com.google.type.Money minCompensation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
-          minCompensationBuilder_;
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_;
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3716,15 +3245,12 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ public boolean hasMinCompensation() { return minCompensationBuilder_ != null || minCompensation_ != null; } /** - * - * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3732,21 +3258,16 @@ public boolean hasMinCompensation() {
        * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ public com.google.type.Money getMinCompensation() { if (minCompensationBuilder_ == null) { - return minCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : minCompensation_; + return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; } else { return minCompensationBuilder_.getMessage(); } } /** - * - * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3769,8 +3290,6 @@ public Builder setMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3779,7 +3298,8 @@ public Builder setMinCompensation(com.google.type.Money value) {
        *
        * .google.type.Money min_compensation = 1;
        */
-      public Builder setMinCompensation(com.google.type.Money.Builder builderForValue) {
+      public Builder setMinCompensation(
+          com.google.type.Money.Builder builderForValue) {
         if (minCompensationBuilder_ == null) {
           minCompensation_ = builderForValue.build();
           onChanged();
@@ -3790,8 +3310,6 @@ public Builder setMinCompensation(com.google.type.Money.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3804,7 +3322,7 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         if (minCompensationBuilder_ == null) {
           if (minCompensation_ != null) {
             minCompensation_ =
-                com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
           } else {
             minCompensation_ = value;
           }
@@ -3816,8 +3334,6 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3838,8 +3354,6 @@ public Builder clearMinCompensation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3849,13 +3363,11 @@ public Builder clearMinCompensation() {
        * .google.type.Money min_compensation = 1;
        */
       public com.google.type.Money.Builder getMinCompensationBuilder() {
-
+        
         onChanged();
         return getMinCompensationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3868,14 +3380,11 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
         if (minCompensationBuilder_ != null) {
           return minCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return minCompensation_ == null
-              ? com.google.type.Money.getDefaultInstance()
-              : minCompensation_;
+          return minCompensation_ == null ?
+              com.google.type.Money.getDefaultInstance() : minCompensation_;
         }
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3885,20 +3394,18 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
        * .google.type.Money min_compensation = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
           getMinCompensationFieldBuilder() {
         if (minCompensationBuilder_ == null) {
-          minCompensationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Money,
-                  com.google.type.Money.Builder,
-                  com.google.type.MoneyOrBuilder>(
-                  getMinCompensation(), getParentForChildren(), isClean());
+          minCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                  getMinCompensation(),
+                  getParentForChildren(),
+                  isClean());
           minCompensation_ = null;
         }
         return minCompensationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3911,44 +3418,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo.CompensationRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo.CompensationRange)
-    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationRange DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo.CompensationRange();
     }
 
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompensationRange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompensationRange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3960,17 +3464,15 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3981,13 +3483,10 @@ public com.google.protobuf.Parser getParserForType() {
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getEntriesList() {
+  public java.util.List getEntriesList() {
     return entries_;
   }
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3998,14 +3497,11 @@ public com.google.protobuf.Parser getParserForType() {
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
+  public java.util.List 
       getEntriesOrBuilderList() {
     return entries_;
   }
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -4020,8 +3516,6 @@ public int getEntriesCount() {
     return entries_.size();
   }
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -4036,8 +3530,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(
     return entries_.get(index);
   }
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -4054,11 +3546,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
   }
 
   public static final int ANNUALIZED_BASE_COMPENSATION_RANGE_FIELD_NUMBER = 2;
-  private com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-      annualizedBaseCompensationRange_;
+  private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedBaseCompensationRange_;
   /**
-   *
-   *
    * 
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4066,10 +3555,7 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ @java.lang.Override @@ -4077,8 +3563,6 @@ public boolean hasAnnualizedBaseCompensationRange() { return annualizedBaseCompensationRange_ != null; } /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4086,22 +3570,14 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedBaseCompensationRange_; + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { + return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4109,22 +3585,16 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { return getAnnualizedBaseCompensationRange(); } public static final int ANNUALIZED_TOTAL_COMPENSATION_RANGE_FIELD_NUMBER = 3; - private com.google.cloud.talent.v4.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4132,10 +3602,7 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ @java.lang.Override @@ -4143,8 +3610,6 @@ public boolean hasAnnualizedTotalCompensationRange() { return annualizedTotalCompensationRange_ != null; } /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4152,22 +3617,14 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedTotalCompensationRange_; + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { + return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4175,18 +3632,14 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { return getAnnualizedTotalCompensationRange(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4198,7 +3651,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -4218,17 +3672,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entries_.get(i)); } if (annualizedBaseCompensationRange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getAnnualizedBaseCompensationRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnnualizedBaseCompensationRange()); } if (annualizedTotalCompensationRange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getAnnualizedTotalCompensationRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAnnualizedTotalCompensationRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4238,23 +3691,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompensationInfo other = - (com.google.cloud.talent.v4.CompensationInfo) obj; + com.google.cloud.talent.v4.CompensationInfo other = (com.google.cloud.talent.v4.CompensationInfo) obj; - if (!getEntriesList().equals(other.getEntriesList())) return false; - if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) - return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) return false; if (hasAnnualizedBaseCompensationRange()) { - if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) - return false; + if (!getAnnualizedBaseCompensationRange() + .equals(other.getAnnualizedBaseCompensationRange())) return false; } - if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) - return false; + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) return false; if (hasAnnualizedTotalCompensationRange()) { if (!getAnnualizedTotalCompensationRange() .equals(other.getAnnualizedTotalCompensationRange())) return false; @@ -4287,136 +3738,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Job compensation details.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo) com.google.cloud.talent.v4.CompensationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.class, - com.google.cloud.talent.v4.CompensationInfo.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.class, com.google.cloud.talent.v4.CompensationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4443,9 +3888,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override @@ -4464,8 +3909,7 @@ public com.google.cloud.talent.v4.CompensationInfo build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo buildPartial() { - com.google.cloud.talent.v4.CompensationInfo result = - new com.google.cloud.talent.v4.CompensationInfo(this); + com.google.cloud.talent.v4.CompensationInfo result = new com.google.cloud.talent.v4.CompensationInfo(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -4494,39 +3938,38 @@ public com.google.cloud.talent.v4.CompensationInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationInfo) { - return mergeFrom((com.google.cloud.talent.v4.CompensationInfo) other); + return mergeFrom((com.google.cloud.talent.v4.CompensationInfo)other); } else { super.mergeFrom(other); return this; @@ -4553,10 +3996,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -4594,43 +4036,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry m = - input.readMessage( - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage( - getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: { + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry m = + input.readMessage( + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage( - getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4640,30 +4078,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List entries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = - new java.util.ArrayList( - entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> - entriesBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> entriesBuilder_; /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4673,8 +4102,7 @@ private void ensureEntriesIsMutable() {
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List
-        getEntriesList() {
+    public java.util.List getEntriesList() {
       if (entriesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(entries_);
       } else {
@@ -4682,8 +4110,6 @@ private void ensureEntriesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4701,8 +4127,6 @@ public int getEntriesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4720,8 +4144,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4746,8 +4168,6 @@ public Builder setEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4758,8 +4178,7 @@ public Builder setEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder setEntries(
-        int index,
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
+        int index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
         entries_.set(index, builderForValue.build());
@@ -4770,8 +4189,6 @@ public Builder setEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4795,8 +4212,6 @@ public Builder addEntries(com.google.cloud.talent.v4.CompensationInfo.Compensati
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4821,8 +4236,6 @@ public Builder addEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4844,8 +4257,6 @@ public Builder addEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4856,8 +4267,7 @@ public Builder addEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder addEntries(
-        int index,
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
+        int index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
         entries_.add(index, builderForValue.build());
@@ -4868,8 +4278,6 @@ public Builder addEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4880,11 +4288,11 @@ public Builder addEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder addAllEntries(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, entries_);
         onChanged();
       } else {
         entriesBuilder_.addAllMessages(values);
@@ -4892,8 +4300,6 @@ public Builder addAllEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4914,8 +4320,6 @@ public Builder clearEntries() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4936,8 +4340,6 @@ public Builder removeEntries(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4952,8 +4354,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
       return getEntriesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4963,17 +4363,14 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder
-        getEntriesOrBuilder(int index) {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder(
+        int index) {
       if (entriesBuilder_ == null) {
-        return entries_.get(index);
-      } else {
+        return entries_.get(index);  } else {
         return entriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4983,9 +4380,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List<
-            ? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
-        getEntriesOrBuilderList() {
+    public java.util.List 
+         getEntriesOrBuilderList() {
       if (entriesBuilder_ != null) {
         return entriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -4993,8 +4389,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -5004,15 +4398,11 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder
-        addEntriesBuilder() {
-      return getEntriesFieldBuilder()
-          .addBuilder(
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder addEntriesBuilder() {
+      return getEntriesFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -5024,14 +4414,10 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      */
     public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder addEntriesBuilder(
         int index) {
-      return getEntriesFieldBuilder()
-          .addBuilder(
-              index,
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
+      return getEntriesFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -5041,38 +4427,29 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List
-        getEntriesBuilderList() {
+    public java.util.List 
+         getEntriesBuilderList() {
       return getEntriesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry,
-            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder,
-            com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> 
         getEntriesFieldBuilder() {
       if (entriesBuilder_ == null) {
-        entriesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry,
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder,
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>(
-                entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>(
+                entries_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         entries_ = null;
       }
       return entriesBuilder_;
     }
 
-    private com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-        annualizedBaseCompensationRange_;
+    private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedBaseCompensationRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo.CompensationRange,
-            com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder,
-            com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>
-        annualizedBaseCompensationRangeBuilder_;
+        com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> annualizedBaseCompensationRangeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5080,19 +4457,13 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ public boolean hasAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRangeBuilder_ != null - || annualizedBaseCompensationRange_ != null; + return annualizedBaseCompensationRangeBuilder_ != null || annualizedBaseCompensationRange_ != null; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5100,25 +4471,17 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } else { return annualizedBaseCompensationRangeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5126,12 +4489,9 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5145,8 +4505,6 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5154,9 +4512,7 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnualizedBaseCompensationRange( com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder builderForValue) { @@ -5170,8 +4526,6 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5179,19 +4533,13 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (annualizedBaseCompensationRange_ != null) { annualizedBaseCompensationRange_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( - annualizedBaseCompensationRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(annualizedBaseCompensationRange_).mergeFrom(value).buildPartial(); } else { annualizedBaseCompensationRange_ = value; } @@ -5203,8 +4551,6 @@ public Builder mergeAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5212,9 +4558,7 @@ public Builder mergeAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { @@ -5228,8 +4572,6 @@ public Builder clearAnnualizedBaseCompensationRange() { return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5237,19 +4579,14 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder - getAnnualizedBaseCompensationRangeBuilder() { - + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder() { + onChanged(); return getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5257,23 +4594,17 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { if (annualizedBaseCompensationRangeBuilder_ != null) { return annualizedBaseCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null ? + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5281,37 +4612,26 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedBaseCompensationRangeFieldBuilder() { if (annualizedBaseCompensationRangeBuilder_ == null) { - annualizedBaseCompensationRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedBaseCompensationRange(), getParentForChildren(), isClean()); + annualizedBaseCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedBaseCompensationRange(), + getParentForChildren(), + isClean()); annualizedBaseCompensationRange_ = null; } return annualizedBaseCompensationRangeBuilder_; } - private com.google.cloud.talent.v4.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> - annualizedTotalCompensationRangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> annualizedTotalCompensationRangeBuilder_; /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5319,19 +4639,13 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ public boolean hasAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRangeBuilder_ != null - || annualizedTotalCompensationRange_ != null; + return annualizedTotalCompensationRangeBuilder_ != null || annualizedTotalCompensationRange_ != null; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5339,25 +4653,17 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } else { return annualizedTotalCompensationRangeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5365,12 +4671,9 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5384,8 +4687,6 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5393,9 +4694,7 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnualizedTotalCompensationRange( com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder builderForValue) { @@ -5409,8 +4708,6 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5418,19 +4715,13 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (annualizedTotalCompensationRange_ != null) { annualizedTotalCompensationRange_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( - annualizedTotalCompensationRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(annualizedTotalCompensationRange_).mergeFrom(value).buildPartial(); } else { annualizedTotalCompensationRange_ = value; } @@ -5442,8 +4733,6 @@ public Builder mergeAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5451,9 +4740,7 @@ public Builder mergeAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { @@ -5467,8 +4754,6 @@ public Builder clearAnnualizedTotalCompensationRange() { return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5476,19 +4761,14 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder - getAnnualizedTotalCompensationRangeBuilder() { - + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder() { + onChanged(); return getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5496,23 +4776,17 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { if (annualizedTotalCompensationRangeBuilder_ != null) { return annualizedTotalCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null ? + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5520,29 +4794,24 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedTotalCompensationRangeFieldBuilder() { if (annualizedTotalCompensationRangeBuilder_ == null) { - annualizedTotalCompensationRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedTotalCompensationRange(), getParentForChildren(), isClean()); + annualizedTotalCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedTotalCompensationRange(), + getParentForChildren(), + isClean()); annualizedTotalCompensationRange_ = null; } return annualizedTotalCompensationRangeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5552,12 +4821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo) private static final com.google.cloud.talent.v4.CompensationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo(); } @@ -5566,27 +4835,27 @@ public static com.google.cloud.talent.v4.CompensationInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5601,4 +4870,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompensationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java index 796b977c4e14..812866915df3 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface CompensationInfoOrBuilder - extends +public interface CompensationInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -35,10 +17,9 @@ public interface CompensationInfoOrBuilder
    *
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
-  java.util.List getEntriesList();
+  java.util.List 
+      getEntriesList();
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -50,8 +31,6 @@ public interface CompensationInfoOrBuilder
    */
   com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(int index);
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -63,8 +42,6 @@ public interface CompensationInfoOrBuilder
    */
   int getEntriesCount();
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -74,11 +51,9 @@ public interface CompensationInfoOrBuilder
    *
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
-  java.util.List
+  java.util.List 
       getEntriesOrBuilderList();
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -92,8 +67,6 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
       int index);
 
   /**
-   *
-   *
    * 
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -101,16 +74,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ boolean hasAnnualizedBaseCompensationRange(); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -118,17 +86,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange(); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -136,16 +98,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -153,16 +110,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ boolean hasAnnualizedTotalCompensationRange(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -170,17 +122,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -188,10 +134,7 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java index 99e3191ccb36..93948da81edf 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Auto-complete parameters.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryRequest} */ -public final class CompleteQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryRequest) CompleteQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteQueryRequest.newBuilder() to construct. private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteQueryRequest() { tenant_ = ""; query_ = ""; @@ -48,43 +30,39 @@ private CompleteQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryRequest.class, - com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4.CompleteQueryRequest.class, com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); } /** - * - * *
    * Enum to specify the scope of completion.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompleteQueryRequest.CompletionScope} */ - public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -93,8 +71,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETION_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -103,8 +79,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ TENANT(1), /** - * - * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -117,8 +91,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -127,8 +99,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -137,8 +107,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TENANT_VALUE = 1; /** - * - * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -148,6 +116,7 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PUBLIC_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -172,42 +141,39 @@ public static CompletionScope valueOf(int value) {
      */
     public static CompletionScope forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMPLETION_SCOPE_UNSPECIFIED;
-        case 1:
-          return TENANT;
-        case 2:
-          return PUBLIC;
-        default:
-          return null;
+        case 0: return COMPLETION_SCOPE_UNSPECIFIED;
+        case 1: return TENANT;
+        case 2: return PUBLIC;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CompletionScope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CompletionScope findValueByNumber(int number) {
+              return CompletionScope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public CompletionScope findValueByNumber(int number) {
-                return CompletionScope.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.CompleteQueryRequest.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -216,7 +182,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static CompletionScope valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -234,18 +201,15 @@ private CompletionScope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Enum to specify auto-completion topics.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompleteQueryRequest.CompletionType} */ - public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -254,8 +218,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -266,8 +228,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     JOB_TITLE(1),
     /**
-     *
-     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -279,8 +239,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     COMPANY_NAME(2),
     /**
-     *
-     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -295,8 +253,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -305,8 +261,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -317,8 +271,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int JOB_TITLE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -330,8 +282,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMPANY_NAME_VALUE = 2;
     /**
-     *
-     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -343,6 +293,7 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMBINED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -367,51 +318,50 @@ public static CompletionType valueOf(int value) {
      */
     public static CompletionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMPLETION_TYPE_UNSPECIFIED;
-        case 1:
-          return JOB_TITLE;
-        case 2:
-          return COMPANY_NAME;
-        case 3:
-          return COMBINED;
-        default:
-          return null;
+        case 0: return COMPLETION_TYPE_UNSPECIFIED;
+        case 1: return JOB_TITLE;
+        case 2: return COMPANY_NAME;
+        case 3: return COMBINED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CompletionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CompletionType findValueByNumber(int number) {
+              return CompletionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public CompletionType findValueByNumber(int number) {
-            return CompletionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.CompleteQueryRequest.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final CompletionType[] VALUES = values();
 
-    public static CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CompletionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -431,18 +381,13 @@ private CompletionType(int value) {
   public static final int TENANT_FIELD_NUMBER = 1;
   private volatile java.lang.Object tenant_;
   /**
-   *
-   *
    * 
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tenant. */ @java.lang.Override @@ -451,33 +396,31 @@ public java.lang.String getTenant() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenant_ = s; return s; } } /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tenant. */ @java.lang.Override - public com.google.protobuf.ByteString getTenantBytes() { + public com.google.protobuf.ByteString + getTenantBytes() { java.lang.Object ref = tenant_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tenant_ = b; return b; } else { @@ -488,15 +431,12 @@ public com.google.protobuf.ByteString getTenantBytes() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -505,30 +445,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -539,8 +479,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int LANGUAGE_CODES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList languageCodes_; /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -550,15 +488,13 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_; } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -568,15 +504,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
    * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -586,7 +519,6 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -594,8 +526,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -605,26 +535,23 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ @java.lang.Override @@ -635,8 +562,6 @@ public int getPageSize() { public static final int COMPANY_FIELD_NUMBER = 5; private volatile java.lang.Object company_; /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -645,7 +570,6 @@ public int getPageSize() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ @java.lang.Override @@ -654,15 +578,14 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -671,15 +594,16 @@ public java.lang.String getCompany() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -690,81 +614,58 @@ public com.google.protobuf.ByteString getCompanyBytes() { public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { + @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 7; private int type_; /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -776,7 +677,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tenant_); } @@ -792,16 +694,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_); } - if (scope_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope - .COMPLETION_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, scope_); } - if (type_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(7, type_); } getUnknownFields().writeTo(output); @@ -828,22 +724,19 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_); } - if (scope_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope - .COMPLETION_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); + if (scope_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, scope_); } - if (type_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); + if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -853,19 +746,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompleteQueryRequest other = - (com.google.cloud.talent.v4.CompleteQueryRequest) obj; - - if (!getTenant().equals(other.getTenant())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getCompany().equals(other.getCompany())) return false; + com.google.cloud.talent.v4.CompleteQueryRequest other = (com.google.cloud.talent.v4.CompleteQueryRequest) obj; + + if (!getTenant() + .equals(other.getTenant())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getLanguageCodesList() + .equals(other.getLanguageCodesList())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getCompany() + .equals(other.getCompany())) return false; if (scope_ != other.scope_) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -900,136 +797,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Auto-complete parameters.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryRequest) com.google.cloud.talent.v4.CompleteQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryRequest.class, - com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4.CompleteQueryRequest.class, com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CompleteQueryRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1051,9 +942,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override @@ -1072,8 +963,7 @@ public com.google.cloud.talent.v4.CompleteQueryRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest buildPartial() { - com.google.cloud.talent.v4.CompleteQueryRequest result = - new com.google.cloud.talent.v4.CompleteQueryRequest(this); + com.google.cloud.talent.v4.CompleteQueryRequest result = new com.google.cloud.talent.v4.CompleteQueryRequest(this); int from_bitField0_ = bitField0_; result.tenant_ = tenant_; result.query_ = query_; @@ -1094,39 +984,38 @@ public com.google.cloud.talent.v4.CompleteQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryRequest) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -1134,8 +1023,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryRequest other) { - if (other == com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance()) return this; if (!other.getTenant().isEmpty()) { tenant_ = other.tenant_; onChanged(); @@ -1193,56 +1081,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tenant_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - query_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: - { - company_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: - { - scope_ = input.readEnum(); - - break; - } // case 48 - case 56: - { - type_ = input.readEnum(); - - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tenant_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + query_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: { + company_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: { + scope_ = input.readEnum(); + + break; + } // case 48 + case 56: { + type_ = input.readEnum(); + + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1252,29 +1132,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tenant_ = ""; /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tenant. */ public java.lang.String getTenant() { java.lang.Object ref = tenant_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenant_ = s; return s; @@ -1283,25 +1158,22 @@ public java.lang.String getTenant() { } } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tenant. */ - public com.google.protobuf.ByteString getTenantBytes() { + public com.google.protobuf.ByteString + getTenantBytes() { java.lang.Object ref = tenant_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tenant_ = b; return b; } else { @@ -1309,73 +1181,60 @@ public com.google.protobuf.ByteString getTenantBytes() { } } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tenant to set. * @return This builder for chaining. */ - public Builder setTenant(java.lang.String value) { + public Builder setTenant( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenant_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTenant() { - + tenant_ = getDefaultInstance().getTenant(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tenant to set. * @return This builder for chaining. */ - public Builder setTenantBytes(com.google.protobuf.ByteString value) { + public Builder setTenantBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenant_ = value; onChanged(); return this; @@ -1383,21 +1242,19 @@ public Builder setTenantBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1406,22 +1263,21 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1429,81 +1285,70 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList languageCodes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1513,15 +1358,13 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1531,15 +1374,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
      * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1549,7 +1389,6 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1557,8 +1396,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1568,16 +1405,14 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1587,23 +1422,21 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) {
      * 
* * repeated string language_codes = 3; - * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes(int index, java.lang.String value) { + public Builder setLanguageCodes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1613,22 +1446,20 @@ public Builder setLanguageCodes(int index, java.lang.String value) {
      * 
* * repeated string language_codes = 3; - * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes(java.lang.String value) { + public Builder addLanguageCodes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1638,19 +1469,18 @@ public Builder addLanguageCodes(java.lang.String value) {
      * 
* * repeated string language_codes = 3; - * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes(java.lang.Iterable values) { + public Builder addAllLanguageCodes( + java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageCodes_); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1660,7 +1490,6 @@ public Builder addAllLanguageCodes(java.lang.Iterable values)
      * 
* * repeated string language_codes = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -1670,8 +1499,6 @@ public Builder clearLanguageCodes() { return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1681,32 +1508,29 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 3; - * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ @java.lang.Override @@ -1714,38 +1538,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1753,8 +1571,6 @@ public Builder clearPageSize() { private java.lang.Object company_ = ""; /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1763,13 +1579,13 @@ public Builder clearPageSize() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -1778,8 +1594,6 @@ public java.lang.String getCompany() { } } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1788,14 +1602,15 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -1803,8 +1618,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { } } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1813,22 +1626,20 @@ public com.google.protobuf.ByteString getCompanyBytes() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany(java.lang.String value) { + public Builder setCompany( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1837,18 +1648,15 @@ public Builder setCompany(java.lang.String value) {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1857,16 +1665,16 @@ public Builder clearCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -1874,67 +1682,51 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { private int scope_ = 0; /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @param value The scope to set. * @return This builder for chaining. */ @@ -1942,24 +1734,21 @@ public Builder setScope(com.google.cloud.talent.v4.CompleteQueryRequest.Completi if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -1967,67 +1756,51 @@ public Builder clearScope() { private int type_ = 0; /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @param value The type to set. * @return This builder for chaining. */ @@ -2035,31 +1808,28 @@ public Builder setType(com.google.cloud.talent.v4.CompleteQueryRequest.Completio if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2069,12 +1839,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryRequest) private static final com.google.cloud.talent.v4.CompleteQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryRequest(); } @@ -2083,27 +1853,27 @@ public static com.google.cloud.talent.v4.CompleteQueryRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2118,4 +1888,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompleteQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java similarity index 79% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java index ea126cce6a46..ff99ef4498ba 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java @@ -1,91 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; -public interface CompleteQueryRequestOrBuilder - extends +public interface CompleteQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tenant. */ java.lang.String getTenant(); /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tenant. */ - com.google.protobuf.ByteString getTenantBytes(); + com.google.protobuf.ByteString + getTenantBytes(); /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -95,13 +63,11 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - java.util.List getLanguageCodesList(); + java.util.List + getLanguageCodesList(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -111,13 +77,10 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -127,14 +90,11 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -144,29 +104,24 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString getLanguageCodesBytes(int index); + com.google.protobuf.ByteString + getLanguageCodesBytes(int index); /** - * - * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -175,13 +130,10 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ java.lang.String getCompany(); /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -190,57 +142,45 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ - com.google.protobuf.ByteString getCompanyBytes(); + com.google.protobuf.ByteString + getCompanyBytes(); /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope(); /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java similarity index 66% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java index d3abd1f6ad06..582448442c0b 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java @@ -1,173 +1,134 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Response of auto-complete query.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse} */ -public final class CompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteQueryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryResponse) CompleteQueryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteQueryResponse.newBuilder() to construct. private CompleteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteQueryResponse() { completionResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.class, - com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.class, com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); } - public interface CompletionResultOrBuilder - extends + public interface CompletionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ java.lang.String getSuggestion(); /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString getSuggestionBytes(); + com.google.protobuf.ByteString + getSuggestionBytes(); /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType(); /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The imageUri. */ java.lang.String getImageUri(); /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString getImageUriBytes(); + com.google.protobuf.ByteString + getImageUriBytes(); } /** - * - * *
    * Resource that represents completion results.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse.CompletionResult} */ - public static final class CompletionResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompletionResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) CompletionResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompletionResult.newBuilder() to construct. private CompletionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompletionResult() { suggestion_ = ""; type_ = 0; @@ -176,41 +137,37 @@ private CompletionResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompletionResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; private volatile java.lang.Object suggestion_; /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ @java.lang.Override @@ -219,29 +176,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -252,53 +209,39 @@ public com.google.protobuf.ByteString getSuggestionBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } public static final int IMAGE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object imageUri_; /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The imageUri. */ @java.lang.Override @@ -307,30 +250,30 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -339,7 +282,6 @@ public com.google.protobuf.ByteString getImageUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,14 +293,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } - if (type_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { @@ -376,11 +316,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } - if (type_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageUri_); @@ -393,17 +331,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other = - (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) obj; + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) obj; - if (!getSuggestion().equals(other.getSuggestion())) return false; + if (!getSuggestion() + .equals(other.getSuggestion())) return false; if (type_ != other.type_) return false; - if (!getImageUri().equals(other.getImageUri())) return false; + if (!getImageUri() + .equals(other.getImageUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -427,95 +366,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -525,42 +456,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Resource that represents completion results.
      * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse.CompletionResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); } - // Construct using - // com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -574,16 +502,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - getDefaultInstanceForType() { - return com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - .getDefaultInstance(); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { + return com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance(); } @java.lang.Override @@ -597,8 +523,7 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult build() @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult buildPartial() { - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult result = - new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(this); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult result = new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(this); result.suggestion_ = suggestion_; result.type_ = type_; result.imageUri_ = imageUri_; @@ -610,53 +535,46 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) { - return mergeFrom( - (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other) { - if (other - == com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other) { + if (other == com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; onChanged(); @@ -694,31 +612,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - suggestion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - imageUri_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + suggestion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + + break; + } // case 16 + case 26: { + imageUri_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,20 +645,18 @@ public Builder mergeFrom( private java.lang.Object suggestion_ = ""; /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -753,21 +665,20 @@ public java.lang.String getSuggestion() { } } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -775,61 +686,54 @@ public com.google.protobuf.ByteString getSuggestionBytes() { } } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion(java.lang.String value) { + public Builder setSuggestion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); return this; } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { + public Builder setSuggestionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); return this; @@ -837,67 +741,51 @@ public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -905,24 +793,21 @@ public Builder setType(com.google.cloud.talent.v4.CompleteQueryRequest.Completio if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -930,21 +815,19 @@ public Builder clearType() { private java.lang.Object imageUri_ = ""; /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -953,22 +836,21 @@ public java.lang.String getImageUri() { } } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -976,69 +858,61 @@ public com.google.protobuf.ByteString getImageUriBytes() { } } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri(java.lang.String value) { + public Builder setImageUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes(com.google.protobuf.ByteString value) { + public Builder setImageUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1051,44 +925,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) - private static final com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - getDefaultInstance() { + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompletionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompletionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,108 +971,81 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - getDefaultInstanceForType() { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int COMPLETION_RESULTS_FIELD_NUMBER = 1; - private java.util.List - completionResults_; + private java.util.List completionResults_; /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public java.util.List - getCompletionResultsList() { + public java.util.List getCompletionResultsList() { return completionResults_; } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + public java.util.List getCompletionResultsOrBuilderList() { return completionResults_; } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override public int getCompletionResultsCount() { return completionResults_.size(); } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { return completionResults_.get(index); } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index) { return completionResults_.get(index); } public static final int METADATA_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1209,26 +1053,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -1242,7 +1079,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1254,7 +1090,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < completionResults_.size(); i++) {
       output.writeMessage(1, completionResults_.get(i));
     }
@@ -1271,11 +1108,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < completionResults_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, completionResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, completionResults_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1285,18 +1123,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.CompleteQueryResponse other =
-        (com.google.cloud.talent.v4.CompleteQueryResponse) obj;
+    com.google.cloud.talent.v4.CompleteQueryResponse other = (com.google.cloud.talent.v4.CompleteQueryResponse) obj;
 
-    if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false;
+    if (!getCompletionResultsList()
+        .equals(other.getCompletionResultsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1322,136 +1161,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response of auto-complete query.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryResponse) com.google.cloud.talent.v4.CompleteQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.class, - com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.class, com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.CompleteQueryResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1472,9 +1305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override @@ -1493,8 +1326,7 @@ public com.google.cloud.talent.v4.CompleteQueryResponse build() { @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryResponse buildPartial() { - com.google.cloud.talent.v4.CompleteQueryResponse result = - new com.google.cloud.talent.v4.CompleteQueryResponse(this); + com.google.cloud.talent.v4.CompleteQueryResponse result = new com.google.cloud.talent.v4.CompleteQueryResponse(this); int from_bitField0_ = bitField0_; if (completionResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1518,39 +1350,38 @@ public com.google.cloud.talent.v4.CompleteQueryResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryResponse) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse) other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse)other); } else { super.mergeFrom(other); return this; @@ -1558,8 +1389,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse other) { - if (other == com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance()) return this; if (completionResultsBuilder_ == null) { if (!other.completionResults_.isEmpty()) { if (completionResults_.isEmpty()) { @@ -1578,10 +1408,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse other) completionResultsBuilder_ = null; completionResults_ = other.completionResults_; bitField0_ = (bitField0_ & ~0x00000001); - completionResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompletionResultsFieldBuilder() - : null; + completionResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompletionResultsFieldBuilder() : null; } else { completionResultsBuilder_.addAllMessages(other.completionResults_); } @@ -1616,33 +1445,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult m = - input.readMessage( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.parser(), - extensionRegistry); - if (completionResultsBuilder_ == null) { - ensureCompletionResultsIsMutable(); - completionResults_.add(m); - } else { - completionResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult m = + input.readMessage( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.parser(), + extensionRegistry); + if (completionResultsBuilder_ == null) { + ensureCompletionResultsIsMutable(); + completionResults_.add(m); + } else { + completionResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1652,41 +1480,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - completionResults_ = java.util.Collections.emptyList(); - + private java.util.List completionResults_ = + java.util.Collections.emptyList(); private void ensureCompletionResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - completionResults_ = - new java.util.ArrayList< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult>( - completionResults_); + completionResults_ = new java.util.ArrayList(completionResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> - completionResultsBuilder_; + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> completionResultsBuilder_; /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List - getCompletionResultsList() { + public java.util.List getCompletionResultsList() { if (completionResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(completionResults_); } else { @@ -1694,15 +1509,11 @@ private void ensureCompletionResultsIsMutable() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public int getCompletionResultsCount() { if (completionResultsBuilder_ == null) { @@ -1712,18 +1523,13 @@ public int getCompletionResultsCount() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { if (completionResultsBuilder_ == null) { return completionResults_.get(index); } else { @@ -1731,15 +1537,11 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getComp } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder setCompletionResults( int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { @@ -1756,19 +1558,14 @@ public Builder setCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder setCompletionResults( - int index, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.set(index, builderForValue.build()); @@ -1779,18 +1576,13 @@ public Builder setCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public Builder addCompletionResults( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { + public Builder addCompletionResults(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { if (completionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1804,15 +1596,11 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { @@ -1829,15 +1617,11 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { @@ -1851,19 +1635,14 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( - int index, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(index, builderForValue.build()); @@ -1874,23 +1653,18 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addAllCompletionResults( - java.lang.Iterable< - ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult> - values) { + java.lang.Iterable values) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completionResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, completionResults_); onChanged(); } else { completionResultsBuilder_.addAllMessages(values); @@ -1898,15 +1672,11 @@ public Builder addAllCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder clearCompletionResults() { if (completionResultsBuilder_ == null) { @@ -1919,15 +1689,11 @@ public Builder clearCompletionResults() { return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder removeCompletionResults(int index) { if (completionResultsBuilder_ == null) { @@ -1940,53 +1706,39 @@ public Builder removeCompletionResults(int index) { return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder - getCompletionResultsBuilder(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder( + int index) { return getCompletionResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index) { if (completionResultsBuilder_ == null) { - return completionResults_.get(index); - } else { + return completionResults_.get(index); } else { return completionResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> - getCompletionResultsOrBuilderList() { + public java.util.List + getCompletionResultsOrBuilderList() { if (completionResultsBuilder_ != null) { return completionResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1994,69 +1746,45 @@ public Builder removeCompletionResults(int index) { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder - addCompletionResultsBuilder() { - return getCompletionResultsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - .getDefaultInstance()); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder() { + return getCompletionResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder - addCompletionResultsBuilder(int index) { - return getCompletionResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - .getDefaultInstance()); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder( + int index) { + return getCompletionResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List - getCompletionResultsBuilderList() { + public java.util.List + getCompletionResultsBuilderList() { return getCompletionResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsFieldBuilder() { if (completionResultsBuilder_ == null) { - completionResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder>( + completionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2068,49 +1796,36 @@ public Builder removeCompletionResults(int index) { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2132,8 +1847,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2153,8 +1866,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2166,9 +1877,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -2180,8 +1889,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2201,8 +1908,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2211,13 +1916,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 2;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2229,14 +1932,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2245,24 +1945,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2272,12 +1969,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryResponse)
   private static final com.google.cloud.talent.v4.CompleteQueryResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryResponse();
   }
@@ -2286,27 +1983,27 @@ public static com.google.cloud.talent.v4.CompleteQueryResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CompleteQueryResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CompleteQueryResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2321,4 +2018,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.CompleteQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
similarity index 55%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
index 45964ab4c335..3d7d1cbdf542 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
@@ -1,122 +1,77 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/completion_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface CompleteQueryResponseOrBuilder
-    extends
+public interface CompleteQueryResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - java.util.List + java.util.List getCompletionResultsList(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ int getCompletionResultsCount(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - java.util.List< - ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + java.util.List getCompletionResultsOrBuilderList(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
new file mode 100644
index 000000000000..2d4ab437d889
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
@@ -0,0 +1,124 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4/completion_service.proto
+
+package com.google.cloud.talent.v4;
+
+public final class CompletionServiceProto {
+  private CompletionServiceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n/google/cloud/talent/v4/completion_serv" +
+      "ice.proto\022\026google.cloud.talent.v4\032\034googl" +
+      "e/api/annotations.proto\032\027google/api/clie" +
+      "nt.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032#google/clo" +
+      "ud/talent/v4/common.proto\"\210\004\n\024CompleteQu" +
+      "eryRequest\0222\n\006tenant\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs" +
+      ".googleapis.com/Tenant\022\022\n\005query\030\002 \001(\tB\003\340" +
+      "A\002\022\026\n\016language_codes\030\003 \003(\t\022\026\n\tpage_size\030" +
+      "\004 \001(\005B\003\340A\002\0221\n\007company\030\005 \001(\tB \372A\035\n\033jobs.g" +
+      "oogleapis.com/Company\022K\n\005scope\030\006 \001(\0162<.g" +
+      "oogle.cloud.talent.v4.CompleteQueryReque" +
+      "st.CompletionScope\022I\n\004type\030\007 \001(\0162;.googl" +
+      "e.cloud.talent.v4.CompleteQueryRequest.C" +
+      "ompletionType\"K\n\017CompletionScope\022 \n\034COMP" +
+      "LETION_SCOPE_UNSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n" +
+      "\n\006PUBLIC\020\002\"`\n\016CompletionType\022\037\n\033COMPLETI" +
+      "ON_TYPE_UNSPECIFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014" +
+      "COMPANY_NAME\020\002\022\014\n\010COMBINED\020\003\"\266\002\n\025Complet" +
+      "eQueryResponse\022Z\n\022completion_results\030\001 \003" +
+      "(\0132>.google.cloud.talent.v4.CompleteQuer" +
+      "yResponse.CompletionResult\022:\n\010metadata\030\002" +
+      " \001(\0132(.google.cloud.talent.v4.ResponseMe" +
+      "tadata\032\204\001\n\020CompletionResult\022\022\n\nsuggestio" +
+      "n\030\001 \001(\t\022I\n\004type\030\002 \001(\0162;.google.cloud.tal" +
+      "ent.v4.CompleteQueryRequest.CompletionTy" +
+      "pe\022\021\n\timage_uri\030\003 \001(\t2\242\002\n\nCompletion\022\245\001\n" +
+      "\rCompleteQuery\022,.google.cloud.talent.v4." +
+      "CompleteQueryRequest\032-.google.cloud.tale" +
+      "nt.v4.CompleteQueryResponse\"7\202\323\344\223\0021\022//v4" +
+      "/{tenant=projects/*/tenants/*}:completeQ" +
+      "uery\032l\312A\023jobs.googleapis.com\322AShttps://w" +
+      "ww.googleapis.com/auth/cloud-platform,ht" +
+      "tps://www.googleapis.com/auth/jobsBz\n\032co" +
+      "m.google.cloud.talent.v4B\026CompletionServ" +
+      "iceProtoP\001Z
  * The report event request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateClientEventRequest} */ -public final class CreateClientEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClientEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateClientEventRequest) CreateClientEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClientEventRequest.newBuilder() to construct. private CreateClientEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClientEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClientEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateClientEventRequest.class, - com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4.CreateClientEventRequest.class, com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,17 +101,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CLIENT_EVENT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.ClientEvent clientEvent_; /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ @java.lang.Override @@ -145,36 +114,25 @@ public boolean hasClientEvent() { return clientEvent_ != null; } /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ @java.lang.Override public com.google.cloud.talent.v4.ClientEvent getClientEvent() { - return clientEvent_ == null - ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; } /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() { @@ -182,7 +140,6 @@ public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -214,7 +172,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (clientEvent_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientEvent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getClientEvent()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,18 +183,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateClientEventRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateClientEventRequest other = - (com.google.cloud.talent.v4.CreateClientEventRequest) obj; + com.google.cloud.talent.v4.CreateClientEventRequest other = (com.google.cloud.talent.v4.CreateClientEventRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - if (!getClientEvent().equals(other.getClientEvent())) return false; + if (!getClientEvent() + .equals(other.getClientEvent())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -260,135 +220,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CreateClientEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The report event request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateClientEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateClientEventRequest) com.google.cloud.talent.v4.CreateClientEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateClientEventRequest.class, - com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4.CreateClientEventRequest.class, com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateClientEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +358,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override @@ -425,8 +379,7 @@ public com.google.cloud.talent.v4.CreateClientEventRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateClientEventRequest buildPartial() { - com.google.cloud.talent.v4.CreateClientEventRequest result = - new com.google.cloud.talent.v4.CreateClientEventRequest(this); + com.google.cloud.talent.v4.CreateClientEventRequest result = new com.google.cloud.talent.v4.CreateClientEventRequest(this); result.parent_ = parent_; if (clientEventBuilder_ == null) { result.clientEvent_ = clientEvent_; @@ -441,39 +394,38 @@ public com.google.cloud.talent.v4.CreateClientEventRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateClientEventRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateClientEventRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CreateClientEventRequest)other); } else { super.mergeFrom(other); return this; @@ -481,8 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CreateClientEventRequest other) { - if (other == com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -516,25 +467,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getClientEventFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getClientEventFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -547,24 +497,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -573,25 +519,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -599,73 +542,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -673,61 +603,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, - com.google.cloud.talent.v4.ClientEvent.Builder, - com.google.cloud.talent.v4.ClientEventOrBuilder> - clientEventBuilder_; + com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder> clientEventBuilder_; /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ public boolean hasClientEvent() { return clientEventBuilder_ != null || clientEvent_ != null; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ public com.google.cloud.talent.v4.ClientEvent getClientEvent() { if (clientEventBuilder_ == null) { - return clientEvent_ == null - ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; } else { return clientEventBuilder_.getMessage(); } } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent value) { if (clientEventBuilder_ == null) { @@ -743,18 +654,15 @@ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent value) { return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent.Builder builderForValue) { + public Builder setClientEvent( + com.google.cloud.talent.v4.ClientEvent.Builder builderForValue) { if (clientEventBuilder_ == null) { clientEvent_ = builderForValue.build(); onChanged(); @@ -765,24 +673,18 @@ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent.Builder bui return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeClientEvent(com.google.cloud.talent.v4.ClientEvent value) { if (clientEventBuilder_ == null) { if (clientEvent_ != null) { clientEvent_ = - com.google.cloud.talent.v4.ClientEvent.newBuilder(clientEvent_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.ClientEvent.newBuilder(clientEvent_).mergeFrom(value).buildPartial(); } else { clientEvent_ = value; } @@ -794,16 +696,12 @@ public Builder mergeClientEvent(com.google.cloud.talent.v4.ClientEvent value) { return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearClientEvent() { if (clientEventBuilder_ == null) { @@ -817,74 +715,58 @@ public Builder clearClientEvent() { return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.ClientEvent.Builder getClientEventBuilder() { - + onChanged(); return getClientEventFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() { if (clientEventBuilder_ != null) { return clientEventBuilder_.getMessageOrBuilder(); } else { - return clientEvent_ == null - ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? + com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; } } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, - com.google.cloud.talent.v4.ClientEvent.Builder, - com.google.cloud.talent.v4.ClientEventOrBuilder> + com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder> getClientEventFieldBuilder() { if (clientEventBuilder_ == null) { - clientEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, - com.google.cloud.talent.v4.ClientEvent.Builder, - com.google.cloud.talent.v4.ClientEventOrBuilder>( - getClientEvent(), getParentForChildren(), isClean()); + clientEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder>( + getClientEvent(), + getParentForChildren(), + isClean()); clientEvent_ = null; } return clientEventBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -894,12 +776,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateClientEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateClientEventRequest) private static final com.google.cloud.talent.v4.CreateClientEventRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateClientEventRequest(); } @@ -908,27 +790,27 @@ public static com.google.cloud.talent.v4.CreateClientEventRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClientEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClientEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -943,4 +825,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateClientEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java similarity index 52% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java index 0dae60433690..706e6e386c86 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java @@ -1,102 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event_service.proto package com.google.cloud.talent.v4; -public interface CreateClientEventRequestOrBuilder - extends +public interface CreateClientEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateClientEventRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ boolean hasClientEvent(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ com.google.cloud.talent.v4.ClientEvent getClientEvent(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java index 703553b79e44..10f9ca0368e0 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The Request of the CreateCompany method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateCompanyRequest} */ -public final class CreateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateCompanyRequest) CreateCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCompanyRequest.newBuilder() to construct. private CreateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCompanyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateCompanyRequest.class, - com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.CreateCompanyRequest.class, com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int COMPANY_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Company company_; /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ @java.lang.Override @@ -143,15 +113,11 @@ public boolean hasCompany() { return company_ != null; } /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ @java.lang.Override @@ -159,14 +125,11 @@ public com.google.cloud.talent.v4.Company getCompany() { return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { @@ -174,7 +137,6 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (company_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompany()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCompany()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,18 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateCompanyRequest other = - (com.google.cloud.talent.v4.CreateCompanyRequest) obj; + com.google.cloud.talent.v4.CreateCompanyRequest other = (com.google.cloud.talent.v4.CreateCompanyRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - if (!getCompany().equals(other.getCompany())) return false; + if (!getCompany() + .equals(other.getCompany())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +216,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CreateCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request of the CreateCompany method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateCompanyRequest) com.google.cloud.talent.v4.CreateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateCompanyRequest.class, - com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.CreateCompanyRequest.class, com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override @@ -417,8 +376,7 @@ public com.google.cloud.talent.v4.CreateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateCompanyRequest buildPartial() { - com.google.cloud.talent.v4.CreateCompanyRequest result = - new com.google.cloud.talent.v4.CreateCompanyRequest(this); + com.google.cloud.talent.v4.CreateCompanyRequest result = new com.google.cloud.talent.v4.CreateCompanyRequest(this); result.parent_ = parent_; if (companyBuilder_ == null) { result.company_ = company_; @@ -433,39 +391,38 @@ public com.google.cloud.talent.v4.CreateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CreateCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -473,8 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CreateCompanyRequest other) { - if (other == com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -508,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getCompanyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -565,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -591,73 +539,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -665,55 +600,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> - companyBuilder_; + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companyBuilder_; /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ public com.google.cloud.talent.v4.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null - ? com.google.cloud.talent.v4.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } else { return companyBuilder_.getMessage(); } } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { @@ -729,16 +648,14 @@ public Builder setCompany(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder setCompany( + com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -749,22 +666,17 @@ public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForV return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4.Company.newBuilder(company_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Company.newBuilder(company_).mergeFrom(value).buildPartial(); } else { company_ = value; } @@ -776,14 +688,11 @@ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -797,68 +706,55 @@ public Builder clearCompany() { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null - ? com.google.cloud.talent.v4.Company.getDefaultInstance() - : company_; + return company_ == null ? + com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder>( - getCompany(), getParentForChildren(), isClean()); + companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( + getCompany(), + getParentForChildren(), + isClean()); company_ = null; } return companyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateCompanyRequest) private static final com.google.cloud.talent.v4.CreateCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateCompanyRequest(); } @@ -882,27 +778,27 @@ public static com.google.cloud.talent.v4.CreateCompanyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java similarity index 55% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java index fa6004ae54fb..e25a6715251a 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java @@ -1,96 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; -public interface CreateCompanyRequestOrBuilder - extends +public interface CreateCompanyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateCompanyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ boolean hasCompany(); /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ com.google.cloud.talent.v4.Company getCompany(); /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java similarity index 67% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java index a1ffba37ceb7..b43e80246eee 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Create job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateJobRequest} */ -public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateJobRequest) CreateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateJobRequest.class, - com.google.cloud.talent.v4.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4.CreateJobRequest.class, com.google.cloud.talent.v4.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,14 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Job job_; /** - * - * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ @java.lang.Override @@ -142,14 +113,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ @java.lang.Override @@ -157,8 +125,6 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be created.
    * 
@@ -171,7 +137,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -203,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,18 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateJobRequest other = - (com.google.cloud.talent.v4.CreateJobRequest) obj; + com.google.cloud.talent.v4.CreateJobRequest other = (com.google.cloud.talent.v4.CreateJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -248,136 +216,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateJobRequest) com.google.cloud.talent.v4.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateJobRequest.class, - com.google.cloud.talent.v4.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4.CreateJobRequest.class, com.google.cloud.talent.v4.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override @@ -414,8 +376,7 @@ public com.google.cloud.talent.v4.CreateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateJobRequest buildPartial() { - com.google.cloud.talent.v4.CreateJobRequest result = - new com.google.cloud.talent.v4.CreateJobRequest(this); + com.google.cloud.talent.v4.CreateJobRequest result = new com.google.cloud.talent.v4.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -430,39 +391,38 @@ public com.google.cloud.talent.v4.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CreateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -504,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -535,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -561,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -587,73 +539,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -661,33 +600,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -698,8 +628,6 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -720,15 +648,14 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -739,8 +666,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -750,7 +675,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -762,8 +688,6 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -782,8 +706,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -791,13 +713,11 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -808,12 +728,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -821,24 +740,21 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -848,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateJobRequest) private static final com.google.cloud.talent.v4.CreateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateJobRequest(); } @@ -862,27 +778,27 @@ public static com.google.cloud.talent.v4.CreateJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -897,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java similarity index 59% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java index 6bf6a113cd8a..a52666ef4ee8 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java @@ -1,88 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface CreateJobRequestOrBuilder - extends +public interface CreateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** - * - * *
    * Required. The Job to be created.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java index 83c720635ef2..d0411258dc4f 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The Request of the CreateTenant method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateTenantRequest} */ -public final class CreateTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateTenantRequest) CreateTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTenantRequest.newBuilder() to construct. private CreateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTenantRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateTenantRequest.class, - com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4.CreateTenantRequest.class, com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TENANT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Tenant tenant_; /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ @java.lang.Override @@ -143,15 +113,11 @@ public boolean hasTenant() { return tenant_ != null; } /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ @java.lang.Override @@ -159,14 +125,11 @@ public com.google.cloud.talent.v4.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { @@ -174,7 +137,6 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tenant_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTenant()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTenant()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,18 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateTenantRequest other = - (com.google.cloud.talent.v4.CreateTenantRequest) obj; + com.google.cloud.talent.v4.CreateTenantRequest other = (com.google.cloud.talent.v4.CreateTenantRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - if (!getTenant().equals(other.getTenant())) return false; + if (!getTenant() + .equals(other.getTenant())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +216,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CreateTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request of the CreateTenant method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateTenantRequest) com.google.cloud.talent.v4.CreateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateTenantRequest.class, - com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4.CreateTenantRequest.class, com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override @@ -417,8 +376,7 @@ public com.google.cloud.talent.v4.CreateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateTenantRequest buildPartial() { - com.google.cloud.talent.v4.CreateTenantRequest result = - new com.google.cloud.talent.v4.CreateTenantRequest(this); + com.google.cloud.talent.v4.CreateTenantRequest result = new com.google.cloud.talent.v4.CreateTenantRequest(this); result.parent_ = parent_; if (tenantBuilder_ == null) { result.tenant_ = tenant_; @@ -433,39 +391,38 @@ public com.google.cloud.talent.v4.CreateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CreateTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -507,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getTenantFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -564,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -590,73 +539,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -664,35 +600,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> - tenantBuilder_; + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantBuilder_; /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ public com.google.cloud.talent.v4.Tenant getTenant() { @@ -703,14 +628,11 @@ public com.google.cloud.talent.v4.Tenant getTenant() { } } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { @@ -726,16 +648,14 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder setTenant( + com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -746,20 +666,17 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForVal return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -771,14 +688,11 @@ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -792,66 +706,55 @@ public Builder clearTenant() { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null ? + com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder>( - getTenant(), getParentForChildren(), isClean()); + tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( + getTenant(), + getParentForChildren(), + isClean()); tenant_ = null; } return tenantBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -861,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateTenantRequest) private static final com.google.cloud.talent.v4.CreateTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateTenantRequest(); } @@ -875,27 +778,27 @@ public static com.google.cloud.talent.v4.CreateTenantRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -910,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java similarity index 54% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java index 89cb7dd214e6..e8e2bee8de7c 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java @@ -1,96 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; -public interface CreateTenantRequestOrBuilder - extends +public interface CreateTenantRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateTenantRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ boolean hasTenant(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ com.google.cloud.talent.v4.Tenant getTenant(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java index c018ac2ca749..7c745131ca94 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Custom attribute values that are either filterable or non-filterable.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CustomAttribute} */ -public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomAttribute extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CustomAttribute) CustomAttributeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomAttribute.newBuilder() to construct. private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; longValues_ = emptyLongList(); @@ -44,35 +26,32 @@ private CustomAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CustomAttribute.class, - com.google.cloud.talent.v4.CustomAttribute.Builder.class); + com.google.cloud.talent.v4.CustomAttribute.class, com.google.cloud.talent.v4.CustomAttribute.Builder.class); } public static final int STRING_VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList stringValues_; /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -85,15 +64,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList getStringValuesList() { + public com.google.protobuf.ProtocolStringList + getStringValuesList() { return stringValues_; } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -106,15 +83,12 @@ public com.google.protobuf.ProtocolStringList getStringValuesList() {
    * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -127,7 +101,6 @@ public int getStringValuesCount() {
    * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -135,8 +108,6 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -149,19 +120,17 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString getStringValuesBytes(int index) { + public com.google.protobuf.ByteString + getStringValuesBytes(int index) { return stringValues_.getByteString(index); } public static final int LONG_VALUES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList longValues_; /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -170,16 +139,14 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) {
    * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ @java.lang.Override - public java.util.List getLongValuesList() { + public java.util.List + getLongValuesList() { return longValues_; } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -188,15 +155,12 @@ public java.util.List getLongValuesList() {
    * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -205,21 +169,17 @@ public int getLongValuesCount() {
    * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ public long getLongValues(int index) { return longValues_.getLong(index); } - private int longValuesMemoizedSerializedSize = -1; public static final int FILTERABLE_FIELD_NUMBER = 3; private boolean filterable_; /** - * - * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -228,7 +188,6 @@ public long getLongValues(int index) {
    * 
* * bool filterable = 3; - * * @return The filterable. */ @java.lang.Override @@ -239,8 +198,6 @@ public boolean getFilterable() { public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER = 4; private boolean keywordSearchable_; /** - * - * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -249,7 +206,6 @@ public boolean getFilterable() {
    * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ @java.lang.Override @@ -258,7 +214,6 @@ public boolean getKeywordSearchable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stringValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValues_.getRaw(i)); @@ -308,21 +264,24 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } longValuesMemoizedSerializedSize = dataSize; } if (filterable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, filterable_); } if (keywordSearchable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, keywordSearchable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, keywordSearchable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,18 +291,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CustomAttribute)) { return super.equals(obj); } - com.google.cloud.talent.v4.CustomAttribute other = - (com.google.cloud.talent.v4.CustomAttribute) obj; - - if (!getStringValuesList().equals(other.getStringValuesList())) return false; - if (!getLongValuesList().equals(other.getLongValuesList())) return false; - if (getFilterable() != other.getFilterable()) return false; - if (getKeywordSearchable() != other.getKeywordSearchable()) return false; + com.google.cloud.talent.v4.CustomAttribute other = (com.google.cloud.talent.v4.CustomAttribute) obj; + + if (!getStringValuesList() + .equals(other.getStringValuesList())) return false; + if (!getLongValuesList() + .equals(other.getLongValuesList())) return false; + if (getFilterable() + != other.getFilterable()) return false; + if (getKeywordSearchable() + != other.getKeywordSearchable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,144 +326,140 @@ public int hashCode() { hash = (53 * hash) + getLongValuesList().hashCode(); } hash = (37 * hash) + FILTERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFilterable()); hash = (37 * hash) + KEYWORD_SEARCHABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeywordSearchable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getKeywordSearchable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CustomAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Custom attribute values that are either filterable or non-filterable.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CustomAttribute} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CustomAttribute) com.google.cloud.talent.v4.CustomAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CustomAttribute.class, - com.google.cloud.talent.v4.CustomAttribute.Builder.class); + com.google.cloud.talent.v4.CustomAttribute.class, com.google.cloud.talent.v4.CustomAttribute.Builder.class); } // Construct using com.google.cloud.talent.v4.CustomAttribute.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override @@ -538,8 +496,7 @@ public com.google.cloud.talent.v4.CustomAttribute build() { @java.lang.Override public com.google.cloud.talent.v4.CustomAttribute buildPartial() { - com.google.cloud.talent.v4.CustomAttribute result = - new com.google.cloud.talent.v4.CustomAttribute(this); + com.google.cloud.talent.v4.CustomAttribute result = new com.google.cloud.talent.v4.CustomAttribute(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); @@ -561,39 +518,38 @@ public com.google.cloud.talent.v4.CustomAttribute buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CustomAttribute) { - return mergeFrom((com.google.cloud.talent.v4.CustomAttribute) other); + return mergeFrom((com.google.cloud.talent.v4.CustomAttribute)other); } else { super.mergeFrom(other); return this; @@ -654,50 +610,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureStringValuesIsMutable(); - stringValues_.add(s); - break; - } // case 10 - case 16: - { - long v = input.readInt64(); - ensureLongValuesIsMutable(); - longValues_.addLong(v); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureLongValuesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - longValues_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 18 - case 24: - { - filterable_ = input.readBool(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureStringValuesIsMutable(); + stringValues_.add(s); + break; + } // case 10 + case 16: { + long v = input.readInt64(); + ensureLongValuesIsMutable(); + longValues_.addLong(v); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureLongValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + longValues_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 18 + case 24: { + filterable_ = input.readBool(); - break; - } // case 24 - case 32: - { - keywordSearchable_ = input.readBool(); + break; + } // case 24 + case 32: { + keywordSearchable_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -707,21 +657,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList stringValues_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStringValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -734,15 +679,13 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList getStringValuesList() { + public com.google.protobuf.ProtocolStringList + getStringValuesList() { return stringValues_.getUnmodifiableView(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -755,15 +698,12 @@ public com.google.protobuf.ProtocolStringList getStringValuesList() {
      * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -776,7 +716,6 @@ public int getStringValuesCount() {
      * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -784,8 +723,6 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -798,16 +735,14 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString getStringValuesBytes(int index) { + public com.google.protobuf.ByteString + getStringValuesBytes(int index) { return stringValues_.getByteString(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -820,23 +755,21 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) {
      * 
* * repeated string string_values = 1; - * * @param index The index to set the value at. * @param value The stringValues to set. * @return This builder for chaining. */ - public Builder setStringValues(int index, java.lang.String value) { + public Builder setStringValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.set(index, value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -849,22 +782,20 @@ public Builder setStringValues(int index, java.lang.String value) {
      * 
* * repeated string string_values = 1; - * * @param value The stringValues to add. * @return This builder for chaining. */ - public Builder addStringValues(java.lang.String value) { + public Builder addStringValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -877,19 +808,18 @@ public Builder addStringValues(java.lang.String value) {
      * 
* * repeated string string_values = 1; - * * @param values The stringValues to add. * @return This builder for chaining. */ - public Builder addAllStringValues(java.lang.Iterable values) { + public Builder addAllStringValues( + java.lang.Iterable values) { ensureStringValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stringValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stringValues_); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -902,7 +832,6 @@ public Builder addAllStringValues(java.lang.Iterable values) {
      * 
* * repeated string string_values = 1; - * * @return This builder for chaining. */ public Builder clearStringValues() { @@ -912,8 +841,6 @@ public Builder clearStringValues() { return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -926,15 +853,15 @@ public Builder clearStringValues() {
      * 
* * repeated string string_values = 1; - * * @param value The bytes of the stringValues to add. * @return This builder for chaining. */ - public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { + public Builder addStringValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); @@ -942,16 +869,13 @@ public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); - private void ensureLongValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -960,17 +884,14 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ - public java.util.List getLongValuesList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(longValues_) - : longValues_; + public java.util.List + getLongValuesList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(longValues_) : longValues_; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -979,15 +900,12 @@ public java.util.List getLongValuesList() {
      * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -996,7 +914,6 @@ public int getLongValuesCount() {
      * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ @@ -1004,8 +921,6 @@ public long getLongValues(int index) { return longValues_.getLong(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1014,20 +929,18 @@ public long getLongValues(int index) {
      * 
* * repeated int64 long_values = 2; - * * @param index The index to set the value at. * @param value The longValues to set. * @return This builder for chaining. */ - public Builder setLongValues(int index, long value) { + public Builder setLongValues( + int index, long value) { ensureLongValuesIsMutable(); longValues_.setLong(index, value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1036,7 +949,6 @@ public Builder setLongValues(int index, long value) {
      * 
* * repeated int64 long_values = 2; - * * @param value The longValues to add. * @return This builder for chaining. */ @@ -1047,8 +959,6 @@ public Builder addLongValues(long value) { return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1057,19 +967,18 @@ public Builder addLongValues(long value) {
      * 
* * repeated int64 long_values = 2; - * * @param values The longValues to add. * @return This builder for chaining. */ - public Builder addAllLongValues(java.lang.Iterable values) { + public Builder addAllLongValues( + java.lang.Iterable values) { ensureLongValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, longValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, longValues_); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1078,7 +987,6 @@ public Builder addAllLongValues(java.lang.Iterable val
      * 
* * repeated int64 long_values = 2; - * * @return This builder for chaining. */ public Builder clearLongValues() { @@ -1088,10 +996,8 @@ public Builder clearLongValues() { return this; } - private boolean filterable_; + private boolean filterable_ ; /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1100,7 +1006,6 @@ public Builder clearLongValues() {
      * 
* * bool filterable = 3; - * * @return The filterable. */ @java.lang.Override @@ -1108,8 +1013,6 @@ public boolean getFilterable() { return filterable_; } /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1118,19 +1021,16 @@ public boolean getFilterable() {
      * 
* * bool filterable = 3; - * * @param value The filterable to set. * @return This builder for chaining. */ public Builder setFilterable(boolean value) { - + filterable_ = value; onChanged(); return this; } /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1139,20 +1039,17 @@ public Builder setFilterable(boolean value) {
      * 
* * bool filterable = 3; - * * @return This builder for chaining. */ public Builder clearFilterable() { - + filterable_ = false; onChanged(); return this; } - private boolean keywordSearchable_; + private boolean keywordSearchable_ ; /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1161,7 +1058,6 @@ public Builder clearFilterable() {
      * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ @java.lang.Override @@ -1169,8 +1065,6 @@ public boolean getKeywordSearchable() { return keywordSearchable_; } /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1179,19 +1073,16 @@ public boolean getKeywordSearchable() {
      * 
* * bool keyword_searchable = 4; - * * @param value The keywordSearchable to set. * @return This builder for chaining. */ public Builder setKeywordSearchable(boolean value) { - + keywordSearchable_ = value; onChanged(); return this; } /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1200,18 +1091,17 @@ public Builder setKeywordSearchable(boolean value) {
      * 
* * bool keyword_searchable = 4; - * * @return This builder for chaining. */ public Builder clearKeywordSearchable() { - + keywordSearchable_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1221,12 +1111,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CustomAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CustomAttribute) private static final com.google.cloud.talent.v4.CustomAttribute DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CustomAttribute(); } @@ -1235,27 +1125,27 @@ public static com.google.cloud.talent.v4.CustomAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1270,4 +1160,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CustomAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java similarity index 86% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java index 4e5b0b8c40d0..615a9906c0ed 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface CustomAttributeOrBuilder - extends +public interface CustomAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CustomAttribute) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -38,13 +20,11 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - java.util.List getStringValuesList(); + java.util.List + getStringValuesList(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -57,13 +37,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ int getStringValuesCount(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -76,14 +53,11 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ java.lang.String getStringValues(int index); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -96,15 +70,13 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - com.google.protobuf.ByteString getStringValuesBytes(int index); + com.google.protobuf.ByteString + getStringValuesBytes(int index); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -113,13 +85,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ java.util.List getLongValuesList(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -128,13 +97,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ int getLongValuesCount(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -143,15 +109,12 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ long getLongValues(int index); /** - * - * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -160,14 +123,11 @@ public interface CustomAttributeOrBuilder
    * 
* * bool filterable = 3; - * * @return The filterable. */ boolean getFilterable(); /** - * - * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -176,7 +136,6 @@ public interface CustomAttributeOrBuilder
    * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ boolean getKeywordSearchable(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java similarity index 81% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java index 90502af83217..44b626ae30e6 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Educational degree level defined in International Standard Classification
  * of Education (ISCED).
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.DegreeType}
  */
-public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
+public enum DegreeType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -42,8 +24,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   DEGREE_TYPE_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -54,8 +34,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PRIMARY_EDUCATION(1),
   /**
-   *
-   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -67,8 +45,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   LOWER_SECONDARY_EDUCATION(2),
   /**
-   *
-   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -81,8 +57,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   UPPER_SECONDARY_EDUCATION(3),
   /**
-   *
-   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -94,8 +68,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   ADULT_REMEDIAL_EDUCATION(4),
   /**
-   *
-   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -107,8 +79,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   ASSOCIATES_OR_EQUIVALENT(5),
   /**
-   *
-   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -119,8 +89,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   BACHELORS_OR_EQUIVALENT(6),
   /**
-   *
-   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -131,8 +99,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   MASTERS_OR_EQUIVALENT(7),
   /**
-   *
-   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -147,8 +113,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -159,8 +123,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DEGREE_TYPE_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -171,8 +133,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PRIMARY_EDUCATION_VALUE = 1;
   /**
-   *
-   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -184,8 +144,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LOWER_SECONDARY_EDUCATION_VALUE = 2;
   /**
-   *
-   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -198,8 +156,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int UPPER_SECONDARY_EDUCATION_VALUE = 3;
   /**
-   *
-   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -211,8 +167,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ADULT_REMEDIAL_EDUCATION_VALUE = 4;
   /**
-   *
-   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -224,8 +178,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ASSOCIATES_OR_EQUIVALENT_VALUE = 5;
   /**
-   *
-   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -236,8 +188,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BACHELORS_OR_EQUIVALENT_VALUE = 6;
   /**
-   *
-   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -248,8 +198,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MASTERS_OR_EQUIVALENT_VALUE = 7;
   /**
-   *
-   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -261,6 +209,7 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DOCTORAL_OR_EQUIVALENT_VALUE = 8;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -285,61 +234,55 @@ public static DegreeType valueOf(int value) {
    */
   public static DegreeType forNumber(int value) {
     switch (value) {
-      case 0:
-        return DEGREE_TYPE_UNSPECIFIED;
-      case 1:
-        return PRIMARY_EDUCATION;
-      case 2:
-        return LOWER_SECONDARY_EDUCATION;
-      case 3:
-        return UPPER_SECONDARY_EDUCATION;
-      case 4:
-        return ADULT_REMEDIAL_EDUCATION;
-      case 5:
-        return ASSOCIATES_OR_EQUIVALENT;
-      case 6:
-        return BACHELORS_OR_EQUIVALENT;
-      case 7:
-        return MASTERS_OR_EQUIVALENT;
-      case 8:
-        return DOCTORAL_OR_EQUIVALENT;
-      default:
-        return null;
+      case 0: return DEGREE_TYPE_UNSPECIFIED;
+      case 1: return PRIMARY_EDUCATION;
+      case 2: return LOWER_SECONDARY_EDUCATION;
+      case 3: return UPPER_SECONDARY_EDUCATION;
+      case 4: return ADULT_REMEDIAL_EDUCATION;
+      case 5: return ASSOCIATES_OR_EQUIVALENT;
+      case 6: return BACHELORS_OR_EQUIVALENT;
+      case 7: return MASTERS_OR_EQUIVALENT;
+      case 8: return DOCTORAL_OR_EQUIVALENT;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DegreeType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DegreeType findValueByNumber(int number) {
+            return DegreeType.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public DegreeType findValueByNumber(int number) {
-          return DegreeType.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DegreeType[] VALUES = values();
 
-  public static DegreeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DegreeType valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -355,3 +298,4 @@ private DegreeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.DegreeType)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
similarity index 63%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
index 2da2c22c4e7b..93deb0f2099f 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Request to delete a company.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteCompanyRequest} */ -public final class DeleteCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteCompanyRequest) DeleteCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteCompanyRequest.newBuilder() to construct. private DeleteCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteCompanyRequest.class, - com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4.DeleteCompanyRequest.class, com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteCompanyRequest other = - (com.google.cloud.talent.v4.DeleteCompanyRequest) obj; + com.google.cloud.talent.v4.DeleteCompanyRequest other = (com.google.cloud.talent.v4.DeleteCompanyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.DeleteCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteCompanyRequest) com.google.cloud.talent.v4.DeleteCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteCompanyRequest.class, - com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4.DeleteCompanyRequest.class, com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override @@ -350,8 +318,7 @@ public com.google.cloud.talent.v4.DeleteCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteCompanyRequest buildPartial() { - com.google.cloud.talent.v4.DeleteCompanyRequest result = - new com.google.cloud.talent.v4.DeleteCompanyRequest(this); + com.google.cloud.talent.v4.DeleteCompanyRequest result = new com.google.cloud.talent.v4.DeleteCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -361,39 +328,38 @@ public com.google.cloud.talent.v4.DeleteCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4.DeleteCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -401,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.DeleteCompanyRequest other) { - if (other == com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -467,16 +428,14 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -485,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -494,17 +451,16 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -521,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -547,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -569,26 +514,24 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteCompanyRequest) private static final com.google.cloud.talent.v4.DeleteCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteCompanyRequest(); } @@ -612,27 +555,27 @@ public static com.google.cloud.talent.v4.DeleteCompanyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java new file mode 100644 index 000000000000..c8961305ce21 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteCompanyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteCompanyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the company to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/foo/tenants/bar/companies/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the company to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/foo/tenants/bar/companies/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java index 6cab46260b34..8a44c70102bb 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Delete job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteJobRequest} */ -public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteJobRequest) DeleteJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteJobRequest.class, - com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4.DeleteJobRequest.class, com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteJobRequest other = - (com.google.cloud.talent.v4.DeleteJobRequest) obj; + com.google.cloud.talent.v4.DeleteJobRequest other = (com.google.cloud.talent.v4.DeleteJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteJobRequest) com.google.cloud.talent.v4.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteJobRequest.class, - com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4.DeleteJobRequest.class, com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override @@ -350,8 +318,7 @@ public com.google.cloud.talent.v4.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteJobRequest buildPartial() { - com.google.cloud.talent.v4.DeleteJobRequest result = - new com.google.cloud.talent.v4.DeleteJobRequest(this); + com.google.cloud.talent.v4.DeleteJobRequest result = new com.google.cloud.talent.v4.DeleteJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -361,39 +328,38 @@ public com.google.cloud.talent.v4.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4.DeleteJobRequest)other); } else { super.mergeFrom(other); return this; @@ -432,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -466,16 +428,14 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -484,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -493,17 +451,16 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -511,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -520,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -546,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -568,26 +514,24 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteJobRequest) private static final com.google.cloud.talent.v4.DeleteJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteJobRequest(); } @@ -611,27 +555,27 @@ public static com.google.cloud.talent.v4.DeleteJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java new file mode 100644 index 000000000000..cd4e7e2e728e --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the job to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the job to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java index b50070cdf943..f8278eef1458 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Request to delete a tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteTenantRequest} */ -public final class DeleteTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteTenantRequest) DeleteTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTenantRequest.newBuilder() to construct. private DeleteTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteTenantRequest.class, - com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4.DeleteTenantRequest.class, com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteTenantRequest other = - (com.google.cloud.talent.v4.DeleteTenantRequest) obj; + com.google.cloud.talent.v4.DeleteTenantRequest other = (com.google.cloud.talent.v4.DeleteTenantRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.DeleteTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteTenantRequest) com.google.cloud.talent.v4.DeleteTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteTenantRequest.class, - com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4.DeleteTenantRequest.class, com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.talent.v4.DeleteTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteTenantRequest buildPartial() { - com.google.cloud.talent.v4.DeleteTenantRequest result = - new com.google.cloud.talent.v4.DeleteTenantRequest(this); + com.google.cloud.talent.v4.DeleteTenantRequest result = new com.google.cloud.talent.v4.DeleteTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.talent.v4.DeleteTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4.DeleteTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -430,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -481,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -507,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteTenantRequest) private static final com.google.cloud.talent.v4.DeleteTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteTenantRequest(); } @@ -604,27 +548,27 @@ public static com.google.cloud.talent.v4.DeleteTenantRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java new file mode 100644 index 000000000000..2fc07df36afe --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteTenantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java similarity index 69% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java index 7bcd0eb2b9c1..09c27b3b8207 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Device information collected from the job seeker, candidate, or
  * other entity conducting the job search. Providing this information improves
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.DeviceInfo}
  */
-public final class DeviceInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeviceInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeviceInfo)
     DeviceInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeviceInfo.newBuilder() to construct.
   private DeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeviceInfo() {
     deviceType_ = 0;
     id_ = "";
@@ -46,43 +28,39 @@ private DeviceInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeviceInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.DeviceInfo.class,
-            com.google.cloud.talent.v4.DeviceInfo.Builder.class);
+            com.google.cloud.talent.v4.DeviceInfo.class, com.google.cloud.talent.v4.DeviceInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enumeration describing an API access portal and exposure mechanism.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.DeviceInfo.DeviceType} */ - public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { + public enum DeviceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The device type isn't specified.
      * 
@@ -91,8 +69,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ DEVICE_TYPE_UNSPECIFIED(0), /** - * - * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -102,8 +78,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     WEB(1),
     /**
-     *
-     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -113,8 +87,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     MOBILE_WEB(2),
     /**
-     *
-     *
      * 
      * An Android device native application.
      * 
@@ -123,8 +95,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ ANDROID(3), /** - * - * *
      * An iOS device native application.
      * 
@@ -133,8 +103,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ IOS(4), /** - * - * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -144,8 +112,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOT(5),
     /**
-     *
-     *
      * 
      * Other devices types.
      * 
@@ -157,8 +123,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The device type isn't specified.
      * 
@@ -167,8 +131,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEVICE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -178,8 +140,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int WEB_VALUE = 1;
     /**
-     *
-     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -189,8 +149,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MOBILE_WEB_VALUE = 2;
     /**
-     *
-     *
      * 
      * An Android device native application.
      * 
@@ -199,8 +157,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANDROID_VALUE = 3; /** - * - * *
      * An iOS device native application.
      * 
@@ -209,8 +165,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IOS_VALUE = 4; /** - * - * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -220,8 +174,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOT_VALUE = 5;
     /**
-     *
-     *
      * 
      * Other devices types.
      * 
@@ -230,6 +182,7 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,57 +207,53 @@ public static DeviceType valueOf(int value) { */ public static DeviceType forNumber(int value) { switch (value) { - case 0: - return DEVICE_TYPE_UNSPECIFIED; - case 1: - return WEB; - case 2: - return MOBILE_WEB; - case 3: - return ANDROID; - case 4: - return IOS; - case 5: - return BOT; - case 6: - return OTHER; - default: - return null; + case 0: return DEVICE_TYPE_UNSPECIFIED; + case 1: return WEB; + case 2: return MOBILE_WEB; + case 3: return ANDROID; + case 4: return IOS; + case 5: return BOT; + case 6: return OTHER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DeviceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeviceType findValueByNumber(int number) { - return DeviceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final DeviceType[] VALUES = values(); - public static DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeviceType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -324,51 +273,39 @@ private DeviceType(int value) { public static final int DEVICE_TYPE_FIELD_NUMBER = 1; private int deviceType_; /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override - public int getDeviceTypeValue() { + @java.lang.Override public int getDeviceTypeValue() { return deviceType_; } /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ - @java.lang.Override - public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { + @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.DeviceInfo.DeviceType result = - com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); + com.google.cloud.talent.v4.DeviceInfo.DeviceType result = com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); return result == null ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED : result; } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -377,30 +314,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -409,7 +346,6 @@ public com.google.protobuf.ByteString getIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -421,9 +357,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (deviceType_ - != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (deviceType_ != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { @@ -438,9 +374,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (deviceType_ - != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deviceType_); + if (deviceType_ != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); @@ -453,7 +389,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeviceInfo)) { return super.equals(obj); @@ -461,7 +397,8 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4.DeviceInfo other = (com.google.cloud.talent.v4.DeviceInfo) obj; if (deviceType_ != other.deviceType_) return false; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -482,103 +419,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.DeviceInfo parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeviceInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.DeviceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Device information collected from the job seeker, candidate, or
    * other entity conducting the job search. Providing this information improves
@@ -587,32 +518,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.DeviceInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeviceInfo)
       com.google.cloud.talent.v4.DeviceInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.DeviceInfo.class,
-              com.google.cloud.talent.v4.DeviceInfo.Builder.class);
+              com.google.cloud.talent.v4.DeviceInfo.class, com.google.cloud.talent.v4.DeviceInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.DeviceInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -624,9 +556,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
@@ -645,8 +577,7 @@ public com.google.cloud.talent.v4.DeviceInfo build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.DeviceInfo buildPartial() {
-      com.google.cloud.talent.v4.DeviceInfo result =
-          new com.google.cloud.talent.v4.DeviceInfo(this);
+      com.google.cloud.talent.v4.DeviceInfo result = new com.google.cloud.talent.v4.DeviceInfo(this);
       result.deviceType_ = deviceType_;
       result.id_ = id_;
       onBuilt();
@@ -657,39 +588,38 @@ public com.google.cloud.talent.v4.DeviceInfo buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.DeviceInfo) {
-        return mergeFrom((com.google.cloud.talent.v4.DeviceInfo) other);
+        return mergeFrom((com.google.cloud.talent.v4.DeviceInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -731,25 +661,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                deviceType_ = input.readEnum();
+            case 8: {
+              deviceType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                id_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              id_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -762,67 +689,51 @@ public Builder mergeFrom(
 
     private int deviceType_ = 0;
     /**
-     *
-     *
      * 
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override - public int getDeviceTypeValue() { + @java.lang.Override public int getDeviceTypeValue() { return deviceType_; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @param value The enum numeric value on the wire for deviceType to set. * @return This builder for chaining. */ public Builder setDeviceTypeValue(int value) { - + deviceType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.DeviceInfo.DeviceType result = - com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null - ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.DeviceInfo.DeviceType result = com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @param value The deviceType to set. * @return This builder for chaining. */ @@ -830,24 +741,21 @@ public Builder setDeviceType(com.google.cloud.talent.v4.DeviceInfo.DeviceType va if (value == null) { throw new NullPointerException(); } - + deviceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return This builder for chaining. */ public Builder clearDeviceType() { - + deviceType_ = 0; onChanged(); return this; @@ -855,21 +763,19 @@ public Builder clearDeviceType() { private java.lang.Object id_ = ""; /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -878,22 +784,21 @@ public java.lang.String getId() { } } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -901,71 +806,64 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -975,12 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeviceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeviceInfo) private static final com.google.cloud.talent.v4.DeviceInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeviceInfo(); } @@ -989,27 +887,27 @@ public static com.google.cloud.talent.v4.DeviceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeviceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeviceInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1024,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeviceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java similarity index 61% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java index 552aded20b59..d9e3b12e249b 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java @@ -1,77 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface DeviceInfoOrBuilder - extends +public interface DeviceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeviceInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ int getDeviceTypeValue(); /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType(); /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java index 3a124a215e15..417f22f3c186 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * An enum that represents the employment type of a job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.EmploymentType} */ -public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { +public enum EmploymentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value if the employment type isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ EMPLOYMENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -50,8 +30,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FULL_TIME(1),
   /**
-   *
-   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -61,8 +39,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PART_TIME(2),
   /**
-   *
-   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -72,8 +48,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CONTRACTOR(3),
   /**
-   *
-   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -85,8 +59,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CONTRACT_TO_HIRE(4),
   /**
-   *
-   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -96,8 +68,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   TEMPORARY(5),
   /**
-   *
-   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -108,8 +78,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   INTERN(6),
   /**
-   *
-   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -119,8 +87,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   VOLUNTEER(7),
   /**
-   *
-   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -130,8 +96,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PER_DIEM(8),
   /**
-   *
-   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -142,8 +106,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FLY_IN_FLY_OUT(9),
   /**
-   *
-   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -155,8 +117,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the employment type isn't specified.
    * 
@@ -165,8 +125,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EMPLOYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -176,8 +134,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FULL_TIME_VALUE = 1;
   /**
-   *
-   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -187,8 +143,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PART_TIME_VALUE = 2;
   /**
-   *
-   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -198,8 +152,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CONTRACTOR_VALUE = 3;
   /**
-   *
-   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -211,8 +163,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CONTRACT_TO_HIRE_VALUE = 4;
   /**
-   *
-   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -222,8 +172,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TEMPORARY_VALUE = 5;
   /**
-   *
-   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -234,8 +182,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INTERN_VALUE = 6;
   /**
-   *
-   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -245,8 +191,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VOLUNTEER_VALUE = 7;
   /**
-   *
-   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -256,8 +200,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PER_DIEM_VALUE = 8;
   /**
-   *
-   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -268,8 +210,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FLY_IN_FLY_OUT_VALUE = 9;
   /**
-   *
-   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -278,6 +218,7 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_EMPLOYMENT_TYPE_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -302,65 +243,57 @@ public static EmploymentType valueOf(int value) { */ public static EmploymentType forNumber(int value) { switch (value) { - case 0: - return EMPLOYMENT_TYPE_UNSPECIFIED; - case 1: - return FULL_TIME; - case 2: - return PART_TIME; - case 3: - return CONTRACTOR; - case 4: - return CONTRACT_TO_HIRE; - case 5: - return TEMPORARY; - case 6: - return INTERN; - case 7: - return VOLUNTEER; - case 8: - return PER_DIEM; - case 9: - return FLY_IN_FLY_OUT; - case 10: - return OTHER_EMPLOYMENT_TYPE; - default: - return null; + case 0: return EMPLOYMENT_TYPE_UNSPECIFIED; + case 1: return FULL_TIME; + case 2: return PART_TIME; + case 3: return CONTRACTOR; + case 4: return CONTRACT_TO_HIRE; + case 5: return TEMPORARY; + case 6: return INTERN; + case 7: return VOLUNTEER; + case 8: return PER_DIEM; + case 9: return FLY_IN_FLY_OUT; + case 10: return OTHER_EMPLOYMENT_TYPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EmploymentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EmploymentType findValueByNumber(int number) { + return EmploymentType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EmploymentType findValueByNumber(int number) { - return EmploymentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(3); } private static final EmploymentType[] VALUES = values(); - public static EmploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EmploymentType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -376,3 +309,4 @@ private EmploymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.EmploymentType) } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java new file mode 100644 index 000000000000..f6ffb0fb3b5d --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java @@ -0,0 +1,89 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/event.proto + +package com.google.cloud.talent.v4; + +public final class EventProto { + private EventProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_ClientEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_JobEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/talent/v4/event.proto\022\026go" + + "ogle.cloud.talent.v4\032\037google/api/field_b" + + "ehavior.proto\032\037google/protobuf/timestamp" + + ".proto\"\303\001\n\013ClientEvent\022\022\n\nrequest_id\030\001 \001" + + "(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013create_time" + + "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "5\n\tjob_event\030\005 \001(\0132 .google.cloud.talent" + + ".v4.JobEventH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005e" + + "vent\"\340\003\n\010JobEvent\022@\n\004type\030\001 \001(\0162-.google" + + ".cloud.talent.v4.JobEvent.JobEventTypeB\003" + + "\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340A\002\"\376\002\n\014JobEventType\022" + + "\036\n\032JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE" + + "SSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021" + + "APPLICATION_START\020\004\022\026\n\022APPLICATION_FINIS" + + "H\020\005\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n" + + "\024APPLICATION_REDIRECT\020\007\022!\n\035APPLICATION_S" + + "TART_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRE" + + "CT_FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_" + + "SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014" + + "\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GR" + + "ANTED\020\017Bn\n\032com.google.cloud.talent.v4B\nE" + + "ventProtoP\001Z\n\014client_event\030\002 \001" + + "(\0132#.google.cloud.talent.v4.ClientEventB" + + "\003\340A\0022\305\002\n\014EventService\022\306\001\n\021CreateClientEv" + + "ent\0220.google.cloud.talent.v4.CreateClien" + + "tEventRequest\032#.google.cloud.talent.v4.C" + + "lientEvent\"Z\202\323\344\223\002>\"./v4/{parent=projects" + + "/*/tenants/*}/clientEvents:\014client_event" + + "\332A\023parent,client_event\032l\312A\023jobs.googleap" + + "is.com\322AShttps://www.googleapis.com/auth" + + "/cloud-platform,https://www.googleapis.c" + + "om/auth/jobsBu\n\032com.google.cloud.talent." + + "v4B\021EventServiceProtoP\001Z * Request for getting a company by name. *
* * Protobuf type {@code google.cloud.talent.v4.GetCompanyRequest} */ -public final class GetCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetCompanyRequest) GetCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCompanyRequest.newBuilder() to construct. private GetCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetCompanyRequest.class, - com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4.GetCompanyRequest.class, com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/api-test-project/tenants/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * example, "projects/api-test-project/tenants/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.GetCompanyRequest other = - (com.google.cloud.talent.v4.GetCompanyRequest) obj; + com.google.cloud.talent.v4.GetCompanyRequest other = (com.google.cloud.talent.v4.GetCompanyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.GetCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for getting a company by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetCompanyRequest) com.google.cloud.talent.v4.GetCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetCompanyRequest.class, - com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4.GetCompanyRequest.class, com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override @@ -350,8 +318,7 @@ public com.google.cloud.talent.v4.GetCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetCompanyRequest buildPartial() { - com.google.cloud.talent.v4.GetCompanyRequest result = - new com.google.cloud.talent.v4.GetCompanyRequest(this); + com.google.cloud.talent.v4.GetCompanyRequest result = new com.google.cloud.talent.v4.GetCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -361,39 +328,38 @@ public com.google.cloud.talent.v4.GetCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4.GetCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -432,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -466,16 +428,14 @@ public Builder mergeFrom(
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -484,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -493,17 +451,16 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -511,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -520,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -546,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -568,26 +514,24 @@ public Builder clearName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetCompanyRequest) private static final com.google.cloud.talent.v4.GetCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetCompanyRequest(); } @@ -611,27 +555,27 @@ public static com.google.cloud.talent.v4.GetCompanyRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java new file mode 100644 index 000000000000..84fa3c8c6777 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company_service.proto + +package com.google.cloud.talent.v4; + +public interface GetCompanyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetCompanyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the company to be retrieved.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/api-test-project/tenants/foo/companies/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the company to be retrieved.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/api-test-project/tenants/foo/companies/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java index 9aa0cfdf5830..9938f00d8c9d 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.GetJobRequest} */ -public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetJobRequest) GetJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetJobRequest.class, - com.google.cloud.talent.v4.GetJobRequest.Builder.class); + com.google.cloud.talent.v4.GetJobRequest.class, com.google.cloud.talent.v4.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,14 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetJobRequest)) { return super.equals(obj); } com.google.cloud.talent.v4.GetJobRequest other = (com.google.cloud.talent.v4.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetJobRequest) com.google.cloud.talent.v4.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetJobRequest.class, - com.google.cloud.talent.v4.GetJobRequest.Builder.class); + com.google.cloud.talent.v4.GetJobRequest.class, com.google.cloud.talent.v4.GetJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override @@ -349,8 +318,7 @@ public com.google.cloud.talent.v4.GetJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetJobRequest buildPartial() { - com.google.cloud.talent.v4.GetJobRequest result = - new com.google.cloud.talent.v4.GetJobRequest(this); + com.google.cloud.talent.v4.GetJobRequest result = new com.google.cloud.talent.v4.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -360,39 +328,38 @@ public com.google.cloud.talent.v4.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -431,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -465,16 +428,14 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -483,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -492,17 +451,16 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -510,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -519,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -545,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -567,26 +514,24 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetJobRequest) private static final com.google.cloud.talent.v4.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetJobRequest(); } @@ -610,27 +555,27 @@ public static com.google.cloud.talent.v4.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java new file mode 100644 index 000000000000..ba7c61ed366f --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job_service.proto + +package com.google.cloud.talent.v4; + +public interface GetJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the job to retrieve.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the job to retrieve.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java index 2abcbdcc018d..8c912d688699 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Request for getting a tenant by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4.GetTenantRequest} */ -public final class GetTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetTenantRequest) GetTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTenantRequest.newBuilder() to construct. private GetTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetTenantRequest.class, - com.google.cloud.talent.v4.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4.GetTenantRequest.class, com.google.cloud.talent.v4.GetTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.GetTenantRequest other = - (com.google.cloud.talent.v4.GetTenantRequest) obj; + com.google.cloud.talent.v4.GetTenantRequest other = (com.google.cloud.talent.v4.GetTenantRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.GetTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for getting a tenant by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetTenantRequest) com.google.cloud.talent.v4.GetTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetTenantRequest.class, - com.google.cloud.talent.v4.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4.GetTenantRequest.class, com.google.cloud.talent.v4.GetTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.talent.v4.GetTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetTenantRequest buildPartial() { - com.google.cloud.talent.v4.GetTenantRequest result = - new com.google.cloud.talent.v4.GetTenantRequest(this); + com.google.cloud.talent.v4.GetTenantRequest result = new com.google.cloud.talent.v4.GetTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.talent.v4.GetTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4.GetTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -430,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -481,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -507,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetTenantRequest) private static final com.google.cloud.talent.v4.GetTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetTenantRequest(); } @@ -604,27 +548,27 @@ public static com.google.cloud.talent.v4.GetTenantRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java new file mode 100644 index 000000000000..2d4022936340 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant_service.proto + +package com.google.cloud.talent.v4; + +public interface GetTenantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java new file mode 100644 index 000000000000..c4baba96311b --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java @@ -0,0 +1,78 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/histogram.proto + +package com.google.cloud.talent.v4; + +public final class HistogramProto { + private HistogramProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/talent/v4/histogram.proto" + + "\022\026google.cloud.talent.v4\")\n\016HistogramQue" + + "ry\022\027\n\017histogram_query\030\001 \001(\t\"\261\001\n\024Histogra" + + "mQueryResult\022\027\n\017histogram_query\030\001 \001(\t\022N\n" + + "\thistogram\030\002 \003(\0132;.google.cloud.talent.v" + + "4.HistogramQueryResult.HistogramEntry\0320\n" + + "\016HistogramEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\003:\0028\001Br\n\032com.google.cloud.talent.v4B\016H" + + "istogramProtoP\001Z * The histogram request. *
* * Protobuf type {@code google.cloud.talent.v4.HistogramQuery} */ -public final class HistogramQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HistogramQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.HistogramQuery) HistogramQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HistogramQuery.newBuilder() to construct. private HistogramQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HistogramQuery() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HistogramQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQuery.class, - com.google.cloud.talent.v4.HistogramQuery.Builder.class); + com.google.cloud.talent.v4.HistogramQuery.class, com.google.cloud.talent.v4.HistogramQuery.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** - * - * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -79,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ @java.lang.Override @@ -88,15 +66,14 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** - * - * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -104,15 +81,16 @@ public java.lang.String getHistogramQuery() {
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -121,7 +99,6 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_); } @@ -157,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.HistogramQuery)) { return super.equals(obj); } - com.google.cloud.talent.v4.HistogramQuery other = - (com.google.cloud.talent.v4.HistogramQuery) obj; + com.google.cloud.talent.v4.HistogramQuery other = (com.google.cloud.talent.v4.HistogramQuery) obj; - if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; + if (!getHistogramQuery() + .equals(other.getHistogramQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.HistogramQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The histogram request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.HistogramQuery) com.google.cloud.talent.v4.HistogramQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQuery.class, - com.google.cloud.talent.v4.HistogramQuery.Builder.class); + com.google.cloud.talent.v4.HistogramQuery.class, com.google.cloud.talent.v4.HistogramQuery.Builder.class); } // Construct using com.google.cloud.talent.v4.HistogramQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override @@ -344,8 +316,7 @@ public com.google.cloud.talent.v4.HistogramQuery build() { @java.lang.Override public com.google.cloud.talent.v4.HistogramQuery buildPartial() { - com.google.cloud.talent.v4.HistogramQuery result = - new com.google.cloud.talent.v4.HistogramQuery(this); + com.google.cloud.talent.v4.HistogramQuery result = new com.google.cloud.talent.v4.HistogramQuery(this); result.histogramQuery_ = histogramQuery_; onBuilt(); return result; @@ -355,39 +326,38 @@ public com.google.cloud.talent.v4.HistogramQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.HistogramQuery) { - return mergeFrom((com.google.cloud.talent.v4.HistogramQuery) other); + return mergeFrom((com.google.cloud.talent.v4.HistogramQuery)other); } else { super.mergeFrom(other); return this; @@ -426,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,8 +419,6 @@ public Builder mergeFrom( private java.lang.Object histogramQuery_ = ""; /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -460,13 +426,13 @@ public Builder mergeFrom(
      * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -475,8 +441,6 @@ public java.lang.String getHistogramQuery() { } } /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -484,14 +448,15 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -499,8 +464,6 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } } /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -508,22 +471,20 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() {
      * 
* * string histogram_query = 1; - * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery(java.lang.String value) { + public Builder setHistogramQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -531,18 +492,15 @@ public Builder setHistogramQuery(java.lang.String value) {
      * 
* * string histogram_query = 1; - * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -550,23 +508,23 @@ public Builder clearHistogramQuery() {
      * 
* * string histogram_query = 1; - * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -576,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.HistogramQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.HistogramQuery) private static final com.google.cloud.talent.v4.HistogramQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.HistogramQuery(); } @@ -590,27 +548,27 @@ public static com.google.cloud.talent.v4.HistogramQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HistogramQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HistogramQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -625,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.HistogramQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java similarity index 57% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java index 727e04853f37..69ae1c2042f3 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/histogram.proto package com.google.cloud.talent.v4; -public interface HistogramQueryOrBuilder - extends +public interface HistogramQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.HistogramQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -33,13 +15,10 @@ public interface HistogramQueryOrBuilder
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** - * - * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -47,8 +26,8 @@ public interface HistogramQueryOrBuilder
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString getHistogramQueryBytes(); + com.google.protobuf.ByteString + getHistogramQueryBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java similarity index 66% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java index 908ac2d74f63..f89d54037029 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java @@ -1,94 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/histogram.proto package com.google.cloud.talent.v4; /** - * - * *
  * Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
  * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQueryResult} */ -public final class HistogramQueryResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HistogramQueryResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.HistogramQueryResult) HistogramQueryResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HistogramQueryResult.newBuilder() to construct. private HistogramQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HistogramQueryResult() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HistogramQueryResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQueryResult.class, - com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4.HistogramQueryResult.class, com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ @java.lang.Override @@ -97,29 +76,29 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -128,23 +107,24 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } public static final int HISTOGRAM_FIELD_NUMBER = 2; - private static final class HistogramDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - - private com.google.protobuf.MapField histogram_; - - private com.google.protobuf.MapField internalGetHistogram() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Long> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> histogram_; + private com.google.protobuf.MapField + internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } @@ -153,8 +133,6 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** - * - * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -168,22 +146,22 @@ public int getHistogramCount() {
    *
    * map<string, int64> histogram = 2;
    */
+
   @java.lang.Override
-  public boolean containsHistogram(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHistogram(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHistogram().getMap().containsKey(key);
   }
-  /** Use {@link #getHistogramMap()} instead. */
+  /**
+   * Use {@link #getHistogramMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHistogram() {
     return getHistogramMap();
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -198,12 +176,11 @@ public java.util.Map getHistogram() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
+
   public java.util.Map getHistogramMap() {
     return internalGetHistogram().getMap();
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -218,16 +195,16 @@ public java.util.Map getHistogramMap() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-  public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHistogram().getMap();
+
+  public long getHistogramOrDefault(
+      java.lang.String key,
+      long defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHistogram().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -242,11 +219,12 @@ public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-  public long getHistogramOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHistogram().getMap();
+
+  public long getHistogramOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHistogram().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -254,7 +232,6 @@ public long getHistogramOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -266,12 +243,17 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHistogram(), HistogramDefaultEntryHolder.defaultEntry, 2);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHistogram(),
+        HistogramDefaultEntryHolder.defaultEntry,
+        2);
     getUnknownFields().writeTo(output);
   }
 
@@ -284,15 +266,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, histogramQuery_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHistogram().getMap().entrySet()) {
-      com.google.protobuf.MapEntry histogram__ =
-          HistogramDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, histogram__);
+    for (java.util.Map.Entry entry
+         : internalGetHistogram().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      histogram__ = HistogramDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, histogram__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -302,16 +284,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.HistogramQueryResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.HistogramQueryResult other =
-        (com.google.cloud.talent.v4.HistogramQueryResult) obj;
+    com.google.cloud.talent.v4.HistogramQueryResult other = (com.google.cloud.talent.v4.HistogramQueryResult) obj;
 
-    if (!getHistogramQuery().equals(other.getHistogramQuery())) return false;
-    if (!internalGetHistogram().equals(other.internalGetHistogram())) return false;
+    if (!getHistogramQuery()
+        .equals(other.getHistogramQuery())) return false;
+    if (!internalGetHistogram().equals(
+        other.internalGetHistogram())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -334,156 +317,152 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.HistogramQueryResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
    * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQueryResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.HistogramQueryResult) com.google.cloud.talent.v4.HistogramQueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 2: return internalGetMutableHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQueryResult.class, - com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4.HistogramQueryResult.class, com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); } // Construct using com.google.cloud.talent.v4.HistogramQueryResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @java.lang.Override @@ -515,8 +494,7 @@ public com.google.cloud.talent.v4.HistogramQueryResult build() { @java.lang.Override public com.google.cloud.talent.v4.HistogramQueryResult buildPartial() { - com.google.cloud.talent.v4.HistogramQueryResult result = - new com.google.cloud.talent.v4.HistogramQueryResult(this); + com.google.cloud.talent.v4.HistogramQueryResult result = new com.google.cloud.talent.v4.HistogramQueryResult(this); int from_bitField0_ = bitField0_; result.histogramQuery_ = histogramQuery_; result.histogram_ = internalGetHistogram(); @@ -529,39 +507,38 @@ public com.google.cloud.talent.v4.HistogramQueryResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.HistogramQueryResult) { - return mergeFrom((com.google.cloud.talent.v4.HistogramQueryResult) other); + return mergeFrom((com.google.cloud.talent.v4.HistogramQueryResult)other); } else { super.mergeFrom(other); return this; @@ -569,13 +546,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.HistogramQueryResult other) { - if (other == com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()) return this; if (!other.getHistogramQuery().isEmpty()) { histogramQuery_ = other.histogramQuery_; onChanged(); } - internalGetMutableHistogram().mergeFrom(other.internalGetHistogram()); + internalGetMutableHistogram().mergeFrom( + other.internalGetHistogram()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -602,30 +579,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - com.google.protobuf.MapEntry histogram__ = - input.readMessage( - HistogramDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableHistogram() - .getMutableMap() - .put(histogram__.getKey(), histogram__.getValue()); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + histogram__ = input.readMessage( + HistogramDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableHistogram().getMutableMap().put( + histogram__.getKey(), histogram__.getValue()); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,25 +607,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object histogramQuery_ = ""; /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -662,21 +631,20 @@ public java.lang.String getHistogramQuery() { } } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -684,82 +652,75 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery(java.lang.String value) { + public Builder setHistogramQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - private com.google.protobuf.MapField histogram_; - - private com.google.protobuf.MapField internalGetHistogram() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> histogram_; + private com.google.protobuf.MapField + internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } - private com.google.protobuf.MapField - internalGetMutableHistogram() { - onChanged(); - ; + internalGetMutableHistogram() { + onChanged();; if (histogram_ == null) { - histogram_ = - com.google.protobuf.MapField.newMapField(HistogramDefaultEntryHolder.defaultEntry); + histogram_ = com.google.protobuf.MapField.newMapField( + HistogramDefaultEntryHolder.defaultEntry); } if (!histogram_.isMutable()) { histogram_ = histogram_.copy(); @@ -771,8 +732,6 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** - * - * *
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -786,22 +745,22 @@ public int getHistogramCount() {
      *
      * map<string, int64> histogram = 2;
      */
+
     @java.lang.Override
-    public boolean containsHistogram(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHistogram(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHistogram().getMap().containsKey(key);
     }
-    /** Use {@link #getHistogramMap()} instead. */
+    /**
+     * Use {@link #getHistogramMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHistogram() {
       return getHistogramMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -816,12 +775,11 @@ public java.util.Map getHistogram() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
+
     public java.util.Map getHistogramMap() {
       return internalGetHistogram().getMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -836,16 +794,16 @@ public java.util.Map getHistogramMap() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-    public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHistogram().getMap();
+
+    public long getHistogramOrDefault(
+        java.lang.String key,
+        long defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHistogram().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -860,11 +818,12 @@ public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-    public long getHistogramOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHistogram().getMap();
+
+    public long getHistogramOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHistogram().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -872,12 +831,11 @@ public long getHistogramOrThrow(java.lang.String key) {
     }
 
     public Builder clearHistogram() {
-      internalGetMutableHistogram().getMutableMap().clear();
+      internalGetMutableHistogram().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -891,21 +849,23 @@ public Builder clearHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder removeHistogram(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHistogram().getMutableMap().remove(key);
+
+    public Builder removeHistogram(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHistogram().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHistogram() {
+    public java.util.Map
+    getMutableHistogram() {
       return internalGetMutableHistogram().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -919,17 +879,16 @@ public java.util.Map getMutableHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putHistogram(java.lang.String key, long value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-
-      internalGetMutableHistogram().getMutableMap().put(key, value);
+    public Builder putHistogram(
+        java.lang.String key,
+        long value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      
+      internalGetMutableHistogram().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -943,13 +902,16 @@ public Builder putHistogram(java.lang.String key, long value) {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putAllHistogram(java.util.Map values) {
-      internalGetMutableHistogram().getMutableMap().putAll(values);
+
+    public Builder putAllHistogram(
+        java.util.Map values) {
+      internalGetMutableHistogram().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -959,12 +921,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.HistogramQueryResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.HistogramQueryResult)
   private static final com.google.cloud.talent.v4.HistogramQueryResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.HistogramQueryResult();
   }
@@ -973,27 +935,27 @@ public static com.google.cloud.talent.v4.HistogramQueryResult getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HistogramQueryResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HistogramQueryResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1008,4 +970,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.HistogramQueryResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
similarity index 76%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
index ae90b9fda831..f8c98f0bffd0 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
@@ -1,56 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/histogram.proto
 
 package com.google.cloud.talent.v4;
 
-public interface HistogramQueryResultOrBuilder
-    extends
+public interface HistogramQueryResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.HistogramQueryResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString getHistogramQueryBytes(); + com.google.protobuf.ByteString + getHistogramQueryBytes(); /** - * - * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -66,8 +43,6 @@ public interface HistogramQueryResultOrBuilder
    */
   int getHistogramCount();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -81,13 +56,15 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  boolean containsHistogram(java.lang.String key);
-  /** Use {@link #getHistogramMap()} instead. */
+  boolean containsHistogram(
+      java.lang.String key);
+  /**
+   * Use {@link #getHistogramMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHistogram();
+  java.util.Map
+  getHistogram();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -101,10 +78,9 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  java.util.Map getHistogramMap();
+  java.util.Map
+  getHistogramMap();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -118,10 +94,11 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  long getHistogramOrDefault(java.lang.String key, long defaultValue);
+
+  long getHistogramOrDefault(
+      java.lang.String key,
+      long defaultValue);
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -135,5 +112,7 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  long getHistogramOrThrow(java.lang.String key);
+
+  long getHistogramOrThrow(
+      java.lang.String key);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
similarity index 68%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
index f5af53b7f624..d98dd1681fb1 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Option for HTML content sanitization on user input fields, for example, job
  * description. By setting this option, user can determine whether and how
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.HtmlSanitization}
  */
-public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum {
+public enum HtmlSanitization
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +23,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ HTML_SANITIZATION_UNSPECIFIED(0), /** - * - * *
    * Disables sanitization on HTML input.
    * 
@@ -51,8 +31,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ HTML_SANITIZATION_DISABLED(1), /** - * - * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -65,8 +43,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -75,8 +51,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTML_SANITIZATION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Disables sanitization on HTML input.
    * 
@@ -85,8 +59,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTML_SANITIZATION_DISABLED_VALUE = 1; /** - * - * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -96,6 +68,7 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int SIMPLE_FORMATTING_ONLY_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,49 +93,49 @@ public static HtmlSanitization valueOf(int value) {
    */
   public static HtmlSanitization forNumber(int value) {
     switch (value) {
-      case 0:
-        return HTML_SANITIZATION_UNSPECIFIED;
-      case 1:
-        return HTML_SANITIZATION_DISABLED;
-      case 2:
-        return SIMPLE_FORMATTING_ONLY;
-      default:
-        return null;
+      case 0: return HTML_SANITIZATION_UNSPECIFIED;
+      case 1: return HTML_SANITIZATION_DISABLED;
+      case 2: return SIMPLE_FORMATTING_ONLY;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public HtmlSanitization findValueByNumber(int number) {
-          return HtmlSanitization.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      HtmlSanitization> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public HtmlSanitization findValueByNumber(int number) {
+            return HtmlSanitization.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(8);
   }
 
   private static final HtmlSanitization[] VALUES = values();
 
-  public static HtmlSanitization valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static HtmlSanitization valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -178,3 +151,4 @@ private HtmlSanitization(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.HtmlSanitization)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
similarity index 80%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
index a36676256b17..5bd28bae49e5 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * A Job resource represents a job posting (also referred to as a "job listing"
  * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4.Company], which is the hiring
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Job}
  */
-public final class Job extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Job extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job)
     JobOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Job() {
     name_ = "";
     company_ = "";
@@ -62,48 +44,46 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.JobProto
-        .internal_static_google_cloud_talent_v4_Job_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 10:
         return internalGetCustomAttributes();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobProto
-        .internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.talent.v4.Job.class, com.google.cloud.talent.v4.Job.Builder.class);
   }
 
-  public interface ApplicationInfoOrBuilder
-      extends
+  public interface ApplicationInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.ApplicationInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -111,13 +91,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - java.util.List getEmailsList(); + java.util.List + getEmailsList(); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -125,13 +103,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @return The count of emails. */ int getEmailsCount(); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -139,14 +114,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ java.lang.String getEmails(int index); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -154,15 +126,13 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - com.google.protobuf.ByteString getEmailsBytes(int index); + com.google.protobuf.ByteString + getEmailsBytes(int index); /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -172,13 +142,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * string instruction = 2; - * * @return The instruction. */ java.lang.String getInstruction(); /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -188,14 +155,12 @@ public interface ApplicationInfoOrBuilder
      * 
* * string instruction = 2; - * * @return The bytes for instruction. */ - com.google.protobuf.ByteString getInstructionBytes(); + com.google.protobuf.ByteString + getInstructionBytes(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -203,13 +168,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -217,13 +180,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -231,14 +191,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -246,31 +203,28 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); } /** - * - * *
    * Application related details of a job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ApplicationInfo} */ - public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ApplicationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.ApplicationInfo) ApplicationInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplicationInfo.newBuilder() to construct. private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ApplicationInfo() { emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; instruction_ = ""; @@ -279,35 +233,32 @@ private ApplicationInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ApplicationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ApplicationInfo.class, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4.Job.ApplicationInfo.class, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); } public static final int EMAILS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList emails_; /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -315,15 +266,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList getEmailsList() { + public com.google.protobuf.ProtocolStringList + getEmailsList() { return emails_; } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -331,15 +280,12 @@ public com.google.protobuf.ProtocolStringList getEmailsList() {
      * 
* * repeated string emails = 1; - * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -347,7 +293,6 @@ public int getEmailsCount() {
      * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -355,8 +300,6 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -364,19 +307,17 @@ public java.lang.String getEmails(int index) {
      * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString getEmailsBytes(int index) { + public com.google.protobuf.ByteString + getEmailsBytes(int index) { return emails_.getByteString(index); } public static final int INSTRUCTION_FIELD_NUMBER = 2; private volatile java.lang.Object instruction_; /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -386,7 +327,6 @@ public com.google.protobuf.ByteString getEmailsBytes(int index) {
      * 
* * string instruction = 2; - * * @return The instruction. */ @java.lang.Override @@ -395,15 +335,14 @@ public java.lang.String getInstruction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; } } /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -413,15 +352,16 @@ public java.lang.String getInstruction() {
      * 
* * string instruction = 2; - * * @return The bytes for instruction. */ @java.lang.Override - public com.google.protobuf.ByteString getInstructionBytes() { + public com.google.protobuf.ByteString + getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instruction_ = b; return b; } else { @@ -432,8 +372,6 @@ public com.google.protobuf.ByteString getInstructionBytes() { public static final int URIS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uris_; /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -441,15 +379,13 @@ public com.google.protobuf.ByteString getInstructionBytes() {
      * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -457,15 +393,12 @@ public com.google.protobuf.ProtocolStringList getUrisList() {
      * 
* * repeated string uris = 3; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -473,7 +406,6 @@ public int getUrisCount() {
      * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -481,8 +413,6 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -490,16 +420,15 @@ public java.lang.String getUris(int index) {
      * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -511,7 +440,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < emails_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i)); } @@ -557,17 +487,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.ApplicationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.ApplicationInfo other = - (com.google.cloud.talent.v4.Job.ApplicationInfo) obj; + com.google.cloud.talent.v4.Job.ApplicationInfo other = (com.google.cloud.talent.v4.Job.ApplicationInfo) obj; - if (!getEmailsList().equals(other.getEmailsList())) return false; - if (!getInstruction().equals(other.getInstruction())) return false; - if (!getUrisList().equals(other.getUrisList())) return false; + if (!getEmailsList() + .equals(other.getEmailsList())) return false; + if (!getInstruction() + .equals(other.getInstruction())) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -594,94 +526,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Job.ApplicationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -691,41 +617,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Application related details of a job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ApplicationInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.ApplicationInfo) com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ApplicationInfo.class, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4.Job.ApplicationInfo.class, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -739,9 +663,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override @@ -760,8 +684,7 @@ public com.google.cloud.talent.v4.Job.ApplicationInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Job.ApplicationInfo buildPartial() { - com.google.cloud.talent.v4.Job.ApplicationInfo result = - new com.google.cloud.talent.v4.Job.ApplicationInfo(this); + com.google.cloud.talent.v4.Job.ApplicationInfo result = new com.google.cloud.talent.v4.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); @@ -782,41 +705,38 @@ public com.google.cloud.talent.v4.Job.ApplicationInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.ApplicationInfo) { - return mergeFrom((com.google.cloud.talent.v4.Job.ApplicationInfo) other); + return mergeFrom((com.google.cloud.talent.v4.Job.ApplicationInfo)other); } else { super.mergeFrom(other); return this; @@ -824,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Job.ApplicationInfo other) { - if (other == com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance()) return this; if (!other.emails_.isEmpty()) { if (emails_.isEmpty()) { emails_ = other.emails_; @@ -876,33 +795,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmailsIsMutable(); - emails_.add(s); - break; - } // case 10 - case 18: - { - instruction_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmailsIsMutable(); + emails_.add(s); + break; + } // case 10 + case 18: { + instruction_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -912,21 +827,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList emails_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEmailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -934,15 +844,13 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList getEmailsList() { + public com.google.protobuf.ProtocolStringList + getEmailsList() { return emails_.getUnmodifiableView(); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -950,15 +858,12 @@ public com.google.protobuf.ProtocolStringList getEmailsList() {
        * 
* * repeated string emails = 1; - * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -966,7 +871,6 @@ public int getEmailsCount() {
        * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -974,8 +878,6 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -983,16 +885,14 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString getEmailsBytes(int index) { + public com.google.protobuf.ByteString + getEmailsBytes(int index) { return emails_.getByteString(index); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1000,23 +900,21 @@ public com.google.protobuf.ByteString getEmailsBytes(int index) {
        * 
* * repeated string emails = 1; - * * @param index The index to set the value at. * @param value The emails to set. * @return This builder for chaining. */ - public Builder setEmails(int index, java.lang.String value) { + public Builder setEmails( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.set(index, value); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1024,22 +922,20 @@ public Builder setEmails(int index, java.lang.String value) {
        * 
* * repeated string emails = 1; - * * @param value The emails to add. * @return This builder for chaining. */ - public Builder addEmails(java.lang.String value) { + public Builder addEmails( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.add(value); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1047,19 +943,18 @@ public Builder addEmails(java.lang.String value) {
        * 
* * repeated string emails = 1; - * * @param values The emails to add. * @return This builder for chaining. */ - public Builder addAllEmails(java.lang.Iterable values) { + public Builder addAllEmails( + java.lang.Iterable values) { ensureEmailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, emails_); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1067,7 +962,6 @@ public Builder addAllEmails(java.lang.Iterable values) {
        * 
* * repeated string emails = 1; - * * @return This builder for chaining. */ public Builder clearEmails() { @@ -1077,8 +971,6 @@ public Builder clearEmails() { return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1086,15 +978,15 @@ public Builder clearEmails() {
        * 
* * repeated string emails = 1; - * * @param value The bytes of the emails to add. * @return This builder for chaining. */ - public Builder addEmailsBytes(com.google.protobuf.ByteString value) { + public Builder addEmailsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEmailsIsMutable(); emails_.add(value); onChanged(); @@ -1103,8 +995,6 @@ public Builder addEmailsBytes(com.google.protobuf.ByteString value) { private java.lang.Object instruction_ = ""; /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1114,13 +1004,13 @@ public Builder addEmailsBytes(com.google.protobuf.ByteString value) {
        * 
* * string instruction = 2; - * * @return The instruction. */ public java.lang.String getInstruction() { java.lang.Object ref = instruction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; @@ -1129,8 +1019,6 @@ public java.lang.String getInstruction() { } } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1140,14 +1028,15 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; - * * @return The bytes for instruction. */ - public com.google.protobuf.ByteString getInstructionBytes() { + public com.google.protobuf.ByteString + getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instruction_ = b; return b; } else { @@ -1155,8 +1044,6 @@ public com.google.protobuf.ByteString getInstructionBytes() { } } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1166,22 +1053,20 @@ public com.google.protobuf.ByteString getInstructionBytes() {
        * 
* * string instruction = 2; - * * @param value The instruction to set. * @return This builder for chaining. */ - public Builder setInstruction(java.lang.String value) { + public Builder setInstruction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instruction_ = value; onChanged(); return this; } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1191,18 +1076,15 @@ public Builder setInstruction(java.lang.String value) {
        * 
* * string instruction = 2; - * * @return This builder for chaining. */ public Builder clearInstruction() { - + instruction_ = getDefaultInstance().getInstruction(); onChanged(); return this; } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1212,33 +1094,29 @@ public Builder clearInstruction() {
        * 
* * string instruction = 2; - * * @param value The bytes for instruction to set. * @return This builder for chaining. */ - public Builder setInstructionBytes(com.google.protobuf.ByteString value) { + public Builder setInstructionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instruction_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1246,15 +1124,13 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1262,15 +1138,12 @@ public com.google.protobuf.ProtocolStringList getUrisList() {
        * 
* * repeated string uris = 3; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1278,7 +1151,6 @@ public int getUrisCount() {
        * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -1286,8 +1158,6 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1295,16 +1165,14 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1312,23 +1180,21 @@ public com.google.protobuf.ByteString getUrisBytes(int index) {
        * 
* * repeated string uris = 3; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1336,22 +1202,20 @@ public Builder setUris(int index, java.lang.String value) {
        * 
* * repeated string uris = 3; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1359,19 +1223,18 @@ public Builder addUris(java.lang.String value) {
        * 
* * repeated string uris = 3; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1379,7 +1242,6 @@ public Builder addAllUris(java.lang.Iterable values) {
        * 
* * repeated string uris = 3; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -1389,8 +1251,6 @@ public Builder clearUris() { return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1398,21 +1258,20 @@ public Builder clearUris() {
        * 
* * repeated string uris = 3; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1425,12 +1284,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.ApplicationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.ApplicationInfo) private static final com.google.cloud.talent.v4.Job.ApplicationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.ApplicationInfo(); } @@ -1439,28 +1298,27 @@ public static com.google.cloud.talent.v4.Job.ApplicationInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplicationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplicationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1475,16 +1333,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.ApplicationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DerivedInfoOrBuilder - extends + public interface DerivedInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.DerivedInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1493,10 +1349,9 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    java.util.List getLocationsList();
+    java.util.List 
+        getLocationsList();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1507,8 +1362,6 @@ public interface DerivedInfoOrBuilder
      */
     com.google.cloud.talent.v4.Location getLocations(int index);
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1519,8 +1372,6 @@ public interface DerivedInfoOrBuilder
      */
     int getLocationsCount();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1529,11 +1380,9 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    java.util.List
+    java.util.List 
         getLocationsOrBuilderList();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1542,90 +1391,74 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index);
+    com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4.JobCategory getJobCategories(int index); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List getJobCategoriesValueList(); + java.util.List + getJobCategoriesValueList(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); } /** - * - * *
    * Derived details about the job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.DerivedInfo} */ - public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DerivedInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DerivedInfo() { locations_ = java.util.Collections.emptyList(); jobCategories_ = java.util.Collections.emptyList(); @@ -1633,35 +1466,32 @@ private DerivedInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.DerivedInfo.class, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Job.DerivedInfo.class, com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** - * - * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1675,8 +1505,6 @@ public java.util.List getLocationsList() {
       return locations_;
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1686,13 +1514,11 @@ public java.util.List getLocationsList() {
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getLocationsOrBuilderList() {
       return locations_;
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1706,8 +1532,6 @@ public int getLocationsCount() {
       return locations_.size();
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1721,8 +1545,6 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
       return locations_.get(index);
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1732,52 +1554,42 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
+        int index) {
       return locations_.get(index);
     }
 
     public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
     private java.util.List jobCategories_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.cloud.talent.v4.JobCategory>
-        jobCategories_converter_ =
+        java.lang.Integer, com.google.cloud.talent.v4.JobCategory> jobCategories_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.cloud.talent.v4.JobCategory>() {
               public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.talent.v4.JobCategory result =
-                    com.google.cloud.talent.v4.JobCategory.valueOf(from);
-                return result == null
-                    ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED
-                    : result;
+                com.google.cloud.talent.v4.JobCategory result = com.google.cloud.talent.v4.JobCategory.valueOf(from);
+                return result == null ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ @java.lang.Override @@ -1785,14 +1597,11 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -1801,29 +1610,24 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return jobCategories_; } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -1831,11 +1635,9 @@ public java.util.List getJobCategoriesValueList() { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } - private int jobCategoriesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1847,7 +1649,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); @@ -1869,20 +1672,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, locations_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobCategoriesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1892,15 +1695,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.DerivedInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.DerivedInfo other = - (com.google.cloud.talent.v4.Job.DerivedInfo) obj; + com.google.cloud.talent.v4.Job.DerivedInfo other = (com.google.cloud.talent.v4.Job.DerivedInfo) obj; - if (!getLocationsList().equals(other.getLocationsList())) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1926,94 +1729,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Job.DerivedInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2023,41 +1820,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Derived details about the job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.DerivedInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.DerivedInfo) com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.DerivedInfo.class, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Job.DerivedInfo.class, com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2074,9 +1869,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override @@ -2095,8 +1890,7 @@ public com.google.cloud.talent.v4.Job.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfo buildPartial() { - com.google.cloud.talent.v4.Job.DerivedInfo result = - new com.google.cloud.talent.v4.Job.DerivedInfo(this); + com.google.cloud.talent.v4.Job.DerivedInfo result = new com.google.cloud.talent.v4.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2120,41 +1914,38 @@ public com.google.cloud.talent.v4.Job.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4.Job.DerivedInfo) other); + return mergeFrom((com.google.cloud.talent.v4.Job.DerivedInfo)other); } else { super.mergeFrom(other); return this; @@ -2181,10 +1972,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.Job.DerivedInfo other) { locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); - locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationsFieldBuilder() - : null; + locationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationsFieldBuilder() : null; } else { locationsBuilder_.addAllMessages(other.locations_); } @@ -2226,45 +2016,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.Location m = - input.readMessage( - com.google.cloud.talent.v4.Location.parser(), extensionRegistry); - if (locationsBuilder_ == null) { - ensureLocationsIsMutable(); - locations_.add(m); - } else { - locationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 24: - { + case 10: { + com.google.cloud.talent.v4.Location m = + input.readMessage( + com.google.cloud.talent.v4.Location.parser(), + extensionRegistry); + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(m); + } else { + locationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 24: { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - break; - } // case 24 - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2274,28 +2061,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List locations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> - locationsBuilder_; + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> locationsBuilder_; /** - * - * *
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2312,8 +2092,6 @@ public java.util.List getLocationsList() {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2330,8 +2108,6 @@ public int getLocationsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2348,8 +2124,6 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2358,7 +2132,8 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder setLocations(int index, com.google.cloud.talent.v4.Location value) {
+      public Builder setLocations(
+          int index, com.google.cloud.talent.v4.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2372,8 +2147,6 @@ public Builder setLocations(int index, com.google.cloud.talent.v4.Location value
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2394,8 +2167,6 @@ public Builder setLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2418,8 +2189,6 @@ public Builder addLocations(com.google.cloud.talent.v4.Location value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2428,7 +2197,8 @@ public Builder addLocations(com.google.cloud.talent.v4.Location value) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder addLocations(int index, com.google.cloud.talent.v4.Location value) {
+      public Builder addLocations(
+          int index, com.google.cloud.talent.v4.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2442,8 +2212,6 @@ public Builder addLocations(int index, com.google.cloud.talent.v4.Location value
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2452,7 +2220,8 @@ public Builder addLocations(int index, com.google.cloud.talent.v4.Location value
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder addLocations(com.google.cloud.talent.v4.Location.Builder builderForValue) {
+      public Builder addLocations(
+          com.google.cloud.talent.v4.Location.Builder builderForValue) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
           locations_.add(builderForValue.build());
@@ -2463,8 +2232,6 @@ public Builder addLocations(com.google.cloud.talent.v4.Location.Builder builderF
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2485,8 +2252,6 @@ public Builder addLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2499,7 +2264,8 @@ public Builder addAllLocations(
           java.lang.Iterable values) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, locations_);
           onChanged();
         } else {
           locationsBuilder_.addAllMessages(values);
@@ -2507,8 +2273,6 @@ public Builder addAllLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2528,8 +2292,6 @@ public Builder clearLocations() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2549,8 +2311,6 @@ public Builder removeLocations(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2559,12 +2319,11 @@ public Builder removeLocations(int index) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(int index) {
+      public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(
+          int index) {
         return getLocationsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2573,16 +2332,14 @@ public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(int index
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index) {
+      public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
+          int index) {
         if (locationsBuilder_ == null) {
-          return locations_.get(index);
-        } else {
+          return locations_.get(index);  } else {
           return locationsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2591,8 +2348,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int in
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public java.util.List
-          getLocationsOrBuilderList() {
+      public java.util.List 
+           getLocationsOrBuilderList() {
         if (locationsBuilder_ != null) {
           return locationsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2600,8 +2357,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int in
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2611,12 +2366,10 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int in
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
       public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder() {
-        return getLocationsFieldBuilder()
-            .addBuilder(com.google.cloud.talent.v4.Location.getDefaultInstance());
+        return getLocationsFieldBuilder().addBuilder(
+            com.google.cloud.talent.v4.Location.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2625,13 +2378,12 @@ public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder() {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(int index) {
-        return getLocationsFieldBuilder()
-            .addBuilder(index, com.google.cloud.talent.v4.Location.getDefaultInstance());
+      public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(
+          int index) {
+        return getLocationsFieldBuilder().addBuilder(
+            index, com.google.cloud.talent.v4.Location.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2640,29 +2392,27 @@ public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(int index
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public java.util.List getLocationsBuilderList() {
+      public java.util.List 
+           getLocationsBuilderList() {
         return getLocationsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.talent.v4.Location,
-              com.google.cloud.talent.v4.Location.Builder,
-              com.google.cloud.talent.v4.LocationOrBuilder>
+          com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
           getLocationsFieldBuilder() {
         if (locationsBuilder_ == null) {
-          locationsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.talent.v4.Location,
-                  com.google.cloud.talent.v4.Location.Builder,
-                  com.google.cloud.talent.v4.LocationOrBuilder>(
-                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
+                  locations_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           locations_ = null;
         }
         return locationsBuilder_;
       }
 
-      private java.util.List jobCategories_ = java.util.Collections.emptyList();
-
+      private java.util.List jobCategories_ =
+        java.util.Collections.emptyList();
       private void ensureJobCategoriesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2670,44 +2420,34 @@ private void ensureJobCategoriesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2715,19 +2455,17 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategory value) { + public Builder setJobCategories( + int index, com.google.cloud.talent.v4.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2737,14 +2475,11 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategor return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2758,14 +2493,11 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2779,14 +2511,11 @@ public Builder addAllJobCategories( return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2796,28 +2525,23 @@ public Builder clearJobCategories() { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2825,33 +2549,28 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue(int index, int value) { + public Builder setJobCategoriesValue( + int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -2862,18 +2581,16 @@ public Builder addJobCategoriesValue(int value) { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue(java.lang.Iterable values) { + public Builder addAllJobCategoriesValue( + java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -2881,7 +2598,6 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2894,12 +2610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.DerivedInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.DerivedInfo) private static final com.google.cloud.talent.v4.Job.DerivedInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.DerivedInfo(); } @@ -2908,28 +2624,27 @@ public static com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DerivedInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DerivedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2944,30 +2659,25 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ProcessingOptionsOrBuilder - extends + public interface ProcessingOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.ProcessingOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ boolean getDisableStreetAddressResolution(); /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2981,13 +2691,10 @@ public interface ProcessingOptionsOrBuilder
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ int getHtmlSanitizationValue(); /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3001,72 +2708,64 @@ public interface ProcessingOptionsOrBuilder
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization(); } /** - * - * *
    * Options for job processing.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ProcessingOptions} */ - public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ProcessingOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.ProcessingOptions) ProcessingOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessingOptions.newBuilder() to construct. private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProcessingOptions() { htmlSanitization_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProcessingOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ProcessingOptions.class, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4.Job.ProcessingOptions.class, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); } public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1; private boolean disableStreetAddressResolution_; /** - * - * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3077,8 +2776,6 @@ public boolean getDisableStreetAddressResolution() { public static final int HTML_SANITIZATION_FIELD_NUMBER = 2; private int htmlSanitization_; /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3092,16 +2789,12 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override - public int getHtmlSanitizationValue() { + @java.lang.Override public int getHtmlSanitizationValue() { return htmlSanitization_; } /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3115,19 +2808,15 @@ public int getHtmlSanitizationValue() {
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ - @java.lang.Override - public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { + @java.lang.Override public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.HtmlSanitization result = - com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); + com.google.cloud.talent.v4.HtmlSanitization result = com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); return result == null ? com.google.cloud.talent.v4.HtmlSanitization.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3139,13 +2828,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disableStreetAddressResolution_ != false) { output.writeBool(1, disableStreetAddressResolution_); } - if (htmlSanitization_ - != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED - .getNumber()) { + if (htmlSanitization_ != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { output.writeEnum(2, htmlSanitization_); } getUnknownFields().writeTo(output); @@ -3158,14 +2846,12 @@ public int getSerializedSize() { size = 0; if (disableStreetAddressResolution_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, disableStreetAddressResolution_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disableStreetAddressResolution_); } - if (htmlSanitization_ - != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_); + if (htmlSanitization_ != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, htmlSanitization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3175,16 +2861,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.ProcessingOptions)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.ProcessingOptions other = - (com.google.cloud.talent.v4.Job.ProcessingOptions) obj; + com.google.cloud.talent.v4.Job.ProcessingOptions other = (com.google.cloud.talent.v4.Job.ProcessingOptions) obj; - if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) - return false; + if (getDisableStreetAddressResolution() + != other.getDisableStreetAddressResolution()) return false; if (htmlSanitization_ != other.htmlSanitization_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3198,9 +2883,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableStreetAddressResolution()); hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER; hash = (53 * hash) + htmlSanitization_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3209,93 +2893,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Job.ProcessingOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3305,41 +2983,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options for job processing.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ProcessingOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.ProcessingOptions) com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ProcessingOptions.class, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4.Job.ProcessingOptions.class, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3351,9 +3027,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override @@ -3372,8 +3048,7 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions build() { @java.lang.Override public com.google.cloud.talent.v4.Job.ProcessingOptions buildPartial() { - com.google.cloud.talent.v4.Job.ProcessingOptions result = - new com.google.cloud.talent.v4.Job.ProcessingOptions(this); + com.google.cloud.talent.v4.Job.ProcessingOptions result = new com.google.cloud.talent.v4.Job.ProcessingOptions(this); result.disableStreetAddressResolution_ = disableStreetAddressResolution_; result.htmlSanitization_ = htmlSanitization_; onBuilt(); @@ -3384,41 +3059,38 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.ProcessingOptions) { - return mergeFrom((com.google.cloud.talent.v4.Job.ProcessingOptions) other); + return mergeFrom((com.google.cloud.talent.v4.Job.ProcessingOptions)other); } else { super.mergeFrom(other); return this; @@ -3426,8 +3098,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Job.ProcessingOptions other) { - if (other == com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance()) return this; if (other.getDisableStreetAddressResolution() != false) { setDisableStreetAddressResolution(other.getDisableStreetAddressResolution()); } @@ -3460,25 +3131,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disableStreetAddressResolution_ = input.readBool(); - - break; - } // case 8 - case 16: - { - htmlSanitization_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disableStreetAddressResolution_ = input.readBool(); + + break; + } // case 8 + case 16: { + htmlSanitization_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3489,17 +3157,14 @@ public Builder mergeFrom( return this; } - private boolean disableStreetAddressResolution_; + private boolean disableStreetAddressResolution_ ; /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3507,38 +3172,32 @@ public boolean getDisableStreetAddressResolution() { return disableStreetAddressResolution_; } /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @param value The disableStreetAddressResolution to set. * @return This builder for chaining. */ public Builder setDisableStreetAddressResolution(boolean value) { - + disableStreetAddressResolution_ = value; onChanged(); return this; } /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @return This builder for chaining. */ public Builder clearDisableStreetAddressResolution() { - + disableStreetAddressResolution_ = false; onChanged(); return this; @@ -3546,8 +3205,6 @@ public Builder clearDisableStreetAddressResolution() { private int htmlSanitization_ = 0; /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3561,16 +3218,12 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override - public int getHtmlSanitizationValue() { + @java.lang.Override public int getHtmlSanitizationValue() { return htmlSanitization_; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3584,19 +3237,16 @@ public int getHtmlSanitizationValue() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @param value The enum numeric value on the wire for htmlSanitization to set. * @return This builder for chaining. */ public Builder setHtmlSanitizationValue(int value) { - + htmlSanitization_ = value; onChanged(); return this; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3610,19 +3260,15 @@ public Builder setHtmlSanitizationValue(int value) {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ @java.lang.Override public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.HtmlSanitization result = - com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); + com.google.cloud.talent.v4.HtmlSanitization result = com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); return result == null ? com.google.cloud.talent.v4.HtmlSanitization.UNRECOGNIZED : result; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3636,7 +3282,6 @@ public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @param value The htmlSanitization to set. * @return This builder for chaining. */ @@ -3644,14 +3289,12 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4.HtmlSanitization v if (value == null) { throw new NullPointerException(); } - + htmlSanitization_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3665,16 +3308,14 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4.HtmlSanitization v
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return This builder for chaining. */ public Builder clearHtmlSanitization() { - + htmlSanitization_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3687,12 +3328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.ProcessingOptions) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.ProcessingOptions) private static final com.google.cloud.talent.v4.Job.ProcessingOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.ProcessingOptions(); } @@ -3701,28 +3342,27 @@ public static com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessingOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessingOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3737,13 +3377,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3756,7 +3395,6 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanceForTyp
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -3765,15 +3403,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3786,15 +3423,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3805,8 +3443,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COMPANY_FIELD_NUMBER = 2; private volatile java.lang.Object company_; /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3814,10 +3450,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ @java.lang.Override @@ -3826,15 +3459,14 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3842,18 +3474,17 @@ public java.lang.String getCompany() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -3864,8 +3495,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { public static final int REQUISITION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requisitionId_; /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3876,7 +3505,6 @@ public com.google.protobuf.ByteString getCompanyBytes() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ @java.lang.Override @@ -3885,15 +3513,14 @@ public java.lang.String getRequisitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; } } /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3904,15 +3531,16 @@ public java.lang.String getRequisitionId() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequisitionIdBytes() { + public com.google.protobuf.ByteString + getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -3923,15 +3551,12 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() { public static final int TITLE_FIELD_NUMBER = 4; private volatile java.lang.Object title_; /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ @java.lang.Override @@ -3940,30 +3565,30 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -3974,8 +3599,6 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3988,7 +3611,6 @@ public com.google.protobuf.ByteString getTitleBytes() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ @java.lang.Override @@ -3997,15 +3619,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -4018,15 +3639,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -4037,8 +3659,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int ADDRESSES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList addresses_; /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4064,15 +3684,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList getAddressesList() { + public com.google.protobuf.ProtocolStringList + getAddressesList() { return addresses_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4098,15 +3716,12 @@ public com.google.protobuf.ProtocolStringList getAddressesList() {
    * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4132,7 +3747,6 @@ public int getAddressesCount() {
    * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -4140,8 +3754,6 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4167,25 +3779,22 @@ public java.lang.String getAddresses(int index) {
    * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString getAddressesBytes(int index) { + public com.google.protobuf.ByteString + getAddressesBytes(int index) { return addresses_.getByteString(index); } public static final int APPLICATION_INFO_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.Job.ApplicationInfo applicationInfo_; /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ @java.lang.Override @@ -4193,25 +3802,18 @@ public boolean hasApplicationInfo() { return applicationInfo_ != null; } /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo() { - return applicationInfo_ == null - ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } /** - * - * *
    * Job application information.
    * 
@@ -4226,43 +3828,34 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf public static final int JOB_BENEFITS_FIELD_NUMBER = 8; private java.util.List jobBenefits_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit> - jobBenefits_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit> jobBenefits_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>() { public com.google.cloud.talent.v4.JobBenefit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobBenefit result = - com.google.cloud.talent.v4.JobBenefit.valueOf(from); + com.google.cloud.talent.v4.JobBenefit result = com.google.cloud.talent.v4.JobBenefit.valueOf(from); return result == null ? com.google.cloud.talent.v4.JobBenefit.UNRECOGNIZED : result; } }; /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ @java.lang.Override public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>( - jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>(jobBenefits_, jobBenefits_converter_); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ @java.lang.Override @@ -4270,14 +3863,11 @@ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -4286,29 +3876,24 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ @java.lang.Override - public java.util.List getJobBenefitsValueList() { + public java.util.List + getJobBenefitsValueList() { return jobBenefits_; } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -4316,21 +3901,17 @@ public java.util.List getJobBenefitsValueList() { public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } - private int jobBenefitsMemoizedSerializedSize; public static final int COMPENSATION_INFO_FIELD_NUMBER = 9; private com.google.cloud.talent.v4.CompensationInfo compensationInfo_; /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ @java.lang.Override @@ -4338,26 +3919,19 @@ public boolean hasCompensationInfo() { return compensationInfo_ != null; } /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo getCompensationInfo() { - return compensationInfo_ == null - ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() - : compensationInfo_; + return compensationInfo_ == null ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_; } /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -4371,26 +3945,21 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
   }
 
   public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;
-
   private static final class CustomAttributesDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-        defaultEntry =
+        java.lang.String, com.google.cloud.talent.v4.CustomAttribute> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.cloud.talent.v4.JobProto
-                        .internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.cloud.talent.v4.CustomAttribute.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.cloud.talent.v4.CustomAttribute.getDefaultInstance());
   }
-
-  private com.google.protobuf.MapField
-      customAttributes_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.cloud.talent.v4.CustomAttribute> customAttributes_;
   private com.google.protobuf.MapField
-      internalGetCustomAttributes() {
+  internalGetCustomAttributes() {
     if (customAttributes_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomAttributesDefaultEntryHolder.defaultEntry);
@@ -4402,8 +3971,6 @@ public int getCustomAttributesCount() {
     return internalGetCustomAttributes().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4419,23 +3986,22 @@ public int getCustomAttributesCount() {
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
+
   @java.lang.Override
-  public boolean containsCustomAttributes(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsCustomAttributes(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetCustomAttributes().getMap().containsKey(key);
   }
-  /** Use {@link #getCustomAttributesMap()} instead. */
+  /**
+   * Use {@link #getCustomAttributesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getCustomAttributes() {
+  public java.util.Map getCustomAttributes() {
     return getCustomAttributesMap();
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4452,13 +4018,11 @@ public boolean containsCustomAttributes(java.lang.String key) {
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
-  public java.util.Map
-      getCustomAttributesMap() {
+
+  public java.util.Map getCustomAttributesMap() {
     return internalGetCustomAttributes().getMap();
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4475,18 +4039,16 @@ public boolean containsCustomAttributes(java.lang.String key) {
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
+
   public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
-      java.lang.String key, com.google.cloud.talent.v4.CustomAttribute defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.cloud.talent.v4.CustomAttribute defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4503,11 +4065,10 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
+
   public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
       java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     if (!map.containsKey(key)) {
@@ -4519,43 +4080,34 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   public static final int DEGREE_TYPES_FIELD_NUMBER = 11;
   private java.util.List degreeTypes_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.cloud.talent.v4.DegreeType>
-      degreeTypes_converter_ =
+      java.lang.Integer, com.google.cloud.talent.v4.DegreeType> degreeTypes_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4.DegreeType>() {
             public com.google.cloud.talent.v4.DegreeType convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4.DegreeType result =
-                  com.google.cloud.talent.v4.DegreeType.valueOf(from);
+              com.google.cloud.talent.v4.DegreeType result = com.google.cloud.talent.v4.DegreeType.valueOf(from);
               return result == null ? com.google.cloud.talent.v4.DegreeType.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ @java.lang.Override public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.DegreeType>( - degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.DegreeType>(degreeTypes_, degreeTypes_converter_); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ @java.lang.Override @@ -4563,14 +4115,11 @@ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -4579,29 +4128,24 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ @java.lang.Override - public java.util.List getDegreeTypesValueList() { + public java.util.List + getDegreeTypesValueList() { return degreeTypes_; } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -4609,14 +4153,11 @@ public java.util.List getDegreeTypesValueList() { public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } - private int degreeTypesMemoizedSerializedSize; public static final int DEPARTMENT_FIELD_NUMBER = 12; private volatile java.lang.Object department_; /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -4624,7 +4165,6 @@ public int getDegreeTypesValue(int index) {
    * 
* * string department = 12; - * * @return The department. */ @java.lang.Override @@ -4633,15 +4173,14 @@ public java.lang.String getDepartment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; } } /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -4649,15 +4188,16 @@ public java.lang.String getDepartment() {
    * 
* * string department = 12; - * * @return The bytes for department. */ @java.lang.Override - public com.google.protobuf.ByteString getDepartmentBytes() { + public com.google.protobuf.ByteString + getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); department_ = b; return b; } else { @@ -4668,22 +4208,16 @@ public com.google.protobuf.ByteString getDepartmentBytes() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> - employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>() { public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.EmploymentType result = - com.google.cloud.talent.v4.EmploymentType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.EmploymentType result = com.google.cloud.talent.v4.EmploymentType.valueOf(from); + return result == null ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED : result; } }; /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4691,18 +4225,14 @@ public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4710,7 +4240,6 @@ public java.util.List getEmploymentTy
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ @java.lang.Override @@ -4718,8 +4247,6 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4727,7 +4254,6 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4735,9 +4261,7 @@ public int getEmploymentTypesCount() { public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } - /** - * - * + /** *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4745,16 +4269,14 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return employmentTypes_; } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4762,7 +4284,6 @@ public java.util.List getEmploymentTypesValueList() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4770,14 +4291,11 @@ public java.util.List getEmploymentTypesValueList() { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } - private int employmentTypesMemoizedSerializedSize; public static final int INCENTIVES_FIELD_NUMBER = 14; private volatile java.lang.Object incentives_; /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4785,7 +4303,6 @@ public int getEmploymentTypesValue(int index) {
    * 
* * string incentives = 14; - * * @return The incentives. */ @java.lang.Override @@ -4794,15 +4311,14 @@ public java.lang.String getIncentives() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; } } /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4810,15 +4326,16 @@ public java.lang.String getIncentives() {
    * 
* * string incentives = 14; - * * @return The bytes for incentives. */ @java.lang.Override - public com.google.protobuf.ByteString getIncentivesBytes() { + public com.google.protobuf.ByteString + getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incentives_ = b; return b; } else { @@ -4829,8 +4346,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object languageCode_; /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4844,7 +4359,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() {
    * 
* * string language_code = 15; - * * @return The languageCode. */ @java.lang.Override @@ -4853,15 +4367,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4875,15 +4388,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4894,44 +4408,33 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int JOB_LEVEL_FIELD_NUMBER = 16; private int jobLevel_; /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override - public int getJobLevelValue() { + @java.lang.Override public int getJobLevelValue() { return jobLevel_; } /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The jobLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4.JobLevel getJobLevel() { + @java.lang.Override public com.google.cloud.talent.v4.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobLevel result = - com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4.JobLevel result = com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4.JobLevel.UNRECOGNIZED : result; } public static final int PROMOTION_VALUE_FIELD_NUMBER = 17; private int promotionValue_; /** - * - * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -4942,7 +4445,6 @@ public com.google.cloud.talent.v4.JobLevel getJobLevel() {
    * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ @java.lang.Override @@ -4953,8 +4455,6 @@ public int getPromotionValue() { public static final int QUALIFICATIONS_FIELD_NUMBER = 18; private volatile java.lang.Object qualifications_; /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4965,7 +4465,6 @@ public int getPromotionValue() {
    * 
* * string qualifications = 18; - * * @return The qualifications. */ @java.lang.Override @@ -4974,15 +4473,14 @@ public java.lang.String getQualifications() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; } } /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4993,15 +4491,16 @@ public java.lang.String getQualifications() {
    * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ @java.lang.Override - public com.google.protobuf.ByteString getQualificationsBytes() { + public com.google.protobuf.ByteString + getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); qualifications_ = b; return b; } else { @@ -5012,8 +4511,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() { public static final int RESPONSIBILITIES_FIELD_NUMBER = 19; private volatile java.lang.Object responsibilities_; /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -5024,7 +4521,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() {
    * 
* * string responsibilities = 19; - * * @return The responsibilities. */ @java.lang.Override @@ -5033,15 +4529,14 @@ public java.lang.String getResponsibilities() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; } } /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -5052,15 +4547,16 @@ public java.lang.String getResponsibilities() {
    * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ @java.lang.Override - public com.google.protobuf.ByteString getResponsibilitiesBytes() { + public com.google.protobuf.ByteString + getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -5071,8 +4567,6 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() { public static final int POSTING_REGION_FIELD_NUMBER = 20; private int postingRegion_; /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -5084,16 +4578,12 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() {
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override - public int getPostingRegionValue() { + @java.lang.Override public int getPostingRegionValue() { return postingRegion_; } /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -5105,22 +4595,17 @@ public int getPostingRegionValue() {
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The postingRegion. */ - @java.lang.Override - public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { + @java.lang.Override public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.PostingRegion result = - com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4.PostingRegion result = com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4.PostingRegion.UNRECOGNIZED : result; } public static final int VISIBILITY_FIELD_NUMBER = 21; private int visibility_; /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -5128,19 +4613,14 @@ public com.google.cloud.talent.v4.PostingRegion getPostingRegion() {
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override - @java.lang.Deprecated - public int getVisibilityValue() { + @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -5148,32 +4628,25 @@ public int getVisibilityValue() {
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.talent.v4.Visibility getVisibility() { + @java.lang.Override @java.lang.Deprecated public com.google.cloud.talent.v4.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Visibility result = - com.google.cloud.talent.v4.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4.Visibility result = com.google.cloud.talent.v4.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4.Visibility.UNRECOGNIZED : result; } public static final int JOB_START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp jobStartTime_; /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ @java.lang.Override @@ -5181,26 +4654,19 @@ public boolean hasJobStartTime() { return jobStartTime_ != null; } /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobStartTime() { - return jobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobStartTime_; + return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; } /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -5216,15 +4682,12 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
   public static final int JOB_END_TIME_FIELD_NUMBER = 23;
   private com.google.protobuf.Timestamp jobEndTime_;
   /**
-   *
-   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ @java.lang.Override @@ -5232,15 +4695,12 @@ public boolean hasJobEndTime() { return jobEndTime_ != null; } /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ @java.lang.Override @@ -5248,8 +4708,6 @@ public com.google.protobuf.Timestamp getJobEndTime() { return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -5265,8 +4723,6 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
   public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
   private com.google.protobuf.Timestamp postingPublishTime_;
   /**
-   *
-   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5274,7 +4730,6 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ @java.lang.Override @@ -5282,8 +4737,6 @@ public boolean hasPostingPublishTime() { return postingPublishTime_ != null; } /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5291,18 +4744,13 @@ public boolean hasPostingPublishTime() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingPublishTime() { - return postingPublishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingPublishTime_; + return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; } /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5319,8 +4767,6 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
   public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
   private com.google.protobuf.Timestamp postingExpireTime_;
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5360,7 +4806,6 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ @java.lang.Override @@ -5368,8 +4813,6 @@ public boolean hasPostingExpireTime() { return postingExpireTime_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5409,18 +4852,13 @@ public boolean hasPostingExpireTime() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingExpireTime() { - return postingExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingExpireTime_; + return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5469,16 +4907,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
   public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
   private com.google.protobuf.Timestamp postingCreateTime_;
   /**
-   *
-   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ @java.lang.Override @@ -5486,34 +4919,23 @@ public boolean hasPostingCreateTime() { return postingCreateTime_ != null; } /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingCreateTime() { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { @@ -5523,16 +4945,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp postingUpdateTime_; /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ @java.lang.Override @@ -5540,34 +4957,23 @@ public boolean hasPostingUpdateTime() { return postingUpdateTime_ != null; } /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingUpdateTime() { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { @@ -5577,14 +4983,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28; private volatile java.lang.Object companyDisplayName_; /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ @java.lang.Override @@ -5593,29 +4996,29 @@ public java.lang.String getCompanyDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; } } /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString + getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -5626,16 +5029,11 @@ public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { public static final int DERIVED_INFO_FIELD_NUMBER = 29; private com.google.cloud.talent.v4.Job.DerivedInfo derivedInfo_; /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -5643,34 +5041,23 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -5680,14 +5067,11 @@ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuild public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30; private com.google.cloud.talent.v4.Job.ProcessingOptions processingOptions_; /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ @java.lang.Override @@ -5695,25 +5079,18 @@ public boolean hasProcessingOptions() { return processingOptions_ != null; } /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ @java.lang.Override public com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions() { - return processingOptions_ == null - ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } /** - * - * *
    * Options for job processing.
    * 
@@ -5726,7 +5103,6 @@ public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOp } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5738,7 +5114,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -5771,8 +5148,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (compensationInfo_ != null) { output.writeMessage(9, getCompensationInfo()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetCustomAttributes(), + CustomAttributesDefaultEntryHolder.defaultEntry, + 10); if (getDegreeTypesList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize); @@ -5808,8 +5189,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_); } - if (postingRegion_ - != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + if (postingRegion_ != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { output.writeEnum(20, postingRegion_); } if (visibility_ != com.google.cloud.talent.v4.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { @@ -5875,45 +5255,46 @@ public int getSerializedSize() { size += 1 * getAddressesList().size(); } if (applicationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getApplicationInfo()); } { int dataSize = 0; for (int i = 0; i < jobBenefits_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobBenefits_.get(i)); } size += dataSize; - if (!getJobBenefitsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobBenefitsMemoizedSerializedSize = dataSize; + if (!getJobBenefitsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobBenefitsMemoizedSerializedSize = dataSize; } if (compensationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getCompensationInfo()); } - for (java.util.Map.Entry entry : - internalGetCustomAttributes().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetCustomAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry - customAttributes__ = - CustomAttributesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__); + customAttributes__ = CustomAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, customAttributes__); } { int dataSize = 0; for (int i = 0; i < degreeTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(degreeTypes_.get(i)); } size += dataSize; - if (!getDegreeTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - degreeTypesMemoizedSerializedSize = dataSize; + if (!getDegreeTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }degreeTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_); @@ -5921,15 +5302,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }employmentTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incentives_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_); @@ -5938,10 +5318,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_); } if (jobLevel_ != com.google.cloud.talent.v4.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, jobLevel_); } if (promotionValue_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(17, promotionValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qualifications_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_); @@ -5949,39 +5331,48 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_); } - if (postingRegion_ - != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_); + if (postingRegion_ != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(20, postingRegion_); } if (visibility_ != com.google.cloud.talent.v4.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(21, visibility_); } if (jobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getJobStartTime()); } if (jobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getJobEndTime()); } if (postingPublishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getPostingPublishTime()); } if (postingExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getPostingExpireTime()); } if (postingCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getPostingCreateTime()); } if (postingUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getPostingUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(companyDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getDerivedInfo()); } if (processingOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getProcessingOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5991,72 +5382,96 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job)) { return super.equals(obj); } com.google.cloud.talent.v4.Job other = (com.google.cloud.talent.v4.Job) obj; - if (!getName().equals(other.getName())) return false; - if (!getCompany().equals(other.getCompany())) return false; - if (!getRequisitionId().equals(other.getRequisitionId())) return false; - if (!getTitle().equals(other.getTitle())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getAddressesList().equals(other.getAddressesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCompany() + .equals(other.getCompany())) return false; + if (!getRequisitionId() + .equals(other.getRequisitionId())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getAddressesList() + .equals(other.getAddressesList())) return false; if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; + if (!getApplicationInfo() + .equals(other.getApplicationInfo())) return false; } if (!jobBenefits_.equals(other.jobBenefits_)) return false; if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; + if (!getCompensationInfo() + .equals(other.getCompensationInfo())) return false; } - if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; + if (!internalGetCustomAttributes().equals( + other.internalGetCustomAttributes())) return false; if (!degreeTypes_.equals(other.degreeTypes_)) return false; - if (!getDepartment().equals(other.getDepartment())) return false; + if (!getDepartment() + .equals(other.getDepartment())) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getIncentives().equals(other.getIncentives())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getIncentives() + .equals(other.getIncentives())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (jobLevel_ != other.jobLevel_) return false; - if (getPromotionValue() != other.getPromotionValue()) return false; - if (!getQualifications().equals(other.getQualifications())) return false; - if (!getResponsibilities().equals(other.getResponsibilities())) return false; + if (getPromotionValue() + != other.getPromotionValue()) return false; + if (!getQualifications() + .equals(other.getQualifications())) return false; + if (!getResponsibilities() + .equals(other.getResponsibilities())) return false; if (postingRegion_ != other.postingRegion_) return false; if (visibility_ != other.visibility_) return false; if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - if (!getJobStartTime().equals(other.getJobStartTime())) return false; + if (!getJobStartTime() + .equals(other.getJobStartTime())) return false; } if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - if (!getJobEndTime().equals(other.getJobEndTime())) return false; + if (!getJobEndTime() + .equals(other.getJobEndTime())) return false; } if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; + if (!getPostingPublishTime() + .equals(other.getPostingPublishTime())) return false; } if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; + if (!getPostingExpireTime() + .equals(other.getPostingExpireTime())) return false; } if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; + if (!getPostingCreateTime() + .equals(other.getPostingCreateTime())) return false; } if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; + if (!getPostingUpdateTime() + .equals(other.getPostingUpdateTime())) return false; } - if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; + if (!getCompanyDisplayName() + .equals(other.getCompanyDisplayName())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo() + .equals(other.getDerivedInfo())) return false; } if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; + if (!getProcessingOptions() + .equals(other.getProcessingOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6164,103 +5579,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.Job parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.talent.v4.Job parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Job resource represents a job posting (also referred to as a "job listing"
    * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4.Company], which is the hiring
@@ -6269,51 +5678,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.Job}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job)
       com.google.cloud.talent.v4.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.JobProto
-          .internal_static_google_cloud_talent_v4_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetCustomAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetMutableCustomAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobProto
-          .internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.talent.v4.Job.class, com.google.cloud.talent.v4.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Job.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6420,9 +5833,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobProto
-          .internal_static_google_cloud_talent_v4_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
     }
 
     @java.lang.Override
@@ -6538,39 +5951,38 @@ public com.google.cloud.talent.v4.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Job) {
-        return mergeFrom((com.google.cloud.talent.v4.Job) other);
+        return mergeFrom((com.google.cloud.talent.v4.Job)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6625,7 +6037,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4.Job other) {
       if (other.hasCompensationInfo()) {
         mergeCompensationInfo(other.getCompensationInfo());
       }
-      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
+      internalGetMutableCustomAttributes().mergeFrom(
+          other.internalGetCustomAttributes());
       if (!other.degreeTypes_.isEmpty()) {
         if (degreeTypes_.isEmpty()) {
           degreeTypes_ = other.degreeTypes_;
@@ -6732,246 +6145,222 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                company_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              company_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                requisitionId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              requisitionId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                title_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              title_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAddressesIsMutable();
-                addresses_.add(s);
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getApplicationInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAddressesIsMutable();
+              addresses_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getApplicationInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 58
-            case 64:
-              {
+              break;
+            } // case 58
+            case 64: {
+              int tmpRaw = input.readEnum();
+              ensureJobBenefitsIsMutable();
+              jobBenefits_.add(tmpRaw);
+              break;
+            } // case 64
+            case 66: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureJobBenefitsIsMutable();
                 jobBenefits_.add(tmpRaw);
-                break;
-              } // case 64
-            case 66:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureJobBenefitsIsMutable();
-                  jobBenefits_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getCompensationInfoFieldBuilder().getBuilder(), extensionRegistry);
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getCompensationInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 74
-            case 82:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-                    customAttributes__ =
-                        input.readMessage(
-                            CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableCustomAttributes()
-                    .getMutableMap()
-                    .put(customAttributes__.getKey(), customAttributes__.getValue());
-                break;
-              } // case 82
-            case 88:
-              {
+              break;
+            } // case 74
+            case 82: {
+              com.google.protobuf.MapEntry
+              customAttributes__ = input.readMessage(
+                  CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableCustomAttributes().getMutableMap().put(
+                  customAttributes__.getKey(), customAttributes__.getValue());
+              break;
+            } // case 82
+            case 88: {
+              int tmpRaw = input.readEnum();
+              ensureDegreeTypesIsMutable();
+              degreeTypes_.add(tmpRaw);
+              break;
+            } // case 88
+            case 90: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureDegreeTypesIsMutable();
                 degreeTypes_.add(tmpRaw);
-                break;
-              } // case 88
-            case 90:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureDegreeTypesIsMutable();
-                  degreeTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 90
-            case 98:
-              {
-                department_ = input.readStringRequireUtf8();
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 90
+            case 98: {
+              department_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 98
-            case 104:
-              {
+              break;
+            } // case 98
+            case 104: {
+              int tmpRaw = input.readEnum();
+              ensureEmploymentTypesIsMutable();
+              employmentTypes_.add(tmpRaw);
+              break;
+            } // case 104
+            case 106: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureEmploymentTypesIsMutable();
                 employmentTypes_.add(tmpRaw);
-                break;
-              } // case 104
-            case 106:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureEmploymentTypesIsMutable();
-                  employmentTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 106
-            case 114:
-              {
-                incentives_ = input.readStringRequireUtf8();
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 106
+            case 114: {
+              incentives_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 114
-            case 122:
-              {
-                languageCode_ = input.readStringRequireUtf8();
+              break;
+            } // case 114
+            case 122: {
+              languageCode_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 122
-            case 128:
-              {
-                jobLevel_ = input.readEnum();
+              break;
+            } // case 122
+            case 128: {
+              jobLevel_ = input.readEnum();
 
-                break;
-              } // case 128
-            case 136:
-              {
-                promotionValue_ = input.readInt32();
+              break;
+            } // case 128
+            case 136: {
+              promotionValue_ = input.readInt32();
 
-                break;
-              } // case 136
-            case 146:
-              {
-                qualifications_ = input.readStringRequireUtf8();
+              break;
+            } // case 136
+            case 146: {
+              qualifications_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 146
-            case 154:
-              {
-                responsibilities_ = input.readStringRequireUtf8();
+              break;
+            } // case 146
+            case 154: {
+              responsibilities_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 154
-            case 160:
-              {
-                postingRegion_ = input.readEnum();
+              break;
+            } // case 154
+            case 160: {
+              postingRegion_ = input.readEnum();
 
-                break;
-              } // case 160
-            case 168:
-              {
-                visibility_ = input.readEnum();
+              break;
+            } // case 160
+            case 168: {
+              visibility_ = input.readEnum();
 
-                break;
-              } // case 168
-            case 178:
-              {
-                input.readMessage(getJobStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 168
+            case 178: {
+              input.readMessage(
+                  getJobStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(getJobEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getJobEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 186
-            case 194:
-              {
-                input.readMessage(
-                    getPostingPublishTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 186
+            case 194: {
+              input.readMessage(
+                  getPostingPublishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 194
-            case 202:
-              {
-                input.readMessage(
-                    getPostingExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 194
+            case 202: {
+              input.readMessage(
+                  getPostingExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(
-                    getPostingCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getPostingCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 210
-            case 218:
-              {
-                input.readMessage(
-                    getPostingUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 210
+            case 218: {
+              input.readMessage(
+                  getPostingUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 218
-            case 226:
-              {
-                companyDisplayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 218
+            case 226: {
+              companyDisplayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 226
-            case 234:
-              {
-                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 226
+            case 234: {
+              input.readMessage(
+                  getDerivedInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 234
-            case 242:
-              {
-                input.readMessage(
-                    getProcessingOptionsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 234
+            case 242: {
+              input.readMessage(
+                  getProcessingOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 242
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 242
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6981,13 +6370,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7000,13 +6386,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7015,8 +6401,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7029,14 +6413,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7044,8 +6429,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7058,22 +6441,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7086,18 +6467,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7110,16 +6488,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7127,8 +6505,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object company_ = ""; /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7136,16 +6512,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -7154,8 +6528,6 @@ public java.lang.String getCompany() { } } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7163,17 +6535,16 @@ public java.lang.String getCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -7181,8 +6552,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { } } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7190,25 +6559,21 @@ public com.google.protobuf.ByteString getCompanyBytes() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany(java.lang.String value) { + public Builder setCompany( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7216,21 +6581,16 @@ public Builder setCompany(java.lang.String value) {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7238,19 +6598,17 @@ public Builder clearCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -7258,8 +6616,6 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { private java.lang.Object requisitionId_ = ""; /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7270,13 +6626,13 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ public java.lang.String getRequisitionId() { java.lang.Object ref = requisitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; @@ -7285,8 +6641,6 @@ public java.lang.String getRequisitionId() { } } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7297,14 +6651,15 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ - public com.google.protobuf.ByteString getRequisitionIdBytes() { + public com.google.protobuf.ByteString + getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -7312,8 +6667,6 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() { } } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7324,22 +6677,20 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionId(java.lang.String value) { + public Builder setRequisitionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requisitionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7350,18 +6701,15 @@ public Builder setRequisitionId(java.lang.String value) {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRequisitionId() { - + requisitionId_ = getDefaultInstance().getRequisitionId(); onChanged(); return this; } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7372,16 +6720,16 @@ public Builder clearRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequisitionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requisitionId_ = value; onChanged(); return this; @@ -7389,21 +6737,19 @@ public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object title_ = ""; /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -7412,22 +6758,21 @@ public java.lang.String getTitle() { } } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -7435,64 +6780,57 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -7500,8 +6838,6 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7514,13 +6850,13 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7529,8 +6865,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7543,14 +6877,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -7558,8 +6893,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7572,22 +6905,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7600,18 +6931,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7624,33 +6952,29 @@ public Builder clearDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7676,15 +7000,13 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList getAddressesList() { + public com.google.protobuf.ProtocolStringList + getAddressesList() { return addresses_.getUnmodifiableView(); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7710,15 +7032,12 @@ public com.google.protobuf.ProtocolStringList getAddressesList() {
      * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7744,7 +7063,6 @@ public int getAddressesCount() {
      * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -7752,8 +7070,6 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7779,16 +7095,14 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString getAddressesBytes(int index) { + public com.google.protobuf.ByteString + getAddressesBytes(int index) { return addresses_.getByteString(index); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7814,23 +7128,21 @@ public com.google.protobuf.ByteString getAddressesBytes(int index) {
      * 
* * repeated string addresses = 6; - * * @param index The index to set the value at. * @param value The addresses to set. * @return This builder for chaining. */ - public Builder setAddresses(int index, java.lang.String value) { + public Builder setAddresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.set(index, value); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7856,22 +7168,20 @@ public Builder setAddresses(int index, java.lang.String value) {
      * 
* * repeated string addresses = 6; - * * @param value The addresses to add. * @return This builder for chaining. */ - public Builder addAddresses(java.lang.String value) { + public Builder addAddresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.add(value); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7897,19 +7207,18 @@ public Builder addAddresses(java.lang.String value) {
      * 
* * repeated string addresses = 6; - * * @param values The addresses to add. * @return This builder for chaining. */ - public Builder addAllAddresses(java.lang.Iterable values) { + public Builder addAllAddresses( + java.lang.Iterable values) { ensureAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, addresses_); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7935,7 +7244,6 @@ public Builder addAllAddresses(java.lang.Iterable values) {
      * 
* * repeated string addresses = 6; - * * @return This builder for chaining. */ public Builder clearAddresses() { @@ -7945,8 +7253,6 @@ public Builder clearAddresses() { return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7972,15 +7278,15 @@ public Builder clearAddresses() {
      * 
* * repeated string addresses = 6; - * * @param value The bytes of the addresses to add. * @return This builder for chaining. */ - public Builder addAddressesBytes(com.google.protobuf.ByteString value) { + public Builder addAddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAddressesIsMutable(); addresses_.add(value); onChanged(); @@ -7989,47 +7295,34 @@ public Builder addAddressesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> - applicationInfoBuilder_; + com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> applicationInfoBuilder_; /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ public boolean hasApplicationInfo() { return applicationInfoBuilder_ != null || applicationInfo_ != null; } /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ public com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo() { if (applicationInfoBuilder_ == null) { - return applicationInfo_ == null - ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } else { return applicationInfoBuilder_.getMessage(); } } /** - * - * *
      * Job application information.
      * 
@@ -8050,8 +7343,6 @@ public Builder setApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationInfo return this; } /** - * - * *
      * Job application information.
      * 
@@ -8070,8 +7361,6 @@ public Builder setApplicationInfo( return this; } /** - * - * *
      * Job application information.
      * 
@@ -8082,9 +7371,7 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationIn if (applicationInfoBuilder_ == null) { if (applicationInfo_ != null) { applicationInfo_ = - com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder(applicationInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder(applicationInfo_).mergeFrom(value).buildPartial(); } else { applicationInfo_ = value; } @@ -8096,8 +7383,6 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationIn return this; } /** - * - * *
      * Job application information.
      * 
@@ -8116,8 +7401,6 @@ public Builder clearApplicationInfo() { return this; } /** - * - * *
      * Job application information.
      * 
@@ -8125,13 +7408,11 @@ public Builder clearApplicationInfo() { * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; */ public com.google.cloud.talent.v4.Job.ApplicationInfo.Builder getApplicationInfoBuilder() { - + onChanged(); return getApplicationInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Job application information.
      * 
@@ -8142,14 +7423,11 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf if (applicationInfoBuilder_ != null) { return applicationInfoBuilder_.getMessageOrBuilder(); } else { - return applicationInfo_ == null - ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? + com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } } /** - * - * *
      * Job application information.
      * 
@@ -8157,24 +7435,21 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> + com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> getApplicationInfoFieldBuilder() { if (applicationInfoBuilder_ == null) { - applicationInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder>( - getApplicationInfo(), getParentForChildren(), isClean()); + applicationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder>( + getApplicationInfo(), + getParentForChildren(), + isClean()); applicationInfo_ = null; } return applicationInfoBuilder_; } - private java.util.List jobBenefits_ = java.util.Collections.emptyList(); - + private java.util.List jobBenefits_ = + java.util.Collections.emptyList(); private void ensureJobBenefitsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); @@ -8182,44 +7457,34 @@ private void ensureJobBenefitsIsMutable() { } } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>( - jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>(jobBenefits_, jobBenefits_converter_); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -8227,19 +7492,17 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index to set the value at. * @param value The jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefits(int index, com.google.cloud.talent.v4.JobBenefit value) { + public Builder setJobBenefits( + int index, com.google.cloud.talent.v4.JobBenefit value) { if (value == null) { throw new NullPointerException(); } @@ -8249,14 +7512,11 @@ public Builder setJobBenefits(int index, com.google.cloud.talent.v4.JobBenefit v return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param value The jobBenefits to add. * @return This builder for chaining. */ @@ -8270,14 +7530,11 @@ public Builder addJobBenefits(com.google.cloud.talent.v4.JobBenefit value) { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param values The jobBenefits to add. * @return This builder for chaining. */ @@ -8291,14 +7548,11 @@ public Builder addAllJobBenefits( return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return This builder for chaining. */ public Builder clearJobBenefits() { @@ -8308,28 +7562,23 @@ public Builder clearJobBenefits() { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - public java.util.List getJobBenefitsValueList() { + public java.util.List + getJobBenefitsValueList() { return java.util.Collections.unmodifiableList(jobBenefits_); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -8337,33 +7586,28 @@ public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefitsValue(int index, int value) { + public Builder setJobBenefitsValue( + int index, int value) { ensureJobBenefitsIsMutable(); jobBenefits_.set(index, value); onChanged(); return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param value The enum numeric value on the wire for jobBenefits to add. * @return This builder for chaining. */ @@ -8374,18 +7618,16 @@ public Builder addJobBenefitsValue(int value) { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param values The enum numeric values on the wire for jobBenefits to add. * @return This builder for chaining. */ - public Builder addAllJobBenefitsValue(java.lang.Iterable values) { + public Builder addAllJobBenefitsValue( + java.lang.Iterable values) { ensureJobBenefitsIsMutable(); for (int value : values) { jobBenefits_.add(value); @@ -8396,49 +7638,36 @@ public Builder addAllJobBenefitsValue(java.lang.Iterable valu private com.google.cloud.talent.v4.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo, - com.google.cloud.talent.v4.CompensationInfo.Builder, - com.google.cloud.talent.v4.CompensationInfoOrBuilder> - compensationInfoBuilder_; + com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder> compensationInfoBuilder_; /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ public boolean hasCompensationInfo() { return compensationInfoBuilder_ != null || compensationInfo_ != null; } /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ public com.google.cloud.talent.v4.CompensationInfo getCompensationInfo() { if (compensationInfoBuilder_ == null) { - return compensationInfo_ == null - ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() - : compensationInfo_; + return compensationInfo_ == null ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_; } else { return compensationInfoBuilder_.getMessage(); } } /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8460,8 +7689,6 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4.CompensationInfo v
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8481,8 +7708,6 @@ public Builder setCompensationInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8494,9 +7719,7 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4.CompensationInfo
       if (compensationInfoBuilder_ == null) {
         if (compensationInfo_ != null) {
           compensationInfo_ =
-              com.google.cloud.talent.v4.CompensationInfo.newBuilder(compensationInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.CompensationInfo.newBuilder(compensationInfo_).mergeFrom(value).buildPartial();
         } else {
           compensationInfo_ = value;
         }
@@ -8508,8 +7731,6 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4.CompensationInfo
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8529,8 +7750,6 @@ public Builder clearCompensationInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8539,13 +7758,11 @@ public Builder clearCompensationInfo() {
      * .google.cloud.talent.v4.CompensationInfo compensation_info = 9;
      */
     public com.google.cloud.talent.v4.CompensationInfo.Builder getCompensationInfoBuilder() {
-
+      
       onChanged();
       return getCompensationInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8557,14 +7774,11 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
       if (compensationInfoBuilder_ != null) {
         return compensationInfoBuilder_.getMessageOrBuilder();
       } else {
-        return compensationInfo_ == null
-            ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance()
-            : compensationInfo_;
+        return compensationInfo_ == null ?
+            com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8573,45 +7787,35 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
      * .google.cloud.talent.v4.CompensationInfo compensation_info = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo,
-            com.google.cloud.talent.v4.CompensationInfo.Builder,
-            com.google.cloud.talent.v4.CompensationInfoOrBuilder>
+        com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder> 
         getCompensationInfoFieldBuilder() {
       if (compensationInfoBuilder_ == null) {
-        compensationInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.CompensationInfo,
-                com.google.cloud.talent.v4.CompensationInfo.Builder,
-                com.google.cloud.talent.v4.CompensationInfoOrBuilder>(
-                getCompensationInfo(), getParentForChildren(), isClean());
+        compensationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder>(
+                getCompensationInfo(),
+                getParentForChildren(),
+                isClean());
         compensationInfo_ = null;
       }
       return compensationInfoBuilder_;
     }
 
     private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-        customAttributes_;
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-        internalGetCustomAttributes() {
+        java.lang.String, com.google.cloud.talent.v4.CustomAttribute> customAttributes_;
+    private com.google.protobuf.MapField
+    internalGetCustomAttributes() {
       if (customAttributes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       return customAttributes_;
-    }
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-        internalGetMutableCustomAttributes() {
-      onChanged();
-      ;
+    }
+    private com.google.protobuf.MapField
+    internalGetMutableCustomAttributes() {
+      onChanged();;
       if (customAttributes_ == null) {
-        customAttributes_ =
-            com.google.protobuf.MapField.newMapField(
-                CustomAttributesDefaultEntryHolder.defaultEntry);
+        customAttributes_ = com.google.protobuf.MapField.newMapField(
+            CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       if (!customAttributes_.isMutable()) {
         customAttributes_ = customAttributes_.copy();
@@ -8623,8 +7827,6 @@ public int getCustomAttributesCount() {
       return internalGetCustomAttributes().getMap().size();
     }
     /**
-     *
-     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8638,26 +7840,24 @@ public int getCustomAttributesCount() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ + @java.lang.Override - public boolean containsCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomAttributes().getMap().containsKey(key); } - /** Use {@link #getCustomAttributesMap()} instead. */ + /** + * Use {@link #getCustomAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getCustomAttributes() { + public java.util.Map getCustomAttributes() { return getCustomAttributesMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8671,17 +7871,14 @@ public boolean containsCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ @java.lang.Override - public java.util.Map - getCustomAttributesMap() { + + public java.util.Map getCustomAttributesMap() { return internalGetCustomAttributes().getMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8695,22 +7892,19 @@ public boolean containsCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault( - java.lang.String key, com.google.cloud.talent.v4.CustomAttribute defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4.CustomAttribute defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8724,15 +7918,13 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -8742,12 +7934,11 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow( } public Builder clearCustomAttributes() { - internalGetMutableCustomAttributes().getMutableMap().clear(); + internalGetMutableCustomAttributes().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8761,25 +7952,25 @@ public Builder clearCustomAttributes() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ - public Builder removeCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableCustomAttributes().getMutableMap().remove(key); + + public Builder removeCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableCustomAttributes().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableCustomAttributes() { + getMutableCustomAttributes() { return internalGetMutableCustomAttributes().getMutableMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8793,24 +7984,21 @@ public Builder removeCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ public Builder putCustomAttributes( - java.lang.String key, com.google.cloud.talent.v4.CustomAttribute value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4.CustomAttribute value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableCustomAttributes().getMutableMap().put(key, value); + internalGetMutableCustomAttributes().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8824,17 +8012,18 @@ public Builder putCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ + public Builder putAllCustomAttributes( java.util.Map values) { - internalGetMutableCustomAttributes().getMutableMap().putAll(values); + internalGetMutableCustomAttributes().getMutableMap() + .putAll(values); return this; } - private java.util.List degreeTypes_ = java.util.Collections.emptyList(); - + private java.util.List degreeTypes_ = + java.util.Collections.emptyList(); private void ensureDegreeTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); @@ -8842,44 +8031,34 @@ private void ensureDegreeTypesIsMutable() { } } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.DegreeType>( - degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.DegreeType>(degreeTypes_, degreeTypes_converter_); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -8887,19 +8066,17 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index to set the value at. * @param value The degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypes(int index, com.google.cloud.talent.v4.DegreeType value) { + public Builder setDegreeTypes( + int index, com.google.cloud.talent.v4.DegreeType value) { if (value == null) { throw new NullPointerException(); } @@ -8909,14 +8086,11 @@ public Builder setDegreeTypes(int index, com.google.cloud.talent.v4.DegreeType v return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param value The degreeTypes to add. * @return This builder for chaining. */ @@ -8930,14 +8104,11 @@ public Builder addDegreeTypes(com.google.cloud.talent.v4.DegreeType value) { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param values The degreeTypes to add. * @return This builder for chaining. */ @@ -8951,14 +8122,11 @@ public Builder addAllDegreeTypes( return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return This builder for chaining. */ public Builder clearDegreeTypes() { @@ -8968,28 +8136,23 @@ public Builder clearDegreeTypes() { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - public java.util.List getDegreeTypesValueList() { + public java.util.List + getDegreeTypesValueList() { return java.util.Collections.unmodifiableList(degreeTypes_); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -8997,33 +8160,28 @@ public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypesValue(int index, int value) { + public Builder setDegreeTypesValue( + int index, int value) { ensureDegreeTypesIsMutable(); degreeTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param value The enum numeric value on the wire for degreeTypes to add. * @return This builder for chaining. */ @@ -9034,18 +8192,16 @@ public Builder addDegreeTypesValue(int value) { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param values The enum numeric values on the wire for degreeTypes to add. * @return This builder for chaining. */ - public Builder addAllDegreeTypesValue(java.lang.Iterable values) { + public Builder addAllDegreeTypesValue( + java.lang.Iterable values) { ensureDegreeTypesIsMutable(); for (int value : values) { degreeTypes_.add(value); @@ -9056,8 +8212,6 @@ public Builder addAllDegreeTypesValue(java.lang.Iterable valu private java.lang.Object department_ = ""; /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9065,13 +8219,13 @@ public Builder addAllDegreeTypesValue(java.lang.Iterable valu
      * 
* * string department = 12; - * * @return The department. */ public java.lang.String getDepartment() { java.lang.Object ref = department_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; @@ -9080,8 +8234,6 @@ public java.lang.String getDepartment() { } } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9089,14 +8241,15 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; - * * @return The bytes for department. */ - public com.google.protobuf.ByteString getDepartmentBytes() { + public com.google.protobuf.ByteString + getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); department_ = b; return b; } else { @@ -9104,8 +8257,6 @@ public com.google.protobuf.ByteString getDepartmentBytes() { } } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9113,22 +8264,20 @@ public com.google.protobuf.ByteString getDepartmentBytes() {
      * 
* * string department = 12; - * * @param value The department to set. * @return This builder for chaining. */ - public Builder setDepartment(java.lang.String value) { + public Builder setDepartment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + department_ = value; onChanged(); return this; } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9136,18 +8285,15 @@ public Builder setDepartment(java.lang.String value) {
      * 
* * string department = 12; - * * @return This builder for chaining. */ public Builder clearDepartment() { - + department_ = getDefaultInstance().getDepartment(); onChanged(); return this; } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9155,23 +8301,23 @@ public Builder clearDepartment() {
      * 
* * string department = 12; - * * @param value The bytes for department to set. * @return This builder for chaining. */ - public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { + public Builder setDepartmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + department_ = value; onChanged(); return this; } - private java.util.List employmentTypes_ = java.util.Collections.emptyList(); - + private java.util.List employmentTypes_ = + java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -9179,8 +8325,6 @@ private void ensureEmploymentTypesIsMutable() { } } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9188,17 +8332,13 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9206,15 +8346,12 @@ public java.util.List getEmploymentTy
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9222,7 +8359,6 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -9230,8 +8366,6 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9239,12 +8373,12 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.EmploymentType value) { + public Builder setEmploymentTypes( + int index, com.google.cloud.talent.v4.EmploymentType value) { if (value == null) { throw new NullPointerException(); } @@ -9254,8 +8388,6 @@ public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.Employme return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9263,7 +8395,6 @@ public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.Employme
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -9277,8 +8408,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9286,7 +8415,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -9300,8 +8428,6 @@ public Builder addAllEmploymentTypes( return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9309,7 +8435,6 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -9319,8 +8444,6 @@ public Builder clearEmploymentTypes() { return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9328,15 +8451,13 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9344,7 +8465,6 @@ public java.util.List getEmploymentTypesValueList() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -9352,8 +8472,6 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9361,20 +8479,18 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue(int index, int value) { + public Builder setEmploymentTypesValue( + int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9382,7 +8498,6 @@ public Builder setEmploymentTypesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -9393,8 +8508,6 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9402,11 +8515,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue( + java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -9417,8 +8530,6 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable private java.lang.Object incentives_ = ""; /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9426,13 +8537,13 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable
      * 
* * string incentives = 14; - * * @return The incentives. */ public java.lang.String getIncentives() { java.lang.Object ref = incentives_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; @@ -9441,8 +8552,6 @@ public java.lang.String getIncentives() { } } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9450,14 +8559,15 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; - * * @return The bytes for incentives. */ - public com.google.protobuf.ByteString getIncentivesBytes() { + public com.google.protobuf.ByteString + getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incentives_ = b; return b; } else { @@ -9465,8 +8575,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() { } } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9474,22 +8582,20 @@ public com.google.protobuf.ByteString getIncentivesBytes() {
      * 
* * string incentives = 14; - * * @param value The incentives to set. * @return This builder for chaining. */ - public Builder setIncentives(java.lang.String value) { + public Builder setIncentives( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incentives_ = value; onChanged(); return this; } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9497,18 +8603,15 @@ public Builder setIncentives(java.lang.String value) {
      * 
* * string incentives = 14; - * * @return This builder for chaining. */ public Builder clearIncentives() { - + incentives_ = getDefaultInstance().getIncentives(); onChanged(); return this; } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9516,16 +8619,16 @@ public Builder clearIncentives() {
      * 
* * string incentives = 14; - * * @param value The bytes for incentives to set. * @return This builder for chaining. */ - public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { + public Builder setIncentivesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incentives_ = value; onChanged(); return this; @@ -9533,8 +8636,6 @@ public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9548,13 +8649,13 @@ public Builder setIncentivesBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 15; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -9563,8 +8664,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9578,14 +8677,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -9593,8 +8693,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9608,22 +8706,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 15; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9637,18 +8733,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 15; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9662,16 +8755,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 15; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -9679,65 +8772,51 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private int jobLevel_ = 0; /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override - public int getJobLevelValue() { + @java.lang.Override public int getJobLevelValue() { return jobLevel_; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @param value The enum numeric value on the wire for jobLevel to set. * @return This builder for chaining. */ public Builder setJobLevelValue(int value) { - + jobLevel_ = value; onChanged(); return this; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The jobLevel. */ @java.lang.Override public com.google.cloud.talent.v4.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobLevel result = - com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4.JobLevel result = com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4.JobLevel.UNRECOGNIZED : result; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @param value The jobLevel to set. * @return This builder for chaining. */ @@ -9745,33 +8824,28 @@ public Builder setJobLevel(com.google.cloud.talent.v4.JobLevel value) { if (value == null) { throw new NullPointerException(); } - + jobLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return This builder for chaining. */ public Builder clearJobLevel() { - + jobLevel_ = 0; onChanged(); return this; } - private int promotionValue_; + private int promotionValue_ ; /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9782,7 +8856,6 @@ public Builder clearJobLevel() {
      * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ @java.lang.Override @@ -9790,8 +8863,6 @@ public int getPromotionValue() { return promotionValue_; } /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9802,19 +8873,16 @@ public int getPromotionValue() {
      * 
* * int32 promotion_value = 17; - * * @param value The promotionValue to set. * @return This builder for chaining. */ public Builder setPromotionValue(int value) { - + promotionValue_ = value; onChanged(); return this; } /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9825,11 +8893,10 @@ public Builder setPromotionValue(int value) {
      * 
* * int32 promotion_value = 17; - * * @return This builder for chaining. */ public Builder clearPromotionValue() { - + promotionValue_ = 0; onChanged(); return this; @@ -9837,8 +8904,6 @@ public Builder clearPromotionValue() { private java.lang.Object qualifications_ = ""; /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9849,13 +8914,13 @@ public Builder clearPromotionValue() {
      * 
* * string qualifications = 18; - * * @return The qualifications. */ public java.lang.String getQualifications() { java.lang.Object ref = qualifications_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; @@ -9864,8 +8929,6 @@ public java.lang.String getQualifications() { } } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9876,14 +8939,15 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ - public com.google.protobuf.ByteString getQualificationsBytes() { + public com.google.protobuf.ByteString + getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); qualifications_ = b; return b; } else { @@ -9891,8 +8955,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() { } } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9903,22 +8965,20 @@ public com.google.protobuf.ByteString getQualificationsBytes() {
      * 
* * string qualifications = 18; - * * @param value The qualifications to set. * @return This builder for chaining. */ - public Builder setQualifications(java.lang.String value) { + public Builder setQualifications( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + qualifications_ = value; onChanged(); return this; } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9929,18 +8989,15 @@ public Builder setQualifications(java.lang.String value) {
      * 
* * string qualifications = 18; - * * @return This builder for chaining. */ public Builder clearQualifications() { - + qualifications_ = getDefaultInstance().getQualifications(); onChanged(); return this; } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9951,16 +9008,16 @@ public Builder clearQualifications() {
      * 
* * string qualifications = 18; - * * @param value The bytes for qualifications to set. * @return This builder for chaining. */ - public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { + public Builder setQualificationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + qualifications_ = value; onChanged(); return this; @@ -9968,8 +9025,6 @@ public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object responsibilities_ = ""; /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9980,13 +9035,13 @@ public Builder setQualificationsBytes(com.google.protobuf.ByteString value) {
      * 
* * string responsibilities = 19; - * * @return The responsibilities. */ public java.lang.String getResponsibilities() { java.lang.Object ref = responsibilities_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; @@ -9995,8 +9050,6 @@ public java.lang.String getResponsibilities() { } } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -10007,14 +9060,15 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ - public com.google.protobuf.ByteString getResponsibilitiesBytes() { + public com.google.protobuf.ByteString + getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -10022,8 +9076,6 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() { } } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -10034,22 +9086,20 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() {
      * 
* * string responsibilities = 19; - * * @param value The responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilities(java.lang.String value) { + public Builder setResponsibilities( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responsibilities_ = value; onChanged(); return this; } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -10060,18 +9110,15 @@ public Builder setResponsibilities(java.lang.String value) {
      * 
* * string responsibilities = 19; - * * @return This builder for chaining. */ public Builder clearResponsibilities() { - + responsibilities_ = getDefaultInstance().getResponsibilities(); onChanged(); return this; } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -10082,16 +9129,16 @@ public Builder clearResponsibilities() {
      * 
* * string responsibilities = 19; - * * @param value The bytes for responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { + public Builder setResponsibilitiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responsibilities_ = value; onChanged(); return this; @@ -10099,8 +9146,6 @@ public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { private int postingRegion_ = 0; /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10112,16 +9157,12 @@ public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override - public int getPostingRegionValue() { + @java.lang.Override public int getPostingRegionValue() { return postingRegion_; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10133,19 +9174,16 @@ public int getPostingRegionValue() {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @param value The enum numeric value on the wire for postingRegion to set. * @return This builder for chaining. */ public Builder setPostingRegionValue(int value) { - + postingRegion_ = value; onChanged(); return this; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10157,19 +9195,15 @@ public Builder setPostingRegionValue(int value) {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The postingRegion. */ @java.lang.Override public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.PostingRegion result = - com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4.PostingRegion result = com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4.PostingRegion.UNRECOGNIZED : result; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10181,7 +9215,6 @@ public com.google.cloud.talent.v4.PostingRegion getPostingRegion() {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @param value The postingRegion to set. * @return This builder for chaining. */ @@ -10189,14 +9222,12 @@ public Builder setPostingRegion(com.google.cloud.talent.v4.PostingRegion value) if (value == null) { throw new NullPointerException(); } - + postingRegion_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10208,11 +9239,10 @@ public Builder setPostingRegion(com.google.cloud.talent.v4.PostingRegion value)
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return This builder for chaining. */ public Builder clearPostingRegion() { - + postingRegion_ = 0; onChanged(); return this; @@ -10220,8 +9250,6 @@ public Builder clearPostingRegion() { private int visibility_ = 0; /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10229,19 +9257,14 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override - @java.lang.Deprecated - public int getVisibilityValue() { + @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10249,22 +9272,18 @@ public int getVisibilityValue() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @param value The enum numeric value on the wire for visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setVisibilityValue(int value) { - + @java.lang.Deprecated public Builder setVisibilityValue(int value) { + visibility_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10272,22 +9291,17 @@ public Builder setVisibilityValue(int value) {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.talent.v4.Visibility getVisibility() { + @java.lang.Deprecated public com.google.cloud.talent.v4.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Visibility result = - com.google.cloud.talent.v4.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4.Visibility result = com.google.cloud.talent.v4.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4.Visibility.UNRECOGNIZED : result; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10295,25 +9309,21 @@ public com.google.cloud.talent.v4.Visibility getVisibility() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @param value The visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) { + @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) { if (value == null) { throw new NullPointerException(); } - + visibility_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10321,14 +9331,12 @@ public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearVisibility() { - + @java.lang.Deprecated public Builder clearVisibility() { + visibility_ = 0; onChanged(); return this; @@ -10336,49 +9344,36 @@ public Builder clearVisibility() { private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - jobStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobStartTimeBuilder_; /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ public boolean hasJobStartTime() { return jobStartTimeBuilder_ != null || jobStartTime_ != null; } /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ public com.google.protobuf.Timestamp getJobStartTime() { if (jobStartTimeBuilder_ == null) { - return jobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobStartTime_; + return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; } else { return jobStartTimeBuilder_.getMessage(); } } /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10400,8 +9395,6 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10409,7 +9402,8 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_start_time = 22;
      */
-    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobStartTimeBuilder_ == null) {
         jobStartTime_ = builderForValue.build();
         onChanged();
@@ -10420,8 +9414,6 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10433,9 +9425,7 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       if (jobStartTimeBuilder_ == null) {
         if (jobStartTime_ != null) {
           jobStartTime_ =
-              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(jobStartTime_).mergeFrom(value).buildPartial();
         } else {
           jobStartTime_ = value;
         }
@@ -10447,8 +9437,6 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10468,8 +9456,6 @@ public Builder clearJobStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10478,13 +9464,11 @@ public Builder clearJobStartTime() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {
-
+      
       onChanged();
       return getJobStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10496,14 +9480,11 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
       if (jobStartTimeBuilder_ != null) {
         return jobStartTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobStartTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : jobStartTime_;
+        return jobStartTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10512,17 +9493,14 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getJobStartTimeFieldBuilder() {
       if (jobStartTimeBuilder_ == null) {
-        jobStartTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getJobStartTime(), getParentForChildren(), isClean());
+        jobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getJobStartTime(),
+                getParentForChildren(),
+                isClean());
         jobStartTime_ = null;
       }
       return jobStartTimeBuilder_;
@@ -10530,49 +9508,36 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp jobEndTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        jobEndTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobEndTimeBuilder_;
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ public boolean hasJobEndTime() { return jobEndTimeBuilder_ != null || jobEndTime_ != null; } /** - * - * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ public com.google.protobuf.Timestamp getJobEndTime() { if (jobEndTimeBuilder_ == null) { - return jobEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobEndTime_; + return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } else { return jobEndTimeBuilder_.getMessage(); } } /** - * - * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10594,8 +9559,6 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10603,7 +9566,8 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_end_time = 23;
      */
-    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobEndTimeBuilder_ == null) {
         jobEndTime_ = builderForValue.build();
         onChanged();
@@ -10614,8 +9578,6 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10627,7 +9589,7 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       if (jobEndTimeBuilder_ == null) {
         if (jobEndTime_ != null) {
           jobEndTime_ =
-              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
         } else {
           jobEndTime_ = value;
         }
@@ -10639,8 +9601,6 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10660,8 +9620,6 @@ public Builder clearJobEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10670,13 +9628,11 @@ public Builder clearJobEndTime() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {
-
+      
       onChanged();
       return getJobEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10688,14 +9644,11 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
       if (jobEndTimeBuilder_ != null) {
         return jobEndTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobEndTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : jobEndTime_;
+        return jobEndTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10704,17 +9657,14 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getJobEndTimeFieldBuilder() {
       if (jobEndTimeBuilder_ == null) {
-        jobEndTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getJobEndTime(), getParentForChildren(), isClean());
+        jobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getJobEndTime(),
+                getParentForChildren(),
+                isClean());
         jobEndTime_ = null;
       }
       return jobEndTimeBuilder_;
@@ -10722,13 +9672,8 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingPublishTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingPublishTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingPublishTimeBuilder_;
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10736,15 +9681,12 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ public boolean hasPostingPublishTime() { return postingPublishTimeBuilder_ != null || postingPublishTime_ != null; } /** - * - * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10752,21 +9694,16 @@ public boolean hasPostingPublishTime() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ public com.google.protobuf.Timestamp getPostingPublishTime() { if (postingPublishTimeBuilder_ == null) { - return postingPublishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingPublishTime_; + return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; } else { return postingPublishTimeBuilder_.getMessage(); } } /** - * - * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10789,8 +9726,6 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10799,7 +9734,8 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
-    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingPublishTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingPublishTimeBuilder_ == null) {
         postingPublishTime_ = builderForValue.build();
         onChanged();
@@ -10810,8 +9746,6 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10824,9 +9758,7 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       if (postingPublishTimeBuilder_ == null) {
         if (postingPublishTime_ != null) {
           postingPublishTime_ =
-              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(postingPublishTime_).mergeFrom(value).buildPartial();
         } else {
           postingPublishTime_ = value;
         }
@@ -10838,8 +9770,6 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10860,8 +9790,6 @@ public Builder clearPostingPublishTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10871,13 +9799,11 @@ public Builder clearPostingPublishTime() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {
-
+      
       onChanged();
       return getPostingPublishTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10890,14 +9816,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
       if (postingPublishTimeBuilder_ != null) {
         return postingPublishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingPublishTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : postingPublishTime_;
+        return postingPublishTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10907,17 +9830,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getPostingPublishTimeFieldBuilder() {
       if (postingPublishTimeBuilder_ == null) {
-        postingPublishTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPostingPublishTime(), getParentForChildren(), isClean());
+        postingPublishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPostingPublishTime(),
+                getParentForChildren(),
+                isClean());
         postingPublishTime_ = null;
       }
       return postingPublishTimeBuilder_;
@@ -10925,13 +9845,8 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingExpireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingExpireTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingExpireTimeBuilder_;
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10971,15 +9886,12 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ public boolean hasPostingExpireTime() { return postingExpireTimeBuilder_ != null || postingExpireTime_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11019,21 +9931,16 @@ public boolean hasPostingExpireTime() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ public com.google.protobuf.Timestamp getPostingExpireTime() { if (postingExpireTimeBuilder_ == null) { - return postingExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingExpireTime_; + return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; } else { return postingExpireTimeBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11088,8 +9995,6 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11130,7 +10035,8 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
-    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingExpireTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingExpireTimeBuilder_ == null) {
         postingExpireTime_ = builderForValue.build();
         onChanged();
@@ -11141,8 +10047,6 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11187,9 +10091,7 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       if (postingExpireTimeBuilder_ == null) {
         if (postingExpireTime_ != null) {
           postingExpireTime_ =
-              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(postingExpireTime_).mergeFrom(value).buildPartial();
         } else {
           postingExpireTime_ = value;
         }
@@ -11201,8 +10103,6 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11255,8 +10155,6 @@ public Builder clearPostingExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11298,13 +10196,11 @@ public Builder clearPostingExpireTime() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
-
+      
       onChanged();
       return getPostingExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11349,14 +10245,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
       if (postingExpireTimeBuilder_ != null) {
         return postingExpireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingExpireTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : postingExpireTime_;
+        return postingExpireTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11398,17 +10291,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getPostingExpireTimeFieldBuilder() {
       if (postingExpireTimeBuilder_ == null) {
-        postingExpireTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPostingExpireTime(), getParentForChildren(), isClean());
+        postingExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPostingExpireTime(),
+                getParentForChildren(),
+                isClean());
         postingExpireTime_ = null;
       }
       return postingExpireTimeBuilder_;
@@ -11416,58 +10306,39 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingCreateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingCreateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ public boolean hasPostingCreateTime() { return postingCreateTimeBuilder_ != null || postingCreateTime_ != null; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ public com.google.protobuf.Timestamp getPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } else { return postingCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { @@ -11483,17 +10354,14 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (postingCreateTimeBuilder_ == null) { postingCreateTime_ = builderForValue.build(); onChanged(); @@ -11504,23 +10372,17 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { if (postingCreateTime_ != null) { postingCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingCreateTime_).mergeFrom(value).buildPartial(); } else { postingCreateTime_ = value; } @@ -11532,15 +10394,11 @@ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { @@ -11554,64 +10412,48 @@ public Builder clearPostingCreateTime() { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() { - + onChanged(); return getPostingCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { if (postingCreateTimeBuilder_ != null) { return postingCreateTimeBuilder_.getMessageOrBuilder(); } else { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPostingCreateTimeFieldBuilder() { if (postingCreateTimeBuilder_ == null) { - postingCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPostingCreateTime(), getParentForChildren(), isClean()); + postingCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPostingCreateTime(), + getParentForChildren(), + isClean()); postingCreateTime_ = null; } return postingCreateTimeBuilder_; @@ -11619,58 +10461,39 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - postingUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingUpdateTimeBuilder_; /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ public boolean hasPostingUpdateTime() { return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ public com.google.protobuf.Timestamp getPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } else { return postingUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { @@ -11686,17 +10509,14 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (postingUpdateTimeBuilder_ == null) { postingUpdateTime_ = builderForValue.build(); onChanged(); @@ -11707,23 +10527,17 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { if (postingUpdateTime_ != null) { postingUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_).mergeFrom(value).buildPartial(); } else { postingUpdateTime_ = value; } @@ -11735,15 +10549,11 @@ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { @@ -11757,64 +10567,48 @@ public Builder clearPostingUpdateTime() { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() { - + onChanged(); return getPostingUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { if (postingUpdateTimeBuilder_ != null) { return postingUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPostingUpdateTimeFieldBuilder() { if (postingUpdateTimeBuilder_ == null) { - postingUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPostingUpdateTime(), getParentForChildren(), isClean()); + postingUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPostingUpdateTime(), + getParentForChildren(), + isClean()); postingUpdateTime_ = null; } return postingUpdateTimeBuilder_; @@ -11822,20 +10616,18 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { private java.lang.Object companyDisplayName_ = ""; /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ public java.lang.String getCompanyDisplayName() { java.lang.Object ref = companyDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; @@ -11844,21 +10636,20 @@ public java.lang.String getCompanyDisplayName() { } } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ - public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString + getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -11866,61 +10657,54 @@ public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { } } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayName(java.lang.String value) { + public Builder setCompanyDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + companyDisplayName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCompanyDisplayName() { - + companyDisplayName_ = getDefaultInstance().getCompanyDisplayName(); onChanged(); return this; } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + companyDisplayName_ = value; onChanged(); return this; @@ -11928,58 +10712,39 @@ public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) private com.google.cloud.talent.v4.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> - derivedInfoBuilder_; + com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> derivedInfoBuilder_; /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ public com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -11995,15 +10760,11 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo( com.google.cloud.talent.v4.Job.DerivedInfo.Builder builderForValue) { @@ -12017,23 +10778,17 @@ public Builder setDerivedInfo( return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder(derivedInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); } else { derivedInfo_ = value; } @@ -12045,15 +10800,11 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -12067,64 +10818,48 @@ public Builder clearDerivedInfo() { return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4.Job.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? + com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> + com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder>( - getDerivedInfo(), getParentForChildren(), isClean()); + derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder>( + getDerivedInfo(), + getParentForChildren(), + isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; @@ -12132,47 +10867,34 @@ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuild private com.google.cloud.talent.v4.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> - processingOptionsBuilder_; + com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> processingOptionsBuilder_; /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ public boolean hasProcessingOptions() { return processingOptionsBuilder_ != null || processingOptions_ != null; } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ public com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions() { if (processingOptionsBuilder_ == null) { - return processingOptions_ == null - ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } else { return processingOptionsBuilder_.getMessage(); } } /** - * - * *
      * Options for job processing.
      * 
@@ -12193,8 +10915,6 @@ public Builder setProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingOpt return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12213,8 +10933,6 @@ public Builder setProcessingOptions( return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12225,9 +10943,7 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingO if (processingOptionsBuilder_ == null) { if (processingOptions_ != null) { processingOptions_ = - com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder(processingOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder(processingOptions_).mergeFrom(value).buildPartial(); } else { processingOptions_ = value; } @@ -12239,8 +10955,6 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingO return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12259,8 +10973,6 @@ public Builder clearProcessingOptions() { return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12268,32 +10980,26 @@ public Builder clearProcessingOptions() { * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ public com.google.cloud.talent.v4.Job.ProcessingOptions.Builder getProcessingOptionsBuilder() { - + onChanged(); return getProcessingOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder - getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { if (processingOptionsBuilder_ != null) { return processingOptionsBuilder_.getMessageOrBuilder(); } else { - return processingOptions_ == null - ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? + com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } } /** - * - * *
      * Options for job processing.
      * 
@@ -12301,24 +11007,21 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions.Builder getProcessingOpt * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> + com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> getProcessingOptionsFieldBuilder() { if (processingOptionsBuilder_ == null) { - processingOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder>( - getProcessingOptions(), getParentForChildren(), isClean()); + processingOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder>( + getProcessingOptions(), + getParentForChildren(), + isClean()); processingOptions_ = null; } return processingOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12328,12 +11031,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job) private static final com.google.cloud.talent.v4.Job DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job(); } @@ -12342,27 +11045,27 @@ public static com.google.cloud.talent.v4.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12377,4 +11080,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java index 978b62be2040..136a72f1e2fb 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * An enum that represents employee benefits included with the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.JobBenefit} */ -public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { +public enum JobBenefit + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if the type isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ JOB_BENEFIT_UNSPECIFIED(0), /** - * - * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -50,8 +30,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   CHILD_CARE(1),
   /**
-   *
-   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -61,8 +39,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   DENTAL(2),
   /**
-   *
-   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -71,8 +47,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ DOMESTIC_PARTNER(3), /** - * - * *
    * The job allows for a flexible work schedule.
    * 
@@ -81,8 +55,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ FLEXIBLE_HOURS(4), /** - * - * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -91,8 +63,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ MEDICAL(5), /** - * - * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -102,8 +72,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   LIFE_INSURANCE(6),
   /**
-   *
-   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -113,8 +81,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   PARENTAL_LEAVE(7),
   /**
-   *
-   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -124,8 +90,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   RETIREMENT_PLAN(8),
   /**
-   *
-   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -134,8 +98,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ SICK_DAYS(9), /** - * - * *
    * The job includes paid time off for vacation.
    * 
@@ -144,8 +106,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ VACATION(10), /** - * - * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -158,8 +118,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value if the type isn't specified.
    * 
@@ -168,8 +126,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_BENEFIT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -179,8 +135,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CHILD_CARE_VALUE = 1;
   /**
-   *
-   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -190,8 +144,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DENTAL_VALUE = 2;
   /**
-   *
-   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -200,8 +152,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOMESTIC_PARTNER_VALUE = 3; /** - * - * *
    * The job allows for a flexible work schedule.
    * 
@@ -210,8 +160,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLEXIBLE_HOURS_VALUE = 4; /** - * - * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -220,8 +168,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDICAL_VALUE = 5; /** - * - * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -231,8 +177,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LIFE_INSURANCE_VALUE = 6;
   /**
-   *
-   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -242,8 +186,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PARENTAL_LEAVE_VALUE = 7;
   /**
-   *
-   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -253,8 +195,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int RETIREMENT_PLAN_VALUE = 8;
   /**
-   *
-   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -263,8 +203,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SICK_DAYS_VALUE = 9; /** - * - * *
    * The job includes paid time off for vacation.
    * 
@@ -273,8 +211,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VACATION_VALUE = 10; /** - * - * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -284,6 +220,7 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VISION_VALUE = 11;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -308,67 +245,58 @@ public static JobBenefit valueOf(int value) {
    */
   public static JobBenefit forNumber(int value) {
     switch (value) {
-      case 0:
-        return JOB_BENEFIT_UNSPECIFIED;
-      case 1:
-        return CHILD_CARE;
-      case 2:
-        return DENTAL;
-      case 3:
-        return DOMESTIC_PARTNER;
-      case 4:
-        return FLEXIBLE_HOURS;
-      case 5:
-        return MEDICAL;
-      case 6:
-        return LIFE_INSURANCE;
-      case 7:
-        return PARENTAL_LEAVE;
-      case 8:
-        return RETIREMENT_PLAN;
-      case 9:
-        return SICK_DAYS;
-      case 10:
-        return VACATION;
-      case 11:
-        return VISION;
-      default:
-        return null;
+      case 0: return JOB_BENEFIT_UNSPECIFIED;
+      case 1: return CHILD_CARE;
+      case 2: return DENTAL;
+      case 3: return DOMESTIC_PARTNER;
+      case 4: return FLEXIBLE_HOURS;
+      case 5: return MEDICAL;
+      case 6: return LIFE_INSURANCE;
+      case 7: return PARENTAL_LEAVE;
+      case 8: return RETIREMENT_PLAN;
+      case 9: return SICK_DAYS;
+      case 10: return VACATION;
+      case 11: return VISION;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      JobBenefit> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public JobBenefit findValueByNumber(int number) {
+            return JobBenefit.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public JobBenefit findValueByNumber(int number) {
-          return JobBenefit.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final JobBenefit[] VALUES = values();
 
-  public static JobBenefit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static JobBenefit valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -384,3 +312,4 @@ private JobBenefit(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobBenefit)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
similarity index 79%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
index 3b98d7ec1866..82dcd4aecdd6 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * An enum that represents the categorization or primary focus of specific
  * role. This value is different than the "industry" associated with a role,
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.JobCategory}
  */
-public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobCategory
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default value if the category isn't specified.
    * 
@@ -41,8 +23,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ JOB_CATEGORY_UNSPECIFIED(0), /** - * - * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -51,8 +31,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ACCOUNTING_AND_FINANCE(1), /** - * - * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -61,8 +39,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ADMINISTRATIVE_AND_OFFICE(2), /** - * - * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -71,8 +47,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ADVERTISING_AND_MARKETING(3), /** - * - * *
    * An animal care job, such as Veterinarian.
    * 
@@ -81,8 +55,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ANIMAL_CARE(4), /** - * - * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -91,8 +63,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ART_FASHION_AND_DESIGN(5), /** - * - * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -101,8 +71,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ BUSINESS_OPERATIONS(6), /** - * - * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -111,8 +79,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CLEANING_AND_FACILITIES(7), /** - * - * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -121,8 +87,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ COMPUTER_AND_IT(8), /** - * - * *
    * A construction job, such as General Laborer.
    * 
@@ -131,8 +95,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CONSTRUCTION(9), /** - * - * *
    * A customer service job, such s Cashier.
    * 
@@ -141,8 +103,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CUSTOMER_SERVICE(10), /** - * - * *
    * An education job, such as School Teacher.
    * 
@@ -151,8 +111,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ EDUCATION(11), /** - * - * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -161,8 +119,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ENTERTAINMENT_AND_TRAVEL(12), /** - * - * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -171,8 +127,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ FARMING_AND_OUTDOORS(13), /** - * - * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -181,8 +135,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ HEALTHCARE(14), /** - * - * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -191,8 +143,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ HUMAN_RESOURCES(15), /** - * - * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -201,8 +151,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLATION_MAINTENANCE_AND_REPAIR(16), /** - * - * *
    * A legal job, such as Law Clerk.
    * 
@@ -211,8 +159,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ LEGAL(17), /** - * - * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -222,8 +168,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
    */
   MANAGEMENT(18),
   /**
-   *
-   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -232,8 +176,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ MANUFACTURING_AND_WAREHOUSE(19), /** - * - * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -242,8 +184,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ MEDIA_COMMUNICATIONS_AND_WRITING(20), /** - * - * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -252,8 +192,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ OIL_GAS_AND_MINING(21), /** - * - * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -262,8 +200,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ PERSONAL_CARE_AND_SERVICES(22), /** - * - * *
    * A protective services job, such as Security Guard.
    * 
@@ -272,8 +208,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ PROTECTIVE_SERVICES(23), /** - * - * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -282,8 +216,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ REAL_ESTATE(24), /** - * - * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -292,8 +224,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ RESTAURANT_AND_HOSPITALITY(25), /** - * - * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -302,8 +232,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SALES_AND_RETAIL(26), /** - * - * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -312,8 +240,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SCIENCE_AND_ENGINEERING(27), /** - * - * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -322,8 +248,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SOCIAL_SERVICES_AND_NON_PROFIT(28), /** - * - * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -332,8 +256,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SPORTS_FITNESS_AND_RECREATION(29), /** - * - * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -345,8 +267,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the category isn't specified.
    * 
@@ -355,8 +275,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -365,8 +283,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; /** - * - * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -375,8 +291,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; /** - * - * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -385,8 +299,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADVERTISING_AND_MARKETING_VALUE = 3; /** - * - * *
    * An animal care job, such as Veterinarian.
    * 
@@ -395,8 +307,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANIMAL_CARE_VALUE = 4; /** - * - * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -405,8 +315,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ART_FASHION_AND_DESIGN_VALUE = 5; /** - * - * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -415,8 +323,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUSINESS_OPERATIONS_VALUE = 6; /** - * - * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -425,8 +331,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLEANING_AND_FACILITIES_VALUE = 7; /** - * - * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -435,8 +339,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPUTER_AND_IT_VALUE = 8; /** - * - * *
    * A construction job, such as General Laborer.
    * 
@@ -445,8 +347,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONSTRUCTION_VALUE = 9; /** - * - * *
    * A customer service job, such s Cashier.
    * 
@@ -455,8 +355,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CUSTOMER_SERVICE_VALUE = 10; /** - * - * *
    * An education job, such as School Teacher.
    * 
@@ -465,8 +363,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EDUCATION_VALUE = 11; /** - * - * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -475,8 +371,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; /** - * - * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -485,8 +379,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FARMING_AND_OUTDOORS_VALUE = 13; /** - * - * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -495,8 +387,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEALTHCARE_VALUE = 14; /** - * - * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -505,8 +395,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HUMAN_RESOURCES_VALUE = 15; /** - * - * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -515,8 +403,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; /** - * - * *
    * A legal job, such as Law Clerk.
    * 
@@ -525,8 +411,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LEGAL_VALUE = 17; /** - * - * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -536,8 +420,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MANAGEMENT_VALUE = 18;
   /**
-   *
-   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -546,8 +428,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; /** - * - * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -556,8 +436,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; /** - * - * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -566,8 +444,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OIL_GAS_AND_MINING_VALUE = 21; /** - * - * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -576,8 +452,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; /** - * - * *
    * A protective services job, such as Security Guard.
    * 
@@ -586,8 +460,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROTECTIVE_SERVICES_VALUE = 23; /** - * - * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -596,8 +468,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REAL_ESTATE_VALUE = 24; /** - * - * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -606,8 +476,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; /** - * - * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -616,8 +484,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SALES_AND_RETAIL_VALUE = 26; /** - * - * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -626,8 +492,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; /** - * - * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -636,8 +500,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; /** - * - * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -646,8 +508,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; /** - * - * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -656,6 +516,7 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -680,105 +541,77 @@ public static JobCategory valueOf(int value) { */ public static JobCategory forNumber(int value) { switch (value) { - case 0: - return JOB_CATEGORY_UNSPECIFIED; - case 1: - return ACCOUNTING_AND_FINANCE; - case 2: - return ADMINISTRATIVE_AND_OFFICE; - case 3: - return ADVERTISING_AND_MARKETING; - case 4: - return ANIMAL_CARE; - case 5: - return ART_FASHION_AND_DESIGN; - case 6: - return BUSINESS_OPERATIONS; - case 7: - return CLEANING_AND_FACILITIES; - case 8: - return COMPUTER_AND_IT; - case 9: - return CONSTRUCTION; - case 10: - return CUSTOMER_SERVICE; - case 11: - return EDUCATION; - case 12: - return ENTERTAINMENT_AND_TRAVEL; - case 13: - return FARMING_AND_OUTDOORS; - case 14: - return HEALTHCARE; - case 15: - return HUMAN_RESOURCES; - case 16: - return INSTALLATION_MAINTENANCE_AND_REPAIR; - case 17: - return LEGAL; - case 18: - return MANAGEMENT; - case 19: - return MANUFACTURING_AND_WAREHOUSE; - case 20: - return MEDIA_COMMUNICATIONS_AND_WRITING; - case 21: - return OIL_GAS_AND_MINING; - case 22: - return PERSONAL_CARE_AND_SERVICES; - case 23: - return PROTECTIVE_SERVICES; - case 24: - return REAL_ESTATE; - case 25: - return RESTAURANT_AND_HOSPITALITY; - case 26: - return SALES_AND_RETAIL; - case 27: - return SCIENCE_AND_ENGINEERING; - case 28: - return SOCIAL_SERVICES_AND_NON_PROFIT; - case 29: - return SPORTS_FITNESS_AND_RECREATION; - case 30: - return TRANSPORTATION_AND_LOGISTICS; - default: - return null; + case 0: return JOB_CATEGORY_UNSPECIFIED; + case 1: return ACCOUNTING_AND_FINANCE; + case 2: return ADMINISTRATIVE_AND_OFFICE; + case 3: return ADVERTISING_AND_MARKETING; + case 4: return ANIMAL_CARE; + case 5: return ART_FASHION_AND_DESIGN; + case 6: return BUSINESS_OPERATIONS; + case 7: return CLEANING_AND_FACILITIES; + case 8: return COMPUTER_AND_IT; + case 9: return CONSTRUCTION; + case 10: return CUSTOMER_SERVICE; + case 11: return EDUCATION; + case 12: return ENTERTAINMENT_AND_TRAVEL; + case 13: return FARMING_AND_OUTDOORS; + case 14: return HEALTHCARE; + case 15: return HUMAN_RESOURCES; + case 16: return INSTALLATION_MAINTENANCE_AND_REPAIR; + case 17: return LEGAL; + case 18: return MANAGEMENT; + case 19: return MANUFACTURING_AND_WAREHOUSE; + case 20: return MEDIA_COMMUNICATIONS_AND_WRITING; + case 21: return OIL_GAS_AND_MINING; + case 22: return PERSONAL_CARE_AND_SERVICES; + case 23: return PROTECTIVE_SERVICES; + case 24: return REAL_ESTATE; + case 25: return RESTAURANT_AND_HOSPITALITY; + case 26: return SALES_AND_RETAIL; + case 27: return SCIENCE_AND_ENGINEERING; + case 28: return SOCIAL_SERVICES_AND_NON_PROFIT; + case 29: return SPORTS_FITNESS_AND_RECREATION; + case 30: return TRANSPORTATION_AND_LOGISTICS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + JobCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobCategory findValueByNumber(int number) { + return JobCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobCategory findValueByNumber(int number) { - return JobCategory.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(5); } private static final JobCategory[] VALUES = values(); - public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobCategory valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -794,3 +627,4 @@ private JobCategory(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobCategory) } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java similarity index 77% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java index b55b1a8184da..edfb7bedebe6 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; /** - * - * *
  * An event issued when a job seeker interacts with the application that
  * implements Cloud Talent Solution.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.JobEvent}
  */
-public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class JobEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobEvent)
     JobEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private JobEvent() {
     type_ = 0;
     jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -45,33 +27,30 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.EventProto
-        .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.EventProto
-        .internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.JobEvent.class,
-            com.google.cloud.talent.v4.JobEvent.Builder.class);
+            com.google.cloud.talent.v4.JobEvent.class, com.google.cloud.talent.v4.JobEvent.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enumeration of an event attributed to the behavior of the end user,
    * such as a job seeker.
@@ -79,10 +58,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4.JobEvent.JobEventType}
    */
-  public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum JobEventType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -91,8 +69,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum { */ JOB_EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -104,8 +80,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     IMPRESSION(1),
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -118,8 +92,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     VIEW(2),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -130,8 +102,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     VIEW_REDIRECT(3),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -141,8 +111,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_START(4),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -152,8 +120,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_FINISH(5),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -167,8 +133,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_QUICK_SUBMISSION(6),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -179,8 +143,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_REDIRECT(7),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -192,8 +154,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_START_FROM_SEARCH(8),
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -208,8 +168,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_REDIRECT_FROM_SEARCH(9),
     /**
-     *
-     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -220,8 +178,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_COMPANY_SUBMIT(10),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -231,8 +187,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOKMARK(11),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -243,8 +197,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NOTIFICATION(12),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -257,8 +209,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     HIRED(13),
     /**
-     *
-     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -269,8 +219,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SENT_CV(14),
     /**
-     *
-     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -286,8 +234,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -296,8 +242,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -309,8 +253,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IMPRESSION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -323,8 +265,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEW_VALUE = 2;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -335,8 +275,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEW_REDIRECT_VALUE = 3;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -346,8 +284,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_START_VALUE = 4;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -357,8 +293,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_FINISH_VALUE = 5;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -372,8 +306,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_QUICK_SUBMISSION_VALUE = 6;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -384,8 +316,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_REDIRECT_VALUE = 7;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -397,8 +327,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_START_FROM_SEARCH_VALUE = 8;
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -413,8 +341,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_REDIRECT_FROM_SEARCH_VALUE = 9;
     /**
-     *
-     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -425,8 +351,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_COMPANY_SUBMIT_VALUE = 10;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -436,8 +360,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOKMARK_VALUE = 11;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -448,8 +370,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NOTIFICATION_VALUE = 12;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -462,8 +382,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HIRED_VALUE = 13;
     /**
-     *
-     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -474,8 +392,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SENT_CV_VALUE = 14;
     /**
-     *
-     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -488,6 +404,7 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INTERVIEW_GRANTED_VALUE = 15;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -512,75 +429,62 @@ public static JobEventType valueOf(int value) {
      */
     public static JobEventType forNumber(int value) {
       switch (value) {
-        case 0:
-          return JOB_EVENT_TYPE_UNSPECIFIED;
-        case 1:
-          return IMPRESSION;
-        case 2:
-          return VIEW;
-        case 3:
-          return VIEW_REDIRECT;
-        case 4:
-          return APPLICATION_START;
-        case 5:
-          return APPLICATION_FINISH;
-        case 6:
-          return APPLICATION_QUICK_SUBMISSION;
-        case 7:
-          return APPLICATION_REDIRECT;
-        case 8:
-          return APPLICATION_START_FROM_SEARCH;
-        case 9:
-          return APPLICATION_REDIRECT_FROM_SEARCH;
-        case 10:
-          return APPLICATION_COMPANY_SUBMIT;
-        case 11:
-          return BOOKMARK;
-        case 12:
-          return NOTIFICATION;
-        case 13:
-          return HIRED;
-        case 14:
-          return SENT_CV;
-        case 15:
-          return INTERVIEW_GRANTED;
-        default:
-          return null;
+        case 0: return JOB_EVENT_TYPE_UNSPECIFIED;
+        case 1: return IMPRESSION;
+        case 2: return VIEW;
+        case 3: return VIEW_REDIRECT;
+        case 4: return APPLICATION_START;
+        case 5: return APPLICATION_FINISH;
+        case 6: return APPLICATION_QUICK_SUBMISSION;
+        case 7: return APPLICATION_REDIRECT;
+        case 8: return APPLICATION_START_FROM_SEARCH;
+        case 9: return APPLICATION_REDIRECT_FROM_SEARCH;
+        case 10: return APPLICATION_COMPANY_SUBMIT;
+        case 11: return BOOKMARK;
+        case 12: return NOTIFICATION;
+        case 13: return HIRED;
+        case 14: return SENT_CV;
+        case 15: return INTERVIEW_GRANTED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobEventType findValueByNumber(int number) {
-            return JobEventType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        JobEventType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public JobEventType findValueByNumber(int number) {
+              return JobEventType.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.JobEvent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobEventType[] VALUES = values();
 
-    public static JobEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobEventType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -600,48 +504,33 @@ private JobEventType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { + @java.lang.Override public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobEvent.JobEventType result = - com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); + com.google.cloud.talent.v4.JobEvent.JobEventType result = com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); return result == null ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED : result; } public static final int JOBS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList jobs_; /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -654,15 +543,13 @@ public com.google.cloud.talent.v4.JobEvent.JobEventType getType() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList getJobsList() { + public com.google.protobuf.ProtocolStringList + getJobsList() { return jobs_; } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -675,15 +562,12 @@ public com.google.protobuf.ProtocolStringList getJobsList() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -696,7 +580,6 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -704,8 +587,6 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -718,16 +599,15 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString getJobsBytes(int index) { + public com.google.protobuf.ByteString + getJobsBytes(int index) { return jobs_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -739,10 +619,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < jobs_.size(); i++) { @@ -757,10 +636,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; @@ -778,7 +656,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.JobEvent)) { return super.equals(obj); @@ -786,7 +664,8 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4.JobEvent other = (com.google.cloud.talent.v4.JobEvent) obj; if (type_ != other.type_) return false; - if (!getJobsList().equals(other.getJobsList())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -809,103 +688,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.JobEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.JobEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.JobEvent parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.JobEvent parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -913,32 +786,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.JobEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobEvent)
       com.google.cloud.talent.v4.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.JobEvent.class,
-              com.google.cloud.talent.v4.JobEvent.Builder.class);
+              com.google.cloud.talent.v4.JobEvent.class, com.google.cloud.talent.v4.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.JobEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -950,9 +824,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -987,39 +861,38 @@ public com.google.cloud.talent.v4.JobEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.JobEvent) {
-        return mergeFrom((com.google.cloud.talent.v4.JobEvent) other);
+        return mergeFrom((com.google.cloud.talent.v4.JobEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1067,26 +940,23 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                type_ = input.readEnum();
+            case 8: {
+              type_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureJobsIsMutable();
-                jobs_.add(s);
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 8
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureJobsIsMutable();
+              jobs_.add(s);
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1096,80 +966,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobEvent.JobEventType result = - com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.JobEvent.JobEventType result = com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1177,43 +1022,34 @@ public Builder setType(com.google.cloud.talent.v4.JobEvent.JobEventType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList jobs_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1226,15 +1062,13 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList getJobsList() { + public com.google.protobuf.ProtocolStringList + getJobsList() { return jobs_.getUnmodifiableView(); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1247,15 +1081,12 @@ public com.google.protobuf.ProtocolStringList getJobsList() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1268,7 +1099,6 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1276,8 +1106,6 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1290,16 +1118,14 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString getJobsBytes(int index) { + public com.google.protobuf.ByteString + getJobsBytes(int index) { return jobs_.getByteString(index); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1312,23 +1138,21 @@ public com.google.protobuf.ByteString getJobsBytes(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs(int index, java.lang.String value) { + public Builder setJobs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1341,22 +1165,20 @@ public Builder setJobs(int index, java.lang.String value) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs(java.lang.String value) { + public Builder addJobs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1369,19 +1191,18 @@ public Builder addJobs(java.lang.String value) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs(java.lang.Iterable values) { + public Builder addAllJobs( + java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1394,7 +1215,6 @@ public Builder addAllJobs(java.lang.Iterable values) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobs() { @@ -1404,8 +1224,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1418,23 +1236,23 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes(com.google.protobuf.ByteString value) { + public Builder addJobsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1444,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobEvent) private static final com.google.cloud.talent.v4.JobEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobEvent(); } @@ -1458,27 +1276,27 @@ public static com.google.cloud.talent.v4.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1493,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java similarity index 77% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java index 196ebba3f127..8c454dd1f38a 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java @@ -1,60 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; -public interface JobEventOrBuilder - extends +public interface JobEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.talent.v4.JobEvent.JobEventType getType(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -67,13 +39,11 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -86,13 +56,10 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ int getJobsCount(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -105,14 +72,11 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -125,9 +89,9 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString getJobsBytes(int index); + com.google.protobuf.ByteString + getJobsBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java index 9066fa3f907d..439d740ffe50 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * An enum that represents the required experience level required for the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.JobLevel} */ -public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { +public enum JobLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value if the level isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ JOB_LEVEL_UNSPECIFIED(0), /** - * - * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -50,8 +30,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   ENTRY_LEVEL(1),
   /**
-   *
-   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -61,8 +39,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   EXPERIENCED(2),
   /**
-   *
-   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -71,8 +47,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ MANAGER(3), /** - * - * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -81,8 +55,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ DIRECTOR(4), /** - * - * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -94,8 +66,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the level isn't specified.
    * 
@@ -104,8 +74,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -115,8 +83,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ENTRY_LEVEL_VALUE = 1;
   /**
-   *
-   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -126,8 +92,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int EXPERIENCED_VALUE = 2;
   /**
-   *
-   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -136,8 +100,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGER_VALUE = 3; /** - * - * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -146,8 +108,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECTOR_VALUE = 4; /** - * - * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -156,6 +116,7 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXECUTIVE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -180,55 +141,52 @@ public static JobLevel valueOf(int value) { */ public static JobLevel forNumber(int value) { switch (value) { - case 0: - return JOB_LEVEL_UNSPECIFIED; - case 1: - return ENTRY_LEVEL; - case 2: - return EXPERIENCED; - case 3: - return MANAGER; - case 4: - return DIRECTOR; - case 5: - return EXECUTIVE; - default: - return null; + case 0: return JOB_LEVEL_UNSPECIFIED; + case 1: return ENTRY_LEVEL; + case 2: return EXPERIENCED; + case 3: return MANAGER; + case 4: return DIRECTOR; + case 5: return EXECUTIVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobLevel findValueByNumber(int number) { - return JobLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + JobLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobLevel findValueByNumber(int number) { + return JobLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(4); } private static final JobLevel[] VALUES = values(); - public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobLevel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -244,3 +202,4 @@ private JobLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobLevel) } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java similarity index 90% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java index f590a4294dc7..881661c716ef 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job.proto package com.google.cloud.talent.v4; -public interface JobOrBuilder - extends +public interface JobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -38,13 +20,10 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -57,14 +36,12 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -72,16 +49,11 @@ public interface JobOrBuilder
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ java.lang.String getCompany(); /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -89,17 +61,13 @@ public interface JobOrBuilder
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ - com.google.protobuf.ByteString getCompanyBytes(); + com.google.protobuf.ByteString + getCompanyBytes(); /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -110,13 +78,10 @@ public interface JobOrBuilder
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ java.lang.String getRequisitionId(); /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -127,41 +92,34 @@ public interface JobOrBuilder
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ - com.google.protobuf.ByteString getRequisitionIdBytes(); + com.google.protobuf.ByteString + getRequisitionIdBytes(); /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -174,13 +132,10 @@ public interface JobOrBuilder
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -193,14 +148,12 @@ public interface JobOrBuilder
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -226,13 +179,11 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - java.util.List getAddressesList(); + java.util.List + getAddressesList(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -258,13 +209,10 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ int getAddressesCount(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -290,14 +238,11 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ java.lang.String getAddresses(int index); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -323,39 +268,31 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - com.google.protobuf.ByteString getAddressesBytes(int index); + com.google.protobuf.ByteString + getAddressesBytes(int index); /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ boolean hasApplicationInfo(); /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo(); /** - * - * *
    * Job application information.
    * 
@@ -365,97 +302,75 @@ public interface JobOrBuilder com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ java.util.List getJobBenefitsList(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ int getJobBenefitsCount(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - java.util.List getJobBenefitsValueList(); + java.util.List + getJobBenefitsValueList(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ int getJobBenefitsValue(int index); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ boolean hasCompensationInfo(); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ com.google.cloud.talent.v4.CompensationInfo getCompensationInfo(); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -466,8 +381,6 @@ public interface JobOrBuilder
   com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -485,8 +398,6 @@ public interface JobOrBuilder
    */
   int getCustomAttributesCount();
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -502,13 +413,15 @@ public interface JobOrBuilder
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-  boolean containsCustomAttributes(java.lang.String key);
-  /** Use {@link #getCustomAttributesMap()} instead. */
+  boolean containsCustomAttributes(
+      java.lang.String key);
+  /**
+   * Use {@link #getCustomAttributesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getCustomAttributes();
+  java.util.Map
+  getCustomAttributes();
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -525,10 +438,8 @@ public interface JobOrBuilder
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   java.util.Map
-      getCustomAttributesMap();
+  getCustomAttributesMap();
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -546,13 +457,11 @@ public interface JobOrBuilder
    */
 
   /* nullable */
-  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
+com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.cloud.talent.v4.CustomAttribute defaultValue);
+com.google.cloud.talent.v4.CustomAttribute defaultValue);
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -568,74 +477,60 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(java.lang.String key);
+
+  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ java.util.List getDegreeTypesList(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ int getDegreeTypesCount(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - java.util.List getDegreeTypesValueList(); + java.util.List + getDegreeTypesValueList(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ int getDegreeTypesValue(int index); /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -643,13 +538,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string department = 12; - * * @return The department. */ java.lang.String getDepartment(); /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -657,14 +549,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string department = 12; - * * @return The bytes for department. */ - com.google.protobuf.ByteString getDepartmentBytes(); + com.google.protobuf.ByteString + getDepartmentBytes(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -672,13 +562,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -686,13 +573,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -700,14 +584,11 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -715,13 +596,11 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List getEmploymentTypesValueList(); + java.util.List + getEmploymentTypesValueList(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -729,15 +608,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -745,13 +621,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string incentives = 14; - * * @return The incentives. */ java.lang.String getIncentives(); /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -759,14 +632,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string incentives = 14; - * * @return The bytes for incentives. */ - com.google.protobuf.ByteString getIncentivesBytes(); + com.google.protobuf.ByteString + getIncentivesBytes(); /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -780,13 +651,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string language_code = 15; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -800,39 +668,31 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ int getJobLevelValue(); /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The jobLevel. */ com.google.cloud.talent.v4.JobLevel getJobLevel(); /** - * - * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -843,14 +703,11 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ int getPromotionValue(); /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -861,13 +718,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string qualifications = 18; - * * @return The qualifications. */ java.lang.String getQualifications(); /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -878,14 +732,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ - com.google.protobuf.ByteString getQualificationsBytes(); + com.google.protobuf.ByteString + getQualificationsBytes(); /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -896,13 +748,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string responsibilities = 19; - * * @return The responsibilities. */ java.lang.String getResponsibilities(); /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -913,14 +762,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ - com.google.protobuf.ByteString getResponsibilitiesBytes(); + com.google.protobuf.ByteString + getResponsibilitiesBytes(); /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -932,13 +779,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ int getPostingRegionValue(); /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -950,14 +794,11 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The postingRegion. */ com.google.cloud.talent.v4.PostingRegion getPostingRegion(); /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -965,16 +806,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Deprecated - int getVisibilityValue(); + @java.lang.Deprecated int getVisibilityValue(); /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -982,43 +819,33 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ - @java.lang.Deprecated - com.google.cloud.talent.v4.Visibility getVisibility(); + @java.lang.Deprecated com.google.cloud.talent.v4.Visibility getVisibility(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ boolean hasJobStartTime(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ com.google.protobuf.Timestamp getJobStartTime(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -1029,34 +856,26 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ boolean hasJobEndTime(); /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ com.google.protobuf.Timestamp getJobEndTime(); /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -1067,8 +886,6 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1076,13 +893,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ boolean hasPostingPublishTime(); /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1090,13 +904,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ com.google.protobuf.Timestamp getPostingPublishTime(); /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1108,8 +919,6 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1149,13 +958,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ boolean hasPostingExpireTime(); /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1195,13 +1001,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ com.google.protobuf.Timestamp getPostingExpireTime(); /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1245,180 +1048,125 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ boolean hasPostingCreateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ com.google.protobuf.Timestamp getPostingCreateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ boolean hasPostingUpdateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ com.google.protobuf.Timestamp getPostingUpdateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ java.lang.String getCompanyDisplayName(); /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ - com.google.protobuf.ByteString getCompanyDisplayNameBytes(); + com.google.protobuf.ByteString + getCompanyDisplayNameBytes(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ boolean hasProcessingOptions(); /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions(); /** - * - * *
    * Options for job processing.
    * 
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java new file mode 100644 index 000000000000..2f1e1e6ccd25 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java @@ -0,0 +1,160 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job.proto + +package com.google.cloud.talent.v4; + +public final class JobProto { + private JobProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n google/cloud/talent/v4/job.proto\022\026goog" + + "le.cloud.talent.v4\032\037google/api/field_beh" + + "avior.proto\032\031google/api/resource.proto\032#" + + "google/cloud/talent/v4/common.proto\032\037goo" + + "gle/protobuf/timestamp.proto\"\365\016\n\003Job\022\014\n\004" + + "name\030\001 \001(\t\0224\n\007company\030\002 \001(\tB#\340A\002\372A\035\n\033job" + + "s.googleapis.com/Company\022\033\n\016requisition_" + + "id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 \001(\tB\003\340A\002\022\030\n\013des" + + "cription\030\005 \001(\tB\003\340A\002\022\021\n\taddresses\030\006 \003(\t\022E" + + "\n\020application_info\030\007 \001(\0132+.google.cloud." + + "talent.v4.Job.ApplicationInfo\0228\n\014job_ben" + + "efits\030\010 \003(\0162\".google.cloud.talent.v4.Job" + + "Benefit\022C\n\021compensation_info\030\t \001(\0132(.goo" + + "gle.cloud.talent.v4.CompensationInfo\022L\n\021" + + "custom_attributes\030\n \003(\01321.google.cloud.t" + + "alent.v4.Job.CustomAttributesEntry\0228\n\014de" + + "gree_types\030\013 \003(\0162\".google.cloud.talent.v" + + "4.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022@\n\020empl" + + "oyment_types\030\r \003(\0162&.google.cloud.talent" + + ".v4.EmploymentType\022\022\n\nincentives\030\016 \001(\t\022\025" + + "\n\rlanguage_code\030\017 \001(\t\0223\n\tjob_level\030\020 \001(\016" + + "2 .google.cloud.talent.v4.JobLevel\022\027\n\017pr" + + "omotion_value\030\021 \001(\005\022\026\n\016qualifications\030\022 " + + "\001(\t\022\030\n\020responsibilities\030\023 \001(\t\022=\n\016posting" + + "_region\030\024 \001(\0162%.google.cloud.talent.v4.P" + + "ostingRegion\022:\n\nvisibility\030\025 \001(\0162\".googl" + + "e.cloud.talent.v4.VisibilityB\002\030\001\0222\n\016job_" + + "start_time\030\026 \001(\0132\032.google.protobuf.Times" + + "tamp\0220\n\014job_end_time\030\027 \001(\0132\032.google.prot" + + "obuf.Timestamp\0228\n\024posting_publish_time\030\030" + + " \001(\0132\032.google.protobuf.Timestamp\0227\n\023post" + + "ing_expire_time\030\031 \001(\0132\032.google.protobuf." + + "Timestamp\022<\n\023posting_create_time\030\032 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\022<\n\023posti" + + "ng_update_time\030\033 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022!\n\024company_display_name\030\034 " + + "\001(\tB\003\340A\003\022B\n\014derived_info\030\035 \001(\0132\'.google." + + "cloud.talent.v4.Job.DerivedInfoB\003\340A\003\022I\n\022" + + "processing_options\030\036 \001(\0132-.google.cloud." + + "talent.v4.Job.ProcessingOptions\032D\n\017Appli" + + "cationInfo\022\016\n\006emails\030\001 \003(\t\022\023\n\013instructio" + + "n\030\002 \001(\t\022\014\n\004uris\030\003 \003(\t\032\177\n\013DerivedInfo\0223\n\t" + + "locations\030\001 \003(\0132 .google.cloud.talent.v4" + + ".Location\022;\n\016job_categories\030\003 \003(\0162#.goog" + + "le.cloud.talent.v4.JobCategory\032\203\001\n\021Proce" + + "ssingOptions\022)\n!disable_street_address_r" + + "esolution\030\001 \001(\010\022C\n\021html_sanitization\030\002 \001" + + "(\0162(.google.cloud.talent.v4.HtmlSanitiza" + + "tion\032`\n\025CustomAttributesEntry\022\013\n\003key\030\001 \001" + + "(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud.talent." + + "v4.CustomAttribute:\0028\001:L\352AI\n\027jobs.google" + + "apis.com/Job\022.projects/{project}/tenants" + + "/{tenant}/jobs/{job}Bl\n\032com.google.cloud" + + ".talent.v4B\010JobProtoP\001Z * The query required to perform a search query. *
* * Protobuf type {@code google.cloud.talent.v4.JobQuery} */ -public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JobQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobQuery) JobQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JobQuery.newBuilder() to construct. private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobQuery() { query_ = ""; queryLanguageCode_ = ""; @@ -52,35 +34,32 @@ private JobQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobQuery.class, - com.google.cloud.talent.v4.JobQuery.Builder.class); + com.google.cloud.talent.v4.JobQuery.class, com.google.cloud.talent.v4.JobQuery.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -88,7 +67,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string query = 1; - * * @return The query. */ @java.lang.Override @@ -97,15 +75,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -113,15 +90,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 1; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -132,8 +110,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object queryLanguageCode_; /** - * - * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -145,7 +121,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ @java.lang.Override @@ -154,15 +129,14 @@ public java.lang.String getQueryLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; } } /** - * - * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -174,15 +148,16 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString + getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -193,8 +168,6 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { public static final int COMPANIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companies_; /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -208,15 +181,13 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() {
    * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList getCompaniesList() { + public com.google.protobuf.ProtocolStringList + getCompaniesList() { return companies_; } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -230,15 +201,12 @@ public com.google.protobuf.ProtocolStringList getCompaniesList() {
    * 
* * repeated string companies = 2; - * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -252,7 +220,6 @@ public int getCompaniesCount() {
    * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -260,8 +227,6 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -275,19 +240,17 @@ public java.lang.String getCompanies(int index) {
    * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString getCompaniesBytes(int index) { + public com.google.protobuf.ByteString + getCompaniesBytes(int index) { return companies_.getByteString(index); } public static final int LOCATION_FILTERS_FIELD_NUMBER = 3; private java.util.List locationFilters_; /** - * - * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -307,8 +270,6 @@ public java.util.List getLocationFilt
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -324,13 +285,11 @@ public java.util.List getLocationFilt
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -350,8 +309,6 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -371,8 +328,6 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -388,27 +343,24 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index) {
+  public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
+      int index) {
     return locationFilters_.get(index);
   }
 
   public static final int JOB_CATEGORIES_FIELD_NUMBER = 4;
   private java.util.List jobCategories_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.cloud.talent.v4.JobCategory>
-      jobCategories_converter_ =
+      java.lang.Integer, com.google.cloud.talent.v4.JobCategory> jobCategories_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4.JobCategory>() {
             public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4.JobCategory result =
-                  com.google.cloud.talent.v4.JobCategory.valueOf(from);
+              com.google.cloud.talent.v4.JobCategory result = com.google.cloud.talent.v4.JobCategory.valueOf(from);
               return result == null ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -418,18 +370,14 @@ public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -439,7 +387,6 @@ public java.util.List getJobCategoriesLi
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ @java.lang.Override @@ -447,8 +394,6 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -458,7 +403,6 @@ public int getJobCategoriesCount() {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -467,8 +411,6 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -478,16 +420,14 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return jobCategories_; } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -497,7 +437,6 @@ public java.util.List getJobCategoriesValueList() {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -505,14 +444,11 @@ public java.util.List getJobCategoriesValueList() { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } - private int jobCategoriesMemoizedSerializedSize; public static final int COMMUTE_FILTER_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.CommuteFilter commuteFilter_; /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -522,7 +458,6 @@ public int getJobCategoriesValue(int index) {
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ @java.lang.Override @@ -530,8 +465,6 @@ public boolean hasCommuteFilter() { return commuteFilter_ != null; } /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -541,18 +474,13 @@ public boolean hasCommuteFilter() {
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter getCommuteFilter() { - return commuteFilter_ == null - ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() - : commuteFilter_; + return commuteFilter_ == null ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_; } /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -571,8 +499,6 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
   public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList companyDisplayNames_;
   /**
-   *
-   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -596,15 +522,13 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
    * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList + getCompanyDisplayNamesList() { return companyDisplayNames_; } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -628,15 +552,12 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
    * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -660,7 +581,6 @@ public int getCompanyDisplayNamesCount() {
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -668,8 +588,6 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -693,19 +611,17 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } public static final int COMPENSATION_FILTER_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.CompensationFilter compensationFilter_; /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -715,7 +631,6 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ @java.lang.Override @@ -723,8 +638,6 @@ public boolean hasCompensationFilter() { return compensationFilter_ != null; } /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -734,18 +647,13 @@ public boolean hasCompensationFilter() {
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter getCompensationFilter() { - return compensationFilter_ == null - ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() - : compensationFilter_; + return compensationFilter_ == null ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_; } /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -764,8 +672,6 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
   public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER = 8;
   private volatile java.lang.Object customAttributeFilter_;
   /**
-   *
-   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -787,7 +693,6 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
    * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ @java.lang.Override @@ -796,15 +701,14 @@ public java.lang.String getCustomAttributeFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; } } /** - * - * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -826,15 +730,16 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString + getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -845,8 +750,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER = 9; private boolean disableSpellCheck_; /** - * - * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -855,7 +758,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() {
    * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ @java.lang.Override @@ -866,22 +768,16 @@ public boolean getDisableSpellCheck() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 10; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> - employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>() { public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.EmploymentType result = - com.google.cloud.talent.v4.EmploymentType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.EmploymentType result = com.google.cloud.talent.v4.EmploymentType.valueOf(from); + return result == null ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED : result; } }; /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -892,18 +788,14 @@ public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -914,7 +806,6 @@ public java.util.List getEmploymentTy
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ @java.lang.Override @@ -922,8 +813,6 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -934,7 +823,6 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -943,8 +831,6 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -955,16 +841,14 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return employmentTypes_; } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -975,7 +859,6 @@ public java.util.List getEmploymentTypesValueList() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -983,14 +866,11 @@ public java.util.List getEmploymentTypesValueList() { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } - private int employmentTypesMemoizedSerializedSize; public static final int LANGUAGE_CODES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList languageCodes_; /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1003,15 +883,13 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_; } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1024,15 +902,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
    * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1045,7 +920,6 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1053,8 +927,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1067,26 +939,23 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER = 12; private com.google.cloud.talent.v4.TimestampRange publishTimeRange_; /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ @java.lang.Override @@ -1094,26 +963,19 @@ public boolean hasPublishTimeRange() { return publishTimeRange_ != null; } /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ @java.lang.Override public com.google.cloud.talent.v4.TimestampRange getPublishTimeRange() { - return publishTimeRange_ == null - ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() - : publishTimeRange_; + return publishTimeRange_ == null ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_; } /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -1129,45 +991,37 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
   public static final int EXCLUDED_JOBS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList excludedJobs_;
   /**
-   *
-   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList + getExcludedJobsList() { return excludedJobs_; } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -1175,24 +1029,21 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString + getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1204,7 +1055,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); @@ -1277,23 +1129,24 @@ public int getSerializedSize() { size += 1 * getCompaniesList().size(); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, locationFilters_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobCategoriesMemoizedSerializedSize = dataSize; } if (commuteFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCommuteFilter()); } { int dataSize = 0; @@ -1304,26 +1157,27 @@ public int getSerializedSize() { size += 1 * getCompanyDisplayNamesList().size(); } if (compensationFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompensationFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCompensationFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customAttributeFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customAttributeFilter_); } if (disableSpellCheck_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableSpellCheck_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, disableSpellCheck_); } { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }employmentTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -1334,7 +1188,8 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (publishTimeRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getPublishTimeRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getPublishTimeRange()); } { int dataSize = 0; @@ -1355,36 +1210,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.JobQuery)) { return super.equals(obj); } com.google.cloud.talent.v4.JobQuery other = (com.google.cloud.talent.v4.JobQuery) obj; - if (!getQuery().equals(other.getQuery())) return false; - if (!getQueryLanguageCode().equals(other.getQueryLanguageCode())) return false; - if (!getCompaniesList().equals(other.getCompaniesList())) return false; - if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getQueryLanguageCode() + .equals(other.getQueryLanguageCode())) return false; + if (!getCompaniesList() + .equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList() + .equals(other.getLocationFiltersList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; + if (!getCommuteFilter() + .equals(other.getCommuteFilter())) return false; } - if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; + if (!getCompanyDisplayNamesList() + .equals(other.getCompanyDisplayNamesList())) return false; if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; + if (!getCompensationFilter() + .equals(other.getCompensationFilter())) return false; } - if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; - if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; + if (!getCustomAttributeFilter() + .equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() + != other.getDisableSpellCheck()) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (!getLanguageCodesList() + .equals(other.getLanguageCodesList())) return false; if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; + if (!getPublishTimeRange() + .equals(other.getPublishTimeRange())) return false; } - if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; + if (!getExcludedJobsList() + .equals(other.getExcludedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1427,7 +1294,8 @@ public int hashCode() { hash = (37 * hash) + CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER; hash = (53 * hash) + getCustomAttributeFilter().hashCode(); hash = (37 * hash) + DISABLE_SPELL_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableSpellCheck()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableSpellCheck()); if (getEmploymentTypesCount() > 0) { hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER; hash = (53 * hash) + employmentTypes_.hashCode(); @@ -1449,135 +1317,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.JobQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.JobQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.JobQuery parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.JobQuery parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.JobQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The query required to perform a search query.
    * 
* * Protobuf type {@code google.cloud.talent.v4.JobQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobQuery) com.google.cloud.talent.v4.JobQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobQuery.class, - com.google.cloud.talent.v4.JobQuery.Builder.class); + com.google.cloud.talent.v4.JobQuery.class, com.google.cloud.talent.v4.JobQuery.Builder.class); } // Construct using com.google.cloud.talent.v4.JobQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1630,9 +1493,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override @@ -1719,39 +1582,38 @@ public com.google.cloud.talent.v4.JobQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.JobQuery) { - return mergeFrom((com.google.cloud.talent.v4.JobQuery) other); + return mergeFrom((com.google.cloud.talent.v4.JobQuery)other); } else { super.mergeFrom(other); return this; @@ -1796,10 +1658,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.JobQuery other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000002); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationFiltersFieldBuilder() - : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationFiltersFieldBuilder() : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -1897,136 +1758,124 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - query_ = input.readStringRequireUtf8(); + case 10: { + query_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompaniesIsMutable(); - companies_.add(s); - break; - } // case 18 - case 26: - { - com.google.cloud.talent.v4.LocationFilter m = - input.readMessage( - com.google.cloud.talent.v4.LocationFilter.parser(), extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompaniesIsMutable(); + companies_.add(s); + break; + } // case 18 + case 26: { + com.google.cloud.talent.v4.LocationFilter m = + input.readMessage( + com.google.cloud.talent.v4.LocationFilter.parser(), + extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + break; + } // case 32 + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - break; - } // case 32 - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: - { - input.readMessage(getCommuteFilterFieldBuilder().getBuilder(), extensionRegistry); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: { + input.readMessage( + getCommuteFilterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompanyDisplayNamesIsMutable(); - companyDisplayNames_.add(s); - break; - } // case 50 - case 58: - { - input.readMessage( - getCompensationFilterFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompanyDisplayNamesIsMutable(); + companyDisplayNames_.add(s); + break; + } // case 50 + case 58: { + input.readMessage( + getCompensationFilterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - case 66: - { - customAttributeFilter_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: { + customAttributeFilter_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 72: - { - disableSpellCheck_ = input.readBool(); + break; + } // case 66 + case 72: { + disableSpellCheck_ = input.readBool(); - break; - } // case 72 - case 80: - { + break; + } // case 72 + case 80: { + int tmpRaw = input.readEnum(); + ensureEmploymentTypesIsMutable(); + employmentTypes_.add(tmpRaw); + break; + } // case 80 + case 82: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEmploymentTypesIsMutable(); employmentTypes_.add(tmpRaw); - break; - } // case 80 - case 82: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEmploymentTypesIsMutable(); - employmentTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 82 - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 90 - case 98: - { - input.readMessage( - getPublishTimeRangeFieldBuilder().getBuilder(), extensionRegistry); + } + input.popLimit(oldLimit); + break; + } // case 82 + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 90 + case 98: { + input.readMessage( + getPublishTimeRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 98 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludedJobsIsMutable(); - excludedJobs_.add(s); - break; - } // case 106 - case 114: - { - queryLanguageCode_ = input.readStringRequireUtf8(); + break; + } // case 98 + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedJobsIsMutable(); + excludedJobs_.add(s); + break; + } // case 106 + case 114: { + queryLanguageCode_ = input.readStringRequireUtf8(); - break; - } // case 114 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 114 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2036,13 +1885,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object query_ = ""; /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2050,13 +1896,13 @@ public Builder mergeFrom(
      * 
* * string query = 1; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -2065,8 +1911,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2074,14 +1918,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -2089,8 +1934,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2098,22 +1941,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 1; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2121,18 +1962,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 1; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2140,16 +1978,16 @@ public Builder clearQuery() {
      * 
* * string query = 1; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -2157,8 +1995,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { private java.lang.Object queryLanguageCode_ = ""; /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2170,13 +2006,13 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ public java.lang.String getQueryLanguageCode() { java.lang.Object ref = queryLanguageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; @@ -2185,8 +2021,6 @@ public java.lang.String getQueryLanguageCode() { } } /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2198,14 +2032,15 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ - public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString + getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -2213,8 +2048,6 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { } } /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2226,22 +2059,20 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() {
      * 
* * string query_language_code = 14; - * * @param value The queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCode(java.lang.String value) { + public Builder setQueryLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryLanguageCode_ = value; onChanged(); return this; } /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2253,18 +2084,15 @@ public Builder setQueryLanguageCode(java.lang.String value) {
      * 
* * string query_language_code = 14; - * * @return This builder for chaining. */ public Builder clearQueryLanguageCode() { - + queryLanguageCode_ = getDefaultInstance().getQueryLanguageCode(); onChanged(); return this; } /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2276,33 +2104,29 @@ public Builder clearQueryLanguageCode() {
      * 
* * string query_language_code = 14; - * * @param value The bytes for queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setQueryLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryLanguageCode_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList companies_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList companies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2316,15 +2140,13 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList getCompaniesList() { + public com.google.protobuf.ProtocolStringList + getCompaniesList() { return companies_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2338,15 +2160,12 @@ public com.google.protobuf.ProtocolStringList getCompaniesList() {
      * 
* * repeated string companies = 2; - * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2360,7 +2179,6 @@ public int getCompaniesCount() {
      * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -2368,8 +2186,6 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2383,16 +2199,14 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString getCompaniesBytes(int index) { + public com.google.protobuf.ByteString + getCompaniesBytes(int index) { return companies_.getByteString(index); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2406,23 +2220,21 @@ public com.google.protobuf.ByteString getCompaniesBytes(int index) {
      * 
* * repeated string companies = 2; - * * @param index The index to set the value at. * @param value The companies to set. * @return This builder for chaining. */ - public Builder setCompanies(int index, java.lang.String value) { + public Builder setCompanies( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2436,22 +2248,20 @@ public Builder setCompanies(int index, java.lang.String value) {
      * 
* * repeated string companies = 2; - * * @param value The companies to add. * @return This builder for chaining. */ - public Builder addCompanies(java.lang.String value) { + public Builder addCompanies( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2465,19 +2275,18 @@ public Builder addCompanies(java.lang.String value) {
      * 
* * repeated string companies = 2; - * * @param values The companies to add. * @return This builder for chaining. */ - public Builder addAllCompanies(java.lang.Iterable values) { + public Builder addAllCompanies( + java.lang.Iterable values) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companies_); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2491,7 +2300,6 @@ public Builder addAllCompanies(java.lang.Iterable values) {
      * 
* * repeated string companies = 2; - * * @return This builder for chaining. */ public Builder clearCompanies() { @@ -2501,8 +2309,6 @@ public Builder clearCompanies() { return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2516,15 +2322,15 @@ public Builder clearCompanies() {
      * 
* * repeated string companies = 2; - * * @param value The bytes of the companies to add. * @return This builder for chaining. */ - public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { + public Builder addCompaniesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompaniesIsMutable(); companies_.add(value); onChanged(); @@ -2532,25 +2338,18 @@ public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - locationFilters_ = - new java.util.ArrayList(locationFilters_); + locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.LocationFilter, - com.google.cloud.talent.v4.LocationFilter.Builder, - com.google.cloud.talent.v4.LocationFilterOrBuilder> - locationFiltersBuilder_; + com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder> locationFiltersBuilder_; /** - * - * *
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2573,8 +2372,6 @@ public java.util.List getLocationFilt
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2597,8 +2394,6 @@ public int getLocationFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2621,8 +2416,6 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2637,7 +2430,8 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public Builder setLocationFilters(int index, com.google.cloud.talent.v4.LocationFilter value) {
+    public Builder setLocationFilters(
+        int index, com.google.cloud.talent.v4.LocationFilter value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2651,8 +2445,6 @@ public Builder setLocationFilters(int index, com.google.cloud.talent.v4.Location
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2679,8 +2471,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2709,8 +2499,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.LocationFilter valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2725,7 +2513,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.LocationFilter valu
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public Builder addLocationFilters(int index, com.google.cloud.talent.v4.LocationFilter value) {
+    public Builder addLocationFilters(
+        int index, com.google.cloud.talent.v4.LocationFilter value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2739,8 +2528,6 @@ public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2767,8 +2554,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2795,8 +2580,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2815,7 +2598,8 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -2823,8 +2607,6 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2850,8 +2632,6 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2877,8 +2657,6 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2893,12 +2671,11 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuilder(int index) {
+    public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuilder(
+        int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2916,14 +2693,11 @@ public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuild
     public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);
-      } else {
+        return locationFilters_.get(index);  } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2938,8 +2712,8 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public java.util.List
-        getLocationFiltersOrBuilderList() {
+    public java.util.List 
+         getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2947,8 +2721,6 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2964,12 +2736,10 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
     public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2984,13 +2754,12 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder(int index) {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
+    public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder(
+        int index) {
+      return getLocationFiltersFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -3005,22 +2774,16 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public java.util.List
-        getLocationFiltersBuilderList() {
+    public java.util.List 
+         getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.LocationFilter,
-            com.google.cloud.talent.v4.LocationFilter.Builder,
-            com.google.cloud.talent.v4.LocationFilterOrBuilder>
+        com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder> 
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.LocationFilter,
-                com.google.cloud.talent.v4.LocationFilter.Builder,
-                com.google.cloud.talent.v4.LocationFilterOrBuilder>(
+        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -3030,8 +2793,8 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
       return locationFiltersBuilder_;
     }
 
-    private java.util.List jobCategories_ = java.util.Collections.emptyList();
-
+    private java.util.List jobCategories_ =
+      java.util.Collections.emptyList();
     private void ensureJobCategoriesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -3039,8 +2802,6 @@ private void ensureJobCategoriesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3050,17 +2811,13 @@ private void ensureJobCategoriesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3070,15 +2827,12 @@ public java.util.List getJobCategoriesLi
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3088,7 +2842,6 @@ public int getJobCategoriesCount() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -3096,8 +2849,6 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3107,12 +2858,12 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategory value) { + public Builder setJobCategories( + int index, com.google.cloud.talent.v4.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -3122,8 +2873,6 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategor return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3133,7 +2882,6 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategor
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -3147,8 +2895,6 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3158,7 +2904,6 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -3172,8 +2917,6 @@ public Builder addAllJobCategories( return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3183,7 +2926,6 @@ public Builder addAllJobCategories(
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -3193,8 +2935,6 @@ public Builder clearJobCategories() { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3204,15 +2944,13 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3222,7 +2960,6 @@ public java.util.List getJobCategoriesValueList() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -3230,8 +2967,6 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3241,20 +2976,18 @@ public int getJobCategoriesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue(int index, int value) { + public Builder setJobCategoriesValue( + int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3264,7 +2997,6 @@ public Builder setJobCategoriesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -3275,8 +3007,6 @@ public Builder addJobCategoriesValue(int value) { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3286,11 +3016,11 @@ public Builder addJobCategoriesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue(java.lang.Iterable values) { + public Builder addAllJobCategoriesValue( + java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -3301,13 +3031,8 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va private com.google.cloud.talent.v4.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CommuteFilter, - com.google.cloud.talent.v4.CommuteFilter.Builder, - com.google.cloud.talent.v4.CommuteFilterOrBuilder> - commuteFilterBuilder_; + com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder> commuteFilterBuilder_; /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3317,15 +3042,12 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va
      * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ public boolean hasCommuteFilter() { return commuteFilterBuilder_ != null || commuteFilter_ != null; } /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3335,21 +3057,16 @@ public boolean hasCommuteFilter() {
      * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ public com.google.cloud.talent.v4.CommuteFilter getCommuteFilter() { if (commuteFilterBuilder_ == null) { - return commuteFilter_ == null - ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() - : commuteFilter_; + return commuteFilter_ == null ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_; } else { return commuteFilterBuilder_.getMessage(); } } /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3374,8 +3091,6 @@ public Builder setCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3398,8 +3113,6 @@ public Builder setCommuteFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3414,9 +3127,7 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value
       if (commuteFilterBuilder_ == null) {
         if (commuteFilter_ != null) {
           commuteFilter_ =
-              com.google.cloud.talent.v4.CommuteFilter.newBuilder(commuteFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.CommuteFilter.newBuilder(commuteFilter_).mergeFrom(value).buildPartial();
         } else {
           commuteFilter_ = value;
         }
@@ -3428,8 +3139,6 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3452,8 +3161,6 @@ public Builder clearCommuteFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3465,13 +3172,11 @@ public Builder clearCommuteFilter() {
      * .google.cloud.talent.v4.CommuteFilter commute_filter = 5;
      */
     public com.google.cloud.talent.v4.CommuteFilter.Builder getCommuteFilterBuilder() {
-
+      
       onChanged();
       return getCommuteFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3486,14 +3191,11 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
       if (commuteFilterBuilder_ != null) {
         return commuteFilterBuilder_.getMessageOrBuilder();
       } else {
-        return commuteFilter_ == null
-            ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance()
-            : commuteFilter_;
+        return commuteFilter_ == null ?
+            com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3505,34 +3207,27 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
      * .google.cloud.talent.v4.CommuteFilter commute_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CommuteFilter,
-            com.google.cloud.talent.v4.CommuteFilter.Builder,
-            com.google.cloud.talent.v4.CommuteFilterOrBuilder>
+        com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder> 
         getCommuteFilterFieldBuilder() {
       if (commuteFilterBuilder_ == null) {
-        commuteFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.CommuteFilter,
-                com.google.cloud.talent.v4.CommuteFilter.Builder,
-                com.google.cloud.talent.v4.CommuteFilterOrBuilder>(
-                getCommuteFilter(), getParentForChildren(), isClean());
+        commuteFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder>(
+                getCommuteFilter(),
+                getParentForChildren(),
+                isClean());
         commuteFilter_ = null;
       }
       return commuteFilterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList companyDisplayNames_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureCompanyDisplayNamesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3556,15 +3251,13 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList + getCompanyDisplayNamesList() { return companyDisplayNames_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3588,15 +3281,12 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
      * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3620,7 +3310,6 @@ public int getCompanyDisplayNamesCount() {
      * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -3628,8 +3317,6 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3653,16 +3340,14 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3686,23 +3371,21 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
      * 
* * repeated string company_display_names = 6; - * * @param index The index to set the value at. * @param value The companyDisplayNames to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNames(int index, java.lang.String value) { + public Builder setCompanyDisplayNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3726,22 +3409,20 @@ public Builder setCompanyDisplayNames(int index, java.lang.String value) {
      * 
* * repeated string company_display_names = 6; - * * @param value The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNames(java.lang.String value) { + public Builder addCompanyDisplayNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3765,19 +3446,18 @@ public Builder addCompanyDisplayNames(java.lang.String value) {
      * 
* * repeated string company_display_names = 6; - * * @param values The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addAllCompanyDisplayNames(java.lang.Iterable values) { + public Builder addAllCompanyDisplayNames( + java.lang.Iterable values) { ensureCompanyDisplayNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companyDisplayNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companyDisplayNames_); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3801,7 +3481,6 @@ public Builder addAllCompanyDisplayNames(java.lang.Iterable va
      * 
* * repeated string company_display_names = 6; - * * @return This builder for chaining. */ public Builder clearCompanyDisplayNames() { @@ -3811,8 +3490,6 @@ public Builder clearCompanyDisplayNames() { return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3836,15 +3513,15 @@ public Builder clearCompanyDisplayNames() {
      * 
* * repeated string company_display_names = 6; - * * @param value The bytes of the companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) { + public Builder addCompanyDisplayNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); @@ -3853,13 +3530,8 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) private com.google.cloud.talent.v4.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationFilter, - com.google.cloud.talent.v4.CompensationFilter.Builder, - com.google.cloud.talent.v4.CompensationFilterOrBuilder> - compensationFilterBuilder_; + com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder> compensationFilterBuilder_; /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3869,15 +3541,12 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value)
      * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ public boolean hasCompensationFilter() { return compensationFilterBuilder_ != null || compensationFilter_ != null; } /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3887,21 +3556,16 @@ public boolean hasCompensationFilter() {
      * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ public com.google.cloud.talent.v4.CompensationFilter getCompensationFilter() { if (compensationFilterBuilder_ == null) { - return compensationFilter_ == null - ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() - : compensationFilter_; + return compensationFilter_ == null ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_; } else { return compensationFilterBuilder_.getMessage(); } } /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3926,8 +3590,6 @@ public Builder setCompensationFilter(com.google.cloud.talent.v4.CompensationFilt
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3950,8 +3612,6 @@ public Builder setCompensationFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3966,9 +3626,7 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4.CompensationFi
       if (compensationFilterBuilder_ == null) {
         if (compensationFilter_ != null) {
           compensationFilter_ =
-              com.google.cloud.talent.v4.CompensationFilter.newBuilder(compensationFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.CompensationFilter.newBuilder(compensationFilter_).mergeFrom(value).buildPartial();
         } else {
           compensationFilter_ = value;
         }
@@ -3980,8 +3638,6 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4.CompensationFi
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -4004,8 +3660,6 @@ public Builder clearCompensationFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -4017,13 +3671,11 @@ public Builder clearCompensationFilter() {
      * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7;
      */
     public com.google.cloud.talent.v4.CompensationFilter.Builder getCompensationFilterBuilder() {
-
+      
       onChanged();
       return getCompensationFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -4038,14 +3690,11 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
       if (compensationFilterBuilder_ != null) {
         return compensationFilterBuilder_.getMessageOrBuilder();
       } else {
-        return compensationFilter_ == null
-            ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance()
-            : compensationFilter_;
+        return compensationFilter_ == null ?
+            com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -4057,17 +3706,14 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
      * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationFilter,
-            com.google.cloud.talent.v4.CompensationFilter.Builder,
-            com.google.cloud.talent.v4.CompensationFilterOrBuilder>
+        com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder> 
         getCompensationFilterFieldBuilder() {
       if (compensationFilterBuilder_ == null) {
-        compensationFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.CompensationFilter,
-                com.google.cloud.talent.v4.CompensationFilter.Builder,
-                com.google.cloud.talent.v4.CompensationFilterOrBuilder>(
-                getCompensationFilter(), getParentForChildren(), isClean());
+        compensationFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder>(
+                getCompensationFilter(),
+                getParentForChildren(),
+                isClean());
         compensationFilter_ = null;
       }
       return compensationFilterBuilder_;
@@ -4075,8 +3721,6 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
 
     private java.lang.Object customAttributeFilter_ = "";
     /**
-     *
-     *
      * 
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4098,13 +3742,13 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
      * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ public java.lang.String getCustomAttributeFilter() { java.lang.Object ref = customAttributeFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; @@ -4113,8 +3757,6 @@ public java.lang.String getCustomAttributeFilter() { } } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4136,14 +3778,15 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ - public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString + getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -4151,8 +3794,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { } } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4174,22 +3815,20 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() {
      * 
* * string custom_attribute_filter = 8; - * * @param value The customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilter(java.lang.String value) { + public Builder setCustomAttributeFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customAttributeFilter_ = value; onChanged(); return this; } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4211,18 +3850,15 @@ public Builder setCustomAttributeFilter(java.lang.String value) {
      * 
* * string custom_attribute_filter = 8; - * * @return This builder for chaining. */ public Builder clearCustomAttributeFilter() { - + customAttributeFilter_ = getDefaultInstance().getCustomAttributeFilter(); onChanged(); return this; } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4244,25 +3880,23 @@ public Builder clearCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @param value The bytes for customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value) { + public Builder setCustomAttributeFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customAttributeFilter_ = value; onChanged(); return this; } - private boolean disableSpellCheck_; + private boolean disableSpellCheck_ ; /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4271,7 +3905,6 @@ public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString valu
      * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ @java.lang.Override @@ -4279,8 +3912,6 @@ public boolean getDisableSpellCheck() { return disableSpellCheck_; } /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4289,19 +3920,16 @@ public boolean getDisableSpellCheck() {
      * 
* * bool disable_spell_check = 9; - * * @param value The disableSpellCheck to set. * @return This builder for chaining. */ public Builder setDisableSpellCheck(boolean value) { - + disableSpellCheck_ = value; onChanged(); return this; } /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4310,18 +3938,17 @@ public Builder setDisableSpellCheck(boolean value) {
      * 
* * bool disable_spell_check = 9; - * * @return This builder for chaining. */ public Builder clearDisableSpellCheck() { - + disableSpellCheck_ = false; onChanged(); return this; } - private java.util.List employmentTypes_ = java.util.Collections.emptyList(); - + private java.util.List employmentTypes_ = + java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -4329,8 +3956,6 @@ private void ensureEmploymentTypesIsMutable() { } } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4341,17 +3966,13 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4362,15 +3983,12 @@ public java.util.List getEmploymentTy
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4381,7 +3999,6 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4389,8 +4006,6 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4401,12 +4016,12 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.EmploymentType value) { + public Builder setEmploymentTypes( + int index, com.google.cloud.talent.v4.EmploymentType value) { if (value == null) { throw new NullPointerException(); } @@ -4416,8 +4031,6 @@ public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.Employme return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4428,7 +4041,6 @@ public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.Employme
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -4442,8 +4054,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4454,7 +4064,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -4468,8 +4077,6 @@ public Builder addAllEmploymentTypes( return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4480,7 +4087,6 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -4490,8 +4096,6 @@ public Builder clearEmploymentTypes() { return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4502,15 +4106,13 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4521,7 +4123,6 @@ public java.util.List getEmploymentTypesValueList() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4529,8 +4130,6 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4541,20 +4140,18 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue(int index, int value) { + public Builder setEmploymentTypesValue( + int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4565,7 +4162,6 @@ public Builder setEmploymentTypesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -4576,8 +4172,6 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4588,11 +4182,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue( + java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -4601,18 +4195,14 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable return this; } - private com.google.protobuf.LazyStringList languageCodes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4625,15 +4215,13 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4646,15 +4234,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
      * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4667,7 +4252,6 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -4675,8 +4259,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4689,16 +4271,14 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4711,23 +4291,21 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) {
      * 
* * repeated string language_codes = 11; - * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes(int index, java.lang.String value) { + public Builder setLanguageCodes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4740,22 +4318,20 @@ public Builder setLanguageCodes(int index, java.lang.String value) {
      * 
* * repeated string language_codes = 11; - * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes(java.lang.String value) { + public Builder addLanguageCodes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4768,19 +4344,18 @@ public Builder addLanguageCodes(java.lang.String value) {
      * 
* * repeated string language_codes = 11; - * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes(java.lang.Iterable values) { + public Builder addAllLanguageCodes( + java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageCodes_); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4793,7 +4368,6 @@ public Builder addAllLanguageCodes(java.lang.Iterable values)
      * 
* * repeated string language_codes = 11; - * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -4803,8 +4377,6 @@ public Builder clearLanguageCodes() { return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4817,15 +4389,15 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 11; - * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); @@ -4834,49 +4406,36 @@ public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.TimestampRange, - com.google.cloud.talent.v4.TimestampRange.Builder, - com.google.cloud.talent.v4.TimestampRangeOrBuilder> - publishTimeRangeBuilder_; + com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder> publishTimeRangeBuilder_; /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ public boolean hasPublishTimeRange() { return publishTimeRangeBuilder_ != null || publishTimeRange_ != null; } /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ public com.google.cloud.talent.v4.TimestampRange getPublishTimeRange() { if (publishTimeRangeBuilder_ == null) { - return publishTimeRange_ == null - ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() - : publishTimeRange_; + return publishTimeRange_ == null ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_; } else { return publishTimeRangeBuilder_.getMessage(); } } /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4898,8 +4457,6 @@ public Builder setPublishTimeRange(com.google.cloud.talent.v4.TimestampRange val
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4919,8 +4476,6 @@ public Builder setPublishTimeRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4932,9 +4487,7 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4.TimestampRange v
       if (publishTimeRangeBuilder_ == null) {
         if (publishTimeRange_ != null) {
           publishTimeRange_ =
-              com.google.cloud.talent.v4.TimestampRange.newBuilder(publishTimeRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.TimestampRange.newBuilder(publishTimeRange_).mergeFrom(value).buildPartial();
         } else {
           publishTimeRange_ = value;
         }
@@ -4946,8 +4499,6 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4.TimestampRange v
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4967,8 +4518,6 @@ public Builder clearPublishTimeRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4977,13 +4526,11 @@ public Builder clearPublishTimeRange() {
      * .google.cloud.talent.v4.TimestampRange publish_time_range = 12;
      */
     public com.google.cloud.talent.v4.TimestampRange.Builder getPublishTimeRangeBuilder() {
-
+      
       onChanged();
       return getPublishTimeRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4995,14 +4542,11 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
       if (publishTimeRangeBuilder_ != null) {
         return publishTimeRangeBuilder_.getMessageOrBuilder();
       } else {
-        return publishTimeRange_ == null
-            ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance()
-            : publishTimeRange_;
+        return publishTimeRange_ == null ?
+            com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_;
       }
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5011,71 +4555,58 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
      * .google.cloud.talent.v4.TimestampRange publish_time_range = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.TimestampRange,
-            com.google.cloud.talent.v4.TimestampRange.Builder,
-            com.google.cloud.talent.v4.TimestampRangeOrBuilder>
+        com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder> 
         getPublishTimeRangeFieldBuilder() {
       if (publishTimeRangeBuilder_ == null) {
-        publishTimeRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.TimestampRange,
-                com.google.cloud.talent.v4.TimestampRange.Builder,
-                com.google.cloud.talent.v4.TimestampRangeOrBuilder>(
-                getPublishTimeRange(), getParentForChildren(), isClean());
+        publishTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder>(
+                getPublishTimeRange(),
+                getParentForChildren(),
+                isClean());
         publishTimeRange_ = null;
       }
       return publishTimeRangeBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList excludedJobs_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureExcludedJobsIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_);
         bitField0_ |= 0x00000040;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList + getExcludedJobsList() { return excludedJobs_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -5083,95 +4614,85 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString + getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index to set the value at. * @param value The excludedJobs to set. * @return This builder for chaining. */ - public Builder setExcludedJobs(int index, java.lang.String value) { + public Builder setExcludedJobs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param value The excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobs(java.lang.String value) { + public Builder addExcludedJobs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param values The excludedJobs to add. * @return This builder for chaining. */ - public Builder addAllExcludedJobs(java.lang.Iterable values) { + public Builder addAllExcludedJobs( + java.lang.Iterable values) { ensureExcludedJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludedJobs_); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return This builder for chaining. */ public Builder clearExcludedJobs() { @@ -5181,31 +4702,29 @@ public Builder clearExcludedJobs() { return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param value The bytes of the excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { + public Builder addExcludedJobsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5215,12 +4734,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobQuery) private static final com.google.cloud.talent.v4.JobQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobQuery(); } @@ -5229,27 +4748,27 @@ public static com.google.cloud.talent.v4.JobQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5264,4 +4783,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.JobQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java similarity index 93% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java index 494d53b6ee06..ae1d7313db19 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface JobQueryOrBuilder - extends +public interface JobQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -33,13 +15,10 @@ public interface JobQueryOrBuilder
    * 
* * string query = 1; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -47,14 +26,12 @@ public interface JobQueryOrBuilder
    * 
* * string query = 1; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -66,13 +43,10 @@ public interface JobQueryOrBuilder
    * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ java.lang.String getQueryLanguageCode(); /** - * - * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -84,14 +58,12 @@ public interface JobQueryOrBuilder
    * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ - com.google.protobuf.ByteString getQueryLanguageCodeBytes(); + com.google.protobuf.ByteString + getQueryLanguageCodeBytes(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -105,13 +77,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - java.util.List getCompaniesList(); + java.util.List + getCompaniesList(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -125,13 +95,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @return The count of companies. */ int getCompaniesCount(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -145,14 +112,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ java.lang.String getCompanies(int index); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -166,15 +130,13 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - com.google.protobuf.ByteString getCompaniesBytes(int index); + com.google.protobuf.ByteString + getCompaniesBytes(int index); /** - * - * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -189,10 +151,9 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  java.util.List getLocationFiltersList();
+  java.util.List 
+      getLocationFiltersList();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -209,8 +170,6 @@ public interface JobQueryOrBuilder
    */
   com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index);
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -227,8 +186,6 @@ public interface JobQueryOrBuilder
    */
   int getLocationFiltersCount();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -243,11 +200,9 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  java.util.List
+  java.util.List 
       getLocationFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -262,11 +217,10 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index);
+  com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -276,13 +230,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -292,13 +243,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -308,14 +256,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4.JobCategory getJobCategories(int index); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -325,13 +270,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List getJobCategoriesValueList(); + java.util.List + getJobCategoriesValueList(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -341,15 +284,12 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -359,13 +299,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ boolean hasCommuteFilter(); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -375,13 +312,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ com.google.cloud.talent.v4.CommuteFilter getCommuteFilter(); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -395,8 +329,6 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -420,13 +352,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - java.util.List getCompanyDisplayNamesList(); + java.util.List + getCompanyDisplayNamesList(); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -450,13 +380,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ int getCompanyDisplayNamesCount(); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -480,14 +407,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ java.lang.String getCompanyDisplayNames(int index); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -511,15 +435,13 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index); + com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -529,13 +451,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ boolean hasCompensationFilter(); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -545,13 +464,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ com.google.cloud.talent.v4.CompensationFilter getCompensationFilter(); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -565,8 +481,6 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -588,13 +502,10 @@ public interface JobQueryOrBuilder
    * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ java.lang.String getCustomAttributeFilter(); /** - * - * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -616,14 +527,12 @@ public interface JobQueryOrBuilder
    * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ - com.google.protobuf.ByteString getCustomAttributeFilterBytes(); + com.google.protobuf.ByteString + getCustomAttributeFilterBytes(); /** - * - * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -632,14 +541,11 @@ public interface JobQueryOrBuilder
    * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ boolean getDisableSpellCheck(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -650,13 +556,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -667,13 +570,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -684,14 +584,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -702,13 +599,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List getEmploymentTypesValueList(); + java.util.List + getEmploymentTypesValueList(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -719,15 +614,12 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -740,13 +632,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - java.util.List getLanguageCodesList(); + java.util.List + getLanguageCodesList(); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -759,13 +649,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -778,14 +665,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -798,41 +682,33 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString getLanguageCodesBytes(int index); + com.google.protobuf.ByteString + getLanguageCodesBytes(int index); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ boolean hasPublishTimeRange(); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ com.google.cloud.talent.v4.TimestampRange getPublishTimeRange(); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -843,57 +719,47 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - java.util.List getExcludedJobsList(); + java.util.List + getExcludedJobsList(); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ int getExcludedJobsCount(); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ java.lang.String getExcludedJobs(int index); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - com.google.protobuf.ByteString getExcludedJobsBytes(int index); + com.google.protobuf.ByteString + getExcludedJobsBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java index a71440de279f..afa945bed7b5 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Mutation result of a job from a batch operation.
  * 
* * Protobuf type {@code google.cloud.talent.v4.JobResult} */ -public final class JobResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JobResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobResult) JobResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JobResult.newBuilder() to construct. private JobResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private JobResult() {} + private JobResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobResult.class, - com.google.cloud.talent.v4.JobResult.Builder.class); + com.google.cloud.talent.v4.JobResult.class, com.google.cloud.talent.v4.JobResult.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -86,8 +65,6 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -96,7 +73,6 @@ public boolean hasJob() {
    * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -104,8 +80,6 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -123,15 +97,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
-   *
-   *
    * 
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -139,15 +110,12 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -155,8 +123,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -170,7 +136,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -199,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getJob());
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStatus());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,7 +180,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.JobResult)) {
       return super.equals(obj);
@@ -221,11 +189,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob().equals(other.getJob())) return false;
+      if (!getJob()
+          .equals(other.getJob())) return false;
     }
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus().equals(other.getStatus())) return false;
+      if (!getStatus()
+          .equals(other.getStatus())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -251,135 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.JobResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.JobResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.JobResult parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.talent.v4.JobResult parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.JobResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Mutation result of a job from a batch operation.
    * 
* * Protobuf type {@code google.cloud.talent.v4.JobResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobResult) com.google.cloud.talent.v4.JobResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobResult.class, - com.google.cloud.talent.v4.JobResult.Builder.class); + com.google.cloud.talent.v4.JobResult.class, com.google.cloud.talent.v4.JobResult.Builder.class); } // Construct using com.google.cloud.talent.v4.JobResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -399,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override @@ -439,39 +404,38 @@ public com.google.cloud.talent.v4.JobResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.JobResult) { - return mergeFrom((com.google.cloud.talent.v4.JobResult) other); + return mergeFrom((com.google.cloud.talent.v4.JobResult)other); } else { super.mergeFrom(other); return this; @@ -512,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -543,13 +508,8 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; /** - * - * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -558,15 +518,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -575,7 +532,6 @@ public boolean hasJob() {
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -586,8 +542,6 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** - * - * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -611,8 +565,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -622,7 +574,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) {
      *
      * .google.cloud.talent.v4.Job job = 1;
      */
-    public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder setJob(
+        com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobBuilder_ == null) {
         job_ = builderForValue.build();
         onChanged();
@@ -633,8 +586,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -647,7 +598,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) {
     public Builder mergeJob(com.google.cloud.talent.v4.Job value) {
       if (jobBuilder_ == null) {
         if (job_ != null) {
-          job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial();
+          job_ =
+            com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial();
         } else {
           job_ = value;
         }
@@ -659,8 +611,6 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -682,8 +632,6 @@ public Builder clearJob() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -694,13 +642,11 @@ public Builder clearJob() {
      * .google.cloud.talent.v4.Job job = 1;
      */
     public com.google.cloud.talent.v4.Job.Builder getJobBuilder() {
-
+      
       onChanged();
       return getJobFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -714,12 +660,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
       if (jobBuilder_ != null) {
         return jobBuilder_.getMessageOrBuilder();
       } else {
-        return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_;
+        return job_ == null ?
+            com.google.cloud.talent.v4.Job.getDefaultInstance() : job_;
       }
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -730,17 +675,14 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
      * .google.cloud.talent.v4.Job job = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.Job,
-            com.google.cloud.talent.v4.Job.Builder,
-            com.google.cloud.talent.v4.JobOrBuilder>
+        com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> 
         getJobFieldBuilder() {
       if (jobBuilder_ == null) {
-        jobBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.Job,
-                com.google.cloud.talent.v4.Job.Builder,
-                com.google.cloud.talent.v4.JobOrBuilder>(
-                getJob(), getParentForChildren(), isClean());
+        jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>(
+                getJob(),
+                getParentForChildren(),
+                isClean());
         job_ = null;
       }
       return jobBuilder_;
@@ -748,33 +690,26 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
 
     private com.google.rpc.Status status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        statusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -785,8 +720,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -808,8 +741,6 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -817,7 +748,8 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status status = 2;
      */
-    public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         status_ = builderForValue.build();
         onChanged();
@@ -828,8 +760,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -840,7 +770,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
     public Builder mergeStatus(com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (status_ != null) {
-          status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+          status_ =
+            com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
         } else {
           status_ = value;
         }
@@ -852,8 +783,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -873,8 +802,6 @@ public Builder clearStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -883,13 +810,11 @@ public Builder clearStatus() {
      * .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder getStatusBuilder() {
-
+      
       onChanged();
       return getStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -901,12 +826,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilder();
       } else {
-        return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+        return status_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : status_;
       }
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -915,21 +839,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * .google.rpc.Status status = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+        statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getStatus(),
+                getParentForChildren(),
+                isClean());
         status_ = null;
       }
       return statusBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -939,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobResult)
   private static final com.google.cloud.talent.v4.JobResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobResult();
   }
@@ -953,27 +877,27 @@ public static com.google.cloud.talent.v4.JobResult getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public JobResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public JobResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -988,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.JobResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
similarity index 79%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
index dd01c090ff91..3bfc9fabe97f 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface JobResultOrBuilder
-    extends
+public interface JobResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -34,13 +16,10 @@ public interface JobResultOrBuilder
    * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -49,13 +28,10 @@ public interface JobResultOrBuilder
    * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -68,34 +44,26 @@ public interface JobResultOrBuilder
   com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder();
 
   /**
-   *
-   *
    * 
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
new file mode 100644
index 000000000000..3be70ec46aa2
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
@@ -0,0 +1,428 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4/job_service.proto
+
+package com.google.cloud.talent.v4;
+
+public final class JobServiceProto {
+  private JobServiceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_GetJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_JobResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n(google/cloud/talent/v4/job_service.pro" +
+      "to\022\026google.cloud.talent.v4\032\034google/api/a" +
+      "nnotations.proto\032\027google/api/client.prot" +
+      "o\032\037google/api/field_behavior.proto\032\031goog" +
+      "le/api/resource.proto\032#google/cloud/tale" +
+      "nt/v4/common.proto\032$google/cloud/talent/" +
+      "v4/filters.proto\032&google/cloud/talent/v4" +
+      "/histogram.proto\032 google/cloud/talent/v4" +
+      "/job.proto\032#google/longrunning/operation" +
+      "s.proto\032\036google/protobuf/duration.proto\032" +
+      "\033google/protobuf/empty.proto\032 google/pro" +
+      "tobuf/field_mask.proto\032\027google/rpc/statu" +
+      "s.proto\"r\n\020CreateJobRequest\022/\n\006parent\030\001 " +
+      "\001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022-\n\003" +
+      "job\030\002 \001(\0132\033.google.cloud.talent.v4.JobB\003" +
+      "\340A\002\">\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372" +
+      "A\031\n\027jobs.googleapis.com/Job\"r\n\020UpdateJob" +
+      "Request\022-\n\003job\030\001 \001(\0132\033.google.cloud.tale" +
+      "nt.v4.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" +
+      "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" +
+      "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" +
+      "is.com/Job\"\261\001\n\017ListJobsRequest\022/\n\006parent" +
+      "\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022" +
+      "\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\npage_token\030\003 \001(\t" +
+      "\022\021\n\tpage_size\030\004 \001(\005\0221\n\010job_view\030\005 \001(\0162\037." +
+      "google.cloud.talent.v4.JobView\"\222\001\n\020ListJ" +
+      "obsResponse\022)\n\004jobs\030\001 \003(\0132\033.google.cloud" +
+      ".talent.v4.Job\022\027\n\017next_page_token\030\002 \001(\t\022" +
+      ":\n\010metadata\030\003 \001(\0132(.google.cloud.talent." +
+      "v4.ResponseMetadata\"\274\013\n\021SearchJobsReques" +
+      "t\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleap" +
+      "is.com/Job\022I\n\013search_mode\030\002 \001(\01624.google" +
+      ".cloud.talent.v4.SearchJobsRequest.Searc" +
+      "hMode\022F\n\020request_metadata\030\003 \001(\0132\'.google" +
+      ".cloud.talent.v4.RequestMetadataB\003\340A\002\0223\n" +
+      "\tjob_query\030\004 \001(\0132 .google.cloud.talent.v" +
+      "4.JobQuery\022\031\n\021enable_broadening\030\005 \001(\010\022A\n" +
+      "\021histogram_queries\030\007 \003(\0132&.google.cloud." +
+      "talent.v4.HistogramQuery\0221\n\010job_view\030\010 \001" +
+      "(\0162\037.google.cloud.talent.v4.JobView\022\016\n\006o" +
+      "ffset\030\t \001(\005\022\025\n\rmax_page_size\030\n \001(\005\022\022\n\npa" +
+      "ge_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t\022]\n\025dive" +
+      "rsification_level\030\r \001(\0162>.google.cloud.t" +
+      "alent.v4.SearchJobsRequest.Diversificati" +
+      "onLevel\022X\n\023custom_ranking_info\030\016 \001(\0132;.g" +
+      "oogle.cloud.talent.v4.SearchJobsRequest." +
+      "CustomRankingInfo\022!\n\025disable_keyword_mat" +
+      "ch\030\020 \001(\010B\002\030\001\022V\n\022keyword_match_mode\030\022 \001(\016" +
+      "2:.google.cloud.talent.v4.SearchJobsRequ" +
+      "est.KeywordMatchMode\032\225\002\n\021CustomRankingIn" +
+      "fo\022j\n\020importance_level\030\001 \001(\0162K.google.cl" +
+      "oud.talent.v4.SearchJobsRequest.CustomRa" +
+      "nkingInfo.ImportanceLevelB\003\340A\002\022\037\n\022rankin" +
+      "g_expression\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLev" +
+      "el\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004" +
+      "NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n" +
+      "\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SE" +
+      "ARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022" +
+      "\027\n\023FEATURED_JOB_SEARCH\020\002\"\245\001\n\024Diversifica" +
+      "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE" +
+      "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\022\023\n\017ON" +
+      "E_PER_COMPANY\020\003\022\023\n\017TWO_PER_COMPANY\020\004\022\"\n\036" +
+      "DIVERSIFY_BY_LOOSER_SIMILARITY\020\005\"\207\001\n\020Key" +
+      "wordMatchMode\022\"\n\036KEYWORD_MATCH_MODE_UNSP" +
+      "ECIFIED\020\000\022\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n" +
+      "\021KEYWORD_MATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TI" +
+      "TLE_ONLY\020\003\"\221\006\n\022SearchJobsResponse\022M\n\rmat" +
+      "ching_jobs\030\001 \003(\01326.google.cloud.talent.v" +
+      "4.SearchJobsResponse.MatchingJob\022M\n\027hist" +
+      "ogram_query_results\030\002 \003(\0132,.google.cloud" +
+      ".talent.v4.HistogramQueryResult\022\027\n\017next_" +
+      "page_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003" +
+      "(\0132 .google.cloud.talent.v4.Location\022\022\n\n" +
+      "total_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.goo" +
+      "gle.cloud.talent.v4.ResponseMetadata\022\"\n\032" +
+      "broadened_query_jobs_count\030\010 \001(\005\022D\n\020spel" +
+      "l_correction\030\t \001(\0132*.google.cloud.talent" +
+      ".v4.SpellingCorrection\032\322\001\n\013MatchingJob\022(" +
+      "\n\003job\030\001 \001(\0132\033.google.cloud.talent.v4.Job" +
+      "\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snipp" +
+      "et\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n" +
+      "\014commute_info\030\005 \001(\01326.google.cloud.talen" +
+      "t.v4.SearchJobsResponse.CommuteInfo\032y\n\013C" +
+      "ommuteInfo\0226\n\014job_location\030\001 \001(\0132 .googl" +
+      "e.cloud.talent.v4.Location\0222\n\017travel_dur" +
+      "ation\030\002 \001(\0132\031.google.protobuf.Duration\"y" +
+      "\n\026BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\t" +
+      "B\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004job" +
+      "s\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A" +
+      "\002\"\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001" +
+      " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n" +
+      "\004jobs\030\002 \003(\0132\033.google.cloud.talent.v4.Job" +
+      "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" +
+      "obuf.FieldMask\"y\n\026BatchDeleteJobsRequest" +
+      "\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapi" +
+      "s.com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.g" +
+      "oogleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 " +
+      "\001(\0132\033.google.cloud.talent.v4.Job\022\"\n\006stat" +
+      "us\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCre" +
+      "ateJobsResponse\0226\n\013job_results\030\001 \003(\0132!.g" +
+      "oogle.cloud.talent.v4.JobResult\"Q\n\027Batch" +
+      "UpdateJobsResponse\0226\n\013job_results\030\001 \003(\0132" +
+      "!.google.cloud.talent.v4.JobResult\"Q\n\027Ba" +
+      "tchDeleteJobsResponse\0226\n\013job_results\030\001 \003" +
+      "(\0132!.google.cloud.talent.v4.JobResult*v\n" +
+      "\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JO" +
+      "B_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022" +
+      "\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016" +
+      "\n\nJobService\022\224\001\n\tCreateJob\022(.google.clou" +
+      "d.talent.v4.CreateJobRequest\032\033.google.cl" +
+      "oud.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=p" +
+      "rojects/*/tenants/*}/jobs:\003job\332A\nparent," +
+      "job\022\341\001\n\017BatchCreateJobs\022..google.cloud.t" +
+      "alent.v4.BatchCreateJobsRequest\032\035.google" +
+      ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par" +
+      "ent=projects/*/tenants/*}/jobs:batchCrea" +
+      "te:\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsR" +
+      "esponse\022\026BatchOperationMetadata\022\203\001\n\006GetJ" +
+      "ob\022%.google.cloud.talent.v4.GetJobReques" +
+      "t\032\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&" +
+      "/v4/{name=projects/*/tenants/*/jobs/*}\332A" +
+      "\004name\022\235\001\n\tUpdateJob\022(.google.cloud.talen" +
+      "t.v4.UpdateJobRequest\032\033.google.cloud.tal" +
+      "ent.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projec" +
+      "ts/*/tenants/*/jobs/*}:\003job\332A\017job,update" +
+      "_mask\022\341\001\n\017BatchUpdateJobs\022..google.cloud" +
+      ".talent.v4.BatchUpdateJobsRequest\032\035.goog" +
+      "le.longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{p" +
+      "arent=projects/*/tenants/*}/jobs:batchUp" +
+      "date:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJob" +
+      "sResponse\022\026BatchOperationMetadata\022\204\001\n\tDe" +
+      "leteJob\022(.google.cloud.talent.v4.DeleteJ" +
+      "obRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002" +
+      "(*&/v4/{name=projects/*/tenants/*/jobs/*" +
+      "}\332A\004name\022\343\001\n\017BatchDeleteJobs\022..google.cl" +
+      "oud.talent.v4.BatchDeleteJobsRequest\032\035.g" +
+      "oogle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v" +
+      "4/{parent=projects/*/tenants/*}/jobs:bat" +
+      "chDelete:\001*\332A\014parent,names\312A1\n\027BatchDele" +
+      "teJobsResponse\022\026BatchOperationMetadata\022\235" +
+      "\001\n\010ListJobs\022\'.google.cloud.talent.v4.Lis" +
+      "tJobsRequest\032(.google.cloud.talent.v4.Li" +
+      "stJobsResponse\">\202\323\344\223\002(\022&/v4/{parent=proj" +
+      "ects/*/tenants/*}/jobs\332A\rparent,filter\022\235" +
+      "\001\n\nSearchJobs\022).google.cloud.talent.v4.S" +
+      "earchJobsRequest\032*.google.cloud.talent.v" +
+      "4.SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{paren" +
+      "t=projects/*/tenants/*}/jobs:search:\001*\022\255" +
+      "\001\n\022SearchJobsForAlert\022).google.cloud.tal" +
+      "ent.v4.SearchJobsRequest\032*.google.cloud." +
+      "talent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v" +
+      "4/{parent=projects/*/tenants/*}/jobs:sea" +
+      "rchForAlert:\001*\032l\312A\023jobs.googleapis.com\322A" +
+      "Shttps://www.googleapis.com/auth/cloud-p" +
+      "latform,https://www.googleapis.com/auth/" +
+      "jobsBs\n\032com.google.cloud.talent.v4B\017JobS" +
+      "erviceProtoP\001Z
  * An enum that specifies the job attributes that are returned in the
  * [MatchingJob.job][google.cloud.talent.v4.SearchJobsResponse.MatchingJob.job] or
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.JobView}
  */
-public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +23,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ JOB_VIEW_UNSPECIFIED(0), /** - * - * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.Job.language_code].
@@ -52,8 +32,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_ID_ONLY(1),
   /**
-   *
-   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -64,8 +42,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_MINIMAL(2),
   /**
-   *
-   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -77,8 +53,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_SMALL(3),
   /**
-   *
-   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -90,8 +64,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value.
    * 
@@ -100,8 +72,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.Job.language_code].
@@ -111,8 +81,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_ID_ONLY_VALUE = 1;
   /**
-   *
-   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -123,8 +91,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_MINIMAL_VALUE = 2;
   /**
-   *
-   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -136,8 +102,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_SMALL_VALUE = 3;
   /**
-   *
-   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -146,6 +110,7 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_VIEW_FULL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,53 +135,51 @@ public static JobView valueOf(int value) { */ public static JobView forNumber(int value) { switch (value) { - case 0: - return JOB_VIEW_UNSPECIFIED; - case 1: - return JOB_VIEW_ID_ONLY; - case 2: - return JOB_VIEW_MINIMAL; - case 3: - return JOB_VIEW_SMALL; - case 4: - return JOB_VIEW_FULL; - default: - return null; + case 0: return JOB_VIEW_UNSPECIFIED; + case 1: return JOB_VIEW_ID_ONLY; + case 2: return JOB_VIEW_MINIMAL; + case 3: return JOB_VIEW_SMALL; + case 4: return JOB_VIEW_FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobView findValueByNumber(int number) { - return JobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + JobView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobView findValueByNumber(int number) { + return JobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.JobServiceProto.getDescriptor().getEnumTypes().get(0); } private static final JobView[] VALUES = values(); - public static JobView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobView valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,3 +195,4 @@ private JobView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobView) } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java similarity index 68% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java index e7609cbc9c28..107c55c52950 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * List companies for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesRequest} */ -public final class ListCompaniesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompaniesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListCompaniesRequest) ListCompaniesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompaniesRequest.newBuilder() to construct. private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,39 @@ private ListCompaniesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompaniesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesRequest.class, - com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4.ListCompaniesRequest.class, com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,14 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -144,29 +115,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -177,15 +148,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -196,8 +164,6 @@ public int getPageSize() { public static final int REQUIRE_OPEN_JOBS_FIELD_NUMBER = 4; private boolean requireOpenJobs_; /** - * - * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -206,7 +172,6 @@ public int getPageSize() {
    * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ @java.lang.Override @@ -215,7 +180,6 @@ public boolean getRequireOpenJobs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -256,10 +221,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (requireOpenJobs_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, requireOpenJobs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, requireOpenJobs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,18 +236,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListCompaniesRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListCompaniesRequest other = - (com.google.cloud.talent.v4.ListCompaniesRequest) obj; + com.google.cloud.talent.v4.ListCompaniesRequest other = (com.google.cloud.talent.v4.ListCompaniesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (getRequireOpenJobs() + != other.getRequireOpenJobs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,142 +269,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + REQUIRE_OPEN_JOBS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireOpenJobs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequireOpenJobs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ListCompaniesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List companies for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListCompaniesRequest) com.google.cloud.talent.v4.ListCompaniesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesRequest.class, - com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4.ListCompaniesRequest.class, com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListCompaniesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override @@ -471,8 +436,7 @@ public com.google.cloud.talent.v4.ListCompaniesRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListCompaniesRequest buildPartial() { - com.google.cloud.talent.v4.ListCompaniesRequest result = - new com.google.cloud.talent.v4.ListCompaniesRequest(this); + com.google.cloud.talent.v4.ListCompaniesRequest result = new com.google.cloud.talent.v4.ListCompaniesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -485,39 +449,38 @@ public com.google.cloud.talent.v4.ListCompaniesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListCompaniesRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListCompaniesRequest) other); + return mergeFrom((com.google.cloud.talent.v4.ListCompaniesRequest)other); } else { super.mergeFrom(other); return this; @@ -525,8 +488,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesRequest other) { - if (other == com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -567,37 +529,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - case 32: - { - requireOpenJobs_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 32: { + requireOpenJobs_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,24 +567,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -636,25 +589,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -662,73 +612,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -736,20 +673,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -758,21 +693,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -780,77 +714,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -858,47 +782,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - private boolean requireOpenJobs_; + private boolean requireOpenJobs_ ; /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -907,7 +823,6 @@ public Builder clearPageSize() {
      * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ @java.lang.Override @@ -915,8 +830,6 @@ public boolean getRequireOpenJobs() { return requireOpenJobs_; } /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -925,19 +838,16 @@ public boolean getRequireOpenJobs() {
      * 
* * bool require_open_jobs = 4; - * * @param value The requireOpenJobs to set. * @return This builder for chaining. */ public Builder setRequireOpenJobs(boolean value) { - + requireOpenJobs_ = value; onChanged(); return this; } /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -946,18 +856,17 @@ public Builder setRequireOpenJobs(boolean value) {
      * 
* * bool require_open_jobs = 4; - * * @return This builder for chaining. */ public Builder clearRequireOpenJobs() { - + requireOpenJobs_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -967,12 +876,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListCompaniesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListCompaniesRequest) private static final com.google.cloud.talent.v4.ListCompaniesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListCompaniesRequest(); } @@ -981,27 +890,27 @@ public static com.google.cloud.talent.v4.ListCompaniesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompaniesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompaniesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,4 +925,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListCompaniesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java index c7127abdb10e..0e6504744a7e 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java @@ -1,103 +1,68 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; -public interface ListCompaniesRequestOrBuilder - extends +public interface ListCompaniesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListCompaniesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -106,7 +71,6 @@ public interface ListCompaniesRequestOrBuilder
    * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ boolean getRequireOpenJobs(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java index a4e51a38917d..0a8501379a65 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The List companies response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesResponse} */ -public final class ListCompaniesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompaniesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListCompaniesResponse) ListCompaniesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompaniesResponse.newBuilder() to construct. private ListCompaniesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompaniesResponse() { companies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListCompaniesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompaniesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesResponse.class, - com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4.ListCompaniesResponse.class, com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); } public static final int COMPANIES_FIELD_NUMBER = 1; private java.util.List companies_; /** - * - * *
    * Companies for the current client.
    * 
@@ -84,8 +63,6 @@ public java.util.List getCompaniesList() { return companies_; } /** - * - * *
    * Companies for the current client.
    * 
@@ -93,13 +70,11 @@ public java.util.List getCompaniesList() { * repeated .google.cloud.talent.v4.Company companies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompaniesOrBuilderList() { return companies_; } /** - * - * *
    * Companies for the current client.
    * 
@@ -111,8 +86,6 @@ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
    * Companies for the current client.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { return companies_.get(index); } /** - * - * *
    * Companies for the current client.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { * repeated .google.cloud.talent.v4.Company companies = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index) { + public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( + int index) { return companies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -189,15 +158,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -205,26 +171,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -238,7 +197,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +208,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < companies_.size(); i++) {
       output.writeMessage(1, companies_.get(i));
     }
@@ -270,13 +229,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < companies_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, companies_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, companies_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +247,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListCompaniesResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListCompaniesResponse other =
-        (com.google.cloud.talent.v4.ListCompaniesResponse) obj;
+    com.google.cloud.talent.v4.ListCompaniesResponse other = (com.google.cloud.talent.v4.ListCompaniesResponse) obj;
 
-    if (!getCompaniesList().equals(other.getCompaniesList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getCompaniesList()
+        .equals(other.getCompaniesList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -326,136 +289,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.ListCompaniesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The List companies response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListCompaniesResponse) com.google.cloud.talent.v4.ListCompaniesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesResponse.class, - com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4.ListCompaniesResponse.class, com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListCompaniesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.cloud.talent.v4.ListCompaniesResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListCompaniesResponse buildPartial() { - com.google.cloud.talent.v4.ListCompaniesResponse result = - new com.google.cloud.talent.v4.ListCompaniesResponse(this); + com.google.cloud.talent.v4.ListCompaniesResponse result = new com.google.cloud.talent.v4.ListCompaniesResponse(this); int from_bitField0_ = bitField0_; if (companiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +481,38 @@ public com.google.cloud.talent.v4.ListCompaniesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListCompaniesResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListCompaniesResponse) other); + return mergeFrom((com.google.cloud.talent.v4.ListCompaniesResponse)other); } else { super.mergeFrom(other); return this; @@ -565,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesResponse other) { - if (other == com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance()) return this; if (companiesBuilder_ == null) { if (!other.companies_.isEmpty()) { if (companies_.isEmpty()) { @@ -585,10 +539,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesResponse other) companiesBuilder_ = null; companies_ = other.companies_; bitField0_ = (bitField0_ & ~0x00000001); - companiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompaniesFieldBuilder() - : null; + companiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompaniesFieldBuilder() : null; } else { companiesBuilder_.addAllMessages(other.companies_); } @@ -627,38 +580,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.Company m = - input.readMessage( - com.google.cloud.talent.v4.Company.parser(), extensionRegistry); - if (companiesBuilder_ == null) { - ensureCompaniesIsMutable(); - companies_.add(m); - } else { - companiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4.Company m = + input.readMessage( + com.google.cloud.talent.v4.Company.parser(), + extensionRegistry); + if (companiesBuilder_ == null) { + ensureCompaniesIsMutable(); + companies_.add(m); + } else { + companiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -668,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List companies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> - companiesBuilder_; + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companiesBuilder_; /** - * - * *
      * Companies for the current client.
      * 
@@ -704,8 +649,6 @@ public java.util.List getCompaniesList() { } } /** - * - * *
      * Companies for the current client.
      * 
@@ -720,8 +663,6 @@ public int getCompaniesCount() { } } /** - * - * *
      * Companies for the current client.
      * 
@@ -736,15 +677,14 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { } } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder setCompanies(int index, com.google.cloud.talent.v4.Company value) { + public Builder setCompanies( + int index, com.google.cloud.talent.v4.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -758,8 +698,6 @@ public Builder setCompanies(int index, com.google.cloud.talent.v4.Company value) return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -778,8 +716,6 @@ public Builder setCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -800,15 +736,14 @@ public Builder addCompanies(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder addCompanies(int index, com.google.cloud.talent.v4.Company value) { + public Builder addCompanies( + int index, com.google.cloud.talent.v4.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -822,15 +757,14 @@ public Builder addCompanies(int index, com.google.cloud.talent.v4.Company value) return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder addCompanies(com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder addCompanies( + com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); companies_.add(builderForValue.build()); @@ -841,8 +775,6 @@ public Builder addCompanies(com.google.cloud.talent.v4.Company.Builder builderFo return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -861,8 +793,6 @@ public Builder addCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -873,7 +803,8 @@ public Builder addAllCompanies( java.lang.Iterable values) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companies_); onChanged(); } else { companiesBuilder_.addAllMessages(values); @@ -881,8 +812,6 @@ public Builder addAllCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -900,8 +829,6 @@ public Builder clearCompanies() { return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -919,44 +846,39 @@ public Builder removeCompanies(int index) { return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.Company.Builder getCompaniesBuilder(int index) { + public com.google.cloud.talent.v4.Company.Builder getCompaniesBuilder( + int index) { return getCompaniesFieldBuilder().getBuilder(index); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index) { + public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( + int index) { if (companiesBuilder_ == null) { - return companies_.get(index); - } else { + return companies_.get(index); } else { return companiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public java.util.List - getCompaniesOrBuilderList() { + public java.util.List + getCompaniesOrBuilderList() { if (companiesBuilder_ != null) { return companiesBuilder_.getMessageOrBuilderList(); } else { @@ -964,8 +886,6 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int ind } } /** - * - * *
      * Companies for the current client.
      * 
@@ -973,47 +893,42 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int ind * repeated .google.cloud.talent.v4.Company companies = 1; */ public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder() { - return getCompaniesFieldBuilder() - .addBuilder(com.google.cloud.talent.v4.Company.getDefaultInstance()); + return getCompaniesFieldBuilder().addBuilder( + com.google.cloud.talent.v4.Company.getDefaultInstance()); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder(int index) { - return getCompaniesFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.Company.getDefaultInstance()); + public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder( + int index) { + return getCompaniesFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.Company.getDefaultInstance()); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public java.util.List getCompaniesBuilderList() { + public java.util.List + getCompaniesBuilderList() { return getCompaniesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> getCompaniesFieldBuilder() { if (companiesBuilder_ == null) { - companiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder>( - companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + companiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( + companies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); companies_ = null; } return companiesBuilder_; @@ -1021,20 +936,18 @@ public java.util.List getCompaniesBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1043,21 +956,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1065,61 +977,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1127,49 +1032,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1191,8 +1083,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1212,8 +1102,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1225,9 +1113,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1239,8 +1125,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1260,8 +1144,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1270,13 +1152,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1288,14 +1168,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1304,24 +1181,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1331,12 +1205,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListCompaniesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListCompaniesResponse)
   private static final com.google.cloud.talent.v4.ListCompaniesResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListCompaniesResponse();
   }
@@ -1345,27 +1219,27 @@ public static com.google.cloud.talent.v4.ListCompaniesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListCompaniesResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListCompaniesResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1380,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListCompaniesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
index 6abbb5f8065e..215d721b5e75 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListCompaniesResponseOrBuilder
-    extends
+public interface ListCompaniesResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListCompaniesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - java.util.List getCompaniesList(); + java.util.List + getCompaniesList(); /** - * - * *
    * Companies for the current client.
    * 
@@ -44,8 +25,6 @@ public interface ListCompaniesResponseOrBuilder */ com.google.cloud.talent.v4.Company getCompanies(int index); /** - * - * *
    * Companies for the current client.
    * 
@@ -54,80 +33,65 @@ public interface ListCompaniesResponseOrBuilder */ int getCompaniesCount(); /** - * - * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - java.util.List getCompaniesOrBuilderList(); + java.util.List + getCompaniesOrBuilderList(); /** - * - * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index); + com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
similarity index 74%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
index e3696731e56e..9fa913067d8c 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsRequest} */ -public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListJobsRequest) ListJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsRequest() { parent_ = ""; filter_ = ""; @@ -46,45 +28,39 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsRequest.class, - com.google.cloud.talent.v4.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4.ListJobsRequest.class, com.google.cloud.talent.v4.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,33 +69,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,8 +104,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -153,7 +125,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -162,15 +133,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -192,15 +162,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -211,14 +182,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -227,29 +195,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -260,8 +228,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -270,7 +236,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -281,8 +246,6 @@ public int getPageSize() { public static final int JOB_VIEW_FIELD_NUMBER = 5; private int jobView_; /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -290,16 +253,12 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -307,19 +266,15 @@ public int getJobViewValue() {
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The jobView. */ - @java.lang.Override - public com.google.cloud.talent.v4.JobView getJobView() { + @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = - com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,7 +286,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (jobView_ != com.google.cloud.talent.v4.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, jobView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, jobView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -379,18 +337,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListJobsRequest other = - (com.google.cloud.talent.v4.ListJobsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + com.google.cloud.talent.v4.ListJobsRequest other = (com.google.cloud.talent.v4.ListJobsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (jobView_ != other.jobView_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -418,136 +379,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListJobsRequest) com.google.cloud.talent.v4.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsRequest.class, - com.google.cloud.talent.v4.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4.ListJobsRequest.class, com.google.cloud.talent.v4.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -565,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override @@ -586,8 +541,7 @@ public com.google.cloud.talent.v4.ListJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListJobsRequest buildPartial() { - com.google.cloud.talent.v4.ListJobsRequest result = - new com.google.cloud.talent.v4.ListJobsRequest(this); + com.google.cloud.talent.v4.ListJobsRequest result = new com.google.cloud.talent.v4.ListJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageToken_ = pageToken_; @@ -601,39 +555,38 @@ public com.google.cloud.talent.v4.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.ListJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -686,43 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 40: - { - jobView_ = input.readEnum(); + break; + } // case 32 + case 40: { + jobView_ = input.readEnum(); - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,24 +682,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -761,25 +704,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -787,73 +727,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -861,8 +788,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -884,13 +809,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -899,8 +824,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -922,14 +845,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -937,8 +861,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -960,22 +882,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -997,18 +917,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -1030,16 +947,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1047,20 +964,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1069,21 +984,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1091,70 +1005,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1163,7 +1068,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1171,8 +1075,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1181,19 +1083,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1202,11 +1101,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1214,8 +1112,6 @@ public Builder clearPageSize() { private int jobView_ = 0; /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1223,16 +1119,12 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1240,19 +1132,16 @@ public int getJobViewValue() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1260,19 +1149,15 @@ public Builder setJobViewValue(int value) {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = - com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1280,7 +1165,6 @@ public com.google.cloud.talent.v4.JobView getJobView() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @param value The jobView to set. * @return This builder for chaining. */ @@ -1288,14 +1172,12 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1303,18 +1185,17 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1324,12 +1205,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListJobsRequest) private static final com.google.cloud.talent.v4.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListJobsRequest(); } @@ -1338,27 +1219,27 @@ public static com.google.cloud.talent.v4.ListJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1373,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java index 75a2e0cba763..2fbd7a0a0985 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -80,13 +53,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -108,39 +78,32 @@ public interface ListJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -149,14 +112,11 @@ public interface ListJobsRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -164,13 +124,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -178,7 +135,6 @@ public interface ListJobsRequestOrBuilder
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The jobView. */ com.google.cloud.talent.v4.JobView getJobView(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java index 954a04f7e2d0..c6f25a6b6b48 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsResponse} */ -public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListJobsResponse) ListJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsResponse.class, - com.google.cloud.talent.v4.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4.ListJobsResponse.class, com.google.cloud.talent.v4.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -86,8 +65,6 @@ public java.util.List getJobsList() {
     return jobs_;
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -97,12 +74,11 @@ public java.util.List getJobsList() {
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
   @java.lang.Override
-  public java.util.List getJobsOrBuilderList() {
+  public java.util.List 
+      getJobsOrBuilderList() {
     return jobs_;
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -116,8 +92,6 @@ public int getJobsCount() {
     return jobs_.size();
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -131,8 +105,6 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
     return jobs_.get(index);
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -142,21 +114,19 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
+  public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
+      int index) {
     return jobs_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -165,29 +135,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -198,15 +168,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -214,26 +181,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -247,7 +207,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -259,7 +218,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobs_.size(); i++) {
       output.writeMessage(1, jobs_.get(i));
     }
@@ -279,13 +239,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobs_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -295,19 +257,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListJobsResponse other =
-        (com.google.cloud.talent.v4.ListJobsResponse) obj;
+    com.google.cloud.talent.v4.ListJobsResponse other = (com.google.cloud.talent.v4.ListJobsResponse) obj;
 
-    if (!getJobsList().equals(other.getJobsList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getJobsList()
+        .equals(other.getJobsList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -335,136 +299,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.ListJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * List jobs response.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListJobsResponse) com.google.cloud.talent.v4.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsResponse.class, - com.google.cloud.talent.v4.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4.ListJobsResponse.class, com.google.cloud.talent.v4.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override @@ -508,8 +466,7 @@ public com.google.cloud.talent.v4.ListJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListJobsResponse buildPartial() { - com.google.cloud.talent.v4.ListJobsResponse result = - new com.google.cloud.talent.v4.ListJobsResponse(this); + com.google.cloud.talent.v4.ListJobsResponse result = new com.google.cloud.talent.v4.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -534,39 +491,38 @@ public com.google.cloud.talent.v4.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListJobsResponse) other); + return mergeFrom((com.google.cloud.talent.v4.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -593,10 +549,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListJobsResponse other) { jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -635,37 +590,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.Job m = - input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4.Job m = + input.readMessage( + com.google.cloud.talent.v4.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,28 +630,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; /** - * - * *
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -713,8 +661,6 @@ public java.util.List getJobsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -731,8 +677,6 @@ public int getJobsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -749,8 +693,6 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -759,7 +701,8 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) {
+    public Builder setJobs(
+        int index, com.google.cloud.talent.v4.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -773,8 +716,6 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -783,7 +724,8 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder setJobs(
+        int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.set(index, builderForValue.build());
@@ -794,8 +736,6 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -818,8 +758,6 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -828,7 +766,8 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) {
+    public Builder addJobs(
+        int index, com.google.cloud.talent.v4.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -842,8 +781,6 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -852,7 +789,8 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder addJobs(
+        com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(builderForValue.build());
@@ -863,8 +801,6 @@ public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -873,7 +809,8 @@ public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder addJobs(
+        int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(index, builderForValue.build());
@@ -884,8 +821,6 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -894,10 +829,12 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builder
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addAllJobs(java.lang.Iterable values) {
+    public Builder addAllJobs(
+        java.lang.Iterable values) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobs_);
         onChanged();
       } else {
         jobsBuilder_.addAllMessages(values);
@@ -905,8 +842,6 @@ public Builder addAllJobs(java.lang.Iterable
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -926,8 +861,6 @@ public Builder clearJobs() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -947,8 +880,6 @@ public Builder removeJobs(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -957,12 +888,11 @@ public Builder removeJobs(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) {
+    public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(
+        int index) {
       return getJobsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -971,16 +901,14 @@ public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
+        int index) {
       if (jobsBuilder_ == null) {
-        return jobs_.get(index);
-      } else {
+        return jobs_.get(index);  } else {
         return jobsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -989,8 +917,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public java.util.List
-        getJobsOrBuilderList() {
+    public java.util.List 
+         getJobsOrBuilderList() {
       if (jobsBuilder_ != null) {
         return jobsBuilder_.getMessageOrBuilderList();
       } else {
@@ -998,8 +926,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1009,11 +935,10 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
     public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() {
-      return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance());
+      return getJobsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.Job.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1022,13 +947,12 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) {
-      return getJobsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance());
+    public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
+        int index) {
+      return getJobsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.Job.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1037,22 +961,20 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public java.util.List getJobsBuilderList() {
+    public java.util.List 
+         getJobsBuilderList() {
       return getJobsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.Job,
-            com.google.cloud.talent.v4.Job.Builder,
-            com.google.cloud.talent.v4.JobOrBuilder>
+        com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> 
         getJobsFieldBuilder() {
       if (jobsBuilder_ == null) {
-        jobsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.Job,
-                com.google.cloud.talent.v4.Job.Builder,
-                com.google.cloud.talent.v4.JobOrBuilder>(
-                jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>(
+                jobs_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobs_ = null;
       }
       return jobsBuilder_;
@@ -1060,20 +982,18 @@ public java.util.List getJobsBuilderList
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1082,21 +1002,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1104,61 +1023,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1166,49 +1078,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1230,8 +1129,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1251,8 +1148,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1264,9 +1159,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1278,8 +1171,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1299,8 +1190,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1309,13 +1198,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1327,14 +1214,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1343,24 +1227,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1370,12 +1251,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListJobsResponse)
   private static final com.google.cloud.talent.v4.ListJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListJobsResponse();
   }
@@ -1384,27 +1265,27 @@ public static com.google.cloud.talent.v4.ListJobsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1419,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
similarity index 74%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
index e352eb1e6790..0cd79b8ce094 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListJobsResponseOrBuilder
-    extends
+public interface ListJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -34,10 +16,9 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  java.util.List getJobsList();
+  java.util.List 
+      getJobsList();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -48,8 +29,6 @@ public interface ListJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4.Job getJobs(int index);
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -60,8 +39,6 @@ public interface ListJobsResponseOrBuilder
    */
   int getJobsCount();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -70,10 +47,9 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  java.util.List getJobsOrBuilderList();
+  java.util.List 
+      getJobsOrBuilderList();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -82,62 +58,50 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index);
+  com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
similarity index 66%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
index 623be2b632fd..8c31d0416296 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * List tenants for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsRequest} */ -public final class ListTenantsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTenantsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListTenantsRequest) ListTenantsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTenantsRequest.newBuilder() to construct. private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,39 @@ private ListTenantsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTenantsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsRequest.class, - com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4.ListTenantsRequest.class, com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,14 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -144,29 +115,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -177,15 +148,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -194,7 +162,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -232,7 +200,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -242,17 +211,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListTenantsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListTenantsRequest other = - (com.google.cloud.talent.v4.ListTenantsRequest) obj; + com.google.cloud.talent.v4.ListTenantsRequest other = (com.google.cloud.talent.v4.ListTenantsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,136 +246,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ListTenantsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List tenants for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListTenantsRequest) com.google.cloud.talent.v4.ListTenantsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsRequest.class, - com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4.ListTenantsRequest.class, com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListTenantsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override @@ -439,8 +404,7 @@ public com.google.cloud.talent.v4.ListTenantsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListTenantsRequest buildPartial() { - com.google.cloud.talent.v4.ListTenantsRequest result = - new com.google.cloud.talent.v4.ListTenantsRequest(this); + com.google.cloud.talent.v4.ListTenantsRequest result = new com.google.cloud.talent.v4.ListTenantsRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -452,39 +416,38 @@ public com.google.cloud.talent.v4.ListTenantsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListTenantsRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListTenantsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.ListTenantsRequest)other); } else { super.mergeFrom(other); return this; @@ -530,31 +493,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,24 +526,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -593,25 +548,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -619,73 +571,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -693,20 +632,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -715,21 +652,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -737,77 +673,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -815,45 +741,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -863,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListTenantsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListTenantsRequest) private static final com.google.cloud.talent.v4.ListTenantsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListTenantsRequest(); } @@ -877,27 +797,27 @@ public static com.google.cloud.talent.v4.ListTenantsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTenantsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTenantsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -912,4 +832,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListTenantsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java similarity index 56% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java index b0e0d61fb9aa..a542bdf48248 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java @@ -1,96 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; -public interface ListTenantsRequestOrBuilder - extends +public interface ListTenantsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListTenantsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java index ff7558059e92..e14a057a9750 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The List tenants response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsResponse} */ -public final class ListTenantsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTenantsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListTenantsResponse) ListTenantsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTenantsResponse.newBuilder() to construct. private ListTenantsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTenantsResponse() { tenants_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListTenantsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTenantsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsResponse.class, - com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4.ListTenantsResponse.class, com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); } public static final int TENANTS_FIELD_NUMBER = 1; private java.util.List tenants_; /** - * - * *
    * Tenants for the current client.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTenantsList() { return tenants_; } /** - * - * *
    * Tenants for the current client.
    * 
@@ -93,13 +70,11 @@ public java.util.List getTenantsList() { * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTenantsOrBuilderList() { return tenants_; } /** - * - * *
    * Tenants for the current client.
    * 
@@ -111,8 +86,6 @@ public int getTenantsCount() { return tenants_.size(); } /** - * - * *
    * Tenants for the current client.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { return tenants_.get(index); } /** - * - * *
    * Tenants for the current client.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) { + public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( + int index) { return tenants_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -189,15 +158,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -205,26 +171,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -238,7 +197,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +208,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < tenants_.size(); i++) {
       output.writeMessage(1, tenants_.get(i));
     }
@@ -270,13 +229,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < tenants_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tenants_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, tenants_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +247,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListTenantsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListTenantsResponse other =
-        (com.google.cloud.talent.v4.ListTenantsResponse) obj;
+    com.google.cloud.talent.v4.ListTenantsResponse other = (com.google.cloud.talent.v4.ListTenantsResponse) obj;
 
-    if (!getTenantsList().equals(other.getTenantsList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getTenantsList()
+        .equals(other.getTenantsList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -326,136 +289,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.ListTenantsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The List tenants response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListTenantsResponse) com.google.cloud.talent.v4.ListTenantsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsResponse.class, - com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4.ListTenantsResponse.class, com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListTenantsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.cloud.talent.v4.ListTenantsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListTenantsResponse buildPartial() { - com.google.cloud.talent.v4.ListTenantsResponse result = - new com.google.cloud.talent.v4.ListTenantsResponse(this); + com.google.cloud.talent.v4.ListTenantsResponse result = new com.google.cloud.talent.v4.ListTenantsResponse(this); int from_bitField0_ = bitField0_; if (tenantsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +481,38 @@ public com.google.cloud.talent.v4.ListTenantsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListTenantsResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListTenantsResponse) other); + return mergeFrom((com.google.cloud.talent.v4.ListTenantsResponse)other); } else { super.mergeFrom(other); return this; @@ -584,10 +539,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListTenantsResponse other) { tenantsBuilder_ = null; tenants_ = other.tenants_; bitField0_ = (bitField0_ & ~0x00000001); - tenantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTenantsFieldBuilder() - : null; + tenantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTenantsFieldBuilder() : null; } else { tenantsBuilder_.addAllMessages(other.tenants_); } @@ -626,38 +580,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.Tenant m = - input.readMessage( - com.google.cloud.talent.v4.Tenant.parser(), extensionRegistry); - if (tenantsBuilder_ == null) { - ensureTenantsIsMutable(); - tenants_.add(m); - } else { - tenantsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4.Tenant m = + input.readMessage( + com.google.cloud.talent.v4.Tenant.parser(), + extensionRegistry); + if (tenantsBuilder_ == null) { + ensureTenantsIsMutable(); + tenants_.add(m); + } else { + tenantsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -667,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List tenants_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTenantsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> - tenantsBuilder_; + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantsBuilder_; /** - * - * *
      * Tenants for the current client.
      * 
@@ -703,8 +649,6 @@ public java.util.List getTenantsList() { } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -719,8 +663,6 @@ public int getTenantsCount() { } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -735,15 +677,14 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { } } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder setTenants(int index, com.google.cloud.talent.v4.Tenant value) { + public Builder setTenants( + int index, com.google.cloud.talent.v4.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,8 +698,6 @@ public Builder setTenants(int index, com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -777,8 +716,6 @@ public Builder setTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -799,15 +736,14 @@ public Builder addTenants(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder addTenants(int index, com.google.cloud.talent.v4.Tenant value) { + public Builder addTenants( + int index, com.google.cloud.talent.v4.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -821,15 +757,14 @@ public Builder addTenants(int index, com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder addTenants(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder addTenants( + com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); tenants_.add(builderForValue.build()); @@ -840,8 +775,6 @@ public Builder addTenants(com.google.cloud.talent.v4.Tenant.Builder builderForVa return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -860,8 +793,6 @@ public Builder addTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -872,7 +803,8 @@ public Builder addAllTenants( java.lang.Iterable values) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tenants_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tenants_); onChanged(); } else { tenantsBuilder_.addAllMessages(values); @@ -880,8 +812,6 @@ public Builder addAllTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -899,8 +829,6 @@ public Builder clearTenants() { return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -918,44 +846,39 @@ public Builder removeTenants(int index) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.Tenant.Builder getTenantsBuilder(int index) { + public com.google.cloud.talent.v4.Tenant.Builder getTenantsBuilder( + int index) { return getTenantsFieldBuilder().getBuilder(index); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) { + public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( + int index) { if (tenantsBuilder_ == null) { - return tenants_.get(index); - } else { + return tenants_.get(index); } else { return tenantsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public java.util.List - getTenantsOrBuilderList() { + public java.util.List + getTenantsOrBuilderList() { if (tenantsBuilder_ != null) { return tenantsBuilder_.getMessageOrBuilderList(); } else { @@ -963,8 +886,6 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -972,47 +893,42 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder() { - return getTenantsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4.Tenant.getDefaultInstance()); + return getTenantsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.Tenant.getDefaultInstance()); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder(int index) { - return getTenantsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.Tenant.getDefaultInstance()); + public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder( + int index) { + return getTenantsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.Tenant.getDefaultInstance()); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public java.util.List getTenantsBuilderList() { + public java.util.List + getTenantsBuilderList() { return getTenantsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> getTenantsFieldBuilder() { if (tenantsBuilder_ == null) { - tenantsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder>( - tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tenantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( + tenants_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tenants_ = null; } return tenantsBuilder_; @@ -1020,20 +936,18 @@ public java.util.List getTenantsBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1042,21 +956,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1064,61 +977,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1126,49 +1032,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1190,8 +1083,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1211,8 +1102,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1224,9 +1113,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1238,8 +1125,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1259,8 +1144,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1269,13 +1152,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1287,14 +1168,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1303,24 +1181,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1330,12 +1205,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListTenantsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListTenantsResponse)
   private static final com.google.cloud.talent.v4.ListTenantsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListTenantsResponse();
   }
@@ -1344,27 +1219,27 @@ public static com.google.cloud.talent.v4.ListTenantsResponse getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListTenantsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListTenantsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1379,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListTenantsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
index 0cc6d7270367..360d115001e3 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListTenantsResponseOrBuilder
-    extends
+public interface ListTenantsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListTenantsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - java.util.List getTenantsList(); + java.util.List + getTenantsList(); /** - * - * *
    * Tenants for the current client.
    * 
@@ -44,8 +25,6 @@ public interface ListTenantsResponseOrBuilder */ com.google.cloud.talent.v4.Tenant getTenants(int index); /** - * - * *
    * Tenants for the current client.
    * 
@@ -54,80 +33,65 @@ public interface ListTenantsResponseOrBuilder */ int getTenantsCount(); /** - * - * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - java.util.List getTenantsOrBuilderList(); + java.util.List + getTenantsOrBuilderList(); /** - * - * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index); + com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
similarity index 75%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
index 05309c61ffa7..d0fd24c22a0f 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
@@ -1,85 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * A resource that represents a location with full geographic information.
  * 
* * Protobuf type {@code google.cloud.talent.v4.Location} */ -public final class Location extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Location extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Location) LocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Location() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Location.class, - com.google.cloud.talent.v4.Location.Builder.class); + com.google.cloud.talent.v4.Location.class, com.google.cloud.talent.v4.Location.Builder.class); } /** - * - * *
    * An enum which represents the type of a location.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.Location.LocationType} */ - public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value if the type isn't specified.
      * 
@@ -88,8 +66,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * A country level location.
      * 
@@ -98,8 +74,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ COUNTRY(1), /** - * - * *
      * A state or equivalent level location.
      * 
@@ -108,8 +82,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ ADMINISTRATIVE_AREA(2), /** - * - * *
      * A county or equivalent level location.
      * 
@@ -118,8 +90,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_ADMINISTRATIVE_AREA(3), /** - * - * *
      * A city or equivalent level location.
      * 
@@ -128,8 +98,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCALITY(4), /** - * - * *
      * A postal code level location.
      * 
@@ -138,8 +106,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ POSTAL_CODE(5), /** - * - * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -152,8 +118,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUB_LOCALITY(6),
     /**
-     *
-     *
      * 
      * A district or equivalent level location.
      * 
@@ -162,8 +126,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_LOCALITY_1(7), /** - * - * *
      * A smaller district or equivalent level display.
      * 
@@ -172,8 +134,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_LOCALITY_2(8), /** - * - * *
      * A neighborhood level location.
      * 
@@ -182,8 +142,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ NEIGHBORHOOD(9), /** - * - * *
      * A street address level location.
      * 
@@ -195,8 +153,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value if the type isn't specified.
      * 
@@ -205,8 +161,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A country level location.
      * 
@@ -215,8 +169,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COUNTRY_VALUE = 1; /** - * - * *
      * A state or equivalent level location.
      * 
@@ -225,8 +177,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADMINISTRATIVE_AREA_VALUE = 2; /** - * - * *
      * A county or equivalent level location.
      * 
@@ -235,8 +185,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_ADMINISTRATIVE_AREA_VALUE = 3; /** - * - * *
      * A city or equivalent level location.
      * 
@@ -245,8 +193,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCALITY_VALUE = 4; /** - * - * *
      * A postal code level location.
      * 
@@ -255,8 +201,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTAL_CODE_VALUE = 5; /** - * - * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -269,8 +213,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUB_LOCALITY_VALUE = 6;
     /**
-     *
-     *
      * 
      * A district or equivalent level location.
      * 
@@ -279,8 +221,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_LOCALITY_1_VALUE = 7; /** - * - * *
      * A smaller district or equivalent level display.
      * 
@@ -289,8 +229,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_LOCALITY_2_VALUE = 8; /** - * - * *
      * A neighborhood level location.
      * 
@@ -299,8 +237,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEIGHBORHOOD_VALUE = 9; /** - * - * *
      * A street address level location.
      * 
@@ -309,6 +245,7 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STREET_ADDRESS_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -333,65 +270,57 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: - return LOCATION_TYPE_UNSPECIFIED; - case 1: - return COUNTRY; - case 2: - return ADMINISTRATIVE_AREA; - case 3: - return SUB_ADMINISTRATIVE_AREA; - case 4: - return LOCALITY; - case 5: - return POSTAL_CODE; - case 6: - return SUB_LOCALITY; - case 7: - return SUB_LOCALITY_1; - case 8: - return SUB_LOCALITY_2; - case 9: - return NEIGHBORHOOD; - case 10: - return STREET_ADDRESS; - default: - return null; + case 0: return LOCATION_TYPE_UNSPECIFIED; + case 1: return COUNTRY; + case 2: return ADMINISTRATIVE_AREA; + case 3: return SUB_ADMINISTRATIVE_AREA; + case 4: return LOCALITY; + case 5: return POSTAL_CODE; + case 6: return SUB_LOCALITY; + case 7: return SUB_LOCALITY_1; + case 8: return SUB_LOCALITY_2; + case 9: return NEIGHBORHOOD; + case 10: return STREET_ADDRESS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LocationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -411,8 +340,6 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_; /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -421,16 +348,12 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -439,22 +362,17 @@ public int getLocationTypeValue() {
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The locationType. */ - @java.lang.Override - public com.google.cloud.talent.v4.Location.LocationType getLocationType() { + @java.lang.Override public com.google.cloud.talent.v4.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Location.LocationType result = - com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); + com.google.cloud.talent.v4.Location.LocationType result = com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); return result == null ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED : result; } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 2; private com.google.type.PostalAddress postalAddress_; /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -463,7 +381,6 @@ public com.google.cloud.talent.v4.Location.LocationType getLocationType() {
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -471,8 +388,6 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -481,18 +396,13 @@ public boolean hasPostalAddress() {
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -510,14 +420,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
   public static final int LAT_LNG_FIELD_NUMBER = 3;
   private com.google.type.LatLng latLng_;
   /**
-   *
-   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -525,14 +432,11 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ @java.lang.Override @@ -540,8 +444,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
@@ -556,8 +458,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int RADIUS_MILES_FIELD_NUMBER = 4; private double radiusMiles_; /** - * - * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -568,7 +468,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ @java.lang.Override @@ -577,7 +476,6 @@ public double getRadiusMiles() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -589,9 +487,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (locationType_ - != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (locationType_ != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, locationType_); } if (postalAddress_ != null) { @@ -612,18 +510,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ - != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); + if (locationType_ != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, locationType_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPostalAddress()); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(radiusMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, radiusMiles_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, radiusMiles_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -633,7 +534,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Location)) { return super.equals(obj); @@ -643,14 +544,17 @@ public boolean equals(final java.lang.Object obj) { if (locationType_ != other.locationType_) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress().equals(other.getPostalAddress())) return false; + if (!getPostalAddress() + .equals(other.getPostalAddress())) return false; } if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng().equals(other.getLatLng())) return false; + if (!getLatLng() + .equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getRadiusMiles()) - != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; + != java.lang.Double.doubleToLongBits( + other.getRadiusMiles())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -673,144 +577,137 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + RADIUS_MILES_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRadiusMiles())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRadiusMiles())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.Location parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Location parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Location parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Location parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.Location parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Location parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Location parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Location parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource that represents a location with full geographic information.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Location} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Location) com.google.cloud.talent.v4.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Location.class, - com.google.cloud.talent.v4.Location.Builder.class); + com.google.cloud.talent.v4.Location.class, com.google.cloud.talent.v4.Location.Builder.class); } // Construct using com.google.cloud.talent.v4.Location.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -834,9 +731,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override @@ -876,39 +773,38 @@ public com.google.cloud.talent.v4.Location buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Location) { - return mergeFrom((com.google.cloud.talent.v4.Location) other); + return mergeFrom((com.google.cloud.talent.v4.Location)other); } else { super.mergeFrom(other); return this; @@ -955,37 +851,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - locationType_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 33: - { - radiusMiles_ = input.readDouble(); - - break; - } // case 33 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + locationType_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getPostalAddressFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 33: { + radiusMiles_ = input.readDouble(); + + break; + } // case 33 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -998,8 +893,6 @@ public Builder mergeFrom( private int locationType_ = 0; /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1008,16 +901,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1026,19 +915,16 @@ public int getLocationTypeValue() {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ public Builder setLocationTypeValue(int value) { - + locationType_ = value; onChanged(); return this; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1047,21 +933,15 @@ public Builder setLocationTypeValue(int value) {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The locationType. */ @java.lang.Override public com.google.cloud.talent.v4.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Location.LocationType result = - com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); - return result == null - ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.Location.LocationType result = com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); + return result == null ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED : result; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1070,7 +950,6 @@ public com.google.cloud.talent.v4.Location.LocationType getLocationType() {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @param value The locationType to set. * @return This builder for chaining. */ @@ -1078,14 +957,12 @@ public Builder setLocationType(com.google.cloud.talent.v4.Location.LocationType if (value == null) { throw new NullPointerException(); } - + locationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1094,11 +971,10 @@ public Builder setLocationType(com.google.cloud.talent.v4.Location.LocationType
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return This builder for chaining. */ public Builder clearLocationType() { - + locationType_ = 0; onChanged(); return this; @@ -1106,13 +982,8 @@ public Builder clearLocationType() { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - postalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1121,15 +992,12 @@ public Builder clearLocationType() {
      * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1138,21 +1006,16 @@ public boolean hasPostalAddress() {
      * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1176,8 +1039,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1187,7 +1048,8 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
      *
      * .google.type.PostalAddress postal_address = 2;
      */
-    public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) {
+    public Builder setPostalAddress(
+        com.google.type.PostalAddress.Builder builderForValue) {
       if (postalAddressBuilder_ == null) {
         postalAddress_ = builderForValue.build();
         onChanged();
@@ -1198,8 +1060,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1213,9 +1073,7 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       if (postalAddressBuilder_ == null) {
         if (postalAddress_ != null) {
           postalAddress_ =
-              com.google.type.PostalAddress.newBuilder(postalAddress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial();
         } else {
           postalAddress_ = value;
         }
@@ -1227,8 +1085,6 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1250,8 +1106,6 @@ public Builder clearPostalAddress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1262,13 +1116,11 @@ public Builder clearPostalAddress() {
      * .google.type.PostalAddress postal_address = 2;
      */
     public com.google.type.PostalAddress.Builder getPostalAddressBuilder() {
-
+      
       onChanged();
       return getPostalAddressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1282,14 +1134,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
       if (postalAddressBuilder_ != null) {
         return postalAddressBuilder_.getMessageOrBuilder();
       } else {
-        return postalAddress_ == null
-            ? com.google.type.PostalAddress.getDefaultInstance()
-            : postalAddress_;
+        return postalAddress_ == null ?
+            com.google.type.PostalAddress.getDefaultInstance() : postalAddress_;
       }
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1300,17 +1149,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
      * .google.type.PostalAddress postal_address = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.PostalAddress,
-            com.google.type.PostalAddress.Builder,
-            com.google.type.PostalAddressOrBuilder>
+        com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> 
         getPostalAddressFieldBuilder() {
       if (postalAddressBuilder_ == null) {
-        postalAddressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.PostalAddress,
-                com.google.type.PostalAddress.Builder,
-                com.google.type.PostalAddressOrBuilder>(
-                getPostalAddress(), getParentForChildren(), isClean());
+        postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>(
+                getPostalAddress(),
+                getParentForChildren(),
+                isClean());
         postalAddress_ = null;
       }
       return postalAddressBuilder_;
@@ -1318,31 +1164,24 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
 
     private com.google.type.LatLng latLng_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
-        latLngBuilder_;
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_;
     /**
-     *
-     *
      * 
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1353,8 +1192,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1375,15 +1212,14 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; */ - public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng( + com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -1394,8 +1230,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1405,7 +1239,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = + com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -1417,8 +1252,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1437,8 +1270,6 @@ public Builder clearLatLng() { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1446,13 +1277,11 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 3; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1463,12 +1292,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? + com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1476,23 +1304,21 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); + latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getLatLng(), + getParentForChildren(), + isClean()); latLng_ = null; } return latLngBuilder_; } - private double radiusMiles_; + private double radiusMiles_ ; /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1503,7 +1329,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ @java.lang.Override @@ -1511,8 +1336,6 @@ public double getRadiusMiles() { return radiusMiles_; } /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1523,19 +1346,16 @@ public double getRadiusMiles() {
      * 
* * double radius_miles = 4; - * * @param value The radiusMiles to set. * @return This builder for chaining. */ public Builder setRadiusMiles(double value) { - + radiusMiles_ = value; onChanged(); return this; } /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1546,18 +1366,17 @@ public Builder setRadiusMiles(double value) {
      * 
* * double radius_miles = 4; - * * @return This builder for chaining. */ public Builder clearRadiusMiles() { - + radiusMiles_ = 0D; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1567,12 +1386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Location) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Location) private static final com.google.cloud.talent.v4.Location DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Location(); } @@ -1581,27 +1400,27 @@ public static com.google.cloud.talent.v4.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1616,4 +1435,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java index d78bc9fe97e2..ad875e7fabfc 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; /** - * - * *
  * Geographic region of the search.
  * 
* * Protobuf type {@code google.cloud.talent.v4.LocationFilter} */ -public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LocationFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.LocationFilter) LocationFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LocationFilter.newBuilder() to construct. private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LocationFilter() { address_ = ""; regionCode_ = ""; @@ -45,43 +27,39 @@ private LocationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LocationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.LocationFilter.class, - com.google.cloud.talent.v4.LocationFilter.Builder.class); + com.google.cloud.talent.v4.LocationFilter.class, com.google.cloud.talent.v4.LocationFilter.Builder.class); } /** - * - * *
    * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.LocationFilter.TelecommutePreference} */ - public enum TelecommutePreference implements com.google.protobuf.ProtocolMessageEnum { + public enum TelecommutePreference + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -90,8 +68,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ TELECOMMUTE_PREFERENCE_UNSPECIFIED(0), /** - * - * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -102,8 +78,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
     @java.lang.Deprecated
     TELECOMMUTE_EXCLUDED(1),
     /**
-     *
-     *
      * 
      * Allow telecommute jobs.
      * 
@@ -112,8 +86,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ TELECOMMUTE_ALLOWED(2), /** - * - * *
      * Exclude telecommute jobs.
      * 
@@ -125,8 +97,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage ; /** - * - * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -135,8 +105,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_PREFERENCE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -146,8 +114,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
      */
     @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Allow telecommute jobs.
      * 
@@ -156,8 +122,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; /** - * - * *
      * Exclude telecommute jobs.
      * 
@@ -166,6 +130,7 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -190,16 +155,11 @@ public static TelecommutePreference valueOf(int value) { */ public static TelecommutePreference forNumber(int value) { switch (value) { - case 0: - return TELECOMMUTE_PREFERENCE_UNSPECIFIED; - case 1: - return TELECOMMUTE_EXCLUDED; - case 2: - return TELECOMMUTE_ALLOWED; - case 3: - return TELECOMMUTE_JOBS_EXCLUDED; - default: - return null; + case 0: return TELECOMMUTE_PREFERENCE_UNSPECIFIED; + case 1: return TELECOMMUTE_EXCLUDED; + case 2: return TELECOMMUTE_ALLOWED; + case 3: return TELECOMMUTE_JOBS_EXCLUDED; + default: return null; } } @@ -207,28 +167,28 @@ public static TelecommutePreference forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TelecommutePreference> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TelecommutePreference findValueByNumber(int number) { + return TelecommutePreference.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TelecommutePreference findValueByNumber(int number) { - return TelecommutePreference.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.LocationFilter.getDescriptor().getEnumTypes().get(0); } @@ -237,7 +197,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TelecommutePreference valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -257,14 +218,11 @@ private TelecommutePreference(int value) { public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The address. */ @java.lang.Override @@ -273,29 +231,29 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString getAddressBytes() { + public com.google.protobuf.ByteString + getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); address_ = b; return b; } else { @@ -306,8 +264,6 @@ public com.google.protobuf.ByteString getAddressBytes() { public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -324,7 +280,6 @@ public com.google.protobuf.ByteString getAddressBytes() {
    * 
* * string region_code = 2; - * * @return The regionCode. */ @java.lang.Override @@ -333,15 +288,14 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -358,15 +312,16 @@ public java.lang.String getRegionCode() {
    * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -377,15 +332,12 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { public static final int LAT_LNG_FIELD_NUMBER = 3; private com.google.type.LatLng latLng_; /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -393,15 +345,12 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ @java.lang.Override @@ -409,8 +358,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -426,8 +373,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
   public static final int DISTANCE_IN_MILES_FIELD_NUMBER = 4;
   private double distanceInMiles_;
   /**
-   *
-   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -435,7 +380,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ @java.lang.Override @@ -446,8 +390,6 @@ public double getDistanceInMiles() { public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER = 5; private int telecommutePreference_; /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -469,18 +411,13 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override - public int getTelecommutePreferenceValue() { + @java.lang.Override public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -502,25 +439,16 @@ public int getTelecommutePreferenceValue() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ - @java.lang.Override - public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference - getTelecommutePreference() { + @java.lang.Override public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf( - telecommutePreference_); - return result == null - ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); + return result == null ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -532,7 +460,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -545,10 +474,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { output.writeDouble(4, distanceInMiles_); } - if (telecommutePreference_ - != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference - .TELECOMMUTE_PREFERENCE_UNSPECIFIED - .getNumber()) { + if (telecommutePreference_ != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { output.writeEnum(5, telecommutePreference_); } getUnknownFields().writeTo(output); @@ -567,16 +493,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, distanceInMiles_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, distanceInMiles_); } - if (telecommutePreference_ - != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference - .TELECOMMUTE_PREFERENCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, telecommutePreference_); + if (telecommutePreference_ != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, telecommutePreference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -586,22 +512,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.LocationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4.LocationFilter other = - (com.google.cloud.talent.v4.LocationFilter) obj; + com.google.cloud.talent.v4.LocationFilter other = (com.google.cloud.talent.v4.LocationFilter) obj; - if (!getAddress().equals(other.getAddress())) return false; - if (!getRegionCode().equals(other.getRegionCode())) return false; + if (!getAddress() + .equals(other.getAddress())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng().equals(other.getLatLng())) return false; + if (!getLatLng() + .equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; + != java.lang.Double.doubleToLongBits( + other.getDistanceInMiles())) return false; if (telecommutePreference_ != other.telecommutePreference_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -623,10 +552,8 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + DISTANCE_IN_MILES_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistanceInMiles())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistanceInMiles())); hash = (37 * hash) + TELECOMMUTE_PREFERENCE_FIELD_NUMBER; hash = (53 * hash) + telecommutePreference_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -634,136 +561,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.LocationFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.LocationFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.LocationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Geographic region of the search.
    * 
* * Protobuf type {@code google.cloud.talent.v4.LocationFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.LocationFilter) com.google.cloud.talent.v4.LocationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.LocationFilter.class, - com.google.cloud.talent.v4.LocationFilter.Builder.class); + com.google.cloud.talent.v4.LocationFilter.class, com.google.cloud.talent.v4.LocationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.LocationFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -785,9 +706,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override @@ -806,8 +727,7 @@ public com.google.cloud.talent.v4.LocationFilter build() { @java.lang.Override public com.google.cloud.talent.v4.LocationFilter buildPartial() { - com.google.cloud.talent.v4.LocationFilter result = - new com.google.cloud.talent.v4.LocationFilter(this); + com.google.cloud.talent.v4.LocationFilter result = new com.google.cloud.talent.v4.LocationFilter(this); result.address_ = address_; result.regionCode_ = regionCode_; if (latLngBuilder_ == null) { @@ -825,39 +745,38 @@ public com.google.cloud.talent.v4.LocationFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.LocationFilter) { - return mergeFrom((com.google.cloud.talent.v4.LocationFilter) other); + return mergeFrom((com.google.cloud.talent.v4.LocationFilter)other); } else { super.mergeFrom(other); return this; @@ -909,43 +828,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - address_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 33: - { - distanceInMiles_ = input.readDouble(); - - break; - } // case 33 - case 40: - { - telecommutePreference_ = input.readEnum(); - - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + address_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + regionCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 33: { + distanceInMiles_ = input.readDouble(); + + break; + } // case 33 + case 40: { + telecommutePreference_ = input.readEnum(); + + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -958,20 +873,18 @@ public Builder mergeFrom( private java.lang.Object address_ = ""; /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -980,21 +893,20 @@ public java.lang.String getAddress() { } } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return The bytes for address. */ - public com.google.protobuf.ByteString getAddressBytes() { + public com.google.protobuf.ByteString + getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); address_ = b; return b; } else { @@ -1002,61 +914,54 @@ public com.google.protobuf.ByteString getAddressBytes() { } } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress(java.lang.String value) { + public Builder setAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + address_ = value; onChanged(); return this; } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return This builder for chaining. */ public Builder clearAddress() { - + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes(com.google.protobuf.ByteString value) { + public Builder setAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + address_ = value; onChanged(); return this; @@ -1064,8 +969,6 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) { private java.lang.Object regionCode_ = ""; /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1082,13 +985,13 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * string region_code = 2; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1097,8 +1000,6 @@ public java.lang.String getRegionCode() { } } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1115,14 +1016,15 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1130,8 +1032,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1148,22 +1048,20 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
      * 
* * string region_code = 2; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { + public Builder setRegionCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1180,18 +1078,15 @@ public Builder setRegionCode(java.lang.String value) {
      * 
* * string region_code = 2; - * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1208,16 +1103,16 @@ public Builder clearRegionCode() {
      * 
* * string region_code = 2; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; @@ -1225,33 +1120,26 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1262,8 +1150,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1285,8 +1171,6 @@ public Builder setLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1294,7 +1178,8 @@ public Builder setLatLng(com.google.type.LatLng value) {
      *
      * .google.type.LatLng lat_lng = 3;
      */
-    public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLatLng(
+        com.google.type.LatLng.Builder builderForValue) {
       if (latLngBuilder_ == null) {
         latLng_ = builderForValue.build();
         onChanged();
@@ -1305,8 +1190,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1317,7 +1200,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
     public Builder mergeLatLng(com.google.type.LatLng value) {
       if (latLngBuilder_ == null) {
         if (latLng_ != null) {
-          latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
+          latLng_ =
+            com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
         } else {
           latLng_ = value;
         }
@@ -1329,8 +1213,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1350,8 +1232,6 @@ public Builder clearLatLng() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1360,13 +1240,11 @@ public Builder clearLatLng() {
      * .google.type.LatLng lat_lng = 3;
      */
     public com.google.type.LatLng.Builder getLatLngBuilder() {
-
+      
       onChanged();
       return getLatLngFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1378,12 +1256,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
       if (latLngBuilder_ != null) {
         return latLngBuilder_.getMessageOrBuilder();
       } else {
-        return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_;
+        return latLng_ == null ?
+            com.google.type.LatLng.getDefaultInstance() : latLng_;
       }
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1392,23 +1269,21 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * .google.type.LatLng lat_lng = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
         getLatLngFieldBuilder() {
       if (latLngBuilder_ == null) {
-        latLngBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.LatLng,
-                com.google.type.LatLng.Builder,
-                com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean());
+        latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
+                getLatLng(),
+                getParentForChildren(),
+                isClean());
         latLng_ = null;
       }
       return latLngBuilder_;
     }
 
-    private double distanceInMiles_;
+    private double distanceInMiles_ ;
     /**
-     *
-     *
      * 
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1416,7 +1291,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ @java.lang.Override @@ -1424,8 +1298,6 @@ public double getDistanceInMiles() { return distanceInMiles_; } /** - * - * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1433,19 +1305,16 @@ public double getDistanceInMiles() {
      * 
* * double distance_in_miles = 4; - * * @param value The distanceInMiles to set. * @return This builder for chaining. */ public Builder setDistanceInMiles(double value) { - + distanceInMiles_ = value; onChanged(); return this; } /** - * - * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1453,11 +1322,10 @@ public Builder setDistanceInMiles(double value) {
      * 
* * double distance_in_miles = 4; - * * @return This builder for chaining. */ public Builder clearDistanceInMiles() { - + distanceInMiles_ = 0D; onChanged(); return this; @@ -1465,8 +1333,6 @@ public Builder clearDistanceInMiles() { private int telecommutePreference_ = 0; /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1488,19 +1354,13 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override - public int getTelecommutePreferenceValue() { + @java.lang.Override public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1522,22 +1382,17 @@ public int getTelecommutePreferenceValue() {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @param value The enum numeric value on the wire for telecommutePreference to set. * @return This builder for chaining. */ public Builder setTelecommutePreferenceValue(int value) { - + telecommutePreference_ = value; onChanged(); return this; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1559,26 +1414,16 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ @java.lang.Override - public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference - getTelecommutePreference() { + public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf( - telecommutePreference_); - return result == null - ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); + return result == null ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1600,26 +1445,20 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @param value The telecommutePreference to set. * @return This builder for chaining. */ - public Builder setTelecommutePreference( - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference value) { + public Builder setTelecommutePreference(com.google.cloud.talent.v4.LocationFilter.TelecommutePreference value) { if (value == null) { throw new NullPointerException(); } - + telecommutePreference_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1641,21 +1480,18 @@ public Builder setTelecommutePreference(
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return This builder for chaining. */ public Builder clearTelecommutePreference() { - + telecommutePreference_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1665,12 +1501,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.LocationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.LocationFilter) private static final com.google.cloud.talent.v4.LocationFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.LocationFilter(); } @@ -1679,27 +1515,27 @@ public static com.google.cloud.talent.v4.LocationFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1714,4 +1550,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.LocationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java similarity index 88% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java index 4d0548ba5596..185f5e7508dd 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface LocationFilterOrBuilder - extends +public interface LocationFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.LocationFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The address. */ java.lang.String getAddress(); /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The bytes for address. */ - com.google.protobuf.ByteString getAddressBytes(); + com.google.protobuf.ByteString + getAddressBytes(); /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -67,13 +44,10 @@ public interface LocationFilterOrBuilder
    * 
* * string region_code = 2; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -90,40 +64,32 @@ public interface LocationFilterOrBuilder
    * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -134,8 +100,6 @@ public interface LocationFilterOrBuilder
   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
 
   /**
-   *
-   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -143,14 +107,11 @@ public interface LocationFilterOrBuilder
    * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ double getDistanceInMiles(); /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -172,15 +133,11 @@ public interface LocationFilterOrBuilder
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ int getTelecommutePreferenceValue(); /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -202,9 +159,7 @@ public interface LocationFilterOrBuilder
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java similarity index 83% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java index 50d378a0937a..7047998b8482 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface LocationOrBuilder - extends +public interface LocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Location) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -34,13 +16,10 @@ public interface LocationOrBuilder
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -49,14 +28,11 @@ public interface LocationOrBuilder
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The locationType. */ com.google.cloud.talent.v4.Location.LocationType getLocationType(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -65,13 +41,10 @@ public interface LocationOrBuilder
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -80,13 +53,10 @@ public interface LocationOrBuilder
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -99,32 +69,24 @@ public interface LocationOrBuilder
   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
 
   /**
-   *
-   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
@@ -134,8 +96,6 @@ public interface LocationOrBuilder com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** - * - * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -146,7 +106,6 @@ public interface LocationOrBuilder
    * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ double getRadiusMiles(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java index fc2560165de0..015925caed96 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * An enum that represents the job posting region. In most cases, job postings
  * don't need to specify a region. If a region is given, jobs are
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.PostingRegion}
  */
-public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
+public enum PostingRegion
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
@@ -42,8 +24,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   POSTING_REGION_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
@@ -59,8 +39,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   ADMINISTRATIVE_AREA(1),
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
@@ -72,8 +50,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   NATION(2),
   /**
-   *
-   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -87,8 +63,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
@@ -98,8 +72,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int POSTING_REGION_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
@@ -115,8 +87,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ADMINISTRATIVE_AREA_VALUE = 1;
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
@@ -128,8 +98,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int NATION_VALUE = 2;
   /**
-   *
-   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -140,6 +108,7 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TELECOMMUTE_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -164,51 +133,50 @@ public static PostingRegion valueOf(int value) {
    */
   public static PostingRegion forNumber(int value) {
     switch (value) {
-      case 0:
-        return POSTING_REGION_UNSPECIFIED;
-      case 1:
-        return ADMINISTRATIVE_AREA;
-      case 2:
-        return NATION;
-      case 3:
-        return TELECOMMUTE;
-      default:
-        return null;
+      case 0: return POSTING_REGION_UNSPECIFIED;
+      case 1: return ADMINISTRATIVE_AREA;
+      case 2: return NATION;
+      case 3: return TELECOMMUTE;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public PostingRegion findValueByNumber(int number) {
-          return PostingRegion.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      PostingRegion> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PostingRegion findValueByNumber(int number) {
+            return PostingRegion.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(6);
   }
 
   private static final PostingRegion[] VALUES = values();
 
-  public static PostingRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PostingRegion valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -224,3 +192,4 @@ private PostingRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.PostingRegion)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
similarity index 78%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
index 4b85c24956c6..c00fbaa71b27 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Meta information related to the job searcher or entity
  * conducting the job search. This information is used to improve the
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.RequestMetadata}
  */
-public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.RequestMetadata)
     RequestMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestMetadata.newBuilder() to construct.
   private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RequestMetadata() {
     domain_ = "";
     sessionId_ = "";
@@ -47,35 +29,32 @@ private RequestMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.RequestMetadata.class,
-            com.google.cloud.talent.v4.RequestMetadata.Builder.class);
+            com.google.cloud.talent.v4.RequestMetadata.class, com.google.cloud.talent.v4.RequestMetadata.Builder.class);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 1;
   private volatile java.lang.Object domain_;
   /**
-   *
-   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -91,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string domain = 1; - * * @return The domain. */ @java.lang.Override @@ -100,15 +78,14 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -124,15 +101,16 @@ public java.lang.String getDomain() {
    * 
* * string domain = 1; - * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -143,8 +121,6 @@ public com.google.protobuf.ByteString getDomainBytes() { public static final int SESSION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sessionId_; /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -158,7 +134,6 @@ public com.google.protobuf.ByteString getDomainBytes() {
    * 
* * string session_id = 2; - * * @return The sessionId. */ @java.lang.Override @@ -167,15 +142,14 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -189,15 +163,16 @@ public java.lang.String getSessionId() {
    * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -208,8 +183,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() { public static final int USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object userId_; /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -223,7 +196,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() {
    * 
* * string user_id = 3; - * * @return The userId. */ @java.lang.Override @@ -232,15 +204,14 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -254,15 +225,16 @@ public java.lang.String getUserId() {
    * 
* * string user_id = 3; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -273,8 +245,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int ALLOW_MISSING_IDS_FIELD_NUMBER = 4; private boolean allowMissingIds_; /** - * - * *
    * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -283,7 +253,6 @@ public com.google.protobuf.ByteString getUserIdBytes() {
    * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ @java.lang.Override @@ -294,15 +263,12 @@ public boolean getAllowMissingIds() { public static final int DEVICE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.DeviceInfo deviceInfo_; /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ @java.lang.Override @@ -310,26 +276,19 @@ public boolean hasDeviceInfo() { return deviceInfo_ != null; } /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo getDeviceInfo() { - return deviceInfo_ == null - ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() - : deviceInfo_; + return deviceInfo_ == null ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_; } /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
@@ -343,7 +302,6 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -355,7 +313,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
     }
@@ -390,10 +349,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_);
     }
     if (allowMissingIds_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissingIds_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, allowMissingIds_);
     }
     if (deviceInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeviceInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getDeviceInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -403,21 +364,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.RequestMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.RequestMetadata other =
-        (com.google.cloud.talent.v4.RequestMetadata) obj;
+    com.google.cloud.talent.v4.RequestMetadata other = (com.google.cloud.talent.v4.RequestMetadata) obj;
 
-    if (!getDomain().equals(other.getDomain())) return false;
-    if (!getSessionId().equals(other.getSessionId())) return false;
-    if (!getUserId().equals(other.getUserId())) return false;
-    if (getAllowMissingIds() != other.getAllowMissingIds()) return false;
+    if (!getDomain()
+        .equals(other.getDomain())) return false;
+    if (!getSessionId()
+        .equals(other.getSessionId())) return false;
+    if (!getUserId()
+        .equals(other.getUserId())) return false;
+    if (getAllowMissingIds()
+        != other.getAllowMissingIds()) return false;
     if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
     if (hasDeviceInfo()) {
-      if (!getDeviceInfo().equals(other.getDeviceInfo())) return false;
+      if (!getDeviceInfo()
+          .equals(other.getDeviceInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -437,7 +402,8 @@ public int hashCode() {
     hash = (37 * hash) + USER_ID_FIELD_NUMBER;
     hash = (53 * hash) + getUserId().hashCode();
     hash = (37 * hash) + ALLOW_MISSING_IDS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissingIds());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowMissingIds());
     if (hasDeviceInfo()) {
       hash = (37 * hash) + DEVICE_INFO_FIELD_NUMBER;
       hash = (53 * hash) + getDeviceInfo().hashCode();
@@ -447,104 +413,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.RequestMetadata parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.RequestMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Meta information related to the job searcher or entity
    * conducting the job search. This information is used to improve the
@@ -553,32 +512,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.RequestMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.RequestMetadata)
       com.google.cloud.talent.v4.RequestMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.RequestMetadata.class,
-              com.google.cloud.talent.v4.RequestMetadata.Builder.class);
+              com.google.cloud.talent.v4.RequestMetadata.class, com.google.cloud.talent.v4.RequestMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.RequestMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -600,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -621,8 +581,7 @@ public com.google.cloud.talent.v4.RequestMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.RequestMetadata buildPartial() {
-      com.google.cloud.talent.v4.RequestMetadata result =
-          new com.google.cloud.talent.v4.RequestMetadata(this);
+      com.google.cloud.talent.v4.RequestMetadata result = new com.google.cloud.talent.v4.RequestMetadata(this);
       result.domain_ = domain_;
       result.sessionId_ = sessionId_;
       result.userId_ = userId_;
@@ -640,39 +599,38 @@ public com.google.cloud.talent.v4.RequestMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.RequestMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4.RequestMetadata) other);
+        return mergeFrom((com.google.cloud.talent.v4.RequestMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -725,43 +683,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                domain_ = input.readStringRequireUtf8();
+            case 10: {
+              domain_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                sessionId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              sessionId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                userId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              userId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                allowMissingIds_ = input.readBool();
+              break;
+            } // case 26
+            case 32: {
+              allowMissingIds_ = input.readBool();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getDeviceInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getDeviceInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -774,8 +728,6 @@ public Builder mergeFrom(
 
     private java.lang.Object domain_ = "";
     /**
-     *
-     *
      * 
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -791,13 +743,13 @@ public Builder mergeFrom(
      * 
* * string domain = 1; - * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -806,8 +758,6 @@ public java.lang.String getDomain() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -823,14 +773,15 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; - * * @return The bytes for domain. */ - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -838,8 +789,6 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -855,22 +804,20 @@ public com.google.protobuf.ByteString getDomainBytes() {
      * 
* * string domain = 1; - * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain(java.lang.String value) { + public Builder setDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -886,18 +833,15 @@ public Builder setDomain(java.lang.String value) {
      * 
* * string domain = 1; - * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -913,16 +857,16 @@ public Builder clearDomain() {
      * 
* * string domain = 1; - * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -930,8 +874,6 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) { private java.lang.Object sessionId_ = ""; /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -945,13 +887,13 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) {
      * 
* * string session_id = 2; - * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -960,8 +902,6 @@ public java.lang.String getSessionId() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -975,14 +915,15 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -990,8 +931,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1005,22 +944,20 @@ public com.google.protobuf.ByteString getSessionIdBytes() {
      * 
* * string session_id = 2; - * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId(java.lang.String value) { + public Builder setSessionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sessionId_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1034,18 +971,15 @@ public Builder setSessionId(java.lang.String value) {
      * 
* * string session_id = 2; - * * @return This builder for chaining. */ public Builder clearSessionId() { - + sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1059,16 +993,16 @@ public Builder clearSessionId() {
      * 
* * string session_id = 2; - * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionId_ = value; onChanged(); return this; @@ -1076,8 +1010,6 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1091,13 +1023,13 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string user_id = 3; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -1106,8 +1038,6 @@ public java.lang.String getUserId() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1121,14 +1051,15 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -1136,8 +1067,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1151,22 +1080,20 @@ public com.google.protobuf.ByteString getUserIdBytes() {
      * 
* * string user_id = 3; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { + public Builder setUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userId_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1180,18 +1107,15 @@ public Builder setUserId(java.lang.String value) {
      * 
* * string user_id = 3; - * * @return This builder for chaining. */ public Builder clearUserId() { - + userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1205,25 +1129,23 @@ public Builder clearUserId() {
      * 
* * string user_id = 3; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; onChanged(); return this; } - private boolean allowMissingIds_; + private boolean allowMissingIds_ ; /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1232,7 +1154,6 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ @java.lang.Override @@ -1240,8 +1161,6 @@ public boolean getAllowMissingIds() { return allowMissingIds_; } /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1250,19 +1169,16 @@ public boolean getAllowMissingIds() {
      * 
* * bool allow_missing_ids = 4; - * * @param value The allowMissingIds to set. * @return This builder for chaining. */ public Builder setAllowMissingIds(boolean value) { - + allowMissingIds_ = value; onChanged(); return this; } /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1271,11 +1187,10 @@ public Builder setAllowMissingIds(boolean value) {
      * 
* * bool allow_missing_ids = 4; - * * @return This builder for chaining. */ public Builder clearAllowMissingIds() { - + allowMissingIds_ = false; onChanged(); return this; @@ -1283,49 +1198,36 @@ public Builder clearAllowMissingIds() { private com.google.cloud.talent.v4.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.DeviceInfo, - com.google.cloud.talent.v4.DeviceInfo.Builder, - com.google.cloud.talent.v4.DeviceInfoOrBuilder> - deviceInfoBuilder_; + com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder> deviceInfoBuilder_; /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ public boolean hasDeviceInfo() { return deviceInfoBuilder_ != null || deviceInfo_ != null; } /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ public com.google.cloud.talent.v4.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { - return deviceInfo_ == null - ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() - : deviceInfo_; + return deviceInfo_ == null ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1347,8 +1249,6 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1356,7 +1256,8 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
      *
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
-    public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo.Builder builderForValue) {
+    public Builder setDeviceInfo(
+        com.google.cloud.talent.v4.DeviceInfo.Builder builderForValue) {
       if (deviceInfoBuilder_ == null) {
         deviceInfo_ = builderForValue.build();
         onChanged();
@@ -1367,8 +1268,6 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1380,9 +1279,7 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       if (deviceInfoBuilder_ == null) {
         if (deviceInfo_ != null) {
           deviceInfo_ =
-              com.google.cloud.talent.v4.DeviceInfo.newBuilder(deviceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
         } else {
           deviceInfo_ = value;
         }
@@ -1394,8 +1291,6 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1415,8 +1310,6 @@ public Builder clearDeviceInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1425,13 +1318,11 @@ public Builder clearDeviceInfo() {
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
     public com.google.cloud.talent.v4.DeviceInfo.Builder getDeviceInfoBuilder() {
-
+      
       onChanged();
       return getDeviceInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1443,14 +1334,11 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
       if (deviceInfoBuilder_ != null) {
         return deviceInfoBuilder_.getMessageOrBuilder();
       } else {
-        return deviceInfo_ == null
-            ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance()
-            : deviceInfo_;
+        return deviceInfo_ == null ?
+            com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1459,24 +1347,21 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.DeviceInfo,
-            com.google.cloud.talent.v4.DeviceInfo.Builder,
-            com.google.cloud.talent.v4.DeviceInfoOrBuilder>
+        com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder> 
         getDeviceInfoFieldBuilder() {
       if (deviceInfoBuilder_ == null) {
-        deviceInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.DeviceInfo,
-                com.google.cloud.talent.v4.DeviceInfo.Builder,
-                com.google.cloud.talent.v4.DeviceInfoOrBuilder>(
-                getDeviceInfo(), getParentForChildren(), isClean());
+        deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder>(
+                getDeviceInfo(),
+                getParentForChildren(),
+                isClean());
         deviceInfo_ = null;
       }
       return deviceInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1486,12 +1371,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.RequestMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.RequestMetadata)
   private static final com.google.cloud.talent.v4.RequestMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.RequestMetadata();
   }
@@ -1500,27 +1385,27 @@ public static com.google.cloud.talent.v4.RequestMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1535,4 +1420,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.RequestMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
similarity index 86%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
index 47d1940f75b4..2759d8afffa4 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
-public interface RequestMetadataOrBuilder
-    extends
+public interface RequestMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.RequestMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -41,13 +23,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string domain = 1; - * * @return The domain. */ java.lang.String getDomain(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -63,14 +42,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string domain = 1; - * * @return The bytes for domain. */ - com.google.protobuf.ByteString getDomainBytes(); + com.google.protobuf.ByteString + getDomainBytes(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -84,13 +61,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string session_id = 2; - * * @return The sessionId. */ java.lang.String getSessionId(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -104,14 +78,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString getSessionIdBytes(); + com.google.protobuf.ByteString + getSessionIdBytes(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -125,13 +97,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string user_id = 3; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -145,14 +114,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string user_id = 3; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -161,40 +128,31 @@ public interface RequestMetadataOrBuilder
    * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ boolean getAllowMissingIds(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ boolean hasDeviceInfo(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ com.google.cloud.talent.v4.DeviceInfo getDeviceInfo(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
similarity index 65%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
index 358f9d27d96e..7490544ac27a 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
@@ -1,84 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Additional information returned to client, such as debugging information.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ResponseMetadata} */ -public final class ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResponseMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ResponseMetadata) ResponseMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResponseMetadata.newBuilder() to construct. private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResponseMetadata() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResponseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ResponseMetadata.class, - com.google.cloud.talent.v4.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4.ResponseMetadata.class, com.google.cloud.talent.v4.ResponseMetadata.Builder.class); } public static final int REQUEST_ID_FIELD_NUMBER = 1; private volatile java.lang.Object requestId_; /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The requestId. */ @java.lang.Override @@ -87,30 +65,30 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -119,7 +97,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -155,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ResponseMetadata)) { return super.equals(obj); } - com.google.cloud.talent.v4.ResponseMetadata other = - (com.google.cloud.talent.v4.ResponseMetadata) obj; + com.google.cloud.talent.v4.ResponseMetadata other = (com.google.cloud.talent.v4.ResponseMetadata) obj; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,136 +160,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ResponseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Additional information returned to client, such as debugging information.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ResponseMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ResponseMetadata) com.google.cloud.talent.v4.ResponseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ResponseMetadata.class, - com.google.cloud.talent.v4.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4.ResponseMetadata.class, com.google.cloud.talent.v4.ResponseMetadata.Builder.class); } // Construct using com.google.cloud.talent.v4.ResponseMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override @@ -342,8 +314,7 @@ public com.google.cloud.talent.v4.ResponseMetadata build() { @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata buildPartial() { - com.google.cloud.talent.v4.ResponseMetadata result = - new com.google.cloud.talent.v4.ResponseMetadata(this); + com.google.cloud.talent.v4.ResponseMetadata result = new com.google.cloud.talent.v4.ResponseMetadata(this); result.requestId_ = requestId_; onBuilt(); return result; @@ -353,39 +324,38 @@ public com.google.cloud.talent.v4.ResponseMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ResponseMetadata) { - return mergeFrom((com.google.cloud.talent.v4.ResponseMetadata) other); + return mergeFrom((com.google.cloud.talent.v4.ResponseMetadata)other); } else { super.mergeFrom(other); return this; @@ -424,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -449,21 +417,19 @@ public Builder mergeFrom( private java.lang.Object requestId_ = ""; /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -472,22 +438,21 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -495,71 +460,64 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -569,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ResponseMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ResponseMetadata) private static final com.google.cloud.talent.v4.ResponseMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ResponseMetadata(); } @@ -583,27 +541,27 @@ public static com.google.cloud.talent.v4.ResponseMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ResponseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java new file mode 100644 index 000000000000..bf504816080c --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/common.proto + +package com.google.cloud.talent.v4; + +public interface ResponseMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ResponseMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * A unique id associated with this call.
+   * This id is logged for tracking purposes.
+   * 
+ * + * string request_id = 1; + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + *
+   * A unique id associated with this call.
+   * This id is logged for tracking purposes.
+   * 
+ * + * string request_id = 1; + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString + getRequestIdBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java similarity index 86% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java index 52cf17728980..cf4887acf734 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The Request body of the `SearchJobs` call.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest} */ -public final class SearchJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsRequest) SearchJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchJobsRequest.newBuilder() to construct. private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; @@ -50,33 +32,30 @@ private SearchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.class, - com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.class, com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); } /** - * - * *
    * A string-represented enumeration of the job search mode. The service
    * operate differently for different modes of service.
@@ -84,10 +63,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.SearchMode}
    */
-  public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SearchMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -97,8 +75,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     SEARCH_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -108,8 +84,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     JOB_SEARCH(1),
     /**
-     *
-     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -125,8 +99,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -136,8 +108,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SEARCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -147,8 +117,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int JOB_SEARCH_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -161,6 +129,7 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FEATURED_JOB_SEARCH_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -185,49 +154,49 @@ public static SearchMode valueOf(int value) {
      */
     public static SearchMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return SEARCH_MODE_UNSPECIFIED;
-        case 1:
-          return JOB_SEARCH;
-        case 2:
-          return FEATURED_JOB_SEARCH;
-        default:
-          return null;
+        case 0: return SEARCH_MODE_UNSPECIFIED;
+        case 1: return JOB_SEARCH;
+        case 2: return FEATURED_JOB_SEARCH;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        SearchMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public SearchMode findValueByNumber(int number) {
+              return SearchMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public SearchMode findValueByNumber(int number) {
-            return SearchMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final SearchMode[] VALUES = values();
 
-    public static SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SearchMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -245,8 +214,6 @@ private SearchMode(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -262,10 +229,9 @@ private SearchMode(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel}
    */
-  public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DiversificationLevel
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The diversification level isn't specified.
      * 
@@ -274,8 +240,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE */ DIVERSIFICATION_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -286,8 +250,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     DISABLED(1),
     /**
-     *
-     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -298,8 +260,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     SIMPLE(2),
     /**
-     *
-     *
      * 
      * Only one job from the same company will be shown at once, other jobs
      * under same company are pushed to the end of the last page of search
@@ -310,8 +270,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     ONE_PER_COMPANY(3),
     /**
-     *
-     *
      * 
      * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
      * same company to be shown at once, the other jobs under same company are
@@ -322,8 +280,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     TWO_PER_COMPANY(4),
     /**
-     *
-     *
      * 
      * The result list is ordered such that somewhat similar results are pushed
      * to the end of the last page of the search results. This option is
@@ -337,8 +293,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
     ;
 
     /**
-     *
-     *
      * 
      * The diversification level isn't specified.
      * 
@@ -347,8 +301,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE */ public static final int DIVERSIFICATION_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -359,8 +311,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int DISABLED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -371,8 +321,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int SIMPLE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Only one job from the same company will be shown at once, other jobs
      * under same company are pushed to the end of the last page of search
@@ -383,8 +331,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int ONE_PER_COMPANY_VALUE = 3;
     /**
-     *
-     *
      * 
      * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
      * same company to be shown at once, the other jobs under same company are
@@ -395,8 +341,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int TWO_PER_COMPANY_VALUE = 4;
     /**
-     *
-     *
      * 
      * The result list is ordered such that somewhat similar results are pushed
      * to the end of the last page of the search results. This option is
@@ -407,6 +351,7 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int DIVERSIFY_BY_LOOSER_SIMILARITY_VALUE = 5;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -431,20 +376,13 @@ public static DiversificationLevel valueOf(int value) {
      */
     public static DiversificationLevel forNumber(int value) {
       switch (value) {
-        case 0:
-          return DIVERSIFICATION_LEVEL_UNSPECIFIED;
-        case 1:
-          return DISABLED;
-        case 2:
-          return SIMPLE;
-        case 3:
-          return ONE_PER_COMPANY;
-        case 4:
-          return TWO_PER_COMPANY;
-        case 5:
-          return DIVERSIFY_BY_LOOSER_SIMILARITY;
-        default:
-          return null;
+        case 0: return DIVERSIFICATION_LEVEL_UNSPECIFIED;
+        case 1: return DISABLED;
+        case 2: return SIMPLE;
+        case 3: return ONE_PER_COMPANY;
+        case 4: return TWO_PER_COMPANY;
+        case 5: return DIVERSIFY_BY_LOOSER_SIMILARITY;
+        default: return null;
       }
     }
 
@@ -452,28 +390,28 @@ public static DiversificationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DiversificationLevel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DiversificationLevel findValueByNumber(int number) {
+              return DiversificationLevel.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public DiversificationLevel findValueByNumber(int number) {
-                return DiversificationLevel.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -482,7 +420,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static DiversificationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -500,8 +439,6 @@ private DiversificationLevel(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Controls what keyword matching behavior the search has. When keyword
    * matching is enabled, a keyword match returns jobs that may not match given
@@ -521,10 +458,9 @@ private DiversificationLevel(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode}
    */
-  public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum KeywordMatchMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -534,8 +470,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     KEYWORD_MATCH_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Disables keyword matching.
      * 
@@ -544,8 +478,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ KEYWORD_MATCH_DISABLED(1), /** - * - * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
@@ -557,8 +489,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     KEYWORD_MATCH_ALL(2),
     /**
-     *
-     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
      * 
@@ -570,8 +500,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -581,8 +509,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Disables keyword matching.
      * 
@@ -591,8 +517,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; /** - * - * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
@@ -604,8 +528,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KEYWORD_MATCH_ALL_VALUE = 2;
     /**
-     *
-     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
      * 
@@ -614,6 +536,7 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -638,44 +561,40 @@ public static KeywordMatchMode valueOf(int value) { */ public static KeywordMatchMode forNumber(int value) { switch (value) { - case 0: - return KEYWORD_MATCH_MODE_UNSPECIFIED; - case 1: - return KEYWORD_MATCH_DISABLED; - case 2: - return KEYWORD_MATCH_ALL; - case 3: - return KEYWORD_MATCH_TITLE_ONLY; - default: - return null; + case 0: return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: return KEYWORD_MATCH_DISABLED; + case 2: return KEYWORD_MATCH_ALL; + case 3: return KEYWORD_MATCH_TITLE_ONLY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + KeywordMatchMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeywordMatchMode findValueByNumber(int number) { - return KeywordMatchMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); } @@ -684,7 +603,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static KeywordMatchMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -701,14 +621,11 @@ private KeywordMatchMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode) } - public interface CustomRankingInfoOrBuilder - extends + public interface CustomRankingInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -716,16 +633,11 @@ public interface CustomRankingInfoOrBuilder
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ int getImportanceLevelValue(); /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -733,18 +645,12 @@ public interface CustomRankingInfoOrBuilder
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel(); /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -765,13 +671,10 @@ public interface CustomRankingInfoOrBuilder
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ java.lang.String getRankingExpression(); /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -792,30 +695,27 @@ public interface CustomRankingInfoOrBuilder
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ - com.google.protobuf.ByteString getRankingExpressionBytes(); + com.google.protobuf.ByteString + getRankingExpressionBytes(); } /** - * - * *
    * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo} */ - public static final class CustomRankingInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CustomRankingInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) CustomRankingInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomRankingInfo.newBuilder() to construct. private CustomRankingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomRankingInfo() { importanceLevel_ = 0; rankingExpression_ = ""; @@ -823,44 +723,39 @@ private CustomRankingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomRankingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); } /** - * - * *
      * The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression].
      * 
* - * Protobuf enum {@code - * google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} + * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} */ - public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportanceLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value if the importance level isn't specified.
        * 
@@ -869,8 +764,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { */ IMPORTANCE_LEVEL_UNSPECIFIED(0), /** - * - * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -881,8 +774,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       NONE(1),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -893,8 +784,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       LOW(2),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -905,8 +794,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       MILD(3),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -917,8 +804,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       MEDIUM(4),
       /**
-       *
-       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -929,8 +814,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       HIGH(5),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -944,8 +827,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Default value if the importance level isn't specified.
        * 
@@ -954,8 +835,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORTANCE_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -966,8 +845,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NONE_VALUE = 1;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -978,8 +855,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int LOW_VALUE = 2;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -990,8 +865,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MILD_VALUE = 3;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -1002,8 +875,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MEDIUM_VALUE = 4;
       /**
-       *
-       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -1014,8 +885,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int HIGH_VALUE = 5;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -1026,6 +895,7 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int EXTREME_VALUE = 6;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1050,22 +920,14 @@ public static ImportanceLevel valueOf(int value) {
        */
       public static ImportanceLevel forNumber(int value) {
         switch (value) {
-          case 0:
-            return IMPORTANCE_LEVEL_UNSPECIFIED;
-          case 1:
-            return NONE;
-          case 2:
-            return LOW;
-          case 3:
-            return MILD;
-          case 4:
-            return MEDIUM;
-          case 5:
-            return HIGH;
-          case 6:
-            return EXTREME;
-          default:
-            return null;
+          case 0: return IMPORTANCE_LEVEL_UNSPECIFIED;
+          case 1: return NONE;
+          case 2: return LOW;
+          case 3: return MILD;
+          case 4: return MEDIUM;
+          case 5: return HIGH;
+          case 6: return EXTREME;
+          default: return null;
         }
       }
 
@@ -1073,31 +935,29 @@ public static ImportanceLevel forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ImportanceLevel> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ImportanceLevel findValueByNumber(int number) {
+                return ImportanceLevel.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ImportanceLevel findValueByNumber(int number) {
-                  return ImportanceLevel.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ImportanceLevel[] VALUES = values();
@@ -1105,7 +965,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ImportanceLevel valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -1125,8 +986,6 @@ private ImportanceLevel(int value) {
     public static final int IMPORTANCE_LEVEL_FIELD_NUMBER = 1;
     private int importanceLevel_;
     /**
-     *
-     *
      * 
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1134,19 +993,13 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override - public int getImportanceLevelValue() { + @java.lang.Override public int getImportanceLevelValue() { return importanceLevel_; } /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1154,30 +1007,18 @@ public int getImportanceLevelValue() {
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel() { + @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf( - importanceLevel_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; } public static final int RANKING_EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object rankingExpression_; /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1198,7 +1039,6 @@ public int getImportanceLevelValue() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ @java.lang.Override @@ -1207,15 +1047,14 @@ public java.lang.String getRankingExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; } } /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1236,15 +1075,16 @@ public java.lang.String getRankingExpression() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ @java.lang.Override - public com.google.protobuf.ByteString getRankingExpressionBytes() { + public com.google.protobuf.ByteString + getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1253,7 +1093,6 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1265,11 +1104,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (importanceLevel_ - != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .IMPORTANCE_LEVEL_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (importanceLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { @@ -1284,11 +1121,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (importanceLevel_ - != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .IMPORTANCE_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, importanceLevel_); + if (importanceLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rankingExpression_); @@ -1301,16 +1136,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other = - (com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) obj; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) obj; if (importanceLevel_ != other.importanceLevel_) return false; - if (!getRankingExpression().equals(other.getRankingExpression())) return false; + if (!getRankingExpression() + .equals(other.getRankingExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1332,94 +1167,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1429,41 +1257,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1475,14 +1301,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo - getDefaultInstanceForType() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance(); } @@ -1497,8 +1322,7 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo buildPartial() { - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo result = - new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(this); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo result = new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(this); result.importanceLevel_ = importanceLevel_; result.rankingExpression_ = rankingExpression_; onBuilt(); @@ -1509,52 +1333,46 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other) { - if (other - == com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other) { + if (other == com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) return this; if (other.importanceLevel_ != 0) { setImportanceLevelValue(other.getImportanceLevelValue()); } @@ -1588,25 +1406,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - importanceLevel_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - rankingExpression_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + importanceLevel_ = input.readEnum(); + + break; + } // case 8 + case 18: { + rankingExpression_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1619,8 +1434,6 @@ public Builder mergeFrom( private int importanceLevel_ = 0; /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1628,19 +1441,13 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override - public int getImportanceLevelValue() { + @java.lang.Override public int getImportanceLevelValue() { return importanceLevel_; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1648,22 +1455,17 @@ public int getImportanceLevelValue() {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for importanceLevel to set. * @return This builder for chaining. */ public Builder setImportanceLevelValue(int value) { - + importanceLevel_ = value; onChanged(); return this; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1671,27 +1473,16 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf( - importanceLevel_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1699,26 +1490,20 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The importanceLevel to set. * @return This builder for chaining. */ - public Builder setImportanceLevel( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { + public Builder setImportanceLevel(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { if (value == null) { throw new NullPointerException(); } - + importanceLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1726,14 +1511,11 @@ public Builder setImportanceLevel(
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearImportanceLevel() { - + importanceLevel_ = 0; onChanged(); return this; @@ -1741,8 +1523,6 @@ public Builder clearImportanceLevel() { private java.lang.Object rankingExpression_ = ""; /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1763,13 +1543,13 @@ public Builder clearImportanceLevel() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ public java.lang.String getRankingExpression() { java.lang.Object ref = rankingExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; @@ -1778,8 +1558,6 @@ public java.lang.String getRankingExpression() { } } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1800,14 +1578,15 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ - public com.google.protobuf.ByteString getRankingExpressionBytes() { + public com.google.protobuf.ByteString + getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1815,8 +1594,6 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { } } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1837,22 +1614,20 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpression(java.lang.String value) { + public Builder setRankingExpression( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rankingExpression_ = value; onChanged(); return this; } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1873,18 +1648,15 @@ public Builder setRankingExpression(java.lang.String value) {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRankingExpression() { - + rankingExpression_ = getDefaultInstance().getRankingExpression(); onChanged(); return this; } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1905,21 +1677,20 @@ public Builder clearRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { + public Builder setRankingExpressionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rankingExpression_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1932,44 +1703,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) - private static final com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo - getDefaultInstance() { + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomRankingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomRankingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1981,27 +1749,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo - getDefaultInstanceForType() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -2010,33 +1773,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -2047,58 +1808,42 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SEARCH_MODE_FIELD_NUMBER = 2; private int searchMode_; /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override - public int getSearchModeValue() { + @java.lang.Override public int getSearchModeValue() { return searchMode_; } /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ - @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { + @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; } public static final int REQUEST_METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.RequestMetadata requestMetadata_; /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ @java.lang.Override @@ -2106,38 +1851,27 @@ public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ @java.lang.Override public com.google.cloud.talent.v4.RequestMetadata getRequestMetadata() { - return requestMetadata_ == null - ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; } /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { @@ -2147,14 +1881,11 @@ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrB public static final int JOB_QUERY_FIELD_NUMBER = 4; private com.google.cloud.talent.v4.JobQuery jobQuery_; /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ @java.lang.Override @@ -2162,14 +1893,11 @@ public boolean hasJobQuery() { return jobQuery_ != null; } /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return The jobQuery. */ @java.lang.Override @@ -2177,8 +1905,6 @@ public com.google.cloud.talent.v4.JobQuery getJobQuery() { return jobQuery_ == null ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; } /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -2193,8 +1919,6 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { public static final int ENABLE_BROADENING_FIELD_NUMBER = 5; private boolean enableBroadening_; /** - * - * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -2203,7 +1927,6 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() {
    * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ @java.lang.Override @@ -2214,8 +1937,6 @@ public boolean getEnableBroadening() { public static final int HISTOGRAM_QUERIES_FIELD_NUMBER = 7; private java.util.List histogramQueries_; /** - * - * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2309,8 +2030,6 @@ public java.util.List getHistogramQue
     return histogramQueries_;
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2400,13 +2119,11 @@ public java.util.List getHistogramQue
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHistogramQueriesOrBuilderList() {
     return histogramQueries_;
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2500,8 +2217,6 @@ public int getHistogramQueriesCount() {
     return histogramQueries_.size();
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2595,8 +2310,6 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
     return histogramQueries_.get(index);
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2694,46 +2407,35 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
   public static final int JOB_VIEW_FIELD_NUMBER = 8;
   private int jobView_;
   /**
-   *
-   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The jobView. */ - @java.lang.Override - public com.google.cloud.talent.v4.JobView getJobView() { + @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = - com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } public static final int OFFSET_FIELD_NUMBER = 9; private int offset_; /** - * - * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -2746,7 +2448,6 @@ public com.google.cloud.talent.v4.JobView getJobView() {
    * 
* * int32 offset = 9; - * * @return The offset. */ @java.lang.Override @@ -2757,8 +2458,6 @@ public int getOffset() { public static final int MAX_PAGE_SIZE_FIELD_NUMBER = 10; private int maxPageSize_; /** - * - * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -2766,7 +2465,6 @@ public int getOffset() {
    * 
* * int32 max_page_size = 10; - * * @return The maxPageSize. */ @java.lang.Override @@ -2777,8 +2475,6 @@ public int getMaxPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object pageToken_; /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -2786,7 +2482,6 @@ public int getMaxPageSize() {
    * 
* * string page_token = 11; - * * @return The pageToken. */ @java.lang.Override @@ -2795,15 +2490,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -2811,15 +2505,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2830,8 +2525,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 12; private volatile java.lang.Object orderBy_; /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2884,7 +2577,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 12; - * * @return The orderBy. */ @java.lang.Override @@ -2893,15 +2585,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2954,15 +2645,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2973,8 +2665,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int DIVERSIFICATION_LEVEL_FIELD_NUMBER = 13; private int diversificationLevel_; /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2986,19 +2676,13 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * is specified.
    * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override - public int getDiversificationLevelValue() { + @java.lang.Override public int getDiversificationLevelValue() { return diversificationLevel_; } /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -3010,37 +2694,24 @@ public int getDiversificationLevelValue() {
    * is specified.
    * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel - getDiversificationLevel() { + @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf( - diversificationLevel_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; } public static final int CUSTOM_RANKING_INFO_FIELD_NUMBER = 14; private com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo customRankingInfo_; /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ @java.lang.Override @@ -3048,46 +2719,34 @@ public boolean hasCustomRankingInfo() { return customRankingInfo_ != null; } /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { return getCustomRankingInfo(); } public static final int DISABLE_KEYWORD_MATCH_FIELD_NUMBER = 16; private boolean disableKeywordMatch_; /** - * - * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -3114,22 +2773,18 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomR
    * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ @java.lang.Override - @java.lang.Deprecated - public boolean getDisableKeywordMatch() { + @java.lang.Deprecated public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; private int keywordMatchMode_; /** - * - * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -3137,18 +2792,13 @@ public boolean getDisableKeywordMatch() {
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override - public int getKeywordMatchModeValue() { + @java.lang.Override public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** - * - * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -3156,23 +2806,16 @@ public int getKeywordMatchModeValue() {
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ - @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3184,13 +2827,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (searchMode_ - != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED - .getNumber()) { + if (searchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, searchMode_); } if (requestMetadata_ != null) { @@ -3220,10 +2862,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, orderBy_); } - if (diversificationLevel_ - != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel - .DIVERSIFICATION_LEVEL_UNSPECIFIED - .getNumber()) { + if (diversificationLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(13, diversificationLevel_); } if (customRankingInfo_ != null) { @@ -3232,10 +2871,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } - if (keywordMatchMode_ - != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode - .KEYWORD_MATCH_MODE_UNSPECIFIED - .getNumber()) { + if (keywordMatchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(18, keywordMatchMode_); } getUnknownFields().writeTo(output); @@ -3250,31 +2886,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (searchMode_ - != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, searchMode_); + if (searchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, searchMode_); } if (requestMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequestMetadata()); } if (jobQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getJobQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getJobQuery()); } if (enableBroadening_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableBroadening_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableBroadening_); } for (int i = 0; i < histogramQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, histogramQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, histogramQueries_.get(i)); } if (jobView_ != com.google.cloud.talent.v4.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, jobView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, jobView_); } if (offset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, offset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, offset_); } if (maxPageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, maxPageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, maxPageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, pageToken_); @@ -3282,23 +2924,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, orderBy_); } - if (diversificationLevel_ - != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel - .DIVERSIFICATION_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, diversificationLevel_); + if (diversificationLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(13, diversificationLevel_); } if (customRankingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getCustomRankingInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getCustomRankingInfo()); } if (disableKeywordMatch_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, disableKeywordMatch_); } - if (keywordMatchMode_ - != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode - .KEYWORD_MATCH_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); + if (keywordMatchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(18, keywordMatchMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3308,37 +2948,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsRequest other = - (com.google.cloud.talent.v4.SearchJobsRequest) obj; + com.google.cloud.talent.v4.SearchJobsRequest other = (com.google.cloud.talent.v4.SearchJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (searchMode_ != other.searchMode_) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; + if (!getRequestMetadata() + .equals(other.getRequestMetadata())) return false; } if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - if (!getJobQuery().equals(other.getJobQuery())) return false; + if (!getJobQuery() + .equals(other.getJobQuery())) return false; } - if (getEnableBroadening() != other.getEnableBroadening()) return false; - if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; + if (getEnableBroadening() + != other.getEnableBroadening()) return false; + if (!getHistogramQueriesList() + .equals(other.getHistogramQueriesList())) return false; if (jobView_ != other.jobView_) return false; - if (getOffset() != other.getOffset()) return false; - if (getMaxPageSize() != other.getMaxPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (getOffset() + != other.getOffset()) return false; + if (getMaxPageSize() + != other.getMaxPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (diversificationLevel_ != other.diversificationLevel_) return false; if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; + if (!getCustomRankingInfo() + .equals(other.getCustomRankingInfo())) return false; } - if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; + if (getDisableKeywordMatch() + != other.getDisableKeywordMatch()) return false; if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3364,7 +3014,8 @@ public int hashCode() { hash = (53 * hash) + getJobQuery().hashCode(); } hash = (37 * hash) + ENABLE_BROADENING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableBroadening()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableBroadening()); if (getHistogramQueriesCount() > 0) { hash = (37 * hash) + HISTOGRAM_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getHistogramQueriesList().hashCode(); @@ -3386,7 +3037,8 @@ public int hashCode() { hash = (53 * hash) + getCustomRankingInfo().hashCode(); } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableKeywordMatch()); hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3394,136 +3046,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request body of the `SearchJobs` call.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsRequest) com.google.cloud.talent.v4.SearchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.class, - com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.class, com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3578,9 +3224,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override @@ -3599,8 +3245,7 @@ public com.google.cloud.talent.v4.SearchJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { - com.google.cloud.talent.v4.SearchJobsRequest result = - new com.google.cloud.talent.v4.SearchJobsRequest(this); + com.google.cloud.talent.v4.SearchJobsRequest result = new com.google.cloud.talent.v4.SearchJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.searchMode_ = searchMode_; @@ -3645,39 +3290,38 @@ public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -3720,10 +3364,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest other) { histogramQueriesBuilder_ = null; histogramQueries_ = other.histogramQueries_; bitField0_ = (bitField0_ & ~0x00000001); - histogramQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHistogramQueriesFieldBuilder() - : null; + histogramQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHistogramQueriesFieldBuilder() : null; } else { histogramQueriesBuilder_.addAllMessages(other.histogramQueries_); } @@ -3784,111 +3427,101 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - searchMode_ = input.readEnum(); + break; + } // case 10 + case 16: { + searchMode_ = input.readEnum(); - break; - } // case 16 - case 26: - { - input.readMessage(getRequestMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 16 + case 26: { + input.readMessage( + getRequestMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - input.readMessage(getJobQueryFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getJobQueryFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 40: - { - enableBroadening_ = input.readBool(); + break; + } // case 34 + case 40: { + enableBroadening_ = input.readBool(); - break; - } // case 40 - case 58: - { - com.google.cloud.talent.v4.HistogramQuery m = - input.readMessage( - com.google.cloud.talent.v4.HistogramQuery.parser(), extensionRegistry); - if (histogramQueriesBuilder_ == null) { - ensureHistogramQueriesIsMutable(); - histogramQueries_.add(m); - } else { - histogramQueriesBuilder_.addMessage(m); - } - break; - } // case 58 - case 64: - { - jobView_ = input.readEnum(); + break; + } // case 40 + case 58: { + com.google.cloud.talent.v4.HistogramQuery m = + input.readMessage( + com.google.cloud.talent.v4.HistogramQuery.parser(), + extensionRegistry); + if (histogramQueriesBuilder_ == null) { + ensureHistogramQueriesIsMutable(); + histogramQueries_.add(m); + } else { + histogramQueriesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: { + jobView_ = input.readEnum(); - break; - } // case 64 - case 72: - { - offset_ = input.readInt32(); + break; + } // case 64 + case 72: { + offset_ = input.readInt32(); - break; - } // case 72 - case 80: - { - maxPageSize_ = input.readInt32(); + break; + } // case 72 + case 80: { + maxPageSize_ = input.readInt32(); - break; - } // case 80 - case 90: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 80 + case 90: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 90 - case 98: - { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 90 + case 98: { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 98 - case 104: - { - diversificationLevel_ = input.readEnum(); + break; + } // case 98 + case 104: { + diversificationLevel_ = input.readEnum(); - break; - } // case 104 - case 114: - { - input.readMessage( - getCustomRankingInfoFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 104 + case 114: { + input.readMessage( + getCustomRankingInfoFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 114 - case 128: - { - disableKeywordMatch_ = input.readBool(); + break; + } // case 114 + case 128: { + disableKeywordMatch_ = input.readBool(); - break; - } // case 128 - case 144: - { - keywordMatchMode_ = input.readEnum(); + break; + } // case 128 + case 144: { + keywordMatchMode_ = input.readEnum(); - break; - } // case 144 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3898,29 +3531,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3929,25 +3557,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -3955,73 +3580,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -4029,71 +3641,55 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int searchMode_ = 0; /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override - public int getSearchModeValue() { + @java.lang.Override public int getSearchModeValue() { return searchMode_; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @param value The enum numeric value on the wire for searchMode to set. * @return This builder for chaining. */ public Builder setSearchModeValue(int value) { - + searchMode_ = value; onChanged(); return this; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @param value The searchMode to set. * @return This builder for chaining. */ @@ -4101,25 +3697,22 @@ public Builder setSearchMode(com.google.cloud.talent.v4.SearchJobsRequest.Search if (value == null) { throw new NullPointerException(); } - + searchMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return This builder for chaining. */ public Builder clearSearchMode() { - + searchMode_ = 0; onChanged(); return this; @@ -4127,64 +3720,45 @@ public Builder clearSearchMode() { private com.google.cloud.talent.v4.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, - com.google.cloud.talent.v4.RequestMetadata.Builder, - com.google.cloud.talent.v4.RequestMetadataOrBuilder> - requestMetadataBuilder_; + com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder> requestMetadataBuilder_; /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ public com.google.cloud.talent.v4.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { - return requestMetadata_ == null - ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequestMetadata(com.google.cloud.talent.v4.RequestMetadata value) { if (requestMetadataBuilder_ == null) { @@ -4200,17 +3774,13 @@ public Builder setRequestMetadata(com.google.cloud.talent.v4.RequestMetadata val return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequestMetadata( com.google.cloud.talent.v4.RequestMetadata.Builder builderForValue) { @@ -4224,25 +3794,19 @@ public Builder setRequestMetadata( return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRequestMetadata(com.google.cloud.talent.v4.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = - com.google.cloud.talent.v4.RequestMetadata.newBuilder(requestMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.RequestMetadata.newBuilder(requestMetadata_).mergeFrom(value).buildPartial(); } else { requestMetadata_ = value; } @@ -4254,17 +3818,13 @@ public Builder mergeRequestMetadata(com.google.cloud.talent.v4.RequestMetadata v return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { @@ -4278,70 +3838,54 @@ public Builder clearRequestMetadata() { return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.RequestMetadata.Builder getRequestMetadataBuilder() { - + onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { - return requestMetadata_ == null - ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? + com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; } } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, - com.google.cloud.talent.v4.RequestMetadata.Builder, - com.google.cloud.talent.v4.RequestMetadataOrBuilder> + com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { - requestMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, - com.google.cloud.talent.v4.RequestMetadata.Builder, - com.google.cloud.talent.v4.RequestMetadataOrBuilder>( - getRequestMetadata(), getParentForChildren(), isClean()); + requestMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder>( + getRequestMetadata(), + getParentForChildren(), + isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; @@ -4349,47 +3893,34 @@ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrB private com.google.cloud.talent.v4.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, - com.google.cloud.talent.v4.JobQuery.Builder, - com.google.cloud.talent.v4.JobQueryOrBuilder> - jobQueryBuilder_; + com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder> jobQueryBuilder_; /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ public boolean hasJobQuery() { return jobQueryBuilder_ != null || jobQuery_ != null; } - /** - * - * + /** *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return The jobQuery. */ public com.google.cloud.talent.v4.JobQuery getJobQuery() { if (jobQueryBuilder_ == null) { - return jobQuery_ == null - ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; } else { return jobQueryBuilder_.getMessage(); } } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4410,15 +3941,14 @@ public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery value) { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; */ - public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery.Builder builderForValue) { + public Builder setJobQuery( + com.google.cloud.talent.v4.JobQuery.Builder builderForValue) { if (jobQueryBuilder_ == null) { jobQuery_ = builderForValue.build(); onChanged(); @@ -4429,8 +3959,6 @@ public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery.Builder builderFo return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4441,9 +3969,7 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4.JobQuery value) { if (jobQueryBuilder_ == null) { if (jobQuery_ != null) { jobQuery_ = - com.google.cloud.talent.v4.JobQuery.newBuilder(jobQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.JobQuery.newBuilder(jobQuery_).mergeFrom(value).buildPartial(); } else { jobQuery_ = value; } @@ -4455,8 +3981,6 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4.JobQuery value) { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4475,8 +3999,6 @@ public Builder clearJobQuery() { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4484,13 +4006,11 @@ public Builder clearJobQuery() { * .google.cloud.talent.v4.JobQuery job_query = 4; */ public com.google.cloud.talent.v4.JobQuery.Builder getJobQueryBuilder() { - + onChanged(); return getJobQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4501,14 +4021,11 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { if (jobQueryBuilder_ != null) { return jobQueryBuilder_.getMessageOrBuilder(); } else { - return jobQuery_ == null - ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? + com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; } } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4516,26 +4033,21 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { * .google.cloud.talent.v4.JobQuery job_query = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, - com.google.cloud.talent.v4.JobQuery.Builder, - com.google.cloud.talent.v4.JobQueryOrBuilder> + com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder> getJobQueryFieldBuilder() { if (jobQueryBuilder_ == null) { - jobQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, - com.google.cloud.talent.v4.JobQuery.Builder, - com.google.cloud.talent.v4.JobQueryOrBuilder>( - getJobQuery(), getParentForChildren(), isClean()); + jobQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder>( + getJobQuery(), + getParentForChildren(), + isClean()); jobQuery_ = null; } return jobQueryBuilder_; } - private boolean enableBroadening_; + private boolean enableBroadening_ ; /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4544,7 +4056,6 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() {
      * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ @java.lang.Override @@ -4552,8 +4063,6 @@ public boolean getEnableBroadening() { return enableBroadening_; } /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4562,19 +4071,16 @@ public boolean getEnableBroadening() {
      * 
* * bool enable_broadening = 5; - * * @param value The enableBroadening to set. * @return This builder for chaining. */ public Builder setEnableBroadening(boolean value) { - + enableBroadening_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4583,36 +4089,28 @@ public Builder setEnableBroadening(boolean value) {
      * 
* * bool enable_broadening = 5; - * * @return This builder for chaining. */ public Builder clearEnableBroadening() { - + enableBroadening_ = false; onChanged(); return this; } private java.util.List histogramQueries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHistogramQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - histogramQueries_ = - new java.util.ArrayList(histogramQueries_); + histogramQueries_ = new java.util.ArrayList(histogramQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQuery, - com.google.cloud.talent.v4.HistogramQuery.Builder, - com.google.cloud.talent.v4.HistogramQueryOrBuilder> - histogramQueriesBuilder_; + com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder> histogramQueriesBuilder_; /** - * - * *
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4709,8 +4207,6 @@ public java.util.List getHistogramQue
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4807,8 +4303,6 @@ public int getHistogramQueriesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4905,8 +4399,6 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4995,7 +4487,8 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.HistogramQuery value) {
+    public Builder setHistogramQueries(
+        int index, com.google.cloud.talent.v4.HistogramQuery value) {
       if (histogramQueriesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5009,8 +4502,6 @@ public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.Histogr
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5111,8 +4602,6 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5215,8 +4704,6 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5305,7 +4792,8 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.HistogramQuery value) {
+    public Builder addHistogramQueries(
+        int index, com.google.cloud.talent.v4.HistogramQuery value) {
       if (histogramQueriesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5319,8 +4807,6 @@ public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.Histogr
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5421,8 +4907,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5523,8 +5007,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5617,7 +5099,8 @@ public Builder addAllHistogramQueries(
         java.lang.Iterable values) {
       if (histogramQueriesBuilder_ == null) {
         ensureHistogramQueriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, histogramQueries_);
         onChanged();
       } else {
         histogramQueriesBuilder_.addAllMessages(values);
@@ -5625,8 +5108,6 @@ public Builder addAllHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5726,8 +5207,6 @@ public Builder clearHistogramQueries() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5827,8 +5306,6 @@ public Builder removeHistogramQueries(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5917,12 +5394,11 @@ public Builder removeHistogramQueries(int index) {
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuilder(int index) {
+    public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuilder(
+        int index) {
       return getHistogramQueriesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6014,14 +5490,11 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuil
     public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
         int index) {
       if (histogramQueriesBuilder_ == null) {
-        return histogramQueries_.get(index);
-      } else {
+        return histogramQueries_.get(index);  } else {
         return histogramQueriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6110,8 +5583,8 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesOrBuilderList() {
+    public java.util.List 
+         getHistogramQueriesOrBuilderList() {
       if (histogramQueriesBuilder_ != null) {
         return histogramQueriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -6119,8 +5592,6 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6210,12 +5681,10 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
     public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder() {
-      return getHistogramQueriesFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6304,13 +5773,12 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder(int index) {
-      return getHistogramQueriesFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
+    public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder(
+        int index) {
+      return getHistogramQueriesFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6399,22 +5867,16 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesBuilderList() {
+    public java.util.List 
+         getHistogramQueriesBuilderList() {
       return getHistogramQueriesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.HistogramQuery,
-            com.google.cloud.talent.v4.HistogramQuery.Builder,
-            com.google.cloud.talent.v4.HistogramQueryOrBuilder>
+        com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder> 
         getHistogramQueriesFieldBuilder() {
       if (histogramQueriesBuilder_ == null) {
-        histogramQueriesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.HistogramQuery,
-                com.google.cloud.talent.v4.HistogramQuery.Builder,
-                com.google.cloud.talent.v4.HistogramQueryOrBuilder>(
+        histogramQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder>(
                 histogramQueries_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -6426,69 +5888,55 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
 
     private int jobView_ = 0;
     /**
-     *
-     *
      * 
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = - com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @param value The jobView to set. * @return This builder for chaining. */ @@ -6496,34 +5944,29 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - private int offset_; + private int offset_ ; /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6536,7 +5979,6 @@ public Builder clearJobView() {
      * 
* * int32 offset = 9; - * * @return The offset. */ @java.lang.Override @@ -6544,8 +5986,6 @@ public int getOffset() { return offset_; } /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6558,19 +5998,16 @@ public int getOffset() {
      * 
* * int32 offset = 9; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6583,20 +6020,17 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 9; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; } - private int maxPageSize_; + private int maxPageSize_ ; /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6604,7 +6038,6 @@ public Builder clearOffset() {
      * 
* * int32 max_page_size = 10; - * * @return The maxPageSize. */ @java.lang.Override @@ -6612,8 +6045,6 @@ public int getMaxPageSize() { return maxPageSize_; } /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6621,19 +6052,16 @@ public int getMaxPageSize() {
      * 
* * int32 max_page_size = 10; - * * @param value The maxPageSize to set. * @return This builder for chaining. */ public Builder setMaxPageSize(int value) { - + maxPageSize_ = value; onChanged(); return this; } /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6641,11 +6069,10 @@ public Builder setMaxPageSize(int value) {
      * 
* * int32 max_page_size = 10; - * * @return This builder for chaining. */ public Builder clearMaxPageSize() { - + maxPageSize_ = 0; onChanged(); return this; @@ -6653,8 +6080,6 @@ public Builder clearMaxPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6662,13 +6087,13 @@ public Builder clearMaxPageSize() {
      * 
* * string page_token = 11; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -6677,8 +6102,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6686,14 +6109,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6701,8 +6125,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6710,22 +6132,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 11; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6733,18 +6153,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 11; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6752,16 +6169,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 11; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -6769,8 +6186,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6823,13 +6238,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 12; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -6838,8 +6253,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6892,14 +6305,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -6907,8 +6321,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6961,22 +6373,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 12; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7029,18 +6439,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 12; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7093,16 +6500,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 12; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -7110,8 +6517,6 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private int diversificationLevel_ = 0; /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7123,19 +6528,13 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override - public int getDiversificationLevelValue() { + @java.lang.Override public int getDiversificationLevelValue() { return diversificationLevel_; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7147,22 +6546,17 @@ public int getDiversificationLevelValue() {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @param value The enum numeric value on the wire for diversificationLevel to set. * @return This builder for chaining. */ public Builder setDiversificationLevelValue(int value) { - + diversificationLevel_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7174,26 +6568,16 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel - getDiversificationLevel() { + public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf( - diversificationLevel_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7205,26 +6589,20 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @param value The diversificationLevel to set. * @return This builder for chaining. */ - public Builder setDiversificationLevel( - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel value) { + public Builder setDiversificationLevel(com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel value) { if (value == null) { throw new NullPointerException(); } - + diversificationLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7236,14 +6614,11 @@ public Builder setDiversificationLevel(
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return This builder for chaining. */ public Builder clearDiversificationLevel() { - + diversificationLevel_ = 0; onChanged(); return this; @@ -7251,61 +6626,44 @@ public Builder clearDiversificationLevel() { private com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> - customRankingInfoBuilder_; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> customRankingInfoBuilder_; /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ public boolean hasCustomRankingInfo() { return customRankingInfoBuilder_ != null || customRankingInfo_ != null; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } else { return customRankingInfoBuilder_.getMessage(); } } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public Builder setCustomRankingInfo( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { + public Builder setCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7319,15 +6677,12 @@ public Builder setCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ public Builder setCustomRankingInfo( com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder builderForValue) { @@ -7341,25 +6696,18 @@ public Builder setCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public Builder mergeCustomRankingInfo( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { + public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (customRankingInfo_ != null) { customRankingInfo_ = - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder( - customRankingInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder(customRankingInfo_).mergeFrom(value).buildPartial(); } else { customRankingInfo_ = value; } @@ -7371,15 +6719,12 @@ public Builder mergeCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ public Builder clearCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { @@ -7393,75 +6738,58 @@ public Builder clearCustomRankingInfo() { return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder - getCustomRankingInfoBuilder() { - + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder getCustomRankingInfoBuilder() { + onChanged(); return getCustomRankingInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { if (customRankingInfoBuilder_ != null) { return customRankingInfoBuilder_.getMessageOrBuilder(); } else { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> getCustomRankingInfoFieldBuilder() { if (customRankingInfoBuilder_ == null) { - customRankingInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder>( - getCustomRankingInfo(), getParentForChildren(), isClean()); + customRankingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder>( + getCustomRankingInfo(), + getParentForChildren(), + isClean()); customRankingInfo_ = null; } return customRankingInfoBuilder_; } - private boolean disableKeywordMatch_; + private boolean disableKeywordMatch_ ; /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7488,19 +6816,15 @@ public Builder clearCustomRankingInfo() {
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ @java.lang.Override - @java.lang.Deprecated - public boolean getDisableKeywordMatch() { + @java.lang.Deprecated public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7527,22 +6851,18 @@ public boolean getDisableKeywordMatch() {
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDisableKeywordMatch(boolean value) { - + @java.lang.Deprecated public Builder setDisableKeywordMatch(boolean value) { + disableKeywordMatch_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7569,14 +6889,12 @@ public Builder setDisableKeywordMatch(boolean value) {
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearDisableKeywordMatch() { - + @java.lang.Deprecated public Builder clearDisableKeywordMatch() { + disableKeywordMatch_ = false; onChanged(); return this; @@ -7584,8 +6902,6 @@ public Builder clearDisableKeywordMatch() { private int keywordMatchMode_ = 0; /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7593,18 +6909,13 @@ public Builder clearDisableKeywordMatch() {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override - public int getKeywordMatchModeValue() { + @java.lang.Override public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7612,21 +6923,17 @@ public int getKeywordMatchModeValue() {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @param value The enum numeric value on the wire for keywordMatchMode to set. * @return This builder for chaining. */ public Builder setKeywordMatchModeValue(int value) { - + keywordMatchMode_ = value; onChanged(); return this; } /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7634,23 +6941,16 @@ public Builder setKeywordMatchModeValue(int value) {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; } /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7658,25 +6958,20 @@ public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordM
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @param value The keywordMatchMode to set. * @return This builder for chaining. */ - public Builder setKeywordMatchMode( - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { + public Builder setKeywordMatchMode(com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { if (value == null) { throw new NullPointerException(); } - + keywordMatchMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7684,20 +6979,18 @@ public Builder setKeywordMatchMode(
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return This builder for chaining. */ public Builder clearKeywordMatchMode() { - + keywordMatchMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7707,12 +7000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsRequest) private static final com.google.cloud.talent.v4.SearchJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsRequest(); } @@ -7721,27 +7014,27 @@ public static com.google.cloud.talent.v4.SearchJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7756,4 +7049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SearchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java similarity index 94% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java index 0dfbd092fa81..7ad20b7bcb8d 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java @@ -1,162 +1,109 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface SearchJobsRequestOrBuilder - extends +public interface SearchJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ int getSearchModeValue(); /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ boolean hasRequestMetadata(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ com.google.cloud.talent.v4.RequestMetadata getRequestMetadata(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ boolean hasJobQuery(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return The jobQuery. */ com.google.cloud.talent.v4.JobQuery getJobQuery(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -166,8 +113,6 @@ public interface SearchJobsRequestOrBuilder com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder(); /** - * - * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -176,14 +121,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ boolean getEnableBroadening(); /** - * - * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -272,10 +214,9 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  java.util.List getHistogramQueriesList();
+  java.util.List 
+      getHistogramQueriesList();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -366,8 +307,6 @@ public interface SearchJobsRequestOrBuilder
    */
   com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index);
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -458,8 +397,6 @@ public interface SearchJobsRequestOrBuilder
    */
   int getHistogramQueriesCount();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -548,11 +485,9 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  java.util.List
+  java.util.List 
       getHistogramQueriesOrBuilderList();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -641,38 +576,31 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(int index);
+  com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** - * - * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The jobView. */ com.google.cloud.talent.v4.JobView getJobView(); /** - * - * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -685,14 +613,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * int32 offset = 9; - * * @return The offset. */ int getOffset(); /** - * - * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -700,14 +625,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * int32 max_page_size = 10; - * * @return The maxPageSize. */ int getMaxPageSize(); /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -715,13 +637,10 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string page_token = 11; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -729,14 +648,12 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -789,13 +706,10 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string order_by = 12; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -848,14 +762,12 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -867,16 +779,11 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ int getDiversificationLevelValue(); /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -888,59 +795,42 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ boolean hasCustomRankingInfo(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder(); /** - * - * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -967,17 +857,13 @@ public interface SearchJobsRequestOrBuilder
    * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ - @java.lang.Deprecated - boolean getDisableKeywordMatch(); + @java.lang.Deprecated boolean getDisableKeywordMatch(); /** - * - * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -985,15 +871,11 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ int getKeywordMatchModeValue(); /** - * - * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -1001,9 +883,7 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java similarity index 77% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java index 1a09357dddff..8c4e26d5575a 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Response for SearchJob method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse} */ -public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse) SearchJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchJobsResponse.newBuilder() to construct. private SearchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchJobsResponse() { matchingJobs_ = java.util.Collections.emptyList(); histogramQueryResults_ = java.util.Collections.emptyList(); @@ -46,62 +28,52 @@ private SearchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.class, - com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.class, com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); } - public interface MatchingJobOrBuilder - extends + public interface MatchingJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
@@ -111,35 +83,28 @@ public interface MatchingJobOrBuilder com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder(); /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The jobSummary. */ java.lang.String getJobSummary(); /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ - com.google.protobuf.ByteString getJobSummaryBytes(); + com.google.protobuf.ByteString + getJobSummaryBytes(); /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -147,13 +112,10 @@ public interface MatchingJobOrBuilder
      * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ java.lang.String getJobTitleSnippet(); /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -161,14 +123,12 @@ public interface MatchingJobOrBuilder
      * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ - com.google.protobuf.ByteString getJobTitleSnippetBytes(); + com.google.protobuf.ByteString + getJobTitleSnippetBytes(); /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -177,13 +137,10 @@ public interface MatchingJobOrBuilder
      * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ java.lang.String getSearchTextSnippet(); /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -192,40 +149,32 @@ public interface MatchingJobOrBuilder
      * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ - com.google.protobuf.ByteString getSearchTextSnippetBytes(); + com.google.protobuf.ByteString + getSearchTextSnippetBytes(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ boolean hasCommuteInfo(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -236,24 +185,21 @@ public interface MatchingJobOrBuilder
     com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.MatchingJob} */ - public static final class MatchingJob extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MatchingJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) MatchingJobOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MatchingJob.newBuilder() to construct. private MatchingJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MatchingJob() { jobSummary_ = ""; jobTitleSnippet_ = ""; @@ -262,41 +208,37 @@ private MatchingJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MatchingJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -304,14 +246,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -319,8 +258,6 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
@@ -335,15 +272,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private volatile java.lang.Object jobSummary_; /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The jobSummary. */ @java.lang.Override @@ -352,30 +286,30 @@ public java.lang.String getJobSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; } } /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ @java.lang.Override - public com.google.protobuf.ByteString getJobSummaryBytes() { + public com.google.protobuf.ByteString + getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -386,8 +320,6 @@ public com.google.protobuf.ByteString getJobSummaryBytes() { public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 3; private volatile java.lang.Object jobTitleSnippet_; /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -395,7 +327,6 @@ public com.google.protobuf.ByteString getJobSummaryBytes() {
      * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ @java.lang.Override @@ -404,15 +335,14 @@ public java.lang.String getJobTitleSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; } } /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -420,15 +350,16 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString + getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -439,8 +370,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() { public static final int SEARCH_TEXT_SNIPPET_FIELD_NUMBER = 4; private volatile java.lang.Object searchTextSnippet_; /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -449,7 +378,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
      * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ @java.lang.Override @@ -458,15 +386,14 @@ public java.lang.String getSearchTextSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; } } /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -475,15 +402,16 @@ public java.lang.String getSearchTextSnippet() {
      * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString + getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -494,15 +422,12 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() { public static final int COMMUTE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commuteInfo_; /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ @java.lang.Override @@ -510,26 +435,19 @@ public boolean hasCommuteInfo() { return commuteInfo_ != null; } /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo() { - return commuteInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() - : commuteInfo_; + return commuteInfo_ == null ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; } /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -538,13 +456,11 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(
      * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder
-        getCommuteInfoOrBuilder() {
+    public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
       return getCommuteInfo();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -556,7 +472,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -582,7 +499,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJob());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSummary_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobSummary_);
@@ -594,7 +512,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchTextSnippet_);
       }
       if (commuteInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteInfo());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getCommuteInfo());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -604,24 +523,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other =
-          (com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) obj;
+      com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob().equals(other.getJob())) return false;
-      }
-      if (!getJobSummary().equals(other.getJobSummary())) return false;
-      if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false;
-      if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false;
+        if (!getJob()
+            .equals(other.getJob())) return false;
+      }
+      if (!getJobSummary()
+          .equals(other.getJobSummary())) return false;
+      if (!getJobTitleSnippet()
+          .equals(other.getJobTitleSnippet())) return false;
+      if (!getSearchTextSnippet()
+          .equals(other.getSearchTextSnippet())) return false;
       if (hasCommuteInfo() != other.hasCommuteInfo()) return false;
       if (hasCommuteInfo()) {
-        if (!getCommuteInfo().equals(other.getCommuteInfo())) return false;
+        if (!getCommuteInfo()
+            .equals(other.getCommuteInfo())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -654,94 +577,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -751,41 +667,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.MatchingJob} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -811,9 +725,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override @@ -832,8 +746,7 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob result = - new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob(this); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob result = new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -855,41 +768,38 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob)other); } else { super.mergeFrom(other); return this; @@ -897,8 +807,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other) { - if (other == com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -943,43 +852,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - jobSummary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - jobTitleSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - searchTextSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - input.readMessage(getCommuteInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + jobSummary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + jobTitleSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + searchTextSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + input.readMessage( + getCommuteInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -992,33 +899,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -1029,8 +927,6 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1051,15 +947,14 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; */ - public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -1070,8 +965,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1081,7 +974,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -1093,8 +987,6 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1113,8 +1005,6 @@ public Builder clearJob() { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1122,13 +1012,11 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 1; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1139,12 +1027,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1152,17 +1039,14 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -1170,21 +1054,19 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobSummary_ = ""; /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return The jobSummary. */ public java.lang.String getJobSummary() { java.lang.Object ref = jobSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; @@ -1193,22 +1075,21 @@ public java.lang.String getJobSummary() { } } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ - public com.google.protobuf.ByteString getJobSummaryBytes() { + public com.google.protobuf.ByteString + getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -1216,64 +1097,57 @@ public com.google.protobuf.ByteString getJobSummaryBytes() { } } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @param value The jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummary(java.lang.String value) { + public Builder setJobSummary( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobSummary_ = value; onChanged(); return this; } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return This builder for chaining. */ public Builder clearJobSummary() { - + jobSummary_ = getDefaultInstance().getJobSummary(); onChanged(); return this; } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @param value The bytes for jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { + public Builder setJobSummaryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobSummary_ = value; onChanged(); return this; @@ -1281,8 +1155,6 @@ public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { private java.lang.Object jobTitleSnippet_ = ""; /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1290,13 +1162,13 @@ public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) {
        * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ public java.lang.String getJobTitleSnippet() { java.lang.Object ref = jobTitleSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; @@ -1305,8 +1177,6 @@ public java.lang.String getJobTitleSnippet() { } } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1314,14 +1184,15 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ - public com.google.protobuf.ByteString getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString + getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -1329,8 +1200,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() { } } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1338,22 +1207,20 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
        * 
* * string job_title_snippet = 3; - * * @param value The jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippet(java.lang.String value) { + public Builder setJobTitleSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTitleSnippet_ = value; onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1361,18 +1228,15 @@ public Builder setJobTitleSnippet(java.lang.String value) {
        * 
* * string job_title_snippet = 3; - * * @return This builder for chaining. */ public Builder clearJobTitleSnippet() { - + jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet(); onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1380,16 +1244,16 @@ public Builder clearJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; - * * @param value The bytes for jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setJobTitleSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTitleSnippet_ = value; onChanged(); return this; @@ -1397,8 +1261,6 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { private java.lang.Object searchTextSnippet_ = ""; /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1407,13 +1269,13 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) {
        * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ public java.lang.String getSearchTextSnippet() { java.lang.Object ref = searchTextSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; @@ -1422,8 +1284,6 @@ public java.lang.String getSearchTextSnippet() { } } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1432,14 +1292,15 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ - public com.google.protobuf.ByteString getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString + getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -1447,8 +1308,6 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() { } } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1457,22 +1316,20 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() {
        * 
* * string search_text_snippet = 4; - * * @param value The searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippet(java.lang.String value) { + public Builder setSearchTextSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchTextSnippet_ = value; onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1481,18 +1338,15 @@ public Builder setSearchTextSnippet(java.lang.String value) {
        * 
* * string search_text_snippet = 4; - * * @return This builder for chaining. */ public Builder clearSearchTextSnippet() { - + searchTextSnippet_ = getDefaultInstance().getSearchTextSnippet(); onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1501,16 +1355,16 @@ public Builder clearSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; - * * @param value The bytes for searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setSearchTextSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchTextSnippet_ = value; onChanged(); return this; @@ -1518,49 +1372,36 @@ public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> - commuteInfoBuilder_; + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> commuteInfoBuilder_; /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
        * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ public boolean hasCommuteInfo() { return commuteInfoBuilder_ != null || commuteInfo_ != null; } /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
        * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo() { if (commuteInfoBuilder_ == null) { - return commuteInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() - : commuteInfo_; + return commuteInfo_ == null ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; } else { return commuteInfoBuilder_.getMessage(); } } /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1568,8 +1409,7 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder setCommuteInfo(
-          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
+      public Builder setCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1583,8 +1423,6 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1604,8 +1442,6 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1613,14 +1449,11 @@ public Builder setCommuteInfo(
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder mergeCommuteInfo(
-          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
+      public Builder mergeCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (commuteInfo_ != null) {
             commuteInfo_ =
-                com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_).mergeFrom(value).buildPartial();
           } else {
             commuteInfo_ = value;
           }
@@ -1632,8 +1465,6 @@ public Builder mergeCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1653,8 +1484,6 @@ public Builder clearCommuteInfo() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1662,15 +1491,12 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder
-          getCommuteInfoBuilder() {
-
+      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder() {
+        
         onChanged();
         return getCommuteInfoFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1678,19 +1504,15 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder
-          getCommuteInfoOrBuilder() {
+      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
         if (commuteInfoBuilder_ != null) {
           return commuteInfoBuilder_.getMessageOrBuilder();
         } else {
-          return commuteInfo_ == null
-              ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()
-              : commuteInfo_;
+          return commuteInfo_ == null ?
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_;
         }
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1699,22 +1521,18 @@ public Builder clearCommuteInfo() {
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo,
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder,
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>
+          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> 
           getCommuteInfoFieldBuilder() {
         if (commuteInfoBuilder_ == null) {
-          commuteInfoBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo,
-                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder,
-                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>(
-                  getCommuteInfo(), getParentForChildren(), isClean());
+          commuteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>(
+                  getCommuteInfo(),
+                  getParentForChildren(),
+                  isClean());
           commuteInfo_ = null;
         }
         return commuteInfoBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1727,12 +1545,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse.MatchingJob)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse.MatchingJob)
     private static final com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob();
     }
@@ -1741,28 +1559,27 @@ public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public MatchingJob parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public MatchingJob parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1777,40 +1594,32 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CommuteInfoOrBuilder
-      extends
+  public interface CommuteInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ boolean hasJobLocation(); /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return The jobLocation. */ com.google.cloud.talent.v4.Location getJobLocation(); /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1820,8 +1629,6 @@ public interface CommuteInfoOrBuilder com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1830,13 +1637,10 @@ public interface CommuteInfoOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); - /** - * - * + /** *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1845,13 +1649,10 @@ public interface CommuteInfoOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1864,63 +1665,57 @@ public interface CommuteInfoOrBuilder
     com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Commute details related to this job.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.CommuteInfo} */ - public static final class CommuteInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CommuteInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) CommuteInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteInfo.newBuilder() to construct. private CommuteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommuteInfo() {} + private CommuteInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommuteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); } public static final int JOB_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Location jobLocation_; /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ @java.lang.Override @@ -1928,25 +1723,18 @@ public boolean hasJobLocation() { return jobLocation_ != null; } /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return The jobLocation. */ @java.lang.Override public com.google.cloud.talent.v4.Location getJobLocation() { - return jobLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; } /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1961,8 +1749,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1971,7 +1757,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() {
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -1979,8 +1764,6 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1989,18 +1772,13 @@ public boolean hasTravelDuration() {
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -2016,7 +1794,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2028,7 +1805,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (jobLocation_ != null) {
         output.writeMessage(1, getJobLocation());
       }
@@ -2045,10 +1823,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (jobLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobLocation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJobLocation());
       }
       if (travelDuration_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getTravelDuration());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2058,21 +1838,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other =
-          (com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) obj;
+      com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) obj;
 
       if (hasJobLocation() != other.hasJobLocation()) return false;
       if (hasJobLocation()) {
-        if (!getJobLocation().equals(other.getJobLocation())) return false;
+        if (!getJobLocation()
+            .equals(other.getJobLocation())) return false;
       }
       if (hasTravelDuration() != other.hasTravelDuration()) return false;
       if (hasTravelDuration()) {
-        if (!getTravelDuration().equals(other.getTravelDuration())) return false;
+        if (!getTravelDuration()
+            .equals(other.getTravelDuration())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2099,94 +1880,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2196,41 +1970,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Commute details related to this job.
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.CommuteInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2250,9 +2022,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override @@ -2271,8 +2043,7 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo result = - new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo(this); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo result = new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo(this); if (jobLocationBuilder_ == null) { result.jobLocation_ = jobLocation_; } else { @@ -2291,41 +2062,38 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)other); } else { super.mergeFrom(other); return this; @@ -2333,8 +2101,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other) { - if (other == com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()) return this; if (other.hasJobLocation()) { mergeJobLocation(other.getJobLocation()); } @@ -2367,26 +2134,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2399,47 +2166,34 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> - jobLocationBuilder_; + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> jobLocationBuilder_; /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ public boolean hasJobLocation() { return jobLocationBuilder_ != null || jobLocation_ != null; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return The jobLocation. */ public com.google.cloud.talent.v4.Location getJobLocation() { if (jobLocationBuilder_ == null) { - return jobLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; } else { return jobLocationBuilder_.getMessage(); } } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2460,15 +2214,14 @@ public Builder setJobLocation(com.google.cloud.talent.v4.Location value) { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; */ - public Builder setJobLocation(com.google.cloud.talent.v4.Location.Builder builderForValue) { + public Builder setJobLocation( + com.google.cloud.talent.v4.Location.Builder builderForValue) { if (jobLocationBuilder_ == null) { jobLocation_ = builderForValue.build(); onChanged(); @@ -2479,8 +2232,6 @@ public Builder setJobLocation(com.google.cloud.talent.v4.Location.Builder builde return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2491,9 +2242,7 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4.Location value) { if (jobLocationBuilder_ == null) { if (jobLocation_ != null) { jobLocation_ = - com.google.cloud.talent.v4.Location.newBuilder(jobLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Location.newBuilder(jobLocation_).mergeFrom(value).buildPartial(); } else { jobLocation_ = value; } @@ -2505,8 +2254,6 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4.Location value) { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2525,8 +2272,6 @@ public Builder clearJobLocation() { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2534,13 +2279,11 @@ public Builder clearJobLocation() { * .google.cloud.talent.v4.Location job_location = 1; */ public com.google.cloud.talent.v4.Location.Builder getJobLocationBuilder() { - + onChanged(); return getJobLocationFieldBuilder().getBuilder(); } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2551,14 +2294,11 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { if (jobLocationBuilder_ != null) { return jobLocationBuilder_.getMessageOrBuilder(); } else { - return jobLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? + com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; } } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2566,17 +2306,14 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { * .google.cloud.talent.v4.Location job_location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> getJobLocationFieldBuilder() { if (jobLocationBuilder_ == null) { - jobLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder>( - getJobLocation(), getParentForChildren(), isClean()); + jobLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>( + getJobLocation(), + getParentForChildren(), + isClean()); jobLocation_ = null; } return jobLocationBuilder_; @@ -2584,13 +2321,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - travelDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2599,15 +2331,12 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() {
        * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2616,21 +2345,16 @@ public boolean hasTravelDuration() {
        * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2654,8 +2378,6 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2665,7 +2387,8 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration travel_duration = 2;
        */
-      public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTravelDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (travelDurationBuilder_ == null) {
           travelDuration_ = builderForValue.build();
           onChanged();
@@ -2676,8 +2399,6 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2691,9 +2412,7 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         if (travelDurationBuilder_ == null) {
           if (travelDuration_ != null) {
             travelDuration_ =
-                com.google.protobuf.Duration.newBuilder(travelDuration_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial();
           } else {
             travelDuration_ = value;
           }
@@ -2705,8 +2424,6 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2728,8 +2445,6 @@ public Builder clearTravelDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2740,13 +2455,11 @@ public Builder clearTravelDuration() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       public com.google.protobuf.Duration.Builder getTravelDurationBuilder() {
-
+        
         onChanged();
         return getTravelDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2760,14 +2473,11 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
         if (travelDurationBuilder_ != null) {
           return travelDurationBuilder_.getMessageOrBuilder();
         } else {
-          return travelDuration_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : travelDuration_;
+          return travelDuration_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : travelDuration_;
         }
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2778,22 +2488,18 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getTravelDurationFieldBuilder() {
         if (travelDurationBuilder_ == null) {
-          travelDurationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getTravelDuration(), getParentForChildren(), isClean());
+          travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getTravelDuration(),
+                  getParentForChildren(),
+                  isClean());
           travelDuration_ = null;
         }
         return travelDurationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2806,12 +2512,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
     private static final com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo();
     }
@@ -2820,28 +2526,27 @@ public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CommuteInfo parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CommuteInfo parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2856,13 +2561,12 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int MATCHING_JOBS_FIELD_NUMBER = 1;
   private java.util.List matchingJobs_;
   /**
-   *
-   *
    * 
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2870,13 +2574,10 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInsta * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List - getMatchingJobsList() { + public java.util.List getMatchingJobsList() { return matchingJobs_; } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2884,14 +2585,11 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInsta * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + public java.util.List getMatchingJobsOrBuilderList() { return matchingJobs_; } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2903,8 +2601,6 @@ public int getMatchingJobsCount() { return matchingJobs_.size(); } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2916,8 +2612,6 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs return matchingJobs_.get(index); } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2925,16 +2619,14 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder - getMatchingJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( + int index) { return matchingJobs_.get(index); } public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER = 2; private java.util.List histogramQueryResults_; /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2943,13 +2635,10 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getHistogramQueryResultsList() {
+  public java.util.List getHistogramQueryResultsList() {
     return histogramQueryResults_;
   }
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2958,13 +2647,11 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHistogramQueryResultsOrBuilderList() {
     return histogramQueryResults_;
   }
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2977,8 +2664,6 @@ public int getHistogramQueryResultsCount() {
     return histogramQueryResults_.size();
   }
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2991,8 +2676,6 @@ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(
     return histogramQueryResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -3009,15 +2692,12 @@ public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQuer
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -3026,30 +2706,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -3060,8 +2740,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int LOCATION_FILTERS_FIELD_NUMBER = 4; private java.util.List locationFilters_; /** - * - * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3075,8 +2753,6 @@ public java.util.List getLocationFiltersLis
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3086,13 +2762,11 @@ public java.util.List getLocationFiltersLis
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3106,8 +2780,6 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3121,8 +2793,6 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3132,22 +2802,20 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
+  public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
+      int index) {
     return locationFilters_.get(index);
   }
 
   public static final int TOTAL_SIZE_FIELD_NUMBER = 6;
   private int totalSize_;
   /**
-   *
-   *
    * 
    * Number of jobs that match the specified query.
    * Note: This size is precise only if the total is less than 100,000.
    * 
* * int32 total_size = 6; - * * @return The totalSize. */ @java.lang.Override @@ -3158,15 +2826,12 @@ public int getTotalSize() { public static final int METADATA_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -3174,26 +2839,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -3209,8 +2867,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER = 8;
   private int broadenedQueryJobsCount_;
   /**
-   *
-   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -3222,7 +2878,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
    * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -3233,14 +2888,11 @@ public int getBroadenedQueryJobsCount() { public static final int SPELL_CORRECTION_FIELD_NUMBER = 9; private com.google.cloud.talent.v4.SpellingCorrection spellCorrection_; /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ @java.lang.Override @@ -3248,25 +2900,18 @@ public boolean hasSpellCorrection() { return spellCorrection_ != null; } /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ @java.lang.Override public com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection() { - return spellCorrection_ == null - ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; } /** - * - * *
    * The spell checking result, and correction.
    * 
@@ -3279,7 +2924,6 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3291,7 +2935,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < matchingJobs_.size(); i++) { output.writeMessage(1, matchingJobs_.get(i)); } @@ -3326,30 +2971,35 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < matchingJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchingJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, matchingJobs_.get(i)); } for (int i = 0; i < histogramQueryResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, histogramQueryResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, histogramQueryResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, locationFilters_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, totalSize_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getMetadata()); } if (broadenedQueryJobsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, broadenedQueryJobsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, broadenedQueryJobsCount_); } if (spellCorrection_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSpellCorrection()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getSpellCorrection()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3359,27 +3009,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsResponse other = - (com.google.cloud.talent.v4.SearchJobsResponse) obj; - - if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; - if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; - if (getTotalSize() != other.getTotalSize()) return false; + com.google.cloud.talent.v4.SearchJobsResponse other = (com.google.cloud.talent.v4.SearchJobsResponse) obj; + + if (!getMatchingJobsList() + .equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList() + .equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList() + .equals(other.getLocationFiltersList())) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata().equals(other.getMetadata())) return false; + if (!getMetadata() + .equals(other.getMetadata())) return false; } - if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; + if (getBroadenedQueryJobsCount() + != other.getBroadenedQueryJobsCount()) return false; if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; + if (!getSpellCorrection() + .equals(other.getSpellCorrection())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3423,136 +3080,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for SearchJob method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse) com.google.cloud.talent.v4.SearchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.class, - com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.class, com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3599,9 +3250,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override @@ -3620,8 +3271,7 @@ public com.google.cloud.talent.v4.SearchJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse result = - new com.google.cloud.talent.v4.SearchJobsResponse(this); + com.google.cloud.talent.v4.SearchJobsResponse result = new com.google.cloud.talent.v4.SearchJobsResponse(this); int from_bitField0_ = bitField0_; if (matchingJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3671,39 +3321,38 @@ public com.google.cloud.talent.v4.SearchJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -3730,10 +3379,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { matchingJobsBuilder_ = null; matchingJobs_ = other.matchingJobs_; bitField0_ = (bitField0_ & ~0x00000001); - matchingJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMatchingJobsFieldBuilder() - : null; + matchingJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchingJobsFieldBuilder() : null; } else { matchingJobsBuilder_.addAllMessages(other.matchingJobs_); } @@ -3757,10 +3405,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { histogramQueryResultsBuilder_ = null; histogramQueryResults_ = other.histogramQueryResults_; bitField0_ = (bitField0_ & ~0x00000002); - histogramQueryResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHistogramQueryResultsFieldBuilder() - : null; + histogramQueryResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHistogramQueryResultsFieldBuilder() : null; } else { histogramQueryResultsBuilder_.addAllMessages(other.histogramQueryResults_); } @@ -3788,10 +3435,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000004); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationFiltersFieldBuilder() - : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationFiltersFieldBuilder() : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -3835,84 +3481,80 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob m = - input.readMessage( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.parser(), - extensionRegistry); - if (matchingJobsBuilder_ == null) { - ensureMatchingJobsIsMutable(); - matchingJobs_.add(m); - } else { - matchingJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4.HistogramQueryResult m = - input.readMessage( - com.google.cloud.talent.v4.HistogramQueryResult.parser(), - extensionRegistry); - if (histogramQueryResultsBuilder_ == null) { - ensureHistogramQueryResultsIsMutable(); - histogramQueryResults_.add(m); - } else { - histogramQueryResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob m = + input.readMessage( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.parser(), + extensionRegistry); + if (matchingJobsBuilder_ == null) { + ensureMatchingJobsIsMutable(); + matchingJobs_.add(m); + } else { + matchingJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4.HistogramQueryResult m = + input.readMessage( + com.google.cloud.talent.v4.HistogramQueryResult.parser(), + extensionRegistry); + if (histogramQueryResultsBuilder_ == null) { + ensureHistogramQueryResultsIsMutable(); + histogramQueryResults_.add(m); + } else { + histogramQueryResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - com.google.cloud.talent.v4.Location m = - input.readMessage( - com.google.cloud.talent.v4.Location.parser(), extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 34 - case 48: - { - totalSize_ = input.readInt32(); + break; + } // case 26 + case 34: { + com.google.cloud.talent.v4.Location m = + input.readMessage( + com.google.cloud.talent.v4.Location.parser(), + extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 34 + case 48: { + totalSize_ = input.readInt32(); - break; - } // case 48 - case 58: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 48 + case 58: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - case 64: - { - broadenedQueryJobsCount_ = input.readInt32(); + break; + } // case 58 + case 64: { + broadenedQueryJobsCount_ = input.readInt32(); - break; - } // case 64 - case 74: - { - input.readMessage(getSpellCorrectionFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 64 + case 74: { + input.readMessage( + getSpellCorrectionFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3922,39 +3564,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - matchingJobs_ = java.util.Collections.emptyList(); - + private java.util.List matchingJobs_ = + java.util.Collections.emptyList(); private void ensureMatchingJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - matchingJobs_ = - new java.util.ArrayList( - matchingJobs_); + matchingJobs_ = new java.util.ArrayList(matchingJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> - matchingJobsBuilder_; + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> matchingJobsBuilder_; /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List - getMatchingJobsList() { + public java.util.List getMatchingJobsList() { if (matchingJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchingJobs_); } else { @@ -3962,14 +3593,11 @@ private void ensureMatchingJobsIsMutable() { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public int getMatchingJobsCount() { if (matchingJobsBuilder_ == null) { @@ -3979,14 +3607,11 @@ public int getMatchingJobsCount() { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -3996,14 +3621,11 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder setMatchingJobs( int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { @@ -4020,18 +3642,14 @@ public Builder setMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder setMatchingJobs( - int index, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.set(index, builderForValue.build()); @@ -4042,17 +3660,13 @@ public Builder setMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public Builder addMatchingJobs( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { + public Builder addMatchingJobs(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { if (matchingJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4066,14 +3680,11 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { @@ -4090,14 +3701,11 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { @@ -4111,18 +3719,14 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( - int index, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.add(index, builderForValue.build()); @@ -4133,21 +3737,18 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addAllMatchingJobs( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchingJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchingJobs_); onChanged(); } else { matchingJobsBuilder_.addAllMessages(values); @@ -4155,14 +3756,11 @@ public Builder addAllMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder clearMatchingJobs() { if (matchingJobsBuilder_ == null) { @@ -4175,14 +3773,11 @@ public Builder clearMatchingJobs() { return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder removeMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -4195,50 +3790,39 @@ public Builder removeMatchingJobs(int index) { return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder( int index) { return getMatchingJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder - getMatchingJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( + int index) { if (matchingJobsBuilder_ == null) { - return matchingJobs_.get(index); - } else { + return matchingJobs_.get(index); } else { return matchingJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> - getMatchingJobsOrBuilderList() { + public java.util.List + getMatchingJobsOrBuilderList() { if (matchingJobsBuilder_ != null) { return matchingJobsBuilder_.getMessageOrBuilderList(); } else { @@ -4246,101 +3830,75 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder getMatc } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder - addMatchingJobsBuilder() { - return getMatchingJobsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder() { + return getMatchingJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder( int index) { - return getMatchingJobsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); + return getMatchingJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List - getMatchingJobsBuilderList() { + public java.util.List + getMatchingJobsBuilderList() { return getMatchingJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsFieldBuilder() { if (matchingJobsBuilder_ == null) { - matchingJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + matchingJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>( + matchingJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; } private java.util.List histogramQueryResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHistogramQueryResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - histogramQueryResults_ = - new java.util.ArrayList( - histogramQueryResults_); + histogramQueryResults_ = new java.util.ArrayList(histogramQueryResults_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, - com.google.cloud.talent.v4.HistogramQueryResult.Builder, - com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> - histogramQueryResultsBuilder_; + com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> histogramQueryResultsBuilder_; /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsList() { + public java.util.List getHistogramQueryResultsList() { if (histogramQueryResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(histogramQueryResults_); } else { @@ -4348,15 +3906,12 @@ private void ensureHistogramQueryResultsIsMutable() { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public int getHistogramQueryResultsCount() { if (histogramQueryResultsBuilder_ == null) { @@ -4366,15 +3921,12 @@ public int getHistogramQueryResultsCount() { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4384,15 +3936,12 @@ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults( } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult value) { @@ -4409,15 +3958,12 @@ public Builder setHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4431,15 +3977,12 @@ public Builder setHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults(com.google.cloud.talent.v4.HistogramQueryResult value) { if (histogramQueryResultsBuilder_ == null) { @@ -4455,15 +3998,12 @@ public Builder addHistogramQueryResults(com.google.cloud.talent.v4.HistogramQuer return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult value) { @@ -4480,15 +4020,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4502,15 +4039,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4524,21 +4058,19 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addAllHistogramQueryResults( java.lang.Iterable values) { if (histogramQueryResultsBuilder_ == null) { ensureHistogramQueryResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueryResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, histogramQueryResults_); onChanged(); } else { histogramQueryResultsBuilder_.addAllMessages(values); @@ -4546,15 +4078,12 @@ public Builder addAllHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder clearHistogramQueryResults() { if (histogramQueryResultsBuilder_ == null) { @@ -4567,15 +4096,12 @@ public Builder clearHistogramQueryResults() { return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder removeHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4588,52 +4114,42 @@ public Builder removeHistogramQueryResults(int index) { return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public com.google.cloud.talent.v4.HistogramQueryResult.Builder getHistogramQueryResultsBuilder( int index) { return getHistogramQueryResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder - getHistogramQueryResultsOrBuilder(int index) { + public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( + int index) { if (histogramQueryResultsBuilder_ == null) { - return histogramQueryResults_.get(index); - } else { + return histogramQueryResults_.get(index); } else { return histogramQueryResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsOrBuilderList() { + public java.util.List + getHistogramQueryResultsOrBuilderList() { if (histogramQueryResultsBuilder_ != null) { return histogramQueryResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4641,64 +4157,48 @@ public com.google.cloud.talent.v4.HistogramQueryResult.Builder getHistogramQuery } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4.HistogramQueryResult.Builder - addHistogramQueryResultsBuilder() { - return getHistogramQueryResultsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQueryResultsBuilder() { + return getHistogramQueryResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQueryResultsBuilder( int index) { - return getHistogramQueryResultsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); + return getHistogramQueryResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsBuilderList() { + public java.util.List + getHistogramQueryResultsBuilderList() { return getHistogramQueryResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, - com.google.cloud.talent.v4.HistogramQueryResult.Builder, - com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> + com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> getHistogramQueryResultsFieldBuilder() { if (histogramQueryResultsBuilder_ == null) { - histogramQueryResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, - com.google.cloud.talent.v4.HistogramQueryResult.Builder, - com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>( + histogramQueryResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>( histogramQueryResults_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4710,21 +4210,19 @@ public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQuery private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4733,22 +4231,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4756,89 +4253,75 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - locationFilters_ = - new java.util.ArrayList(locationFilters_); + locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> - locationFiltersBuilder_; + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> locationFiltersBuilder_; /** - * - * *
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4855,8 +4338,6 @@ public java.util.List getLocationFiltersLis
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4873,8 +4354,6 @@ public int getLocationFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4891,8 +4370,6 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4901,7 +4378,8 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder setLocationFilters(int index, com.google.cloud.talent.v4.Location value) {
+    public Builder setLocationFilters(
+        int index, com.google.cloud.talent.v4.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4915,8 +4393,6 @@ public Builder setLocationFilters(int index, com.google.cloud.talent.v4.Location
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4937,8 +4413,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4961,8 +4435,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4971,7 +4443,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location value) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location value) {
+    public Builder addLocationFilters(
+        int index, com.google.cloud.talent.v4.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4985,8 +4458,6 @@ public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4995,7 +4466,8 @@ public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder addLocationFilters(com.google.cloud.talent.v4.Location.Builder builderForValue) {
+    public Builder addLocationFilters(
+        com.google.cloud.talent.v4.Location.Builder builderForValue) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
         locationFilters_.add(builderForValue.build());
@@ -5006,8 +4478,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5028,8 +4498,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5042,7 +4510,8 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -5050,8 +4519,6 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5071,8 +4538,6 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5092,8 +4557,6 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5102,12 +4565,11 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(int index) {
+    public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(
+        int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5116,16 +4578,14 @@ public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(int
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
+    public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
+        int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);
-      } else {
+        return locationFilters_.get(index);  } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5134,8 +4594,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public java.util.List
-        getLocationFiltersOrBuilderList() {
+    public java.util.List 
+         getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -5143,8 +4603,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5154,12 +4612,10 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
     public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.Location.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.Location.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5168,13 +4624,12 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder() {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(int index) {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.Location.getDefaultInstance());
+    public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(
+        int index) {
+      return getLocationFiltersFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.Location.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5183,22 +4638,16 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(int
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public java.util.List
-        getLocationFiltersBuilderList() {
+    public java.util.List 
+         getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.Location,
-            com.google.cloud.talent.v4.Location.Builder,
-            com.google.cloud.talent.v4.LocationOrBuilder>
+        com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.Location,
-                com.google.cloud.talent.v4.Location.Builder,
-                com.google.cloud.talent.v4.LocationOrBuilder>(
+        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -5208,17 +4657,14 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(int
       return locationFiltersBuilder_;
     }
 
-    private int totalSize_;
+    private int totalSize_ ;
     /**
-     *
-     *
      * 
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; - * * @return The totalSize. */ @java.lang.Override @@ -5226,38 +4672,32 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; @@ -5265,49 +4705,36 @@ public Builder clearTotalSize() { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5329,8 +4756,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5350,8 +4775,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5363,9 +4786,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -5377,8 +4798,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5398,8 +4817,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5408,13 +4825,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5426,14 +4841,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5442,26 +4854,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private int broadenedQueryJobsCount_;
+    private int broadenedQueryJobsCount_ ;
     /**
-     *
-     *
      * 
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5473,7 +4880,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -5481,8 +4887,6 @@ public int getBroadenedQueryJobsCount() { return broadenedQueryJobsCount_; } /** - * - * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5494,19 +4898,16 @@ public int getBroadenedQueryJobsCount() {
      * 
* * int32 broadened_query_jobs_count = 8; - * * @param value The broadenedQueryJobsCount to set. * @return This builder for chaining. */ public Builder setBroadenedQueryJobsCount(int value) { - + broadenedQueryJobsCount_ = value; onChanged(); return this; } /** - * - * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5518,11 +4919,10 @@ public Builder setBroadenedQueryJobsCount(int value) {
      * 
* * int32 broadened_query_jobs_count = 8; - * * @return This builder for chaining. */ public Builder clearBroadenedQueryJobsCount() { - + broadenedQueryJobsCount_ = 0; onChanged(); return this; @@ -5530,47 +4930,34 @@ public Builder clearBroadenedQueryJobsCount() { private com.google.cloud.talent.v4.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, - com.google.cloud.talent.v4.SpellingCorrection.Builder, - com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> - spellCorrectionBuilder_; + com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> spellCorrectionBuilder_; /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ public boolean hasSpellCorrection() { return spellCorrectionBuilder_ != null || spellCorrection_ != null; } /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ public com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection() { if (spellCorrectionBuilder_ == null) { - return spellCorrection_ == null - ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; } else { return spellCorrectionBuilder_.getMessage(); } } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5591,8 +4978,6 @@ public Builder setSpellCorrection(com.google.cloud.talent.v4.SpellingCorrection return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5611,8 +4996,6 @@ public Builder setSpellCorrection( return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5623,9 +5006,7 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4.SpellingCorrectio if (spellCorrectionBuilder_ == null) { if (spellCorrection_ != null) { spellCorrection_ = - com.google.cloud.talent.v4.SpellingCorrection.newBuilder(spellCorrection_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.SpellingCorrection.newBuilder(spellCorrection_).mergeFrom(value).buildPartial(); } else { spellCorrection_ = value; } @@ -5637,8 +5018,6 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4.SpellingCorrectio return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5657,8 +5036,6 @@ public Builder clearSpellCorrection() { return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5666,13 +5043,11 @@ public Builder clearSpellCorrection() { * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; */ public com.google.cloud.talent.v4.SpellingCorrection.Builder getSpellCorrectionBuilder() { - + onChanged(); return getSpellCorrectionFieldBuilder().getBuilder(); } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5683,14 +5058,11 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection if (spellCorrectionBuilder_ != null) { return spellCorrectionBuilder_.getMessageOrBuilder(); } else { - return spellCorrection_ == null - ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? + com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; } } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5698,24 +5070,21 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, - com.google.cloud.talent.v4.SpellingCorrection.Builder, - com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> + com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> getSpellCorrectionFieldBuilder() { if (spellCorrectionBuilder_ == null) { - spellCorrectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, - com.google.cloud.talent.v4.SpellingCorrection.Builder, - com.google.cloud.talent.v4.SpellingCorrectionOrBuilder>( - getSpellCorrection(), getParentForChildren(), isClean()); + spellCorrectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder>( + getSpellCorrection(), + getParentForChildren(), + isClean()); spellCorrection_ = null; } return spellCorrectionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5725,12 +5094,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse) private static final com.google.cloud.talent.v4.SearchJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse(); } @@ -5739,27 +5108,27 @@ public static com.google.cloud.talent.v4.SearchJobsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5774,4 +5143,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SearchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java similarity index 88% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java index 3767d6f48293..ff7f36f9b532 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface SearchJobsResponseOrBuilder - extends +public interface SearchJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List getMatchingJobsList(); + java.util.List + getMatchingJobsList(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -44,8 +25,6 @@ public interface SearchJobsResponseOrBuilder */ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs(int index); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -54,19 +33,15 @@ public interface SearchJobsResponseOrBuilder */ int getMatchingJobsCount(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List + java.util.List getMatchingJobsOrBuilderList(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -77,8 +52,6 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo int index); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -86,10 +59,9 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    *
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
-  java.util.List getHistogramQueryResultsList();
+  java.util.List 
+      getHistogramQueryResultsList();
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -99,8 +71,6 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    */
   com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(int index);
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -110,8 +80,6 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    */
   int getHistogramQueryResultsCount();
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -119,11 +87,9 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    *
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
-  java.util.List
+  java.util.List 
       getHistogramQueryResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -135,35 +101,28 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
       int index);
 
   /**
-   *
-   *
    * 
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -172,10 +131,9 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  java.util.List getLocationFiltersList();
+  java.util.List 
+      getLocationFiltersList();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -186,8 +144,6 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    */
   com.google.cloud.talent.v4.Location getLocationFilters(int index);
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -198,8 +154,6 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    */
   int getLocationFiltersCount();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -208,11 +162,9 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  java.util.List
+  java.util.List 
       getLocationFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -221,51 +173,41 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index);
+  com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Number of jobs that match the specified query.
    * Note: This size is precise only if the total is less than 100,000.
    * 
* * int32 total_size = 6; - * * @return The totalSize. */ int getTotalSize(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -276,8 +218,6 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
   com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -289,38 +229,29 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ int getBroadenedQueryJobsCount(); /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ boolean hasSpellCorrection(); /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection(); /** - * - * *
    * The spell checking result, and correction.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java similarity index 71% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java index 7cffbbe206bc..9f8075ce5aa3 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Spell check result.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SpellingCorrection} */ -public final class SpellingCorrection extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpellingCorrection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SpellingCorrection) SpellingCorrectionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpellingCorrection.newBuilder() to construct. private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpellingCorrection() { correctedText_ = ""; correctedHtml_ = ""; @@ -44,41 +26,37 @@ private SpellingCorrection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpellingCorrection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SpellingCorrection.class, - com.google.cloud.talent.v4.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4.SpellingCorrection.class, com.google.cloud.talent.v4.SpellingCorrection.Builder.class); } public static final int CORRECTED_FIELD_NUMBER = 1; private boolean corrected_; /** - * - * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; - * * @return The corrected. */ @java.lang.Override @@ -89,14 +67,11 @@ public boolean getCorrected() { public static final int CORRECTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object correctedText_; /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The correctedText. */ @java.lang.Override @@ -105,29 +80,29 @@ public java.lang.String getCorrectedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; } } /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ @java.lang.Override - public com.google.protobuf.ByteString getCorrectedTextBytes() { + public com.google.protobuf.ByteString + getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedText_ = b; return b; } else { @@ -138,8 +113,6 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() { public static final int CORRECTED_HTML_FIELD_NUMBER = 3; private volatile java.lang.Object correctedHtml_; /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -150,7 +123,6 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() {
    * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ @java.lang.Override @@ -159,15 +131,14 @@ public java.lang.String getCorrectedHtml() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; } } /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -178,15 +149,16 @@ public java.lang.String getCorrectedHtml() {
    * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ @java.lang.Override - public com.google.protobuf.ByteString getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString + getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -195,7 +167,6 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (corrected_ != false) { output.writeBool(1, corrected_); } @@ -227,7 +199,8 @@ public int getSerializedSize() { size = 0; if (corrected_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, corrected_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, corrected_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correctedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, correctedText_); @@ -243,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SpellingCorrection)) { return super.equals(obj); } - com.google.cloud.talent.v4.SpellingCorrection other = - (com.google.cloud.talent.v4.SpellingCorrection) obj; + com.google.cloud.talent.v4.SpellingCorrection other = (com.google.cloud.talent.v4.SpellingCorrection) obj; - if (getCorrected() != other.getCorrected()) return false; - if (!getCorrectedText().equals(other.getCorrectedText())) return false; - if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; + if (getCorrected() + != other.getCorrected()) return false; + if (!getCorrectedText() + .equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml() + .equals(other.getCorrectedHtml())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,7 +241,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCorrected()); hash = (37 * hash) + CORRECTED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getCorrectedText().hashCode(); hash = (37 * hash) + CORRECTED_HTML_FIELD_NUMBER; @@ -276,136 +252,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.SpellingCorrection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Spell check result.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SpellingCorrection} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SpellingCorrection) com.google.cloud.talent.v4.SpellingCorrectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SpellingCorrection.class, - com.google.cloud.talent.v4.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4.SpellingCorrection.class, com.google.cloud.talent.v4.SpellingCorrection.Builder.class); } // Construct using com.google.cloud.talent.v4.SpellingCorrection.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override @@ -440,8 +410,7 @@ public com.google.cloud.talent.v4.SpellingCorrection build() { @java.lang.Override public com.google.cloud.talent.v4.SpellingCorrection buildPartial() { - com.google.cloud.talent.v4.SpellingCorrection result = - new com.google.cloud.talent.v4.SpellingCorrection(this); + com.google.cloud.talent.v4.SpellingCorrection result = new com.google.cloud.talent.v4.SpellingCorrection(this); result.corrected_ = corrected_; result.correctedText_ = correctedText_; result.correctedHtml_ = correctedHtml_; @@ -453,39 +422,38 @@ public com.google.cloud.talent.v4.SpellingCorrection buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SpellingCorrection) { - return mergeFrom((com.google.cloud.talent.v4.SpellingCorrection) other); + return mergeFrom((com.google.cloud.talent.v4.SpellingCorrection)other); } else { super.mergeFrom(other); return this; @@ -531,31 +499,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - corrected_ = input.readBool(); - - break; - } // case 8 - case 18: - { - correctedText_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - correctedHtml_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + corrected_ = input.readBool(); + + break; + } // case 8 + case 18: { + correctedText_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + correctedHtml_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -566,16 +530,13 @@ public Builder mergeFrom( return this; } - private boolean corrected_; + private boolean corrected_ ; /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @return The corrected. */ @java.lang.Override @@ -583,36 +544,30 @@ public boolean getCorrected() { return corrected_; } /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @param value The corrected to set. * @return This builder for chaining. */ public Builder setCorrected(boolean value) { - + corrected_ = value; onChanged(); return this; } /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @return This builder for chaining. */ public Builder clearCorrected() { - + corrected_ = false; onChanged(); return this; @@ -620,20 +575,18 @@ public Builder clearCorrected() { private java.lang.Object correctedText_ = ""; /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return The correctedText. */ public java.lang.String getCorrectedText() { java.lang.Object ref = correctedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; @@ -642,21 +595,20 @@ public java.lang.String getCorrectedText() { } } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ - public com.google.protobuf.ByteString getCorrectedTextBytes() { + public com.google.protobuf.ByteString + getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedText_ = b; return b; } else { @@ -664,61 +616,54 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() { } } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @param value The correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedText(java.lang.String value) { + public Builder setCorrectedText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedText_ = value; onChanged(); return this; } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return This builder for chaining. */ public Builder clearCorrectedText() { - + correctedText_ = getDefaultInstance().getCorrectedText(); onChanged(); return this; } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @param value The bytes for correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { + public Builder setCorrectedTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedText_ = value; onChanged(); return this; @@ -726,8 +671,6 @@ public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object correctedHtml_ = ""; /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -738,13 +681,13 @@ public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) {
      * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ public java.lang.String getCorrectedHtml() { java.lang.Object ref = correctedHtml_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; @@ -753,8 +696,6 @@ public java.lang.String getCorrectedHtml() { } } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -765,14 +706,15 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ - public com.google.protobuf.ByteString getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString + getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -780,8 +722,6 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() { } } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -792,22 +732,20 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() {
      * 
* * string corrected_html = 3; - * * @param value The correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtml(java.lang.String value) { + public Builder setCorrectedHtml( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedHtml_ = value; onChanged(); return this; } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -818,18 +756,15 @@ public Builder setCorrectedHtml(java.lang.String value) {
      * 
* * string corrected_html = 3; - * * @return This builder for chaining. */ public Builder clearCorrectedHtml() { - + correctedHtml_ = getDefaultInstance().getCorrectedHtml(); onChanged(); return this; } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -840,23 +775,23 @@ public Builder clearCorrectedHtml() {
      * 
* * string corrected_html = 3; - * * @param value The bytes for correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { + public Builder setCorrectedHtmlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedHtml_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SpellingCorrection) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SpellingCorrection) private static final com.google.cloud.talent.v4.SpellingCorrection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SpellingCorrection(); } @@ -880,27 +815,27 @@ public static com.google.cloud.talent.v4.SpellingCorrection getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpellingCorrection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpellingCorrection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SpellingCorrection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java index 96e411970526..460680d980c6 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java @@ -1,69 +1,43 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface SpellingCorrectionOrBuilder - extends +public interface SpellingCorrectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SpellingCorrection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; - * * @return The corrected. */ boolean getCorrected(); /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The correctedText. */ java.lang.String getCorrectedText(); /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ - com.google.protobuf.ByteString getCorrectedTextBytes(); + com.google.protobuf.ByteString + getCorrectedTextBytes(); /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -74,13 +48,10 @@ public interface SpellingCorrectionOrBuilder
    * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ java.lang.String getCorrectedHtml(); /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -91,8 +62,8 @@ public interface SpellingCorrectionOrBuilder
    * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ - com.google.protobuf.ByteString getCorrectedHtmlBytes(); + com.google.protobuf.ByteString + getCorrectedHtmlBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java index d34feb7436f9..9cef52604d00 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant.proto package com.google.cloud.talent.v4; /** - * - * *
  * A Tenant resource represents a tenant in the service. A tenant is a group or
  * entity that shares common access with specific privileges for resources like
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Tenant}
  */
-public final class Tenant extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tenant extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Tenant)
     TenantOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tenant.newBuilder() to construct.
   private Tenant(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tenant() {
     name_ = "";
     externalId_ = "";
@@ -47,35 +29,32 @@ private Tenant() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tenant();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.TenantProto
-        .internal_static_google_cloud_talent_v4_Tenant_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.TenantProto
-        .internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
+    return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.Tenant.class,
-            com.google.cloud.talent.v4.Tenant.Builder.class);
+            com.google.cloud.talent.v4.Tenant.class, com.google.cloud.talent.v4.Tenant.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -85,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -94,15 +72,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -112,15 +89,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,15 +109,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ @java.lang.Override @@ -148,30 +123,30 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -180,7 +155,6 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -222,15 +197,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Tenant)) { return super.equals(obj); } com.google.cloud.talent.v4.Tenant other = (com.google.cloud.talent.v4.Tenant) obj; - if (!getName().equals(other.getName())) return false; - if (!getExternalId().equals(other.getExternalId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getExternalId() + .equals(other.getExternalId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,103 +228,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Tenant parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Tenant parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Tenant parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.Tenant parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Tenant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Tenant parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Tenant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Tenant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Tenant resource represents a tenant in the service. A tenant is a group or
    * entity that shares common access with specific privileges for resources like
@@ -357,32 +328,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.Tenant}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Tenant)
       com.google.cloud.talent.v4.TenantOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.TenantProto
-          .internal_static_google_cloud_talent_v4_Tenant_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.TenantProto
-          .internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
+      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.Tenant.class,
-              com.google.cloud.talent.v4.Tenant.Builder.class);
+              com.google.cloud.talent.v4.Tenant.class, com.google.cloud.talent.v4.Tenant.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Tenant.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -394,9 +366,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.TenantProto
-          .internal_static_google_cloud_talent_v4_Tenant_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
     }
 
     @java.lang.Override
@@ -426,39 +398,38 @@ public com.google.cloud.talent.v4.Tenant buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Tenant) {
-        return mergeFrom((com.google.cloud.talent.v4.Tenant) other);
+        return mergeFrom((com.google.cloud.talent.v4.Tenant)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,25 +472,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                externalId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              externalId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -532,8 +500,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -543,13 +509,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -558,8 +524,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -569,14 +533,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -584,8 +549,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -595,22 +558,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -620,18 +581,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -641,16 +599,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -658,21 +616,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalId_ = ""; /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -681,22 +637,21 @@ public java.lang.String getExternalId() { } } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -704,71 +659,64 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId(java.lang.String value) { + public Builder setExternalId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +726,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Tenant) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Tenant) private static final com.google.cloud.talent.v4.Tenant DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Tenant(); } @@ -792,27 +740,27 @@ public static com.google.cloud.talent.v4.Tenant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tenant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tenant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +775,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Tenant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java similarity index 66% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java index 232e4cb12843..464d16958d06 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant.proto package com.google.cloud.talent.v4; -public interface TenantOrBuilder - extends +public interface TenantOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Tenant) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -35,13 +17,10 @@ public interface TenantOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -51,35 +30,30 @@ public interface TenantOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ java.lang.String getExternalId(); /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - com.google.protobuf.ByteString getExternalIdBytes(); + com.google.protobuf.ByteString + getExternalIdBytes(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java new file mode 100644 index 000000000000..9e5bfef61cea --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java @@ -0,0 +1,65 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant.proto + +package com.google.cloud.talent.v4; + +public final class TenantProto { + private TenantProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Tenant_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/talent/v4/tenant.proto\022\026g" + + "oogle.cloud.talent.v4\032\037google/api/field_" + + "behavior.proto\032\031google/api/resource.prot" + + "o\"v\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013external_id" + + "\030\002 \001(\tB\003\340A\002:D\352AA\n\032jobs.googleapis.com/Te" + + "nant\022#projects/{project}/tenants/{tenant" + + "}Bo\n\032com.google.cloud.talent.v4B\013TenantP" + + "rotoP\001Z * Message representing a period of time between two timestamps. *
* * Protobuf type {@code google.cloud.talent.v4.TimestampRange} */ -public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimestampRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.TimestampRange) TimestampRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimestampRange() {} + private TimestampRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimestampRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.TimestampRange.class, - com.google.cloud.talent.v4.TimestampRange.Builder.class); + com.google.cloud.talent.v4.TimestampRange.class, com.google.cloud.talent.v4.TimestampRange.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Begin of the period (inclusive).
    * 
@@ -114,14 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -129,14 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -144,8 +112,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * End of the period (exclusive).
    * 
@@ -158,7 +124,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -187,10 +153,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.TimestampRange)) { return super.equals(obj); } - com.google.cloud.talent.v4.TimestampRange other = - (com.google.cloud.talent.v4.TimestampRange) obj; + com.google.cloud.talent.v4.TimestampRange other = (com.google.cloud.talent.v4.TimestampRange) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -240,136 +209,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.TimestampRange parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.TimestampRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message representing a period of time between two timestamps.
    * 
* * Protobuf type {@code google.cloud.talent.v4.TimestampRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.TimestampRange) com.google.cloud.talent.v4.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.TimestampRange.class, - com.google.cloud.talent.v4.TimestampRange.Builder.class); + com.google.cloud.talent.v4.TimestampRange.class, com.google.cloud.talent.v4.TimestampRange.Builder.class); } // Construct using com.google.cloud.talent.v4.TimestampRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override @@ -410,8 +373,7 @@ public com.google.cloud.talent.v4.TimestampRange build() { @java.lang.Override public com.google.cloud.talent.v4.TimestampRange buildPartial() { - com.google.cloud.talent.v4.TimestampRange result = - new com.google.cloud.talent.v4.TimestampRange(this); + com.google.cloud.talent.v4.TimestampRange result = new com.google.cloud.talent.v4.TimestampRange(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -430,39 +392,38 @@ public com.google.cloud.talent.v4.TimestampRange buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.TimestampRange) { - return mergeFrom((com.google.cloud.talent.v4.TimestampRange) other); + return mergeFrom((com.google.cloud.talent.v4.TimestampRange)other); } else { super.mergeFrom(other); return this; @@ -503,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,33 +496,24 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -571,8 +524,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -593,15 +544,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -612,8 +562,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -624,7 +572,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -636,8 +584,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -656,8 +602,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -665,13 +609,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -682,12 +624,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -695,17 +636,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -713,33 +651,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -750,8 +679,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -772,15 +699,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -791,8 +717,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -803,7 +727,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -815,8 +739,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -835,8 +757,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -844,13 +764,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -861,12 +779,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -874,24 +791,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -901,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.TimestampRange) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.TimestampRange) private static final com.google.cloud.talent.v4.TimestampRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.TimestampRange(); } @@ -915,27 +829,27 @@ public static com.google.cloud.talent.v4.TimestampRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java similarity index 67% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java index 775b0aeffc63..fae1667a3322 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface TimestampRangeOrBuilder - extends +public interface TimestampRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.TimestampRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Begin of the period (inclusive).
    * 
@@ -59,32 +35,24 @@ public interface TimestampRangeOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * End of the period (exclusive).
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java index d2c436575a90..8877fdca2aa8 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java @@ -1,82 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Request for updating a specified company.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateCompanyRequest} */ -public final class UpdateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateCompanyRequest) UpdateCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCompanyRequest.newBuilder() to construct. private UpdateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCompanyRequest() {} + private UpdateCompanyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateCompanyRequest.class, - com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.UpdateCompanyRequest.class, com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); } public static final int COMPANY_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Company company_; /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasCompany() { return company_ != null; } /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.talent.v4.Company getCompany() { return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { @@ -117,8 +88,6 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -128,7 +97,6 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -147,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -173,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (company_ != null) {
       output.writeMessage(1, getCompany());
     }
@@ -202,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (company_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCompany());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCompany());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateCompanyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateCompanyRequest other =
-        (com.google.cloud.talent.v4.UpdateCompanyRequest) obj;
+    com.google.cloud.talent.v4.UpdateCompanyRequest other = (com.google.cloud.talent.v4.UpdateCompanyRequest) obj;
 
     if (hasCompany() != other.hasCompany()) return false;
     if (hasCompany()) {
-      if (!getCompany().equals(other.getCompany())) return false;
+      if (!getCompany()
+          .equals(other.getCompany())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -255,136 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateCompanyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request for updating a specified company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateCompanyRequest) com.google.cloud.talent.v4.UpdateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateCompanyRequest.class, - com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.UpdateCompanyRequest.class, com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override @@ -425,8 +385,7 @@ public com.google.cloud.talent.v4.UpdateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateCompanyRequest buildPartial() { - com.google.cloud.talent.v4.UpdateCompanyRequest result = - new com.google.cloud.talent.v4.UpdateCompanyRequest(this); + com.google.cloud.talent.v4.UpdateCompanyRequest result = new com.google.cloud.talent.v4.UpdateCompanyRequest(this); if (companyBuilder_ == null) { result.company_ = company_; } else { @@ -445,39 +404,38 @@ public com.google.cloud.talent.v4.UpdateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4.UpdateCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.UpdateCompanyRequest other) { - if (other == com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance()) return this; if (other.hasCompany()) { mergeCompany(other.getCompany()); } @@ -519,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getCompanyFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,55 +508,39 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> - companyBuilder_; + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companyBuilder_; /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ public com.google.cloud.talent.v4.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null - ? com.google.cloud.talent.v4.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } else { return companyBuilder_.getMessage(); } } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { @@ -614,16 +556,14 @@ public Builder setCompany(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder setCompany( + com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -634,22 +574,17 @@ public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForV return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4.Company.newBuilder(company_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Company.newBuilder(company_).mergeFrom(value).buildPartial(); } else { company_ = value; } @@ -661,14 +596,11 @@ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -682,61 +614,48 @@ public Builder clearCompany() { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null - ? com.google.cloud.talent.v4.Company.getDefaultInstance() - : company_; + return company_ == null ? + com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder>( - getCompany(), getParentForChildren(), isClean()); + companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( + getCompany(), + getParentForChildren(), + isClean()); company_ = null; } return companyBuilder_; @@ -744,13 +663,8 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -760,15 +674,12 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -778,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -817,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -829,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -840,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -856,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -868,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -892,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -905,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -926,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -945,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -972,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateCompanyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateCompanyRequest)
   private static final com.google.cloud.talent.v4.UpdateCompanyRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateCompanyRequest();
   }
@@ -986,27 +877,27 @@ public static com.google.cloud.talent.v4.UpdateCompanyRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateCompanyRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateCompanyRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1021,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateCompanyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
similarity index 77%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
index 5c7bc3677d63..bb5a6e6af1ce 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateCompanyRequestOrBuilder
-    extends
+public interface UpdateCompanyRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateCompanyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ boolean hasCompany(); /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ com.google.cloud.talent.v4.Company getCompany(); /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -73,13 +44,10 @@ public interface UpdateCompanyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -89,13 +57,10 @@ public interface UpdateCompanyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
index 290c287161c6..99a4ad4f9ee7 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
@@ -1,81 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Update job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateJobRequest} */ -public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateJobRequest) UpdateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateJobRequest() {} + private UpdateJobRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateJobRequest.class, - com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4.UpdateJobRequest.class, com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be updated.
    * 
@@ -114,8 +88,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -125,7 +97,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -133,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -144,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -152,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -170,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -199,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getJob());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateJobRequest other =
-        (com.google.cloud.talent.v4.UpdateJobRequest) obj;
+    com.google.cloud.talent.v4.UpdateJobRequest other = (com.google.cloud.talent.v4.UpdateJobRequest) obj;
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob().equals(other.getJob())) return false;
+      if (!getJob()
+          .equals(other.getJob())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -252,136 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Update job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateJobRequest) com.google.cloud.talent.v4.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateJobRequest.class, - com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4.UpdateJobRequest.class, com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override @@ -422,8 +385,7 @@ public com.google.cloud.talent.v4.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateJobRequest buildPartial() { - com.google.cloud.talent.v4.UpdateJobRequest result = - new com.google.cloud.talent.v4.UpdateJobRequest(this); + com.google.cloud.talent.v4.UpdateJobRequest result = new com.google.cloud.talent.v4.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -442,39 +404,38 @@ public com.google.cloud.talent.v4.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4.UpdateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -515,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,33 +508,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -583,8 +536,6 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -605,15 +556,14 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -624,8 +574,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -635,7 +583,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -647,8 +596,6 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -667,8 +614,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -676,13 +621,11 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -693,12 +636,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -706,17 +648,14 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -724,13 +663,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -740,15 +674,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -758,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -797,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -809,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -820,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -836,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -848,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -872,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -885,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -906,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -925,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -952,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateJobRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateJobRequest)
   private static final com.google.cloud.talent.v4.UpdateJobRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateJobRequest();
   }
@@ -966,27 +877,27 @@ public static com.google.cloud.talent.v4.UpdateJobRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateJobRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateJobRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1001,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateJobRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
similarity index 79%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
index 3e29fb29fa06..aab8d86d434e 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateJobRequestOrBuilder
-    extends
+public interface UpdateJobRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateJobRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
@@ -59,8 +35,6 @@ public interface UpdateJobRequestOrBuilder com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -70,13 +44,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -86,13 +57,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
index 140347efaeaa..5f06bc547614 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
@@ -1,82 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Request for updating a specified tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateTenantRequest} */ -public final class UpdateTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateTenantRequest) UpdateTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTenantRequest.newBuilder() to construct. private UpdateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTenantRequest() {} + private UpdateTenantRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateTenantRequest.class, - com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4.UpdateTenantRequest.class, com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Tenant tenant_; /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasTenant() { return tenant_ != null; } /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.talent.v4.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { @@ -117,8 +88,6 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -128,7 +97,6 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -147,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -173,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tenant_ != null) {
       output.writeMessage(1, getTenant());
     }
@@ -202,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tenant_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTenant());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTenant());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateTenantRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateTenantRequest other =
-        (com.google.cloud.talent.v4.UpdateTenantRequest) obj;
+    com.google.cloud.talent.v4.UpdateTenantRequest other = (com.google.cloud.talent.v4.UpdateTenantRequest) obj;
 
     if (hasTenant() != other.hasTenant()) return false;
     if (hasTenant()) {
-      if (!getTenant().equals(other.getTenant())) return false;
+      if (!getTenant()
+          .equals(other.getTenant())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -255,136 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateTenantRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request for updating a specified tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateTenantRequest) com.google.cloud.talent.v4.UpdateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateTenantRequest.class, - com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4.UpdateTenantRequest.class, com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override @@ -425,8 +385,7 @@ public com.google.cloud.talent.v4.UpdateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateTenantRequest buildPartial() { - com.google.cloud.talent.v4.UpdateTenantRequest result = - new com.google.cloud.talent.v4.UpdateTenantRequest(this); + com.google.cloud.talent.v4.UpdateTenantRequest result = new com.google.cloud.talent.v4.UpdateTenantRequest(this); if (tenantBuilder_ == null) { result.tenant_ = tenant_; } else { @@ -445,39 +404,38 @@ public com.google.cloud.talent.v4.UpdateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4.UpdateTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -518,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getTenantFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -549,35 +508,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> - tenantBuilder_; + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantBuilder_; /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ public com.google.cloud.talent.v4.Tenant getTenant() { @@ -588,14 +536,11 @@ public com.google.cloud.talent.v4.Tenant getTenant() { } } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { @@ -611,16 +556,14 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder setTenant( + com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -631,20 +574,17 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForVal return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -656,14 +596,11 @@ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -677,59 +614,48 @@ public Builder clearTenant() { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null ? + com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder>( - getTenant(), getParentForChildren(), isClean()); + tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( + getTenant(), + getParentForChildren(), + isClean()); tenant_ = null; } return tenantBuilder_; @@ -737,13 +663,8 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -753,15 +674,12 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -771,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -810,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -822,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -833,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -849,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -861,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -885,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -898,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -919,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -938,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -965,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateTenantRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateTenantRequest)
   private static final com.google.cloud.talent.v4.UpdateTenantRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateTenantRequest();
   }
@@ -979,27 +877,27 @@ public static com.google.cloud.talent.v4.UpdateTenantRequest getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTenantRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTenantRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1014,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateTenantRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
similarity index 77%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
index 0bc467800db4..fd9fd2d7d65e 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateTenantRequestOrBuilder
-    extends
+public interface UpdateTenantRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateTenantRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ boolean hasTenant(); /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ com.google.cloud.talent.v4.Tenant getTenant(); /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -73,13 +44,10 @@ public interface UpdateTenantRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -89,13 +57,10 @@ public interface UpdateTenantRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
index 2a3a3732a573..804937976dbf 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
@@ -28,11 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.Visibility}
  */
-@java.lang.Deprecated
-public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated public enum Visibility
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +22,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ VISIBILITY_UNSPECIFIED(0), /** - * - * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -51,8 +30,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ ACCOUNT_ONLY(1), /** - * - * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -62,8 +39,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   SHARED_WITH_GOOGLE(2),
   /**
-   *
-   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -76,8 +51,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -86,8 +59,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VISIBILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -96,8 +67,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCOUNT_ONLY_VALUE = 1; /** - * - * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -107,8 +76,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SHARED_WITH_GOOGLE_VALUE = 2;
   /**
-   *
-   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -118,6 +85,7 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SHARED_WITH_PUBLIC_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -142,51 +110,50 @@ public static Visibility valueOf(int value) {
    */
   public static Visibility forNumber(int value) {
     switch (value) {
-      case 0:
-        return VISIBILITY_UNSPECIFIED;
-      case 1:
-        return ACCOUNT_ONLY;
-      case 2:
-        return SHARED_WITH_GOOGLE;
-      case 3:
-        return SHARED_WITH_PUBLIC;
-      default:
-        return null;
+      case 0: return VISIBILITY_UNSPECIFIED;
+      case 1: return ACCOUNT_ONLY;
+      case 2: return SHARED_WITH_GOOGLE;
+      case 3: return SHARED_WITH_PUBLIC;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public Visibility findValueByNumber(int number) {
-          return Visibility.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      Visibility> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Visibility findValueByNumber(int number) {
+            return Visibility.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(7);
   }
 
   private static final Visibility[] VALUES = values();
 
-  public static Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Visibility valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -202,3 +169,4 @@ private Visibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.Visibility)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
index 1f2bcc67d53a..c97cf9e44ee0 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
@@ -28,6 +28,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.CompanyServiceStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
index 21d25617a9eb..e8cd1d3d6051 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
@@ -25,6 +25,7 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.CompletionStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
index cc719d0f4f37..4bf82aaec8d0 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
@@ -25,6 +25,7 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.EventServiceStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
index bb698eeaf6f2..f2030a66c915 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
@@ -31,6 +31,7 @@
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.OperationCallSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.JobServiceStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
index a3853a4af5e0..57574866f33d 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
@@ -28,6 +28,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.TenantServiceStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
index 0ab7d33f083f..875154b34c0e 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
@@ -38,6 +38,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
index fd80f19900b6..0db9a1a61211 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
@@ -30,6 +30,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
index 5b9a7c813c2a..319914877683 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
@@ -30,6 +30,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
index 8c4ece08a1f2..4cb825f979de 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
@@ -49,6 +49,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
index e6e4ef1d534e..6e486095bba4 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
@@ -38,6 +38,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
index 57839564a727..49ae9ec9ea14 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
@@ -32,6 +32,7 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
+import com.google.api.gax.longrunning.OperationSnapshot;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.OperationCallable;
 import com.google.api.gax.rpc.UnaryCallable;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java
new file mode 100644
index 000000000000..1e585a1375b3
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java
@@ -0,0 +1,651 @@
+package com.google.cloud.talent.v4beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ * 
+ * A service that handles company management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/company_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompanyServiceGrpc { + + private CompanyServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.CompanyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompany", + requestType = com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCompanyMethod() { + io.grpc.MethodDescriptor getCreateCompanyMethod; + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + CompanyServiceGrpc.getCreateCompanyMethod = getCreateCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("CreateCompany")) + .build(); + } + } + } + return getCreateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompany", + requestType = com.google.cloud.talent.v4beta1.GetCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCompanyMethod() { + io.grpc.MethodDescriptor getGetCompanyMethod; + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + CompanyServiceGrpc.getGetCompanyMethod = getGetCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) + .build(); + } + } + } + return getGetCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", + requestType = com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCompanyMethod() { + io.grpc.MethodDescriptor getUpdateCompanyMethod; + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + CompanyServiceGrpc.getUpdateCompanyMethod = getUpdateCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) + .build(); + } + } + } + return getUpdateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", + requestType = com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteCompanyMethod() { + io.grpc.MethodDescriptor getDeleteCompanyMethod; + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + CompanyServiceGrpc.getDeleteCompanyMethod = getDeleteCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) + .build(); + } + } + } + return getDeleteCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCompaniesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompanies", + requestType = com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCompaniesMethod() { + io.grpc.MethodDescriptor getListCompaniesMethod; + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + CompanyServiceGrpc.getListCompaniesMethod = getListCompaniesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("ListCompanies")) + .build(); + } + } + } + return getListCompaniesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static CompanyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + }; + return CompanyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompanyServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + }; + return CompanyServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CompanyServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + }; + return CompanyServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static abstract class CompanyServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompanyMethod(), responseObserver); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyMethod(), responseObserver); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCompanyMethod(), responseObserver); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompaniesMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company>( + this, METHODID_CREATE_COMPANY))) + .addMethod( + getGetCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company>( + this, METHODID_GET_COMPANY))) + .addMethod( + getUpdateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company>( + this, METHODID_UPDATE_COMPANY))) + .addMethod( + getDeleteCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_COMPANY))) + .addMethod( + getListCompaniesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse>( + this, METHODID_LIST_COMPANIES))) + .build(); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceStub extends io.grpc.stub.AbstractAsyncStub { + private CompanyServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CompanyServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.protobuf.Empty deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListCompaniesResponse listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompaniesMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private CompanyServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCompany( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_COMPANY = 0; + private static final int METHODID_GET_COMPANY = 1; + private static final int METHODID_UPDATE_COMPANY = 2; + private static final int METHODID_DELETE_COMPANY = 3; + private static final int METHODID_LIST_COMPANIES = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompanyServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_COMPANY: + serviceImpl.createCompany((com.google.cloud.talent.v4beta1.CreateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_COMPANY: + serviceImpl.getCompany((com.google.cloud.talent.v4beta1.GetCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_COMPANY: + serviceImpl.updateCompany((com.google.cloud.talent.v4beta1.UpdateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_COMPANY: + serviceImpl.deleteCompany((com.google.cloud.talent.v4beta1.DeleteCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPANIES: + serviceImpl.listCompanies((com.google.cloud.talent.v4beta1.ListCompaniesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompanyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CompanyService"); + } + } + + private static final class CompanyServiceFileDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier { + CompanyServiceFileDescriptorSupplier() {} + } + + private static final class CompanyServiceMethodDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompanyServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompanyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) + .addMethod(getCreateCompanyMethod()) + .addMethod(getGetCompanyMethod()) + .addMethod(getUpdateCompanyMethod()) + .addMethod(getDeleteCompanyMethod()) + .addMethod(getListCompaniesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java new file mode 100644 index 000000000000..4b22e20c0607 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java @@ -0,0 +1,307 @@ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * A service handles auto completion.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompletionGrpc { + + private CompletionGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.Completion"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCompleteQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", + requestType = com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, + responseType = com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCompleteQueryMethod() { + io.grpc.MethodDescriptor getCompleteQueryMethod; + if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { + synchronized (CompletionGrpc.class) { + if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { + CompletionGrpc.getCompleteQueryMethod = getCompleteQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) + .build(); + } + } + } + return getCompleteQueryMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static CompletionStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + }; + return CompletionStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompletionBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + }; + return CompletionBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CompletionFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + }; + return CompletionFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service handles auto completion.
+   * 
+ */ + public static abstract class CompletionImplBase implements io.grpc.BindableService { + + /** + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public void completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteQueryMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCompleteQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse>( + this, METHODID_COMPLETE_QUERY))) + .build(); + } + } + + /** + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { + private CompletionStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + + /** + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public void completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CompletionBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + + /** + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.CompleteQueryResponse completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteQueryMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionFutureStub extends io.grpc.stub.AbstractFutureStub { + private CompletionFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + + /** + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture completeQuery( + com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_COMPLETE_QUERY = 0; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompletionImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompletionImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_COMPLETE_QUERY: + serviceImpl.completeQuery((com.google.cloud.talent.v4beta1.CompleteQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompletionBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Completion"); + } + } + + private static final class CompletionFileDescriptorSupplier + extends CompletionBaseDescriptorSupplier { + CompletionFileDescriptorSupplier() {} + } + + private static final class CompletionMethodDescriptorSupplier + extends CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompletionMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompletionGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) + .addMethod(getCompleteQueryMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java similarity index 54% rename from java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java rename to owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java index c0ad64e9396f..adfc6ef7ad41 100644 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java +++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.talent.v4beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * A service handles client event report.
  * 
@@ -35,105 +18,89 @@ private EventServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.EventService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent> - getCreateClientEventMethod; + private static volatile io.grpc.MethodDescriptor getCreateClientEventMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateClientEvent", requestType = com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, responseType = com.google.cloud.talent.v4beta1.ClientEvent.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent> - getCreateClientEventMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent> - getCreateClientEventMethod; + public static io.grpc.MethodDescriptor getCreateClientEventMethod() { + io.grpc.MethodDescriptor getCreateClientEventMethod; if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { synchronized (EventServiceGrpc.class) { if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { - EventServiceGrpc.getCreateClientEventMethod = - getCreateClientEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateClientEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance())) - .setSchemaDescriptor( - new EventServiceMethodDescriptorSupplier("CreateClientEvent")) - .build(); + EventServiceGrpc.getCreateClientEventMethod = getCreateClientEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance())) + .setSchemaDescriptor(new EventServiceMethodDescriptorSupplier("CreateClientEvent")) + .build(); } } } return getCreateClientEventMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static EventServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceStub(channel, callOptions); + } + }; return EventServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static EventServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static EventServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceBlockingStub(channel, callOptions); + } + }; return EventServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static EventServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static EventServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceFutureStub(channel, callOptions); + } + }; return EventServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * A service handles client event report.
    * 
*/ - public abstract static class EventServiceImplBase implements io.grpc.BindableService { + public static abstract class EventServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -144,48 +111,42 @@ public abstract static class EventServiceImplBase implements io.grpc.BindableSer
      * about self service tools.
      * 
*/ - public void createClientEvent( - com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + public void createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClientEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClientEventMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateClientEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent>( - this, METHODID_CREATE_CLIENT_EVENT))) + getCreateClientEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent>( + this, METHODID_CREATE_CLIENT_EVENT))) .build(); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private EventServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceStub extends io.grpc.stub.AbstractAsyncStub { + private EventServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected EventServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new EventServiceStub(channel, callOptions); } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -196,26 +157,21 @@ protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * about self service tools.
      * 
*/ - public void createClientEvent( - com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + public void createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private EventServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private EventServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -226,8 +182,6 @@ protected EventServiceBlockingStub build( } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -238,23 +192,20 @@ protected EventServiceBlockingStub build(
      * about self service tools.
      * 
*/ - public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent( - com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateClientEventMethod(), getCallOptions(), request); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private EventServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private EventServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -265,8 +216,6 @@ protected EventServiceFutureStub build( } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -277,9 +226,8 @@ protected EventServiceFutureStub build(
      * about self service tools.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.ClientEvent> - createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + public com.google.common.util.concurrent.ListenableFuture createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request); } @@ -287,11 +235,11 @@ protected EventServiceFutureStub build( private static final int METHODID_CREATE_CLIENT_EVENT = 0; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final EventServiceImplBase serviceImpl; private final int methodId; @@ -305,10 +253,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CLIENT_EVENT: - serviceImpl.createClientEvent( - (com.google.cloud.talent.v4beta1.CreateClientEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createClientEvent((com.google.cloud.talent.v4beta1.CreateClientEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -326,9 +272,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class EventServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class EventServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { EventServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -370,12 +315,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (EventServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) - .addMethod(getCreateClientEventMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) + .addMethod(getCreateClientEventMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java new file mode 100644 index 000000000000..98e485ab9043 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java @@ -0,0 +1,1145 @@ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * A service handles job management, including job CRUD, enumeration and search.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/job_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class JobServiceGrpc { + + private JobServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.JobService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJob", + requestType = com.google.cloud.talent.v4beta1.CreateJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateJobMethod() { + io.grpc.MethodDescriptor getCreateJobMethod; + if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { + JobServiceGrpc.getCreateJobMethod = getCreateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) + .build(); + } + } + } + return getCreateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchCreateJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", + requestType = com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchCreateJobsMethod() { + io.grpc.MethodDescriptor getBatchCreateJobsMethod; + if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { + JobServiceGrpc.getBatchCreateJobsMethod = getBatchCreateJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) + .build(); + } + } + } + return getBatchCreateJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJob", + requestType = com.google.cloud.talent.v4beta1.GetJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJobMethod() { + io.grpc.MethodDescriptor getGetJobMethod; + if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { + JobServiceGrpc.getGetJobMethod = getGetJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) + .build(); + } + } + } + return getGetJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateJob", + requestType = com.google.cloud.talent.v4beta1.UpdateJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateJobMethod() { + io.grpc.MethodDescriptor getUpdateJobMethod; + if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { + JobServiceGrpc.getUpdateJobMethod = getUpdateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) + .build(); + } + } + } + return getUpdateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchUpdateJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", + requestType = com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchUpdateJobsMethod() { + io.grpc.MethodDescriptor getBatchUpdateJobsMethod; + if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { + JobServiceGrpc.getBatchUpdateJobsMethod = getBatchUpdateJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) + .build(); + } + } + } + return getBatchUpdateJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJob", + requestType = com.google.cloud.talent.v4beta1.DeleteJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteJobMethod() { + io.grpc.MethodDescriptor getDeleteJobMethod; + if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { + JobServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) + .build(); + } + } + } + return getDeleteJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchDeleteJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", + requestType = com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchDeleteJobsMethod() { + io.grpc.MethodDescriptor getBatchDeleteJobsMethod; + if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { + JobServiceGrpc.getBatchDeleteJobsMethod = getBatchDeleteJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) + .build(); + } + } + } + return getBatchDeleteJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobs", + requestType = com.google.cloud.talent.v4beta1.ListJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListJobsMethod() { + io.grpc.MethodDescriptor getListJobsMethod; + if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { + JobServiceGrpc.getListJobsMethod = getListJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) + .build(); + } + } + } + return getListJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchJobs", + requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchJobsMethod() { + io.grpc.MethodDescriptor getSearchJobsMethod; + if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { + JobServiceGrpc.getSearchJobsMethod = getSearchJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) + .build(); + } + } + } + return getSearchJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchJobsForAlertMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", + requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchJobsForAlertMethod() { + io.grpc.MethodDescriptor getSearchJobsForAlertMethod; + if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { + JobServiceGrpc.getSearchJobsForAlertMethod = getSearchJobsForAlertMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) + .build(); + } + } + } + return getSearchJobsForAlertMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static JobServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + }; + return JobServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static JobServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + }; + return JobServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static JobServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + }; + return JobServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static abstract class JobServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); + } + + /** + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public void batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateJobsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public void getJob(com.google.cloud.talent.v4beta1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + } + + /** + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public void updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); + } + + /** + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public void batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateJobsMethod(), responseObserver); + } + + /** + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); + } + + /** + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public void batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteJobsMethod(), responseObserver); + } + + /** + *
+     * Lists jobs by filter.
+     * 
+ */ + public void listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsForAlertMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateJobRequest, + com.google.cloud.talent.v4beta1.Job>( + this, METHODID_CREATE_JOB))) + .addMethod( + getBatchCreateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_CREATE_JOBS))) + .addMethod( + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetJobRequest, + com.google.cloud.talent.v4beta1.Job>( + this, METHODID_GET_JOB))) + .addMethod( + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateJobRequest, + com.google.cloud.talent.v4beta1.Job>( + this, METHODID_UPDATE_JOB))) + .addMethod( + getBatchUpdateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_UPDATE_JOBS))) + .addMethod( + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) + .addMethod( + getBatchDeleteJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, + com.google.protobuf.Empty>( + this, METHODID_BATCH_DELETE_JOBS))) + .addMethod( + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse>( + this, METHODID_LIST_JOBS))) + .addMethod( + getSearchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS))) + .addMethod( + getSearchJobsForAlertMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS_FOR_ALERT))) + .build(); + } + } + + /** + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { + private JobServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public void batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public void getJob(com.google.cloud.talent.v4beta1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public void updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public void batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public void batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists jobs by filter.
+     * 
+ */ + public void listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private JobServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job getJob(com.google.cloud.talent.v4beta1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public com.google.longrunning.Operation batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.protobuf.Empty deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists jobs by filter.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private JobServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createJob( + com.google.cloud.talent.v4beta1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchCreateJobs( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.talent.v4beta1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateJob( + com.google.cloud.talent.v4beta1.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchUpdateJobs( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchDeleteJobs( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists jobs by filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchJobs( + com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchJobsForAlert( + com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_JOB = 0; + private static final int METHODID_BATCH_CREATE_JOBS = 1; + private static final int METHODID_GET_JOB = 2; + private static final int METHODID_UPDATE_JOB = 3; + private static final int METHODID_BATCH_UPDATE_JOBS = 4; + private static final int METHODID_DELETE_JOB = 5; + private static final int METHODID_BATCH_DELETE_JOBS = 6; + private static final int METHODID_LIST_JOBS = 7; + private static final int METHODID_SEARCH_JOBS = 8; + private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 9; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final JobServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(JobServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_JOB: + serviceImpl.createJob((com.google.cloud.talent.v4beta1.CreateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_JOBS: + serviceImpl.batchCreateJobs((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB: + serviceImpl.getJob((com.google.cloud.talent.v4beta1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_JOB: + serviceImpl.updateJob((com.google.cloud.talent.v4beta1.UpdateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_UPDATE_JOBS: + serviceImpl.batchUpdateJobs((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_JOB: + serviceImpl.deleteJob((com.google.cloud.talent.v4beta1.DeleteJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_DELETE_JOBS: + serviceImpl.batchDeleteJobs((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOBS: + serviceImpl.listJobs((com.google.cloud.talent.v4beta1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_JOBS: + serviceImpl.searchJobs((com.google.cloud.talent.v4beta1.SearchJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_JOBS_FOR_ALERT: + serviceImpl.searchJobsForAlert((com.google.cloud.talent.v4beta1.SearchJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class JobServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + JobServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("JobService"); + } + } + + private static final class JobServiceFileDescriptorSupplier + extends JobServiceBaseDescriptorSupplier { + JobServiceFileDescriptorSupplier() {} + } + + private static final class JobServiceMethodDescriptorSupplier + extends JobServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + JobServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (JobServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new JobServiceFileDescriptorSupplier()) + .addMethod(getCreateJobMethod()) + .addMethod(getBatchCreateJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getBatchUpdateJobsMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getBatchDeleteJobsMethod()) + .addMethod(getListJobsMethod()) + .addMethod(getSearchJobsMethod()) + .addMethod(getSearchJobsForAlertMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java new file mode 100644 index 000000000000..008a5c2bc577 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java @@ -0,0 +1,647 @@ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * A service that handles tenant management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TenantServiceGrpc { + + private TenantServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.TenantService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTenant", + requestType = com.google.cloud.talent.v4beta1.CreateTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTenantMethod() { + io.grpc.MethodDescriptor getCreateTenantMethod; + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + TenantServiceGrpc.getCreateTenantMethod = getCreateTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("CreateTenant")) + .build(); + } + } + } + return getCreateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTenant", + requestType = com.google.cloud.talent.v4beta1.GetTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTenantMethod() { + io.grpc.MethodDescriptor getGetTenantMethod; + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + TenantServiceGrpc.getGetTenantMethod = getGetTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) + .build(); + } + } + } + return getGetTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", + requestType = com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTenantMethod() { + io.grpc.MethodDescriptor getUpdateTenantMethod; + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + TenantServiceGrpc.getUpdateTenantMethod = getUpdateTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("UpdateTenant")) + .build(); + } + } + } + return getUpdateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", + requestType = com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTenantMethod() { + io.grpc.MethodDescriptor getDeleteTenantMethod; + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + TenantServiceGrpc.getDeleteTenantMethod = getDeleteTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("DeleteTenant")) + .build(); + } + } + } + return getDeleteTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTenantsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTenants", + requestType = com.google.cloud.talent.v4beta1.ListTenantsRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListTenantsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTenantsMethod() { + io.grpc.MethodDescriptor getListTenantsMethod; + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + TenantServiceGrpc.getListTenantsMethod = getListTenantsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) + .build(); + } + } + } + return getListTenantsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static TenantServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + }; + return TenantServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TenantServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + }; + return TenantServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static TenantServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + }; + return TenantServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static abstract class TenantServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTenantMethod(), responseObserver); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTenantMethod(), responseObserver); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTenantMethod(), responseObserver); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTenantsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>( + this, METHODID_CREATE_TENANT))) + .addMethod( + getGetTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>( + this, METHODID_GET_TENANT))) + .addMethod( + getUpdateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>( + this, METHODID_UPDATE_TENANT))) + .addMethod( + getDeleteTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TENANT))) + .addMethod( + getListTenantsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse>( + this, METHODID_LIST_TENANTS))) + .build(); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceStub extends io.grpc.stub.AbstractAsyncStub { + private TenantServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private TenantServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.protobuf.Empty deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListTenantsResponse listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTenantsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private TenantServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TENANT = 0; + private static final int METHODID_GET_TENANT = 1; + private static final int METHODID_UPDATE_TENANT = 2; + private static final int METHODID_DELETE_TENANT = 3; + private static final int METHODID_LIST_TENANTS = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TenantServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TENANT: + serviceImpl.createTenant((com.google.cloud.talent.v4beta1.CreateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TENANT: + serviceImpl.getTenant((com.google.cloud.talent.v4beta1.GetTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TENANT: + serviceImpl.updateTenant((com.google.cloud.talent.v4beta1.UpdateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TENANT: + serviceImpl.deleteTenant((com.google.cloud.talent.v4beta1.DeleteTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TENANTS: + serviceImpl.listTenants((com.google.cloud.talent.v4beta1.ListTenantsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TenantServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TenantService"); + } + } + + private static final class TenantServiceFileDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier { + TenantServiceFileDescriptorSupplier() {} + } + + private static final class TenantServiceMethodDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TenantServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TenantServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) + .addMethod(getCreateTenantMethod()) + .addMethod(getGetTenantMethod()) + .addMethod(getUpdateTenantMethod()) + .addMethod(getDeleteTenantMethod()) + .addMethod(getListTenantsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java index f73e65a663d5..cba932201150 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request to create a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchCreateJobsRequest} */ -public final class BatchCreateJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchCreateJobsRequest) BatchCreateJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateJobsRequest.newBuilder() to construct. private BatchCreateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -44,35 +26,32 @@ private BatchCreateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,84 +104,64 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,7 +194,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, jobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -249,16 +205,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchCreateJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other = - (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) obj; + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other = (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getJobsList().equals(other.getJobsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,136 +239,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchCreateJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchCreateJobsRequest) com.google.cloud.talent.v4beta1.BatchCreateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override @@ -449,8 +399,7 @@ public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest result = - new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest result = new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -470,39 +419,38 @@ public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -510,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -534,10 +481,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -569,32 +515,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -604,13 +548,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -618,16 +559,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -636,8 +575,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -645,17 +582,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -663,8 +599,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -672,25 +606,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -698,21 +628,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -720,50 +645,40 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -773,15 +688,11 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -791,15 +702,11 @@ public int getJobsCount() { } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -809,17 +716,14 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder setJobs( + int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -833,17 +737,14 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -854,15 +755,11 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { @@ -878,17 +775,14 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder addJobs( + int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -902,17 +796,14 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -923,17 +814,14 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForVal return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -944,21 +832,18 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -966,15 +851,11 @@ public Builder addAllJobs( return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -987,15 +868,11 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1008,50 +885,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1059,69 +925,56 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1131,12 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchCreateJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchCreateJobsRequest) private static final com.google.cloud.talent.v4beta1.BatchCreateJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(); } @@ -1145,27 +998,27 @@ public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1180,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java new file mode 100644 index 000000000000..5ed86508d229 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java @@ -0,0 +1,79 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface BatchCreateJobsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchCreateJobsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant under which the job is created.
+   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
+   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
+   * is created. For example, "projects/foo".
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The resource name of the tenant under which the job is created.
+   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
+   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
+   * is created. For example, "projects/foo".
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getJobsList(); + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.talent.v4beta1.Job getJobs(int index); + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + int getJobsCount(); + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getJobsOrBuilderList(); + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index); +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java similarity index 68% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java index 5104b5ba74a8..99a4ae947c2b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Batch delete jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} */ -public final class BatchDeleteJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchDeleteJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) BatchDeleteJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchDeleteJobsRequest.newBuilder() to construct. private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchDeleteJobsRequest() { parent_ = ""; filter_ = ""; @@ -44,35 +26,32 @@ private BatchDeleteJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchDeleteJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,8 +104,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -143,7 +115,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -152,15 +123,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -172,15 +142,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -189,7 +160,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -231,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other = - (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) obj; + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other = (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +234,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Batch delete jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) com.google.cloud.talent.v4beta1.BatchDeleteJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override @@ -424,8 +389,7 @@ public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest result = - new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest result = new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; onBuilt(); @@ -436,39 +400,38 @@ public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -476,8 +439,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -512,25 +474,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -543,8 +502,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -552,16 +509,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -570,8 +525,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -579,17 +532,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -597,8 +549,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -606,25 +556,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -632,21 +578,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -654,19 +595,17 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -674,8 +613,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -687,13 +624,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -702,8 +639,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -715,14 +650,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -730,8 +666,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -743,22 +677,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -770,18 +702,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -793,23 +722,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -819,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) private static final com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(); } @@ -833,27 +762,27 @@ public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,4 +797,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java index d92e7600d773..1512c0dd95bc 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface BatchDeleteJobsRequestOrBuilder - extends +public interface BatchDeleteJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface BatchDeleteJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,17 +27,13 @@ public interface BatchDeleteJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -72,13 +45,10 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -90,8 +60,8 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java index fdc364adcb6d..7183af8a39b7 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Metadata used for long running operations returned by CTS batch APIs.
  * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.BatchOperationMetadata}
  */
-public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchOperationMetadata)
     BatchOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchOperationMetadata.newBuilder() to construct.
   private BatchOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchOperationMetadata() {
     state_ = 0;
     stateDescription_ = "";
@@ -45,35 +27,35 @@ private BatchOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.BatchOperationMetadata.class,
-            com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
+            com.google.cloud.talent.v4beta1.BatchOperationMetadata.class, com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
   }
 
-  /** Protobuf enum {@code google.cloud.talent.v4beta1.BatchOperationMetadata.State} */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  /**
+   * Protobuf enum {@code google.cloud.talent.v4beta1.BatchOperationMetadata.State}
+   */
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -82,8 +64,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The batch operation is being prepared for processing.
      * 
@@ -92,8 +72,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ INITIALIZING(1), /** - * - * *
      * The batch operation is actively being processed.
      * 
@@ -102,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROCESSING(2), /** - * - * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -113,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUCCEEDED(3),
     /**
-     *
-     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -123,8 +97,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -134,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CANCELLING(5),
     /**
-     *
-     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -149,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -159,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The batch operation is being prepared for processing.
      * 
@@ -169,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INITIALIZING_VALUE = 1; /** - * - * *
      * The batch operation is actively being processed.
      * 
@@ -179,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROCESSING_VALUE = 2; /** - * - * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -190,8 +152,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUCCEEDED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -200,8 +160,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -211,8 +169,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLING_VALUE = 5;
     /**
-     *
-     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -223,6 +179,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -247,59 +204,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return INITIALIZING;
-        case 2:
-          return PROCESSING;
-        case 3:
-          return SUCCEEDED;
-        case 4:
-          return FAILED;
-        case 5:
-          return CANCELLING;
-        case 6:
-          return CANCELLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return INITIALIZING;
+        case 2: return PROCESSING;
+        case 3: return SUCCEEDED;
+        case 4: return FAILED;
+        case 5: return CANCELLING;
+        case 6: return CANCELLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -319,52 +270,38 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_;
   /**
-   *
-   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { + @java.lang.Override public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object stateDescription_; /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The stateDescription. */ @java.lang.Override @@ -373,29 +310,29 @@ public java.lang.String getStateDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; } } /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getStateDescriptionBytes() { + public com.google.protobuf.ByteString + getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -406,14 +343,11 @@ public com.google.protobuf.ByteString getStateDescriptionBytes() { public static final int SUCCESS_COUNT_FIELD_NUMBER = 3; private int successCount_; /** - * - * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; - * * @return The successCount. */ @java.lang.Override @@ -424,14 +358,11 @@ public int getSuccessCount() { public static final int FAILURE_COUNT_FIELD_NUMBER = 4; private int failureCount_; /** - * - * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; - * * @return The failureCount. */ @java.lang.Override @@ -442,14 +373,11 @@ public int getFailureCount() { public static final int TOTAL_COUNT_FIELD_NUMBER = 5; private int totalCount_; /** - * - * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; - * * @return The totalCount. */ @java.lang.Override @@ -460,14 +388,11 @@ public int getTotalCount() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -475,14 +400,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -490,8 +412,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the batch operation is created.
    * 
@@ -506,8 +426,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -515,7 +433,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -523,8 +440,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -532,7 +447,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ @java.lang.Override @@ -540,8 +454,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -558,15 +470,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 8;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -574,15 +483,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ @java.lang.Override @@ -590,8 +496,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -605,7 +509,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -617,10 +520,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (state_
-        != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
@@ -653,31 +555,36 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateDescription_);
     }
     if (successCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(3, successCount_);
     }
     if (failureCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, failureCount_);
     }
     if (totalCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(5, totalCount_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getUpdateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -687,30 +594,36 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchOperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.BatchOperationMetadata other =
-        (com.google.cloud.talent.v4beta1.BatchOperationMetadata) obj;
+    com.google.cloud.talent.v4beta1.BatchOperationMetadata other = (com.google.cloud.talent.v4beta1.BatchOperationMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getStateDescription().equals(other.getStateDescription())) return false;
-    if (getSuccessCount() != other.getSuccessCount()) return false;
-    if (getFailureCount() != other.getFailureCount()) return false;
-    if (getTotalCount() != other.getTotalCount()) return false;
+    if (!getStateDescription()
+        .equals(other.getStateDescription())) return false;
+    if (getSuccessCount()
+        != other.getSuccessCount()) return false;
+    if (getFailureCount()
+        != other.getFailureCount()) return false;
+    if (getTotalCount()
+        != other.getTotalCount()) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -751,104 +664,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.talent.v4beta1.BatchOperationMetadata prototype) {
+  public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchOperationMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata used for long running operations returned by CTS batch APIs.
    * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -856,32 +761,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.BatchOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchOperationMetadata)
       com.google.cloud.talent.v4beta1.BatchOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.BatchOperationMetadata.class,
-              com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
+              com.google.cloud.talent.v4beta1.BatchOperationMetadata.class, com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.BatchOperationMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -917,9 +823,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -938,8 +844,7 @@ public com.google.cloud.talent.v4beta1.BatchOperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.BatchOperationMetadata buildPartial() {
-      com.google.cloud.talent.v4beta1.BatchOperationMetadata result =
-          new com.google.cloud.talent.v4beta1.BatchOperationMetadata(this);
+      com.google.cloud.talent.v4beta1.BatchOperationMetadata result = new com.google.cloud.talent.v4beta1.BatchOperationMetadata(this);
       result.state_ = state_;
       result.stateDescription_ = stateDescription_;
       result.successCount_ = successCount_;
@@ -968,39 +873,38 @@ public com.google.cloud.talent.v4beta1.BatchOperationMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.BatchOperationMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.BatchOperationMetadata) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.BatchOperationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1008,8 +912,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchOperationMetadata other) {
-      if (other == com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -1061,61 +964,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                stateDescription_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                successCount_ = input.readInt32();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                failureCount_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 40:
-              {
-                totalCount_ = input.readInt32();
-
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              stateDescription_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              successCount_ = input.readInt32();
+
+              break;
+            } // case 24
+            case 32: {
+              failureCount_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 40: {
+              totalCount_ = input.readInt32();
+
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1128,67 +1028,51 @@ public Builder mergeFrom(
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1196,24 +1080,21 @@ public Builder setState(com.google.cloud.talent.v4beta1.BatchOperationMetadata.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1221,20 +1102,18 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; @@ -1243,21 +1122,20 @@ public java.lang.String getStateDescription() { } } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString getStateDescriptionBytes() { + public com.google.protobuf.ByteString + getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -1265,76 +1143,66 @@ public com.google.protobuf.ByteString getStateDescriptionBytes() { } } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription(java.lang.String value) { + public Builder setStateDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateDescription_ = value; onChanged(); return this; } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return This builder for chaining. */ public Builder clearStateDescription() { - + stateDescription_ = getDefaultInstance().getStateDescription(); onChanged(); return this; } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setStateDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; onChanged(); return this; } - private int successCount_; + private int successCount_ ; /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @return The successCount. */ @java.lang.Override @@ -1342,51 +1210,42 @@ public int getSuccessCount() { return successCount_; } /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @param value The successCount to set. * @return This builder for chaining. */ public Builder setSuccessCount(int value) { - + successCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @return This builder for chaining. */ public Builder clearSuccessCount() { - + successCount_ = 0; onChanged(); return this; } - private int failureCount_; + private int failureCount_ ; /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @return The failureCount. */ @java.lang.Override @@ -1394,51 +1253,42 @@ public int getFailureCount() { return failureCount_; } /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @param value The failureCount to set. * @return This builder for chaining. */ public Builder setFailureCount(int value) { - + failureCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @return This builder for chaining. */ public Builder clearFailureCount() { - + failureCount_ = 0; onChanged(); return this; } - private int totalCount_; + private int totalCount_ ; /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @return The totalCount. */ @java.lang.Override @@ -1446,36 +1296,30 @@ public int getTotalCount() { return totalCount_; } /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { - + totalCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @return This builder for chaining. */ public Builder clearTotalCount() { - + totalCount_ = 0; onChanged(); return this; @@ -1483,47 +1327,34 @@ public Builder clearTotalCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1544,15 +1375,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1563,8 +1393,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1575,7 +1403,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1587,8 +1415,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1607,8 +1433,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1616,13 +1440,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1633,14 +1455,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1648,17 +1467,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1666,13 +1482,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1680,15 +1491,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1696,21 +1504,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1733,8 +1536,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1743,7 +1544,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 7;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1754,8 +1556,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1768,7 +1568,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1780,8 +1580,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1802,8 +1600,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1813,13 +1609,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1832,14 +1626,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1849,17 +1640,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(), getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(),
+                getParentForChildren(),
+                isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
@@ -1867,35 +1655,26 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1906,8 +1685,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1929,8 +1706,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1938,7 +1713,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 8;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1949,8 +1725,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1962,7 +1736,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1974,8 +1748,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1995,8 +1767,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2005,13 +1775,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2023,12 +1791,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2037,24 +1804,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2064,12 +1828,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchOperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchOperationMetadata)
   private static final com.google.cloud.talent.v4beta1.BatchOperationMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchOperationMetadata();
   }
@@ -2078,27 +1842,27 @@ public static com.google.cloud.talent.v4beta1.BatchOperationMetadata getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchOperationMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchOperationMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2113,4 +1877,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.BatchOperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
similarity index 83%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
index 7e5119dc36d5..6c1230cb6f1a 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
@@ -1,144 +1,100 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface BatchOperationMetadataOrBuilder
-    extends
+public interface BatchOperationMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchOperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The state. */ com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState(); /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The stateDescription. */ java.lang.String getStateDescription(); /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString getStateDescriptionBytes(); + com.google.protobuf.ByteString + getStateDescriptionBytes(); /** - * - * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; - * * @return The successCount. */ int getSuccessCount(); /** - * - * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; - * * @return The failureCount. */ int getFailureCount(); /** - * - * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; - * * @return The totalCount. */ int getTotalCount(); /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the batch operation is created.
    * 
@@ -148,8 +104,6 @@ public interface BatchOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -157,13 +111,10 @@ public interface BatchOperationMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -171,13 +122,10 @@ public interface BatchOperationMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -189,34 +137,26 @@ public interface BatchOperationMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
new file mode 100644
index 000000000000..85c307bfbd03
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
@@ -0,0 +1,39 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/batch.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public final class BatchProto {
+  private BatchProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\'google/cloud/talent/v4beta1/batch.prot" +
+      "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go" +
+      "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z" +
+      "Agoogle.golang.org/genproto/googleapis/c" +
+      "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
similarity index 71%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
index 94d5c38306cc..2f94835fd372 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Request to update a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchUpdateJobsRequest} */ -public final class BatchUpdateJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchUpdateJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchUpdateJobsRequest) BatchUpdateJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchUpdateJobsRequest.newBuilder() to construct. private BatchUpdateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchUpdateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -44,35 +26,32 @@ private BatchUpdateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchUpdateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,87 +104,66 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -226,7 +179,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index)
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -234,8 +186,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -251,7 +201,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -259,8 +208,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -283,7 +230,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -295,7 +241,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -318,10 +265,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, jobs_.get(i));
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -331,19 +280,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other =
-        (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) obj;
+    com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other = (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getJobsList().equals(other.getJobsList())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getJobsList()
+        .equals(other.getJobsList())) return false;
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -372,136 +323,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request to update a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchUpdateJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchUpdateJobsRequest) com.google.cloud.talent.v4beta1.BatchUpdateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -524,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override @@ -545,8 +489,7 @@ public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest result = - new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest result = new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -571,39 +514,38 @@ public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -611,8 +553,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -635,10 +576,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -673,38 +613,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -714,13 +653,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -728,16 +664,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -746,8 +680,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -755,17 +687,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -773,8 +704,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -782,25 +711,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -808,21 +733,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -830,50 +750,40 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -883,15 +793,11 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -901,15 +807,11 @@ public int getJobsCount() { } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -919,17 +821,14 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder setJobs( + int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -943,17 +842,14 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -964,15 +860,11 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { @@ -988,17 +880,14 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder addJobs( + int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1012,17 +901,14 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -1033,17 +919,14 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForVal return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -1054,21 +937,18 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -1076,15 +956,11 @@ public Builder addAllJobs( return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -1097,15 +973,11 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1118,50 +990,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1169,62 +1030,49 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -1232,13 +1080,8 @@ public java.util.List getJobsBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1254,15 +1097,12 @@ public java.util.List getJobsBuilde
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1278,21 +1118,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1323,8 +1158,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1341,7 +1174,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1352,8 +1186,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1374,7 +1206,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1386,8 +1218,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1416,8 +1246,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1435,13 +1263,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1462,14 +1288,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1487,24 +1310,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1514,12 +1334,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
   private static final com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest();
   }
@@ -1528,27 +1348,27 @@ public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchUpdateJobsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchUpdateJobsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1563,4 +1383,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
index 3090370f05d7..8c5158b822e0 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface BatchUpdateJobsRequestOrBuilder
-    extends
+public interface BatchUpdateJobsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface BatchUpdateJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,78 +27,57 @@ public interface BatchUpdateJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.Job getJobs(int index); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getJobsCount(); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -137,13 +93,10 @@ public interface BatchUpdateJobsRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -159,13 +112,10 @@ public interface BatchUpdateJobsRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
index 8e1090279844..11b614b80138 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/event.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * An event issued when an end user interacts with the application that
  * implements Cloud Talent Solution. Providing this information improves the
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.ClientEvent}
  */
-public final class ClientEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ClientEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ClientEvent)
     ClientEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ClientEvent.newBuilder() to construct.
   private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ClientEvent() {
     requestId_ = "";
     eventId_ = "";
@@ -49,41 +31,37 @@ private ClientEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ClientEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.EventProto
-        .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.EventProto
-        .internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.ClientEvent.class,
-            com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
+            com.google.cloud.talent.v4beta1.ClientEvent.class, com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
-
   public enum EventCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JOB_EVENT(5),
     EVENT_NOT_SET(0);
     private final int value;
-
     private EventCase(int value) {
       this.value = value;
     }
@@ -99,29 +77,25 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return JOB_EVENT;
-        case 0:
-          return EVENT_NOT_SET;
-        default:
-          return null;
+        case 5: return JOB_EVENT;
+        case 0: return EVENT_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase getEventCase() {
-    return EventCase.forNumber(eventCase_);
+  public EventCase
+  getEventCase() {
+    return EventCase.forNumber(
+        eventCase_);
   }
 
   public static final int REQUEST_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object requestId_;
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -129,7 +103,6 @@ public EventCase getEventCase() {
    * 
* * string request_id = 1; - * * @return The requestId. */ @java.lang.Override @@ -138,15 +111,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -154,15 +126,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -173,14 +146,11 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int EVENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object eventId_; /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ @java.lang.Override @@ -189,29 +159,29 @@ public java.lang.String getEventId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } } /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventId_ = b; return b; } else { @@ -222,15 +192,11 @@ public com.google.protobuf.ByteString getEventIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -238,15 +204,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ @java.lang.Override @@ -254,14 +216,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -270,15 +229,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int JOB_EVENT_FIELD_NUMBER = 5; /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -286,27 +242,22 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return The jobEvent. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() { if (eventCase_ == 5) { - return (com.google.cloud.talent.v4beta1.JobEvent) event_; + return (com.google.cloud.talent.v4beta1.JobEvent) event_; } return com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance(); } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -317,7 +268,7 @@ public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() {
   @java.lang.Override
   public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder() {
     if (eventCase_ == 5) {
-      return (com.google.cloud.talent.v4beta1.JobEvent) event_;
+       return (com.google.cloud.talent.v4beta1.JobEvent) event_;
     }
     return com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance();
   }
@@ -325,15 +276,12 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
   public static final int EVENT_NOTES_FIELD_NUMBER = 9;
   private volatile java.lang.Object eventNotes_;
   /**
-   *
-   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; - * * @return The eventNotes. */ @java.lang.Override @@ -342,30 +290,30 @@ public java.lang.String getEventNotes() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; } } /** - * - * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ @java.lang.Override - public com.google.protobuf.ByteString getEventNotesBytes() { + public com.google.protobuf.ByteString + getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -374,7 +322,6 @@ public com.google.protobuf.ByteString getEventNotesBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +333,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -418,12 +366,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (eventCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.talent.v4beta1.JobEvent) event_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.talent.v4beta1.JobEvent) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventNotes_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, eventNotes_); @@ -436,25 +384,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ClientEvent)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ClientEvent other = - (com.google.cloud.talent.v4beta1.ClientEvent) obj; + com.google.cloud.talent.v4beta1.ClientEvent other = (com.google.cloud.talent.v4beta1.ClientEvent) obj; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEventId().equals(other.getEventId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEventId() + .equals(other.getEventId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (!getEventNotes().equals(other.getEventNotes())) return false; + if (!getEventNotes() + .equals(other.getEventNotes())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - if (!getJobEvent().equals(other.getJobEvent())) return false; + if (!getJobEvent() + .equals(other.getJobEvent())) return false; break; case 0: default: @@ -493,104 +445,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ClientEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An event issued when an end user interacts with the application that
    * implements Cloud Talent Solution. Providing this information improves the
@@ -601,32 +546,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.ClientEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ClientEvent)
       com.google.cloud.talent.v4beta1.ClientEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.ClientEvent.class,
-              com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
+              com.google.cloud.talent.v4beta1.ClientEvent.class, com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.ClientEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -651,9 +597,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
     }
 
     @java.lang.Override
@@ -672,8 +618,7 @@ public com.google.cloud.talent.v4beta1.ClientEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() {
-      com.google.cloud.talent.v4beta1.ClientEvent result =
-          new com.google.cloud.talent.v4beta1.ClientEvent(this);
+      com.google.cloud.talent.v4beta1.ClientEvent result = new com.google.cloud.talent.v4beta1.ClientEvent(this);
       result.requestId_ = requestId_;
       result.eventId_ = eventId_;
       if (createTimeBuilder_ == null) {
@@ -698,39 +643,38 @@ public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.ClientEvent) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.ClientEvent) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.ClientEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -755,15 +699,13 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ClientEvent other) {
         onChanged();
       }
       switch (other.getEventCase()) {
-        case JOB_EVENT:
-          {
-            mergeJobEvent(other.getJobEvent());
-            break;
-          }
-        case EVENT_NOT_SET:
-          {
-            break;
-          }
+        case JOB_EVENT: {
+          mergeJobEvent(other.getJobEvent());
+          break;
+        }
+        case EVENT_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -791,43 +733,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                requestId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                eventId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getJobEventFieldBuilder().getBuilder(), extensionRegistry);
-                eventCase_ = 5;
-                break;
-              } // case 42
-            case 74:
-              {
-                eventNotes_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              requestId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              eventId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getJobEventFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              eventCase_ = 5;
+              break;
+            } // case 42
+            case 74: {
+              eventNotes_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -837,12 +777,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int eventCase_ = 0;
     private java.lang.Object event_;
-
-    public EventCase getEventCase() {
-      return EventCase.forNumber(eventCase_);
+    public EventCase
+        getEventCase() {
+      return EventCase.forNumber(
+          eventCase_);
     }
 
     public Builder clearEvent() {
@@ -852,10 +792,9 @@ public Builder clearEvent() {
       return this;
     }
 
+
     private java.lang.Object requestId_ = "";
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -863,13 +802,13 @@ public Builder clearEvent() {
      * 
* * string request_id = 1; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -878,8 +817,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -887,14 +824,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -902,8 +840,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -911,22 +847,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 1; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -934,18 +868,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 1; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -953,16 +884,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 1; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -970,20 +901,18 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object eventId_ = ""; /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; @@ -992,21 +921,20 @@ public java.lang.String getEventId() { } } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventId_ = b; return b; } else { @@ -1014,61 +942,54 @@ public com.google.protobuf.ByteString getEventIdBytes() { } } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId(java.lang.String value) { + public Builder setEventId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes(com.google.protobuf.ByteString value) { + public Builder setEventIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -1076,55 +997,39 @@ public Builder setEventIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1140,16 +1045,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1160,20 +1063,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1185,14 +1085,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1206,81 +1103,62 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobEvent, - com.google.cloud.talent.v4beta1.JobEvent.Builder, - com.google.cloud.talent.v4beta1.JobEventOrBuilder> - jobEventBuilder_; + com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder> jobEventBuilder_; /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -1288,15 +1166,12 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return The jobEvent. */ @java.lang.Override @@ -1314,8 +1189,6 @@ public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() { } } /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1337,8 +1210,6 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1346,7 +1217,8 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
      *
      * .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      */
-    public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent.Builder builderForValue) {
+    public Builder setJobEvent(
+        com.google.cloud.talent.v4beta1.JobEvent.Builder builderForValue) {
       if (jobEventBuilder_ == null) {
         event_ = builderForValue.build();
         onChanged();
@@ -1357,8 +1229,6 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1368,13 +1238,10 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent.Builder buil
      */
     public Builder mergeJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       if (jobEventBuilder_ == null) {
-        if (eventCase_ == 5
-            && event_ != com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance()) {
-          event_ =
-              com.google.cloud.talent.v4beta1.JobEvent.newBuilder(
-                      (com.google.cloud.talent.v4beta1.JobEvent) event_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (eventCase_ == 5 &&
+            event_ != com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance()) {
+          event_ = com.google.cloud.talent.v4beta1.JobEvent.newBuilder((com.google.cloud.talent.v4beta1.JobEvent) event_)
+              .mergeFrom(value).buildPartial();
         } else {
           event_ = value;
         }
@@ -1390,8 +1257,6 @@ public Builder mergeJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1416,8 +1281,6 @@ public Builder clearJobEvent() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1429,8 +1292,6 @@ public com.google.cloud.talent.v4beta1.JobEvent.Builder getJobEventBuilder() {
       return getJobEventFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1450,8 +1311,6 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1460,47 +1319,39 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
      * .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.JobEvent,
-            com.google.cloud.talent.v4beta1.JobEvent.Builder,
-            com.google.cloud.talent.v4beta1.JobEventOrBuilder>
+        com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder> 
         getJobEventFieldBuilder() {
       if (jobEventBuilder_ == null) {
         if (!(eventCase_ == 5)) {
           event_ = com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance();
         }
-        jobEventBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.JobEvent,
-                com.google.cloud.talent.v4beta1.JobEvent.Builder,
-                com.google.cloud.talent.v4beta1.JobEventOrBuilder>(
+        jobEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder>(
                 (com.google.cloud.talent.v4beta1.JobEvent) event_,
                 getParentForChildren(),
                 isClean());
         event_ = null;
       }
       eventCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return jobEventBuilder_;
     }
 
     private java.lang.Object eventNotes_ = "";
     /**
-     *
-     *
      * 
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @return The eventNotes. */ public java.lang.String getEventNotes() { java.lang.Object ref = eventNotes_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; @@ -1509,22 +1360,21 @@ public java.lang.String getEventNotes() { } } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ - public com.google.protobuf.ByteString getEventNotesBytes() { + public com.google.protobuf.ByteString + getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -1532,71 +1382,64 @@ public com.google.protobuf.ByteString getEventNotesBytes() { } } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @param value The eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotes(java.lang.String value) { + public Builder setEventNotes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventNotes_ = value; onChanged(); return this; } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @return This builder for chaining. */ public Builder clearEventNotes() { - + eventNotes_ = getDefaultInstance().getEventNotes(); onChanged(); return this; } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @param value The bytes for eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { + public Builder setEventNotesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventNotes_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1606,12 +1449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ClientEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ClientEvent) private static final com.google.cloud.talent.v4beta1.ClientEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ClientEvent(); } @@ -1620,27 +1463,27 @@ public static com.google.cloud.talent.v4beta1.ClientEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1655,4 +1498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ClientEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java index 1be2def8cd22..bf24c0274f3c 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; -public interface ClientEventOrBuilder - extends +public interface ClientEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ClientEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -33,13 +15,10 @@ public interface ClientEventOrBuilder
    * 
* * string request_id = 1; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -47,103 +26,79 @@ public interface ClientEventOrBuilder
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ java.lang.String getEventId(); /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - com.google.protobuf.ByteString getEventIdBytes(); + com.google.protobuf.ByteString + getEventIdBytes(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ boolean hasJobEvent(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return The jobEvent. */ com.google.cloud.talent.v4beta1.JobEvent getJobEvent(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -154,31 +109,26 @@ public interface ClientEventOrBuilder
   com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder();
 
   /**
-   *
-   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; - * * @return The eventNotes. */ java.lang.String getEventNotes(); /** - * - * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ - com.google.protobuf.ByteString getEventNotesBytes(); + com.google.protobuf.ByteString + getEventNotesBytes(); public com.google.cloud.talent.v4beta1.ClientEvent.EventCase getEventCase(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java new file mode 100644 index 000000000000..2532d2fbddb3 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java @@ -0,0 +1,308 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/common.proto + +package com.google.cloud.talent.v4beta1; + +public final class CommonProto { + private CommonProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Location_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/talent/v4beta1/common.pro" + + "to\022\033google.cloud.talent.v4beta1\032\037google/" + + "api/field_behavior.proto\032\037google/protobu" + + "f/timestamp.proto\032\036google/protobuf/wrapp" + + "ers.proto\032\030google/type/latlng.proto\032\027goo" + + "gle/type/money.proto\032 google/type/postal" + + "_address.proto\"n\n\016TimestampRange\022.\n\nstar" + + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + + "\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001" + + "(\01622.google.cloud.talent.v4beta1.Locatio" + + "n.LocationType\0222\n\016postal_address\030\002 \001(\0132\032" + + ".google.type.PostalAddress\022$\n\007lat_lng\030\003 " + + "\001(\0132\023.google.type.LatLng\022\024\n\014radius_miles" + + "\030\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE" + + "_UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTR" + + "ATIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020" + + "\003\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_" + + "LOCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LO" + + "CALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_A" + + "DDRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001" + + " \001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(" + + "\t\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_i" + + "nfo\030\005 \001(\0132\'.google.cloud.talent.v4beta1." + + "DeviceInfo\"&\n\020ResponseMetadata\022\022\n\nreques" + + "t_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type" + + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Dev" + + "iceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDevice" + + "Type\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB" + + "\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004" + + "\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017CustomAttribute\022" + + "\025\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 " + + "\003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032\n\022keyword_searc" + + "hable\030\004 \001(\010\"W\n\022SpellingCorrection\022\021\n\tcor" + + "rected\030\001 \001(\010\022\026\n\016corrected_text\030\002 \001(\t\022\026\n\016" + + "corrected_html\030\003 \001(\t\"\246\t\n\020CompensationInf" + + "o\022P\n\007entries\030\001 \003(\0132?.google.cloud.talent" + + ".v4beta1.CompensationInfo.CompensationEn" + + "try\022p\n\"annualized_base_compensation_rang" + + "e\030\002 \001(\0132?.google.cloud.talent.v4beta1.Co" + + "mpensationInfo.CompensationRangeB\003\340A\003\022q\n" + + "#annualized_total_compensation_range\030\003 \001" + + "(\0132?.google.cloud.talent.v4beta1.Compens" + + "ationInfo.CompensationRangeB\003\340A\003\032\222\003\n\021Com" + + "pensationEntry\022L\n\004type\030\001 \001(\0162>.google.cl" + + "oud.talent.v4beta1.CompensationInfo.Comp" + + "ensationType\022L\n\004unit\030\002 \001(\0162>.google.clou" + + "d.talent.v4beta1.CompensationInfo.Compen" + + "sationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type" + + ".MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.t" + + "alent.v4beta1.CompensationInfo.Compensat" + + "ionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expec" + + "ted_units_per_year\030\006 \001(\0132\034.google.protob" + + "uf.DoubleValueB\025\n\023compensation_amount\032o\n" + + "\021CompensationRange\022,\n\020max_compensation\030\002" + + " \001(\0132\022.google.type.Money\022,\n\020min_compensa" + + "tion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compe" + + "nsationType\022!\n\035COMPENSATION_TYPE_UNSPECI" + + "FIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_B" + + "ONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017" + + "\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPE" + + "NSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035C" + + "OMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY" + + "\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n" + + "\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPEN" + + "SATION_UNIT\020\007\"\314\003\n\026BatchOperationMetadata" + + "\022H\n\005state\030\001 \001(\01629.google.cloud.talent.v4" + + "beta1.BatchOperationMetadata.State\022\031\n\021st" + + "ate_description\030\002 \001(\t\022\025\n\rsuccess_count\030\003" + + " \001(\005\022\025\n\rfailure_count\030\004 \001(\005\022\023\n\013total_cou" + + "nt\030\005 \001(\005\022/\n\013create_time\030\006 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022/\n\013update_time\030\007 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\010end_time\030\010" + + " \001(\0132\032.google.protobuf.Timestamp\"z\n\005Stat" + + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIALIZING" + + "\020\001\022\016\n\nPROCESSING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI" + + "LED\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLED\020\006*y\n\013" + + "CompanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020" + + "\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006M" + + "EDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*" + + "\342\001\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIE" + + "D\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMES" + + "TIC_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MED" + + "ICAL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_L" + + "EAVE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS" + + "\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeT" + + "ype\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIM" + + "ARY_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCA" + + "TION\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n" + + "\030ADULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATE" + + "S_OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVA" + + "LENT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOC" + + "TORAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType" + + "\022\037\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFUL" + + "L_TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022" + + "\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006" + + "INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n" + + "\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TY" + + "PE\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIE" + + "D\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n" + + "\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*" + + "\272\006\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIF" + + "IED\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADM" + + "INISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_" + + "AND_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_" + + "FASHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATI" + + "ONS\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017CO" + + "MPUTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUS" + + "TOMER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERT" + + "AINMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTD" + + "OORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCE" + + "S\020\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPA" + + "IR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUF" + + "ACTURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUN" + + "ICATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MI" + + "NING\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027" + + "\n\023PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030" + + "\022\036\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALE" + + "S_AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERIN" + + "G\020\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022" + + "!\n\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TR" + + "ANSPORTATION_AND_LOGISTICS\020\036*e\n\rPostingR" + + "egion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n" + + "\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TE" + + "LECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VISIBILITY_" + + "UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARE" + + "D_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003\032" + + "\002\030\001*q\n\020HtmlSanitization\022!\n\035HTML_SANITIZA" + + "TION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZATION_" + + "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" + + "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" + + "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" + + "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." + + "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" + + "lang.org/genproto/googleapis/cloud/talen" + + "t/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + com.google.type.MoneyProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor, + new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_talent_v4beta1_Location_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Location_descriptor, + new java.lang.String[] { "LocationType", "PostalAddress", "LatLng", "RadiusMiles", }); + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor, + new java.lang.String[] { "Domain", "SessionId", "UserId", "AllowMissingIds", "DeviceInfo", }); + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor, + new java.lang.String[] { "RequestId", }); + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor, + new java.lang.String[] { "DeviceType", "Id", }); + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor, + new java.lang.String[] { "StringValues", "LongValues", "Filterable", "KeywordSearchable", }); + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor, + new java.lang.String[] { "Corrected", "CorrectedText", "CorrectedHtml", }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor, + new java.lang.String[] { "Entries", "AnnualizedBaseCompensationRange", "AnnualizedTotalCompensationRange", }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor, + new java.lang.String[] { "Type", "Unit", "Amount", "Range", "Description", "ExpectedUnitsPerYear", "CompensationAmount", }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor = + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor, + new java.lang.String[] { "MaxCompensation", "MinCompensation", }); + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor, + new java.lang.String[] { "State", "StateDescription", "SuccessCount", "FailureCount", "TotalCount", "CreateTime", "UpdateTime", "EndTime", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + com.google.type.MoneyProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java similarity index 71% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java index 3342f74bbbf8..dc657049c539 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Parameters needed for commute search.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CommuteFilter} */ -public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommuteFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CommuteFilter) CommuteFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommuteFilter.newBuilder() to construct. private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommuteFilter() { commuteMethod_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommuteFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CommuteFilter.class, - com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); + com.google.cloud.talent.v4beta1.CommuteFilter.class, com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); } /** - * - * *
    * The traffic density to use when calculating commute time.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic} */ - public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { + public enum RoadTraffic + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Road traffic situation isn't specified.
      * 
@@ -88,8 +66,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ ROAD_TRAFFIC_UNSPECIFIED(0), /** - * - * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -98,8 +74,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ TRAFFIC_FREE(1), /** - * - * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -111,8 +85,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Road traffic situation isn't specified.
      * 
@@ -121,8 +93,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -131,8 +101,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRAFFIC_FREE_VALUE = 1; /** - * - * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -141,6 +109,7 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUSY_HOUR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +134,49 @@ public static RoadTraffic valueOf(int value) { */ public static RoadTraffic forNumber(int value) { switch (value) { - case 0: - return ROAD_TRAFFIC_UNSPECIFIED; - case 1: - return TRAFFIC_FREE; - case 2: - return BUSY_HOUR; - default: - return null; + case 0: return ROAD_TRAFFIC_UNSPECIFIED; + case 1: return TRAFFIC_FREE; + case 2: return BUSY_HOUR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RoadTraffic> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoadTraffic findValueByNumber(int number) { + return RoadTraffic.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoadTraffic findValueByNumber(int number) { - return RoadTraffic.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommuteFilter.getDescriptor().getEnumTypes().get(0); } private static final RoadTraffic[] VALUES = values(); - public static RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoadTraffic valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -226,16 +195,13 @@ private RoadTraffic(int value) { private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - public enum TrafficOptionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROAD_TRAFFIC(5), DEPARTURE_TIME(6), TRAFFICOPTION_NOT_SET(0); private final int value; - private TrafficOptionCase(int value) { this.value = value; } @@ -251,79 +217,59 @@ public static TrafficOptionCase valueOf(int value) { public static TrafficOptionCase forNumber(int value) { switch (value) { - case 5: - return ROAD_TRAFFIC; - case 6: - return DEPARTURE_TIME; - case 0: - return TRAFFICOPTION_NOT_SET; - default: - return null; + case 5: return ROAD_TRAFFIC; + case 6: return DEPARTURE_TIME; + case 0: return TRAFFICOPTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TrafficOptionCase getTrafficOptionCase() { - return TrafficOptionCase.forNumber(trafficOptionCase_); + public TrafficOptionCase + getTrafficOptionCase() { + return TrafficOptionCase.forNumber( + trafficOptionCase_); } public static final int COMMUTE_METHOD_FIELD_NUMBER = 1; private int commuteMethod_; /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override - public int getCommuteMethodValue() { + @java.lang.Override public int getCommuteMethodValue() { return commuteMethod_; } /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteMethod result = - com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4beta1.CommuteMethod result = com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4beta1.CommuteMethod.UNRECOGNIZED : result; } public static final int START_COORDINATES_FIELD_NUMBER = 2; private com.google.type.LatLng startCoordinates_; /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ @java.lang.Override @@ -331,34 +277,25 @@ public boolean hasStartCoordinates() { return startCoordinates_ != null; } /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ @java.lang.Override public com.google.type.LatLng getStartCoordinates() { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { @@ -368,16 +305,12 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration travelDuration_; /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -385,34 +318,25 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @@ -422,8 +346,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER = 4; private boolean allowImpreciseAddresses_; /** - * - * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -433,7 +355,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
    * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -443,28 +364,22 @@ public boolean getAllowImpreciseAddresses() { public static final int ROAD_TRAFFIC_FIELD_NUMBER = 5; /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ public int getRoadTrafficValue() { @@ -474,33 +389,25 @@ public int getRoadTrafficValue() { return 0; } /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null - ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; } return com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 6; /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -508,7 +415,6 @@ public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic(
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -516,8 +422,6 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -525,19 +429,16 @@ public boolean hasDepartureTime() {
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ @java.lang.Override public com.google.type.TimeOfDay getDepartureTime() { if (trafficOptionCase_ == 6) { - return (com.google.type.TimeOfDay) trafficOption_; + return (com.google.type.TimeOfDay) trafficOption_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -549,13 +450,12 @@ public com.google.type.TimeOfDay getDepartureTime() {
   @java.lang.Override
   public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
     if (trafficOptionCase_ == 6) {
-      return (com.google.type.TimeOfDay) trafficOption_;
+       return (com.google.type.TimeOfDay) trafficOption_;
     }
     return com.google.type.TimeOfDay.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -567,9 +467,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (commuteMethod_
-        != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (commuteMethod_ != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
@@ -596,28 +496,29 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (commuteMethod_
-        != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, commuteMethod_);
+    if (commuteMethod_ != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartCoordinates());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartCoordinates());
     }
     if (travelDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTravelDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getTravelDuration());
     }
     if (allowImpreciseAddresses_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowImpreciseAddresses_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, allowImpreciseAddresses_);
     }
     if (trafficOptionCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeEnumSize(
-              5, ((java.lang.Integer) trafficOption_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, ((java.lang.Integer) trafficOption_));
     }
     if (trafficOptionCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.type.TimeOfDay) trafficOption_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.type.TimeOfDay) trafficOption_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -627,31 +528,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.CommuteFilter)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.CommuteFilter other =
-        (com.google.cloud.talent.v4beta1.CommuteFilter) obj;
+    com.google.cloud.talent.v4beta1.CommuteFilter other = (com.google.cloud.talent.v4beta1.CommuteFilter) obj;
 
     if (commuteMethod_ != other.commuteMethod_) return false;
     if (hasStartCoordinates() != other.hasStartCoordinates()) return false;
     if (hasStartCoordinates()) {
-      if (!getStartCoordinates().equals(other.getStartCoordinates())) return false;
+      if (!getStartCoordinates()
+          .equals(other.getStartCoordinates())) return false;
     }
     if (hasTravelDuration() != other.hasTravelDuration()) return false;
     if (hasTravelDuration()) {
-      if (!getTravelDuration().equals(other.getTravelDuration())) return false;
+      if (!getTravelDuration()
+          .equals(other.getTravelDuration())) return false;
     }
-    if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false;
+    if (getAllowImpreciseAddresses()
+        != other.getAllowImpreciseAddresses()) return false;
     if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false;
     switch (trafficOptionCase_) {
       case 5:
-        if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false;
+        if (getRoadTrafficValue()
+            != other.getRoadTrafficValue()) return false;
         break;
       case 6:
-        if (!getDepartureTime().equals(other.getDepartureTime())) return false;
+        if (!getDepartureTime()
+            .equals(other.getDepartureTime())) return false;
         break;
       case 0:
       default:
@@ -678,7 +583,8 @@ public int hashCode() {
       hash = (53 * hash) + getTravelDuration().hashCode();
     }
     hash = (37 * hash) + ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowImpreciseAddresses());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowImpreciseAddresses());
     switch (trafficOptionCase_) {
       case 5:
         hash = (37 * hash) + ROAD_TRAFFIC_FIELD_NUMBER;
@@ -696,136 +602,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.CommuteFilter prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Parameters needed for commute search.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CommuteFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CommuteFilter) com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CommuteFilter.class, - com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); + com.google.cloud.talent.v4beta1.CommuteFilter.class, com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -854,9 +754,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override @@ -875,8 +775,7 @@ public com.google.cloud.talent.v4beta1.CommuteFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { - com.google.cloud.talent.v4beta1.CommuteFilter result = - new com.google.cloud.talent.v4beta1.CommuteFilter(this); + com.google.cloud.talent.v4beta1.CommuteFilter result = new com.google.cloud.talent.v4beta1.CommuteFilter(this); result.commuteMethod_ = commuteMethod_; if (startCoordinatesBuilder_ == null) { result.startCoordinates_ = startCoordinates_; @@ -908,39 +807,38 @@ public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CommuteFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.CommuteFilter) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CommuteFilter)other); } else { super.mergeFrom(other); return this; @@ -962,20 +860,17 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CommuteFilter other) { setAllowImpreciseAddresses(other.getAllowImpreciseAddresses()); } switch (other.getTrafficOptionCase()) { - case ROAD_TRAFFIC: - { - setRoadTrafficValue(other.getRoadTrafficValue()); - break; - } - case DEPARTURE_TIME: - { - mergeDepartureTime(other.getDepartureTime()); - break; - } - case TRAFFICOPTION_NOT_SET: - { - break; - } + case ROAD_TRAFFIC: { + setRoadTrafficValue(other.getRoadTrafficValue()); + break; + } + case DEPARTURE_TIME: { + mergeDepartureTime(other.getDepartureTime()); + break; + } + case TRAFFICOPTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1003,51 +898,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - commuteMethod_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage( - getStartCoordinatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - allowImpreciseAddresses_ = input.readBool(); - - break; - } // case 32 - case 40: - { - int rawValue = input.readEnum(); - trafficOptionCase_ = 5; - trafficOption_ = rawValue; - break; - } // case 40 - case 50: - { - input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); - trafficOptionCase_ = 6; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + commuteMethod_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getStartCoordinatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + allowImpreciseAddresses_ = input.readBool(); + + break; + } // case 32 + case 40: { + int rawValue = input.readEnum(); + trafficOptionCase_ = 5; + trafficOption_ = rawValue; + break; + } // case 40 + case 50: { + input.readMessage( + getDepartureTimeFieldBuilder().getBuilder(), + extensionRegistry); + trafficOptionCase_ = 6; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1057,12 +950,12 @@ public Builder mergeFrom( } // finally return this; } - private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - - public TrafficOptionCase getTrafficOptionCase() { - return TrafficOptionCase.forNumber(trafficOptionCase_); + public TrafficOptionCase + getTrafficOptionCase() { + return TrafficOptionCase.forNumber( + trafficOptionCase_); } public Builder clearTrafficOption() { @@ -1072,75 +965,54 @@ public Builder clearTrafficOption() { return this; } + private int commuteMethod_ = 0; /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override - public int getCommuteMethodValue() { + @java.lang.Override public int getCommuteMethodValue() { return commuteMethod_; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for commuteMethod to set. * @return This builder for chaining. */ public Builder setCommuteMethodValue(int value) { - + commuteMethod_ = value; onChanged(); return this; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteMethod result = - com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4beta1.CommuteMethod result = com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4beta1.CommuteMethod.UNRECOGNIZED : result; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The commuteMethod to set. * @return This builder for chaining. */ @@ -1148,26 +1020,21 @@ public Builder setCommuteMethod(com.google.cloud.talent.v4beta1.CommuteMethod va if (value == null) { throw new NullPointerException(); } - + commuteMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearCommuteMethod() { - + commuteMethod_ = 0; onChanged(); return this; @@ -1175,56 +1042,42 @@ public Builder clearCommuteMethod() { private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - startCoordinatesBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ public boolean hasStartCoordinates() { return startCoordinatesBuilder_ != null || startCoordinates_ != null; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ public com.google.type.LatLng getStartCoordinates() { if (startCoordinatesBuilder_ == null) { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } else { return startCoordinatesBuilder_.getMessage(); } } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { @@ -1240,17 +1093,15 @@ public Builder setStartCoordinates(com.google.type.LatLng value) { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValue) { + public Builder setStartCoordinates( + com.google.type.LatLng.Builder builderForValue) { if (startCoordinatesBuilder_ == null) { startCoordinates_ = builderForValue.build(); onChanged(); @@ -1261,21 +1112,18 @@ public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValu return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { if (startCoordinates_ != null) { startCoordinates_ = - com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); + com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); } else { startCoordinates_ = value; } @@ -1287,15 +1135,12 @@ public Builder mergeStartCoordinates(com.google.type.LatLng value) { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStartCoordinates() { if (startCoordinatesBuilder_ == null) { @@ -1309,62 +1154,51 @@ public Builder clearStartCoordinates() { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.LatLng.Builder getStartCoordinatesBuilder() { - + onChanged(); return getStartCoordinatesFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { if (startCoordinatesBuilder_ != null) { return startCoordinatesBuilder_.getMessageOrBuilder(); } else { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? + com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getStartCoordinatesFieldBuilder() { if (startCoordinatesBuilder_ == null) { - startCoordinatesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>( - getStartCoordinates(), getParentForChildren(), isClean()); + startCoordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getStartCoordinates(), + getParentForChildren(), + isClean()); startCoordinates_ = null; } return startCoordinatesBuilder_; @@ -1372,61 +1206,42 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - travelDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { @@ -1442,18 +1257,15 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTravelDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (travelDurationBuilder_ == null) { travelDuration_ = builderForValue.build(); onChanged(); @@ -1464,24 +1276,18 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { if (travelDuration_ != null) { travelDuration_ = - com.google.protobuf.Duration.newBuilder(travelDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial(); } else { travelDuration_ = value; } @@ -1493,16 +1299,12 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTravelDuration() { if (travelDurationBuilder_ == null) { @@ -1516,76 +1318,58 @@ public Builder clearTravelDuration() { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - + onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { if (travelDurationBuilder_ != null) { return travelDurationBuilder_.getMessageOrBuilder(); } else { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTravelDurationFieldBuilder() { if (travelDurationBuilder_ == null) { - travelDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTravelDuration(), getParentForChildren(), isClean()); + travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTravelDuration(), + getParentForChildren(), + isClean()); travelDuration_ = null; } return travelDurationBuilder_; } - private boolean allowImpreciseAddresses_; + private boolean allowImpreciseAddresses_ ; /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1595,7 +1379,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
      * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -1603,8 +1386,6 @@ public boolean getAllowImpreciseAddresses() { return allowImpreciseAddresses_; } /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1614,19 +1395,16 @@ public boolean getAllowImpreciseAddresses() {
      * 
* * bool allow_imprecise_addresses = 4; - * * @param value The allowImpreciseAddresses to set. * @return This builder for chaining. */ public Builder setAllowImpreciseAddresses(boolean value) { - + allowImpreciseAddresses_ = value; onChanged(); return this; } /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1636,25 +1414,21 @@ public Builder setAllowImpreciseAddresses(boolean value) {
      * 
* * bool allow_imprecise_addresses = 4; - * * @return This builder for chaining. */ public Builder clearAllowImpreciseAddresses() { - + allowImpreciseAddresses_ = false; onChanged(); return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ @java.lang.Override @@ -1662,14 +1436,11 @@ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ @java.lang.Override @@ -1680,14 +1451,11 @@ public int getRoadTrafficValue() { return 0; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @param value The enum numeric value on the wire for roadTraffic to set. * @return This builder for chaining. */ @@ -1698,38 +1466,29 @@ public Builder setRoadTrafficValue(int value) { return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null - ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; } return com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @param value The roadTraffic to set. * @return This builder for chaining. */ @@ -1743,14 +1502,11 @@ public Builder setRoadTraffic(com.google.cloud.talent.v4beta1.CommuteFilter.Road return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return This builder for chaining. */ public Builder clearRoadTraffic() { @@ -1763,13 +1519,8 @@ public Builder clearRoadTraffic() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> - departureTimeBuilder_; + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> departureTimeBuilder_; /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1777,7 +1528,6 @@ public Builder clearRoadTraffic() {
      * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -1785,8 +1535,6 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1794,7 +1542,6 @@ public boolean hasDepartureTime() {
      * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ @java.lang.Override @@ -1812,8 +1559,6 @@ public com.google.type.TimeOfDay getDepartureTime() { } } /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1836,8 +1581,6 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1846,7 +1589,8 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
      *
      * .google.type.TimeOfDay departure_time = 6;
      */
-    public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValue) {
+    public Builder setDepartureTime(
+        com.google.type.TimeOfDay.Builder builderForValue) {
       if (departureTimeBuilder_ == null) {
         trafficOption_ = builderForValue.build();
         onChanged();
@@ -1857,8 +1601,6 @@ public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1869,12 +1611,10 @@ public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValu
      */
     public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       if (departureTimeBuilder_ == null) {
-        if (trafficOptionCase_ == 6
-            && trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
-          trafficOption_ =
-              com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (trafficOptionCase_ == 6 &&
+            trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
+          trafficOption_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
+              .mergeFrom(value).buildPartial();
         } else {
           trafficOption_ = value;
         }
@@ -1890,8 +1630,6 @@ public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1917,8 +1655,6 @@ public Builder clearDepartureTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1931,8 +1667,6 @@ public com.google.type.TimeOfDay.Builder getDepartureTimeBuilder() {
       return getDepartureTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1953,8 +1687,6 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1964,30 +1696,26 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
      * .google.type.TimeOfDay departure_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.TimeOfDay,
-            com.google.type.TimeOfDay.Builder,
-            com.google.type.TimeOfDayOrBuilder>
+        com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
         getDepartureTimeFieldBuilder() {
       if (departureTimeBuilder_ == null) {
         if (!(trafficOptionCase_ == 6)) {
           trafficOption_ = com.google.type.TimeOfDay.getDefaultInstance();
         }
-        departureTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.TimeOfDay,
-                com.google.type.TimeOfDay.Builder,
-                com.google.type.TimeOfDayOrBuilder>(
-                (com.google.type.TimeOfDay) trafficOption_, getParentForChildren(), isClean());
+        departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                (com.google.type.TimeOfDay) trafficOption_,
+                getParentForChildren(),
+                isClean());
         trafficOption_ = null;
       }
       trafficOptionCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return departureTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1997,12 +1725,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CommuteFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CommuteFilter)
   private static final com.google.cloud.talent.v4beta1.CommuteFilter DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CommuteFilter();
   }
@@ -2011,27 +1739,27 @@ public static com.google.cloud.talent.v4beta1.CommuteFilter getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CommuteFilter parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CommuteFilter parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2046,4 +1774,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.CommuteFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
similarity index 78%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
index 69cb2fa664a2..db813e68004f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
@@ -1,142 +1,92 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/filters.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface CommuteFilterOrBuilder
-    extends
+public interface CommuteFilterOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CommuteFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ int getCommuteMethodValue(); /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ boolean hasStartCoordinates(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ com.google.type.LatLng getStartCoordinates(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder(); /** - * - * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -146,51 +96,39 @@ public interface CommuteFilterOrBuilder
    * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ boolean getAllowImpreciseAddresses(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ boolean hasRoadTraffic(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ int getRoadTrafficValue(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -198,13 +136,10 @@ public interface CommuteFilterOrBuilder
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -212,13 +147,10 @@ public interface CommuteFilterOrBuilder
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ com.google.type.TimeOfDay getDepartureTime(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
index d2ac39141d31..2e6c1e1f20db 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Method for commute.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CommuteMethod} */ -public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum CommuteMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Commute method isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ COMMUTE_METHOD_UNSPECIFIED(0), /** - * - * *
    * Commute time is calculated based on driving time.
    * 
@@ -49,8 +29,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ DRIVING(1), /** - * - * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -60,8 +38,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   TRANSIT(2),
   /**
-   *
-   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -70,8 +46,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ WALKING(3), /** - * - * *
    * Commute time is calculated based on biking time.
    * 
@@ -83,8 +57,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Commute method isn't specified.
    * 
@@ -93,8 +65,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Commute time is calculated based on driving time.
    * 
@@ -103,8 +73,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRIVING_VALUE = 1; /** - * - * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -114,8 +82,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TRANSIT_VALUE = 2;
   /**
-   *
-   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -124,8 +90,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WALKING_VALUE = 3; /** - * - * *
    * Commute time is calculated based on biking time.
    * 
@@ -134,6 +98,7 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CYCLING_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -158,53 +123,51 @@ public static CommuteMethod valueOf(int value) { */ public static CommuteMethod forNumber(int value) { switch (value) { - case 0: - return COMMUTE_METHOD_UNSPECIFIED; - case 1: - return DRIVING; - case 2: - return TRANSIT; - case 3: - return WALKING; - case 4: - return CYCLING; - default: - return null; + case 0: return COMMUTE_METHOD_UNSPECIFIED; + case 1: return DRIVING; + case 2: return TRANSIT; + case 3: return WALKING; + case 4: return CYCLING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CommuteMethod findValueByNumber(int number) { - return CommuteMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + CommuteMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CommuteMethod findValueByNumber(int number) { + return CommuteMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(9); } private static final CommuteMethod[] VALUES = values(); - public static CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CommuteMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -220,3 +183,4 @@ private CommuteMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CommuteMethod) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java index e7ecb38b076e..5e5fc1054f6a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * A Company resource represents a company in the service. A company is the
  * entity that owns job postings, that is, the hiring entity responsible for
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Company}
  */
-public final class Company extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Company extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Company)
     CompanyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Company.newBuilder() to construct.
   private Company(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Company() {
     name_ = "";
     displayName_ = "";
@@ -54,64 +36,54 @@ private Company() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Company();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CompanyResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CompanyResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Company.class,
-            com.google.cloud.talent.v4beta1.Company.Builder.class);
+            com.google.cloud.talent.v4beta1.Company.class, com.google.cloud.talent.v4beta1.Company.Builder.class);
   }
 
-  public interface DerivedInfoOrBuilder
-      extends
+  public interface DerivedInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Company.DerivedInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ boolean hasHeadquartersLocation(); /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return The headquartersLocation. */ com.google.cloud.talent.v4beta1.Location getHeadquartersLocation(); /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -122,64 +94,58 @@ public interface DerivedInfoOrBuilder
     com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Derived details about the company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Company.DerivedInfo} */ - public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DerivedInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Company.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DerivedInfo() {} + private DerivedInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); } public static final int HEADQUARTERS_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Location headquartersLocation_; /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ @java.lang.Override @@ -187,26 +153,19 @@ public boolean hasHeadquartersLocation() { return headquartersLocation_ != null; } /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return The headquartersLocation. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location getHeadquartersLocation() { - return headquartersLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : headquartersLocation_; + return headquartersLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_; } /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -220,7 +179,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -232,7 +190,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (headquartersLocation_ != null) {
         output.writeMessage(1, getHeadquartersLocation());
       }
@@ -246,8 +205,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (headquartersLocation_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeadquartersLocation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getHeadquartersLocation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -257,17 +216,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.Company.DerivedInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.Company.DerivedInfo other =
-          (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj;
+      com.google.cloud.talent.v4beta1.Company.DerivedInfo other = (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj;
 
       if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
       if (hasHeadquartersLocation()) {
-        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
+        if (!getHeadquartersLocation()
+            .equals(other.getHeadquartersLocation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -290,94 +249,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.Company.DerivedInfo prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.Company.DerivedInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -387,41 +339,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Derived details about the company.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Company.DerivedInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Company.DerivedInfo) com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override @@ -456,8 +406,7 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { - com.google.cloud.talent.v4beta1.Company.DerivedInfo result = - new com.google.cloud.talent.v4beta1.Company.DerivedInfo(this); + com.google.cloud.talent.v4beta1.Company.DerivedInfo result = new com.google.cloud.talent.v4beta1.Company.DerivedInfo(this); if (headquartersLocationBuilder_ == null) { result.headquartersLocation_ = headquartersLocation_; } else { @@ -471,41 +420,38 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Company.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Company.DerivedInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Company.DerivedInfo)other); } else { super.mergeFrom(other); return this; @@ -513,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Company.DerivedInfo other) { - if (other == com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance()) return this; if (other.hasHeadquartersLocation()) { mergeHeadquartersLocation(other.getHeadquartersLocation()); } @@ -544,20 +489,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getHeadquartersLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getHeadquartersLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,49 +514,36 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> - headquartersLocationBuilder_; + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> headquartersLocationBuilder_; /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ public boolean hasHeadquartersLocation() { return headquartersLocationBuilder_ != null || headquartersLocation_ != null; } /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return The headquartersLocation. */ public com.google.cloud.talent.v4beta1.Location getHeadquartersLocation() { if (headquartersLocationBuilder_ == null) { - return headquartersLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : headquartersLocation_; + return headquartersLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_; } else { return headquartersLocationBuilder_.getMessage(); } } /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -634,8 +565,6 @@ public Builder setHeadquartersLocation(com.google.cloud.talent.v4beta1.Location
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -655,8 +584,6 @@ public Builder setHeadquartersLocation(
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -668,9 +595,7 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4beta1.Locatio
         if (headquartersLocationBuilder_ == null) {
           if (headquartersLocation_ != null) {
             headquartersLocation_ =
-                com.google.cloud.talent.v4beta1.Location.newBuilder(headquartersLocation_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4beta1.Location.newBuilder(headquartersLocation_).mergeFrom(value).buildPartial();
           } else {
             headquartersLocation_ = value;
           }
@@ -682,8 +607,6 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4beta1.Locatio
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -703,8 +626,6 @@ public Builder clearHeadquartersLocation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -713,13 +634,11 @@ public Builder clearHeadquartersLocation() {
        * .google.cloud.talent.v4beta1.Location headquarters_location = 1;
        */
       public com.google.cloud.talent.v4beta1.Location.Builder getHeadquartersLocationBuilder() {
-
+        
         onChanged();
         return getHeadquartersLocationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -731,14 +650,11 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
         if (headquartersLocationBuilder_ != null) {
           return headquartersLocationBuilder_.getMessageOrBuilder();
         } else {
-          return headquartersLocation_ == null
-              ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance()
-              : headquartersLocation_;
+          return headquartersLocation_ == null ?
+              com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_;
         }
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -747,22 +663,18 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
        * .google.cloud.talent.v4beta1.Location headquarters_location = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Location,
-              com.google.cloud.talent.v4beta1.Location.Builder,
-              com.google.cloud.talent.v4beta1.LocationOrBuilder>
+          com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
           getHeadquartersLocationFieldBuilder() {
         if (headquartersLocationBuilder_ == null) {
-          headquartersLocationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4beta1.Location,
-                  com.google.cloud.talent.v4beta1.Location.Builder,
-                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
-                  getHeadquartersLocation(), getParentForChildren(), isClean());
+          headquartersLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+                  getHeadquartersLocation(),
+                  getParentForChildren(),
+                  isClean());
           headquartersLocation_ = null;
         }
         return headquartersLocationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -775,12 +687,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Company.DerivedInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Company.DerivedInfo)
     private static final com.google.cloud.talent.v4beta1.Company.DerivedInfo DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Company.DerivedInfo();
     }
@@ -789,28 +701,27 @@ public static com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DerivedInfo parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DerivedInfo parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -825,13 +736,12 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -844,7 +754,6 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceFor
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -853,15 +762,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -874,15 +782,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -893,14 +802,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -909,29 +815,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -942,8 +848,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int EXTERNAL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object externalId_; /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -951,7 +855,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ @java.lang.Override @@ -960,15 +863,14 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -976,15 +878,16 @@ public java.lang.String getExternalId() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -995,44 +898,33 @@ public com.google.protobuf.ByteString getExternalIdBytes() { public static final int SIZE_FIELD_NUMBER = 4; private int size_; /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ - @java.lang.Override - public int getSizeValue() { + @java.lang.Override public int getSizeValue() { return size_; } /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The size. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompanySize getSize() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompanySize result = - com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); + com.google.cloud.talent.v4beta1.CompanySize result = com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4beta1.CompanySize.UNRECOGNIZED : result; } public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER = 5; private volatile java.lang.Object headquartersAddress_; /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -1041,7 +933,6 @@ public com.google.cloud.talent.v4beta1.CompanySize getSize() {
    * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ @java.lang.Override @@ -1050,15 +941,14 @@ public java.lang.String getHeadquartersAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; } } /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -1067,15 +957,16 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString + getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -1086,8 +977,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() { public static final int HIRING_AGENCY_FIELD_NUMBER = 6; private boolean hiringAgency_; /** - * - * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -1095,7 +984,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() {
    * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ @java.lang.Override @@ -1106,8 +994,6 @@ public boolean getHiringAgency() { public static final int EEO_TEXT_FIELD_NUMBER = 7; private volatile java.lang.Object eeoText_; /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1116,7 +1002,6 @@ public boolean getHiringAgency() {
    * 
* * string eeo_text = 7; - * * @return The eeoText. */ @java.lang.Override @@ -1125,15 +1010,14 @@ public java.lang.String getEeoText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; } } /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1142,15 +1026,16 @@ public java.lang.String getEeoText() {
    * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ @java.lang.Override - public com.google.protobuf.ByteString getEeoTextBytes() { + public com.google.protobuf.ByteString + getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eeoText_ = b; return b; } else { @@ -1161,8 +1046,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() { public static final int WEBSITE_URI_FIELD_NUMBER = 8; private volatile java.lang.Object websiteUri_; /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1170,7 +1053,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() {
    * 
* * string website_uri = 8; - * * @return The websiteUri. */ @java.lang.Override @@ -1179,15 +1061,14 @@ public java.lang.String getWebsiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; } } /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1195,15 +1076,16 @@ public java.lang.String getWebsiteUri() {
    * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString getWebsiteUriBytes() { + public com.google.protobuf.ByteString + getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -1214,15 +1096,12 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() { public static final int CAREER_SITE_URI_FIELD_NUMBER = 9; private volatile java.lang.Object careerSiteUri_; /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ @java.lang.Override @@ -1231,30 +1110,30 @@ public java.lang.String getCareerSiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; } } /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString getCareerSiteUriBytes() { + public com.google.protobuf.ByteString + getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -1265,14 +1144,11 @@ public com.google.protobuf.ByteString getCareerSiteUriBytes() { public static final int IMAGE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object imageUri_; /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The imageUri. */ @java.lang.Override @@ -1281,29 +1157,29 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -1314,9 +1190,9 @@ public com.google.protobuf.ByteString getImageUriBytes() { public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_; /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -1325,17 +1201,19 @@ public com.google.protobuf.ByteString getImageUriBytes() {
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_; } /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -1344,17 +1222,18 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -1363,18 +1242,19 @@ public int getKeywordSearchableJobCustomAttributesCount() {
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -1383,28 +1263,25 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } public static final int DERIVED_INFO_FIELD_NUMBER = 12; private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -1412,34 +1289,23 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -1449,8 +1315,6 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn public static final int SUSPENDED_FIELD_NUMBER = 13; private boolean suspended_; /** - * - * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -1458,7 +1322,6 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ @java.lang.Override @@ -1467,7 +1330,6 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1479,7 +1341,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1511,8 +1374,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageUri_); } for (int i = 0; i < keywordSearchableJobCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); } if (derivedInfo_ != null) { output.writeMessage(12, getDerivedInfo()); @@ -1539,13 +1401,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalId_); } if (size_ != com.google.cloud.talent.v4beta1.CompanySize.COMPANY_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, size_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headquartersAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, headquartersAddress_); } if (hiringAgency_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hiringAgency_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, hiringAgency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eeoText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eeoText_); @@ -1568,10 +1432,12 @@ public int getSerializedSize() { size += 1 * getKeywordSearchableJobCustomAttributesList().size(); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDerivedInfo()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, suspended_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1581,30 +1447,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Company)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Company other = (com.google.cloud.talent.v4beta1.Company) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getExternalId().equals(other.getExternalId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getExternalId() + .equals(other.getExternalId())) return false; if (size_ != other.size_) return false; - if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; - if (getHiringAgency() != other.getHiringAgency()) return false; - if (!getEeoText().equals(other.getEeoText())) return false; - if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; - if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; - if (!getImageUri().equals(other.getImageUri())) return false; + if (!getHeadquartersAddress() + .equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() + != other.getHiringAgency()) return false; + if (!getEeoText() + .equals(other.getEeoText())) return false; + if (!getWebsiteUri() + .equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri() + .equals(other.getCareerSiteUri())) return false; + if (!getImageUri() + .equals(other.getImageUri())) return false; if (!getKeywordSearchableJobCustomAttributesList() .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo() + .equals(other.getDerivedInfo())) return false; } - if (getSuspended() != other.getSuspended()) return false; + if (getSuspended() + != other.getSuspended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1627,7 +1504,8 @@ public int hashCode() { hash = (37 * hash) + HEADQUARTERS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getHeadquartersAddress().hashCode(); hash = (37 * hash) + HIRING_AGENCY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHiringAgency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHiringAgency()); hash = (37 * hash) + EEO_TEXT_FIELD_NUMBER; hash = (53 * hash) + getEeoText().hashCode(); hash = (37 * hash) + WEBSITE_URI_FIELD_NUMBER; @@ -1645,110 +1523,104 @@ public int hashCode() { hash = (53 * hash) + getDerivedInfo().hashCode(); } hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuspended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.Company parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Company parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Company prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Company resource represents a company in the service. A company is the
    * entity that owns job postings, that is, the hiring entity responsible for
@@ -1757,32 +1629,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Company}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Company)
       com.google.cloud.talent.v4beta1.CompanyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Company.class,
-              com.google.cloud.talent.v4beta1.Company.Builder.class);
+              com.google.cloud.talent.v4beta1.Company.class, com.google.cloud.talent.v4beta1.Company.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Company.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1820,9 +1693,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
     }
 
     @java.lang.Override
@@ -1841,8 +1714,7 @@ public com.google.cloud.talent.v4beta1.Company build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.Company buildPartial() {
-      com.google.cloud.talent.v4beta1.Company result =
-          new com.google.cloud.talent.v4beta1.Company(this);
+      com.google.cloud.talent.v4beta1.Company result = new com.google.cloud.talent.v4beta1.Company(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1855,8 +1727,7 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() {
       result.careerSiteUri_ = careerSiteUri_;
       result.imageUri_ = imageUri_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableJobCustomAttributes_ =
-            keywordSearchableJobCustomAttributes_.getUnmodifiableView();
+        keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_;
@@ -1874,39 +1745,38 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Company) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Company) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Company)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1995,92 +1865,80 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                externalId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              externalId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                size_ = input.readEnum();
+              break;
+            } // case 26
+            case 32: {
+              size_ = input.readEnum();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                headquartersAddress_ = input.readStringRequireUtf8();
+              break;
+            } // case 32
+            case 42: {
+              headquartersAddress_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 48:
-              {
-                hiringAgency_ = input.readBool();
+              break;
+            } // case 42
+            case 48: {
+              hiringAgency_ = input.readBool();
 
-                break;
-              } // case 48
-            case 58:
-              {
-                eeoText_ = input.readStringRequireUtf8();
+              break;
+            } // case 48
+            case 58: {
+              eeoText_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 58
-            case 66:
-              {
-                websiteUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 58
+            case 66: {
+              websiteUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 66
-            case 74:
-              {
-                careerSiteUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 66
+            case 74: {
+              careerSiteUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 74
-            case 82:
-              {
-                imageUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 74
+            case 82: {
+              imageUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 82
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureKeywordSearchableJobCustomAttributesIsMutable();
-                keywordSearchableJobCustomAttributes_.add(s);
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 82
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureKeywordSearchableJobCustomAttributesIsMutable();
+              keywordSearchableJobCustomAttributes_.add(s);
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getDerivedInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 98
-            case 104:
-              {
-                suspended_ = input.readBool();
+              break;
+            } // case 98
+            case 104: {
+              suspended_ = input.readBool();
 
-                break;
-              } // case 104
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 104
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2090,13 +1948,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2109,13 +1964,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2124,8 +1979,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2138,14 +1991,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2153,8 +2007,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2167,22 +2019,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2195,18 +2045,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2219,16 +2066,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2236,20 +2083,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2258,21 +2103,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2280,61 +2124,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2342,8 +2179,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalId_ = ""; /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2351,13 +2186,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -2366,8 +2201,6 @@ public java.lang.String getExternalId() { } } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2375,14 +2208,15 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -2390,8 +2224,6 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2399,22 +2231,20 @@ public com.google.protobuf.ByteString getExternalIdBytes() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId(java.lang.String value) { + public Builder setExternalId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2422,18 +2252,15 @@ public Builder setExternalId(java.lang.String value) {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2441,16 +2268,16 @@ public Builder clearExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -2458,65 +2285,51 @@ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { private int size_ = 0; /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ - @java.lang.Override - public int getSizeValue() { + @java.lang.Override public int getSizeValue() { return size_; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @param value The enum numeric value on the wire for size to set. * @return This builder for chaining. */ public Builder setSizeValue(int value) { - + size_ = value; onChanged(); return this; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The size. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompanySize result = - com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); + com.google.cloud.talent.v4beta1.CompanySize result = com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4beta1.CompanySize.UNRECOGNIZED : result; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @param value The size to set. * @return This builder for chaining. */ @@ -2524,24 +2337,21 @@ public Builder setSize(com.google.cloud.talent.v4beta1.CompanySize value) { if (value == null) { throw new NullPointerException(); } - + size_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0; onChanged(); return this; @@ -2549,8 +2359,6 @@ public Builder clearSize() { private java.lang.Object headquartersAddress_ = ""; /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2559,13 +2367,13 @@ public Builder clearSize() {
      * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ public java.lang.String getHeadquartersAddress() { java.lang.Object ref = headquartersAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; @@ -2574,8 +2382,6 @@ public java.lang.String getHeadquartersAddress() { } } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2584,14 +2390,15 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ - public com.google.protobuf.ByteString getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString + getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -2599,8 +2406,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() { } } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2609,22 +2414,20 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() {
      * 
* * string headquarters_address = 5; - * * @param value The headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddress(java.lang.String value) { + public Builder setHeadquartersAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + headquartersAddress_ = value; onChanged(); return this; } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2633,18 +2436,15 @@ public Builder setHeadquartersAddress(java.lang.String value) {
      * 
* * string headquarters_address = 5; - * * @return This builder for chaining. */ public Builder clearHeadquartersAddress() { - + headquartersAddress_ = getDefaultInstance().getHeadquartersAddress(); onChanged(); return this; } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2653,25 +2453,23 @@ public Builder clearHeadquartersAddress() {
      * 
* * string headquarters_address = 5; - * * @param value The bytes for headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value) { + public Builder setHeadquartersAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + headquartersAddress_ = value; onChanged(); return this; } - private boolean hiringAgency_; + private boolean hiringAgency_ ; /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2679,7 +2477,6 @@ public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value)
      * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ @java.lang.Override @@ -2687,8 +2484,6 @@ public boolean getHiringAgency() { return hiringAgency_; } /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2696,19 +2491,16 @@ public boolean getHiringAgency() {
      * 
* * bool hiring_agency = 6; - * * @param value The hiringAgency to set. * @return This builder for chaining. */ public Builder setHiringAgency(boolean value) { - + hiringAgency_ = value; onChanged(); return this; } /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2716,11 +2508,10 @@ public Builder setHiringAgency(boolean value) {
      * 
* * bool hiring_agency = 6; - * * @return This builder for chaining. */ public Builder clearHiringAgency() { - + hiringAgency_ = false; onChanged(); return this; @@ -2728,8 +2519,6 @@ public Builder clearHiringAgency() { private java.lang.Object eeoText_ = ""; /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2738,13 +2527,13 @@ public Builder clearHiringAgency() {
      * 
* * string eeo_text = 7; - * * @return The eeoText. */ public java.lang.String getEeoText() { java.lang.Object ref = eeoText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; @@ -2753,8 +2542,6 @@ public java.lang.String getEeoText() { } } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2763,14 +2550,15 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ - public com.google.protobuf.ByteString getEeoTextBytes() { + public com.google.protobuf.ByteString + getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eeoText_ = b; return b; } else { @@ -2778,8 +2566,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() { } } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2788,22 +2574,20 @@ public com.google.protobuf.ByteString getEeoTextBytes() {
      * 
* * string eeo_text = 7; - * * @param value The eeoText to set. * @return This builder for chaining. */ - public Builder setEeoText(java.lang.String value) { + public Builder setEeoText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eeoText_ = value; onChanged(); return this; } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2812,18 +2596,15 @@ public Builder setEeoText(java.lang.String value) {
      * 
* * string eeo_text = 7; - * * @return This builder for chaining. */ public Builder clearEeoText() { - + eeoText_ = getDefaultInstance().getEeoText(); onChanged(); return this; } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2832,16 +2613,16 @@ public Builder clearEeoText() {
      * 
* * string eeo_text = 7; - * * @param value The bytes for eeoText to set. * @return This builder for chaining. */ - public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { + public Builder setEeoTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eeoText_ = value; onChanged(); return this; @@ -2849,8 +2630,6 @@ public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object websiteUri_ = ""; /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2858,13 +2637,13 @@ public Builder setEeoTextBytes(com.google.protobuf.ByteString value) {
      * 
* * string website_uri = 8; - * * @return The websiteUri. */ public java.lang.String getWebsiteUri() { java.lang.Object ref = websiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; @@ -2873,8 +2652,6 @@ public java.lang.String getWebsiteUri() { } } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2882,14 +2659,15 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ - public com.google.protobuf.ByteString getWebsiteUriBytes() { + public com.google.protobuf.ByteString + getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -2897,8 +2675,6 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() { } } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2906,22 +2682,20 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() {
      * 
* * string website_uri = 8; - * * @param value The websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUri(java.lang.String value) { + public Builder setWebsiteUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + websiteUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2929,18 +2703,15 @@ public Builder setWebsiteUri(java.lang.String value) {
      * 
* * string website_uri = 8; - * * @return This builder for chaining. */ public Builder clearWebsiteUri() { - + websiteUri_ = getDefaultInstance().getWebsiteUri(); onChanged(); return this; } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2948,16 +2719,16 @@ public Builder clearWebsiteUri() {
      * 
* * string website_uri = 8; - * * @param value The bytes for websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { + public Builder setWebsiteUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + websiteUri_ = value; onChanged(); return this; @@ -2965,21 +2736,19 @@ public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object careerSiteUri_ = ""; /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ public java.lang.String getCareerSiteUri() { java.lang.Object ref = careerSiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; @@ -2988,22 +2757,21 @@ public java.lang.String getCareerSiteUri() { } } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ - public com.google.protobuf.ByteString getCareerSiteUriBytes() { + public com.google.protobuf.ByteString + getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -3011,64 +2779,57 @@ public com.google.protobuf.ByteString getCareerSiteUriBytes() { } } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @param value The careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUri(java.lang.String value) { + public Builder setCareerSiteUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + careerSiteUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return This builder for chaining. */ public Builder clearCareerSiteUri() { - + careerSiteUri_ = getDefaultInstance().getCareerSiteUri(); onChanged(); return this; } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @param value The bytes for careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { + public Builder setCareerSiteUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + careerSiteUri_ = value; onChanged(); return this; @@ -3076,20 +2837,18 @@ public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageUri_ = ""; /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -3098,21 +2857,20 @@ public java.lang.String getImageUri() { } } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -3120,80 +2878,70 @@ public com.google.protobuf.ByteString getImageUriBytes() { } } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri(java.lang.String value) { + public Builder setImageUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes(com.google.protobuf.ByteString value) { + public Builder setImageUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeywordSearchableJobCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableJobCustomAttributes_ = - new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); + keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3202,17 +2950,19 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3221,17 +2971,18 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3240,18 +2991,19 @@ public int getKeywordSearchableJobCustomAttributesCount() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3260,18 +3012,20 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3280,25 +3034,27 @@ public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesByt
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index to set the value at. * @param value The keywordSearchableJobCustomAttributes to set. * @return This builder for chaining. */ - public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setKeywordSearchableJobCustomAttributes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.set(index, value); onChanged(); return this; } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3307,24 +3063,26 @@ public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.Stri
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param value The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) { + @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); return this; } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3333,12 +3091,13 @@ public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param values The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - public Builder addAllKeywordSearchableJobCustomAttributes( + @java.lang.Deprecated public Builder addAllKeywordSearchableJobCustomAttributes( java.lang.Iterable values) { ensureKeywordSearchableJobCustomAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3347,9 +3106,9 @@ public Builder addAllKeywordSearchableJobCustomAttributes( return this; } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3358,20 +3117,21 @@ public Builder addAllKeywordSearchableJobCustomAttributes(
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return This builder for chaining. */ - public Builder clearKeywordSearchableJobCustomAttributes() { + @java.lang.Deprecated public Builder clearKeywordSearchableJobCustomAttributes() { keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3380,17 +3140,18 @@ public Builder clearKeywordSearchableJobCustomAttributes() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param value The bytes of the keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableJobCustomAttributesBytes( + @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); @@ -3399,58 +3160,39 @@ public Builder addKeywordSearchableJobCustomAttributesBytes( private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> - derivedInfoBuilder_; + com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> derivedInfoBuilder_; /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -3466,15 +3208,11 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInf return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo( com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder builderForValue) { @@ -3488,23 +3226,17 @@ public Builder setDerivedInfo( return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder(derivedInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); } else { derivedInfo_ = value; } @@ -3516,15 +3248,11 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedI return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -3538,73 +3266,55 @@ public Builder clearDerivedInfo() { return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? + com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> + com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder>( - getDerivedInfo(), getParentForChildren(), isClean()); + derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder>( + getDerivedInfo(), + getParentForChildren(), + isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; } - private boolean suspended_; + private boolean suspended_ ; /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3612,7 +3322,6 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ @java.lang.Override @@ -3620,8 +3329,6 @@ public boolean getSuspended() { return suspended_; } /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3629,19 +3336,16 @@ public boolean getSuspended() {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The suspended to set. * @return This builder for chaining. */ public Builder setSuspended(boolean value) { - + suspended_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3649,18 +3353,17 @@ public Builder setSuspended(boolean value) {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSuspended() { - + suspended_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3670,12 +3373,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Company) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Company) private static final com.google.cloud.talent.v4beta1.Company DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Company(); } @@ -3684,27 +3387,27 @@ public static com.google.cloud.talent.v4beta1.Company getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Company parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Company parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3719,4 +3422,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Company getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java similarity index 77% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java index 4bacb3e209b0..107985724e1b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company.proto package com.google.cloud.talent.v4beta1; -public interface CompanyOrBuilder - extends +public interface CompanyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Company) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -38,13 +20,10 @@ public interface CompanyOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -57,39 +36,32 @@ public interface CompanyOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -97,13 +69,10 @@ public interface CompanyOrBuilder
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ java.lang.String getExternalId(); /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -111,39 +80,31 @@ public interface CompanyOrBuilder
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - com.google.protobuf.ByteString getExternalIdBytes(); + com.google.protobuf.ByteString + getExternalIdBytes(); /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ int getSizeValue(); /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The size. */ com.google.cloud.talent.v4beta1.CompanySize getSize(); /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -152,13 +113,10 @@ public interface CompanyOrBuilder
    * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ java.lang.String getHeadquartersAddress(); /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -167,14 +125,12 @@ public interface CompanyOrBuilder
    * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ - com.google.protobuf.ByteString getHeadquartersAddressBytes(); + com.google.protobuf.ByteString + getHeadquartersAddressBytes(); /** - * - * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -182,14 +138,11 @@ public interface CompanyOrBuilder
    * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ boolean getHiringAgency(); /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -198,13 +151,10 @@ public interface CompanyOrBuilder
    * 
* * string eeo_text = 7; - * * @return The eeoText. */ java.lang.String getEeoText(); /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -213,14 +163,12 @@ public interface CompanyOrBuilder
    * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ - com.google.protobuf.ByteString getEeoTextBytes(); + com.google.protobuf.ByteString + getEeoTextBytes(); /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -228,13 +176,10 @@ public interface CompanyOrBuilder
    * 
* * string website_uri = 8; - * * @return The websiteUri. */ java.lang.String getWebsiteUri(); /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -242,67 +187,57 @@ public interface CompanyOrBuilder
    * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ - com.google.protobuf.ByteString getWebsiteUriBytes(); + com.google.protobuf.ByteString + getWebsiteUriBytes(); /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ java.lang.String getCareerSiteUri(); /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ - com.google.protobuf.ByteString getCareerSiteUriBytes(); + com.google.protobuf.ByteString + getCareerSiteUriBytes(); /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The imageUri. */ java.lang.String getImageUri(); /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString getImageUriBytes(); + com.google.protobuf.ByteString + getImageUriBytes(); /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -311,15 +246,17 @@ public interface CompanyOrBuilder
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - java.util.List getKeywordSearchableJobCustomAttributesList(); + @java.lang.Deprecated java.util.List + getKeywordSearchableJobCustomAttributesList(); /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -328,15 +265,16 @@ public interface CompanyOrBuilder
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - int getKeywordSearchableJobCustomAttributesCount(); + @java.lang.Deprecated int getKeywordSearchableJobCustomAttributesCount(); /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -345,16 +283,17 @@ public interface CompanyOrBuilder
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - java.lang.String getKeywordSearchableJobCustomAttributes(int index); + @java.lang.Deprecated java.lang.String getKeywordSearchableJobCustomAttributes(int index); /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -363,57 +302,43 @@ public interface CompanyOrBuilder
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo(); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** - * - * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -421,7 +346,6 @@ public interface CompanyOrBuilder
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ boolean getSuspended(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java new file mode 100644 index 000000000000..f97ecddad09d --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java @@ -0,0 +1,92 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/company.proto + +package com.google.cloud.talent.v4beta1; + +public final class CompanyResourceProto { + private CompanyResourceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Company_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/talent/v4beta1/company.pr" + + "oto\022\033google.cloud.talent.v4beta1\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032(google/cloud/talent/v4beta" + + "1/common.proto\"\200\005\n\007Company\022\014\n\004name\030\001 \001(\t" + + "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013external_" + + "id\030\003 \001(\tB\003\340A\002\0226\n\004size\030\004 \001(\0162(.google.clo" + + "ud.talent.v4beta1.CompanySize\022\034\n\024headqua" + + "rters_address\030\005 \001(\t\022\025\n\rhiring_agency\030\006 \001" + + "(\010\022\020\n\010eeo_text\030\007 \001(\t\022\023\n\013website_uri\030\010 \001(" + + "\t\022\027\n\017career_site_uri\030\t \001(\t\022\021\n\timage_uri\030" + + "\n \001(\t\0224\n(keyword_searchable_job_custom_a" + + "ttributes\030\013 \003(\tB\002\030\001\022K\n\014derived_info\030\014 \001(" + + "\01320.google.cloud.talent.v4beta1.Company." + + "DerivedInfoB\003\340A\003\022\026\n\tsuspended\030\r \001(\010B\003\340A\003" + + "\032S\n\013DerivedInfo\022D\n\025headquarters_location" + + "\030\001 \001(\0132%.google.cloud.talent.v4beta1.Loc" + + "ation:\201\001\352A~\n\033jobs.googleapis.com/Company" + + "\0227projects/{project}/tenants/{tenant}/co" + + "mpanies/{company}\022&projects/{project}/co" + + "mpanies/{company}B\202\001\n\037com.google.cloud.t" + + "alent.v4beta1B\024CompanyResourceProtoP\001ZAg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Company_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Company_descriptor, + new java.lang.String[] { "Name", "DisplayName", "ExternalId", "Size", "HeadquartersAddress", "HiringAgency", "EeoText", "WebsiteUri", "CareerSiteUri", "ImageUri", "KeywordSearchableJobCustomAttributes", "DerivedInfo", "Suspended", }); + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Company_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor, + new java.lang.String[] { "HeadquartersLocation", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java new file mode 100644 index 000000000000..85748caf2c0f --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java @@ -0,0 +1,188 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/company_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class CompanyServiceProto { + private CompanyServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/talent/v4beta1/company_se" + + "rvice.proto\022\033google.cloud.talent.v4beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032(goo" + + "gle/cloud/talent/v4beta1/common.proto\032)g" + + "oogle/cloud/talent/v4beta1/company.proto" + + "\032\033google/protobuf/empty.proto\032 google/pr" + + "otobuf/field_mask.proto\"\207\001\n\024CreateCompan" + + "yRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\022\033jobs.g" + + "oogleapis.com/Company\022:\n\007company\030\002 \001(\0132$" + + ".google.cloud.talent.v4beta1.CompanyB\003\340A" + + "\002\"F\n\021GetCompanyRequest\0221\n\004name\030\001 \001(\tB#\340A" + + "\002\372A\035\n\033jobs.googleapis.com/Company\"\203\001\n\024Up" + + "dateCompanyRequest\022:\n\007company\030\001 \001(\0132$.go" + + "ogle.cloud.talent.v4beta1.CompanyB\003\340A\002\022/" + + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMask\"I\n\024DeleteCompanyRequest\0221\n\004name\030" + + "\001 \001(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Compa" + + "ny\"\215\001\n\024ListCompaniesRequest\0223\n\006parent\030\001 " + + "\001(\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company" + + "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" + + "\031\n\021require_open_jobs\030\004 \001(\010\"\252\001\n\025ListCompa" + + "niesResponse\0227\n\tcompanies\030\001 \003(\0132$.google" + + ".cloud.talent.v4beta1.Company\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.googl" + + "e.cloud.talent.v4beta1.ResponseMetadata2" + + "\322\t\n\016CompanyService\022\343\001\n\rCreateCompany\0221.g" + + "oogle.cloud.talent.v4beta1.CreateCompany" + + "Request\032$.google.cloud.talent.v4beta1.Co" + + "mpany\"y\202\323\344\223\002b\"0/v4beta1/{parent=projects" + + "/*/tenants/*}/companies:\001*Z+\"&/v4beta1/{" + + "parent=projects/*}/companies:\001*\332A\016parent" + + ",company\022\315\001\n\nGetCompany\022..google.cloud.t" + + "alent.v4beta1.GetCompanyRequest\032$.google" + + ".cloud.talent.v4beta1.Company\"i\202\323\344\223\002\\\0220/" + + "v4beta1/{name=projects/*/tenants/*/compa" + + "nies/*}Z(\022&/v4beta1/{name=projects/*/com" + + "panies/*}\332A\004name\022\355\001\n\rUpdateCompany\0221.goo" + + "gle.cloud.talent.v4beta1.UpdateCompanyRe" + + "quest\032$.google.cloud.talent.v4beta1.Comp" + + "any\"\202\001\202\323\344\223\002r28/v4beta1/{company.name=pro" + + "jects/*/tenants/*/companies/*}:\001*Z32./v4" + + "beta1/{company.name=projects/*/companies" + + "/*}:\001*\332A\007company\022\305\001\n\rDeleteCompany\0221.goo" + + "gle.cloud.talent.v4beta1.DeleteCompanyRe" + + "quest\032\026.google.protobuf.Empty\"i\202\323\344\223\002\\*0/" + + "v4beta1/{name=projects/*/tenants/*/compa" + + "nies/*}Z(*&/v4beta1/{name=projects/*/com" + + "panies/*}\332A\004name\022\343\001\n\rListCompanies\0221.goo" + + "gle.cloud.talent.v4beta1.ListCompaniesRe" + + "quest\0322.google.cloud.talent.v4beta1.List" + + "CompaniesResponse\"k\202\323\344\223\002\\\0220/v4beta1/{par" + + "ent=projects/*/tenants/*}/companiesZ(\022&/" + + "v4beta1/{parent=projects/*}/companies\332A\006" + + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + + "/www.googleapis.com/auth/cloud-platform," + + "https://www.googleapis.com/auth/jobsB\201\001\n" + + "\037com.google.cloud.talent.v4beta1B\023Compan" + + "yServiceProtoP\001ZAgoogle.golang.org/genpr" + + "oto/googleapis/cloud/talent/v4beta1;tale" + + "nt\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor, + new java.lang.String[] { "Parent", "Company", }); + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor, + new java.lang.String[] { "Company", "UpdateMask", }); + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", "RequireOpenJobs", }); + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor, + new java.lang.String[] { "Companies", "NextPageToken", "Metadata", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java index 2516f3abd629..59c4a40ecd3e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents the size of the company.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompanySize} */ -public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { +public enum CompanySize + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if the size isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ COMPANY_SIZE_UNSPECIFIED(0), /** - * - * *
    * The company has less than 50 employees.
    * 
@@ -49,8 +29,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ MINI(1), /** - * - * *
    * The company has between 50 and 99 employees.
    * 
@@ -59,8 +37,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ SMALL(2), /** - * - * *
    * The company has between 100 and 499 employees.
    * 
@@ -69,8 +45,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ SMEDIUM(3), /** - * - * *
    * The company has between 500 and 999 employees.
    * 
@@ -79,8 +53,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ MEDIUM(4), /** - * - * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -89,8 +61,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ BIG(5), /** - * - * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -99,8 +69,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ BIGGER(6), /** - * - * *
    * The company has 10,000 or more employees.
    * 
@@ -112,8 +80,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value if the size isn't specified.
    * 
@@ -122,8 +88,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPANY_SIZE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The company has less than 50 employees.
    * 
@@ -132,8 +96,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MINI_VALUE = 1; /** - * - * *
    * The company has between 50 and 99 employees.
    * 
@@ -142,8 +104,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SMALL_VALUE = 2; /** - * - * *
    * The company has between 100 and 499 employees.
    * 
@@ -152,8 +112,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SMEDIUM_VALUE = 3; /** - * - * *
    * The company has between 500 and 999 employees.
    * 
@@ -162,8 +120,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIUM_VALUE = 4; /** - * - * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -172,8 +128,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIG_VALUE = 5; /** - * - * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -182,8 +136,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGGER_VALUE = 6; /** - * - * *
    * The company has 10,000 or more employees.
    * 
@@ -192,6 +144,7 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GIANT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static CompanySize valueOf(int value) { */ public static CompanySize forNumber(int value) { switch (value) { - case 0: - return COMPANY_SIZE_UNSPECIFIED; - case 1: - return MINI; - case 2: - return SMALL; - case 3: - return SMEDIUM; - case 4: - return MEDIUM; - case 5: - return BIG; - case 6: - return BIGGER; - case 7: - return GIANT; - default: - return null; + case 0: return COMPANY_SIZE_UNSPECIFIED; + case 1: return MINI; + case 2: return SMALL; + case 3: return SMEDIUM; + case 4: return MEDIUM; + case 5: return BIG; + case 6: return BIGGER; + case 7: return GIANT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompanySize findValueByNumber(int number) { - return CompanySize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + CompanySize> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompanySize findValueByNumber(int number) { + return CompanySize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final CompanySize[] VALUES = values(); - public static CompanySize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CompanySize valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private CompanySize(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CompanySize) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java similarity index 67% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java index 8ef1a3485600..6677ead94614 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Filter on job compensation type and amount.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationFilter} */ -public final class CompensationFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompensationFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationFilter) CompensationFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompensationFilter.newBuilder() to construct. private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); @@ -44,43 +26,39 @@ private CompensationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationFilter.class, - com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); + com.google.cloud.talent.v4beta1.CompensationFilter.class, com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); } /** - * - * *
    * Specify the type of filtering.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationFilter.FilterType} */ - public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -89,8 +67,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { */ FILTER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -104,8 +80,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNIT_ONLY(1),
     /**
-     *
-     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -122,8 +96,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNIT_AND_AMOUNT(2),
     /**
-     *
-     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -133,8 +105,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     ANNUALIZED_BASE_AMOUNT(3),
     /**
-     *
-     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -147,8 +117,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -157,8 +125,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILTER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -172,8 +138,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIT_ONLY_VALUE = 1;
     /**
-     *
-     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -190,8 +154,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIT_AND_AMOUNT_VALUE = 2;
     /**
-     *
-     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -201,8 +163,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANNUALIZED_BASE_AMOUNT_VALUE = 3;
     /**
-     *
-     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -212,6 +172,7 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANNUALIZED_TOTAL_AMOUNT_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -236,55 +197,51 @@ public static FilterType valueOf(int value) {
      */
     public static FilterType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FILTER_TYPE_UNSPECIFIED;
-        case 1:
-          return UNIT_ONLY;
-        case 2:
-          return UNIT_AND_AMOUNT;
-        case 3:
-          return ANNUALIZED_BASE_AMOUNT;
-        case 4:
-          return ANNUALIZED_TOTAL_AMOUNT;
-        default:
-          return null;
+        case 0: return FILTER_TYPE_UNSPECIFIED;
+        case 1: return UNIT_ONLY;
+        case 2: return UNIT_AND_AMOUNT;
+        case 3: return ANNUALIZED_BASE_AMOUNT;
+        case 4: return ANNUALIZED_TOTAL_AMOUNT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        FilterType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public FilterType findValueByNumber(int number) {
+              return FilterType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FilterType findValueByNumber(int number) {
-            return FilterType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompensationFilter.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompensationFilter.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FilterType[] VALUES = values();
 
-    public static FilterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FilterType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -304,96 +261,63 @@ private FilterType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED : result; } public static final int UNITS_FIELD_NUMBER = 2; private java.util.List units_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> - units_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> units_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>() { - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert( - java.lang.Integer from) { + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ @java.lang.Override - public java.util.List - getUnitsList() { + public java.util.List getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>( - units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>(units_, units_converter_); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ @java.lang.Override @@ -401,17 +325,12 @@ public int getUnitsCount() { return units_.size(); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ @@ -420,35 +339,26 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit return units_converter_.convert(units_.get(index)); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ @java.lang.Override - public java.util.List getUnitsValueList() { + public java.util.List + getUnitsValueList() { return units_; } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -456,20 +366,16 @@ public java.util.List getUnitsValueList() { public int getUnitsValue(int index) { return units_.get(index); } - private int unitsMemoizedSerializedSize; public static final int RANGE_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ @java.lang.Override @@ -477,25 +383,18 @@ public boolean hasRange() { return range_ != null; } /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { - return range_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() - : range_; + return range_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } /** - * - * *
    * Compensation range.
    * 
@@ -503,23 +402,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { return getRange(); } public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER = 4; private boolean includeJobsWithUnspecifiedCompensationRange_; /** - * - * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -528,7 +423,6 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -540,11 +434,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); - if (type_ - != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (getUnitsList().size() > 0) { @@ -569,30 +462,29 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; for (int i = 0; i < units_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(units_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(units_.get(i)); } size += dataSize; - if (!getUnitsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - unitsMemoizedSerializedSize = dataSize; + if (!getUnitsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }unitsMemoizedSerializedSize = dataSize; } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRange()); } if (includeJobsWithUnspecifiedCompensationRange_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, includeJobsWithUnspecifiedCompensationRange_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, includeJobsWithUnspecifiedCompensationRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -602,19 +494,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompensationFilter other = - (com.google.cloud.talent.v4beta1.CompensationFilter) obj; + com.google.cloud.talent.v4beta1.CompensationFilter other = (com.google.cloud.talent.v4beta1.CompensationFilter) obj; if (type_ != other.type_) return false; if (!units_.equals(other.units_)) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange().equals(other.getRange())) return false; + if (!getRange() + .equals(other.getRange())) return false; } if (getIncludeJobsWithUnspecifiedCompensationRange() != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; @@ -640,145 +532,137 @@ public int hashCode() { hash = (53 * hash) + getRange().hashCode(); } hash = (37 * hash) + INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean( - getIncludeJobsWithUnspecifiedCompensationRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeJobsWithUnspecifiedCompensationRange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Filter on job compensation type and amount.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationFilter) com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationFilter.class, - com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); + com.google.cloud.talent.v4beta1.CompensationFilter.class, com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -798,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override @@ -819,8 +703,7 @@ public com.google.cloud.talent.v4beta1.CompensationFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { - com.google.cloud.talent.v4beta1.CompensationFilter result = - new com.google.cloud.talent.v4beta1.CompensationFilter(this); + com.google.cloud.talent.v4beta1.CompensationFilter result = new com.google.cloud.talent.v4beta1.CompensationFilter(this); int from_bitField0_ = bitField0_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { @@ -833,8 +716,7 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { } else { result.range_ = rangeBuilder_.build(); } - result.includeJobsWithUnspecifiedCompensationRange_ = - includeJobsWithUnspecifiedCompensationRange_; + result.includeJobsWithUnspecifiedCompensationRange_ = includeJobsWithUnspecifiedCompensationRange_; onBuilt(); return result; } @@ -843,39 +725,38 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationFilter) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationFilter)other); } else { super.mergeFrom(other); return this; @@ -883,8 +764,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationFilter other) { - if (other == com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -902,8 +782,7 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationFilter othe mergeRange(other.getRange()); } if (other.getIncludeJobsWithUnspecifiedCompensationRange() != false) { - setIncludeJobsWithUnspecifiedCompensationRange( - other.getIncludeJobsWithUnspecifiedCompensationRange()); + setIncludeJobsWithUnspecifiedCompensationRange(other.getIncludeJobsWithUnspecifiedCompensationRange()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -931,50 +810,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); - - break; - } // case 8 - case 16: - { + case 8: { + type_ = input.readEnum(); + + break; + } // case 8 + case 16: { + int tmpRaw = input.readEnum(); + ensureUnitsIsMutable(); + units_.add(tmpRaw); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureUnitsIsMutable(); units_.add(tmpRaw); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureUnitsIsMutable(); - units_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: - { - input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: { + input.readMessage( + getRangeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -984,80 +859,55 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int type_ = 0; /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1065,33 +915,28 @@ public Builder setType(com.google.cloud.talent.v4beta1.CompensationFilter.Filter if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private java.util.List units_ = java.util.Collections.emptyList(); - + private java.util.List units_ = + java.util.Collections.emptyList(); private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); @@ -1099,54 +944,37 @@ private void ensureUnitsIsMutable() { } } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ - public java.util.List - getUnitsList() { + public java.util.List getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>( - units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>(units_, units_converter_); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ public int getUnitsCount() { return units_.size(); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ @@ -1154,17 +982,12 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit return units_converter_.convert(units_.get(index)); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The units to set. * @return This builder for chaining. @@ -1180,22 +1003,16 @@ public Builder setUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The units to add. * @return This builder for chaining. */ - public Builder addUnits( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { + public Builder addUnits(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { if (value == null) { throw new NullPointerException(); } @@ -1205,24 +1022,17 @@ public Builder addUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The units to add. * @return This builder for chaining. */ public Builder addAllUnits( - java.lang.Iterable< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> - values) { + java.lang.Iterable values) { ensureUnitsIsMutable(); for (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value : values) { units_.add(value.getNumber()); @@ -1231,17 +1041,12 @@ public Builder addAllUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearUnits() { @@ -1251,34 +1056,25 @@ public Builder clearUnits() { return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ - public java.util.List getUnitsValueList() { + public java.util.List + getUnitsValueList() { return java.util.Collections.unmodifiableList(units_); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -1286,39 +1082,30 @@ public int getUnitsValue(int index) { return units_.get(index); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ - public Builder setUnitsValue(int index, int value) { + public Builder setUnitsValue( + int index, int value) { ensureUnitsIsMutable(); units_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for units to add. * @return This builder for chaining. */ @@ -1329,21 +1116,17 @@ public Builder addUnitsValue(int value) { return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for units to add. * @return This builder for chaining. */ - public Builder addAllUnitsValue(java.lang.Iterable values) { + public Builder addAllUnitsValue( + java.lang.Iterable values) { ensureUnitsIsMutable(); for (int value : values) { units_.add(value); @@ -1354,56 +1137,41 @@ public Builder addAllUnitsValue(java.lang.Iterable values) { private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> - rangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { - return range_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : range_; + return range_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } else { return rangeBuilder_.getMessage(); } } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1417,8 +1185,6 @@ public Builder setRange( return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1426,8 +1192,7 @@ public Builder setRange( * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { if (rangeBuilder_ == null) { range_ = builderForValue.build(); onChanged(); @@ -1438,22 +1203,17 @@ public Builder setRange( return this; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public Builder mergeRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (range_ != null) { range_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(range_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(range_).mergeFrom(value).buildPartial(); } else { range_ = value; } @@ -1465,8 +1225,6 @@ public Builder mergeRange( return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1485,43 +1243,33 @@ public Builder clearRange() { return this; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - getRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getRangeBuilder() { + onChanged(); return getRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { - return range_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : range_; + return range_ == null ? + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } } /** - * - * *
      * Compensation range.
      * 
@@ -1529,33 +1277,27 @@ public Builder clearRange() { * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getRange(), getParentForChildren(), isClean()); + rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getRange(), + getParentForChildren(), + isClean()); range_ = null; } return rangeBuilder_; } - private boolean includeJobsWithUnspecifiedCompensationRange_; + private boolean includeJobsWithUnspecifiedCompensationRange_ ; /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -1563,45 +1305,39 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { return includeJobsWithUnspecifiedCompensationRange_; } /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @param value The includeJobsWithUnspecifiedCompensationRange to set. * @return This builder for chaining. */ public Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value) { - + includeJobsWithUnspecifiedCompensationRange_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return This builder for chaining. */ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { - + includeJobsWithUnspecifiedCompensationRange_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1611,12 +1347,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationFilter) private static final com.google.cloud.talent.v4beta1.CompensationFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationFilter(); } @@ -1625,27 +1361,27 @@ public static com.google.cloud.talent.v4beta1.CompensationFilter getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1660,4 +1396,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompensationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java index f08780f6e696..d05d091b50ca 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java @@ -1,162 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface CompensationFilterOrBuilder - extends +public interface CompensationFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ java.util.List getUnitsList(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ int getUnitsCount(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnits(int index); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ - java.util.List getUnitsValueList(); + java.util.List + getUnitsValueList(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ int getUnitsValue(int index); /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange(); /** - * - * *
    * Compensation range.
    * 
@@ -166,15 +108,12 @@ public interface CompensationFilterOrBuilder com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** - * - * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ boolean getIncludeJobsWithUnspecifiedCompensationRange(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java index 76155aa807ef..a5e9a07d3ced 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java @@ -1,75 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Job compensation details.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo} */ -public final class CompensationInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompensationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo) CompensationInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompensationInfo.newBuilder() to construct. private CompensationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationInfo() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.class, - com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.class, com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); } /** - * - * *
    * The type of compensation.
    * For compensation amounts specified in non-monetary amounts,
@@ -88,10 +67,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationType}
    */
-  public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CompensationType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -100,8 +78,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ COMPENSATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -113,8 +89,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum
      */
     BASE(1),
     /**
-     *
-     *
      * 
      * Bonus.
      * 
@@ -123,8 +97,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ BONUS(2), /** - * - * *
      * Signing bonus.
      * 
@@ -133,8 +105,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ SIGNING_BONUS(3), /** - * - * *
      * Equity.
      * 
@@ -143,8 +113,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ EQUITY(4), /** - * - * *
      * Profit sharing.
      * 
@@ -153,8 +121,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ PROFIT_SHARING(5), /** - * - * *
      * Commission.
      * 
@@ -163,8 +129,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ COMMISSIONS(6), /** - * - * *
      * Tips.
      * 
@@ -173,8 +137,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ TIPS(7), /** - * - * *
      * Other compensation type.
      * 
@@ -186,8 +148,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default value.
      * 
@@ -196,8 +156,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -209,8 +167,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int BASE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Bonus.
      * 
@@ -219,8 +175,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int BONUS_VALUE = 2; /** - * - * *
      * Signing bonus.
      * 
@@ -229,8 +183,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int SIGNING_BONUS_VALUE = 3; /** - * - * *
      * Equity.
      * 
@@ -239,8 +191,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int EQUITY_VALUE = 4; /** - * - * *
      * Profit sharing.
      * 
@@ -249,8 +199,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int PROFIT_SHARING_VALUE = 5; /** - * - * *
      * Commission.
      * 
@@ -259,8 +207,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMMISSIONS_VALUE = 6; /** - * - * *
      * Tips.
      * 
@@ -269,8 +215,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TIPS_VALUE = 7; /** - * - * *
      * Other compensation type.
      * 
@@ -279,6 +223,7 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_COMPENSATION_TYPE_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -303,54 +248,45 @@ public static CompensationType valueOf(int value) { */ public static CompensationType forNumber(int value) { switch (value) { - case 0: - return COMPENSATION_TYPE_UNSPECIFIED; - case 1: - return BASE; - case 2: - return BONUS; - case 3: - return SIGNING_BONUS; - case 4: - return EQUITY; - case 5: - return PROFIT_SHARING; - case 6: - return COMMISSIONS; - case 7: - return TIPS; - case 8: - return OTHER_COMPENSATION_TYPE; - default: - return null; + case 0: return COMPENSATION_TYPE_UNSPECIFIED; + case 1: return BASE; + case 2: return BONUS; + case 3: return SIGNING_BONUS; + case 4: return EQUITY; + case 5: return PROFIT_SHARING; + case 6: return COMMISSIONS; + case 7: return TIPS; + case 8: return OTHER_COMPENSATION_TYPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompensationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationType findValueByNumber(int number) { + return CompensationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationType findValueByNumber(int number) { - return CompensationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CompensationInfo.getDescriptor().getEnumTypes().get(0); } @@ -359,7 +295,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompensationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -377,18 +314,15 @@ private CompensationType(int value) { } /** - * - * *
    * Pay frequency.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit} */ - public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum { + public enum CompensationUnit + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -397,8 +331,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ COMPENSATION_UNIT_UNSPECIFIED(0), /** - * - * *
      * Hourly.
      * 
@@ -407,8 +339,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ HOURLY(1), /** - * - * *
      * Daily.
      * 
@@ -417,8 +347,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ DAILY(2), /** - * - * *
      * Weekly
      * 
@@ -427,8 +355,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ WEEKLY(3), /** - * - * *
      * Monthly.
      * 
@@ -437,8 +363,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ MONTHLY(4), /** - * - * *
      * Yearly.
      * 
@@ -447,8 +371,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ YEARLY(5), /** - * - * *
      * One time.
      * 
@@ -457,8 +379,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ ONE_TIME(6), /** - * - * *
      * Other compensation units.
      * 
@@ -470,8 +390,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default value.
      * 
@@ -480,8 +398,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Hourly.
      * 
@@ -490,8 +406,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOURLY_VALUE = 1; /** - * - * *
      * Daily.
      * 
@@ -500,8 +414,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int DAILY_VALUE = 2; /** - * - * *
      * Weekly
      * 
@@ -510,8 +422,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int WEEKLY_VALUE = 3; /** - * - * *
      * Monthly.
      * 
@@ -520,8 +430,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int MONTHLY_VALUE = 4; /** - * - * *
      * Yearly.
      * 
@@ -530,8 +438,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int YEARLY_VALUE = 5; /** - * - * *
      * One time.
      * 
@@ -540,8 +446,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int ONE_TIME_VALUE = 6; /** - * - * *
      * Other compensation units.
      * 
@@ -550,6 +454,7 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_COMPENSATION_UNIT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -574,52 +479,44 @@ public static CompensationUnit valueOf(int value) { */ public static CompensationUnit forNumber(int value) { switch (value) { - case 0: - return COMPENSATION_UNIT_UNSPECIFIED; - case 1: - return HOURLY; - case 2: - return DAILY; - case 3: - return WEEKLY; - case 4: - return MONTHLY; - case 5: - return YEARLY; - case 6: - return ONE_TIME; - case 7: - return OTHER_COMPENSATION_UNIT; - default: - return null; + case 0: return COMPENSATION_UNIT_UNSPECIFIED; + case 1: return HOURLY; + case 2: return DAILY; + case 3: return WEEKLY; + case 4: return MONTHLY; + case 5: return YEARLY; + case 6: return ONE_TIME; + case 7: return OTHER_COMPENSATION_UNIT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompensationUnit> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationUnit findValueByNumber(int number) { + return CompensationUnit.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationUnit findValueByNumber(int number) { - return CompensationUnit.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CompensationInfo.getDescriptor().getEnumTypes().get(1); } @@ -628,7 +525,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompensationUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -645,92 +543,71 @@ private CompensationUnit(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit) } - public interface CompensationEntryOrBuilder - extends + public interface CompensationEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The type. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType(); /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ int getUnitValue(); /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit(); /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ boolean hasAmount(); /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return The amount. */ com.google.type.Money getAmount(); /** - * - * *
      * Compensation amount.
      * 
@@ -740,32 +617,24 @@ public interface CompensationEntryOrBuilder com.google.type.MoneyOrBuilder getAmountOrBuilder(); /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange(); /** - * - * *
      * Compensation range.
      * 
@@ -775,8 +644,6 @@ public interface CompensationEntryOrBuilder com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -784,13 +651,10 @@ public interface CompensationEntryOrBuilder
      * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -798,14 +662,12 @@ public interface CompensationEntryOrBuilder
      * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -818,13 +680,10 @@ public interface CompensationEntryOrBuilder
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ boolean hasExpectedUnitsPerYear(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -837,13 +696,10 @@ public interface CompensationEntryOrBuilder
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ com.google.protobuf.DoubleValue getExpectedUnitsPerYear(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -859,12 +715,9 @@ public interface CompensationEntryOrBuilder
      */
     com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder();
 
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.CompensationAmountCase
-        getCompensationAmountCase();
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase();
   }
   /**
-   *
-   *
    * 
    * A compensation entry that represents one component of compensation, such
    * as base pay, bonus, or other compensation type.
@@ -877,16 +730,15 @@ public interface CompensationEntryOrBuilder
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry}
    */
-  public static final class CompensationEntry extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CompensationEntry extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
       CompensationEntryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CompensationEntry.newBuilder() to construct.
     private CompensationEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CompensationEntry() {
       type_ = 0;
       unit_ = 0;
@@ -895,42 +747,38 @@ private CompensationEntry() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CompensationEntry();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class,
-              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
+              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
     }
 
     private int compensationAmountCase_ = 0;
     private java.lang.Object compensationAmount_;
-
     public enum CompensationAmountCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AMOUNT(3),
       RANGE(4),
       COMPENSATIONAMOUNT_NOT_SET(0);
       private final int value;
-
       private CompensationAmountCase(int value) {
         this.value = value;
       }
@@ -946,116 +794,88 @@ public static CompensationAmountCase valueOf(int value) {
 
       public static CompensationAmountCase forNumber(int value) {
         switch (value) {
-          case 3:
-            return AMOUNT;
-          case 4:
-            return RANGE;
-          case 0:
-            return COMPENSATIONAMOUNT_NOT_SET;
-          default:
-            return null;
+          case 3: return AMOUNT;
+          case 4: return RANGE;
+          case 0: return COMPENSATIONAMOUNT_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public CompensationAmountCase getCompensationAmountCase() {
-      return CompensationAmountCase.forNumber(compensationAmountCase_);
+    public CompensationAmountCase
+    getCompensationAmountCase() {
+      return CompensationAmountCase.forNumber(
+          compensationAmountCase_);
     }
 
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
-     *
-     *
      * 
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED : result; } public static final int UNIT_FIELD_NUMBER = 2; private int unit_; /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override - public int getUnitValue() { + @java.lang.Override public int getUnitValue() { return unit_; } /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } public static final int AMOUNT_FIELD_NUMBER = 3; /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ @java.lang.Override @@ -1063,26 +883,21 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return The amount. */ @java.lang.Override public com.google.type.Money getAmount() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } /** - * - * *
      * Compensation amount.
      * 
@@ -1092,21 +907,18 @@ public com.google.type.Money getAmount() { @java.lang.Override public com.google.type.MoneyOrBuilder getAmountOrBuilder() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } public static final int RANGE_FIELD_NUMBER = 4; /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -1114,28 +926,21 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } /** - * - * *
      * Compensation range.
      * 
@@ -1143,21 +948,16 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -1165,7 +965,6 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan
      * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -1174,15 +973,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -1190,15 +988,16 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1209,8 +1008,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER = 6; private com.google.protobuf.DoubleValue expectedUnitsPerYear_; /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1223,7 +1020,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ @java.lang.Override @@ -1231,8 +1027,6 @@ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYear_ != null; } /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1245,18 +1039,13 @@ public boolean hasExpectedUnitsPerYear() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ @java.lang.Override public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { - return expectedUnitsPerYear_ == null - ? com.google.protobuf.DoubleValue.getDefaultInstance() - : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; } /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1276,7 +1065,6 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1288,27 +1076,19 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (type_
-          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType
-              .COMPENSATION_TYPE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (type_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, type_);
       }
-      if (unit_
-          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
-              .COMPENSATION_UNIT_UNSPECIFIED
-              .getNumber()) {
+      if (unit_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
         output.writeEnum(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
         output.writeMessage(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        output.writeMessage(
-            4,
-            (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
-                compensationAmount_);
+        output.writeMessage(4, (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
@@ -1325,36 +1105,28 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_
-          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType
-              .COMPENSATION_TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
-      }
-      if (unit_
-          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
-              .COMPENSATION_UNIT_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unit_);
+      if (type_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, type_);
+      }
+      if (unit_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                3, (com.google.type.Money) compensationAmount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                4,
-                (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
-                    compensationAmount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
       }
       if (expectedUnitsPerYear_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpectedUnitsPerYear());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, getExpectedUnitsPerYear());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1364,28 +1136,31 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other =
-          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;
+      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;
 
       if (type_ != other.type_) return false;
       if (unit_ != other.unit_) return false;
-      if (!getDescription().equals(other.getDescription())) return false;
+      if (!getDescription()
+          .equals(other.getDescription())) return false;
       if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
       if (hasExpectedUnitsPerYear()) {
-        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
+        if (!getExpectedUnitsPerYear()
+            .equals(other.getExpectedUnitsPerYear())) return false;
       }
       if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
       switch (compensationAmountCase_) {
         case 3:
-          if (!getAmount().equals(other.getAmount())) return false;
+          if (!getAmount()
+              .equals(other.getAmount())) return false;
           break;
         case 4:
-          if (!getRange().equals(other.getRange())) return false;
+          if (!getRange()
+              .equals(other.getRange())) return false;
           break;
         case 0:
         default:
@@ -1429,95 +1204,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1527,8 +1294,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A compensation entry that represents one component of compensation, such
      * as base pay, bonus, or other compensation type.
@@ -1541,34 +1306,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
         com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.talent.v4beta1.CommonProto
-            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.talent.v4beta1.CommonProto
-            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
+        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class,
-                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
+                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1596,16 +1360,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.talent.v4beta1.CommonProto
-            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-          getDefaultInstanceForType() {
-        return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-            .getDefaultInstance();
+      public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
+        return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1619,8 +1381,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry build(
 
       @java.lang.Override
       public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildPartial() {
-        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry result =
-            new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry(this);
+        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry result = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry(this);
         result.type_ = type_;
         result.unit_ = unit_;
         if (compensationAmountCase_ == 3) {
@@ -1652,53 +1413,46 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildP
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) {
-          return mergeFrom(
-              (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) other);
+          return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other) {
-        if (other
-            == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other) {
+        if (other == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -1713,20 +1467,17 @@ public Builder mergeFrom(
           mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
         }
         switch (other.getCompensationAmountCase()) {
-          case AMOUNT:
-            {
-              mergeAmount(other.getAmount());
-              break;
-            }
-          case RANGE:
-            {
-              mergeRange(other.getRange());
-              break;
-            }
-          case COMPENSATIONAMOUNT_NOT_SET:
-            {
-              break;
-            }
+          case AMOUNT: {
+            mergeAmount(other.getAmount());
+            break;
+          }
+          case RANGE: {
+            mergeRange(other.getRange());
+            break;
+          }
+          case COMPENSATIONAMOUNT_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1754,50 +1505,48 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  type_ = input.readEnum();
-
-                  break;
-                } // case 8
-              case 16:
-                {
-                  unit_ = input.readEnum();
-
-                  break;
-                } // case 16
-              case 26:
-                {
-                  input.readMessage(getAmountFieldBuilder().getBuilder(), extensionRegistry);
-                  compensationAmountCase_ = 3;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
-                  compensationAmountCase_ = 4;
-                  break;
-                } // case 34
-              case 42:
-                {
-                  description_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 42
-              case 50:
-                {
-                  input.readMessage(
-                      getExpectedUnitsPerYearFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 50
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                type_ = input.readEnum();
+
+                break;
+              } // case 8
+              case 16: {
+                unit_ = input.readEnum();
+
+                break;
+              } // case 16
+              case 26: {
+                input.readMessage(
+                    getAmountFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                compensationAmountCase_ = 3;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getRangeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                compensationAmountCase_ = 4;
+                break;
+              } // case 34
+              case 42: {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+              case 50: {
+                input.readMessage(
+                    getExpectedUnitsPerYearFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 50
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1807,12 +1556,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int compensationAmountCase_ = 0;
       private java.lang.Object compensationAmount_;
-
-      public CompensationAmountCase getCompensationAmountCase() {
-        return CompensationAmountCase.forNumber(compensationAmountCase_);
+      public CompensationAmountCase
+          getCompensationAmountCase() {
+        return CompensationAmountCase.forNumber(
+            compensationAmountCase_);
       }
 
       public Builder clearCompensationAmount() {
@@ -1822,100 +1571,81 @@ public Builder clearCompensationAmount() {
         return this;
       }
 
+
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED : result; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType value) { + public Builder setType(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1923,115 +1653,91 @@ public Builder clearType() { private int unit_ = 0; /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override - public int getUnitValue() { + @java.lang.Override public int getUnitValue() { return unit_; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @param value The enum numeric value on the wire for unit to set. * @return This builder for chaining. */ public Builder setUnitValue(int value) { - + unit_ = value; onChanged(); return this; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { + public Builder setUnit(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { if (value == null) { throw new NullPointerException(); } - + unit_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - amountBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> amountBuilder_; /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ @java.lang.Override @@ -2039,14 +1745,11 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; - * * @return The amount. */ @java.lang.Override @@ -2064,8 +1767,6 @@ public com.google.type.Money getAmount() { } } /** - * - * *
        * Compensation amount.
        * 
@@ -2086,15 +1787,14 @@ public Builder setAmount(com.google.type.Money value) { return this; } /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; */ - public Builder setAmount(com.google.type.Money.Builder builderForValue) { + public Builder setAmount( + com.google.type.Money.Builder builderForValue) { if (amountBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -2105,8 +1805,6 @@ public Builder setAmount(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2115,12 +1813,10 @@ public Builder setAmount(com.google.type.Money.Builder builderForValue) { */ public Builder mergeAmount(com.google.type.Money value) { if (amountBuilder_ == null) { - if (compensationAmountCase_ == 3 - && compensationAmount_ != com.google.type.Money.getDefaultInstance()) { - compensationAmount_ = - com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) - .mergeFrom(value) - .buildPartial(); + if (compensationAmountCase_ == 3 && + compensationAmount_ != com.google.type.Money.getDefaultInstance()) { + compensationAmount_ = com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) + .mergeFrom(value).buildPartial(); } else { compensationAmount_ = value; } @@ -2136,8 +1832,6 @@ public Builder mergeAmount(com.google.type.Money value) { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2161,8 +1855,6 @@ public Builder clearAmount() { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2173,8 +1865,6 @@ public com.google.type.Money.Builder getAmountBuilder() { return getAmountFieldBuilder().getBuilder(); } /** - * - * *
        * Compensation amount.
        * 
@@ -2193,8 +1883,6 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { } } /** - * - * *
        * Compensation amount.
        * 
@@ -2202,40 +1890,32 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { * .google.type.Money amount = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { if (!(compensationAmountCase_ == 3)) { compensationAmount_ = com.google.type.Money.getDefaultInstance(); } - amountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - (com.google.type.Money) compensationAmount_, getParentForChildren(), isClean()); + amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + (com.google.type.Money) compensationAmount_, + getParentForChildren(), + isClean()); compensationAmount_ = null; } compensationAmountCase_ = 3; - onChanged(); - ; + onChanged();; return amountBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> - rangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -2243,44 +1923,35 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } else { if (compensationAmountCase_ == 4) { return rangeBuilder_.getMessage(); } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2294,8 +1965,6 @@ public Builder setRange( return this; } /** - * - * *
        * Compensation range.
        * 
@@ -2303,8 +1972,7 @@ public Builder setRange( * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { if (rangeBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -2315,27 +1983,18 @@ public Builder setRange( return this; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public Builder mergeRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { - if (compensationAmountCase_ == 4 - && compensationAmount_ - != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance()) { - compensationAmount_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( - (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_) - .mergeFrom(value) - .buildPartial(); + if (compensationAmountCase_ == 4 && + compensationAmount_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance()) { + compensationAmount_ = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_) + .mergeFrom(value).buildPartial(); } else { compensationAmount_ = value; } @@ -2351,8 +2010,6 @@ public Builder mergeRange( return this; } /** - * - * *
        * Compensation range.
        * 
@@ -2376,21 +2033,16 @@ public Builder clearRange() { return this; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - getRangeBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getRangeBuilder() { return getRangeFieldBuilder().getBuilder(); } /** - * - * *
        * Compensation range.
        * 
@@ -2398,22 +2050,17 @@ public Builder clearRange() { * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if ((compensationAmountCase_ == 4) && (rangeBuilder_ != null)) { return rangeBuilder_.getMessageOrBuilder(); } else { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } } /** - * - * *
        * Compensation range.
        * 
@@ -2421,37 +2068,26 @@ public Builder clearRange() { * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { if (!(compensationAmountCase_ == 4)) { - compensationAmount_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + compensationAmount_ = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } - rangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_, + rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 4; - onChanged(); - ; + onChanged();; return rangeBuilder_; } private java.lang.Object description_ = ""; /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2459,13 +2095,13 @@ public Builder clearRange() {
        * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2474,8 +2110,6 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2483,14 +2117,15 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2498,8 +2133,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2507,22 +2140,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
        * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2530,18 +2161,15 @@ public Builder setDescription(java.lang.String value) {
        * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2549,16 +2177,16 @@ public Builder clearDescription() {
        * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2566,13 +2194,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> - expectedUnitsPerYearBuilder_; + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> expectedUnitsPerYearBuilder_; /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2585,15 +2208,12 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYearBuilder_ != null || expectedUnitsPerYear_ != null; } /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2606,21 +2226,16 @@ public boolean hasExpectedUnitsPerYear() {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { if (expectedUnitsPerYearBuilder_ == null) { - return expectedUnitsPerYear_ == null - ? com.google.protobuf.DoubleValue.getDefaultInstance() - : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; } else { return expectedUnitsPerYearBuilder_.getMessage(); } } /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2648,8 +2263,6 @@ public Builder setExpectedUnitsPerYear(com.google.protobuf.DoubleValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2675,8 +2288,6 @@ public Builder setExpectedUnitsPerYear(
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2694,9 +2305,7 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         if (expectedUnitsPerYearBuilder_ == null) {
           if (expectedUnitsPerYear_ != null) {
             expectedUnitsPerYear_ =
-                com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_).mergeFrom(value).buildPartial();
           } else {
             expectedUnitsPerYear_ = value;
           }
@@ -2708,8 +2317,6 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2735,8 +2342,6 @@ public Builder clearExpectedUnitsPerYear() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2751,13 +2356,11 @@ public Builder clearExpectedUnitsPerYear() {
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       public com.google.protobuf.DoubleValue.Builder getExpectedUnitsPerYearBuilder() {
-
+        
         onChanged();
         return getExpectedUnitsPerYearFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2775,14 +2378,11 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
         if (expectedUnitsPerYearBuilder_ != null) {
           return expectedUnitsPerYearBuilder_.getMessageOrBuilder();
         } else {
-          return expectedUnitsPerYear_ == null
-              ? com.google.protobuf.DoubleValue.getDefaultInstance()
-              : expectedUnitsPerYear_;
+          return expectedUnitsPerYear_ == null ?
+              com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_;
         }
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2797,22 +2397,18 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.DoubleValue,
-              com.google.protobuf.DoubleValue.Builder,
-              com.google.protobuf.DoubleValueOrBuilder>
+          com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> 
           getExpectedUnitsPerYearFieldBuilder() {
         if (expectedUnitsPerYearBuilder_ == null) {
-          expectedUnitsPerYearBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.DoubleValue,
-                  com.google.protobuf.DoubleValue.Builder,
-                  com.google.protobuf.DoubleValueOrBuilder>(
-                  getExpectedUnitsPerYear(), getParentForChildren(), isClean());
+          expectedUnitsPerYearBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
+                  getExpectedUnitsPerYear(),
+                  getParentForChildren(),
+                  isClean());
           expectedUnitsPerYear_ = null;
         }
         return expectedUnitsPerYearBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2825,44 +2421,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
-    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry();
     }
 
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompensationEntry parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompensationEntry parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2874,20 +2467,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CompensationRangeOrBuilder
-      extends
+  public interface CompensationRangeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2896,13 +2486,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ boolean hasMaxCompensation(); /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2911,13 +2498,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ com.google.type.Money getMaxCompensation(); /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2930,8 +2514,6 @@ public interface CompensationRangeOrBuilder
     com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder();
 
     /**
-     *
-     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2939,13 +2521,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ boolean hasMinCompensation(); /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2953,13 +2532,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ com.google.type.Money getMinCompensation(); /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2971,57 +2547,52 @@ public interface CompensationRangeOrBuilder
     com.google.type.MoneyOrBuilder getMinCompensationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Compensation range.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationRange} */ - public static final class CompensationRange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompensationRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) CompensationRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationRange.newBuilder() to construct. private CompensationRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CompensationRange() {} + private CompensationRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); } public static final int MAX_COMPENSATION_FIELD_NUMBER = 2; private com.google.type.Money maxCompensation_; /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3030,7 +2601,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ @java.lang.Override @@ -3038,8 +2608,6 @@ public boolean hasMaxCompensation() { return maxCompensation_ != null; } /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3048,18 +2616,13 @@ public boolean hasMaxCompensation() {
      * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ @java.lang.Override public com.google.type.Money getMaxCompensation() { - return maxCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : maxCompensation_; + return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; } /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3077,8 +2640,6 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
     public static final int MIN_COMPENSATION_FIELD_NUMBER = 1;
     private com.google.type.Money minCompensation_;
     /**
-     *
-     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3086,7 +2647,6 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
      * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ @java.lang.Override @@ -3094,8 +2654,6 @@ public boolean hasMinCompensation() { return minCompensation_ != null; } /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3103,18 +2661,13 @@ public boolean hasMinCompensation() {
      * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ @java.lang.Override public com.google.type.Money getMinCompensation() { - return minCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : minCompensation_; + return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; } /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3129,7 +2682,6 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3141,7 +2693,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (minCompensation_ != null) {
         output.writeMessage(1, getMinCompensation());
       }
@@ -3158,10 +2711,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (minCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinCompensation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getMinCompensation());
       }
       if (maxCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxCompensation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMaxCompensation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3171,21 +2726,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other =
-          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj;
+      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj;
 
       if (hasMaxCompensation() != other.hasMaxCompensation()) return false;
       if (hasMaxCompensation()) {
-        if (!getMaxCompensation().equals(other.getMaxCompensation())) return false;
+        if (!getMaxCompensation()
+            .equals(other.getMaxCompensation())) return false;
       }
       if (hasMinCompensation() != other.hasMinCompensation()) return false;
       if (hasMinCompensation()) {
-        if (!getMinCompensation().equals(other.getMinCompensation())) return false;
+        if (!getMinCompensation()
+            .equals(other.getMinCompensation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3212,95 +2768,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3310,42 +2858,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Compensation range.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationRange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); } - // Construct using - // com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder() - private Builder() {} + // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3365,16 +2910,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } @java.lang.Override @@ -3388,8 +2931,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange build( @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildPartial() { - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange result = - new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange(this); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange result = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange(this); if (maxCompensationBuilder_ == null) { result.maxCompensation_ = maxCompensation_; } else { @@ -3408,53 +2950,46 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) { - return mergeFrom( - (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other) { - if (other - == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other) { + if (other == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance()) return this; if (other.hasMaxCompensation()) { mergeMaxCompensation(other.getMaxCompensation()); } @@ -3487,27 +3022,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getMinCompensationFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getMinCompensationFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage( - getMaxCompensationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: { + input.readMessage( + getMaxCompensationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3520,11 +3054,8 @@ public Builder mergeFrom( private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - maxCompensationBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3533,15 +3064,12 @@ public Builder mergeFrom(
        * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ public boolean hasMaxCompensation() { return maxCompensationBuilder_ != null || maxCompensation_ != null; } /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3550,21 +3078,16 @@ public boolean hasMaxCompensation() {
        * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ public com.google.type.Money getMaxCompensation() { if (maxCompensationBuilder_ == null) { - return maxCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : maxCompensation_; + return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; } else { return maxCompensationBuilder_.getMessage(); } } /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3588,8 +3111,6 @@ public Builder setMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3599,7 +3120,8 @@ public Builder setMaxCompensation(com.google.type.Money value) {
        *
        * .google.type.Money max_compensation = 2;
        */
-      public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue) {
+      public Builder setMaxCompensation(
+          com.google.type.Money.Builder builderForValue) {
         if (maxCompensationBuilder_ == null) {
           maxCompensation_ = builderForValue.build();
           onChanged();
@@ -3610,8 +3132,6 @@ public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3625,7 +3145,7 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         if (maxCompensationBuilder_ == null) {
           if (maxCompensation_ != null) {
             maxCompensation_ =
-                com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
           } else {
             maxCompensation_ = value;
           }
@@ -3637,8 +3157,6 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3660,8 +3178,6 @@ public Builder clearMaxCompensation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3672,13 +3188,11 @@ public Builder clearMaxCompensation() {
        * .google.type.Money max_compensation = 2;
        */
       public com.google.type.Money.Builder getMaxCompensationBuilder() {
-
+        
         onChanged();
         return getMaxCompensationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3692,14 +3206,11 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
         if (maxCompensationBuilder_ != null) {
           return maxCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return maxCompensation_ == null
-              ? com.google.type.Money.getDefaultInstance()
-              : maxCompensation_;
+          return maxCompensation_ == null ?
+              com.google.type.Money.getDefaultInstance() : maxCompensation_;
         }
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3710,15 +3221,14 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * .google.type.Money max_compensation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
           getMaxCompensationFieldBuilder() {
         if (maxCompensationBuilder_ == null) {
-          maxCompensationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Money,
-                  com.google.type.Money.Builder,
-                  com.google.type.MoneyOrBuilder>(
-                  getMaxCompensation(), getParentForChildren(), isClean());
+          maxCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                  getMaxCompensation(),
+                  getParentForChildren(),
+                  isClean());
           maxCompensation_ = null;
         }
         return maxCompensationBuilder_;
@@ -3726,11 +3236,8 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
 
       private com.google.type.Money minCompensation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
-          minCompensationBuilder_;
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_;
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3738,15 +3245,12 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ public boolean hasMinCompensation() { return minCompensationBuilder_ != null || minCompensation_ != null; } /** - * - * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3754,21 +3258,16 @@ public boolean hasMinCompensation() {
        * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ public com.google.type.Money getMinCompensation() { if (minCompensationBuilder_ == null) { - return minCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : minCompensation_; + return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; } else { return minCompensationBuilder_.getMessage(); } } /** - * - * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3791,8 +3290,6 @@ public Builder setMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3801,7 +3298,8 @@ public Builder setMinCompensation(com.google.type.Money value) {
        *
        * .google.type.Money min_compensation = 1;
        */
-      public Builder setMinCompensation(com.google.type.Money.Builder builderForValue) {
+      public Builder setMinCompensation(
+          com.google.type.Money.Builder builderForValue) {
         if (minCompensationBuilder_ == null) {
           minCompensation_ = builderForValue.build();
           onChanged();
@@ -3812,8 +3310,6 @@ public Builder setMinCompensation(com.google.type.Money.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3826,7 +3322,7 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         if (minCompensationBuilder_ == null) {
           if (minCompensation_ != null) {
             minCompensation_ =
-                com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
           } else {
             minCompensation_ = value;
           }
@@ -3838,8 +3334,6 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3860,8 +3354,6 @@ public Builder clearMinCompensation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3871,13 +3363,11 @@ public Builder clearMinCompensation() {
        * .google.type.Money min_compensation = 1;
        */
       public com.google.type.Money.Builder getMinCompensationBuilder() {
-
+        
         onChanged();
         return getMinCompensationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3890,14 +3380,11 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
         if (minCompensationBuilder_ != null) {
           return minCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return minCompensation_ == null
-              ? com.google.type.Money.getDefaultInstance()
-              : minCompensation_;
+          return minCompensation_ == null ?
+              com.google.type.Money.getDefaultInstance() : minCompensation_;
         }
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3907,20 +3394,18 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
        * .google.type.Money min_compensation = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
           getMinCompensationFieldBuilder() {
         if (minCompensationBuilder_ == null) {
-          minCompensationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Money,
-                  com.google.type.Money.Builder,
-                  com.google.type.MoneyOrBuilder>(
-                  getMinCompensation(), getParentForChildren(), isClean());
+          minCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                  getMinCompensation(),
+                  getParentForChildren(),
+                  isClean());
           minCompensation_ = null;
         }
         return minCompensationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3933,44 +3418,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
-    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange();
     }
 
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompensationRange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompensationRange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3982,18 +3464,15 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
-  private java.util.List
-      entries_;
+  private java.util.List entries_;
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -4001,17 +3480,13 @@ public com.google.protobuf.Parser getParserForType() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override - public java.util.List - getEntriesList() { + public java.util.List getEntriesList() { return entries_; } /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -4019,18 +3494,14 @@ public com.google.protobuf.Parser getParserForType() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -4038,16 +3509,13 @@ public com.google.protobuf.Parser getParserForType() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -4055,16 +3523,13 @@ public int getEntriesCount() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -4072,21 +3537,17 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder - getEntriesOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } public static final int ANNUALIZED_BASE_COMPENSATION_RANGE_FIELD_NUMBER = 2; - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedBaseCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedBaseCompensationRange_; /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4094,10 +3555,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ @java.lang.Override @@ -4105,8 +3563,6 @@ public boolean hasAnnualizedBaseCompensationRange() { return annualizedBaseCompensationRange_ != null; } /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4114,22 +3570,14 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedBaseCompensationRange_; + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { + return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4137,22 +3585,16 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { return getAnnualizedBaseCompensationRange(); } public static final int ANNUALIZED_TOTAL_COMPENSATION_RANGE_FIELD_NUMBER = 3; - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4160,10 +3602,7 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ @java.lang.Override @@ -4171,8 +3610,6 @@ public boolean hasAnnualizedTotalCompensationRange() { return annualizedTotalCompensationRange_ != null; } /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4180,22 +3617,14 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedTotalCompensationRange_; + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { + return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4203,18 +3632,14 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { return getAnnualizedTotalCompensationRange(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4226,7 +3651,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -4246,17 +3672,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entries_.get(i)); } if (annualizedBaseCompensationRange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getAnnualizedBaseCompensationRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnnualizedBaseCompensationRange()); } if (annualizedTotalCompensationRange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getAnnualizedTotalCompensationRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAnnualizedTotalCompensationRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4266,23 +3691,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompensationInfo other = - (com.google.cloud.talent.v4beta1.CompensationInfo) obj; + com.google.cloud.talent.v4beta1.CompensationInfo other = (com.google.cloud.talent.v4beta1.CompensationInfo) obj; - if (!getEntriesList().equals(other.getEntriesList())) return false; - if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) - return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) return false; if (hasAnnualizedBaseCompensationRange()) { - if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) - return false; + if (!getAnnualizedBaseCompensationRange() + .equals(other.getAnnualizedBaseCompensationRange())) return false; } - if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) - return false; + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) return false; if (hasAnnualizedTotalCompensationRange()) { if (!getAnnualizedTotalCompensationRange() .equals(other.getAnnualizedTotalCompensationRange())) return false; @@ -4315,136 +3738,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Job compensation details.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo) com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.class, - com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.class, com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4471,9 +3888,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override @@ -4492,8 +3909,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { - com.google.cloud.talent.v4beta1.CompensationInfo result = - new com.google.cloud.talent.v4beta1.CompensationInfo(this); + com.google.cloud.talent.v4beta1.CompensationInfo result = new com.google.cloud.talent.v4beta1.CompensationInfo(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -4522,39 +3938,38 @@ public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo)other); } else { super.mergeFrom(other); return this; @@ -4562,8 +3977,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo other) { - if (other == com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()) return this; if (entriesBuilder_ == null) { if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { @@ -4582,10 +3996,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo other) entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -4623,43 +4036,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry m = - input.readMessage( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage( - getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry m = + input.readMessage( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage( - getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4669,30 +4078,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - entries_ = java.util.Collections.emptyList(); - + private java.util.List entries_ = + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = - new java.util.ArrayList< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry>(entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> - entriesBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> entriesBuilder_; /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4700,11 +4100,9 @@ private void ensureEntriesIsMutable() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public java.util.List - getEntriesList() { + public java.util.List getEntriesList() { if (entriesBuilder_ == null) { return java.util.Collections.unmodifiableList(entries_); } else { @@ -4712,8 +4110,6 @@ private void ensureEntriesIsMutable() { } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4721,8 +4117,7 @@ private void ensureEntriesIsMutable() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public int getEntriesCount() { if (entriesBuilder_ == null) { @@ -4732,8 +4127,6 @@ public int getEntriesCount() { } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4741,11 +4134,9 @@ public int getEntriesCount() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries( - int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { @@ -4753,8 +4144,6 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4762,8 +4151,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder setEntries( int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { @@ -4780,8 +4168,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4789,13 +4175,10 @@ public Builder setEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder setEntries( - int index, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - builderForValue) { + int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); @@ -4806,8 +4189,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4815,11 +4196,9 @@ public Builder setEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public Builder addEntries( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { + public Builder addEntries(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4833,8 +4212,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4842,8 +4219,7 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder addEntries( int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { @@ -4860,8 +4236,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4869,12 +4243,10 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder addEntries( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); @@ -4885,8 +4257,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4894,13 +4264,10 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder addEntries( - int index, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - builderForValue) { + int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); @@ -4911,8 +4278,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4920,16 +4285,14 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder addAllEntries( - java.lang.Iterable< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry> - values) { + java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -4937,8 +4300,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4946,8 +4307,7 @@ public Builder addAllEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder clearEntries() { if (entriesBuilder_ == null) { @@ -4960,8 +4320,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4969,8 +4327,7 @@ public Builder clearEntries() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { @@ -4983,8 +4340,6 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4992,16 +4347,13 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - getEntriesBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5009,20 +4361,16 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder - getEntriesOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5030,12 +4378,10 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -5043,8 +4389,6 @@ public Builder removeEntries(int index) { } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5052,19 +4396,13 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry - .getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder addEntriesBuilder() { + return getEntriesFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()); } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5072,20 +4410,14 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry - .getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()); } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5093,42 +4425,31 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public java.util.List< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder> - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( - entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedBaseCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedBaseCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> - annualizedBaseCompensationRangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> annualizedBaseCompensationRangeBuilder_; /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5136,19 +4457,13 @@ public Builder removeEntries(int index) {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ public boolean hasAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRangeBuilder_ != null - || annualizedBaseCompensationRange_ != null; + return annualizedBaseCompensationRangeBuilder_ != null || annualizedBaseCompensationRange_ != null; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5156,26 +4471,17 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } else { return annualizedBaseCompensationRangeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5183,12 +4489,9 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5202,8 +4505,6 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5211,13 +4512,10 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { if (annualizedBaseCompensationRangeBuilder_ == null) { annualizedBaseCompensationRange_ = builderForValue.build(); onChanged(); @@ -5228,8 +4526,6 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5237,19 +4533,13 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (annualizedBaseCompensationRange_ != null) { annualizedBaseCompensationRange_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( - annualizedBaseCompensationRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(annualizedBaseCompensationRange_).mergeFrom(value).buildPartial(); } else { annualizedBaseCompensationRange_ = value; } @@ -5261,8 +4551,6 @@ public Builder mergeAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5270,9 +4558,7 @@ public Builder mergeAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { @@ -5286,8 +4572,6 @@ public Builder clearAnnualizedBaseCompensationRange() { return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5295,19 +4579,14 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - getAnnualizedBaseCompensationRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder() { + onChanged(); return getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5315,24 +4594,17 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { if (annualizedBaseCompensationRangeBuilder_ != null) { return annualizedBaseCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null ? + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5340,37 +4612,26 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedBaseCompensationRangeFieldBuilder() { if (annualizedBaseCompensationRangeBuilder_ == null) { - annualizedBaseCompensationRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedBaseCompensationRange(), getParentForChildren(), isClean()); + annualizedBaseCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedBaseCompensationRange(), + getParentForChildren(), + isClean()); annualizedBaseCompensationRange_ = null; } return annualizedBaseCompensationRangeBuilder_; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> - annualizedTotalCompensationRangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> annualizedTotalCompensationRangeBuilder_; /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5378,19 +4639,13 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ public boolean hasAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRangeBuilder_ != null - || annualizedTotalCompensationRange_ != null; + return annualizedTotalCompensationRangeBuilder_ != null || annualizedTotalCompensationRange_ != null; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5398,26 +4653,17 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } else { return annualizedTotalCompensationRangeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5425,12 +4671,9 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5444,8 +4687,6 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5453,13 +4694,10 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { if (annualizedTotalCompensationRangeBuilder_ == null) { annualizedTotalCompensationRange_ = builderForValue.build(); onChanged(); @@ -5470,8 +4708,6 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5479,19 +4715,13 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (annualizedTotalCompensationRange_ != null) { annualizedTotalCompensationRange_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( - annualizedTotalCompensationRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(annualizedTotalCompensationRange_).mergeFrom(value).buildPartial(); } else { annualizedTotalCompensationRange_ = value; } @@ -5503,8 +4733,6 @@ public Builder mergeAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5512,9 +4740,7 @@ public Builder mergeAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { @@ -5528,8 +4754,6 @@ public Builder clearAnnualizedTotalCompensationRange() { return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5537,19 +4761,14 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - getAnnualizedTotalCompensationRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder() { + onChanged(); return getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5557,24 +4776,17 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { if (annualizedTotalCompensationRangeBuilder_ != null) { return annualizedTotalCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null ? + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5582,29 +4794,24 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedTotalCompensationRangeFieldBuilder() { if (annualizedTotalCompensationRangeBuilder_ == null) { - annualizedTotalCompensationRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedTotalCompensationRange(), getParentForChildren(), isClean()); + annualizedTotalCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedTotalCompensationRange(), + getParentForChildren(), + isClean()); annualizedTotalCompensationRange_ = null; } return annualizedTotalCompensationRangeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5614,12 +4821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo) private static final com.google.cloud.talent.v4beta1.CompensationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo(); } @@ -5628,27 +4835,27 @@ public static com.google.cloud.talent.v4beta1.CompensationInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5663,4 +4870,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompensationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java similarity index 71% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java index 791b425ff47b..1dd2c1f244e5 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface CompensationInfoOrBuilder - extends +public interface CompensationInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -33,14 +15,11 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - java.util.List + java.util.List getEntriesList(); /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -48,13 +27,10 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index); /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -62,13 +38,10 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ int getEntriesCount(); /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -76,15 +49,11 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -92,15 +61,12 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( int index); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -108,16 +74,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ boolean hasAnnualizedBaseCompensationRange(); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -125,17 +86,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange(); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -143,16 +98,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -160,16 +110,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ boolean hasAnnualizedTotalCompensationRange(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -177,17 +122,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -195,10 +134,7 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java index c013de0bb15b..34eae73659d8 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Auto-complete parameters.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryRequest} */ -public final class CompleteQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryRequest) CompleteQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteQueryRequest.newBuilder() to construct. private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteQueryRequest() { parent_ = ""; query_ = ""; @@ -48,43 +30,39 @@ private CompleteQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, - com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); } /** - * - * *
    * Enum to specify the scope of completion.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope} */ - public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -93,8 +71,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETION_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -103,8 +79,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ TENANT(1), /** - * - * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -117,8 +91,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -127,8 +99,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -137,8 +107,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TENANT_VALUE = 1; /** - * - * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -148,6 +116,7 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PUBLIC_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -172,45 +141,40 @@ public static CompletionScope valueOf(int value) {
      */
     public static CompletionScope forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMPLETION_SCOPE_UNSPECIFIED;
-        case 1:
-          return TENANT;
-        case 2:
-          return PUBLIC;
-        default:
-          return null;
+        case 0: return COMPLETION_SCOPE_UNSPECIFIED;
+        case 1: return TENANT;
+        case 2: return PUBLIC;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CompletionScope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CompletionScope findValueByNumber(int number) {
+              return CompletionScope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public CompletionScope findValueByNumber(int number) {
-                return CompletionScope.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final CompletionScope[] VALUES = values();
@@ -218,7 +182,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static CompletionScope valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -236,18 +201,15 @@ private CompletionScope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Enum to specify auto-completion topics.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType} */ - public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -256,8 +218,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -268,8 +228,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     JOB_TITLE(1),
     /**
-     *
-     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -281,8 +239,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     COMPANY_NAME(2),
     /**
-     *
-     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -297,8 +253,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -307,8 +261,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -319,8 +271,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int JOB_TITLE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -332,8 +282,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMPANY_NAME_VALUE = 2;
     /**
-     *
-     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -345,6 +293,7 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMBINED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -369,53 +318,50 @@ public static CompletionType valueOf(int value) {
      */
     public static CompletionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMPLETION_TYPE_UNSPECIFIED;
-        case 1:
-          return JOB_TITLE;
-        case 2:
-          return COMPANY_NAME;
-        case 3:
-          return COMBINED;
-        default:
-          return null;
+        case 0: return COMPLETION_TYPE_UNSPECIFIED;
+        case 1: return JOB_TITLE;
+        case 2: return COMPANY_NAME;
+        case 3: return COMBINED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CompletionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CompletionType findValueByNumber(int number) {
+              return CompletionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public CompletionType findValueByNumber(int number) {
-            return CompletionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final CompletionType[] VALUES = values();
 
-    public static CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CompletionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -435,8 +381,6 @@ private CompletionType(int value) {
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -445,10 +389,7 @@ private CompletionType(int value) {
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -457,15 +398,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -474,18 +414,17 @@ public java.lang.String getParent() {
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -496,15 +435,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -513,30 +449,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -547,8 +483,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int LANGUAGE_CODES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList languageCodes_; /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -558,15 +492,13 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_; } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -576,15 +508,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
    * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -594,7 +523,6 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -602,8 +530,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -613,26 +539,23 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ @java.lang.Override @@ -643,8 +566,6 @@ public int getPageSize() { public static final int COMPANY_FIELD_NUMBER = 5; private volatile java.lang.Object company_; /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -655,7 +576,6 @@ public int getPageSize() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ @java.lang.Override @@ -664,15 +584,14 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -683,15 +602,16 @@ public java.lang.String getCompany() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -702,81 +622,58 @@ public com.google.protobuf.ByteString getCompanyBytes() { public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 7; private int type_; /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -788,7 +685,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -804,16 +702,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_); } - if (scope_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope - .COMPLETION_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, scope_); } - if (type_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(7, type_); } getUnknownFields().writeTo(output); @@ -840,22 +732,19 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_); } - if (scope_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope - .COMPLETION_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); + if (scope_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, scope_); } - if (type_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); + if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -865,19 +754,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompleteQueryRequest other = - (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getCompany().equals(other.getCompany())) return false; + com.google.cloud.talent.v4beta1.CompleteQueryRequest other = (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getLanguageCodesList() + .equals(other.getLanguageCodesList())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getCompany() + .equals(other.getCompany())) return false; if (scope_ != other.scope_) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -913,135 +806,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Auto-complete parameters.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryRequest) com.google.cloud.talent.v4beta1.CompleteQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, - com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompleteQueryRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1063,9 +950,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override @@ -1084,8 +971,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryRequest result = - new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this); + com.google.cloud.talent.v4beta1.CompleteQueryRequest result = new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.query_ = query_; @@ -1106,39 +992,38 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -1146,8 +1031,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryRequest other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1205,56 +1089,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - query_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: - { - company_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: - { - scope_ = input.readEnum(); - - break; - } // case 48 - case 56: - { - type_ = input.readEnum(); - - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + query_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: { + company_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: { + scope_ = input.readEnum(); + + break; + } // case 48 + case 56: { + type_ = input.readEnum(); + + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1264,13 +1140,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1279,16 +1152,14 @@ public Builder mergeFrom(
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1297,8 +1168,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1307,17 +1176,16 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1325,8 +1193,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1335,25 +1201,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1362,21 +1224,16 @@ public Builder setParent(java.lang.String value) {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1385,19 +1242,17 @@ public Builder clearParent() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1405,21 +1260,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1428,22 +1281,21 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1451,81 +1303,70 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList languageCodes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1535,15 +1376,13 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1553,15 +1392,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
      * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1571,7 +1407,6 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1579,8 +1414,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1590,16 +1423,14 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1609,23 +1440,21 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) {
      * 
* * repeated string language_codes = 3; - * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes(int index, java.lang.String value) { + public Builder setLanguageCodes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1635,22 +1464,20 @@ public Builder setLanguageCodes(int index, java.lang.String value) {
      * 
* * repeated string language_codes = 3; - * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes(java.lang.String value) { + public Builder addLanguageCodes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1660,19 +1487,18 @@ public Builder addLanguageCodes(java.lang.String value) {
      * 
* * repeated string language_codes = 3; - * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes(java.lang.Iterable values) { + public Builder addAllLanguageCodes( + java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageCodes_); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1682,7 +1508,6 @@ public Builder addAllLanguageCodes(java.lang.Iterable values)
      * 
* * repeated string language_codes = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -1692,8 +1517,6 @@ public Builder clearLanguageCodes() { return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1703,32 +1526,29 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 3; - * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ @java.lang.Override @@ -1736,38 +1556,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1775,8 +1589,6 @@ public Builder clearPageSize() { private java.lang.Object company_ = ""; /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1787,13 +1599,13 @@ public Builder clearPageSize() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -1802,8 +1614,6 @@ public java.lang.String getCompany() { } } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1814,14 +1624,15 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -1829,8 +1640,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { } } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1841,22 +1650,20 @@ public com.google.protobuf.ByteString getCompanyBytes() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany(java.lang.String value) { + public Builder setCompany( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1867,18 +1674,15 @@ public Builder setCompany(java.lang.String value) {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1889,16 +1693,16 @@ public Builder clearCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -1906,93 +1710,73 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { private int scope_ = 0; /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope value) { + public Builder setScope(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -2000,100 +1784,80 @@ public Builder clearScope() { private int type_ = 0; /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { + public Builder setType(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2103,12 +1867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryRequest) private static final com.google.cloud.talent.v4beta1.CompleteQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryRequest(); } @@ -2117,27 +1881,27 @@ public static com.google.cloud.talent.v4beta1.CompleteQueryRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2152,4 +1916,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompleteQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java similarity index 81% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java index 7fc0e9f12929..7e7c803dd86d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; -public interface CompleteQueryRequestOrBuilder - extends +public interface CompleteQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -34,16 +16,11 @@ public interface CompleteQueryRequestOrBuilder
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -52,44 +29,35 @@ public interface CompleteQueryRequestOrBuilder
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -99,13 +67,11 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - java.util.List getLanguageCodesList(); + java.util.List + getLanguageCodesList(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -115,13 +81,10 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -131,14 +94,11 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -148,29 +108,24 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString getLanguageCodesBytes(int index); + com.google.protobuf.ByteString + getLanguageCodesBytes(int index); /** - * - * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -181,13 +136,10 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ java.lang.String getCompany(); /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -198,57 +150,45 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ - com.google.protobuf.ByteString getCompanyBytes(); + com.google.protobuf.ByteString + getCompanyBytes(); /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope(); /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java index 6c31498eaccb..6fefa2eaa188 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java @@ -1,173 +1,134 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Response of auto-complete query.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse} */ -public final class CompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteQueryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryResponse) CompleteQueryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteQueryResponse.newBuilder() to construct. private CompleteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteQueryResponse() { completionResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); } - public interface CompletionResultOrBuilder - extends + public interface CompletionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ java.lang.String getSuggestion(); /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString getSuggestionBytes(); + com.google.protobuf.ByteString + getSuggestionBytes(); /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType(); /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The imageUri. */ java.lang.String getImageUri(); /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString getImageUriBytes(); + com.google.protobuf.ByteString + getImageUriBytes(); } /** - * - * *
    * Resource that represents completion results.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult} */ - public static final class CompletionResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompletionResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) CompletionResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompletionResult.newBuilder() to construct. private CompletionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompletionResult() { suggestion_ = ""; type_ = 0; @@ -176,41 +137,37 @@ private CompletionResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompletionResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; private volatile java.lang.Object suggestion_; /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ @java.lang.Override @@ -219,29 +176,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -252,53 +209,39 @@ public com.google.protobuf.ByteString getSuggestionBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } public static final int IMAGE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object imageUri_; /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The imageUri. */ @java.lang.Override @@ -307,30 +250,30 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -339,7 +282,6 @@ public com.google.protobuf.ByteString getImageUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,14 +293,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } - if (type_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { @@ -376,11 +316,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } - if (type_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageUri_); @@ -393,18 +331,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)) { + if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = - (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; - if (!getSuggestion().equals(other.getSuggestion())) return false; + if (!getSuggestion() + .equals(other.getSuggestion())) return false; if (type_ != other.type_) return false; - if (!getImageUri().equals(other.getImageUri())) return false; + if (!getImageUri() + .equals(other.getImageUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -428,95 +366,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -526,43 +456,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Resource that represents completion results.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - .class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); } - // Construct using - // com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -576,22 +502,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .getDefaultInstance(); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult build() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = - buildPartial(); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -600,8 +523,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = - new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(this); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(this); result.suggestion_ = suggestion_; result.type_ = type_; result.imageUri_ = imageUri_; @@ -613,54 +535,46 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) { - return mergeFrom( - (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) other); + if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) { + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other) { - if (other - == com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other) { + if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; onChanged(); @@ -698,31 +612,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - suggestion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - imageUri_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + suggestion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + + break; + } // case 16 + case 26: { + imageUri_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,20 +645,18 @@ public Builder mergeFrom( private java.lang.Object suggestion_ = ""; /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -757,21 +665,20 @@ public java.lang.String getSuggestion() { } } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -779,61 +686,54 @@ public com.google.protobuf.ByteString getSuggestionBytes() { } } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion(java.lang.String value) { + public Builder setSuggestion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); return this; } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { + public Builder setSuggestionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); return this; @@ -841,93 +741,73 @@ public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { + public Builder setType(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -935,21 +815,19 @@ public Builder clearType() { private java.lang.Object imageUri_ = ""; /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -958,22 +836,21 @@ public java.lang.String getImageUri() { } } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -981,69 +858,61 @@ public com.google.protobuf.ByteString getImageUriBytes() { } } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri(java.lang.String value) { + public Builder setImageUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes(com.google.protobuf.ByteString value) { + public Builder setImageUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1056,45 +925,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) - private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(); + DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompletionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompletionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1106,108 +971,81 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int COMPLETION_RESULTS_FIELD_NUMBER = 1; - private java.util.List - completionResults_; + private java.util.List completionResults_; /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public java.util.List - getCompletionResultsList() { + public java.util.List getCompletionResultsList() { return completionResults_; } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + public java.util.List getCompletionResultsOrBuilderList() { return completionResults_; } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override public int getCompletionResultsCount() { return completionResults_.size(); } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getCompletionResults(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { return completionResults_.get(index); } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index) { return completionResults_.get(index); } public static final int METADATA_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1215,26 +1053,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -1248,7 +1079,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1260,7 +1090,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < completionResults_.size(); i++) {
       output.writeMessage(1, completionResults_.get(i));
     }
@@ -1277,11 +1108,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < completionResults_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, completionResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, completionResults_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1291,18 +1123,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.CompleteQueryResponse other =
-        (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj;
+    com.google.cloud.talent.v4beta1.CompleteQueryResponse other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj;
 
-    if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false;
+    if (!getCompletionResultsList()
+        .equals(other.getCompletionResultsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1329,136 +1162,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.talent.v4beta1.CompleteQueryResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response of auto-complete query.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryResponse) com.google.cloud.talent.v4beta1.CompleteQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompleteQueryResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1479,9 +1305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override @@ -1500,8 +1326,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse result = - new com.google.cloud.talent.v4beta1.CompleteQueryResponse(this); + com.google.cloud.talent.v4beta1.CompleteQueryResponse result = new com.google.cloud.talent.v4beta1.CompleteQueryResponse(this); int from_bitField0_ = bitField0_; if (completionResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1525,39 +1350,38 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse)other); } else { super.mergeFrom(other); return this; @@ -1565,8 +1389,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance()) return this; if (completionResultsBuilder_ == null) { if (!other.completionResults_.isEmpty()) { if (completionResults_.isEmpty()) { @@ -1585,10 +1408,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse o completionResultsBuilder_ = null; completionResults_ = other.completionResults_; bitField0_ = (bitField0_ & ~0x00000001); - completionResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompletionResultsFieldBuilder() - : null; + completionResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompletionResultsFieldBuilder() : null; } else { completionResultsBuilder_.addAllMessages(other.completionResults_); } @@ -1623,34 +1445,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult m = - input.readMessage( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .parser(), - extensionRegistry); - if (completionResultsBuilder_ == null) { - ensureCompletionResultsIsMutable(); - completionResults_.add(m); - } else { - completionResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult m = + input.readMessage( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.parser(), + extensionRegistry); + if (completionResultsBuilder_ == null) { + ensureCompletionResultsIsMutable(); + completionResults_.add(m); + } else { + completionResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1660,41 +1480,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - completionResults_ = java.util.Collections.emptyList(); - + private java.util.List completionResults_ = + java.util.Collections.emptyList(); private void ensureCompletionResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - completionResults_ = - new java.util.ArrayList< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult>( - completionResults_); + completionResults_ = new java.util.ArrayList(completionResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> - completionResultsBuilder_; + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> completionResultsBuilder_; /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List - getCompletionResultsList() { + public java.util.List getCompletionResultsList() { if (completionResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(completionResults_); } else { @@ -1702,15 +1509,11 @@ private void ensureCompletionResultsIsMutable() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public int getCompletionResultsCount() { if (completionResultsBuilder_ == null) { @@ -1720,18 +1523,13 @@ public int getCompletionResultsCount() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getCompletionResults(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { if (completionResultsBuilder_ == null) { return completionResults_.get(index); } else { @@ -1739,15 +1537,11 @@ public int getCompletionResultsCount() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder setCompletionResults( int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { @@ -1764,20 +1558,14 @@ public Builder setCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder setCompletionResults( - int index, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - builderForValue) { + int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.set(index, builderForValue.build()); @@ -1788,18 +1576,13 @@ public Builder setCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public Builder addCompletionResults( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { + public Builder addCompletionResults(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { if (completionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1813,15 +1596,11 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { @@ -1838,19 +1617,14 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(builderForValue.build()); @@ -1861,20 +1635,14 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( - int index, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - builderForValue) { + int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(index, builderForValue.build()); @@ -1885,23 +1653,18 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addAllCompletionResults( - java.lang.Iterable< - ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult> - values) { + java.lang.Iterable values) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completionResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, completionResults_); onChanged(); } else { completionResultsBuilder_.addAllMessages(values); @@ -1909,15 +1672,11 @@ public Builder addAllCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder clearCompletionResults() { if (completionResultsBuilder_ == null) { @@ -1930,15 +1689,11 @@ public Builder clearCompletionResults() { return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder removeCompletionResults(int index) { if (completionResultsBuilder_ == null) { @@ -1951,54 +1706,39 @@ public Builder removeCompletionResults(int index) { return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - getCompletionResultsBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder( + int index) { return getCompletionResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index) { if (completionResultsBuilder_ == null) { - return completionResults_.get(index); - } else { + return completionResults_.get(index); } else { return completionResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List< - ? extends - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> - getCompletionResultsOrBuilderList() { + public java.util.List + getCompletionResultsOrBuilderList() { if (completionResultsBuilder_ != null) { return completionResultsBuilder_.getMessageOrBuilderList(); } else { @@ -2006,70 +1746,45 @@ public Builder removeCompletionResults(int index) { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - addCompletionResultsBuilder() { - return getCompletionResultsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder() { + return getCompletionResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - addCompletionResultsBuilder(int index) { - return getCompletionResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder( + int index) { + return getCompletionResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder> - getCompletionResultsBuilderList() { + public java.util.List + getCompletionResultsBuilderList() { return getCompletionResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsFieldBuilder() { if (completionResultsBuilder_ == null) { - completionResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( + completionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2081,49 +1796,36 @@ public Builder removeCompletionResults(int index) { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2145,8 +1847,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2166,8 +1866,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2179,9 +1877,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -2193,8 +1889,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2214,8 +1908,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2224,13 +1916,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2242,14 +1932,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2258,24 +1945,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2285,12 +1969,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryResponse)
   private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryResponse();
   }
@@ -2299,27 +1983,27 @@ public static com.google.cloud.talent.v4beta1.CompleteQueryResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CompleteQueryResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CompleteQueryResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2334,4 +2018,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.CompleteQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
similarity index 54%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
index 1dbfeca0f11c..96a27c0ade3d 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
@@ -1,123 +1,77 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/completion_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface CompleteQueryResponseOrBuilder
-    extends
+public interface CompleteQueryResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - java.util.List + java.util.List getCompletionResultsList(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults( - int index); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ int getCompletionResultsCount(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + java.util.List getCompletionResultsOrBuilderList(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
new file mode 100644
index 000000000000..aac3780db1aa
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
@@ -0,0 +1,126 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/completion_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public final class CompletionServiceProto {
+  private CompletionServiceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n4google/cloud/talent/v4beta1/completion" +
+      "_service.proto\022\033google.cloud.talent.v4be" +
+      "ta1\032\034google/api/annotations.proto\032\027googl" +
+      "e/api/client.proto\032\037google/api/field_beh" +
+      "avior.proto\032\031google/api/resource.proto\032(" +
+      "google/cloud/talent/v4beta1/common.proto" +
+      "\"\223\004\n\024CompleteQueryRequest\0223\n\006parent\030\001 \001(" +
+      "\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022\022" +
+      "\n\005query\030\002 \001(\tB\003\340A\002\022\026\n\016language_codes\030\003 \003" +
+      "(\t\022\026\n\tpage_size\030\004 \001(\005B\003\340A\002\0221\n\007company\030\005 " +
+      "\001(\tB \372A\035\n\033jobs.googleapis.com/Company\022P\n" +
+      "\005scope\030\006 \001(\0162A.google.cloud.talent.v4bet" +
+      "a1.CompleteQueryRequest.CompletionScope\022" +
+      "N\n\004type\030\007 \001(\0162@.google.cloud.talent.v4be" +
+      "ta1.CompleteQueryRequest.CompletionType\"" +
+      "K\n\017CompletionScope\022 \n\034COMPLETION_SCOPE_U" +
+      "NSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016" +
+      "CompletionType\022\037\n\033COMPLETION_TYPE_UNSPEC" +
+      "IFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002" +
+      "\022\014\n\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse" +
+      "\022_\n\022completion_results\030\001 \003(\0132C.google.cl" +
+      "oud.talent.v4beta1.CompleteQueryResponse" +
+      ".CompletionResult\022?\n\010metadata\030\002 \001(\0132-.go" +
+      "ogle.cloud.talent.v4beta1.ResponseMetada" +
+      "ta\032\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 " +
+      "\001(\t\022N\n\004type\030\002 \001(\0162@.google.cloud.talent." +
+      "v4beta1.CompleteQueryRequest.CompletionT" +
+      "ype\022\021\n\timage_uri\030\003 \001(\t2\325\002\n\nCompletion\022\330\001" +
+      "\n\rCompleteQuery\0221.google.cloud.talent.v4" +
+      "beta1.CompleteQueryRequest\0322.google.clou" +
+      "d.talent.v4beta1.CompleteQueryResponse\"`" +
+      "\202\323\344\223\002Z\022//v4beta1/{parent=projects/*/tena" +
+      "nts/*}:completeZ\'\022%/v4beta1/{parent=proj" +
+      "ects/*}:complete\032l\312A\023jobs.googleapis.com" +
+      "\322AShttps://www.googleapis.com/auth/cloud" +
+      "-platform,https://www.googleapis.com/aut" +
+      "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet" +
+      "a1B\026CompletionServiceProtoP\001ZAgoogle.gol" +
+      "ang.org/genproto/googleapis/cloud/talent" +
+      "/v4beta1;talent\242\002\003CTSb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(),
+        });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor,
+        new java.lang.String[] { "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type", });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor,
+        new java.lang.String[] { "CompletionResults", "Metadata", });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor =
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor,
+        new java.lang.String[] { "Suggestion", "Type", "ImageUri", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.talent.v4beta1.CommonProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
similarity index 63%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
index 0b278a03521a..29b1143ad456 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/event_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * The report event request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateClientEventRequest} */ -public final class CreateClientEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClientEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateClientEventRequest) CreateClientEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClientEventRequest.newBuilder() to construct. private CreateClientEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClientEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClientEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, - com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -107,18 +82,17 @@ public java.lang.String getParent() {
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,17 +103,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CLIENT_EVENT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ @java.lang.Override @@ -147,36 +116,25 @@ public boolean hasClientEvent() { return clientEvent_ != null; } /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ClientEvent getClientEvent() { - return clientEvent_ == null - ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; } /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder() { @@ -184,7 +142,6 @@ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -216,7 +174,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (clientEvent_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientEvent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getClientEvent()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,18 +185,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateClientEventRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateClientEventRequest other = - (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; + com.google.cloud.talent.v4beta1.CreateClientEventRequest other = (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - if (!getClientEvent().equals(other.getClientEvent())) return false; + if (!getClientEvent() + .equals(other.getClientEvent())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -262,136 +222,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.CreateClientEventRequest prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateClientEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The report event request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateClientEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateClientEventRequest) com.google.cloud.talent.v4beta1.CreateClientEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, - com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateClientEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override @@ -428,8 +381,7 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateClientEventRequest result = - new com.google.cloud.talent.v4beta1.CreateClientEventRequest(this); + com.google.cloud.talent.v4beta1.CreateClientEventRequest result = new com.google.cloud.talent.v4beta1.CreateClientEventRequest(this); result.parent_ = parent_; if (clientEventBuilder_ == null) { result.clientEvent_ = clientEvent_; @@ -444,39 +396,38 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateClientEventRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateClientEventRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateClientEventRequest)other); } else { super.mergeFrom(other); return this; @@ -484,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateClientEventRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -519,25 +469,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getClientEventFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getClientEventFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,8 +499,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -559,16 +506,14 @@ public Builder mergeFrom(
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -577,8 +522,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -586,17 +529,16 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -604,8 +546,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -613,25 +553,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -639,21 +575,16 @@ public Builder setParent(java.lang.String value) {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -661,19 +592,17 @@ public Builder clearParent() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -681,61 +610,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, - com.google.cloud.talent.v4beta1.ClientEvent.Builder, - com.google.cloud.talent.v4beta1.ClientEventOrBuilder> - clientEventBuilder_; + com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder> clientEventBuilder_; /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ public boolean hasClientEvent() { return clientEventBuilder_ != null || clientEvent_ != null; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ public com.google.cloud.talent.v4beta1.ClientEvent getClientEvent() { if (clientEventBuilder_ == null) { - return clientEvent_ == null - ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; } else { return clientEventBuilder_.getMessage(); } } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) { if (clientEventBuilder_ == null) { @@ -751,16 +661,12 @@ public Builder setClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setClientEvent( com.google.cloud.talent.v4beta1.ClientEvent.Builder builderForValue) { @@ -774,24 +680,18 @@ public Builder setClientEvent( return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) { if (clientEventBuilder_ == null) { if (clientEvent_ != null) { clientEvent_ = - com.google.cloud.talent.v4beta1.ClientEvent.newBuilder(clientEvent_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.ClientEvent.newBuilder(clientEvent_).mergeFrom(value).buildPartial(); } else { clientEvent_ = value; } @@ -803,16 +703,12 @@ public Builder mergeClientEvent(com.google.cloud.talent.v4beta1.ClientEvent valu return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearClientEvent() { if (clientEventBuilder_ == null) { @@ -826,74 +722,58 @@ public Builder clearClientEvent() { return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.ClientEvent.Builder getClientEventBuilder() { - + onChanged(); return getClientEventFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder() { if (clientEventBuilder_ != null) { return clientEventBuilder_.getMessageOrBuilder(); } else { - return clientEvent_ == null - ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? + com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; } } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, - com.google.cloud.talent.v4beta1.ClientEvent.Builder, - com.google.cloud.talent.v4beta1.ClientEventOrBuilder> + com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder> getClientEventFieldBuilder() { if (clientEventBuilder_ == null) { - clientEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, - com.google.cloud.talent.v4beta1.ClientEvent.Builder, - com.google.cloud.talent.v4beta1.ClientEventOrBuilder>( - getClientEvent(), getParentForChildren(), isClean()); + clientEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder>( + getClientEvent(), + getParentForChildren(), + isClean()); clientEvent_ = null; } return clientEventBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -903,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateClientEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateClientEventRequest) private static final com.google.cloud.talent.v4beta1.CreateClientEventRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateClientEventRequest(); } @@ -917,27 +797,27 @@ public static com.google.cloud.talent.v4beta1.CreateClientEventRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClientEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClientEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -952,4 +832,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateClientEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java similarity index 55% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java index 6e2e3d9c3e26..aed1052e582d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateClientEventRequestOrBuilder - extends +public interface CreateClientEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateClientEventRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -33,16 +15,11 @@ public interface CreateClientEventRequestOrBuilder
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -50,55 +27,39 @@ public interface CreateClientEventRequestOrBuilder
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ boolean hasClientEvent(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ com.google.cloud.talent.v4beta1.ClientEvent getClientEvent(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java index 3a01983324c1..63e7830509aa 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The Request of the CreateCompany method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateCompanyRequest} */ -public final class CreateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateCompanyRequest) CreateCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCompanyRequest.newBuilder() to construct. private CreateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCompanyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, - com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -107,18 +82,17 @@ public java.lang.String getParent() {
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,16 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int COMPANY_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Company company_; /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ @java.lang.Override @@ -146,34 +115,23 @@ public boolean hasCompany() { return company_ != null; } /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company getCompany() { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @@ -181,7 +139,6 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -213,7 +171,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (company_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompany()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCompany()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,18 +182,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateCompanyRequest other = - (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; + com.google.cloud.talent.v4beta1.CreateCompanyRequest other = (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - if (!getCompany().equals(other.getCompany())) return false; + if (!getCompany() + .equals(other.getCompany())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -259,135 +219,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request of the CreateCompany method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateCompanyRequest) com.google.cloud.talent.v4beta1.CreateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, - com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override @@ -424,8 +378,7 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateCompanyRequest result = - new com.google.cloud.talent.v4beta1.CreateCompanyRequest(this); + com.google.cloud.talent.v4beta1.CreateCompanyRequest result = new com.google.cloud.talent.v4beta1.CreateCompanyRequest(this); result.parent_ = parent_; if (companyBuilder_ == null) { result.company_ = company_; @@ -440,39 +393,38 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -480,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -515,25 +466,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getCompanyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,8 +496,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -555,16 +503,14 @@ public Builder mergeFrom(
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -573,8 +519,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -582,17 +526,16 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -600,8 +543,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -609,25 +550,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -635,21 +572,16 @@ public Builder setParent(java.lang.String value) {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -657,19 +589,17 @@ public Builder clearParent() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -677,58 +607,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> - companyBuilder_; + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companyBuilder_; /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ public com.google.cloud.talent.v4beta1.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } else { return companyBuilder_.getMessage(); } } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { @@ -744,17 +655,14 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder setCompany( + com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -765,23 +673,17 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builde return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4beta1.Company.newBuilder(company_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Company.newBuilder(company_).mergeFrom(value).buildPartial(); } else { company_ = value; } @@ -793,15 +695,11 @@ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -815,71 +713,55 @@ public Builder clearCompany() { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? + com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - getCompany(), getParentForChildren(), isClean()); + companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + getCompany(), + getParentForChildren(), + isClean()); company_ = null; } return companyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -889,12 +771,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateCompanyRequest) private static final com.google.cloud.talent.v4beta1.CreateCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateCompanyRequest(); } @@ -903,27 +785,27 @@ public static com.google.cloud.talent.v4beta1.CreateCompanyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -938,4 +820,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java similarity index 51% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java index 9d8ebf909be7..958278518b0e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateCompanyRequestOrBuilder - extends +public interface CreateCompanyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateCompanyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -33,16 +15,11 @@ public interface CreateCompanyRequestOrBuilder
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -50,52 +27,36 @@ public interface CreateCompanyRequestOrBuilder
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ boolean hasCompany(); /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ com.google.cloud.talent.v4beta1.Company getCompany(); /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java index 12700fd398fe..f7ae73206358 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Create job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateJobRequest} */ -public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateJobRequest) CreateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateJobRequest.class, - com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateJobRequest.class, com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -107,18 +82,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,15 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Job job_; /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ @java.lang.Override @@ -145,15 +115,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ @java.lang.Override @@ -161,14 +127,11 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @@ -176,7 +139,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -208,7 +171,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -218,18 +182,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateJobRequest other = - (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; + com.google.cloud.talent.v4beta1.CreateJobRequest other = (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -253,136 +218,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateJobRequest) com.google.cloud.talent.v4beta1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateJobRequest.class, - com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateJobRequest.class, com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override @@ -419,8 +378,7 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateJobRequest result = - new com.google.cloud.talent.v4beta1.CreateJobRequest(this); + com.google.cloud.talent.v4beta1.CreateJobRequest result = new com.google.cloud.talent.v4beta1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -435,39 +393,38 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -475,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -510,25 +466,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,8 +496,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -550,16 +503,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -568,8 +519,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -577,17 +526,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -595,8 +543,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -604,25 +550,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -630,21 +572,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -652,19 +589,17 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -672,35 +607,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -711,14 +635,11 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { @@ -734,16 +655,14 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -754,20 +673,17 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValu return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -779,14 +695,11 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -800,66 +713,55 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -869,12 +771,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateJobRequest) private static final com.google.cloud.talent.v4beta1.CreateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateJobRequest(); } @@ -883,27 +785,27 @@ public static com.google.cloud.talent.v4beta1.CreateJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -918,4 +820,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java similarity index 58% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java index 2713e432a75c..9a41f0619a5a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateJobRequestOrBuilder - extends +public interface CreateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface CreateJobRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,49 +27,36 @@ public interface CreateJobRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java index 1aaab0f75c51..cac7205f4e00 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The Request of the CreateTenant method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateTenantRequest} */ -public final class CreateTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateTenantRequest) CreateTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTenantRequest.newBuilder() to construct. private CreateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTenantRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateTenantRequest.class, - com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateTenantRequest.class, com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TENANT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Tenant tenant_; /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ @java.lang.Override @@ -143,15 +113,11 @@ public boolean hasTenant() { return tenant_ != null; } /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ @java.lang.Override @@ -159,14 +125,11 @@ public com.google.cloud.talent.v4beta1.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @@ -174,7 +137,6 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tenant_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTenant()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTenant()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,18 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateTenantRequest other = - (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; + com.google.cloud.talent.v4beta1.CreateTenantRequest other = (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - if (!getTenant().equals(other.getTenant())) return false; + if (!getTenant() + .equals(other.getTenant())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -252,135 +217,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request of the CreateTenant method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateTenantRequest) com.google.cloud.talent.v4beta1.CreateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateTenantRequest.class, - com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateTenantRequest.class, com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override @@ -417,8 +376,7 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateTenantRequest result = - new com.google.cloud.talent.v4beta1.CreateTenantRequest(this); + com.google.cloud.talent.v4beta1.CreateTenantRequest result = new com.google.cloud.talent.v4beta1.CreateTenantRequest(this); result.parent_ = parent_; if (tenantBuilder_ == null) { result.tenant_ = tenant_; @@ -433,39 +391,38 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -473,8 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -508,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getTenantFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -565,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -591,73 +539,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -665,58 +600,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> - tenantBuilder_; + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantBuilder_; /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ public com.google.cloud.talent.v4beta1.Tenant getTenant() { if (tenantBuilder_ == null) { - return tenant_ == null - ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() - : tenant_; + return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } else { return tenantBuilder_.getMessage(); } } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { @@ -732,17 +648,14 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder setTenant( + com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -753,23 +666,17 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderF return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -781,15 +688,11 @@ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -803,71 +706,55 @@ public Builder clearTenant() { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null - ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() - : tenant_; + return tenant_ == null ? + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder>( - getTenant(), getParentForChildren(), isClean()); + tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( + getTenant(), + getParentForChildren(), + isClean()); tenant_ = null; } return tenantBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -877,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateTenantRequest) private static final com.google.cloud.talent.v4beta1.CreateTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateTenantRequest(); } @@ -891,27 +778,27 @@ public static com.google.cloud.talent.v4beta1.CreateTenantRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java similarity index 54% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java index 85efb9675bce..424c9479c231 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java @@ -1,96 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateTenantRequestOrBuilder - extends +public interface CreateTenantRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateTenantRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ boolean hasTenant(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ com.google.cloud.talent.v4beta1.Tenant getTenant(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java index 7b477a792761..b63142b1ff8b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Custom attribute values that are either filterable or non-filterable.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CustomAttribute} */ -public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomAttribute extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CustomAttribute) CustomAttributeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomAttribute.newBuilder() to construct. private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; longValues_ = emptyLongList(); @@ -44,35 +26,32 @@ private CustomAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CustomAttribute.class, - com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); + com.google.cloud.talent.v4beta1.CustomAttribute.class, com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); } public static final int STRING_VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList stringValues_; /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -85,15 +64,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList getStringValuesList() { + public com.google.protobuf.ProtocolStringList + getStringValuesList() { return stringValues_; } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -106,15 +83,12 @@ public com.google.protobuf.ProtocolStringList getStringValuesList() {
    * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -127,7 +101,6 @@ public int getStringValuesCount() {
    * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -135,8 +108,6 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -149,19 +120,17 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString getStringValuesBytes(int index) { + public com.google.protobuf.ByteString + getStringValuesBytes(int index) { return stringValues_.getByteString(index); } public static final int LONG_VALUES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList longValues_; /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -170,16 +139,14 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) {
    * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ @java.lang.Override - public java.util.List getLongValuesList() { + public java.util.List + getLongValuesList() { return longValues_; } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -188,15 +155,12 @@ public java.util.List getLongValuesList() {
    * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -205,21 +169,17 @@ public int getLongValuesCount() {
    * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ public long getLongValues(int index) { return longValues_.getLong(index); } - private int longValuesMemoizedSerializedSize = -1; public static final int FILTERABLE_FIELD_NUMBER = 3; private boolean filterable_; /** - * - * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -228,7 +188,6 @@ public long getLongValues(int index) {
    * 
* * bool filterable = 3; - * * @return The filterable. */ @java.lang.Override @@ -239,8 +198,6 @@ public boolean getFilterable() { public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER = 4; private boolean keywordSearchable_; /** - * - * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -249,7 +206,6 @@ public boolean getFilterable() {
    * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ @java.lang.Override @@ -258,7 +214,6 @@ public boolean getKeywordSearchable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stringValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValues_.getRaw(i)); @@ -308,21 +264,24 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } longValuesMemoizedSerializedSize = dataSize; } if (filterable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, filterable_); } if (keywordSearchable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, keywordSearchable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, keywordSearchable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,18 +291,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CustomAttribute)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CustomAttribute other = - (com.google.cloud.talent.v4beta1.CustomAttribute) obj; - - if (!getStringValuesList().equals(other.getStringValuesList())) return false; - if (!getLongValuesList().equals(other.getLongValuesList())) return false; - if (getFilterable() != other.getFilterable()) return false; - if (getKeywordSearchable() != other.getKeywordSearchable()) return false; + com.google.cloud.talent.v4beta1.CustomAttribute other = (com.google.cloud.talent.v4beta1.CustomAttribute) obj; + + if (!getStringValuesList() + .equals(other.getStringValuesList())) return false; + if (!getLongValuesList() + .equals(other.getLongValuesList())) return false; + if (getFilterable() + != other.getFilterable()) return false; + if (getKeywordSearchable() + != other.getKeywordSearchable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,144 +326,140 @@ public int hashCode() { hash = (53 * hash) + getLongValuesList().hashCode(); } hash = (37 * hash) + FILTERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFilterable()); hash = (37 * hash) + KEYWORD_SEARCHABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeywordSearchable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getKeywordSearchable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CustomAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Custom attribute values that are either filterable or non-filterable.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CustomAttribute} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CustomAttribute) com.google.cloud.talent.v4beta1.CustomAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CustomAttribute.class, - com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); + com.google.cloud.talent.v4beta1.CustomAttribute.class, com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CustomAttribute.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override @@ -538,8 +496,7 @@ public com.google.cloud.talent.v4beta1.CustomAttribute build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { - com.google.cloud.talent.v4beta1.CustomAttribute result = - new com.google.cloud.talent.v4beta1.CustomAttribute(this); + com.google.cloud.talent.v4beta1.CustomAttribute result = new com.google.cloud.talent.v4beta1.CustomAttribute(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); @@ -561,39 +518,38 @@ public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CustomAttribute) { - return mergeFrom((com.google.cloud.talent.v4beta1.CustomAttribute) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CustomAttribute)other); } else { super.mergeFrom(other); return this; @@ -601,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CustomAttribute other) { - if (other == com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance()) return this; if (!other.stringValues_.isEmpty()) { if (stringValues_.isEmpty()) { stringValues_ = other.stringValues_; @@ -655,50 +610,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureStringValuesIsMutable(); - stringValues_.add(s); - break; - } // case 10 - case 16: - { - long v = input.readInt64(); - ensureLongValuesIsMutable(); - longValues_.addLong(v); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureLongValuesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - longValues_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 18 - case 24: - { - filterable_ = input.readBool(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureStringValuesIsMutable(); + stringValues_.add(s); + break; + } // case 10 + case 16: { + long v = input.readInt64(); + ensureLongValuesIsMutable(); + longValues_.addLong(v); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureLongValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + longValues_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 18 + case 24: { + filterable_ = input.readBool(); - break; - } // case 24 - case 32: - { - keywordSearchable_ = input.readBool(); + break; + } // case 24 + case 32: { + keywordSearchable_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -708,21 +657,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList stringValues_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStringValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -735,15 +679,13 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList getStringValuesList() { + public com.google.protobuf.ProtocolStringList + getStringValuesList() { return stringValues_.getUnmodifiableView(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -756,15 +698,12 @@ public com.google.protobuf.ProtocolStringList getStringValuesList() {
      * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -777,7 +716,6 @@ public int getStringValuesCount() {
      * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -785,8 +723,6 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -799,16 +735,14 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString getStringValuesBytes(int index) { + public com.google.protobuf.ByteString + getStringValuesBytes(int index) { return stringValues_.getByteString(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -821,23 +755,21 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) {
      * 
* * repeated string string_values = 1; - * * @param index The index to set the value at. * @param value The stringValues to set. * @return This builder for chaining. */ - public Builder setStringValues(int index, java.lang.String value) { + public Builder setStringValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.set(index, value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -850,22 +782,20 @@ public Builder setStringValues(int index, java.lang.String value) {
      * 
* * repeated string string_values = 1; - * * @param value The stringValues to add. * @return This builder for chaining. */ - public Builder addStringValues(java.lang.String value) { + public Builder addStringValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -878,19 +808,18 @@ public Builder addStringValues(java.lang.String value) {
      * 
* * repeated string string_values = 1; - * * @param values The stringValues to add. * @return This builder for chaining. */ - public Builder addAllStringValues(java.lang.Iterable values) { + public Builder addAllStringValues( + java.lang.Iterable values) { ensureStringValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stringValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stringValues_); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -903,7 +832,6 @@ public Builder addAllStringValues(java.lang.Iterable values) {
      * 
* * repeated string string_values = 1; - * * @return This builder for chaining. */ public Builder clearStringValues() { @@ -913,8 +841,6 @@ public Builder clearStringValues() { return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -927,15 +853,15 @@ public Builder clearStringValues() {
      * 
* * repeated string string_values = 1; - * * @param value The bytes of the stringValues to add. * @return This builder for chaining. */ - public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { + public Builder addStringValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); @@ -943,16 +869,13 @@ public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); - private void ensureLongValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -961,17 +884,14 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ - public java.util.List getLongValuesList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(longValues_) - : longValues_; + public java.util.List + getLongValuesList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(longValues_) : longValues_; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -980,15 +900,12 @@ public java.util.List getLongValuesList() {
      * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -997,7 +914,6 @@ public int getLongValuesCount() {
      * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ @@ -1005,8 +921,6 @@ public long getLongValues(int index) { return longValues_.getLong(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1015,20 +929,18 @@ public long getLongValues(int index) {
      * 
* * repeated int64 long_values = 2; - * * @param index The index to set the value at. * @param value The longValues to set. * @return This builder for chaining. */ - public Builder setLongValues(int index, long value) { + public Builder setLongValues( + int index, long value) { ensureLongValuesIsMutable(); longValues_.setLong(index, value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1037,7 +949,6 @@ public Builder setLongValues(int index, long value) {
      * 
* * repeated int64 long_values = 2; - * * @param value The longValues to add. * @return This builder for chaining. */ @@ -1048,8 +959,6 @@ public Builder addLongValues(long value) { return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1058,19 +967,18 @@ public Builder addLongValues(long value) {
      * 
* * repeated int64 long_values = 2; - * * @param values The longValues to add. * @return This builder for chaining. */ - public Builder addAllLongValues(java.lang.Iterable values) { + public Builder addAllLongValues( + java.lang.Iterable values) { ensureLongValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, longValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, longValues_); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1079,7 +987,6 @@ public Builder addAllLongValues(java.lang.Iterable val
      * 
* * repeated int64 long_values = 2; - * * @return This builder for chaining. */ public Builder clearLongValues() { @@ -1089,10 +996,8 @@ public Builder clearLongValues() { return this; } - private boolean filterable_; + private boolean filterable_ ; /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1101,7 +1006,6 @@ public Builder clearLongValues() {
      * 
* * bool filterable = 3; - * * @return The filterable. */ @java.lang.Override @@ -1109,8 +1013,6 @@ public boolean getFilterable() { return filterable_; } /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1119,19 +1021,16 @@ public boolean getFilterable() {
      * 
* * bool filterable = 3; - * * @param value The filterable to set. * @return This builder for chaining. */ public Builder setFilterable(boolean value) { - + filterable_ = value; onChanged(); return this; } /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1140,20 +1039,17 @@ public Builder setFilterable(boolean value) {
      * 
* * bool filterable = 3; - * * @return This builder for chaining. */ public Builder clearFilterable() { - + filterable_ = false; onChanged(); return this; } - private boolean keywordSearchable_; + private boolean keywordSearchable_ ; /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1162,7 +1058,6 @@ public Builder clearFilterable() {
      * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ @java.lang.Override @@ -1170,8 +1065,6 @@ public boolean getKeywordSearchable() { return keywordSearchable_; } /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1180,19 +1073,16 @@ public boolean getKeywordSearchable() {
      * 
* * bool keyword_searchable = 4; - * * @param value The keywordSearchable to set. * @return This builder for chaining. */ public Builder setKeywordSearchable(boolean value) { - + keywordSearchable_ = value; onChanged(); return this; } /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1201,18 +1091,17 @@ public Builder setKeywordSearchable(boolean value) {
      * 
* * bool keyword_searchable = 4; - * * @return This builder for chaining. */ public Builder clearKeywordSearchable() { - + keywordSearchable_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1222,12 +1111,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CustomAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CustomAttribute) private static final com.google.cloud.talent.v4beta1.CustomAttribute DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CustomAttribute(); } @@ -1236,27 +1125,27 @@ public static com.google.cloud.talent.v4beta1.CustomAttribute getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1271,4 +1160,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CustomAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java similarity index 87% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java index 9a1302e5db3b..8a54c664071f 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface CustomAttributeOrBuilder - extends +public interface CustomAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CustomAttribute) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -38,13 +20,11 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - java.util.List getStringValuesList(); + java.util.List + getStringValuesList(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -57,13 +37,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ int getStringValuesCount(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -76,14 +53,11 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ java.lang.String getStringValues(int index); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -96,15 +70,13 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - com.google.protobuf.ByteString getStringValuesBytes(int index); + com.google.protobuf.ByteString + getStringValuesBytes(int index); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -113,13 +85,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ java.util.List getLongValuesList(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -128,13 +97,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ int getLongValuesCount(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -143,15 +109,12 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ long getLongValues(int index); /** - * - * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -160,14 +123,11 @@ public interface CustomAttributeOrBuilder
    * 
* * bool filterable = 3; - * * @return The filterable. */ boolean getFilterable(); /** - * - * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -176,7 +136,6 @@ public interface CustomAttributeOrBuilder
    * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ boolean getKeywordSearchable(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java similarity index 81% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java index 0e72a3fcae2a..ab7cc30ff6a6 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Educational degree level defined in International Standard Classification
  * of Education (ISCED).
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.DegreeType}
  */
-public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
+public enum DegreeType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -42,8 +24,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   DEGREE_TYPE_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -54,8 +34,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PRIMARY_EDUCATION(1),
   /**
-   *
-   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -67,8 +45,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   LOWER_SECONDARY_EDUCATION(2),
   /**
-   *
-   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -81,8 +57,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   UPPER_SECONDARY_EDUCATION(3),
   /**
-   *
-   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -94,8 +68,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   ADULT_REMEDIAL_EDUCATION(4),
   /**
-   *
-   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -107,8 +79,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   ASSOCIATES_OR_EQUIVALENT(5),
   /**
-   *
-   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -119,8 +89,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   BACHELORS_OR_EQUIVALENT(6),
   /**
-   *
-   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -131,8 +99,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   MASTERS_OR_EQUIVALENT(7),
   /**
-   *
-   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -147,8 +113,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -159,8 +123,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DEGREE_TYPE_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -171,8 +133,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PRIMARY_EDUCATION_VALUE = 1;
   /**
-   *
-   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -184,8 +144,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LOWER_SECONDARY_EDUCATION_VALUE = 2;
   /**
-   *
-   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -198,8 +156,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int UPPER_SECONDARY_EDUCATION_VALUE = 3;
   /**
-   *
-   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -211,8 +167,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ADULT_REMEDIAL_EDUCATION_VALUE = 4;
   /**
-   *
-   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -224,8 +178,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ASSOCIATES_OR_EQUIVALENT_VALUE = 5;
   /**
-   *
-   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -236,8 +188,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BACHELORS_OR_EQUIVALENT_VALUE = 6;
   /**
-   *
-   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -248,8 +198,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MASTERS_OR_EQUIVALENT_VALUE = 7;
   /**
-   *
-   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -261,6 +209,7 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DOCTORAL_OR_EQUIVALENT_VALUE = 8;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -285,61 +234,55 @@ public static DegreeType valueOf(int value) {
    */
   public static DegreeType forNumber(int value) {
     switch (value) {
-      case 0:
-        return DEGREE_TYPE_UNSPECIFIED;
-      case 1:
-        return PRIMARY_EDUCATION;
-      case 2:
-        return LOWER_SECONDARY_EDUCATION;
-      case 3:
-        return UPPER_SECONDARY_EDUCATION;
-      case 4:
-        return ADULT_REMEDIAL_EDUCATION;
-      case 5:
-        return ASSOCIATES_OR_EQUIVALENT;
-      case 6:
-        return BACHELORS_OR_EQUIVALENT;
-      case 7:
-        return MASTERS_OR_EQUIVALENT;
-      case 8:
-        return DOCTORAL_OR_EQUIVALENT;
-      default:
-        return null;
+      case 0: return DEGREE_TYPE_UNSPECIFIED;
+      case 1: return PRIMARY_EDUCATION;
+      case 2: return LOWER_SECONDARY_EDUCATION;
+      case 3: return UPPER_SECONDARY_EDUCATION;
+      case 4: return ADULT_REMEDIAL_EDUCATION;
+      case 5: return ASSOCIATES_OR_EQUIVALENT;
+      case 6: return BACHELORS_OR_EQUIVALENT;
+      case 7: return MASTERS_OR_EQUIVALENT;
+      case 8: return DOCTORAL_OR_EQUIVALENT;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DegreeType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DegreeType findValueByNumber(int number) {
+            return DegreeType.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public DegreeType findValueByNumber(int number) {
-          return DegreeType.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DegreeType[] VALUES = values();
 
-  public static DegreeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DegreeType valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -355,3 +298,4 @@ private DegreeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.DegreeType)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
similarity index 65%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
index 30cc735734c7..f07be11354ce 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Request to delete a company.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteCompanyRequest} */ -public final class DeleteCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteCompanyRequest) DeleteCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteCompanyRequest.newBuilder() to construct. private DeleteCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -111,18 +86,17 @@ public java.lang.String getName() {
    * example, "projects/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +141,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = - (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; + com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,135 +169,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteCompanyRequest) com.google.cloud.talent.v4beta1.DeleteCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override @@ -354,8 +322,7 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteCompanyRequest result = - new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(this); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest result = new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -365,39 +332,38 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -473,16 +434,14 @@ public Builder mergeFrom(
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -502,17 +459,16 @@ public java.lang.String getName() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -531,25 +485,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -559,21 +509,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -583,26 +528,24 @@ public Builder clearName() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest) private static final com.google.cloud.talent.v4beta1.DeleteCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(); } @@ -626,27 +569,27 @@ public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java similarity index 53% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java index ddfbf7a80814..0a0dab559ffa 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface DeleteCompanyRequestOrBuilder - extends +public interface DeleteCompanyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteCompanyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -35,16 +17,11 @@ public interface DeleteCompanyRequestOrBuilder
    * example, "projects/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -54,11 +31,9 @@ public interface DeleteCompanyRequestOrBuilder
    * example, "projects/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java index ef497c7d888d..b005f8975f28 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Delete job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteJobRequest} */ -public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteJobRequest) DeleteJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteJobRequest.class, - com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteJobRequest.class, com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -111,18 +86,17 @@ public java.lang.String getName() {
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +141,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteJobRequest other = - (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; + com.google.cloud.talent.v4beta1.DeleteJobRequest other = (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,136 +168,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteJobRequest) com.google.cloud.talent.v4beta1.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteJobRequest.class, - com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteJobRequest.class, com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override @@ -354,8 +322,7 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteJobRequest result = - new com.google.cloud.talent.v4beta1.DeleteJobRequest(this); + com.google.cloud.talent.v4beta1.DeleteJobRequest result = new com.google.cloud.talent.v4beta1.DeleteJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -365,39 +332,38 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteJobRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -473,16 +434,14 @@ public Builder mergeFrom(
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -502,17 +459,16 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -531,25 +485,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -559,21 +509,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -583,26 +528,24 @@ public Builder clearName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteJobRequest) private static final com.google.cloud.talent.v4beta1.DeleteJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteJobRequest(); } @@ -626,27 +569,27 @@ public static com.google.cloud.talent.v4beta1.DeleteJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java similarity index 51% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java index ff441ebae65b..017cd593e192 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface DeleteJobRequestOrBuilder - extends +public interface DeleteJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -35,16 +17,11 @@ public interface DeleteJobRequestOrBuilder
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -54,11 +31,9 @@ public interface DeleteJobRequestOrBuilder
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java index 1f0c0d6fe994..d51c2f5fde45 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request to delete a tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteTenantRequest} */ -public final class DeleteTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteTenantRequest) DeleteTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTenantRequest.newBuilder() to construct. private DeleteTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, - com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteTenantRequest other = - (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; + com.google.cloud.talent.v4beta1.DeleteTenantRequest other = (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,135 +163,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteTenantRequest) com.google.cloud.talent.v4beta1.DeleteTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, - com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteTenantRequest result = - new com.google.cloud.talent.v4beta1.DeleteTenantRequest(this); + com.google.cloud.talent.v4beta1.DeleteTenantRequest result = new com.google.cloud.talent.v4beta1.DeleteTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -399,8 +365,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -431,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -482,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -508,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteTenantRequest) private static final com.google.cloud.talent.v4beta1.DeleteTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteTenantRequest(); } @@ -605,27 +548,27 @@ public static com.google.cloud.talent.v4beta1.DeleteTenantRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java new file mode 100644 index 000000000000..7b3ca2a3b5a6 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface DeleteTenantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java similarity index 68% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java index 0523a79ba467..0c82a6c193c1 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Device information collected from the job seeker, candidate, or
  * other entity conducting the job search. Providing this information improves
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.DeviceInfo}
  */
-public final class DeviceInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeviceInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeviceInfo)
     DeviceInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeviceInfo.newBuilder() to construct.
   private DeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeviceInfo() {
     deviceType_ = 0;
     id_ = "";
@@ -46,43 +28,39 @@ private DeviceInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeviceInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.DeviceInfo.class,
-            com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
+            com.google.cloud.talent.v4beta1.DeviceInfo.class, com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enumeration describing an API access portal and exposure mechanism.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.DeviceInfo.DeviceType} */ - public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { + public enum DeviceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The device type isn't specified.
      * 
@@ -91,8 +69,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ DEVICE_TYPE_UNSPECIFIED(0), /** - * - * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -102,8 +78,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     WEB(1),
     /**
-     *
-     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -113,8 +87,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     MOBILE_WEB(2),
     /**
-     *
-     *
      * 
      * An Android device native application.
      * 
@@ -123,8 +95,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ ANDROID(3), /** - * - * *
      * An iOS device native application.
      * 
@@ -133,8 +103,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ IOS(4), /** - * - * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -144,8 +112,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOT(5),
     /**
-     *
-     *
      * 
      * Other devices types.
      * 
@@ -157,8 +123,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The device type isn't specified.
      * 
@@ -167,8 +131,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEVICE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -178,8 +140,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int WEB_VALUE = 1;
     /**
-     *
-     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -189,8 +149,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MOBILE_WEB_VALUE = 2;
     /**
-     *
-     *
      * 
      * An Android device native application.
      * 
@@ -199,8 +157,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANDROID_VALUE = 3; /** - * - * *
      * An iOS device native application.
      * 
@@ -209,8 +165,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IOS_VALUE = 4; /** - * - * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -220,8 +174,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOT_VALUE = 5;
     /**
-     *
-     *
      * 
      * Other devices types.
      * 
@@ -230,6 +182,7 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,57 +207,53 @@ public static DeviceType valueOf(int value) { */ public static DeviceType forNumber(int value) { switch (value) { - case 0: - return DEVICE_TYPE_UNSPECIFIED; - case 1: - return WEB; - case 2: - return MOBILE_WEB; - case 3: - return ANDROID; - case 4: - return IOS; - case 5: - return BOT; - case 6: - return OTHER; - default: - return null; + case 0: return DEVICE_TYPE_UNSPECIFIED; + case 1: return WEB; + case 2: return MOBILE_WEB; + case 3: return ANDROID; + case 4: return IOS; + case 5: return BOT; + case 6: return OTHER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DeviceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeviceType findValueByNumber(int number) { - return DeviceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final DeviceType[] VALUES = values(); - public static DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeviceType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -324,53 +273,39 @@ private DeviceType(int value) { public static final int DEVICE_TYPE_FIELD_NUMBER = 1; private int deviceType_; /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override - public int getDeviceTypeValue() { + @java.lang.Override public int getDeviceTypeValue() { return deviceType_; } /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null - ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED : result; } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -379,30 +314,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -411,7 +346,6 @@ public com.google.protobuf.ByteString getIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,10 +357,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (deviceType_ - != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (deviceType_ != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { @@ -441,10 +374,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (deviceType_ - != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deviceType_); + if (deviceType_ != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); @@ -457,16 +389,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeviceInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeviceInfo other = - (com.google.cloud.talent.v4beta1.DeviceInfo) obj; + com.google.cloud.talent.v4beta1.DeviceInfo other = (com.google.cloud.talent.v4beta1.DeviceInfo) obj; if (deviceType_ != other.deviceType_) return false; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,104 +419,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeviceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Device information collected from the job seeker, candidate, or
    * other entity conducting the job search. Providing this information improves
@@ -593,32 +518,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.DeviceInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeviceInfo)
       com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.DeviceInfo.class,
-              com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
+              com.google.cloud.talent.v4beta1.DeviceInfo.class, com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -630,9 +556,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
@@ -651,8 +577,7 @@ public com.google.cloud.talent.v4beta1.DeviceInfo build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() {
-      com.google.cloud.talent.v4beta1.DeviceInfo result =
-          new com.google.cloud.talent.v4beta1.DeviceInfo(this);
+      com.google.cloud.talent.v4beta1.DeviceInfo result = new com.google.cloud.talent.v4beta1.DeviceInfo(this);
       result.deviceType_ = deviceType_;
       result.id_ = id_;
       onBuilt();
@@ -663,39 +588,38 @@ public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.DeviceInfo) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.DeviceInfo) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.DeviceInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -737,25 +661,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                deviceType_ = input.readEnum();
+            case 8: {
+              deviceType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                id_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              id_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -768,67 +689,51 @@ public Builder mergeFrom(
 
     private int deviceType_ = 0;
     /**
-     *
-     *
      * 
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override - public int getDeviceTypeValue() { + @java.lang.Override public int getDeviceTypeValue() { return deviceType_; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @param value The enum numeric value on the wire for deviceType to set. * @return This builder for chaining. */ public Builder setDeviceTypeValue(int value) { - + deviceType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null - ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @param value The deviceType to set. * @return This builder for chaining. */ @@ -836,24 +741,21 @@ public Builder setDeviceType(com.google.cloud.talent.v4beta1.DeviceInfo.DeviceTy if (value == null) { throw new NullPointerException(); } - + deviceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return This builder for chaining. */ public Builder clearDeviceType() { - + deviceType_ = 0; onChanged(); return this; @@ -861,21 +763,19 @@ public Builder clearDeviceType() { private java.lang.Object id_ = ""; /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -884,22 +784,21 @@ public java.lang.String getId() { } } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -907,71 +806,64 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -981,12 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeviceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeviceInfo) private static final com.google.cloud.talent.v4beta1.DeviceInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeviceInfo(); } @@ -995,27 +887,27 @@ public static com.google.cloud.talent.v4beta1.DeviceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeviceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeviceInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeviceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java index d723c94a14d9..4117afcead67 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java @@ -1,77 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface DeviceInfoOrBuilder - extends +public interface DeviceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeviceInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ int getDeviceTypeValue(); /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType(); /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java index 010200f29ed8..281274bdd173 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents the employment type of a job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.EmploymentType} */ -public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { +public enum EmploymentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value if the employment type isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ EMPLOYMENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -50,8 +30,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FULL_TIME(1),
   /**
-   *
-   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -61,8 +39,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PART_TIME(2),
   /**
-   *
-   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -72,8 +48,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CONTRACTOR(3),
   /**
-   *
-   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -85,8 +59,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CONTRACT_TO_HIRE(4),
   /**
-   *
-   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -96,8 +68,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   TEMPORARY(5),
   /**
-   *
-   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -108,8 +78,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   INTERN(6),
   /**
-   *
-   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -119,8 +87,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   VOLUNTEER(7),
   /**
-   *
-   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -130,8 +96,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PER_DIEM(8),
   /**
-   *
-   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -142,8 +106,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FLY_IN_FLY_OUT(9),
   /**
-   *
-   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -155,8 +117,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the employment type isn't specified.
    * 
@@ -165,8 +125,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EMPLOYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -176,8 +134,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FULL_TIME_VALUE = 1;
   /**
-   *
-   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -187,8 +143,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PART_TIME_VALUE = 2;
   /**
-   *
-   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -198,8 +152,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CONTRACTOR_VALUE = 3;
   /**
-   *
-   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -211,8 +163,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CONTRACT_TO_HIRE_VALUE = 4;
   /**
-   *
-   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -222,8 +172,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TEMPORARY_VALUE = 5;
   /**
-   *
-   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -234,8 +182,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INTERN_VALUE = 6;
   /**
-   *
-   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -245,8 +191,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VOLUNTEER_VALUE = 7;
   /**
-   *
-   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -256,8 +200,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PER_DIEM_VALUE = 8;
   /**
-   *
-   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -268,8 +210,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FLY_IN_FLY_OUT_VALUE = 9;
   /**
-   *
-   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -278,6 +218,7 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_EMPLOYMENT_TYPE_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -302,65 +243,57 @@ public static EmploymentType valueOf(int value) { */ public static EmploymentType forNumber(int value) { switch (value) { - case 0: - return EMPLOYMENT_TYPE_UNSPECIFIED; - case 1: - return FULL_TIME; - case 2: - return PART_TIME; - case 3: - return CONTRACTOR; - case 4: - return CONTRACT_TO_HIRE; - case 5: - return TEMPORARY; - case 6: - return INTERN; - case 7: - return VOLUNTEER; - case 8: - return PER_DIEM; - case 9: - return FLY_IN_FLY_OUT; - case 10: - return OTHER_EMPLOYMENT_TYPE; - default: - return null; + case 0: return EMPLOYMENT_TYPE_UNSPECIFIED; + case 1: return FULL_TIME; + case 2: return PART_TIME; + case 3: return CONTRACTOR; + case 4: return CONTRACT_TO_HIRE; + case 5: return TEMPORARY; + case 6: return INTERN; + case 7: return VOLUNTEER; + case 8: return PER_DIEM; + case 9: return FLY_IN_FLY_OUT; + case 10: return OTHER_EMPLOYMENT_TYPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EmploymentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EmploymentType findValueByNumber(int number) { + return EmploymentType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EmploymentType findValueByNumber(int number) { - return EmploymentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(3); } private static final EmploymentType[] VALUES = values(); - public static EmploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EmploymentType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -376,3 +309,4 @@ private EmploymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.EmploymentType) } + diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java new file mode 100644 index 000000000000..909b5676cb97 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java @@ -0,0 +1,90 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/event.proto + +package com.google.cloud.talent.v4beta1; + +public final class EventProto { + private EventProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/talent/v4beta1/event.prot" + + "o\022\033google.cloud.talent.v4beta1\032\037google/a" + + "pi/field_behavior.proto\032\037google/protobuf" + + "/timestamp.proto\"\310\001\n\013ClientEvent\022\022\n\nrequ" + + "est_id\030\001 \001(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013c" + + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\002\022:\n\tjob_event\030\005 \001(\0132%.google.cl" + + "oud.talent.v4beta1.JobEventH\000\022\023\n\013event_n" + + "otes\030\t \001(\tB\007\n\005event\"\366\003\n\010JobEvent\022E\n\004type" + + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Job" + + "Event.JobEventTypeB\003\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340" + + "A\002\022\017\n\007profile\030\003 \001(\t\"\376\002\n\014JobEventType\022\036\n\032" + + "JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSI" + + "ON\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APP" + + "LICATION_START\020\004\022\026\n\022APPLICATION_FINISH\020\005" + + "\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n\024AP" + + "PLICATION_REDIRECT\020\007\022!\n\035APPLICATION_STAR" + + "T_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRECT_" + + "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" + + "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" + + "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" + + "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" + + "\nEventProtoP\001ZAgoogle.golang.org/genprot" + + "o/googleapis/cloud/talent/v4beta1;talent" + + "\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor, + new java.lang.String[] { "RequestId", "EventId", "CreateTime", "JobEvent", "EventNotes", "Event", }); + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor, + new java.lang.String[] { "Type", "Jobs", "Profile", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java new file mode 100644 index 000000000000..f03ff6b2311a --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java @@ -0,0 +1,88 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/event_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class EventServiceProto { + private EventServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/talent/v4beta1/event_serv" + + "ice.proto\022\033google.cloud.talent.v4beta1\032\034" + + "google/api/annotations.proto\032\027google/api" + + "/client.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\'googl" + + "e/cloud/talent/v4beta1/event.proto\"\224\001\n\030C" + + "reateClientEventRequest\0223\n\006parent\030\001 \001(\tB" + + "#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022C\n\014" + + "client_event\030\002 \001(\0132(.google.cloud.talent" + + ".v4beta1.ClientEventB\003\340A\0022\372\002\n\014EventServi" + + "ce\022\373\001\n\021CreateClientEvent\0225.google.cloud." + + "talent.v4beta1.CreateClientEventRequest\032" + + "(.google.cloud.talent.v4beta1.ClientEven" + + "t\"\204\001\202\323\344\223\002h\"3/v4beta1/{parent=projects/*/" + + "tenants/*}/clientEvents:\001*Z.\")/v4beta1/{" + + "parent=projects/*}/clientEvents:\001*\332A\023par" + + "ent,client_event\032l\312A\023jobs.googleapis.com" + + "\322AShttps://www.googleapis.com/auth/cloud" + + "-platform,https://www.googleapis.com/aut" + + "h/jobsB\177\n\037com.google.cloud.talent.v4beta" + + "1B\021EventServiceProtoP\001ZAgoogle.golang.or" + + "g/genproto/googleapis/cloud/talent/v4bet" + + "a1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.EventProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor, + new java.lang.String[] { "Parent", "ClientEvent", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.EventProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java new file mode 100644 index 000000000000..4b39f1746b4f --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java @@ -0,0 +1,152 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/filters.proto + +package com.google.cloud.talent.v4beta1; + +public final class FiltersProto { + private FiltersProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/talent/v4beta1/filters.pr" + + "oto\022\033google.cloud.talent.v4beta1\032\037google" + + "/api/field_behavior.proto\032(google/cloud/" + + "talent/v4beta1/common.proto\032\036google/prot" + + "obuf/duration.proto\032\030google/type/latlng." + + "proto\032\033google/type/timeofday.proto\"\200\005\n\010J" + + "obQuery\022\r\n\005query\030\001 \001(\t\022\033\n\023query_language" + + "_code\030\016 \001(\t\022\021\n\tcompanies\030\002 \003(\t\022E\n\020locati" + + "on_filters\030\003 \003(\0132+.google.cloud.talent.v" + + "4beta1.LocationFilter\022@\n\016job_categories\030" + + "\004 \003(\0162(.google.cloud.talent.v4beta1.JobC" + + "ategory\022B\n\016commute_filter\030\005 \001(\0132*.google" + + ".cloud.talent.v4beta1.CommuteFilter\022\035\n\025c" + + "ompany_display_names\030\006 \003(\t\022L\n\023compensati" + + "on_filter\030\007 \001(\0132/.google.cloud.talent.v4" + + "beta1.CompensationFilter\022\037\n\027custom_attri" + + "bute_filter\030\010 \001(\t\022\033\n\023disable_spell_check" + + "\030\t \001(\010\022E\n\020employment_types\030\n \003(\0162+.googl" + + "e.cloud.talent.v4beta1.EmploymentType\022\026\n" + + "\016language_codes\030\013 \003(\t\022G\n\022publish_time_ra" + + "nge\030\014 \001(\0132+.google.cloud.talent.v4beta1." + + "TimestampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\203\003" + + "\n\016LocationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013reg" + + "ion_code\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google" + + ".type.LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022" + + "a\n\026telecommute_preference\030\005 \001(\0162A.google" + + ".cloud.talent.v4beta1.LocationFilter.Tel" + + "ecommutePreference\022\017\n\007negated\030\006 \001(\010\"\225\001\n\025" + + "TelecommutePreference\022&\n\"TELECOMMUTE_PRE" + + "FERENCE_UNSPECIFIED\020\000\022\034\n\024TELECOMMUTE_EXC" + + "LUDED\020\001\032\002\010\001\022\027\n\023TELECOMMUTE_ALLOWED\020\002\022\035\n\031" + + "TELECOMMUTE_JOBS_EXCLUDED\020\003\"\312\003\n\022Compensa" + + "tionFilter\022M\n\004type\030\001 \001(\0162:.google.cloud." + + "talent.v4beta1.CompensationFilter.Filter" + + "TypeB\003\340A\002\022R\n\005units\030\002 \003(\0162>.google.cloud." + + "talent.v4beta1.CompensationInfo.Compensa" + + "tionUnitB\003\340A\002\022N\n\005range\030\003 \001(\0132?.google.cl" + + "oud.talent.v4beta1.CompensationInfo.Comp" + + "ensationRange\0228\n0include_jobs_with_unspe" + + "cified_compensation_range\030\004 \001(\010\"\206\001\n\nFilt" + + "erType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n\tU" + + "NIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANNUA" + + "LIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTAL_" + + "AMOUNT\020\004\"\313\003\n\rCommuteFilter\022G\n\016commute_me" + + "thod\030\001 \001(\0162*.google.cloud.talent.v4beta1" + + ".CommuteMethodB\003\340A\002\0223\n\021start_coordinates" + + "\030\002 \001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017trav" + + "el_duration\030\003 \001(\0132\031.google.protobuf.Dura" + + "tionB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004" + + " \001(\010\022N\n\014road_traffic\030\005 \001(\01626.google.clou" + + "d.talent.v4beta1.CommuteFilter.RoadTraff" + + "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" + + "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" + + "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" + + "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" + + "ogle.cloud.talent.v4beta1B\014FiltersProtoP" + + "\001ZAgoogle.golang.org/genproto/googleapis" + + "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor, + new java.lang.String[] { "Query", "QueryLanguageCode", "Companies", "LocationFilters", "JobCategories", "CommuteFilter", "CompanyDisplayNames", "CompensationFilter", "CustomAttributeFilter", "DisableSpellCheck", "EmploymentTypes", "LanguageCodes", "PublishTimeRange", "ExcludedJobs", }); + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor, + new java.lang.String[] { "Address", "RegionCode", "LatLng", "DistanceInMiles", "TelecommutePreference", "Negated", }); + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor, + new java.lang.String[] { "Type", "Units", "Range", "IncludeJobsWithUnspecifiedCompensationRange", }); + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor, + new java.lang.String[] { "CommuteMethod", "StartCoordinates", "TravelDuration", "AllowImpreciseAddresses", "RoadTraffic", "DepartureTime", "TrafficOption", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java index d384369e9a71..d471a20719f4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request for getting a company by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetCompanyRequest} */ -public final class GetCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetCompanyRequest) GetCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCompanyRequest.newBuilder() to construct. private GetCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetCompanyRequest.class, - com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetCompanyRequest.class, com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/api-test-project/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -111,18 +86,17 @@ public java.lang.String getName() {
    * example, "projects/api-test-project/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +141,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetCompanyRequest other = - (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; + com.google.cloud.talent.v4beta1.GetCompanyRequest other = (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,135 +169,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for getting a company by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetCompanyRequest) com.google.cloud.talent.v4beta1.GetCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetCompanyRequest.class, - com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetCompanyRequest.class, com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override @@ -354,8 +322,7 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetCompanyRequest result = - new com.google.cloud.talent.v4beta1.GetCompanyRequest(this); + com.google.cloud.talent.v4beta1.GetCompanyRequest result = new com.google.cloud.talent.v4beta1.GetCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -365,39 +332,38 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.GetCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -473,16 +434,14 @@ public Builder mergeFrom(
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -502,17 +459,16 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -531,25 +485,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -559,21 +509,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -583,26 +528,24 @@ public Builder clearName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetCompanyRequest) private static final com.google.cloud.talent.v4beta1.GetCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetCompanyRequest(); } @@ -626,27 +569,27 @@ public static com.google.cloud.talent.v4beta1.GetCompanyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java similarity index 54% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java index dae7329e9b4e..3a8a56e7aeef 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface GetCompanyRequestOrBuilder - extends +public interface GetCompanyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetCompanyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -35,16 +17,11 @@ public interface GetCompanyRequestOrBuilder
    * example, "projects/api-test-project/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -54,11 +31,9 @@ public interface GetCompanyRequestOrBuilder
    * example, "projects/api-test-project/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java index 941e441a4012..775d81b8b0cd 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetJobRequest} */ -public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetJobRequest) GetJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetJobRequest.class, - com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetJobRequest.class, com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -111,18 +86,17 @@ public java.lang.String getName() {
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +141,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetJobRequest other = - (com.google.cloud.talent.v4beta1.GetJobRequest) obj; + com.google.cloud.talent.v4beta1.GetJobRequest other = (com.google.cloud.talent.v4beta1.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,136 +168,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetJobRequest) com.google.cloud.talent.v4beta1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetJobRequest.class, - com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetJobRequest.class, com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override @@ -354,8 +322,7 @@ public com.google.cloud.talent.v4beta1.GetJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetJobRequest result = - new com.google.cloud.talent.v4beta1.GetJobRequest(this); + com.google.cloud.talent.v4beta1.GetJobRequest result = new com.google.cloud.talent.v4beta1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -365,39 +332,38 @@ public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -436,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -472,16 +434,14 @@ public Builder mergeFrom(
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -490,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -501,17 +459,16 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -530,25 +485,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -558,21 +509,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -582,26 +528,24 @@ public Builder clearName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -611,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetJobRequest) private static final com.google.cloud.talent.v4beta1.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetJobRequest(); } @@ -625,27 +569,27 @@ public static com.google.cloud.talent.v4beta1.GetJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java similarity index 51% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java index 9c20b03e4b69..e3a789068a5a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface GetJobRequestOrBuilder - extends +public interface GetJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -35,16 +17,11 @@ public interface GetJobRequestOrBuilder
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -54,11 +31,9 @@ public interface GetJobRequestOrBuilder
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java index dc3d1907304c..335a40231447 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request for getting a tenant by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest} */ -public final class GetTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetTenantRequest) GetTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTenantRequest.newBuilder() to construct. private GetTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetTenantRequest.class, - com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetTenantRequest.class, com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetTenantRequest other = - (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; + com.google.cloud.talent.v4beta1.GetTenantRequest other = (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for getting a tenant by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetTenantRequest) com.google.cloud.talent.v4beta1.GetTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetTenantRequest.class, - com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetTenantRequest.class, com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetTenantRequest result = - new com.google.cloud.talent.v4beta1.GetTenantRequest(this); + com.google.cloud.talent.v4beta1.GetTenantRequest result = new com.google.cloud.talent.v4beta1.GetTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -399,8 +365,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.GetTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -431,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -482,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -508,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetTenantRequest) private static final com.google.cloud.talent.v4beta1.GetTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetTenantRequest(); } @@ -605,27 +548,27 @@ public static com.google.cloud.talent.v4beta1.GetTenantRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java new file mode 100644 index 000000000000..7b3679d4f337 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface GetTenantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java new file mode 100644 index 000000000000..35920efb47f7 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java @@ -0,0 +1,78 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/histogram.proto + +package com.google.cloud.talent.v4beta1; + +public final class HistogramProto { + private HistogramProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/talent/v4beta1/histogram." + + "proto\022\033google.cloud.talent.v4beta1\")\n\016Hi" + + "stogramQuery\022\027\n\017histogram_query\030\001 \001(\t\"\266\001" + + "\n\024HistogramQueryResult\022\027\n\017histogram_quer" + + "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" + + "d.talent.v4beta1.HistogramQueryResult.Hi" + + "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" + + "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor, + new java.lang.String[] { "HistogramQuery", }); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor, + new java.lang.String[] { "HistogramQuery", "Histogram", }); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java similarity index 69% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java index dd6c694716e5..216804e4f60e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The histogram request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQuery} */ -public final class HistogramQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HistogramQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.HistogramQuery) HistogramQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HistogramQuery.newBuilder() to construct. private HistogramQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HistogramQuery() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HistogramQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQuery.class, - com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQuery.class, com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** - * - * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ @java.lang.Override @@ -89,15 +67,14 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** - * - * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -106,15 +83,16 @@ public java.lang.String getHistogramQuery() {
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -123,7 +101,6 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_); } @@ -159,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.HistogramQuery)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.HistogramQuery other = - (com.google.cloud.talent.v4beta1.HistogramQuery) obj; + com.google.cloud.talent.v4beta1.HistogramQuery other = (com.google.cloud.talent.v4beta1.HistogramQuery) obj; - if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; + if (!getHistogramQuery() + .equals(other.getHistogramQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.HistogramQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The histogram request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.HistogramQuery) com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQuery.class, - com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQuery.class, com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.HistogramQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override @@ -346,8 +318,7 @@ public com.google.cloud.talent.v4beta1.HistogramQuery build() { @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { - com.google.cloud.talent.v4beta1.HistogramQuery result = - new com.google.cloud.talent.v4beta1.HistogramQuery(this); + com.google.cloud.talent.v4beta1.HistogramQuery result = new com.google.cloud.talent.v4beta1.HistogramQuery(this); result.histogramQuery_ = histogramQuery_; onBuilt(); return result; @@ -357,39 +328,38 @@ public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.HistogramQuery) { - return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQuery) other); + return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQuery)other); } else { super.mergeFrom(other); return this; @@ -428,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object histogramQuery_ = ""; /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -463,13 +429,13 @@ public Builder mergeFrom(
      * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -478,8 +444,6 @@ public java.lang.String getHistogramQuery() { } } /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -488,14 +452,15 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -503,8 +468,6 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } } /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -513,22 +476,20 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() {
      * 
* * string histogram_query = 1; - * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery(java.lang.String value) { + public Builder setHistogramQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -537,18 +498,15 @@ public Builder setHistogramQuery(java.lang.String value) {
      * 
* * string histogram_query = 1; - * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -557,23 +515,23 @@ public Builder clearHistogramQuery() {
      * 
* * string histogram_query = 1; - * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -583,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.HistogramQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.HistogramQuery) private static final com.google.cloud.talent.v4beta1.HistogramQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.HistogramQuery(); } @@ -597,27 +555,27 @@ public static com.google.cloud.talent.v4beta1.HistogramQuery getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HistogramQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HistogramQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -632,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.HistogramQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java index 5f6869b8e4fe..2b6d25a54ccb 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; -public interface HistogramQueryOrBuilder - extends +public interface HistogramQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.HistogramQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -34,13 +16,10 @@ public interface HistogramQueryOrBuilder
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** - * - * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -49,8 +28,8 @@ public interface HistogramQueryOrBuilder
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString getHistogramQueryBytes(); + com.google.protobuf.ByteString + getHistogramQueryBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java similarity index 66% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java index 6ac148470011..582bf0b6587b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java @@ -1,94 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Histogram result that matches [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in searches.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQueryResult} */ -public final class HistogramQueryResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HistogramQueryResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.HistogramQueryResult) HistogramQueryResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HistogramQueryResult.newBuilder() to construct. private HistogramQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HistogramQueryResult() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HistogramQueryResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQueryResult.class, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQueryResult.class, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ @java.lang.Override @@ -97,29 +76,29 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -128,23 +107,24 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } public static final int HISTOGRAM_FIELD_NUMBER = 2; - private static final class HistogramDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - - private com.google.protobuf.MapField histogram_; - - private com.google.protobuf.MapField internalGetHistogram() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Long> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> histogram_; + private com.google.protobuf.MapField + internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } @@ -153,8 +133,6 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** - * - * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -168,22 +146,22 @@ public int getHistogramCount() {
    *
    * map<string, int64> histogram = 2;
    */
+
   @java.lang.Override
-  public boolean containsHistogram(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHistogram(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHistogram().getMap().containsKey(key);
   }
-  /** Use {@link #getHistogramMap()} instead. */
+  /**
+   * Use {@link #getHistogramMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHistogram() {
     return getHistogramMap();
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -198,12 +176,11 @@ public java.util.Map getHistogram() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
+
   public java.util.Map getHistogramMap() {
     return internalGetHistogram().getMap();
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -218,16 +195,16 @@ public java.util.Map getHistogramMap() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-  public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHistogram().getMap();
+
+  public long getHistogramOrDefault(
+      java.lang.String key,
+      long defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHistogram().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -242,11 +219,12 @@ public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-  public long getHistogramOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHistogram().getMap();
+
+  public long getHistogramOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHistogram().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -254,7 +232,6 @@ public long getHistogramOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -266,12 +243,17 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHistogram(), HistogramDefaultEntryHolder.defaultEntry, 2);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHistogram(),
+        HistogramDefaultEntryHolder.defaultEntry,
+        2);
     getUnknownFields().writeTo(output);
   }
 
@@ -284,15 +266,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, histogramQuery_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHistogram().getMap().entrySet()) {
-      com.google.protobuf.MapEntry histogram__ =
-          HistogramDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, histogram__);
+    for (java.util.Map.Entry entry
+         : internalGetHistogram().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      histogram__ = HistogramDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, histogram__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -302,16 +284,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.HistogramQueryResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.HistogramQueryResult other =
-        (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj;
+    com.google.cloud.talent.v4beta1.HistogramQueryResult other = (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj;
 
-    if (!getHistogramQuery().equals(other.getHistogramQuery())) return false;
-    if (!internalGetHistogram().equals(other.internalGetHistogram())) return false;
+    if (!getHistogramQuery()
+        .equals(other.getHistogramQuery())) return false;
+    if (!internalGetHistogram().equals(
+        other.internalGetHistogram())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -335,155 +318,151 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.HistogramQueryResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Histogram result that matches [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in searches.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQueryResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.HistogramQueryResult) com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 2: return internalGetMutableHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQueryResult.class, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQueryResult.class, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.HistogramQueryResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @java.lang.Override @@ -515,8 +494,7 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult build() { @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { - com.google.cloud.talent.v4beta1.HistogramQueryResult result = - new com.google.cloud.talent.v4beta1.HistogramQueryResult(this); + com.google.cloud.talent.v4beta1.HistogramQueryResult result = new com.google.cloud.talent.v4beta1.HistogramQueryResult(this); int from_bitField0_ = bitField0_; result.histogramQuery_ = histogramQuery_; result.histogram_ = internalGetHistogram(); @@ -529,39 +507,38 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.HistogramQueryResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQueryResult) other); + return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQueryResult)other); } else { super.mergeFrom(other); return this; @@ -569,13 +546,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.HistogramQueryResult other) { - if (other == com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()) return this; if (!other.getHistogramQuery().isEmpty()) { histogramQuery_ = other.histogramQuery_; onChanged(); } - internalGetMutableHistogram().mergeFrom(other.internalGetHistogram()); + internalGetMutableHistogram().mergeFrom( + other.internalGetHistogram()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -602,30 +579,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - com.google.protobuf.MapEntry histogram__ = - input.readMessage( - HistogramDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableHistogram() - .getMutableMap() - .put(histogram__.getKey(), histogram__.getValue()); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + histogram__ = input.readMessage( + HistogramDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableHistogram().getMutableMap().put( + histogram__.getKey(), histogram__.getValue()); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,25 +607,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object histogramQuery_ = ""; /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -662,21 +631,20 @@ public java.lang.String getHistogramQuery() { } } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -684,82 +652,75 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery(java.lang.String value) { + public Builder setHistogramQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - private com.google.protobuf.MapField histogram_; - - private com.google.protobuf.MapField internalGetHistogram() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> histogram_; + private com.google.protobuf.MapField + internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } - private com.google.protobuf.MapField - internalGetMutableHistogram() { - onChanged(); - ; + internalGetMutableHistogram() { + onChanged();; if (histogram_ == null) { - histogram_ = - com.google.protobuf.MapField.newMapField(HistogramDefaultEntryHolder.defaultEntry); + histogram_ = com.google.protobuf.MapField.newMapField( + HistogramDefaultEntryHolder.defaultEntry); } if (!histogram_.isMutable()) { histogram_ = histogram_.copy(); @@ -771,8 +732,6 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** - * - * *
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -786,22 +745,22 @@ public int getHistogramCount() {
      *
      * map<string, int64> histogram = 2;
      */
+
     @java.lang.Override
-    public boolean containsHistogram(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHistogram(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHistogram().getMap().containsKey(key);
     }
-    /** Use {@link #getHistogramMap()} instead. */
+    /**
+     * Use {@link #getHistogramMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHistogram() {
       return getHistogramMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -816,12 +775,11 @@ public java.util.Map getHistogram() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
+
     public java.util.Map getHistogramMap() {
       return internalGetHistogram().getMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -836,16 +794,16 @@ public java.util.Map getHistogramMap() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-    public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHistogram().getMap();
+
+    public long getHistogramOrDefault(
+        java.lang.String key,
+        long defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHistogram().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -860,11 +818,12 @@ public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-    public long getHistogramOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHistogram().getMap();
+
+    public long getHistogramOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHistogram().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -872,12 +831,11 @@ public long getHistogramOrThrow(java.lang.String key) {
     }
 
     public Builder clearHistogram() {
-      internalGetMutableHistogram().getMutableMap().clear();
+      internalGetMutableHistogram().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -891,21 +849,23 @@ public Builder clearHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder removeHistogram(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHistogram().getMutableMap().remove(key);
+
+    public Builder removeHistogram(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHistogram().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHistogram() {
+    public java.util.Map
+    getMutableHistogram() {
       return internalGetMutableHistogram().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -919,17 +879,16 @@ public java.util.Map getMutableHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putHistogram(java.lang.String key, long value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-
-      internalGetMutableHistogram().getMutableMap().put(key, value);
+    public Builder putHistogram(
+        java.lang.String key,
+        long value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      
+      internalGetMutableHistogram().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -943,13 +902,16 @@ public Builder putHistogram(java.lang.String key, long value) {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putAllHistogram(java.util.Map values) {
-      internalGetMutableHistogram().getMutableMap().putAll(values);
+
+    public Builder putAllHistogram(
+        java.util.Map values) {
+      internalGetMutableHistogram().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -959,12 +921,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.HistogramQueryResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.HistogramQueryResult)
   private static final com.google.cloud.talent.v4beta1.HistogramQueryResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.HistogramQueryResult();
   }
@@ -973,27 +935,27 @@ public static com.google.cloud.talent.v4beta1.HistogramQueryResult getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HistogramQueryResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HistogramQueryResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1008,4 +970,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.HistogramQueryResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
similarity index 76%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
index 1aebca305fb1..35045e571b0f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
@@ -1,56 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/histogram.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface HistogramQueryResultOrBuilder
-    extends
+public interface HistogramQueryResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.HistogramQueryResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString getHistogramQueryBytes(); + com.google.protobuf.ByteString + getHistogramQueryBytes(); /** - * - * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -66,8 +43,6 @@ public interface HistogramQueryResultOrBuilder
    */
   int getHistogramCount();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -81,13 +56,15 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  boolean containsHistogram(java.lang.String key);
-  /** Use {@link #getHistogramMap()} instead. */
+  boolean containsHistogram(
+      java.lang.String key);
+  /**
+   * Use {@link #getHistogramMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHistogram();
+  java.util.Map
+  getHistogram();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -101,10 +78,9 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  java.util.Map getHistogramMap();
+  java.util.Map
+  getHistogramMap();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -118,10 +94,11 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  long getHistogramOrDefault(java.lang.String key, long defaultValue);
+
+  long getHistogramOrDefault(
+      java.lang.String key,
+      long defaultValue);
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -135,5 +112,7 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  long getHistogramOrThrow(java.lang.String key);
+
+  long getHistogramOrThrow(
+      java.lang.String key);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
similarity index 68%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
index 1ba1e845509d..63c0406d239b 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Option for HTML content sanitization on user input fields, for example, job
  * description. By setting this option, user can determine whether and how
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.HtmlSanitization}
  */
-public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum {
+public enum HtmlSanitization
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +23,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ HTML_SANITIZATION_UNSPECIFIED(0), /** - * - * *
    * Disables sanitization on HTML input.
    * 
@@ -51,8 +31,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ HTML_SANITIZATION_DISABLED(1), /** - * - * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -65,8 +43,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -75,8 +51,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTML_SANITIZATION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Disables sanitization on HTML input.
    * 
@@ -85,8 +59,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTML_SANITIZATION_DISABLED_VALUE = 1; /** - * - * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -96,6 +68,7 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int SIMPLE_FORMATTING_ONLY_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,49 +93,49 @@ public static HtmlSanitization valueOf(int value) {
    */
   public static HtmlSanitization forNumber(int value) {
     switch (value) {
-      case 0:
-        return HTML_SANITIZATION_UNSPECIFIED;
-      case 1:
-        return HTML_SANITIZATION_DISABLED;
-      case 2:
-        return SIMPLE_FORMATTING_ONLY;
-      default:
-        return null;
+      case 0: return HTML_SANITIZATION_UNSPECIFIED;
+      case 1: return HTML_SANITIZATION_DISABLED;
+      case 2: return SIMPLE_FORMATTING_ONLY;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public HtmlSanitization findValueByNumber(int number) {
-          return HtmlSanitization.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      HtmlSanitization> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public HtmlSanitization findValueByNumber(int number) {
+            return HtmlSanitization.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(8);
   }
 
   private static final HtmlSanitization[] VALUES = values();
 
-  public static HtmlSanitization valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static HtmlSanitization valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -178,3 +151,4 @@ private HtmlSanitization(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.HtmlSanitization)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
similarity index 80%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
index eb75c3c3d5dc..62250d83d94b 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * A Job resource represents a job posting (also referred to as a "job listing"
  * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Job}
  */
-public final class Job extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Job extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job)
     JobOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Job() {
     name_ = "";
     company_ = "";
@@ -62,49 +44,46 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.JobResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 10:
         return internalGetCustomAttributes();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.JobResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Job.class,
-            com.google.cloud.talent.v4beta1.Job.Builder.class);
+            com.google.cloud.talent.v4beta1.Job.class, com.google.cloud.talent.v4beta1.Job.Builder.class);
   }
 
-  public interface ApplicationInfoOrBuilder
-      extends
+  public interface ApplicationInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ApplicationInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -112,13 +91,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - java.util.List getEmailsList(); + java.util.List + getEmailsList(); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -126,13 +103,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @return The count of emails. */ int getEmailsCount(); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -140,14 +114,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ java.lang.String getEmails(int index); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -155,15 +126,13 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - com.google.protobuf.ByteString getEmailsBytes(int index); + com.google.protobuf.ByteString + getEmailsBytes(int index); /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -173,13 +142,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * string instruction = 2; - * * @return The instruction. */ java.lang.String getInstruction(); /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -189,14 +155,12 @@ public interface ApplicationInfoOrBuilder
      * 
* * string instruction = 2; - * * @return The bytes for instruction. */ - com.google.protobuf.ByteString getInstructionBytes(); + com.google.protobuf.ByteString + getInstructionBytes(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -204,13 +168,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -218,13 +180,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -232,14 +191,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -247,31 +203,28 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); } /** - * - * *
    * Application related details of a job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo} */ - public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ApplicationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo) ApplicationInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplicationInfo.newBuilder() to construct. private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ApplicationInfo() { emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; instruction_ = ""; @@ -280,35 +233,32 @@ private ApplicationInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ApplicationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); } public static final int EMAILS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList emails_; /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -316,15 +266,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList getEmailsList() { + public com.google.protobuf.ProtocolStringList + getEmailsList() { return emails_; } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -332,15 +280,12 @@ public com.google.protobuf.ProtocolStringList getEmailsList() {
      * 
* * repeated string emails = 1; - * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -348,7 +293,6 @@ public int getEmailsCount() {
      * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -356,8 +300,6 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -365,19 +307,17 @@ public java.lang.String getEmails(int index) {
      * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString getEmailsBytes(int index) { + public com.google.protobuf.ByteString + getEmailsBytes(int index) { return emails_.getByteString(index); } public static final int INSTRUCTION_FIELD_NUMBER = 2; private volatile java.lang.Object instruction_; /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -387,7 +327,6 @@ public com.google.protobuf.ByteString getEmailsBytes(int index) {
      * 
* * string instruction = 2; - * * @return The instruction. */ @java.lang.Override @@ -396,15 +335,14 @@ public java.lang.String getInstruction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; } } /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -414,15 +352,16 @@ public java.lang.String getInstruction() {
      * 
* * string instruction = 2; - * * @return The bytes for instruction. */ @java.lang.Override - public com.google.protobuf.ByteString getInstructionBytes() { + public com.google.protobuf.ByteString + getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instruction_ = b; return b; } else { @@ -433,8 +372,6 @@ public com.google.protobuf.ByteString getInstructionBytes() { public static final int URIS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uris_; /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -442,15 +379,13 @@ public com.google.protobuf.ByteString getInstructionBytes() {
      * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -458,15 +393,12 @@ public com.google.protobuf.ProtocolStringList getUrisList() {
      * 
* * repeated string uris = 3; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -474,7 +406,6 @@ public int getUrisCount() {
      * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -482,8 +413,6 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -491,16 +420,15 @@ public java.lang.String getUris(int index) {
      * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,7 +440,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < emails_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i)); } @@ -558,17 +487,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = - (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; + com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; - if (!getEmailsList().equals(other.getEmailsList())) return false; - if (!getInstruction().equals(other.getInstruction())) return false; - if (!getUrisList().equals(other.getUrisList())) return false; + if (!getEmailsList() + .equals(other.getEmailsList())) return false; + if (!getInstruction() + .equals(other.getInstruction())) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -596,94 +527,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -693,41 +617,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Application related details of a job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo) com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -741,9 +663,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override @@ -762,8 +684,7 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { - com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = - new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); @@ -784,41 +705,38 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo)other); } else { super.mergeFrom(other); return this; @@ -826,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ApplicationInfo other) { - if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()) return this; if (!other.emails_.isEmpty()) { if (emails_.isEmpty()) { emails_ = other.emails_; @@ -878,33 +795,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmailsIsMutable(); - emails_.add(s); - break; - } // case 10 - case 18: - { - instruction_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmailsIsMutable(); + emails_.add(s); + break; + } // case 10 + case 18: { + instruction_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -914,21 +827,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList emails_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEmailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -936,15 +844,13 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList getEmailsList() { + public com.google.protobuf.ProtocolStringList + getEmailsList() { return emails_.getUnmodifiableView(); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -952,15 +858,12 @@ public com.google.protobuf.ProtocolStringList getEmailsList() {
        * 
* * repeated string emails = 1; - * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -968,7 +871,6 @@ public int getEmailsCount() {
        * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -976,8 +878,6 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -985,16 +885,14 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString getEmailsBytes(int index) { + public com.google.protobuf.ByteString + getEmailsBytes(int index) { return emails_.getByteString(index); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1002,23 +900,21 @@ public com.google.protobuf.ByteString getEmailsBytes(int index) {
        * 
* * repeated string emails = 1; - * * @param index The index to set the value at. * @param value The emails to set. * @return This builder for chaining. */ - public Builder setEmails(int index, java.lang.String value) { + public Builder setEmails( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.set(index, value); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1026,22 +922,20 @@ public Builder setEmails(int index, java.lang.String value) {
        * 
* * repeated string emails = 1; - * * @param value The emails to add. * @return This builder for chaining. */ - public Builder addEmails(java.lang.String value) { + public Builder addEmails( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.add(value); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1049,19 +943,18 @@ public Builder addEmails(java.lang.String value) {
        * 
* * repeated string emails = 1; - * * @param values The emails to add. * @return This builder for chaining. */ - public Builder addAllEmails(java.lang.Iterable values) { + public Builder addAllEmails( + java.lang.Iterable values) { ensureEmailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, emails_); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1069,7 +962,6 @@ public Builder addAllEmails(java.lang.Iterable values) {
        * 
* * repeated string emails = 1; - * * @return This builder for chaining. */ public Builder clearEmails() { @@ -1079,8 +971,6 @@ public Builder clearEmails() { return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1088,15 +978,15 @@ public Builder clearEmails() {
        * 
* * repeated string emails = 1; - * * @param value The bytes of the emails to add. * @return This builder for chaining. */ - public Builder addEmailsBytes(com.google.protobuf.ByteString value) { + public Builder addEmailsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEmailsIsMutable(); emails_.add(value); onChanged(); @@ -1105,8 +995,6 @@ public Builder addEmailsBytes(com.google.protobuf.ByteString value) { private java.lang.Object instruction_ = ""; /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1116,13 +1004,13 @@ public Builder addEmailsBytes(com.google.protobuf.ByteString value) {
        * 
* * string instruction = 2; - * * @return The instruction. */ public java.lang.String getInstruction() { java.lang.Object ref = instruction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; @@ -1131,8 +1019,6 @@ public java.lang.String getInstruction() { } } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1142,14 +1028,15 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; - * * @return The bytes for instruction. */ - public com.google.protobuf.ByteString getInstructionBytes() { + public com.google.protobuf.ByteString + getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instruction_ = b; return b; } else { @@ -1157,8 +1044,6 @@ public com.google.protobuf.ByteString getInstructionBytes() { } } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1168,22 +1053,20 @@ public com.google.protobuf.ByteString getInstructionBytes() {
        * 
* * string instruction = 2; - * * @param value The instruction to set. * @return This builder for chaining. */ - public Builder setInstruction(java.lang.String value) { + public Builder setInstruction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instruction_ = value; onChanged(); return this; } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1193,18 +1076,15 @@ public Builder setInstruction(java.lang.String value) {
        * 
* * string instruction = 2; - * * @return This builder for chaining. */ public Builder clearInstruction() { - + instruction_ = getDefaultInstance().getInstruction(); onChanged(); return this; } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1214,33 +1094,29 @@ public Builder clearInstruction() {
        * 
* * string instruction = 2; - * * @param value The bytes for instruction to set. * @return This builder for chaining. */ - public Builder setInstructionBytes(com.google.protobuf.ByteString value) { + public Builder setInstructionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instruction_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1248,15 +1124,13 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1264,15 +1138,12 @@ public com.google.protobuf.ProtocolStringList getUrisList() {
        * 
* * repeated string uris = 3; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1280,7 +1151,6 @@ public int getUrisCount() {
        * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -1288,8 +1158,6 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1297,16 +1165,14 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1314,23 +1180,21 @@ public com.google.protobuf.ByteString getUrisBytes(int index) {
        * 
* * repeated string uris = 3; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1338,22 +1202,20 @@ public Builder setUris(int index, java.lang.String value) {
        * 
* * repeated string uris = 3; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1361,19 +1223,18 @@ public Builder addUris(java.lang.String value) {
        * 
* * repeated string uris = 3; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1381,7 +1242,6 @@ public Builder addAllUris(java.lang.Iterable values) {
        * 
* * repeated string uris = 3; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -1391,8 +1251,6 @@ public Builder clearUris() { return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1400,21 +1258,20 @@ public Builder clearUris() {
        * 
* * repeated string uris = 3; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1427,12 +1284,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo) private static final com.google.cloud.talent.v4beta1.Job.ApplicationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(); } @@ -1441,28 +1298,27 @@ public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplicationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplicationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1477,16 +1333,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DerivedInfoOrBuilder - extends + public interface DerivedInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.DerivedInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1495,10 +1349,9 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    java.util.List getLocationsList();
+    java.util.List 
+        getLocationsList();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1509,8 +1362,6 @@ public interface DerivedInfoOrBuilder
      */
     com.google.cloud.talent.v4beta1.Location getLocations(int index);
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1521,8 +1372,6 @@ public interface DerivedInfoOrBuilder
      */
     int getLocationsCount();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1531,11 +1380,9 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    java.util.List
+    java.util.List 
         getLocationsOrBuilderList();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1544,90 +1391,74 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index);
+    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List getJobCategoriesValueList(); + java.util.List + getJobCategoriesValueList(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); } /** - * - * *
    * Derived details about the job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo} */ - public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DerivedInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DerivedInfo() { locations_ = java.util.Collections.emptyList(); jobCategories_ = java.util.Collections.emptyList(); @@ -1635,35 +1466,32 @@ private DerivedInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** - * - * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1677,8 +1505,6 @@ public java.util.List getLocationsList
       return locations_;
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1688,13 +1514,11 @@ public java.util.List getLocationsList
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getLocationsOrBuilderList() {
       return locations_;
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1708,8 +1532,6 @@ public int getLocationsCount() {
       return locations_.size();
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1723,8 +1545,6 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
       return locations_.get(index);
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1734,52 +1554,42 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
+    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
+        int index) {
       return locations_.get(index);
     }
 
     public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
     private java.util.List jobCategories_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
-        jobCategories_converter_ =
+        java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory> jobCategories_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
               public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.talent.v4beta1.JobCategory result =
-                    com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
-                return result == null
-                    ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
-                    : result;
+                com.google.cloud.talent.v4beta1.JobCategory result = com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
+                return result == null ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ @java.lang.Override @@ -1787,14 +1597,11 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -1803,29 +1610,24 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return jobCategories_; } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -1833,11 +1635,9 @@ public java.util.List getJobCategoriesValueList() { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } - private int jobCategoriesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1849,7 +1649,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); @@ -1871,20 +1672,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, locations_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobCategoriesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1894,15 +1695,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.DerivedInfo other = - (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; + com.google.cloud.talent.v4beta1.Job.DerivedInfo other = (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; - if (!getLocationsList().equals(other.getLocationsList())) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1929,93 +1730,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.DerivedInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2025,41 +1820,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Derived details about the job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.DerivedInfo) com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2076,9 +1869,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override @@ -2097,8 +1890,7 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { - com.google.cloud.talent.v4beta1.Job.DerivedInfo result = - new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); + com.google.cloud.talent.v4beta1.Job.DerivedInfo result = new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2122,41 +1914,38 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo)other); } else { super.mergeFrom(other); return this; @@ -2164,8 +1953,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) { - if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()) return this; if (locationsBuilder_ == null) { if (!other.locations_.isEmpty()) { if (locations_.isEmpty()) { @@ -2184,10 +1972,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); - locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationsFieldBuilder() - : null; + locationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationsFieldBuilder() : null; } else { locationsBuilder_.addAllMessages(other.locations_); } @@ -2229,45 +2016,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.Location m = - input.readMessage( - com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry); - if (locationsBuilder_ == null) { - ensureLocationsIsMutable(); - locations_.add(m); - } else { - locationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 24: - { + case 10: { + com.google.cloud.talent.v4beta1.Location m = + input.readMessage( + com.google.cloud.talent.v4beta1.Location.parser(), + extensionRegistry); + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(m); + } else { + locationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 24: { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - break; - } // case 24 - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2277,29 +2061,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List locations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - locations_ = - new java.util.ArrayList(locations_); + locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> - locationsBuilder_; + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> locationsBuilder_; /** - * - * *
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2316,8 +2092,6 @@ public java.util.List getLocationsList
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2334,8 +2108,6 @@ public int getLocationsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2352,8 +2124,6 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2362,7 +2132,8 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public Builder setLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
+      public Builder setLocations(
+          int index, com.google.cloud.talent.v4beta1.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2376,8 +2147,6 @@ public Builder setLocations(int index, com.google.cloud.talent.v4beta1.Location
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2398,8 +2167,6 @@ public Builder setLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2422,8 +2189,6 @@ public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2432,7 +2197,8 @@ public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public Builder addLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
+      public Builder addLocations(
+          int index, com.google.cloud.talent.v4beta1.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2446,8 +2212,6 @@ public Builder addLocations(int index, com.google.cloud.talent.v4beta1.Location
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2468,8 +2232,6 @@ public Builder addLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2490,8 +2252,6 @@ public Builder addLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2504,7 +2264,8 @@ public Builder addAllLocations(
           java.lang.Iterable values) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, locations_);
           onChanged();
         } else {
           locationsBuilder_.addAllMessages(values);
@@ -2512,8 +2273,6 @@ public Builder addAllLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2533,8 +2292,6 @@ public Builder clearLocations() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2554,8 +2311,6 @@ public Builder removeLocations(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2564,12 +2319,11 @@ public Builder removeLocations(int index) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(int index) {
+      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(
+          int index) {
         return getLocationsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2578,16 +2332,14 @@ public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(int
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
+      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
+          int index) {
         if (locationsBuilder_ == null) {
-          return locations_.get(index);
-        } else {
+          return locations_.get(index);  } else {
           return locationsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2596,8 +2348,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(i
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public java.util.List
-          getLocationsOrBuilderList() {
+      public java.util.List 
+           getLocationsOrBuilderList() {
         if (locationsBuilder_ != null) {
           return locationsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2605,8 +2357,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(i
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2616,12 +2366,10 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(i
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
       public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
-        return getLocationsFieldBuilder()
-            .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+        return getLocationsFieldBuilder().addBuilder(
+            com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2630,13 +2378,12 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int index) {
-        return getLocationsFieldBuilder()
-            .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(
+          int index) {
+        return getLocationsFieldBuilder().addBuilder(
+            index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2645,30 +2392,27 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public java.util.List
-          getLocationsBuilderList() {
+      public java.util.List 
+           getLocationsBuilderList() {
         return getLocationsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Location,
-              com.google.cloud.talent.v4beta1.Location.Builder,
-              com.google.cloud.talent.v4beta1.LocationOrBuilder>
+          com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
           getLocationsFieldBuilder() {
         if (locationsBuilder_ == null) {
-          locationsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.talent.v4beta1.Location,
-                  com.google.cloud.talent.v4beta1.Location.Builder,
-                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
-                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+                  locations_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           locations_ = null;
         }
         return locationsBuilder_;
       }
 
-      private java.util.List jobCategories_ = java.util.Collections.emptyList();
-
+      private java.util.List jobCategories_ =
+        java.util.Collections.emptyList();
       private void ensureJobCategoriesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2676,44 +2420,34 @@ private void ensureJobCategoriesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2721,14 +2455,11 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. @@ -2744,14 +2475,11 @@ public Builder setJobCategories( return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2765,14 +2493,11 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2786,14 +2511,11 @@ public Builder addAllJobCategories( return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2803,28 +2525,23 @@ public Builder clearJobCategories() { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2832,33 +2549,28 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue(int index, int value) { + public Builder setJobCategoriesValue( + int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -2869,18 +2581,16 @@ public Builder addJobCategoriesValue(int value) { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue(java.lang.Iterable values) { + public Builder addAllJobCategoriesValue( + java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -2888,7 +2598,6 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2901,12 +2610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.DerivedInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.DerivedInfo) private static final com.google.cloud.talent.v4beta1.Job.DerivedInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.DerivedInfo(); } @@ -2915,28 +2624,27 @@ public static com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DerivedInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DerivedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2951,30 +2659,25 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ProcessingOptionsOrBuilder - extends + public interface ProcessingOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ProcessingOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ boolean getDisableStreetAddressResolution(); /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2988,13 +2691,10 @@ public interface ProcessingOptionsOrBuilder
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ int getHtmlSanitizationValue(); /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3008,72 +2708,64 @@ public interface ProcessingOptionsOrBuilder
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization(); } /** - * - * *
    * Options for job processing.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions} */ - public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ProcessingOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions) ProcessingOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessingOptions.newBuilder() to construct. private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProcessingOptions() { htmlSanitization_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProcessingOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); } public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1; private boolean disableStreetAddressResolution_; /** - * - * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3084,8 +2776,6 @@ public boolean getDisableStreetAddressResolution() { public static final int HTML_SANITIZATION_FIELD_NUMBER = 2; private int htmlSanitization_; /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3099,16 +2789,12 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override - public int getHtmlSanitizationValue() { + @java.lang.Override public int getHtmlSanitizationValue() { return htmlSanitization_; } /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3122,21 +2808,15 @@ public int getHtmlSanitizationValue() {
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { + @java.lang.Override public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.HtmlSanitization result = - com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); - return result == null - ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.HtmlSanitization result = com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); + return result == null ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3148,13 +2828,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disableStreetAddressResolution_ != false) { output.writeBool(1, disableStreetAddressResolution_); } - if (htmlSanitization_ - != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED - .getNumber()) { + if (htmlSanitization_ != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { output.writeEnum(2, htmlSanitization_); } getUnknownFields().writeTo(output); @@ -3167,14 +2846,12 @@ public int getSerializedSize() { size = 0; if (disableStreetAddressResolution_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, disableStreetAddressResolution_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disableStreetAddressResolution_); } - if (htmlSanitization_ - != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_); + if (htmlSanitization_ != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, htmlSanitization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3184,16 +2861,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = - (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; + com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; - if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) - return false; + if (getDisableStreetAddressResolution() + != other.getDisableStreetAddressResolution()) return false; if (htmlSanitization_ != other.htmlSanitization_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3207,9 +2883,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableStreetAddressResolution()); hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER; hash = (53 * hash) + htmlSanitization_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3218,94 +2893,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3315,41 +2983,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options for job processing.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions) com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3361,9 +3027,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override @@ -3382,8 +3048,7 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { - com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = - new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this); result.disableStreetAddressResolution_ = disableStreetAddressResolution_; result.htmlSanitization_ = htmlSanitization_; onBuilt(); @@ -3394,41 +3059,38 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions)other); } else { super.mergeFrom(other); return this; @@ -3436,8 +3098,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ProcessingOptions other) { - if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()) return this; if (other.getDisableStreetAddressResolution() != false) { setDisableStreetAddressResolution(other.getDisableStreetAddressResolution()); } @@ -3470,25 +3131,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disableStreetAddressResolution_ = input.readBool(); - - break; - } // case 8 - case 16: - { - htmlSanitization_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disableStreetAddressResolution_ = input.readBool(); + + break; + } // case 8 + case 16: { + htmlSanitization_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3499,17 +3157,14 @@ public Builder mergeFrom( return this; } - private boolean disableStreetAddressResolution_; + private boolean disableStreetAddressResolution_ ; /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3517,38 +3172,32 @@ public boolean getDisableStreetAddressResolution() { return disableStreetAddressResolution_; } /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @param value The disableStreetAddressResolution to set. * @return This builder for chaining. */ public Builder setDisableStreetAddressResolution(boolean value) { - + disableStreetAddressResolution_ = value; onChanged(); return this; } /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @return This builder for chaining. */ public Builder clearDisableStreetAddressResolution() { - + disableStreetAddressResolution_ = false; onChanged(); return this; @@ -3556,8 +3205,6 @@ public Builder clearDisableStreetAddressResolution() { private int htmlSanitization_ = 0; /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3571,16 +3218,12 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override - public int getHtmlSanitizationValue() { + @java.lang.Override public int getHtmlSanitizationValue() { return htmlSanitization_; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3594,19 +3237,16 @@ public int getHtmlSanitizationValue() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @param value The enum numeric value on the wire for htmlSanitization to set. * @return This builder for chaining. */ public Builder setHtmlSanitizationValue(int value) { - + htmlSanitization_ = value; onChanged(); return this; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3620,21 +3260,15 @@ public Builder setHtmlSanitizationValue(int value) {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ @java.lang.Override public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.HtmlSanitization result = - com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); - return result == null - ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.HtmlSanitization result = com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); + return result == null ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED : result; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3648,7 +3282,6 @@ public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @param value The htmlSanitization to set. * @return This builder for chaining. */ @@ -3656,14 +3289,12 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitizat if (value == null) { throw new NullPointerException(); } - + htmlSanitization_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3677,16 +3308,14 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitizat
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return This builder for chaining. */ public Builder clearHtmlSanitization() { - + htmlSanitization_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3699,12 +3328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions) private static final com.google.cloud.talent.v4beta1.Job.ProcessingOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(); } @@ -3713,28 +3342,27 @@ public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessingOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessingOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3749,13 +3377,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3770,7 +3397,6 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceF
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -3779,15 +3405,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3802,15 +3427,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3821,8 +3447,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COMPANY_FIELD_NUMBER = 2; private volatile java.lang.Object company_; /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3832,10 +3456,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * example, "projects/foo/companies/bar".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ @java.lang.Override @@ -3844,15 +3465,14 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3862,18 +3482,17 @@ public java.lang.String getCompany() {
    * example, "projects/foo/companies/bar".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -3884,8 +3503,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { public static final int REQUISITION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requisitionId_; /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3896,7 +3513,6 @@ public com.google.protobuf.ByteString getCompanyBytes() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ @java.lang.Override @@ -3905,15 +3521,14 @@ public java.lang.String getRequisitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; } } /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3924,15 +3539,16 @@ public java.lang.String getRequisitionId() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequisitionIdBytes() { + public com.google.protobuf.ByteString + getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -3943,15 +3559,12 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() { public static final int TITLE_FIELD_NUMBER = 4; private volatile java.lang.Object title_; /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ @java.lang.Override @@ -3960,30 +3573,30 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -3994,8 +3607,6 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -4008,7 +3619,6 @@ public com.google.protobuf.ByteString getTitleBytes() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ @java.lang.Override @@ -4017,15 +3627,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -4038,15 +3647,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -4057,8 +3667,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int ADDRESSES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList addresses_; /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4076,15 +3684,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList getAddressesList() { + public com.google.protobuf.ProtocolStringList + getAddressesList() { return addresses_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4102,15 +3708,12 @@ public com.google.protobuf.ProtocolStringList getAddressesList() {
    * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4128,7 +3731,6 @@ public int getAddressesCount() {
    * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -4136,8 +3738,6 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4155,25 +3755,22 @@ public java.lang.String getAddresses(int index) {
    * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString getAddressesBytes(int index) { + public com.google.protobuf.ByteString + getAddressesBytes(int index) { return addresses_.getByteString(index); } public static final int APPLICATION_INFO_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ @java.lang.Override @@ -4181,25 +3778,18 @@ public boolean hasApplicationInfo() { return applicationInfo_ != null; } /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() { - return applicationInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } /** - * - * *
    * Job application information.
    * 
@@ -4207,53 +3797,41 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder - getApplicationInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder() { return getApplicationInfo(); } public static final int JOB_BENEFITS_FIELD_NUMBER = 8; private java.util.List jobBenefits_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit> - jobBenefits_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit> jobBenefits_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>() { public com.google.cloud.talent.v4beta1.JobBenefit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobBenefit result = - com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.JobBenefit result = com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED : result; } }; /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ @java.lang.Override public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>( - jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(jobBenefits_, jobBenefits_converter_); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ @java.lang.Override @@ -4261,14 +3839,11 @@ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -4277,29 +3852,24 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ @java.lang.Override - public java.util.List getJobBenefitsValueList() { + public java.util.List + getJobBenefitsValueList() { return jobBenefits_; } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -4307,21 +3877,17 @@ public java.util.List getJobBenefitsValueList() { public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } - private int jobBenefitsMemoizedSerializedSize; public static final int COMPENSATION_INFO_FIELD_NUMBER = 9; private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ @java.lang.Override @@ -4329,26 +3895,19 @@ public boolean hasCompensationInfo() { return compensationInfo_ != null; } /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() { - return compensationInfo_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() - : compensationInfo_; + return compensationInfo_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_; } /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -4362,29 +3921,21 @@ public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensation
   }
 
   public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;
-
   private static final class CustomAttributesDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-        defaultEntry =
+        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> defaultEntry =
             com.google.protobuf.MapEntry
-                .
-                    newDefaultInstance(
-                        com.google.cloud.talent.v4beta1.JobResourceProto
-                            .internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor,
-                        com.google.protobuf.WireFormat.FieldType.STRING,
-                        "",
-                        com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                        com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
   }
-
-  private com.google.protobuf.MapField<
-          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-      customAttributes_;
-
   private com.google.protobuf.MapField<
-          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-      internalGetCustomAttributes() {
+      java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> customAttributes_;
+  private com.google.protobuf.MapField
+  internalGetCustomAttributes() {
     if (customAttributes_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomAttributesDefaultEntryHolder.defaultEntry);
@@ -4396,8 +3947,6 @@ public int getCustomAttributesCount() {
     return internalGetCustomAttributes().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4411,26 +3960,24 @@ public int getCustomAttributesCount() {
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ + @java.lang.Override - public boolean containsCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomAttributes().getMap().containsKey(key); } - /** Use {@link #getCustomAttributesMap()} instead. */ + /** + * Use {@link #getCustomAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getCustomAttributes() { + public java.util.Map getCustomAttributes() { return getCustomAttributesMap(); } /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4444,17 +3991,14 @@ public boolean containsCustomAttributes(java.lang.String key) {
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override - public java.util.Map - getCustomAttributesMap() { + + public java.util.Map getCustomAttributesMap() { return internalGetCustomAttributes().getMap(); } /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4468,22 +4012,19 @@ public boolean containsCustomAttributes(java.lang.String key) {
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( - java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4497,15 +4038,13 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -4517,45 +4056,34 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThro public static final int DEGREE_TYPES_FIELD_NUMBER = 11; private java.util.List degreeTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType> - degreeTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType> degreeTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>() { public com.google.cloud.talent.v4beta1.DegreeType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DegreeType result = - com.google.cloud.talent.v4beta1.DegreeType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.DegreeType result = com.google.cloud.talent.v4beta1.DegreeType.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED : result; } }; /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ @java.lang.Override public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>( - degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(degreeTypes_, degreeTypes_converter_); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ @java.lang.Override @@ -4563,14 +4091,11 @@ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -4579,29 +4104,24 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ @java.lang.Override - public java.util.List getDegreeTypesValueList() { + public java.util.List + getDegreeTypesValueList() { return degreeTypes_; } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -4609,14 +4129,11 @@ public java.util.List getDegreeTypesValueList() { public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } - private int degreeTypesMemoizedSerializedSize; public static final int DEPARTMENT_FIELD_NUMBER = 12; private volatile java.lang.Object department_; /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -4624,7 +4141,6 @@ public int getDegreeTypesValue(int index) {
    * 
* * string department = 12; - * * @return The department. */ @java.lang.Override @@ -4633,15 +4149,14 @@ public java.lang.String getDepartment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; } } /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -4649,15 +4164,16 @@ public java.lang.String getDepartment() {
    * 
* * string department = 12; - * * @return The bytes for department. */ @java.lang.Override - public com.google.protobuf.ByteString getDepartmentBytes() { + public com.google.protobuf.ByteString + getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); department_ = b; return b; } else { @@ -4668,22 +4184,16 @@ public com.google.protobuf.ByteString getDepartmentBytes() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> - employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() { public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.EmploymentType result = - com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.EmploymentType result = com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED : result; } }; /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4691,18 +4201,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4710,7 +4216,6 @@ public java.util.List getEmploym
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ @java.lang.Override @@ -4718,8 +4223,6 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4727,7 +4230,6 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4736,8 +4238,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4745,16 +4245,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return employmentTypes_; } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4762,7 +4260,6 @@ public java.util.List getEmploymentTypesValueList() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4770,14 +4267,11 @@ public java.util.List getEmploymentTypesValueList() { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } - private int employmentTypesMemoizedSerializedSize; public static final int INCENTIVES_FIELD_NUMBER = 14; private volatile java.lang.Object incentives_; /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4785,7 +4279,6 @@ public int getEmploymentTypesValue(int index) {
    * 
* * string incentives = 14; - * * @return The incentives. */ @java.lang.Override @@ -4794,15 +4287,14 @@ public java.lang.String getIncentives() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; } } /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4810,15 +4302,16 @@ public java.lang.String getIncentives() {
    * 
* * string incentives = 14; - * * @return The bytes for incentives. */ @java.lang.Override - public com.google.protobuf.ByteString getIncentivesBytes() { + public com.google.protobuf.ByteString + getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incentives_ = b; return b; } else { @@ -4829,8 +4322,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object languageCode_; /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4844,7 +4335,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() {
    * 
* * string language_code = 15; - * * @return The languageCode. */ @java.lang.Override @@ -4853,15 +4343,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4875,15 +4364,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4894,44 +4384,33 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int JOB_LEVEL_FIELD_NUMBER = 16; private int jobLevel_; /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override - public int getJobLevelValue() { + @java.lang.Override public int getJobLevelValue() { return jobLevel_; } /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The jobLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { + @java.lang.Override public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobLevel result = - com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4beta1.JobLevel result = com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result; } public static final int PROMOTION_VALUE_FIELD_NUMBER = 17; private int promotionValue_; /** - * - * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -4942,7 +4421,6 @@ public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() {
    * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ @java.lang.Override @@ -4953,8 +4431,6 @@ public int getPromotionValue() { public static final int QUALIFICATIONS_FIELD_NUMBER = 18; private volatile java.lang.Object qualifications_; /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4965,7 +4441,6 @@ public int getPromotionValue() {
    * 
* * string qualifications = 18; - * * @return The qualifications. */ @java.lang.Override @@ -4974,15 +4449,14 @@ public java.lang.String getQualifications() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; } } /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4993,15 +4467,16 @@ public java.lang.String getQualifications() {
    * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ @java.lang.Override - public com.google.protobuf.ByteString getQualificationsBytes() { + public com.google.protobuf.ByteString + getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); qualifications_ = b; return b; } else { @@ -5012,8 +4487,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() { public static final int RESPONSIBILITIES_FIELD_NUMBER = 19; private volatile java.lang.Object responsibilities_; /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -5024,7 +4497,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() {
    * 
* * string responsibilities = 19; - * * @return The responsibilities. */ @java.lang.Override @@ -5033,15 +4505,14 @@ public java.lang.String getResponsibilities() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; } } /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -5052,15 +4523,16 @@ public java.lang.String getResponsibilities() {
    * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ @java.lang.Override - public com.google.protobuf.ByteString getResponsibilitiesBytes() { + public com.google.protobuf.ByteString + getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -5071,8 +4543,6 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() { public static final int POSTING_REGION_FIELD_NUMBER = 20; private int postingRegion_; /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -5084,16 +4554,12 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() {
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override - public int getPostingRegionValue() { + @java.lang.Override public int getPostingRegionValue() { return postingRegion_; } /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -5105,22 +4571,17 @@ public int getPostingRegionValue() {
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The postingRegion. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { + @java.lang.Override public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.PostingRegion result = - com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4beta1.PostingRegion result = com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result; } public static final int VISIBILITY_FIELD_NUMBER = 21; private int visibility_; /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -5128,19 +4589,14 @@ public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() {
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override - @java.lang.Deprecated - public int getVisibilityValue() { + @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -5148,32 +4604,25 @@ public int getVisibilityValue() {
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.talent.v4beta1.Visibility getVisibility() { + @java.lang.Override @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Visibility result = - com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4beta1.Visibility result = com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result; } public static final int JOB_START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp jobStartTime_; /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ @java.lang.Override @@ -5181,26 +4630,19 @@ public boolean hasJobStartTime() { return jobStartTime_ != null; } /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobStartTime() { - return jobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobStartTime_; + return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; } /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -5216,15 +4658,12 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
   public static final int JOB_END_TIME_FIELD_NUMBER = 23;
   private com.google.protobuf.Timestamp jobEndTime_;
   /**
-   *
-   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ @java.lang.Override @@ -5232,15 +4671,12 @@ public boolean hasJobEndTime() { return jobEndTime_ != null; } /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ @java.lang.Override @@ -5248,8 +4684,6 @@ public com.google.protobuf.Timestamp getJobEndTime() { return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -5265,8 +4699,6 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
   public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
   private com.google.protobuf.Timestamp postingPublishTime_;
   /**
-   *
-   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5274,7 +4706,6 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ @java.lang.Override @@ -5282,8 +4713,6 @@ public boolean hasPostingPublishTime() { return postingPublishTime_ != null; } /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5291,18 +4720,13 @@ public boolean hasPostingPublishTime() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingPublishTime() { - return postingPublishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingPublishTime_; + return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; } /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5319,8 +4743,6 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
   public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
   private com.google.protobuf.Timestamp postingExpireTime_;
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5360,7 +4782,6 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ @java.lang.Override @@ -5368,8 +4789,6 @@ public boolean hasPostingExpireTime() { return postingExpireTime_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5409,18 +4828,13 @@ public boolean hasPostingExpireTime() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingExpireTime() { - return postingExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingExpireTime_; + return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5469,16 +4883,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
   public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
   private com.google.protobuf.Timestamp postingCreateTime_;
   /**
-   *
-   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ @java.lang.Override @@ -5486,34 +4895,23 @@ public boolean hasPostingCreateTime() { return postingCreateTime_ != null; } /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingCreateTime() { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { @@ -5523,16 +4921,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp postingUpdateTime_; /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ @java.lang.Override @@ -5540,34 +4933,23 @@ public boolean hasPostingUpdateTime() { return postingUpdateTime_ != null; } /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingUpdateTime() { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { @@ -5577,14 +4959,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28; private volatile java.lang.Object companyDisplayName_; /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ @java.lang.Override @@ -5593,29 +4972,29 @@ public java.lang.String getCompanyDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; } } /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString + getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -5626,16 +5005,11 @@ public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { public static final int DERIVED_INFO_FIELD_NUMBER = 29; private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -5643,34 +5017,23 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -5680,14 +5043,11 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30; private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ @java.lang.Override @@ -5695,25 +5055,18 @@ public boolean hasProcessingOptions() { return processingOptions_ != null; } /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() { - return processingOptions_ == null - ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } /** - * - * *
    * Options for job processing.
    * 
@@ -5721,13 +5074,11 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOption * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder - getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { return getProcessingOptions(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5739,7 +5090,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -5772,8 +5124,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (compensationInfo_ != null) { output.writeMessage(9, getCompensationInfo()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetCustomAttributes(), + CustomAttributesDefaultEntryHolder.defaultEntry, + 10); if (getDegreeTypesList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize); @@ -5809,12 +5165,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_); } - if (postingRegion_ - != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + if (postingRegion_ != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { output.writeEnum(20, postingRegion_); } - if (visibility_ - != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { + if (visibility_ != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { output.writeEnum(21, visibility_); } if (jobStartTime_ != null) { @@ -5877,46 +5231,46 @@ public int getSerializedSize() { size += 1 * getAddressesList().size(); } if (applicationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getApplicationInfo()); } { int dataSize = 0; for (int i = 0; i < jobBenefits_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobBenefits_.get(i)); } size += dataSize; - if (!getJobBenefitsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobBenefitsMemoizedSerializedSize = dataSize; + if (!getJobBenefitsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobBenefitsMemoizedSerializedSize = dataSize; } if (compensationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo()); - } - for (java.util.Map.Entry - entry : internalGetCustomAttributes().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> - customAttributes__ = - CustomAttributesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getCompensationInfo()); + } + for (java.util.Map.Entry entry + : internalGetCustomAttributes().getMap().entrySet()) { + com.google.protobuf.MapEntry + customAttributes__ = CustomAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, customAttributes__); } { int dataSize = 0; for (int i = 0; i < degreeTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(degreeTypes_.get(i)); } size += dataSize; - if (!getDegreeTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - degreeTypesMemoizedSerializedSize = dataSize; + if (!getDegreeTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }degreeTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_); @@ -5924,15 +5278,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }employmentTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incentives_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_); @@ -5941,10 +5294,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_); } if (jobLevel_ != com.google.cloud.talent.v4beta1.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, jobLevel_); } if (promotionValue_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(17, promotionValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qualifications_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_); @@ -5952,40 +5307,48 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_); } - if (postingRegion_ - != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_); + if (postingRegion_ != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(20, postingRegion_); } - if (visibility_ - != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_); + if (visibility_ != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(21, visibility_); } if (jobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getJobStartTime()); } if (jobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getJobEndTime()); } if (postingPublishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getPostingPublishTime()); } if (postingExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getPostingExpireTime()); } if (postingCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getPostingCreateTime()); } if (postingUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getPostingUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(companyDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getDerivedInfo()); } if (processingOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getProcessingOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5995,72 +5358,96 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Job other = (com.google.cloud.talent.v4beta1.Job) obj; - if (!getName().equals(other.getName())) return false; - if (!getCompany().equals(other.getCompany())) return false; - if (!getRequisitionId().equals(other.getRequisitionId())) return false; - if (!getTitle().equals(other.getTitle())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getAddressesList().equals(other.getAddressesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCompany() + .equals(other.getCompany())) return false; + if (!getRequisitionId() + .equals(other.getRequisitionId())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getAddressesList() + .equals(other.getAddressesList())) return false; if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; + if (!getApplicationInfo() + .equals(other.getApplicationInfo())) return false; } if (!jobBenefits_.equals(other.jobBenefits_)) return false; if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; + if (!getCompensationInfo() + .equals(other.getCompensationInfo())) return false; } - if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; + if (!internalGetCustomAttributes().equals( + other.internalGetCustomAttributes())) return false; if (!degreeTypes_.equals(other.degreeTypes_)) return false; - if (!getDepartment().equals(other.getDepartment())) return false; + if (!getDepartment() + .equals(other.getDepartment())) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getIncentives().equals(other.getIncentives())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getIncentives() + .equals(other.getIncentives())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (jobLevel_ != other.jobLevel_) return false; - if (getPromotionValue() != other.getPromotionValue()) return false; - if (!getQualifications().equals(other.getQualifications())) return false; - if (!getResponsibilities().equals(other.getResponsibilities())) return false; + if (getPromotionValue() + != other.getPromotionValue()) return false; + if (!getQualifications() + .equals(other.getQualifications())) return false; + if (!getResponsibilities() + .equals(other.getResponsibilities())) return false; if (postingRegion_ != other.postingRegion_) return false; if (visibility_ != other.visibility_) return false; if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - if (!getJobStartTime().equals(other.getJobStartTime())) return false; + if (!getJobStartTime() + .equals(other.getJobStartTime())) return false; } if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - if (!getJobEndTime().equals(other.getJobEndTime())) return false; + if (!getJobEndTime() + .equals(other.getJobEndTime())) return false; } if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; + if (!getPostingPublishTime() + .equals(other.getPostingPublishTime())) return false; } if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; + if (!getPostingExpireTime() + .equals(other.getPostingExpireTime())) return false; } if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; + if (!getPostingCreateTime() + .equals(other.getPostingCreateTime())) return false; } if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; + if (!getPostingUpdateTime() + .equals(other.getPostingUpdateTime())) return false; } - if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; + if (!getCompanyDisplayName() + .equals(other.getCompanyDisplayName())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo() + .equals(other.getDerivedInfo())) return false; } if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; + if (!getProcessingOptions() + .equals(other.getProcessingOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6168,103 +5555,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.Job parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Job parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4beta1.Job parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Job resource represents a job posting (also referred to as a "job listing"
    * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
@@ -6273,52 +5654,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Job}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job)
       com.google.cloud.talent.v4beta1.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetCustomAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetMutableCustomAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Job.class,
-              com.google.cloud.talent.v4beta1.Job.Builder.class);
+              com.google.cloud.talent.v4beta1.Job.class, com.google.cloud.talent.v4beta1.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Job.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6425,9 +5809,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
     }
 
     @java.lang.Override
@@ -6543,39 +5927,38 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Job) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Job) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Job)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6630,7 +6013,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job other) {
       if (other.hasCompensationInfo()) {
         mergeCompensationInfo(other.getCompensationInfo());
       }
-      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
+      internalGetMutableCustomAttributes().mergeFrom(
+          other.internalGetCustomAttributes());
       if (!other.degreeTypes_.isEmpty()) {
         if (degreeTypes_.isEmpty()) {
           degreeTypes_ = other.degreeTypes_;
@@ -6737,246 +6121,222 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                company_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              company_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                requisitionId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              requisitionId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                title_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              title_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAddressesIsMutable();
-                addresses_.add(s);
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getApplicationInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAddressesIsMutable();
+              addresses_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getApplicationInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 58
-            case 64:
-              {
+              break;
+            } // case 58
+            case 64: {
+              int tmpRaw = input.readEnum();
+              ensureJobBenefitsIsMutable();
+              jobBenefits_.add(tmpRaw);
+              break;
+            } // case 64
+            case 66: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureJobBenefitsIsMutable();
                 jobBenefits_.add(tmpRaw);
-                break;
-              } // case 64
-            case 66:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureJobBenefitsIsMutable();
-                  jobBenefits_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getCompensationInfoFieldBuilder().getBuilder(), extensionRegistry);
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getCompensationInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 74
-            case 82:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-                    customAttributes__ =
-                        input.readMessage(
-                            CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableCustomAttributes()
-                    .getMutableMap()
-                    .put(customAttributes__.getKey(), customAttributes__.getValue());
-                break;
-              } // case 82
-            case 88:
-              {
+              break;
+            } // case 74
+            case 82: {
+              com.google.protobuf.MapEntry
+              customAttributes__ = input.readMessage(
+                  CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableCustomAttributes().getMutableMap().put(
+                  customAttributes__.getKey(), customAttributes__.getValue());
+              break;
+            } // case 82
+            case 88: {
+              int tmpRaw = input.readEnum();
+              ensureDegreeTypesIsMutable();
+              degreeTypes_.add(tmpRaw);
+              break;
+            } // case 88
+            case 90: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureDegreeTypesIsMutable();
                 degreeTypes_.add(tmpRaw);
-                break;
-              } // case 88
-            case 90:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureDegreeTypesIsMutable();
-                  degreeTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 90
-            case 98:
-              {
-                department_ = input.readStringRequireUtf8();
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 90
+            case 98: {
+              department_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 98
-            case 104:
-              {
+              break;
+            } // case 98
+            case 104: {
+              int tmpRaw = input.readEnum();
+              ensureEmploymentTypesIsMutable();
+              employmentTypes_.add(tmpRaw);
+              break;
+            } // case 104
+            case 106: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureEmploymentTypesIsMutable();
                 employmentTypes_.add(tmpRaw);
-                break;
-              } // case 104
-            case 106:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureEmploymentTypesIsMutable();
-                  employmentTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 106
-            case 114:
-              {
-                incentives_ = input.readStringRequireUtf8();
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 106
+            case 114: {
+              incentives_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 114
-            case 122:
-              {
-                languageCode_ = input.readStringRequireUtf8();
+              break;
+            } // case 114
+            case 122: {
+              languageCode_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 122
-            case 128:
-              {
-                jobLevel_ = input.readEnum();
+              break;
+            } // case 122
+            case 128: {
+              jobLevel_ = input.readEnum();
 
-                break;
-              } // case 128
-            case 136:
-              {
-                promotionValue_ = input.readInt32();
+              break;
+            } // case 128
+            case 136: {
+              promotionValue_ = input.readInt32();
 
-                break;
-              } // case 136
-            case 146:
-              {
-                qualifications_ = input.readStringRequireUtf8();
+              break;
+            } // case 136
+            case 146: {
+              qualifications_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 146
-            case 154:
-              {
-                responsibilities_ = input.readStringRequireUtf8();
+              break;
+            } // case 146
+            case 154: {
+              responsibilities_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 154
-            case 160:
-              {
-                postingRegion_ = input.readEnum();
+              break;
+            } // case 154
+            case 160: {
+              postingRegion_ = input.readEnum();
 
-                break;
-              } // case 160
-            case 168:
-              {
-                visibility_ = input.readEnum();
+              break;
+            } // case 160
+            case 168: {
+              visibility_ = input.readEnum();
 
-                break;
-              } // case 168
-            case 178:
-              {
-                input.readMessage(getJobStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 168
+            case 178: {
+              input.readMessage(
+                  getJobStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(getJobEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getJobEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 186
-            case 194:
-              {
-                input.readMessage(
-                    getPostingPublishTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 186
+            case 194: {
+              input.readMessage(
+                  getPostingPublishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 194
-            case 202:
-              {
-                input.readMessage(
-                    getPostingExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 194
+            case 202: {
+              input.readMessage(
+                  getPostingExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(
-                    getPostingCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getPostingCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 210
-            case 218:
-              {
-                input.readMessage(
-                    getPostingUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 210
+            case 218: {
+              input.readMessage(
+                  getPostingUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 218
-            case 226:
-              {
-                companyDisplayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 218
+            case 226: {
+              companyDisplayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 226
-            case 234:
-              {
-                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 226
+            case 234: {
+              input.readMessage(
+                  getDerivedInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 234
-            case 242:
-              {
-                input.readMessage(
-                    getProcessingOptionsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 234
+            case 242: {
+              input.readMessage(
+                  getProcessingOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 242
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 242
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6986,13 +6346,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7007,13 +6364,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7022,8 +6379,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7038,14 +6393,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7053,8 +6409,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7069,22 +6423,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7099,18 +6451,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7125,16 +6474,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7142,8 +6491,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object company_ = ""; /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7153,16 +6500,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -7171,8 +6516,6 @@ public java.lang.String getCompany() { } } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7182,17 +6525,16 @@ public java.lang.String getCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -7200,8 +6542,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { } } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7211,25 +6551,21 @@ public com.google.protobuf.ByteString getCompanyBytes() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany(java.lang.String value) { + public Builder setCompany( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7239,21 +6575,16 @@ public Builder setCompany(java.lang.String value) {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7263,19 +6594,17 @@ public Builder clearCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -7283,8 +6612,6 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { private java.lang.Object requisitionId_ = ""; /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7295,13 +6622,13 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ public java.lang.String getRequisitionId() { java.lang.Object ref = requisitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; @@ -7310,8 +6637,6 @@ public java.lang.String getRequisitionId() { } } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7322,14 +6647,15 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ - public com.google.protobuf.ByteString getRequisitionIdBytes() { + public com.google.protobuf.ByteString + getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -7337,8 +6663,6 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() { } } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7349,22 +6673,20 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionId(java.lang.String value) { + public Builder setRequisitionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requisitionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7375,18 +6697,15 @@ public Builder setRequisitionId(java.lang.String value) {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRequisitionId() { - + requisitionId_ = getDefaultInstance().getRequisitionId(); onChanged(); return this; } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7397,16 +6716,16 @@ public Builder clearRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequisitionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requisitionId_ = value; onChanged(); return this; @@ -7414,21 +6733,19 @@ public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object title_ = ""; /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -7437,22 +6754,21 @@ public java.lang.String getTitle() { } } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -7460,64 +6776,57 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -7525,8 +6834,6 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7539,13 +6846,13 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7554,8 +6861,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7568,14 +6873,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -7583,8 +6889,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7597,22 +6901,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7625,18 +6927,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7649,33 +6948,29 @@ public Builder clearDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7693,15 +6988,13 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList getAddressesList() { + public com.google.protobuf.ProtocolStringList + getAddressesList() { return addresses_.getUnmodifiableView(); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7719,15 +7012,12 @@ public com.google.protobuf.ProtocolStringList getAddressesList() {
      * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7745,7 +7035,6 @@ public int getAddressesCount() {
      * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -7753,8 +7042,6 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7772,16 +7059,14 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString getAddressesBytes(int index) { + public com.google.protobuf.ByteString + getAddressesBytes(int index) { return addresses_.getByteString(index); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7799,23 +7084,21 @@ public com.google.protobuf.ByteString getAddressesBytes(int index) {
      * 
* * repeated string addresses = 6; - * * @param index The index to set the value at. * @param value The addresses to set. * @return This builder for chaining. */ - public Builder setAddresses(int index, java.lang.String value) { + public Builder setAddresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.set(index, value); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7833,22 +7116,20 @@ public Builder setAddresses(int index, java.lang.String value) {
      * 
* * repeated string addresses = 6; - * * @param value The addresses to add. * @return This builder for chaining. */ - public Builder addAddresses(java.lang.String value) { + public Builder addAddresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.add(value); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7866,19 +7147,18 @@ public Builder addAddresses(java.lang.String value) {
      * 
* * repeated string addresses = 6; - * * @param values The addresses to add. * @return This builder for chaining. */ - public Builder addAllAddresses(java.lang.Iterable values) { + public Builder addAllAddresses( + java.lang.Iterable values) { ensureAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, addresses_); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7896,7 +7176,6 @@ public Builder addAllAddresses(java.lang.Iterable values) {
      * 
* * repeated string addresses = 6; - * * @return This builder for chaining. */ public Builder clearAddresses() { @@ -7906,8 +7185,6 @@ public Builder clearAddresses() { return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7925,15 +7202,15 @@ public Builder clearAddresses() {
      * 
* * repeated string addresses = 6; - * * @param value The bytes of the addresses to add. * @return This builder for chaining. */ - public Builder addAddressesBytes(com.google.protobuf.ByteString value) { + public Builder addAddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAddressesIsMutable(); addresses_.add(value); onChanged(); @@ -7942,47 +7219,34 @@ public Builder addAddressesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> - applicationInfoBuilder_; + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> applicationInfoBuilder_; /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ public boolean hasApplicationInfo() { return applicationInfoBuilder_ != null || applicationInfo_ != null; } /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() { if (applicationInfoBuilder_ == null) { - return applicationInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } else { return applicationInfoBuilder_.getMessage(); } } /** - * - * *
      * Job application information.
      * 
@@ -8003,8 +7267,6 @@ public Builder setApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicatio return this; } /** - * - * *
      * Job application information.
      * 
@@ -8023,8 +7285,6 @@ public Builder setApplicationInfo( return this; } /** - * - * *
      * Job application information.
      * 
@@ -8035,9 +7295,7 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicat if (applicationInfoBuilder_ == null) { if (applicationInfo_ != null) { applicationInfo_ = - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_).mergeFrom(value).buildPartial(); } else { applicationInfo_ = value; } @@ -8049,8 +7307,6 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicat return this; } /** - * - * *
      * Job application information.
      * 
@@ -8069,8 +7325,6 @@ public Builder clearApplicationInfo() { return this; } /** - * - * *
      * Job application information.
      * 
@@ -8078,32 +7332,26 @@ public Builder clearApplicationInfo() { * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder getApplicationInfoBuilder() { - + onChanged(); return getApplicationInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ - public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder - getApplicationInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder() { if (applicationInfoBuilder_ != null) { return applicationInfoBuilder_.getMessageOrBuilder(); } else { - return applicationInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } } /** - * - * *
      * Job application information.
      * 
@@ -8111,24 +7359,21 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder getApplicatio * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> getApplicationInfoFieldBuilder() { if (applicationInfoBuilder_ == null) { - applicationInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>( - getApplicationInfo(), getParentForChildren(), isClean()); + applicationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>( + getApplicationInfo(), + getParentForChildren(), + isClean()); applicationInfo_ = null; } return applicationInfoBuilder_; } - private java.util.List jobBenefits_ = java.util.Collections.emptyList(); - + private java.util.List jobBenefits_ = + java.util.Collections.emptyList(); private void ensureJobBenefitsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); @@ -8136,44 +7381,34 @@ private void ensureJobBenefitsIsMutable() { } } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>( - jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(jobBenefits_, jobBenefits_converter_); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -8181,19 +7416,17 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index to set the value at. * @param value The jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefits(int index, com.google.cloud.talent.v4beta1.JobBenefit value) { + public Builder setJobBenefits( + int index, com.google.cloud.talent.v4beta1.JobBenefit value) { if (value == null) { throw new NullPointerException(); } @@ -8203,14 +7436,11 @@ public Builder setJobBenefits(int index, com.google.cloud.talent.v4beta1.JobBene return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param value The jobBenefits to add. * @return This builder for chaining. */ @@ -8224,14 +7454,11 @@ public Builder addJobBenefits(com.google.cloud.talent.v4beta1.JobBenefit value) return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param values The jobBenefits to add. * @return This builder for chaining. */ @@ -8245,14 +7472,11 @@ public Builder addAllJobBenefits( return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return This builder for chaining. */ public Builder clearJobBenefits() { @@ -8262,28 +7486,23 @@ public Builder clearJobBenefits() { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - public java.util.List getJobBenefitsValueList() { + public java.util.List + getJobBenefitsValueList() { return java.util.Collections.unmodifiableList(jobBenefits_); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -8291,33 +7510,28 @@ public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefitsValue(int index, int value) { + public Builder setJobBenefitsValue( + int index, int value) { ensureJobBenefitsIsMutable(); jobBenefits_.set(index, value); onChanged(); return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param value The enum numeric value on the wire for jobBenefits to add. * @return This builder for chaining. */ @@ -8328,18 +7542,16 @@ public Builder addJobBenefitsValue(int value) { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param values The enum numeric values on the wire for jobBenefits to add. * @return This builder for chaining. */ - public Builder addAllJobBenefitsValue(java.lang.Iterable values) { + public Builder addAllJobBenefitsValue( + java.lang.Iterable values) { ensureJobBenefitsIsMutable(); for (int value : values) { jobBenefits_.add(value); @@ -8350,49 +7562,36 @@ public Builder addAllJobBenefitsValue(java.lang.Iterable valu private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo, - com.google.cloud.talent.v4beta1.CompensationInfo.Builder, - com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> - compensationInfoBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> compensationInfoBuilder_; /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ public boolean hasCompensationInfo() { return compensationInfoBuilder_ != null || compensationInfo_ != null; } /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() { if (compensationInfoBuilder_ == null) { - return compensationInfo_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() - : compensationInfo_; + return compensationInfo_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_; } else { return compensationInfoBuilder_.getMessage(); } } /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8414,8 +7613,6 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4beta1.CompensationI
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8435,8 +7632,6 @@ public Builder setCompensationInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8448,9 +7643,7 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
       if (compensationInfoBuilder_ == null) {
         if (compensationInfo_ != null) {
           compensationInfo_ =
-              com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_).mergeFrom(value).buildPartial();
         } else {
           compensationInfo_ = value;
         }
@@ -8462,8 +7655,6 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8483,8 +7674,6 @@ public Builder clearCompensationInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8493,13 +7682,11 @@ public Builder clearCompensationInfo() {
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
     public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationInfoBuilder() {
-
+      
       onChanged();
       return getCompensationInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8507,19 +7694,15 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationI
      *
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
-    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder
-        getCompensationInfoOrBuilder() {
+    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder() {
       if (compensationInfoBuilder_ != null) {
         return compensationInfoBuilder_.getMessageOrBuilder();
       } else {
-        return compensationInfo_ == null
-            ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()
-            : compensationInfo_;
+        return compensationInfo_ == null ?
+            com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8528,45 +7711,35 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationI
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CompensationInfo,
-            com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
-            com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>
+        com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> 
         getCompensationInfoFieldBuilder() {
       if (compensationInfoBuilder_ == null) {
-        compensationInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.CompensationInfo,
-                com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
-                com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
-                getCompensationInfo(), getParentForChildren(), isClean());
+        compensationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
+                getCompensationInfo(),
+                getParentForChildren(),
+                isClean());
         compensationInfo_ = null;
       }
       return compensationInfoBuilder_;
     }
 
     private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-        customAttributes_;
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-        internalGetCustomAttributes() {
+        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> customAttributes_;
+    private com.google.protobuf.MapField
+    internalGetCustomAttributes() {
       if (customAttributes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       return customAttributes_;
     }
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-        internalGetMutableCustomAttributes() {
-      onChanged();
-      ;
+    private com.google.protobuf.MapField
+    internalGetMutableCustomAttributes() {
+      onChanged();;
       if (customAttributes_ == null) {
-        customAttributes_ =
-            com.google.protobuf.MapField.newMapField(
-                CustomAttributesDefaultEntryHolder.defaultEntry);
+        customAttributes_ = com.google.protobuf.MapField.newMapField(
+            CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       if (!customAttributes_.isMutable()) {
         customAttributes_ = customAttributes_.copy();
@@ -8578,8 +7751,6 @@ public int getCustomAttributesCount() {
       return internalGetCustomAttributes().getMap().size();
     }
     /**
-     *
-     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8593,26 +7764,24 @@ public int getCustomAttributesCount() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ + @java.lang.Override - public boolean containsCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomAttributes().getMap().containsKey(key); } - /** Use {@link #getCustomAttributesMap()} instead. */ + /** + * Use {@link #getCustomAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getCustomAttributes() { + public java.util.Map getCustomAttributes() { return getCustomAttributesMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8626,17 +7795,14 @@ public boolean containsCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override - public java.util.Map - getCustomAttributesMap() { + + public java.util.Map getCustomAttributesMap() { return internalGetCustomAttributes().getMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8650,22 +7816,19 @@ public boolean containsCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( - java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8679,15 +7842,13 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -8697,12 +7858,11 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThro } public Builder clearCustomAttributes() { - internalGetMutableCustomAttributes().getMutableMap().clear(); + internalGetMutableCustomAttributes().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8716,25 +7876,25 @@ public Builder clearCustomAttributes() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ - public Builder removeCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableCustomAttributes().getMutableMap().remove(key); + + public Builder removeCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableCustomAttributes().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableCustomAttributes() { + getMutableCustomAttributes() { return internalGetMutableCustomAttributes().getMutableMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8748,24 +7908,21 @@ public Builder removeCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ public Builder putCustomAttributes( - java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4beta1.CustomAttribute value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableCustomAttributes().getMutableMap().put(key, value); + internalGetMutableCustomAttributes().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8779,17 +7936,18 @@ public Builder putCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ + public Builder putAllCustomAttributes( java.util.Map values) { - internalGetMutableCustomAttributes().getMutableMap().putAll(values); + internalGetMutableCustomAttributes().getMutableMap() + .putAll(values); return this; } - private java.util.List degreeTypes_ = java.util.Collections.emptyList(); - + private java.util.List degreeTypes_ = + java.util.Collections.emptyList(); private void ensureDegreeTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); @@ -8797,44 +7955,34 @@ private void ensureDegreeTypesIsMutable() { } } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>( - degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(degreeTypes_, degreeTypes_converter_); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -8842,19 +7990,17 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index to set the value at. * @param value The degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypes(int index, com.google.cloud.talent.v4beta1.DegreeType value) { + public Builder setDegreeTypes( + int index, com.google.cloud.talent.v4beta1.DegreeType value) { if (value == null) { throw new NullPointerException(); } @@ -8864,14 +8010,11 @@ public Builder setDegreeTypes(int index, com.google.cloud.talent.v4beta1.DegreeT return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param value The degreeTypes to add. * @return This builder for chaining. */ @@ -8885,14 +8028,11 @@ public Builder addDegreeTypes(com.google.cloud.talent.v4beta1.DegreeType value) return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param values The degreeTypes to add. * @return This builder for chaining. */ @@ -8906,14 +8046,11 @@ public Builder addAllDegreeTypes( return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return This builder for chaining. */ public Builder clearDegreeTypes() { @@ -8923,28 +8060,23 @@ public Builder clearDegreeTypes() { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - public java.util.List getDegreeTypesValueList() { + public java.util.List + getDegreeTypesValueList() { return java.util.Collections.unmodifiableList(degreeTypes_); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -8952,33 +8084,28 @@ public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypesValue(int index, int value) { + public Builder setDegreeTypesValue( + int index, int value) { ensureDegreeTypesIsMutable(); degreeTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param value The enum numeric value on the wire for degreeTypes to add. * @return This builder for chaining. */ @@ -8989,18 +8116,16 @@ public Builder addDegreeTypesValue(int value) { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param values The enum numeric values on the wire for degreeTypes to add. * @return This builder for chaining. */ - public Builder addAllDegreeTypesValue(java.lang.Iterable values) { + public Builder addAllDegreeTypesValue( + java.lang.Iterable values) { ensureDegreeTypesIsMutable(); for (int value : values) { degreeTypes_.add(value); @@ -9011,8 +8136,6 @@ public Builder addAllDegreeTypesValue(java.lang.Iterable valu private java.lang.Object department_ = ""; /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9020,13 +8143,13 @@ public Builder addAllDegreeTypesValue(java.lang.Iterable valu
      * 
* * string department = 12; - * * @return The department. */ public java.lang.String getDepartment() { java.lang.Object ref = department_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; @@ -9035,8 +8158,6 @@ public java.lang.String getDepartment() { } } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9044,14 +8165,15 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; - * * @return The bytes for department. */ - public com.google.protobuf.ByteString getDepartmentBytes() { + public com.google.protobuf.ByteString + getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); department_ = b; return b; } else { @@ -9059,8 +8181,6 @@ public com.google.protobuf.ByteString getDepartmentBytes() { } } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9068,22 +8188,20 @@ public com.google.protobuf.ByteString getDepartmentBytes() {
      * 
* * string department = 12; - * * @param value The department to set. * @return This builder for chaining. */ - public Builder setDepartment(java.lang.String value) { + public Builder setDepartment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + department_ = value; onChanged(); return this; } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9091,18 +8209,15 @@ public Builder setDepartment(java.lang.String value) {
      * 
* * string department = 12; - * * @return This builder for chaining. */ public Builder clearDepartment() { - + department_ = getDefaultInstance().getDepartment(); onChanged(); return this; } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9110,23 +8225,23 @@ public Builder clearDepartment() {
      * 
* * string department = 12; - * * @param value The bytes for department to set. * @return This builder for chaining. */ - public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { + public Builder setDepartmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + department_ = value; onChanged(); return this; } - private java.util.List employmentTypes_ = java.util.Collections.emptyList(); - + private java.util.List employmentTypes_ = + java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -9134,8 +8249,6 @@ private void ensureEmploymentTypesIsMutable() { } } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9143,17 +8256,13 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9161,15 +8270,12 @@ public java.util.List getEmploym
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9177,7 +8283,6 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -9185,8 +8290,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9194,7 +8297,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. @@ -9210,8 +8312,6 @@ public Builder setEmploymentTypes( return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9219,7 +8319,6 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -9233,8 +8332,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9242,7 +8339,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -9256,8 +8352,6 @@ public Builder addAllEmploymentTypes( return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9265,7 +8359,6 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -9275,8 +8368,6 @@ public Builder clearEmploymentTypes() { return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9284,15 +8375,13 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9300,7 +8389,6 @@ public java.util.List getEmploymentTypesValueList() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -9308,8 +8396,6 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9317,20 +8403,18 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue(int index, int value) { + public Builder setEmploymentTypesValue( + int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9338,7 +8422,6 @@ public Builder setEmploymentTypesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -9349,8 +8432,6 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9358,11 +8439,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue( + java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -9373,8 +8454,6 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable private java.lang.Object incentives_ = ""; /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9382,13 +8461,13 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable
      * 
* * string incentives = 14; - * * @return The incentives. */ public java.lang.String getIncentives() { java.lang.Object ref = incentives_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; @@ -9397,8 +8476,6 @@ public java.lang.String getIncentives() { } } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9406,14 +8483,15 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; - * * @return The bytes for incentives. */ - public com.google.protobuf.ByteString getIncentivesBytes() { + public com.google.protobuf.ByteString + getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incentives_ = b; return b; } else { @@ -9421,8 +8499,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() { } } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9430,22 +8506,20 @@ public com.google.protobuf.ByteString getIncentivesBytes() {
      * 
* * string incentives = 14; - * * @param value The incentives to set. * @return This builder for chaining. */ - public Builder setIncentives(java.lang.String value) { + public Builder setIncentives( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incentives_ = value; onChanged(); return this; } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9453,18 +8527,15 @@ public Builder setIncentives(java.lang.String value) {
      * 
* * string incentives = 14; - * * @return This builder for chaining. */ public Builder clearIncentives() { - + incentives_ = getDefaultInstance().getIncentives(); onChanged(); return this; } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9472,16 +8543,16 @@ public Builder clearIncentives() {
      * 
* * string incentives = 14; - * * @param value The bytes for incentives to set. * @return This builder for chaining. */ - public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { + public Builder setIncentivesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incentives_ = value; onChanged(); return this; @@ -9489,8 +8560,6 @@ public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9504,13 +8573,13 @@ public Builder setIncentivesBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 15; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -9519,8 +8588,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9534,14 +8601,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -9549,8 +8617,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9564,22 +8630,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 15; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9593,18 +8657,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 15; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9618,16 +8679,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 15; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -9635,65 +8696,51 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private int jobLevel_ = 0; /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override - public int getJobLevelValue() { + @java.lang.Override public int getJobLevelValue() { return jobLevel_; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @param value The enum numeric value on the wire for jobLevel to set. * @return This builder for chaining. */ public Builder setJobLevelValue(int value) { - + jobLevel_ = value; onChanged(); return this; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The jobLevel. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobLevel result = - com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4beta1.JobLevel result = com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @param value The jobLevel to set. * @return This builder for chaining. */ @@ -9701,33 +8748,28 @@ public Builder setJobLevel(com.google.cloud.talent.v4beta1.JobLevel value) { if (value == null) { throw new NullPointerException(); } - + jobLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return This builder for chaining. */ public Builder clearJobLevel() { - + jobLevel_ = 0; onChanged(); return this; } - private int promotionValue_; + private int promotionValue_ ; /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9738,7 +8780,6 @@ public Builder clearJobLevel() {
      * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ @java.lang.Override @@ -9746,8 +8787,6 @@ public int getPromotionValue() { return promotionValue_; } /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9758,19 +8797,16 @@ public int getPromotionValue() {
      * 
* * int32 promotion_value = 17; - * * @param value The promotionValue to set. * @return This builder for chaining. */ public Builder setPromotionValue(int value) { - + promotionValue_ = value; onChanged(); return this; } /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9781,11 +8817,10 @@ public Builder setPromotionValue(int value) {
      * 
* * int32 promotion_value = 17; - * * @return This builder for chaining. */ public Builder clearPromotionValue() { - + promotionValue_ = 0; onChanged(); return this; @@ -9793,8 +8828,6 @@ public Builder clearPromotionValue() { private java.lang.Object qualifications_ = ""; /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9805,13 +8838,13 @@ public Builder clearPromotionValue() {
      * 
* * string qualifications = 18; - * * @return The qualifications. */ public java.lang.String getQualifications() { java.lang.Object ref = qualifications_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; @@ -9820,8 +8853,6 @@ public java.lang.String getQualifications() { } } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9832,14 +8863,15 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ - public com.google.protobuf.ByteString getQualificationsBytes() { + public com.google.protobuf.ByteString + getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); qualifications_ = b; return b; } else { @@ -9847,8 +8879,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() { } } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9859,22 +8889,20 @@ public com.google.protobuf.ByteString getQualificationsBytes() {
      * 
* * string qualifications = 18; - * * @param value The qualifications to set. * @return This builder for chaining. */ - public Builder setQualifications(java.lang.String value) { + public Builder setQualifications( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + qualifications_ = value; onChanged(); return this; } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9885,18 +8913,15 @@ public Builder setQualifications(java.lang.String value) {
      * 
* * string qualifications = 18; - * * @return This builder for chaining. */ public Builder clearQualifications() { - + qualifications_ = getDefaultInstance().getQualifications(); onChanged(); return this; } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9907,16 +8932,16 @@ public Builder clearQualifications() {
      * 
* * string qualifications = 18; - * * @param value The bytes for qualifications to set. * @return This builder for chaining. */ - public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { + public Builder setQualificationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + qualifications_ = value; onChanged(); return this; @@ -9924,8 +8949,6 @@ public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object responsibilities_ = ""; /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9936,13 +8959,13 @@ public Builder setQualificationsBytes(com.google.protobuf.ByteString value) {
      * 
* * string responsibilities = 19; - * * @return The responsibilities. */ public java.lang.String getResponsibilities() { java.lang.Object ref = responsibilities_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; @@ -9951,8 +8974,6 @@ public java.lang.String getResponsibilities() { } } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9963,14 +8984,15 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ - public com.google.protobuf.ByteString getResponsibilitiesBytes() { + public com.google.protobuf.ByteString + getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -9978,8 +9000,6 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() { } } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9990,22 +9010,20 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() {
      * 
* * string responsibilities = 19; - * * @param value The responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilities(java.lang.String value) { + public Builder setResponsibilities( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responsibilities_ = value; onChanged(); return this; } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -10016,18 +9034,15 @@ public Builder setResponsibilities(java.lang.String value) {
      * 
* * string responsibilities = 19; - * * @return This builder for chaining. */ public Builder clearResponsibilities() { - + responsibilities_ = getDefaultInstance().getResponsibilities(); onChanged(); return this; } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -10038,16 +9053,16 @@ public Builder clearResponsibilities() {
      * 
* * string responsibilities = 19; - * * @param value The bytes for responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { + public Builder setResponsibilitiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responsibilities_ = value; onChanged(); return this; @@ -10055,8 +9070,6 @@ public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { private int postingRegion_ = 0; /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10068,16 +9081,12 @@ public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override - public int getPostingRegionValue() { + @java.lang.Override public int getPostingRegionValue() { return postingRegion_; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10089,19 +9098,16 @@ public int getPostingRegionValue() {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @param value The enum numeric value on the wire for postingRegion to set. * @return This builder for chaining. */ public Builder setPostingRegionValue(int value) { - + postingRegion_ = value; onChanged(); return this; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10113,19 +9119,15 @@ public Builder setPostingRegionValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The postingRegion. */ @java.lang.Override public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.PostingRegion result = - com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4beta1.PostingRegion result = com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10137,7 +9139,6 @@ public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @param value The postingRegion to set. * @return This builder for chaining. */ @@ -10145,14 +9146,12 @@ public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion va if (value == null) { throw new NullPointerException(); } - + postingRegion_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10164,11 +9163,10 @@ public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion va
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return This builder for chaining. */ public Builder clearPostingRegion() { - + postingRegion_ = 0; onChanged(); return this; @@ -10176,8 +9174,6 @@ public Builder clearPostingRegion() { private int visibility_ = 0; /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10185,19 +9181,14 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override - @java.lang.Deprecated - public int getVisibilityValue() { + @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10205,22 +9196,18 @@ public int getVisibilityValue() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @param value The enum numeric value on the wire for visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setVisibilityValue(int value) { - + @java.lang.Deprecated public Builder setVisibilityValue(int value) { + visibility_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10228,22 +9215,17 @@ public Builder setVisibilityValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.talent.v4beta1.Visibility getVisibility() { + @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Visibility result = - com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4beta1.Visibility result = com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10251,25 +9233,21 @@ public com.google.cloud.talent.v4beta1.Visibility getVisibility() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @param value The visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { + @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { if (value == null) { throw new NullPointerException(); } - + visibility_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10277,14 +9255,12 @@ public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearVisibility() { - + @java.lang.Deprecated public Builder clearVisibility() { + visibility_ = 0; onChanged(); return this; @@ -10292,49 +9268,36 @@ public Builder clearVisibility() { private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - jobStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobStartTimeBuilder_; /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ public boolean hasJobStartTime() { return jobStartTimeBuilder_ != null || jobStartTime_ != null; } /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ public com.google.protobuf.Timestamp getJobStartTime() { if (jobStartTimeBuilder_ == null) { - return jobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobStartTime_; + return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; } else { return jobStartTimeBuilder_.getMessage(); } } /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10356,8 +9319,6 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10365,7 +9326,8 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_start_time = 22;
      */
-    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobStartTimeBuilder_ == null) {
         jobStartTime_ = builderForValue.build();
         onChanged();
@@ -10376,8 +9338,6 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10389,9 +9349,7 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       if (jobStartTimeBuilder_ == null) {
         if (jobStartTime_ != null) {
           jobStartTime_ =
-              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(jobStartTime_).mergeFrom(value).buildPartial();
         } else {
           jobStartTime_ = value;
         }
@@ -10403,8 +9361,6 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10424,8 +9380,6 @@ public Builder clearJobStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10434,13 +9388,11 @@ public Builder clearJobStartTime() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {
-
+      
       onChanged();
       return getJobStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10452,14 +9404,11 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
       if (jobStartTimeBuilder_ != null) {
         return jobStartTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobStartTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : jobStartTime_;
+        return jobStartTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10468,17 +9417,14 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getJobStartTimeFieldBuilder() {
       if (jobStartTimeBuilder_ == null) {
-        jobStartTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getJobStartTime(), getParentForChildren(), isClean());
+        jobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getJobStartTime(),
+                getParentForChildren(),
+                isClean());
         jobStartTime_ = null;
       }
       return jobStartTimeBuilder_;
@@ -10486,49 +9432,36 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp jobEndTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        jobEndTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobEndTimeBuilder_;
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ public boolean hasJobEndTime() { return jobEndTimeBuilder_ != null || jobEndTime_ != null; } /** - * - * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ public com.google.protobuf.Timestamp getJobEndTime() { if (jobEndTimeBuilder_ == null) { - return jobEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobEndTime_; + return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } else { return jobEndTimeBuilder_.getMessage(); } } /** - * - * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10550,8 +9483,6 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10559,7 +9490,8 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_end_time = 23;
      */
-    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobEndTimeBuilder_ == null) {
         jobEndTime_ = builderForValue.build();
         onChanged();
@@ -10570,8 +9502,6 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10583,7 +9513,7 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       if (jobEndTimeBuilder_ == null) {
         if (jobEndTime_ != null) {
           jobEndTime_ =
-              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
         } else {
           jobEndTime_ = value;
         }
@@ -10595,8 +9525,6 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10616,8 +9544,6 @@ public Builder clearJobEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10626,13 +9552,11 @@ public Builder clearJobEndTime() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {
-
+      
       onChanged();
       return getJobEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10644,14 +9568,11 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
       if (jobEndTimeBuilder_ != null) {
         return jobEndTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobEndTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : jobEndTime_;
+        return jobEndTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10660,17 +9581,14 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getJobEndTimeFieldBuilder() {
       if (jobEndTimeBuilder_ == null) {
-        jobEndTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getJobEndTime(), getParentForChildren(), isClean());
+        jobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getJobEndTime(),
+                getParentForChildren(),
+                isClean());
         jobEndTime_ = null;
       }
       return jobEndTimeBuilder_;
@@ -10678,13 +9596,8 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingPublishTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingPublishTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingPublishTimeBuilder_;
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10692,15 +9605,12 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ public boolean hasPostingPublishTime() { return postingPublishTimeBuilder_ != null || postingPublishTime_ != null; } /** - * - * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10708,21 +9618,16 @@ public boolean hasPostingPublishTime() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ public com.google.protobuf.Timestamp getPostingPublishTime() { if (postingPublishTimeBuilder_ == null) { - return postingPublishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingPublishTime_; + return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; } else { return postingPublishTimeBuilder_.getMessage(); } } /** - * - * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10745,8 +9650,6 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10755,7 +9658,8 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
-    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingPublishTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingPublishTimeBuilder_ == null) {
         postingPublishTime_ = builderForValue.build();
         onChanged();
@@ -10766,8 +9670,6 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10780,9 +9682,7 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       if (postingPublishTimeBuilder_ == null) {
         if (postingPublishTime_ != null) {
           postingPublishTime_ =
-              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(postingPublishTime_).mergeFrom(value).buildPartial();
         } else {
           postingPublishTime_ = value;
         }
@@ -10794,8 +9694,6 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10816,8 +9714,6 @@ public Builder clearPostingPublishTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10827,13 +9723,11 @@ public Builder clearPostingPublishTime() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {
-
+      
       onChanged();
       return getPostingPublishTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10846,14 +9740,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
       if (postingPublishTimeBuilder_ != null) {
         return postingPublishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingPublishTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : postingPublishTime_;
+        return postingPublishTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10863,17 +9754,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getPostingPublishTimeFieldBuilder() {
       if (postingPublishTimeBuilder_ == null) {
-        postingPublishTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPostingPublishTime(), getParentForChildren(), isClean());
+        postingPublishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPostingPublishTime(),
+                getParentForChildren(),
+                isClean());
         postingPublishTime_ = null;
       }
       return postingPublishTimeBuilder_;
@@ -10881,13 +9769,8 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingExpireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingExpireTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingExpireTimeBuilder_;
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10927,15 +9810,12 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ public boolean hasPostingExpireTime() { return postingExpireTimeBuilder_ != null || postingExpireTime_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10975,21 +9855,16 @@ public boolean hasPostingExpireTime() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ public com.google.protobuf.Timestamp getPostingExpireTime() { if (postingExpireTimeBuilder_ == null) { - return postingExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingExpireTime_; + return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; } else { return postingExpireTimeBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11044,8 +9919,6 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11086,7 +9959,8 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
-    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingExpireTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingExpireTimeBuilder_ == null) {
         postingExpireTime_ = builderForValue.build();
         onChanged();
@@ -11097,8 +9971,6 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11143,9 +10015,7 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       if (postingExpireTimeBuilder_ == null) {
         if (postingExpireTime_ != null) {
           postingExpireTime_ =
-              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(postingExpireTime_).mergeFrom(value).buildPartial();
         } else {
           postingExpireTime_ = value;
         }
@@ -11157,8 +10027,6 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11211,8 +10079,6 @@ public Builder clearPostingExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11254,13 +10120,11 @@ public Builder clearPostingExpireTime() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
-
+      
       onChanged();
       return getPostingExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11305,14 +10169,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
       if (postingExpireTimeBuilder_ != null) {
         return postingExpireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingExpireTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : postingExpireTime_;
+        return postingExpireTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11354,17 +10215,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getPostingExpireTimeFieldBuilder() {
       if (postingExpireTimeBuilder_ == null) {
-        postingExpireTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPostingExpireTime(), getParentForChildren(), isClean());
+        postingExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPostingExpireTime(),
+                getParentForChildren(),
+                isClean());
         postingExpireTime_ = null;
       }
       return postingExpireTimeBuilder_;
@@ -11372,58 +10230,39 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingCreateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingCreateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ public boolean hasPostingCreateTime() { return postingCreateTimeBuilder_ != null || postingCreateTime_ != null; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ public com.google.protobuf.Timestamp getPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } else { return postingCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { @@ -11439,17 +10278,14 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (postingCreateTimeBuilder_ == null) { postingCreateTime_ = builderForValue.build(); onChanged(); @@ -11460,23 +10296,17 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { if (postingCreateTime_ != null) { postingCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingCreateTime_).mergeFrom(value).buildPartial(); } else { postingCreateTime_ = value; } @@ -11488,15 +10318,11 @@ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { @@ -11510,64 +10336,48 @@ public Builder clearPostingCreateTime() { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() { - + onChanged(); return getPostingCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { if (postingCreateTimeBuilder_ != null) { return postingCreateTimeBuilder_.getMessageOrBuilder(); } else { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPostingCreateTimeFieldBuilder() { if (postingCreateTimeBuilder_ == null) { - postingCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPostingCreateTime(), getParentForChildren(), isClean()); + postingCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPostingCreateTime(), + getParentForChildren(), + isClean()); postingCreateTime_ = null; } return postingCreateTimeBuilder_; @@ -11575,58 +10385,39 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - postingUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingUpdateTimeBuilder_; /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ public boolean hasPostingUpdateTime() { return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ public com.google.protobuf.Timestamp getPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } else { return postingUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { @@ -11642,17 +10433,14 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (postingUpdateTimeBuilder_ == null) { postingUpdateTime_ = builderForValue.build(); onChanged(); @@ -11663,23 +10451,17 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { if (postingUpdateTime_ != null) { postingUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_).mergeFrom(value).buildPartial(); } else { postingUpdateTime_ = value; } @@ -11691,15 +10473,11 @@ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { @@ -11713,64 +10491,48 @@ public Builder clearPostingUpdateTime() { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() { - + onChanged(); return getPostingUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { if (postingUpdateTimeBuilder_ != null) { return postingUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPostingUpdateTimeFieldBuilder() { if (postingUpdateTimeBuilder_ == null) { - postingUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPostingUpdateTime(), getParentForChildren(), isClean()); + postingUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPostingUpdateTime(), + getParentForChildren(), + isClean()); postingUpdateTime_ = null; } return postingUpdateTimeBuilder_; @@ -11778,20 +10540,18 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { private java.lang.Object companyDisplayName_ = ""; /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ public java.lang.String getCompanyDisplayName() { java.lang.Object ref = companyDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; @@ -11800,21 +10560,20 @@ public java.lang.String getCompanyDisplayName() { } } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ - public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString + getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -11822,61 +10581,54 @@ public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { } } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayName(java.lang.String value) { + public Builder setCompanyDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + companyDisplayName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCompanyDisplayName() { - + companyDisplayName_ = getDefaultInstance().getCompanyDisplayName(); onChanged(); return this; } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + companyDisplayName_ = value; onChanged(); return this; @@ -11884,58 +10636,39 @@ public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> - derivedInfoBuilder_; + com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> derivedInfoBuilder_; /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -11951,15 +10684,11 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo va return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo( com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder builderForValue) { @@ -11973,23 +10702,17 @@ public Builder setDerivedInfo( return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); } else { derivedInfo_ = value; } @@ -12001,15 +10724,11 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -12023,64 +10742,48 @@ public Builder clearDerivedInfo() { return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? + com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> + com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>( - getDerivedInfo(), getParentForChildren(), isClean()); + derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>( + getDerivedInfo(), + getParentForChildren(), + isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; @@ -12088,55 +10791,41 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> - processingOptionsBuilder_; + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> processingOptionsBuilder_; /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ public boolean hasProcessingOptions() { return processingOptionsBuilder_ != null || processingOptions_ != null; } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() { if (processingOptionsBuilder_ == null) { - return processingOptions_ == null - ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } else { return processingOptionsBuilder_.getMessage(); } } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public Builder setProcessingOptions( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { + public Builder setProcessingOptions(com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { if (processingOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12150,8 +10839,6 @@ public Builder setProcessingOptions( return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12170,22 +10857,17 @@ public Builder setProcessingOptions( return this; } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public Builder mergeProcessingOptions( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { + public Builder mergeProcessingOptions(com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { if (processingOptionsBuilder_ == null) { if (processingOptions_ != null) { processingOptions_ = - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_).mergeFrom(value).buildPartial(); } else { processingOptions_ = value; } @@ -12197,8 +10879,6 @@ public Builder mergeProcessingOptions( return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12217,42 +10897,33 @@ public Builder clearProcessingOptions() { return this; } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder - getProcessingOptionsBuilder() { - + public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder getProcessingOptionsBuilder() { + onChanged(); return getProcessingOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder - getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { if (processingOptionsBuilder_ != null) { return processingOptionsBuilder_.getMessageOrBuilder(); } else { - return processingOptions_ == null - ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } } /** - * - * *
      * Options for job processing.
      * 
@@ -12260,24 +10931,21 @@ public Builder clearProcessingOptions() { * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> getProcessingOptionsFieldBuilder() { if (processingOptionsBuilder_ == null) { - processingOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>( - getProcessingOptions(), getParentForChildren(), isClean()); + processingOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>( + getProcessingOptions(), + getParentForChildren(), + isClean()); processingOptions_ = null; } return processingOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12287,12 +10955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job) private static final com.google.cloud.talent.v4beta1.Job DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job(); } @@ -12301,27 +10969,27 @@ public static com.google.cloud.talent.v4beta1.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12336,4 +11004,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java index 8a7b2867cb81..40a05c0e30fe 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents employee benefits included with the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.JobBenefit} */ -public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { +public enum JobBenefit + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if the type isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ JOB_BENEFIT_UNSPECIFIED(0), /** - * - * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -50,8 +30,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   CHILD_CARE(1),
   /**
-   *
-   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -61,8 +39,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   DENTAL(2),
   /**
-   *
-   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -71,8 +47,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ DOMESTIC_PARTNER(3), /** - * - * *
    * The job allows for a flexible work schedule.
    * 
@@ -81,8 +55,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ FLEXIBLE_HOURS(4), /** - * - * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -91,8 +63,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ MEDICAL(5), /** - * - * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -102,8 +72,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   LIFE_INSURANCE(6),
   /**
-   *
-   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -113,8 +81,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   PARENTAL_LEAVE(7),
   /**
-   *
-   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -124,8 +90,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   RETIREMENT_PLAN(8),
   /**
-   *
-   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -134,8 +98,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ SICK_DAYS(9), /** - * - * *
    * The job includes paid time off for vacation.
    * 
@@ -144,8 +106,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ VACATION(10), /** - * - * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -158,8 +118,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value if the type isn't specified.
    * 
@@ -168,8 +126,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_BENEFIT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -179,8 +135,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CHILD_CARE_VALUE = 1;
   /**
-   *
-   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -190,8 +144,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DENTAL_VALUE = 2;
   /**
-   *
-   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -200,8 +152,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOMESTIC_PARTNER_VALUE = 3; /** - * - * *
    * The job allows for a flexible work schedule.
    * 
@@ -210,8 +160,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLEXIBLE_HOURS_VALUE = 4; /** - * - * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -220,8 +168,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDICAL_VALUE = 5; /** - * - * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -231,8 +177,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LIFE_INSURANCE_VALUE = 6;
   /**
-   *
-   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -242,8 +186,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PARENTAL_LEAVE_VALUE = 7;
   /**
-   *
-   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -253,8 +195,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int RETIREMENT_PLAN_VALUE = 8;
   /**
-   *
-   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -263,8 +203,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SICK_DAYS_VALUE = 9; /** - * - * *
    * The job includes paid time off for vacation.
    * 
@@ -273,8 +211,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VACATION_VALUE = 10; /** - * - * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -284,6 +220,7 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VISION_VALUE = 11;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -308,67 +245,58 @@ public static JobBenefit valueOf(int value) {
    */
   public static JobBenefit forNumber(int value) {
     switch (value) {
-      case 0:
-        return JOB_BENEFIT_UNSPECIFIED;
-      case 1:
-        return CHILD_CARE;
-      case 2:
-        return DENTAL;
-      case 3:
-        return DOMESTIC_PARTNER;
-      case 4:
-        return FLEXIBLE_HOURS;
-      case 5:
-        return MEDICAL;
-      case 6:
-        return LIFE_INSURANCE;
-      case 7:
-        return PARENTAL_LEAVE;
-      case 8:
-        return RETIREMENT_PLAN;
-      case 9:
-        return SICK_DAYS;
-      case 10:
-        return VACATION;
-      case 11:
-        return VISION;
-      default:
-        return null;
+      case 0: return JOB_BENEFIT_UNSPECIFIED;
+      case 1: return CHILD_CARE;
+      case 2: return DENTAL;
+      case 3: return DOMESTIC_PARTNER;
+      case 4: return FLEXIBLE_HOURS;
+      case 5: return MEDICAL;
+      case 6: return LIFE_INSURANCE;
+      case 7: return PARENTAL_LEAVE;
+      case 8: return RETIREMENT_PLAN;
+      case 9: return SICK_DAYS;
+      case 10: return VACATION;
+      case 11: return VISION;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      JobBenefit> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public JobBenefit findValueByNumber(int number) {
+            return JobBenefit.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public JobBenefit findValueByNumber(int number) {
-          return JobBenefit.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final JobBenefit[] VALUES = values();
 
-  public static JobBenefit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static JobBenefit valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -384,3 +312,4 @@ private JobBenefit(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobBenefit)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
similarity index 79%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
index a842a2873d97..6f404cf5df65 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * An enum that represents the categorization or primary focus of specific
  * role. This value is different than the "industry" associated with a role,
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.JobCategory}
  */
-public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobCategory
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default value if the category isn't specified.
    * 
@@ -41,8 +23,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ JOB_CATEGORY_UNSPECIFIED(0), /** - * - * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -51,8 +31,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ACCOUNTING_AND_FINANCE(1), /** - * - * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -61,8 +39,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ADMINISTRATIVE_AND_OFFICE(2), /** - * - * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -71,8 +47,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ADVERTISING_AND_MARKETING(3), /** - * - * *
    * An animal care job, such as Veterinarian.
    * 
@@ -81,8 +55,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ANIMAL_CARE(4), /** - * - * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -91,8 +63,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ART_FASHION_AND_DESIGN(5), /** - * - * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -101,8 +71,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ BUSINESS_OPERATIONS(6), /** - * - * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -111,8 +79,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CLEANING_AND_FACILITIES(7), /** - * - * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -121,8 +87,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ COMPUTER_AND_IT(8), /** - * - * *
    * A construction job, such as General Laborer.
    * 
@@ -131,8 +95,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CONSTRUCTION(9), /** - * - * *
    * A customer service job, such s Cashier.
    * 
@@ -141,8 +103,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CUSTOMER_SERVICE(10), /** - * - * *
    * An education job, such as School Teacher.
    * 
@@ -151,8 +111,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ EDUCATION(11), /** - * - * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -161,8 +119,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ENTERTAINMENT_AND_TRAVEL(12), /** - * - * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -171,8 +127,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ FARMING_AND_OUTDOORS(13), /** - * - * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -181,8 +135,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ HEALTHCARE(14), /** - * - * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -191,8 +143,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ HUMAN_RESOURCES(15), /** - * - * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -201,8 +151,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLATION_MAINTENANCE_AND_REPAIR(16), /** - * - * *
    * A legal job, such as Law Clerk.
    * 
@@ -211,8 +159,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ LEGAL(17), /** - * - * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -222,8 +168,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
    */
   MANAGEMENT(18),
   /**
-   *
-   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -232,8 +176,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ MANUFACTURING_AND_WAREHOUSE(19), /** - * - * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -242,8 +184,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ MEDIA_COMMUNICATIONS_AND_WRITING(20), /** - * - * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -252,8 +192,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ OIL_GAS_AND_MINING(21), /** - * - * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -262,8 +200,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ PERSONAL_CARE_AND_SERVICES(22), /** - * - * *
    * A protective services job, such as Security Guard.
    * 
@@ -272,8 +208,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ PROTECTIVE_SERVICES(23), /** - * - * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -282,8 +216,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ REAL_ESTATE(24), /** - * - * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -292,8 +224,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ RESTAURANT_AND_HOSPITALITY(25), /** - * - * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -302,8 +232,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SALES_AND_RETAIL(26), /** - * - * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -312,8 +240,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SCIENCE_AND_ENGINEERING(27), /** - * - * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -322,8 +248,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SOCIAL_SERVICES_AND_NON_PROFIT(28), /** - * - * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -332,8 +256,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SPORTS_FITNESS_AND_RECREATION(29), /** - * - * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -345,8 +267,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the category isn't specified.
    * 
@@ -355,8 +275,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -365,8 +283,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; /** - * - * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -375,8 +291,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; /** - * - * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -385,8 +299,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADVERTISING_AND_MARKETING_VALUE = 3; /** - * - * *
    * An animal care job, such as Veterinarian.
    * 
@@ -395,8 +307,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANIMAL_CARE_VALUE = 4; /** - * - * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -405,8 +315,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ART_FASHION_AND_DESIGN_VALUE = 5; /** - * - * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -415,8 +323,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUSINESS_OPERATIONS_VALUE = 6; /** - * - * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -425,8 +331,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLEANING_AND_FACILITIES_VALUE = 7; /** - * - * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -435,8 +339,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPUTER_AND_IT_VALUE = 8; /** - * - * *
    * A construction job, such as General Laborer.
    * 
@@ -445,8 +347,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONSTRUCTION_VALUE = 9; /** - * - * *
    * A customer service job, such s Cashier.
    * 
@@ -455,8 +355,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CUSTOMER_SERVICE_VALUE = 10; /** - * - * *
    * An education job, such as School Teacher.
    * 
@@ -465,8 +363,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EDUCATION_VALUE = 11; /** - * - * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -475,8 +371,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; /** - * - * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -485,8 +379,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FARMING_AND_OUTDOORS_VALUE = 13; /** - * - * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -495,8 +387,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEALTHCARE_VALUE = 14; /** - * - * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -505,8 +395,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HUMAN_RESOURCES_VALUE = 15; /** - * - * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -515,8 +403,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; /** - * - * *
    * A legal job, such as Law Clerk.
    * 
@@ -525,8 +411,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LEGAL_VALUE = 17; /** - * - * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -536,8 +420,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MANAGEMENT_VALUE = 18;
   /**
-   *
-   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -546,8 +428,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; /** - * - * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -556,8 +436,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; /** - * - * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -566,8 +444,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OIL_GAS_AND_MINING_VALUE = 21; /** - * - * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -576,8 +452,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; /** - * - * *
    * A protective services job, such as Security Guard.
    * 
@@ -586,8 +460,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROTECTIVE_SERVICES_VALUE = 23; /** - * - * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -596,8 +468,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REAL_ESTATE_VALUE = 24; /** - * - * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -606,8 +476,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; /** - * - * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -616,8 +484,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SALES_AND_RETAIL_VALUE = 26; /** - * - * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -626,8 +492,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; /** - * - * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -636,8 +500,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; /** - * - * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -646,8 +508,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; /** - * - * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -656,6 +516,7 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -680,105 +541,77 @@ public static JobCategory valueOf(int value) { */ public static JobCategory forNumber(int value) { switch (value) { - case 0: - return JOB_CATEGORY_UNSPECIFIED; - case 1: - return ACCOUNTING_AND_FINANCE; - case 2: - return ADMINISTRATIVE_AND_OFFICE; - case 3: - return ADVERTISING_AND_MARKETING; - case 4: - return ANIMAL_CARE; - case 5: - return ART_FASHION_AND_DESIGN; - case 6: - return BUSINESS_OPERATIONS; - case 7: - return CLEANING_AND_FACILITIES; - case 8: - return COMPUTER_AND_IT; - case 9: - return CONSTRUCTION; - case 10: - return CUSTOMER_SERVICE; - case 11: - return EDUCATION; - case 12: - return ENTERTAINMENT_AND_TRAVEL; - case 13: - return FARMING_AND_OUTDOORS; - case 14: - return HEALTHCARE; - case 15: - return HUMAN_RESOURCES; - case 16: - return INSTALLATION_MAINTENANCE_AND_REPAIR; - case 17: - return LEGAL; - case 18: - return MANAGEMENT; - case 19: - return MANUFACTURING_AND_WAREHOUSE; - case 20: - return MEDIA_COMMUNICATIONS_AND_WRITING; - case 21: - return OIL_GAS_AND_MINING; - case 22: - return PERSONAL_CARE_AND_SERVICES; - case 23: - return PROTECTIVE_SERVICES; - case 24: - return REAL_ESTATE; - case 25: - return RESTAURANT_AND_HOSPITALITY; - case 26: - return SALES_AND_RETAIL; - case 27: - return SCIENCE_AND_ENGINEERING; - case 28: - return SOCIAL_SERVICES_AND_NON_PROFIT; - case 29: - return SPORTS_FITNESS_AND_RECREATION; - case 30: - return TRANSPORTATION_AND_LOGISTICS; - default: - return null; + case 0: return JOB_CATEGORY_UNSPECIFIED; + case 1: return ACCOUNTING_AND_FINANCE; + case 2: return ADMINISTRATIVE_AND_OFFICE; + case 3: return ADVERTISING_AND_MARKETING; + case 4: return ANIMAL_CARE; + case 5: return ART_FASHION_AND_DESIGN; + case 6: return BUSINESS_OPERATIONS; + case 7: return CLEANING_AND_FACILITIES; + case 8: return COMPUTER_AND_IT; + case 9: return CONSTRUCTION; + case 10: return CUSTOMER_SERVICE; + case 11: return EDUCATION; + case 12: return ENTERTAINMENT_AND_TRAVEL; + case 13: return FARMING_AND_OUTDOORS; + case 14: return HEALTHCARE; + case 15: return HUMAN_RESOURCES; + case 16: return INSTALLATION_MAINTENANCE_AND_REPAIR; + case 17: return LEGAL; + case 18: return MANAGEMENT; + case 19: return MANUFACTURING_AND_WAREHOUSE; + case 20: return MEDIA_COMMUNICATIONS_AND_WRITING; + case 21: return OIL_GAS_AND_MINING; + case 22: return PERSONAL_CARE_AND_SERVICES; + case 23: return PROTECTIVE_SERVICES; + case 24: return REAL_ESTATE; + case 25: return RESTAURANT_AND_HOSPITALITY; + case 26: return SALES_AND_RETAIL; + case 27: return SCIENCE_AND_ENGINEERING; + case 28: return SOCIAL_SERVICES_AND_NON_PROFIT; + case 29: return SPORTS_FITNESS_AND_RECREATION; + case 30: return TRANSPORTATION_AND_LOGISTICS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + JobCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobCategory findValueByNumber(int number) { + return JobCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobCategory findValueByNumber(int number) { - return JobCategory.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(5); } private static final JobCategory[] VALUES = values(); - public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobCategory valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -794,3 +627,4 @@ private JobCategory(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobCategory) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java index c7a3b5f85e00..86df01b76dea 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An event issued when a job seeker interacts with the application that
  * implements Cloud Talent Solution.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.JobEvent}
  */
-public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class JobEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobEvent)
     JobEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private JobEvent() {
     type_ = 0;
     jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -46,33 +28,30 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.EventProto
-        .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.EventProto
-        .internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.JobEvent.class,
-            com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
+            com.google.cloud.talent.v4beta1.JobEvent.class, com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enumeration of an event attributed to the behavior of the end user,
    * such as a job seeker.
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.JobEvent.JobEventType}
    */
-  public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum JobEventType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -92,8 +70,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum { */ JOB_EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -105,8 +81,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     IMPRESSION(1),
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -119,8 +93,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     VIEW(2),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -131,8 +103,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     VIEW_REDIRECT(3),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -142,8 +112,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_START(4),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -153,8 +121,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_FINISH(5),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -168,8 +134,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_QUICK_SUBMISSION(6),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -180,8 +144,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_REDIRECT(7),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -193,8 +155,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_START_FROM_SEARCH(8),
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -209,8 +169,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_REDIRECT_FROM_SEARCH(9),
     /**
-     *
-     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -221,8 +179,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_COMPANY_SUBMIT(10),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -232,8 +188,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOKMARK(11),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -244,8 +198,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NOTIFICATION(12),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -258,8 +210,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     HIRED(13),
     /**
-     *
-     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -270,8 +220,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SENT_CV(14),
     /**
-     *
-     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -287,8 +235,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -297,8 +243,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -310,8 +254,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IMPRESSION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -324,8 +266,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEW_VALUE = 2;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -336,8 +276,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEW_REDIRECT_VALUE = 3;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -347,8 +285,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_START_VALUE = 4;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -358,8 +294,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_FINISH_VALUE = 5;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -373,8 +307,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_QUICK_SUBMISSION_VALUE = 6;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -385,8 +317,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_REDIRECT_VALUE = 7;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -398,8 +328,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_START_FROM_SEARCH_VALUE = 8;
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -414,8 +342,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_REDIRECT_FROM_SEARCH_VALUE = 9;
     /**
-     *
-     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -426,8 +352,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_COMPANY_SUBMIT_VALUE = 10;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -437,8 +361,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOKMARK_VALUE = 11;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -449,8 +371,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NOTIFICATION_VALUE = 12;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -463,8 +383,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HIRED_VALUE = 13;
     /**
-     *
-     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -475,8 +393,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SENT_CV_VALUE = 14;
     /**
-     *
-     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -489,6 +405,7 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INTERVIEW_GRANTED_VALUE = 15;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -513,75 +430,62 @@ public static JobEventType valueOf(int value) {
      */
     public static JobEventType forNumber(int value) {
       switch (value) {
-        case 0:
-          return JOB_EVENT_TYPE_UNSPECIFIED;
-        case 1:
-          return IMPRESSION;
-        case 2:
-          return VIEW;
-        case 3:
-          return VIEW_REDIRECT;
-        case 4:
-          return APPLICATION_START;
-        case 5:
-          return APPLICATION_FINISH;
-        case 6:
-          return APPLICATION_QUICK_SUBMISSION;
-        case 7:
-          return APPLICATION_REDIRECT;
-        case 8:
-          return APPLICATION_START_FROM_SEARCH;
-        case 9:
-          return APPLICATION_REDIRECT_FROM_SEARCH;
-        case 10:
-          return APPLICATION_COMPANY_SUBMIT;
-        case 11:
-          return BOOKMARK;
-        case 12:
-          return NOTIFICATION;
-        case 13:
-          return HIRED;
-        case 14:
-          return SENT_CV;
-        case 15:
-          return INTERVIEW_GRANTED;
-        default:
-          return null;
+        case 0: return JOB_EVENT_TYPE_UNSPECIFIED;
+        case 1: return IMPRESSION;
+        case 2: return VIEW;
+        case 3: return VIEW_REDIRECT;
+        case 4: return APPLICATION_START;
+        case 5: return APPLICATION_FINISH;
+        case 6: return APPLICATION_QUICK_SUBMISSION;
+        case 7: return APPLICATION_REDIRECT;
+        case 8: return APPLICATION_START_FROM_SEARCH;
+        case 9: return APPLICATION_REDIRECT_FROM_SEARCH;
+        case 10: return APPLICATION_COMPANY_SUBMIT;
+        case 11: return BOOKMARK;
+        case 12: return NOTIFICATION;
+        case 13: return HIRED;
+        case 14: return SENT_CV;
+        case 15: return INTERVIEW_GRANTED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobEventType findValueByNumber(int number) {
-            return JobEventType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        JobEventType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public JobEventType findValueByNumber(int number) {
+              return JobEventType.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4beta1.JobEvent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobEventType[] VALUES = values();
 
-    public static JobEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobEventType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -601,50 +505,33 @@ private JobEventType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = - com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED : result; } public static final int JOBS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList jobs_; /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -657,15 +544,13 @@ public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList getJobsList() { + public com.google.protobuf.ProtocolStringList + getJobsList() { return jobs_; } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -678,15 +563,12 @@ public com.google.protobuf.ProtocolStringList getJobsList() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -699,7 +581,6 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -707,8 +588,6 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -721,19 +600,17 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString getJobsBytes(int index) { + public com.google.protobuf.ByteString + getJobsBytes(int index) { return jobs_.getByteString(index); } public static final int PROFILE_FIELD_NUMBER = 3; private volatile java.lang.Object profile_; /** - * - * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -742,7 +619,6 @@ public com.google.protobuf.ByteString getJobsBytes(int index) {
    * 
* * string profile = 3; - * * @return The profile. */ @java.lang.Override @@ -751,15 +627,14 @@ public java.lang.String getProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profile_ = s; return s; } } /** - * - * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -768,15 +643,16 @@ public java.lang.String getProfile() {
    * 
* * string profile = 3; - * * @return The bytes for profile. */ @java.lang.Override - public com.google.protobuf.ByteString getProfileBytes() { + public com.google.protobuf.ByteString + getProfileBytes() { java.lang.Object ref = profile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); profile_ = b; return b; } else { @@ -785,7 +661,6 @@ public com.google.protobuf.ByteString getProfileBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -797,10 +672,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < jobs_.size(); i++) { @@ -818,10 +692,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; @@ -842,7 +715,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobEvent)) { return super.equals(obj); @@ -850,8 +723,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.JobEvent other = (com.google.cloud.talent.v4beta1.JobEvent) obj; if (type_ != other.type_) return false; - if (!getJobsList().equals(other.getJobsList())) return false; - if (!getProfile().equals(other.getProfile())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; + if (!getProfile() + .equals(other.getProfile())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -876,104 +751,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -981,32 +849,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.JobEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobEvent)
       com.google.cloud.talent.v4beta1.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.JobEvent.class,
-              com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
+              com.google.cloud.talent.v4beta1.JobEvent.class, com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.JobEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1020,9 +889,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -1041,8 +910,7 @@ public com.google.cloud.talent.v4beta1.JobEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.JobEvent buildPartial() {
-      com.google.cloud.talent.v4beta1.JobEvent result =
-          new com.google.cloud.talent.v4beta1.JobEvent(this);
+      com.google.cloud.talent.v4beta1.JobEvent result = new com.google.cloud.talent.v4beta1.JobEvent(this);
       int from_bitField0_ = bitField0_;
       result.type_ = type_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -1059,39 +927,38 @@ public com.google.cloud.talent.v4beta1.JobEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.JobEvent) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.JobEvent) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.JobEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1143,32 +1010,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                type_ = input.readEnum();
+            case 8: {
+              type_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureJobsIsMutable();
-                jobs_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                profile_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureJobsIsMutable();
+              jobs_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              profile_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1178,80 +1041,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = - com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1259,43 +1097,34 @@ public Builder setType(com.google.cloud.talent.v4beta1.JobEvent.JobEventType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList jobs_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1308,15 +1137,13 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList getJobsList() { + public com.google.protobuf.ProtocolStringList + getJobsList() { return jobs_.getUnmodifiableView(); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1329,15 +1156,12 @@ public com.google.protobuf.ProtocolStringList getJobsList() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1350,7 +1174,6 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1358,8 +1181,6 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1372,16 +1193,14 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString getJobsBytes(int index) { + public com.google.protobuf.ByteString + getJobsBytes(int index) { return jobs_.getByteString(index); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1394,23 +1213,21 @@ public com.google.protobuf.ByteString getJobsBytes(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs(int index, java.lang.String value) { + public Builder setJobs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1423,22 +1240,20 @@ public Builder setJobs(int index, java.lang.String value) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs(java.lang.String value) { + public Builder addJobs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1451,19 +1266,18 @@ public Builder addJobs(java.lang.String value) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs(java.lang.Iterable values) { + public Builder addAllJobs( + java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1476,7 +1290,6 @@ public Builder addAllJobs(java.lang.Iterable values) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobs() { @@ -1486,8 +1299,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1500,15 +1311,15 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes(com.google.protobuf.ByteString value) { + public Builder addJobsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); onChanged(); @@ -1517,8 +1328,6 @@ public Builder addJobsBytes(com.google.protobuf.ByteString value) { private java.lang.Object profile_ = ""; /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1527,13 +1336,13 @@ public Builder addJobsBytes(com.google.protobuf.ByteString value) {
      * 
* * string profile = 3; - * * @return The profile. */ public java.lang.String getProfile() { java.lang.Object ref = profile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profile_ = s; return s; @@ -1542,8 +1351,6 @@ public java.lang.String getProfile() { } } /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1552,14 +1359,15 @@ public java.lang.String getProfile() {
      * 
* * string profile = 3; - * * @return The bytes for profile. */ - public com.google.protobuf.ByteString getProfileBytes() { + public com.google.protobuf.ByteString + getProfileBytes() { java.lang.Object ref = profile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); profile_ = b; return b; } else { @@ -1567,8 +1375,6 @@ public com.google.protobuf.ByteString getProfileBytes() { } } /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1577,22 +1383,20 @@ public com.google.protobuf.ByteString getProfileBytes() {
      * 
* * string profile = 3; - * * @param value The profile to set. * @return This builder for chaining. */ - public Builder setProfile(java.lang.String value) { + public Builder setProfile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + profile_ = value; onChanged(); return this; } /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1601,18 +1405,15 @@ public Builder setProfile(java.lang.String value) {
      * 
* * string profile = 3; - * * @return This builder for chaining. */ public Builder clearProfile() { - + profile_ = getDefaultInstance().getProfile(); onChanged(); return this; } /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1621,23 +1422,23 @@ public Builder clearProfile() {
      * 
* * string profile = 3; - * * @param value The bytes for profile to set. * @return This builder for chaining. */ - public Builder setProfileBytes(com.google.protobuf.ByteString value) { + public Builder setProfileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + profile_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1647,12 +1448,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobEvent) private static final com.google.cloud.talent.v4beta1.JobEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobEvent(); } @@ -1661,27 +1462,27 @@ public static com.google.cloud.talent.v4beta1.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1696,4 +1497,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java similarity index 79% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java index 4636c41a58cc..e14f941b5dbe 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java @@ -1,60 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; -public interface JobEventOrBuilder - extends +public interface JobEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -67,13 +39,11 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -86,13 +56,10 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ int getJobsCount(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -105,14 +72,11 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -125,15 +89,13 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString getJobsBytes(int index); + com.google.protobuf.ByteString + getJobsBytes(int index); /** - * - * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -142,13 +104,10 @@ public interface JobEventOrBuilder
    * 
* * string profile = 3; - * * @return The profile. */ java.lang.String getProfile(); /** - * - * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -157,8 +116,8 @@ public interface JobEventOrBuilder
    * 
* * string profile = 3; - * * @return The bytes for profile. */ - com.google.protobuf.ByteString getProfileBytes(); + com.google.protobuf.ByteString + getProfileBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java index d6a1f7de47fd..81941111809f 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents the required experience level required for the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.JobLevel} */ -public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { +public enum JobLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value if the level isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ JOB_LEVEL_UNSPECIFIED(0), /** - * - * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -50,8 +30,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   ENTRY_LEVEL(1),
   /**
-   *
-   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -61,8 +39,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   EXPERIENCED(2),
   /**
-   *
-   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -71,8 +47,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ MANAGER(3), /** - * - * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -81,8 +55,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ DIRECTOR(4), /** - * - * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -94,8 +66,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the level isn't specified.
    * 
@@ -104,8 +74,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -115,8 +83,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ENTRY_LEVEL_VALUE = 1;
   /**
-   *
-   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -126,8 +92,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int EXPERIENCED_VALUE = 2;
   /**
-   *
-   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -136,8 +100,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGER_VALUE = 3; /** - * - * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -146,8 +108,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECTOR_VALUE = 4; /** - * - * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -156,6 +116,7 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXECUTIVE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -180,55 +141,52 @@ public static JobLevel valueOf(int value) { */ public static JobLevel forNumber(int value) { switch (value) { - case 0: - return JOB_LEVEL_UNSPECIFIED; - case 1: - return ENTRY_LEVEL; - case 2: - return EXPERIENCED; - case 3: - return MANAGER; - case 4: - return DIRECTOR; - case 5: - return EXECUTIVE; - default: - return null; + case 0: return JOB_LEVEL_UNSPECIFIED; + case 1: return ENTRY_LEVEL; + case 2: return EXPERIENCED; + case 3: return MANAGER; + case 4: return DIRECTOR; + case 5: return EXECUTIVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobLevel findValueByNumber(int number) { - return JobLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + JobLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobLevel findValueByNumber(int number) { + return JobLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(4); } private static final JobLevel[] VALUES = values(); - public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobLevel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -244,3 +202,4 @@ private JobLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobLevel) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java index c79c769bfd05..48e3f19e513c 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
  * [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
@@ -29,54 +12,49 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult}
  */
-public final class JobOperationResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class JobOperationResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobOperationResult)
     JobOperationResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use JobOperationResult.newBuilder() to construct.
   private JobOperationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private JobOperationResult() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new JobOperationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.JobServiceProto
-        .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.JobServiceProto
-        .internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.JobOperationResult.class,
-            com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
+            com.google.cloud.talent.v4beta1.JobOperationResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
   }
 
-  public interface JobResultOrBuilder
-      extends
+  public interface JobResultOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -85,13 +63,10 @@ public interface JobResultOrBuilder
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -100,13 +75,10 @@ public interface JobResultOrBuilder
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -119,34 +91,26 @@ public interface JobResultOrBuilder
     com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder();
 
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -157,57 +121,52 @@ public interface JobResultOrBuilder
     com.google.rpc.StatusOrBuilder getStatusOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Mutation result of a job.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult.JobResult} */ - public static final class JobResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class JobResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobOperationResult.JobResult) JobResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobResult.newBuilder() to construct. private JobResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private JobResult() {} + private JobResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -216,7 +175,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -224,8 +182,6 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -234,7 +190,6 @@ public boolean hasJob() {
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -242,8 +197,6 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -261,15 +214,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
     public static final int STATUS_FIELD_NUMBER = 2;
     private com.google.rpc.Status status_;
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -277,15 +227,12 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -293,8 +240,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -308,7 +253,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -320,7 +264,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -337,10 +282,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJob());
       }
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getStatus());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -350,21 +297,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.JobOperationResult.JobResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other =
-          (com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) obj;
+      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other = (com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob().equals(other.getJob())) return false;
+        if (!getJob()
+            .equals(other.getJob())) return false;
       }
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus().equals(other.getStatus())) return false;
+        if (!getStatus()
+            .equals(other.getStatus())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -391,94 +339,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -488,41 +429,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Mutation result of a job.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult.JobResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobOperationResult.JobResult) com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -542,14 +481,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance(); } @@ -564,8 +502,7 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult build() { @java.lang.Override public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult buildPartial() { - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult result = - new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult(this); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult result = new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -584,41 +521,38 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) other); + return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult.JobResult)other); } else { super.mergeFrom(other); return this; @@ -626,9 +560,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other) { - if (other - == com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -661,25 +593,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -692,13 +625,8 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; /** - * - * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -707,15 +635,12 @@ public Builder mergeFrom(
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -724,7 +649,6 @@ public boolean hasJob() {
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -735,8 +659,6 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** - * - * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -760,8 +682,6 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -771,7 +691,8 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
        *
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
-      public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+      public Builder setJob(
+          com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
         if (jobBuilder_ == null) {
           job_ = builderForValue.build();
           onChanged();
@@ -782,8 +703,6 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -797,9 +716,7 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
         if (jobBuilder_ == null) {
           if (job_ != null) {
             job_ =
-                com.google.cloud.talent.v4beta1.Job.newBuilder(job_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial();
           } else {
             job_ = value;
           }
@@ -811,8 +728,6 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -834,8 +749,6 @@ public Builder clearJob() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -846,13 +759,11 @@ public Builder clearJob() {
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
       public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() {
-
+        
         onChanged();
         return getJobFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -866,12 +777,11 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
         if (jobBuilder_ != null) {
           return jobBuilder_.getMessageOrBuilder();
         } else {
-          return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
+          return job_ == null ?
+              com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
         }
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -882,17 +792,14 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Job,
-              com.google.cloud.talent.v4beta1.Job.Builder,
-              com.google.cloud.talent.v4beta1.JobOrBuilder>
+          com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> 
           getJobFieldBuilder() {
         if (jobBuilder_ == null) {
-          jobBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4beta1.Job,
-                  com.google.cloud.talent.v4beta1.Job.Builder,
-                  com.google.cloud.talent.v4beta1.JobOrBuilder>(
-                  getJob(), getParentForChildren(), isClean());
+          jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>(
+                  getJob(),
+                  getParentForChildren(),
+                  isClean());
           job_ = null;
         }
         return jobBuilder_;
@@ -900,33 +807,26 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
 
       private com.google.rpc.Status status_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-          statusBuilder_;
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
        * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
        * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -937,8 +837,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -960,8 +858,6 @@ public Builder setStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -969,7 +865,8 @@ public Builder setStatus(com.google.rpc.Status value) {
        *
        * .google.rpc.Status status = 2;
        */
-      public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+      public Builder setStatus(
+          com.google.rpc.Status.Builder builderForValue) {
         if (statusBuilder_ == null) {
           status_ = builderForValue.build();
           onChanged();
@@ -980,8 +877,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -992,7 +887,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
           if (status_ != null) {
-            status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+            status_ =
+              com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
           } else {
             status_ = value;
           }
@@ -1004,8 +900,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -1025,8 +919,6 @@ public Builder clearStatus() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -1035,13 +927,11 @@ public Builder clearStatus() {
        * .google.rpc.Status status = 2;
        */
       public com.google.rpc.Status.Builder getStatusBuilder() {
-
+        
         onChanged();
         return getStatusFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -1053,12 +943,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
         if (statusBuilder_ != null) {
           return statusBuilder_.getMessageOrBuilder();
         } else {
-          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+          return status_ == null ?
+              com.google.rpc.Status.getDefaultInstance() : status_;
         }
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -1067,19 +956,18 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        * .google.rpc.Status status = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
           getStatusFieldBuilder() {
         if (statusBuilder_ == null) {
-          statusBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.rpc.Status,
-                  com.google.rpc.Status.Builder,
-                  com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+          statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                  getStatus(),
+                  getParentForChildren(),
+                  isClean());
           status_ = null;
         }
         return statusBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1092,44 +980,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
-    private static final com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.JobOperationResult.JobResult DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult();
     }
 
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public JobResult parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public JobResult parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1141,96 +1026,78 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override - public java.util.List - getJobResultsList() { + public java.util.List getJobResultsList() { return jobResults_; } /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> + public java.util.List getJobResultsOrBuilderList() { return jobResults_; } /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override public int getJobResultsCount() { return jobResults_.size(); } /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index) { return jobResults_.get(index); } /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder - getJobResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( + int index) { return jobResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1242,7 +1109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobResults_.size(); i++) { output.writeMessage(1, jobResults_.get(i)); } @@ -1256,7 +1124,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, jobResults_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1266,15 +1135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobOperationResult)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.JobOperationResult other = - (com.google.cloud.talent.v4beta1.JobOperationResult) obj; + com.google.cloud.talent.v4beta1.JobOperationResult other = (com.google.cloud.talent.v4beta1.JobOperationResult) obj; - if (!getJobResultsList().equals(other.getJobResultsList())) return false; + if (!getJobResultsList() + .equals(other.getJobResultsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1296,103 +1165,96 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobOperationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
    * [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
@@ -1401,32 +1263,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobOperationResult)
       com.google.cloud.talent.v4beta1.JobOperationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto
-          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto
-          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.JobOperationResult.class,
-              com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
+              com.google.cloud.talent.v4beta1.JobOperationResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.JobOperationResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1441,9 +1304,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto
-          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
     }
 
     @java.lang.Override
@@ -1462,8 +1325,7 @@ public com.google.cloud.talent.v4beta1.JobOperationResult build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.JobOperationResult buildPartial() {
-      com.google.cloud.talent.v4beta1.JobOperationResult result =
-          new com.google.cloud.talent.v4beta1.JobOperationResult(this);
+      com.google.cloud.talent.v4beta1.JobOperationResult result = new com.google.cloud.talent.v4beta1.JobOperationResult(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1482,39 +1344,38 @@ public com.google.cloud.talent.v4beta1.JobOperationResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.JobOperationResult) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1522,8 +1383,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult other) {
-      if (other == com.google.cloud.talent.v4beta1.JobOperationResult.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4beta1.JobOperationResult.getDefaultInstance()) return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -1542,10 +1402,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getJobResultsFieldBuilder()
-                    : null;
+            jobResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getJobResultsFieldBuilder() : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -1577,27 +1436,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.talent.v4beta1.JobOperationResult.JobResult m =
-                    input.readMessage(
-                        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.parser(),
-                        extensionRegistry);
-                if (jobResultsBuilder_ == null) {
-                  ensureJobResultsIsMutable();
-                  jobResults_.add(m);
-                } else {
-                  jobResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.talent.v4beta1.JobOperationResult.JobResult m =
+                  input.readMessage(
+                      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.parser(),
+                      extensionRegistry);
+              if (jobResultsBuilder_ == null) {
+                ensureJobResultsIsMutable();
+                jobResults_.add(m);
+              } else {
+                jobResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1607,40 +1464,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        jobResults_ = java.util.Collections.emptyList();
-
+    private java.util.List jobResults_ =
+      java.util.Collections.emptyList();
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        jobResults_ =
-            new java.util.ArrayList(
-                jobResults_);
+        jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.JobOperationResult.JobResult,
-            com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder,
-            com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>
-        jobResultsBuilder_;
+        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> jobResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public java.util.List - getJobResultsList() { + public java.util.List getJobResultsList() { if (jobResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(jobResults_); } else { @@ -1648,15 +1494,12 @@ private void ensureJobResultsIsMutable() { } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public int getJobResultsCount() { if (jobResultsBuilder_ == null) { @@ -1666,15 +1509,12 @@ public int getJobResultsCount() { } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index) { if (jobResultsBuilder_ == null) { @@ -1684,15 +1524,12 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResult } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder setJobResults( int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { @@ -1709,19 +1546,15 @@ public Builder setJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder setJobResults( - int index, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { + int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); jobResults_.set(index, builderForValue.build()); @@ -1732,18 +1565,14 @@ public Builder setJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public Builder addJobResults( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { + public Builder addJobResults(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { if (jobResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1757,15 +1586,12 @@ public Builder addJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder addJobResults( int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { @@ -1782,15 +1608,12 @@ public Builder addJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder addJobResults( com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { @@ -1804,19 +1627,15 @@ public Builder addJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder addJobResults( - int index, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { + int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); jobResults_.add(index, builderForValue.build()); @@ -1827,22 +1646,19 @@ public Builder addJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder addAllJobResults( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobResults_); onChanged(); } else { jobResultsBuilder_.addAllMessages(values); @@ -1850,15 +1666,12 @@ public Builder addAllJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder clearJobResults() { if (jobResultsBuilder_ == null) { @@ -1871,15 +1684,12 @@ public Builder clearJobResults() { return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder removeJobResults(int index) { if (jobResultsBuilder_ == null) { @@ -1892,53 +1702,42 @@ public Builder removeJobResults(int index) { return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder - getJobResultsBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder getJobResultsBuilder( + int index) { return getJobResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder - getJobResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( + int index) { if (jobResultsBuilder_ == null) { - return jobResults_.get(index); - } else { + return jobResults_.get(index); } else { return jobResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> - getJobResultsOrBuilderList() { + public java.util.List + getJobResultsOrBuilderList() { if (jobResultsBuilder_ != null) { return jobResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1946,75 +1745,59 @@ public Builder removeJobResults(int index) { } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder - addJobResultsBuilder() { - return getJobResultsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder addJobResultsBuilder() { + return getJobResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder - addJobResultsBuilder(int index) { - return getJobResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder addJobResultsBuilder( + int index) { + return getJobResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public java.util.List - getJobResultsBuilderList() { + public java.util.List + getJobResultsBuilderList() { return getJobResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> getJobResultsFieldBuilder() { if (jobResultsBuilder_ == null) { - jobResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>( - jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>( + jobResults_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobResults_ = null; } return jobResultsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2024,12 +1807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobOperationResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobOperationResult) private static final com.google.cloud.talent.v4beta1.JobOperationResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobOperationResult(); } @@ -2038,27 +1821,27 @@ public static com.google.cloud.talent.v4beta1.JobOperationResult getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobOperationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobOperationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2073,4 +1856,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobOperationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java index 213ed5f5aa39..059dda3272f9 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java @@ -1,87 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface JobOperationResultOrBuilder - extends +public interface JobOperationResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobOperationResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - java.util.List getJobResultsList(); + java.util.List + getJobResultsList(); /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index); /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ int getJobResultsCount(); /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - java.util.List + java.util.List getJobResultsOrBuilderList(); /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( int index); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java similarity index 90% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java index 65c621323f8c..b161568826c6 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job.proto package com.google.cloud.talent.v4beta1; -public interface JobOrBuilder - extends +public interface JobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -40,13 +22,10 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -61,14 +40,12 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -78,16 +55,11 @@ public interface JobOrBuilder
    * example, "projects/foo/companies/bar".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ java.lang.String getCompany(); /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -97,17 +69,13 @@ public interface JobOrBuilder
    * example, "projects/foo/companies/bar".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ - com.google.protobuf.ByteString getCompanyBytes(); + com.google.protobuf.ByteString + getCompanyBytes(); /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -118,13 +86,10 @@ public interface JobOrBuilder
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ java.lang.String getRequisitionId(); /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -135,41 +100,34 @@ public interface JobOrBuilder
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ - com.google.protobuf.ByteString getRequisitionIdBytes(); + com.google.protobuf.ByteString + getRequisitionIdBytes(); /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -182,13 +140,10 @@ public interface JobOrBuilder
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -201,14 +156,12 @@ public interface JobOrBuilder
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -226,13 +179,11 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - java.util.List getAddressesList(); + java.util.List + getAddressesList(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -250,13 +201,10 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ int getAddressesCount(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -274,14 +222,11 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ java.lang.String getAddresses(int index); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -299,39 +244,31 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - com.google.protobuf.ByteString getAddressesBytes(int index); + com.google.protobuf.ByteString + getAddressesBytes(int index); /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ boolean hasApplicationInfo(); /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo(); /** - * - * *
    * Job application information.
    * 
@@ -341,97 +278,75 @@ public interface JobOrBuilder com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ java.util.List getJobBenefitsList(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ int getJobBenefitsCount(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - java.util.List getJobBenefitsValueList(); + java.util.List + getJobBenefitsValueList(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ int getJobBenefitsValue(int index); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ boolean hasCompensationInfo(); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo(); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -442,8 +357,6 @@ public interface JobOrBuilder
   com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -457,13 +370,10 @@ public interface JobOrBuilder
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ int getCustomAttributesCount(); /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -477,17 +387,17 @@ public interface JobOrBuilder
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + */ + boolean containsCustomAttributes( + java.lang.String key); + /** + * Use {@link #getCustomAttributesMap()} instead. */ - boolean containsCustomAttributes(java.lang.String key); - /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map - getCustomAttributes(); + getCustomAttributes(); /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -501,14 +411,11 @@ public interface JobOrBuilder
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ java.util.Map - getCustomAttributesMap(); + getCustomAttributesMap(); /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -522,18 +429,15 @@ public interface JobOrBuilder
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ /* nullable */ - com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( +com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.talent.v4beta1.CustomAttribute defaultValue); +com.google.cloud.talent.v4beta1.CustomAttribute defaultValue); /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -547,77 +451,62 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ - com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(java.lang.String key); + + com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( + java.lang.String key); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ java.util.List getDegreeTypesList(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ int getDegreeTypesCount(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - java.util.List getDegreeTypesValueList(); + java.util.List + getDegreeTypesValueList(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ int getDegreeTypesValue(int index); /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -625,13 +514,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string department = 12; - * * @return The department. */ java.lang.String getDepartment(); /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -639,14 +525,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string department = 12; - * * @return The bytes for department. */ - com.google.protobuf.ByteString getDepartmentBytes(); + com.google.protobuf.ByteString + getDepartmentBytes(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -654,13 +538,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -668,13 +549,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -682,14 +560,11 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -697,13 +572,11 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List getEmploymentTypesValueList(); + java.util.List + getEmploymentTypesValueList(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -711,15 +584,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -727,13 +597,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string incentives = 14; - * * @return The incentives. */ java.lang.String getIncentives(); /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -741,14 +608,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string incentives = 14; - * * @return The bytes for incentives. */ - com.google.protobuf.ByteString getIncentivesBytes(); + com.google.protobuf.ByteString + getIncentivesBytes(); /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -762,13 +627,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string language_code = 15; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -782,39 +644,31 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ int getJobLevelValue(); /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The jobLevel. */ com.google.cloud.talent.v4beta1.JobLevel getJobLevel(); /** - * - * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -825,14 +679,11 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ int getPromotionValue(); /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -843,13 +694,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string qualifications = 18; - * * @return The qualifications. */ java.lang.String getQualifications(); /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -860,14 +708,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ - com.google.protobuf.ByteString getQualificationsBytes(); + com.google.protobuf.ByteString + getQualificationsBytes(); /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -878,13 +724,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string responsibilities = 19; - * * @return The responsibilities. */ java.lang.String getResponsibilities(); /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -895,14 +738,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ - com.google.protobuf.ByteString getResponsibilitiesBytes(); + com.google.protobuf.ByteString + getResponsibilitiesBytes(); /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -914,13 +755,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ int getPostingRegionValue(); /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -932,14 +770,11 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The postingRegion. */ com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion(); /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -947,16 +782,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Deprecated - int getVisibilityValue(); + @java.lang.Deprecated int getVisibilityValue(); /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -964,43 +795,33 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ - @java.lang.Deprecated - com.google.cloud.talent.v4beta1.Visibility getVisibility(); + @java.lang.Deprecated com.google.cloud.talent.v4beta1.Visibility getVisibility(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ boolean hasJobStartTime(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ com.google.protobuf.Timestamp getJobStartTime(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -1011,34 +832,26 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ boolean hasJobEndTime(); /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ com.google.protobuf.Timestamp getJobEndTime(); /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -1049,8 +862,6 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1058,13 +869,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ boolean hasPostingPublishTime(); /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1072,13 +880,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ com.google.protobuf.Timestamp getPostingPublishTime(); /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1090,8 +895,6 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1131,13 +934,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ boolean hasPostingExpireTime(); /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1177,13 +977,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ com.google.protobuf.Timestamp getPostingExpireTime(); /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1227,180 +1024,125 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ boolean hasPostingCreateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ com.google.protobuf.Timestamp getPostingCreateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ boolean hasPostingUpdateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ com.google.protobuf.Timestamp getPostingUpdateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ java.lang.String getCompanyDisplayName(); /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ - com.google.protobuf.ByteString getCompanyDisplayNameBytes(); + com.google.protobuf.ByteString + getCompanyDisplayNameBytes(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ boolean hasProcessingOptions(); /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions(); /** - * - * *
    * Options for job processing.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java similarity index 85% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java index 9b86a69f74d1..661ee23c84bf 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The query required to perform a search query.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobQuery} */ -public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JobQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobQuery) JobQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JobQuery.newBuilder() to construct. private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobQuery() { query_ = ""; queryLanguageCode_ = ""; @@ -52,35 +34,32 @@ private JobQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobQuery.class, - com.google.cloud.talent.v4beta1.JobQuery.Builder.class); + com.google.cloud.talent.v4beta1.JobQuery.class, com.google.cloud.talent.v4beta1.JobQuery.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -88,7 +67,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string query = 1; - * * @return The query. */ @java.lang.Override @@ -97,15 +75,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -113,15 +90,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 1; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -132,8 +110,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object queryLanguageCode_; /** - * - * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -145,7 +121,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ @java.lang.Override @@ -154,15 +129,14 @@ public java.lang.String getQueryLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; } } /** - * - * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -174,15 +148,16 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString + getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -193,8 +168,6 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { public static final int COMPANIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companies_; /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -210,15 +183,13 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() {
    * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList getCompaniesList() { + public com.google.protobuf.ProtocolStringList + getCompaniesList() { return companies_; } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -234,15 +205,12 @@ public com.google.protobuf.ProtocolStringList getCompaniesList() {
    * 
* * repeated string companies = 2; - * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -258,7 +226,6 @@ public int getCompaniesCount() {
    * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -266,8 +233,6 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -283,19 +248,17 @@ public java.lang.String getCompanies(int index) {
    * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString getCompaniesBytes(int index) { + public com.google.protobuf.ByteString + getCompaniesBytes(int index) { return companies_.getByteString(index); } public static final int LOCATION_FILTERS_FIELD_NUMBER = 3; private java.util.List locationFilters_; /** - * - * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -315,8 +278,6 @@ public java.util.List getLocatio
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -332,13 +293,11 @@ public java.util.List getLocatio
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -358,8 +317,6 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -379,8 +336,6 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind
     return locationFilters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -404,22 +359,16 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
   public static final int JOB_CATEGORIES_FIELD_NUMBER = 4;
   private java.util.List jobCategories_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
-      jobCategories_converter_ =
+      java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory> jobCategories_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
             public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4beta1.JobCategory result =
-                  com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
-              return result == null
-                  ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
-                  : result;
+              com.google.cloud.talent.v4beta1.JobCategory result = com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
+              return result == null ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -429,18 +378,14 @@ public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer fro
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -450,7 +395,6 @@ public java.util.List getJobCategor
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ @java.lang.Override @@ -458,8 +402,6 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -469,7 +411,6 @@ public int getJobCategoriesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -478,8 +419,6 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -489,16 +428,14 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return jobCategories_; } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -508,7 +445,6 @@ public java.util.List getJobCategoriesValueList() {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -516,14 +452,11 @@ public java.util.List getJobCategoriesValueList() { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } - private int jobCategoriesMemoizedSerializedSize; public static final int COMMUTE_FILTER_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -533,7 +466,6 @@ public int getJobCategoriesValue(int index) {
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ @java.lang.Override @@ -541,8 +473,6 @@ public boolean hasCommuteFilter() { return commuteFilter_ != null; } /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -552,18 +482,13 @@ public boolean hasCommuteFilter() {
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter() { - return commuteFilter_ == null - ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() - : commuteFilter_; + return commuteFilter_ == null ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_; } /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -582,8 +507,6 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
   public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList companyDisplayNames_;
   /**
-   *
-   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -607,15 +530,13 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
    * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList + getCompanyDisplayNamesList() { return companyDisplayNames_; } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -639,15 +560,12 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
    * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -671,7 +589,6 @@ public int getCompanyDisplayNamesCount() {
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -679,8 +596,6 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -704,19 +619,17 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } public static final int COMPENSATION_FILTER_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -726,7 +639,6 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ @java.lang.Override @@ -734,8 +646,6 @@ public boolean hasCompensationFilter() { return compensationFilter_ != null; } /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -745,18 +655,13 @@ public boolean hasCompensationFilter() {
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter() { - return compensationFilter_ == null - ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() - : compensationFilter_; + return compensationFilter_ == null ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_; } /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -768,16 +673,13 @@ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(
    * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder
-      getCompensationFilterOrBuilder() {
+  public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder() {
     return getCompensationFilter();
   }
 
   public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER = 8;
   private volatile java.lang.Object customAttributeFilter_;
   /**
-   *
-   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -799,7 +701,6 @@ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(
    * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ @java.lang.Override @@ -808,15 +709,14 @@ public java.lang.String getCustomAttributeFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; } } /** - * - * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -838,15 +738,16 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString + getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -857,8 +758,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER = 9; private boolean disableSpellCheck_; /** - * - * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -867,7 +766,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() {
    * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ @java.lang.Override @@ -878,22 +776,16 @@ public boolean getDisableSpellCheck() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 10; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> - employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() { public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.EmploymentType result = - com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.EmploymentType result = com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED : result; } }; /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -904,18 +796,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -926,7 +814,6 @@ public java.util.List getEmploym
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ @java.lang.Override @@ -934,8 +821,6 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -946,7 +831,6 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -955,8 +839,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -967,16 +849,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return employmentTypes_; } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -987,7 +867,6 @@ public java.util.List getEmploymentTypesValueList() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -995,14 +874,11 @@ public java.util.List getEmploymentTypesValueList() { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } - private int employmentTypesMemoizedSerializedSize; public static final int LANGUAGE_CODES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList languageCodes_; /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1015,15 +891,13 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_; } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1036,15 +910,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
    * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1057,7 +928,6 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1065,8 +935,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1079,26 +947,23 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER = 12; private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ @java.lang.Override @@ -1106,26 +971,19 @@ public boolean hasPublishTimeRange() { return publishTimeRange_ != null; } /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ @java.lang.Override public com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange() { - return publishTimeRange_ == null - ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() - : publishTimeRange_; + return publishTimeRange_ == null ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_; } /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -1141,45 +999,37 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
   public static final int EXCLUDED_JOBS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList excludedJobs_;
   /**
-   *
-   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList + getExcludedJobsList() { return excludedJobs_; } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -1187,24 +1037,21 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString + getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1216,7 +1063,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); @@ -1289,23 +1137,24 @@ public int getSerializedSize() { size += 1 * getCompaniesList().size(); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, locationFilters_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobCategoriesMemoizedSerializedSize = dataSize; } if (commuteFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCommuteFilter()); } { int dataSize = 0; @@ -1316,26 +1165,27 @@ public int getSerializedSize() { size += 1 * getCompanyDisplayNamesList().size(); } if (compensationFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompensationFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCompensationFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customAttributeFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customAttributeFilter_); } if (disableSpellCheck_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableSpellCheck_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, disableSpellCheck_); } { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }employmentTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -1346,7 +1196,8 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (publishTimeRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getPublishTimeRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getPublishTimeRange()); } { int dataSize = 0; @@ -1367,36 +1218,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobQuery)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.JobQuery other = (com.google.cloud.talent.v4beta1.JobQuery) obj; - if (!getQuery().equals(other.getQuery())) return false; - if (!getQueryLanguageCode().equals(other.getQueryLanguageCode())) return false; - if (!getCompaniesList().equals(other.getCompaniesList())) return false; - if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getQueryLanguageCode() + .equals(other.getQueryLanguageCode())) return false; + if (!getCompaniesList() + .equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList() + .equals(other.getLocationFiltersList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; + if (!getCommuteFilter() + .equals(other.getCommuteFilter())) return false; } - if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; + if (!getCompanyDisplayNamesList() + .equals(other.getCompanyDisplayNamesList())) return false; if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; + if (!getCompensationFilter() + .equals(other.getCompensationFilter())) return false; } - if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; - if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; + if (!getCustomAttributeFilter() + .equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() + != other.getDisableSpellCheck()) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (!getLanguageCodesList() + .equals(other.getLanguageCodesList())) return false; if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; + if (!getPublishTimeRange() + .equals(other.getPublishTimeRange())) return false; } - if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; + if (!getExcludedJobsList() + .equals(other.getExcludedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1439,7 +1302,8 @@ public int hashCode() { hash = (37 * hash) + CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER; hash = (53 * hash) + getCustomAttributeFilter().hashCode(); hash = (37 * hash) + DISABLE_SPELL_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableSpellCheck()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableSpellCheck()); if (getEmploymentTypesCount() > 0) { hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER; hash = (53 * hash) + employmentTypes_.hashCode(); @@ -1461,136 +1325,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The query required to perform a search query.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobQuery) com.google.cloud.talent.v4beta1.JobQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobQuery.class, - com.google.cloud.talent.v4beta1.JobQuery.Builder.class); + com.google.cloud.talent.v4beta1.JobQuery.class, com.google.cloud.talent.v4beta1.JobQuery.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.JobQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1643,9 +1501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override @@ -1664,8 +1522,7 @@ public com.google.cloud.talent.v4beta1.JobQuery build() { @java.lang.Override public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { - com.google.cloud.talent.v4beta1.JobQuery result = - new com.google.cloud.talent.v4beta1.JobQuery(this); + com.google.cloud.talent.v4beta1.JobQuery result = new com.google.cloud.talent.v4beta1.JobQuery(this); int from_bitField0_ = bitField0_; result.query_ = query_; result.queryLanguageCode_ = queryLanguageCode_; @@ -1733,39 +1590,38 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.JobQuery) { - return mergeFrom((com.google.cloud.talent.v4beta1.JobQuery) other); + return mergeFrom((com.google.cloud.talent.v4beta1.JobQuery)other); } else { super.mergeFrom(other); return this; @@ -1810,10 +1666,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobQuery other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000002); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationFiltersFieldBuilder() - : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationFiltersFieldBuilder() : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -1911,136 +1766,124 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - query_ = input.readStringRequireUtf8(); + case 10: { + query_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompaniesIsMutable(); - companies_.add(s); - break; - } // case 18 - case 26: - { - com.google.cloud.talent.v4beta1.LocationFilter m = - input.readMessage( - com.google.cloud.talent.v4beta1.LocationFilter.parser(), extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompaniesIsMutable(); + companies_.add(s); + break; + } // case 18 + case 26: { + com.google.cloud.talent.v4beta1.LocationFilter m = + input.readMessage( + com.google.cloud.talent.v4beta1.LocationFilter.parser(), + extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + break; + } // case 32 + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - break; - } // case 32 - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: - { - input.readMessage(getCommuteFilterFieldBuilder().getBuilder(), extensionRegistry); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: { + input.readMessage( + getCommuteFilterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompanyDisplayNamesIsMutable(); - companyDisplayNames_.add(s); - break; - } // case 50 - case 58: - { - input.readMessage( - getCompensationFilterFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompanyDisplayNamesIsMutable(); + companyDisplayNames_.add(s); + break; + } // case 50 + case 58: { + input.readMessage( + getCompensationFilterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - case 66: - { - customAttributeFilter_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: { + customAttributeFilter_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 72: - { - disableSpellCheck_ = input.readBool(); + break; + } // case 66 + case 72: { + disableSpellCheck_ = input.readBool(); - break; - } // case 72 - case 80: - { + break; + } // case 72 + case 80: { + int tmpRaw = input.readEnum(); + ensureEmploymentTypesIsMutable(); + employmentTypes_.add(tmpRaw); + break; + } // case 80 + case 82: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEmploymentTypesIsMutable(); employmentTypes_.add(tmpRaw); - break; - } // case 80 - case 82: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEmploymentTypesIsMutable(); - employmentTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 82 - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 90 - case 98: - { - input.readMessage( - getPublishTimeRangeFieldBuilder().getBuilder(), extensionRegistry); + } + input.popLimit(oldLimit); + break; + } // case 82 + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 90 + case 98: { + input.readMessage( + getPublishTimeRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 98 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludedJobsIsMutable(); - excludedJobs_.add(s); - break; - } // case 106 - case 114: - { - queryLanguageCode_ = input.readStringRequireUtf8(); + break; + } // case 98 + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedJobsIsMutable(); + excludedJobs_.add(s); + break; + } // case 106 + case 114: { + queryLanguageCode_ = input.readStringRequireUtf8(); - break; - } // case 114 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 114 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2050,13 +1893,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object query_ = ""; /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2064,13 +1904,13 @@ public Builder mergeFrom(
      * 
* * string query = 1; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -2079,8 +1919,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2088,14 +1926,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -2103,8 +1942,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2112,22 +1949,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 1; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2135,18 +1970,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 1; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2154,16 +1986,16 @@ public Builder clearQuery() {
      * 
* * string query = 1; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -2171,8 +2003,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { private java.lang.Object queryLanguageCode_ = ""; /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2184,13 +2014,13 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ public java.lang.String getQueryLanguageCode() { java.lang.Object ref = queryLanguageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; @@ -2199,8 +2029,6 @@ public java.lang.String getQueryLanguageCode() { } } /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2212,14 +2040,15 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ - public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString + getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -2227,8 +2056,6 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { } } /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2240,22 +2067,20 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() {
      * 
* * string query_language_code = 14; - * * @param value The queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCode(java.lang.String value) { + public Builder setQueryLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryLanguageCode_ = value; onChanged(); return this; } /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2267,18 +2092,15 @@ public Builder setQueryLanguageCode(java.lang.String value) {
      * 
* * string query_language_code = 14; - * * @return This builder for chaining. */ public Builder clearQueryLanguageCode() { - + queryLanguageCode_ = getDefaultInstance().getQueryLanguageCode(); onChanged(); return this; } /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2290,33 +2112,29 @@ public Builder clearQueryLanguageCode() {
      * 
* * string query_language_code = 14; - * * @param value The bytes for queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setQueryLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryLanguageCode_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList companies_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList companies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2332,15 +2150,13 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList getCompaniesList() { + public com.google.protobuf.ProtocolStringList + getCompaniesList() { return companies_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2356,15 +2172,12 @@ public com.google.protobuf.ProtocolStringList getCompaniesList() {
      * 
* * repeated string companies = 2; - * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2380,7 +2193,6 @@ public int getCompaniesCount() {
      * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -2388,8 +2200,6 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2405,16 +2215,14 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString getCompaniesBytes(int index) { + public com.google.protobuf.ByteString + getCompaniesBytes(int index) { return companies_.getByteString(index); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2430,23 +2238,21 @@ public com.google.protobuf.ByteString getCompaniesBytes(int index) {
      * 
* * repeated string companies = 2; - * * @param index The index to set the value at. * @param value The companies to set. * @return This builder for chaining. */ - public Builder setCompanies(int index, java.lang.String value) { + public Builder setCompanies( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2462,22 +2268,20 @@ public Builder setCompanies(int index, java.lang.String value) {
      * 
* * repeated string companies = 2; - * * @param value The companies to add. * @return This builder for chaining. */ - public Builder addCompanies(java.lang.String value) { + public Builder addCompanies( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2493,19 +2297,18 @@ public Builder addCompanies(java.lang.String value) {
      * 
* * repeated string companies = 2; - * * @param values The companies to add. * @return This builder for chaining. */ - public Builder addAllCompanies(java.lang.Iterable values) { + public Builder addAllCompanies( + java.lang.Iterable values) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companies_); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2521,7 +2324,6 @@ public Builder addAllCompanies(java.lang.Iterable values) {
      * 
* * repeated string companies = 2; - * * @return This builder for chaining. */ public Builder clearCompanies() { @@ -2531,8 +2333,6 @@ public Builder clearCompanies() { return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2548,15 +2348,15 @@ public Builder clearCompanies() {
      * 
* * repeated string companies = 2; - * * @param value The bytes of the companies to add. * @return This builder for chaining. */ - public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { + public Builder addCompaniesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompaniesIsMutable(); companies_.add(value); onChanged(); @@ -2564,26 +2364,18 @@ public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - locationFilters_ = - new java.util.ArrayList( - locationFilters_); + locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.LocationFilter, - com.google.cloud.talent.v4beta1.LocationFilter.Builder, - com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> - locationFiltersBuilder_; + com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> locationFiltersBuilder_; /** - * - * *
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2606,8 +2398,6 @@ public java.util.List getLocatio
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2630,8 +2420,6 @@ public int getLocationFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2654,8 +2442,6 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2685,8 +2471,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2713,8 +2497,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2743,8 +2525,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.LocationFilter
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2774,8 +2554,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2802,8 +2580,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2830,8 +2606,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2850,7 +2624,8 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -2858,8 +2633,6 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2885,8 +2658,6 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2912,8 +2683,6 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2933,8 +2702,6 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2952,14 +2719,11 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters
     public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);
-      } else {
+        return locationFilters_.get(index);  } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2974,8 +2738,8 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
      *
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
-    public java.util.List
-        getLocationFiltersOrBuilderList() {
+    public java.util.List 
+         getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2983,8 +2747,6 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -3000,12 +2762,10 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
     public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -3022,12 +2782,10 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
      */
     public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFiltersBuilder(
         int index) {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -3042,22 +2800,16 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
      *
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
-    public java.util.List
-        getLocationFiltersBuilderList() {
+    public java.util.List 
+         getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.LocationFilter,
-            com.google.cloud.talent.v4beta1.LocationFilter.Builder,
-            com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>
+        com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> 
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.LocationFilter,
-                com.google.cloud.talent.v4beta1.LocationFilter.Builder,
-                com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>(
+        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -3067,8 +2819,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
       return locationFiltersBuilder_;
     }
 
-    private java.util.List jobCategories_ = java.util.Collections.emptyList();
-
+    private java.util.List jobCategories_ =
+      java.util.Collections.emptyList();
     private void ensureJobCategoriesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -3076,8 +2828,6 @@ private void ensureJobCategoriesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3087,17 +2837,13 @@ private void ensureJobCategoriesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3107,15 +2853,12 @@ public java.util.List getJobCategor
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3125,7 +2868,6 @@ public int getJobCategoriesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -3133,8 +2875,6 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3144,12 +2884,12 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories(int index, com.google.cloud.talent.v4beta1.JobCategory value) { + public Builder setJobCategories( + int index, com.google.cloud.talent.v4beta1.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -3159,8 +2899,6 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4beta1.JobCa return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3170,7 +2908,6 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4beta1.JobCa
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -3184,8 +2921,6 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3195,7 +2930,6 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -3209,8 +2943,6 @@ public Builder addAllJobCategories( return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3220,7 +2952,6 @@ public Builder addAllJobCategories(
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -3230,8 +2961,6 @@ public Builder clearJobCategories() { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3241,15 +2970,13 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3259,7 +2986,6 @@ public java.util.List getJobCategoriesValueList() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -3267,8 +2993,6 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3278,20 +3002,18 @@ public int getJobCategoriesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue(int index, int value) { + public Builder setJobCategoriesValue( + int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3301,7 +3023,6 @@ public Builder setJobCategoriesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -3312,8 +3033,6 @@ public Builder addJobCategoriesValue(int value) { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3323,11 +3042,11 @@ public Builder addJobCategoriesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue(java.lang.Iterable values) { + public Builder addAllJobCategoriesValue( + java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -3338,13 +3057,8 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CommuteFilter, - com.google.cloud.talent.v4beta1.CommuteFilter.Builder, - com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> - commuteFilterBuilder_; + com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> commuteFilterBuilder_; /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3354,15 +3068,12 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ public boolean hasCommuteFilter() { return commuteFilterBuilder_ != null || commuteFilter_ != null; } /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3372,21 +3083,16 @@ public boolean hasCommuteFilter() {
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ public com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter() { if (commuteFilterBuilder_ == null) { - return commuteFilter_ == null - ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() - : commuteFilter_; + return commuteFilter_ == null ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_; } else { return commuteFilterBuilder_.getMessage(); } } /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3411,8 +3117,6 @@ public Builder setCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter va
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3435,8 +3139,6 @@ public Builder setCommuteFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3451,9 +3153,7 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter
       if (commuteFilterBuilder_ == null) {
         if (commuteFilter_ != null) {
           commuteFilter_ =
-              com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder(commuteFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder(commuteFilter_).mergeFrom(value).buildPartial();
         } else {
           commuteFilter_ = value;
         }
@@ -3465,8 +3165,6 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3489,8 +3187,6 @@ public Builder clearCommuteFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3502,13 +3198,11 @@ public Builder clearCommuteFilter() {
      * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
      */
     public com.google.cloud.talent.v4beta1.CommuteFilter.Builder getCommuteFilterBuilder() {
-
+      
       onChanged();
       return getCommuteFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3523,14 +3217,11 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
       if (commuteFilterBuilder_ != null) {
         return commuteFilterBuilder_.getMessageOrBuilder();
       } else {
-        return commuteFilter_ == null
-            ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance()
-            : commuteFilter_;
+        return commuteFilter_ == null ?
+            com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3542,34 +3233,27 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
      * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CommuteFilter,
-            com.google.cloud.talent.v4beta1.CommuteFilter.Builder,
-            com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>
+        com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> 
         getCommuteFilterFieldBuilder() {
       if (commuteFilterBuilder_ == null) {
-        commuteFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.CommuteFilter,
-                com.google.cloud.talent.v4beta1.CommuteFilter.Builder,
-                com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>(
-                getCommuteFilter(), getParentForChildren(), isClean());
+        commuteFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>(
+                getCommuteFilter(),
+                getParentForChildren(),
+                isClean());
         commuteFilter_ = null;
       }
       return commuteFilterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList companyDisplayNames_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureCompanyDisplayNamesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3593,15 +3277,13 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList + getCompanyDisplayNamesList() { return companyDisplayNames_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3625,15 +3307,12 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
      * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3657,7 +3336,6 @@ public int getCompanyDisplayNamesCount() {
      * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -3665,8 +3343,6 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3690,16 +3366,14 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3723,23 +3397,21 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
      * 
* * repeated string company_display_names = 6; - * * @param index The index to set the value at. * @param value The companyDisplayNames to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNames(int index, java.lang.String value) { + public Builder setCompanyDisplayNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3763,22 +3435,20 @@ public Builder setCompanyDisplayNames(int index, java.lang.String value) {
      * 
* * repeated string company_display_names = 6; - * * @param value The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNames(java.lang.String value) { + public Builder addCompanyDisplayNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3802,19 +3472,18 @@ public Builder addCompanyDisplayNames(java.lang.String value) {
      * 
* * repeated string company_display_names = 6; - * * @param values The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addAllCompanyDisplayNames(java.lang.Iterable values) { + public Builder addAllCompanyDisplayNames( + java.lang.Iterable values) { ensureCompanyDisplayNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companyDisplayNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companyDisplayNames_); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3838,7 +3507,6 @@ public Builder addAllCompanyDisplayNames(java.lang.Iterable va
      * 
* * repeated string company_display_names = 6; - * * @return This builder for chaining. */ public Builder clearCompanyDisplayNames() { @@ -3848,8 +3516,6 @@ public Builder clearCompanyDisplayNames() { return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3873,15 +3539,15 @@ public Builder clearCompanyDisplayNames() {
      * 
* * repeated string company_display_names = 6; - * * @param value The bytes of the companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) { + public Builder addCompanyDisplayNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); @@ -3890,13 +3556,8 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationFilter, - com.google.cloud.talent.v4beta1.CompensationFilter.Builder, - com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> - compensationFilterBuilder_; + com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> compensationFilterBuilder_; /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3906,15 +3567,12 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value)
      * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ public boolean hasCompensationFilter() { return compensationFilterBuilder_ != null || compensationFilter_ != null; } /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3924,21 +3582,16 @@ public boolean hasCompensationFilter() {
      * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter() { if (compensationFilterBuilder_ == null) { - return compensationFilter_ == null - ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() - : compensationFilter_; + return compensationFilter_ == null ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_; } else { return compensationFilterBuilder_.getMessage(); } } /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3963,8 +3616,6 @@ public Builder setCompensationFilter(com.google.cloud.talent.v4beta1.Compensatio
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3987,8 +3638,6 @@ public Builder setCompensationFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3999,14 +3648,11 @@ public Builder setCompensationFilter(
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public Builder mergeCompensationFilter(
-        com.google.cloud.talent.v4beta1.CompensationFilter value) {
+    public Builder mergeCompensationFilter(com.google.cloud.talent.v4beta1.CompensationFilter value) {
       if (compensationFilterBuilder_ == null) {
         if (compensationFilter_ != null) {
           compensationFilter_ =
-              com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder(compensationFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder(compensationFilter_).mergeFrom(value).buildPartial();
         } else {
           compensationFilter_ = value;
         }
@@ -4018,8 +3664,6 @@ public Builder mergeCompensationFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -4042,8 +3686,6 @@ public Builder clearCompensationFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -4054,15 +3696,12 @@ public Builder clearCompensationFilter() {
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public com.google.cloud.talent.v4beta1.CompensationFilter.Builder
-        getCompensationFilterBuilder() {
-
+    public com.google.cloud.talent.v4beta1.CompensationFilter.Builder getCompensationFilterBuilder() {
+      
       onChanged();
       return getCompensationFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -4073,19 +3712,15 @@ public Builder clearCompensationFilter() {
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder
-        getCompensationFilterOrBuilder() {
+    public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder() {
       if (compensationFilterBuilder_ != null) {
         return compensationFilterBuilder_.getMessageOrBuilder();
       } else {
-        return compensationFilter_ == null
-            ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()
-            : compensationFilter_;
+        return compensationFilter_ == null ?
+            com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -4097,17 +3732,14 @@ public Builder clearCompensationFilter() {
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CompensationFilter,
-            com.google.cloud.talent.v4beta1.CompensationFilter.Builder,
-            com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>
+        com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> 
         getCompensationFilterFieldBuilder() {
       if (compensationFilterBuilder_ == null) {
-        compensationFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.CompensationFilter,
-                com.google.cloud.talent.v4beta1.CompensationFilter.Builder,
-                com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>(
-                getCompensationFilter(), getParentForChildren(), isClean());
+        compensationFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>(
+                getCompensationFilter(),
+                getParentForChildren(),
+                isClean());
         compensationFilter_ = null;
       }
       return compensationFilterBuilder_;
@@ -4115,8 +3747,6 @@ public Builder clearCompensationFilter() {
 
     private java.lang.Object customAttributeFilter_ = "";
     /**
-     *
-     *
      * 
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4138,13 +3768,13 @@ public Builder clearCompensationFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ public java.lang.String getCustomAttributeFilter() { java.lang.Object ref = customAttributeFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; @@ -4153,8 +3783,6 @@ public java.lang.String getCustomAttributeFilter() { } } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4176,14 +3804,15 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ - public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString + getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -4191,8 +3820,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { } } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4214,22 +3841,20 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() {
      * 
* * string custom_attribute_filter = 8; - * * @param value The customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilter(java.lang.String value) { + public Builder setCustomAttributeFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customAttributeFilter_ = value; onChanged(); return this; } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4251,18 +3876,15 @@ public Builder setCustomAttributeFilter(java.lang.String value) {
      * 
* * string custom_attribute_filter = 8; - * * @return This builder for chaining. */ public Builder clearCustomAttributeFilter() { - + customAttributeFilter_ = getDefaultInstance().getCustomAttributeFilter(); onChanged(); return this; } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4284,25 +3906,23 @@ public Builder clearCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @param value The bytes for customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value) { + public Builder setCustomAttributeFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customAttributeFilter_ = value; onChanged(); return this; } - private boolean disableSpellCheck_; + private boolean disableSpellCheck_ ; /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4311,7 +3931,6 @@ public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString valu
      * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ @java.lang.Override @@ -4319,8 +3938,6 @@ public boolean getDisableSpellCheck() { return disableSpellCheck_; } /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4329,19 +3946,16 @@ public boolean getDisableSpellCheck() {
      * 
* * bool disable_spell_check = 9; - * * @param value The disableSpellCheck to set. * @return This builder for chaining. */ public Builder setDisableSpellCheck(boolean value) { - + disableSpellCheck_ = value; onChanged(); return this; } /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4350,18 +3964,17 @@ public Builder setDisableSpellCheck(boolean value) {
      * 
* * bool disable_spell_check = 9; - * * @return This builder for chaining. */ public Builder clearDisableSpellCheck() { - + disableSpellCheck_ = false; onChanged(); return this; } - private java.util.List employmentTypes_ = java.util.Collections.emptyList(); - + private java.util.List employmentTypes_ = + java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -4369,8 +3982,6 @@ private void ensureEmploymentTypesIsMutable() { } } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4381,17 +3992,13 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4402,15 +4009,12 @@ public java.util.List getEmploym
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4421,7 +4025,6 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4429,8 +4032,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4441,7 +4042,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. @@ -4457,8 +4057,6 @@ public Builder setEmploymentTypes( return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4469,7 +4067,6 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -4483,8 +4080,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4495,7 +4090,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -4509,8 +4103,6 @@ public Builder addAllEmploymentTypes( return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4521,7 +4113,6 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -4531,8 +4122,6 @@ public Builder clearEmploymentTypes() { return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4543,15 +4132,13 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4562,7 +4149,6 @@ public java.util.List getEmploymentTypesValueList() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4570,8 +4156,6 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4582,20 +4166,18 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue(int index, int value) { + public Builder setEmploymentTypesValue( + int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4606,7 +4188,6 @@ public Builder setEmploymentTypesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -4617,8 +4198,6 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4629,11 +4208,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue( + java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -4642,18 +4221,14 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable return this; } - private com.google.protobuf.LazyStringList languageCodes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4666,15 +4241,13 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4687,15 +4260,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
      * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4708,7 +4278,6 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -4716,8 +4285,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4730,16 +4297,14 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4752,23 +4317,21 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) {
      * 
* * repeated string language_codes = 11; - * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes(int index, java.lang.String value) { + public Builder setLanguageCodes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4781,22 +4344,20 @@ public Builder setLanguageCodes(int index, java.lang.String value) {
      * 
* * repeated string language_codes = 11; - * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes(java.lang.String value) { + public Builder addLanguageCodes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4809,19 +4370,18 @@ public Builder addLanguageCodes(java.lang.String value) {
      * 
* * repeated string language_codes = 11; - * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes(java.lang.Iterable values) { + public Builder addAllLanguageCodes( + java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageCodes_); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4834,7 +4394,6 @@ public Builder addAllLanguageCodes(java.lang.Iterable values)
      * 
* * repeated string language_codes = 11; - * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -4844,8 +4403,6 @@ public Builder clearLanguageCodes() { return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4858,15 +4415,15 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 11; - * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); @@ -4875,49 +4432,36 @@ public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.TimestampRange, - com.google.cloud.talent.v4beta1.TimestampRange.Builder, - com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> - publishTimeRangeBuilder_; + com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> publishTimeRangeBuilder_; /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ public boolean hasPublishTimeRange() { return publishTimeRangeBuilder_ != null || publishTimeRange_ != null; } /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ public com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange() { if (publishTimeRangeBuilder_ == null) { - return publishTimeRange_ == null - ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() - : publishTimeRange_; + return publishTimeRange_ == null ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_; } else { return publishTimeRangeBuilder_.getMessage(); } } /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4939,8 +4483,6 @@ public Builder setPublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRang
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4960,8 +4502,6 @@ public Builder setPublishTimeRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4973,9 +4513,7 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRa
       if (publishTimeRangeBuilder_ == null) {
         if (publishTimeRange_ != null) {
           publishTimeRange_ =
-              com.google.cloud.talent.v4beta1.TimestampRange.newBuilder(publishTimeRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.TimestampRange.newBuilder(publishTimeRange_).mergeFrom(value).buildPartial();
         } else {
           publishTimeRange_ = value;
         }
@@ -4987,8 +4525,6 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRa
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5008,8 +4544,6 @@ public Builder clearPublishTimeRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5018,13 +4552,11 @@ public Builder clearPublishTimeRange() {
      * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
      */
     public com.google.cloud.talent.v4beta1.TimestampRange.Builder getPublishTimeRangeBuilder() {
-
+      
       onChanged();
       return getPublishTimeRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5036,14 +4568,11 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
       if (publishTimeRangeBuilder_ != null) {
         return publishTimeRangeBuilder_.getMessageOrBuilder();
       } else {
-        return publishTimeRange_ == null
-            ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance()
-            : publishTimeRange_;
+        return publishTimeRange_ == null ?
+            com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_;
       }
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5052,71 +4581,58 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
      * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.TimestampRange,
-            com.google.cloud.talent.v4beta1.TimestampRange.Builder,
-            com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>
+        com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> 
         getPublishTimeRangeFieldBuilder() {
       if (publishTimeRangeBuilder_ == null) {
-        publishTimeRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.TimestampRange,
-                com.google.cloud.talent.v4beta1.TimestampRange.Builder,
-                com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>(
-                getPublishTimeRange(), getParentForChildren(), isClean());
+        publishTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>(
+                getPublishTimeRange(),
+                getParentForChildren(),
+                isClean());
         publishTimeRange_ = null;
       }
       return publishTimeRangeBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList excludedJobs_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureExcludedJobsIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_);
         bitField0_ |= 0x00000040;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList + getExcludedJobsList() { return excludedJobs_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -5124,95 +4640,85 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString + getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index to set the value at. * @param value The excludedJobs to set. * @return This builder for chaining. */ - public Builder setExcludedJobs(int index, java.lang.String value) { + public Builder setExcludedJobs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param value The excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobs(java.lang.String value) { + public Builder addExcludedJobs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param values The excludedJobs to add. * @return This builder for chaining. */ - public Builder addAllExcludedJobs(java.lang.Iterable values) { + public Builder addAllExcludedJobs( + java.lang.Iterable values) { ensureExcludedJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludedJobs_); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return This builder for chaining. */ public Builder clearExcludedJobs() { @@ -5222,31 +4728,29 @@ public Builder clearExcludedJobs() { return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param value The bytes of the excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { + public Builder addExcludedJobsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5256,12 +4760,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobQuery) private static final com.google.cloud.talent.v4beta1.JobQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobQuery(); } @@ -5270,27 +4774,27 @@ public static com.google.cloud.talent.v4beta1.JobQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5305,4 +4809,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java similarity index 93% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java index 2036ea0028aa..3e418b3128a9 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface JobQueryOrBuilder - extends +public interface JobQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -33,13 +15,10 @@ public interface JobQueryOrBuilder
    * 
* * string query = 1; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -47,14 +26,12 @@ public interface JobQueryOrBuilder
    * 
* * string query = 1; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -66,13 +43,10 @@ public interface JobQueryOrBuilder
    * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ java.lang.String getQueryLanguageCode(); /** - * - * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -84,14 +58,12 @@ public interface JobQueryOrBuilder
    * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ - com.google.protobuf.ByteString getQueryLanguageCodeBytes(); + com.google.protobuf.ByteString + getQueryLanguageCodeBytes(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -107,13 +79,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - java.util.List getCompaniesList(); + java.util.List + getCompaniesList(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -129,13 +99,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @return The count of companies. */ int getCompaniesCount(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -151,14 +118,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ java.lang.String getCompanies(int index); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -174,15 +138,13 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - com.google.protobuf.ByteString getCompaniesBytes(int index); + com.google.protobuf.ByteString + getCompaniesBytes(int index); /** - * - * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -197,10 +159,9 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  java.util.List getLocationFiltersList();
+  java.util.List 
+      getLocationFiltersList();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -217,8 +178,6 @@ public interface JobQueryOrBuilder
    */
   com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int index);
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -235,8 +194,6 @@ public interface JobQueryOrBuilder
    */
   int getLocationFiltersCount();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -251,11 +208,9 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  java.util.List
+  java.util.List 
       getLocationFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -270,11 +225,10 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index);
+  com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -284,13 +238,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -300,13 +251,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -316,14 +264,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -333,13 +278,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List getJobCategoriesValueList(); + java.util.List + getJobCategoriesValueList(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -349,15 +292,12 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -367,13 +307,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ boolean hasCommuteFilter(); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -383,13 +320,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter(); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -403,8 +337,6 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -428,13 +360,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - java.util.List getCompanyDisplayNamesList(); + java.util.List + getCompanyDisplayNamesList(); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -458,13 +388,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ int getCompanyDisplayNamesCount(); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -488,14 +415,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ java.lang.String getCompanyDisplayNames(int index); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -519,15 +443,13 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index); + com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -537,13 +459,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ boolean hasCompensationFilter(); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -553,13 +472,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -573,8 +489,6 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -596,13 +510,10 @@ public interface JobQueryOrBuilder
    * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ java.lang.String getCustomAttributeFilter(); /** - * - * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -624,14 +535,12 @@ public interface JobQueryOrBuilder
    * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ - com.google.protobuf.ByteString getCustomAttributeFilterBytes(); + com.google.protobuf.ByteString + getCustomAttributeFilterBytes(); /** - * - * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -640,14 +549,11 @@ public interface JobQueryOrBuilder
    * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ boolean getDisableSpellCheck(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -658,13 +564,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -675,13 +578,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -692,14 +592,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -710,13 +607,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List getEmploymentTypesValueList(); + java.util.List + getEmploymentTypesValueList(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -727,15 +622,12 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -748,13 +640,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - java.util.List getLanguageCodesList(); + java.util.List + getLanguageCodesList(); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -767,13 +657,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -786,14 +673,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -806,41 +690,33 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString getLanguageCodesBytes(int index); + com.google.protobuf.ByteString + getLanguageCodesBytes(int index); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ boolean hasPublishTimeRange(); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange(); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -851,57 +727,47 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - java.util.List getExcludedJobsList(); + java.util.List + getExcludedJobsList(); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ int getExcludedJobsCount(); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ java.lang.String getExcludedJobs(int index); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - com.google.protobuf.ByteString getExcludedJobsBytes(int index); + com.google.protobuf.ByteString + getExcludedJobsBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java new file mode 100644 index 000000000000..43c4ce658cf7 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java @@ -0,0 +1,163 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job.proto + +package com.google.cloud.talent.v4beta1; + +public final class JobResourceProto { + private JobResourceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n%google/cloud/talent/v4beta1/job.proto\022" + + "\033google.cloud.talent.v4beta1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032(google/cloud/talent/v4beta1/co" + + "mmon.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\340\017\n\003Job\022\014\n\004name\030\001 \001(\t\0224\n\007company\030\002 \001" + + "(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Company\022" + + "\033\n\016requisition_id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 " + + "\001(\tB\003\340A\002\022\030\n\013description\030\005 \001(\tB\003\340A\002\022\021\n\tad" + + "dresses\030\006 \003(\t\022J\n\020application_info\030\007 \001(\0132" + + "0.google.cloud.talent.v4beta1.Job.Applic" + + "ationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.google" + + ".cloud.talent.v4beta1.JobBenefit\022H\n\021comp" + + "ensation_info\030\t \001(\0132-.google.cloud.talen" + + "t.v4beta1.CompensationInfo\022Q\n\021custom_att" + + "ributes\030\n \003(\01326.google.cloud.talent.v4be" + + "ta1.Job.CustomAttributesEntry\022=\n\014degree_" + + "types\030\013 \003(\0162\'.google.cloud.talent.v4beta" + + "1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020empl" + + "oyment_types\030\r \003(\0162+.google.cloud.talent" + + ".v4beta1.EmploymentType\022\022\n\nincentives\030\016 " + + "\001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_level\030" + + "\020 \001(\0162%.google.cloud.talent.v4beta1.JobL" + + "evel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qualifi" + + "cations\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022" + + "B\n\016posting_region\030\024 \001(\0162*.google.cloud.t" + + "alent.v4beta1.PostingRegion\022?\n\nvisibilit" + + "y\030\025 \001(\0162\'.google.cloud.talent.v4beta1.Vi" + + "sibilityB\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\0220\n\014job_end_time" + + "\030\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024po" + + "sting_publish_time\030\030 \001(\0132\032.google.protob" + + "uf.Timestamp\0227\n\023posting_expire_time\030\031 \001(" + + "\0132\032.google.protobuf.Timestamp\022<\n\023posting" + + "_create_time\030\032 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022<\n\023posting_update_time\030\033 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022!\n\024com" + + "pany_display_name\030\034 \001(\tB\003\340A\003\022G\n\014derived_" + + "info\030\035 \001(\0132,.google.cloud.talent.v4beta1" + + ".Job.DerivedInfoB\003\340A\003\022N\n\022processing_opti" + + "ons\030\036 \001(\01322.google.cloud.talent.v4beta1." + + "Job.ProcessingOptions\032D\n\017ApplicationInfo" + + "\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 \001(\t\022\014\n" + + "\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tlocations" + + "\030\001 \003(\0132%.google.cloud.talent.v4beta1.Loc" + + "ation\022@\n\016job_categories\030\003 \003(\0162(.google.c" + + "loud.talent.v4beta1.JobCategory\032\210\001\n\021Proc" + + "essingOptions\022)\n!disable_street_address_" + + "resolution\030\001 \001(\010\022H\n\021html_sanitization\030\002 " + + "\001(\0162-.google.cloud.talent.v4beta1.HtmlSa" + + "nitization\032e\n\025CustomAttributesEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.t" + + "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" + + "jobs.googleapis.com/Job\022.projects/{proje" + + "ct}/tenants/{tenant}/jobs/{job}\022\035project" + + "s/{project}/jobs/{job}B~\n\037com.google.clo" + + "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Job_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_descriptor, + new java.lang.String[] { "Name", "Company", "RequisitionId", "Title", "Description", "Addresses", "ApplicationInfo", "JobBenefits", "CompensationInfo", "CustomAttributes", "DegreeTypes", "Department", "EmploymentTypes", "Incentives", "LanguageCode", "JobLevel", "PromotionValue", "Qualifications", "Responsibilities", "PostingRegion", "Visibility", "JobStartTime", "JobEndTime", "PostingPublishTime", "PostingExpireTime", "PostingCreateTime", "PostingUpdateTime", "CompanyDisplayName", "DerivedInfo", "ProcessingOptions", }); + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor, + new java.lang.String[] { "Emails", "Instruction", "Uris", }); + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor, + new java.lang.String[] { "Locations", "JobCategories", }); + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor, + new java.lang.String[] { "DisableStreetAddressResolution", "HtmlSanitization", }); + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java new file mode 100644 index 000000000000..18b9f1759c33 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java @@ -0,0 +1,418 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class JobServiceProto { + private JobServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/talent/v4beta1/job_servic" + + "e.proto\022\033google.cloud.talent.v4beta1\032\034go" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032(google/" + + "cloud/talent/v4beta1/common.proto\032)googl" + + "e/cloud/talent/v4beta1/filters.proto\032+go" + + "ogle/cloud/talent/v4beta1/histogram.prot" + + "o\032%google/cloud/talent/v4beta1/job.proto" + + "\032#google/longrunning/operations.proto\032\036g" + + "oogle/protobuf/duration.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\027google/rpc/status.proto\"w\n" + + "\020CreateJobRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A" + + "\031\022\027jobs.googleapis.com/Job\0222\n\003job\030\002 \001(\0132" + + " .google.cloud.talent.v4beta1.JobB\003\340A\002\">" + + "\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027j" + + "obs.googleapis.com/Job\"w\n\020UpdateJobReque" + + "st\0222\n\003job\030\001 \001(\0132 .google.cloud.talent.v4" + + "beta1.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" + + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" + + "is.com/Job\"^\n\026BatchDeleteJobsRequest\022/\n\006" + + "parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.co" + + "m/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\"\266\001\n\017ListJobsR" + + "equest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.goo" + + "gleapis.com/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\n" + + "page_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010j" + + "ob_view\030\005 \001(\0162$.google.cloud.talent.v4be" + + "ta1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs" + + "\030\001 \003(\0132 .google.cloud.talent.v4beta1.Job" + + "\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 " + + "\001(\0132-.google.cloud.talent.v4beta1.Respon" + + "seMetadata\"\273\013\n\021SearchJobsRequest\022/\n\006pare" + + "nt\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Jo" + + "b\022N\n\013search_mode\030\002 \001(\01629.google.cloud.ta" + + "lent.v4beta1.SearchJobsRequest.SearchMod" + + "e\022K\n\020request_metadata\030\003 \001(\0132,.google.clo" + + "ud.talent.v4beta1.RequestMetadataB\003\340A\002\0228" + + "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." + + "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " + + "\001(\010\022\'\n\033require_precise_result_size\030\006 \001(\010" + + "B\002\030\001\022F\n\021histogram_queries\030\007 \003(\0132+.google" + + ".cloud.talent.v4beta1.HistogramQuery\0226\n\010" + + "job_view\030\010 \001(\0162$.google.cloud.talent.v4b" + + "eta1.JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_siz" + + "e\030\n \001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030" + + "\014 \001(\t\022b\n\025diversification_level\030\r \001(\0162C.g" + + "oogle.cloud.talent.v4beta1.SearchJobsReq" + + "uest.DiversificationLevel\022]\n\023custom_rank" + + "ing_info\030\016 \001(\0132@.google.cloud.talent.v4b" + + "eta1.SearchJobsRequest.CustomRankingInfo" + + "\022\035\n\025disable_keyword_match\030\020 \001(\010\022[\n\022keywo" + + "rd_match_mode\030\022 \001(\0162?.google.cloud.talen" + + "t.v4beta1.SearchJobsRequest.KeywordMatch" + + "Mode\032\232\002\n\021CustomRankingInfo\022o\n\020importance" + + "_level\030\001 \001(\0162P.google.cloud.talent.v4bet" + + "a1.SearchJobsRequest.CustomRankingInfo.I" + + "mportanceLevelB\003\340A\002\022\037\n\022ranking_expressio" + + "n\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLevel\022 \n\034IMPOR" + + "TANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003L" + + "OW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007" + + "EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SEARCH_MODE_U" + + "NSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED" + + "_JOB_SEARCH\020\002\"W\n\024DiversificationLevel\022%\n" + + "!DIVERSIFICATION_LEVEL_UNSPECIFIED\020\000\022\014\n\010" + + "DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\207\001\n\020KeywordMatchM" + + "ode\022\"\n\036KEYWORD_MATCH_MODE_UNSPECIFIED\020\000\022" + + "\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n\021KEYWORD_M" + + "ATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TITLE_ONLY\020\003" + + "\"\327\006\n\022SearchJobsResponse\022R\n\rmatching_jobs" + + "\030\001 \003(\0132;.google.cloud.talent.v4beta1.Sea" + + "rchJobsResponse.MatchingJob\022R\n\027histogram" + + "_query_results\030\002 \003(\01321.google.cloud.tale" + + "nt.v4beta1.HistogramQueryResult\022\027\n\017next_" + + "page_token\030\003 \001(\t\022?\n\020location_filters\030\004 \003" + + "(\0132%.google.cloud.talent.v4beta1.Locatio" + + "n\022\034\n\024estimated_total_size\030\005 \001(\005\022\022\n\ntotal" + + "_size\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.c" + + "loud.talent.v4beta1.ResponseMetadata\022\"\n\032" + + "broadened_query_jobs_count\030\010 \001(\005\022I\n\020spel" + + "l_correction\030\t \001(\0132/.google.cloud.talent" + + ".v4beta1.SpellingCorrection\032\334\001\n\013Matching" + + "Job\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v" + + "4beta1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_t" + + "itle_snippet\030\003 \001(\t\022\033\n\023search_text_snippe" + + "t\030\004 \001(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.c" + + "loud.talent.v4beta1.SearchJobsResponse.C" + + "ommuteInfo\032~\n\013CommuteInfo\022;\n\014job_locatio" + + "n\030\001 \001(\0132%.google.cloud.talent.v4beta1.Lo" + + "cation\0222\n\017travel_duration\030\002 \001(\0132\031.google" + + ".protobuf.Duration\"~\n\026BatchCreateJobsReq" + + "uest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googl" + + "eapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .google.clo" + + "ud.talent.v4beta1.JobB\003\340A\002\"\257\001\n\026BatchUpda" + + "teJobsRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027j" + + "obs.googleapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .g" + + "oogle.cloud.talent.v4beta1.JobB\003\340A\002\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "Mask\"\304\001\n\022JobOperationResult\022N\n\013job_resul" + + "ts\030\001 \003(\01329.google.cloud.talent.v4beta1.J" + + "obOperationResult.JobResult\032^\n\tJobResult" + + "\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v4be" + + "ta1.Job\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + + "tus*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" + + "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" + + "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" + + "L\020\0042\316\022\n\nJobService\022\311\001\n\tCreateJob\022-.googl" + + "e.cloud.talent.v4beta1.CreateJobRequest\032" + + " .google.cloud.talent.v4beta1.Job\"k\202\323\344\223\002" + + "X\"+/v4beta1/{parent=projects/*/tenants/*" + + "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" + + "}/jobs:\001*\332A\nparent,job\022\233\002\n\017BatchCreateJo" + + "bs\0223.google.cloud.talent.v4beta1.BatchCr" + + "eateJobsRequest\032\035.google.longrunning.Ope" + + "ration\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projec" + + "ts/*/tenants/*}/jobs:batchCreate:\001*Z2\"-/" + + "v4beta1/{parent=projects/*}/jobs:batchCr" + + "eate:\001*\332A\013parent,jobs\312A,\n\022JobOperationRe" + + "sult\022\026BatchOperationMetadata\022\267\001\n\006GetJob\022" + + "*.google.cloud.talent.v4beta1.GetJobRequ" + + "est\032 .google.cloud.talent.v4beta1.Job\"_\202" + + "\323\344\223\002R\022+/v4beta1/{name=projects/*/tenants" + + "/*/jobs/*}Z#\022!/v4beta1/{name=projects/*/" + + "jobs/*}\332A\004name\022\312\001\n\tUpdateJob\022-.google.cl" + + "oud.talent.v4beta1.UpdateJobRequest\032 .go" + + "ogle.cloud.talent.v4beta1.Job\"l\202\323\344\223\002`2//" + + "v4beta1/{job.name=projects/*/tenants/*/j" + + "obs/*}:\001*Z*2%/v4beta1/{job.name=projects" + + "/*/jobs/*}:\001*\332A\003job\022\233\002\n\017BatchUpdateJobs\022" + + "3.google.cloud.talent.v4beta1.BatchUpdat" + + "eJobsRequest\032\035.google.longrunning.Operat" + + "ion\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projects/" + + "*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/v4b" + + "eta1/{parent=projects/*}/jobs:batchUpdat" + + "e:\001*\332A\013parent,jobs\312A,\n\022JobOperationResul" + + "t\022\026BatchOperationMetadata\022\263\001\n\tDeleteJob\022" + + "-.google.cloud.talent.v4beta1.DeleteJobR" + + "equest\032\026.google.protobuf.Empty\"_\202\323\344\223\002R*+" + + "/v4beta1/{name=projects/*/tenants/*/jobs" + + "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}" + + "\332A\004name\022\344\001\n\017BatchDeleteJobs\0223.google.clo" + + "ud.talent.v4beta1.BatchDeleteJobsRequest" + + "\032\026.google.protobuf.Empty\"\203\001\202\323\344\223\002m\"7/v4be" + + "ta1/{parent=projects/*/tenants/*}/jobs:b" + + "atchDelete:\001*Z/\"-/v4beta1/{parent=projec" + + "ts/*}/jobs:batchDelete\332A\rparent,filter\022\321" + + "\001\n\010ListJobs\022,.google.cloud.talent.v4beta" + + "1.ListJobsRequest\032-.google.cloud.talent." + + "v4beta1.ListJobsResponse\"h\202\323\344\223\002R\022+/v4bet" + + "a1/{parent=projects/*/tenants/*}/jobsZ#\022" + + "!/v4beta1/{parent=projects/*}/jobs\332A\rpar" + + "ent,filter\022\333\001\n\nSearchJobs\022..google.cloud" + + ".talent.v4beta1.SearchJobsRequest\032/.goog" + + "le.cloud.talent.v4beta1.SearchJobsRespon" + + "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/" + + "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p" + + "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea" + + "rchJobsForAlert\022..google.cloud.talent.v4" + + "beta1.SearchJobsRequest\032/.google.cloud.t" + + "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v" + + "\":/v4beta1/{parent=projects/*/tenants/*}" + + "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par" + + "ent=projects/*}/jobs:searchForAlert:\001*\032l" + + "\312A\023jobs.googleapis.com\322AShttps://www.goo" + + "gleapis.com/auth/cloud-platform,https://" + + "www.googleapis.com/auth/jobsB}\n\037com.goog" + + "le.cloud.talent.v4beta1B\017JobServiceProto" + + "P\001ZAgoogle.golang.org/genproto/googleapi" + + "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), + com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor, + new java.lang.String[] { "Parent", "Job", }); + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor, + new java.lang.String[] { "Job", "UpdateMask", }); + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", }); + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageToken", "PageSize", "JobView", }); + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor, + new java.lang.String[] { "Jobs", "NextPageToken", "Metadata", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor, + new java.lang.String[] { "Parent", "SearchMode", "RequestMetadata", "JobQuery", "EnableBroadening", "RequirePreciseResultSize", "HistogramQueries", "JobView", "Offset", "PageSize", "PageToken", "OrderBy", "DiversificationLevel", "CustomRankingInfo", "DisableKeywordMatch", "KeywordMatchMode", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor, + new java.lang.String[] { "ImportanceLevel", "RankingExpression", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor, + new java.lang.String[] { "MatchingJobs", "HistogramQueryResults", "NextPageToken", "LocationFilters", "EstimatedTotalSize", "TotalSize", "Metadata", "BroadenedQueryJobsCount", "SpellCorrection", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor, + new java.lang.String[] { "Job", "JobSummary", "JobTitleSnippet", "SearchTextSnippet", "CommuteInfo", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor, + new java.lang.String[] { "JobLocation", "TravelDuration", }); + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Jobs", }); + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Jobs", "UpdateMask", }); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor, + new java.lang.String[] { "JobResults", }); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor = + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor, + new java.lang.String[] { "Job", "Status", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); + com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java similarity index 79% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java index 93c93013c8cf..7d4adaa7b35e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that specifies the job attributes that are returned in the
  * [MatchingJob.job][google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.job] or
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.JobView}
  */
-public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +23,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ JOB_VIEW_UNSPECIFIED(0), /** - * - * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
@@ -52,8 +32,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_ID_ONLY(1),
   /**
-   *
-   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -64,8 +42,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_MINIMAL(2),
   /**
-   *
-   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -77,8 +53,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_SMALL(3),
   /**
-   *
-   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -90,8 +64,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value.
    * 
@@ -100,8 +72,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
@@ -111,8 +81,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_ID_ONLY_VALUE = 1;
   /**
-   *
-   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -123,8 +91,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_MINIMAL_VALUE = 2;
   /**
-   *
-   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -136,8 +102,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_SMALL_VALUE = 3;
   /**
-   *
-   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -146,6 +110,7 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_VIEW_FULL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,53 +135,51 @@ public static JobView valueOf(int value) { */ public static JobView forNumber(int value) { switch (value) { - case 0: - return JOB_VIEW_UNSPECIFIED; - case 1: - return JOB_VIEW_ID_ONLY; - case 2: - return JOB_VIEW_MINIMAL; - case 3: - return JOB_VIEW_SMALL; - case 4: - return JOB_VIEW_FULL; - default: - return null; + case 0: return JOB_VIEW_UNSPECIFIED; + case 1: return JOB_VIEW_ID_ONLY; + case 2: return JOB_VIEW_MINIMAL; + case 3: return JOB_VIEW_SMALL; + case 4: return JOB_VIEW_FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobView findValueByNumber(int number) { - return JobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + JobView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobView findValueByNumber(int number) { + return JobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor().getEnumTypes().get(0); } private static final JobView[] VALUES = values(); - public static JobView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobView valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,3 +195,4 @@ private JobView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobView) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java similarity index 69% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java index 832939b0ca63..0eb47dabb17a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * List companies for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesRequest} */ -public final class ListCompaniesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompaniesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListCompaniesRequest) ListCompaniesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompaniesRequest.newBuilder() to construct. private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,35 +26,32 @@ private ListCompaniesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompaniesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, - com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -110,18 +85,17 @@ public java.lang.String getParent() {
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,14 +106,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -148,29 +119,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -181,15 +152,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -200,8 +168,6 @@ public int getPageSize() { public static final int REQUIRE_OPEN_JOBS_FIELD_NUMBER = 4; private boolean requireOpenJobs_; /** - * - * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -210,7 +176,6 @@ public int getPageSize() {
    * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ @java.lang.Override @@ -219,7 +184,6 @@ public boolean getRequireOpenJobs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +195,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -260,10 +225,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (requireOpenJobs_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, requireOpenJobs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, requireOpenJobs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -273,18 +240,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListCompaniesRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListCompaniesRequest other = - (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; + com.google.cloud.talent.v4beta1.ListCompaniesRequest other = (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (getRequireOpenJobs() + != other.getRequireOpenJobs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,142 +273,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + REQUIRE_OPEN_JOBS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireOpenJobs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequireOpenJobs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListCompaniesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List companies for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListCompaniesRequest) com.google.cloud.talent.v4beta1.ListCompaniesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, - com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListCompaniesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override @@ -475,8 +440,7 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListCompaniesRequest result = - new com.google.cloud.talent.v4beta1.ListCompaniesRequest(this); + com.google.cloud.talent.v4beta1.ListCompaniesRequest result = new com.google.cloud.talent.v4beta1.ListCompaniesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -489,39 +453,38 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListCompaniesRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesRequest)other); } else { super.mergeFrom(other); return this; @@ -529,8 +492,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -571,37 +533,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 32: - { - requireOpenJobs_ = input.readBool(); + break; + } // case 24 + case 32: { + requireOpenJobs_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,8 +571,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -624,16 +579,14 @@ public Builder mergeFrom(
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -642,8 +595,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -652,17 +603,16 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -670,8 +620,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -680,25 +628,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -707,21 +651,16 @@ public Builder setParent(java.lang.String value) {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -730,19 +669,17 @@ public Builder clearParent() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -750,20 +687,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -772,21 +707,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -794,77 +728,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -872,47 +796,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - private boolean requireOpenJobs_; + private boolean requireOpenJobs_ ; /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -921,7 +837,6 @@ public Builder clearPageSize() {
      * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ @java.lang.Override @@ -929,8 +844,6 @@ public boolean getRequireOpenJobs() { return requireOpenJobs_; } /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -939,19 +852,16 @@ public boolean getRequireOpenJobs() {
      * 
* * bool require_open_jobs = 4; - * * @param value The requireOpenJobs to set. * @return This builder for chaining. */ public Builder setRequireOpenJobs(boolean value) { - + requireOpenJobs_ = value; onChanged(); return this; } /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -960,18 +870,17 @@ public Builder setRequireOpenJobs(boolean value) {
      * 
* * bool require_open_jobs = 4; - * * @return This builder for chaining. */ public Builder clearRequireOpenJobs() { - + requireOpenJobs_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -981,12 +890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListCompaniesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesRequest) private static final com.google.cloud.talent.v4beta1.ListCompaniesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListCompaniesRequest(); } @@ -995,27 +904,27 @@ public static com.google.cloud.talent.v4beta1.ListCompaniesRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompaniesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompaniesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +939,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListCompaniesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java index 096d1bbaa8ff..43ab2850f2ca 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface ListCompaniesRequestOrBuilder - extends +public interface ListCompaniesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListCompaniesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -34,16 +16,11 @@ public interface ListCompaniesRequestOrBuilder
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -52,56 +29,44 @@ public interface ListCompaniesRequestOrBuilder
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -110,7 +75,6 @@ public interface ListCompaniesRequestOrBuilder
    * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ boolean getRequireOpenJobs(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java index 26c3309e8620..edcee578f028 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The List companies response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesResponse} */ -public final class ListCompaniesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompaniesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListCompaniesResponse) ListCompaniesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompaniesResponse.newBuilder() to construct. private ListCompaniesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompaniesResponse() { companies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListCompaniesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompaniesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, - com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); } public static final int COMPANIES_FIELD_NUMBER = 1; private java.util.List companies_; /** - * - * *
    * Companies for the current client.
    * 
@@ -84,8 +63,6 @@ public java.util.List getCompaniesList( return companies_; } /** - * - * *
    * Companies for the current client.
    * 
@@ -93,13 +70,11 @@ public java.util.List getCompaniesList( * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompaniesOrBuilderList() { return companies_; } /** - * - * *
    * Companies for the current client.
    * 
@@ -111,8 +86,6 @@ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
    * Companies for the current client.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { return companies_.get(index); } /** - * - * *
    * Companies for the current client.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( + int index) { return companies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -189,15 +158,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -205,26 +171,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -238,7 +197,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +208,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < companies_.size(); i++) {
       output.writeMessage(1, companies_.get(i));
     }
@@ -270,13 +229,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < companies_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, companies_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, companies_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +247,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListCompaniesResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListCompaniesResponse other =
-        (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj;
+    com.google.cloud.talent.v4beta1.ListCompaniesResponse other = (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj;
 
-    if (!getCompaniesList().equals(other.getCompaniesList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getCompaniesList()
+        .equals(other.getCompaniesList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -327,136 +290,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.talent.v4beta1.ListCompaniesResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListCompaniesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The List companies response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListCompaniesResponse) com.google.cloud.talent.v4beta1.ListCompaniesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, - com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListCompaniesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override @@ -500,8 +456,7 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListCompaniesResponse result = - new com.google.cloud.talent.v4beta1.ListCompaniesResponse(this); + com.google.cloud.talent.v4beta1.ListCompaniesResponse result = new com.google.cloud.talent.v4beta1.ListCompaniesResponse(this); int from_bitField0_ = bitField0_; if (companiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +481,38 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListCompaniesResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance()) return this; if (companiesBuilder_ == null) { if (!other.companies_.isEmpty()) { if (companies_.isEmpty()) { @@ -586,10 +539,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesResponse o companiesBuilder_ = null; companies_ = other.companies_; bitField0_ = (bitField0_ & ~0x00000001); - companiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompaniesFieldBuilder() - : null; + companiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompaniesFieldBuilder() : null; } else { companiesBuilder_.addAllMessages(other.companies_); } @@ -628,38 +580,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.Company m = - input.readMessage( - com.google.cloud.talent.v4beta1.Company.parser(), extensionRegistry); - if (companiesBuilder_ == null) { - ensureCompaniesIsMutable(); - companies_.add(m); - } else { - companiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4beta1.Company m = + input.readMessage( + com.google.cloud.talent.v4beta1.Company.parser(), + extensionRegistry); + if (companiesBuilder_ == null) { + ensureCompaniesIsMutable(); + companies_.add(m); + } else { + companiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List companies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> - companiesBuilder_; + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companiesBuilder_; /** - * - * *
      * Companies for the current client.
      * 
@@ -705,8 +649,6 @@ public java.util.List getCompaniesList( } } /** - * - * *
      * Companies for the current client.
      * 
@@ -721,8 +663,6 @@ public int getCompaniesCount() { } } /** - * - * *
      * Companies for the current client.
      * 
@@ -737,15 +677,14 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { } } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder setCompanies(int index, com.google.cloud.talent.v4beta1.Company value) { + public Builder setCompanies( + int index, com.google.cloud.talent.v4beta1.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,8 +698,6 @@ public Builder setCompanies(int index, com.google.cloud.talent.v4beta1.Company v return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -779,8 +716,6 @@ public Builder setCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -801,15 +736,14 @@ public Builder addCompanies(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder addCompanies(int index, com.google.cloud.talent.v4beta1.Company value) { + public Builder addCompanies( + int index, com.google.cloud.talent.v4beta1.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -823,15 +757,14 @@ public Builder addCompanies(int index, com.google.cloud.talent.v4beta1.Company v return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder addCompanies(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder addCompanies( + com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); companies_.add(builderForValue.build()); @@ -842,8 +775,6 @@ public Builder addCompanies(com.google.cloud.talent.v4beta1.Company.Builder buil return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -862,8 +793,6 @@ public Builder addCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -874,7 +803,8 @@ public Builder addAllCompanies( java.lang.Iterable values) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companies_); onChanged(); } else { companiesBuilder_.addAllMessages(values); @@ -882,8 +812,6 @@ public Builder addAllCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -901,8 +829,6 @@ public Builder clearCompanies() { return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -920,44 +846,39 @@ public Builder removeCompanies(int index) { return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.Company.Builder getCompaniesBuilder(int index) { + public com.google.cloud.talent.v4beta1.Company.Builder getCompaniesBuilder( + int index) { return getCompaniesFieldBuilder().getBuilder(index); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( + int index) { if (companiesBuilder_ == null) { - return companies_.get(index); - } else { + return companies_.get(index); } else { return companiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public java.util.List - getCompaniesOrBuilderList() { + public java.util.List + getCompaniesOrBuilderList() { if (companiesBuilder_ != null) { return companiesBuilder_.getMessageOrBuilderList(); } else { @@ -965,8 +886,6 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(in } } /** - * - * *
      * Companies for the current client.
      * 
@@ -974,48 +893,42 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(in * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder() { - return getCompaniesFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); + return getCompaniesFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder(int index) { - return getCompaniesFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder( + int index) { + return getCompaniesFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public java.util.List - getCompaniesBuilderList() { + public java.util.List + getCompaniesBuilderList() { return getCompaniesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompaniesFieldBuilder() { if (companiesBuilder_ == null) { - companiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + companiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + companies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); companies_ = null; } return companiesBuilder_; @@ -1023,20 +936,18 @@ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1045,21 +956,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1067,61 +977,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1129,49 +1032,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1193,8 +1083,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1214,8 +1102,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1227,9 +1113,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1241,8 +1125,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1262,8 +1144,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1272,13 +1152,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1290,14 +1168,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1306,24 +1181,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1333,12 +1205,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
   private static final com.google.cloud.talent.v4beta1.ListCompaniesResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListCompaniesResponse();
   }
@@ -1347,27 +1219,27 @@ public static com.google.cloud.talent.v4beta1.ListCompaniesResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListCompaniesResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListCompaniesResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1382,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListCompaniesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
index 86c1666558af..833e6f8a0c9c 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListCompaniesResponseOrBuilder
-    extends
+public interface ListCompaniesResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListCompaniesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - java.util.List getCompaniesList(); + java.util.List + getCompaniesList(); /** - * - * *
    * Companies for the current client.
    * 
@@ -44,8 +25,6 @@ public interface ListCompaniesResponseOrBuilder */ com.google.cloud.talent.v4beta1.Company getCompanies(int index); /** - * - * *
    * Companies for the current client.
    * 
@@ -54,81 +33,65 @@ public interface ListCompaniesResponseOrBuilder */ int getCompaniesCount(); /** - * - * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - java.util.List + java.util.List getCompaniesOrBuilderList(); /** - * - * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index); + com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
similarity index 74%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
index 3300d0382f9f..1c5e06c955bf 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsRequest} */ -public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListJobsRequest) ListJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsRequest() { parent_ = ""; filter_ = ""; @@ -46,35 +28,32 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsRequest.class, - com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsRequest.class, com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -82,10 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,15 +70,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -110,18 +85,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,8 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -155,7 +127,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -164,15 +135,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -194,15 +164,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -213,14 +184,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,29 +197,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -262,8 +230,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -272,7 +238,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -283,8 +248,6 @@ public int getPageSize() { public static final int JOB_VIEW_FIELD_NUMBER = 5; private int jobView_; /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -292,16 +255,12 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -309,19 +268,15 @@ public int getJobViewValue() {
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The jobView. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.JobView getJobView() { + @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = - com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,7 +288,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,10 +324,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (jobView_ != com.google.cloud.talent.v4beta1.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, jobView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, jobView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -381,18 +339,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListJobsRequest other = - (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + com.google.cloud.talent.v4beta1.ListJobsRequest other = (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (jobView_ != other.jobView_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -420,136 +381,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListJobsRequest) com.google.cloud.talent.v4beta1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsRequest.class, - com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsRequest.class, com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override @@ -588,8 +543,7 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListJobsRequest result = - new com.google.cloud.talent.v4beta1.ListJobsRequest(this); + com.google.cloud.talent.v4beta1.ListJobsRequest result = new com.google.cloud.talent.v4beta1.ListJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageToken_ = pageToken_; @@ -603,39 +557,38 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -643,8 +596,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -689,43 +641,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 40: - { - jobView_ = input.readEnum(); + break; + } // case 32 + case 40: { + jobView_ = input.readEnum(); - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -738,8 +684,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -747,16 +691,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -765,8 +707,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -774,17 +714,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -792,8 +731,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -801,25 +738,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -827,21 +760,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -849,19 +777,17 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -869,8 +795,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -892,13 +816,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -907,8 +831,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -930,14 +852,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -945,8 +868,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -968,22 +889,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -1005,18 +924,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -1038,16 +954,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1055,20 +971,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1077,21 +991,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1099,70 +1012,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1171,7 +1075,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1179,8 +1082,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1189,19 +1090,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1210,11 +1108,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1222,8 +1119,6 @@ public Builder clearPageSize() { private int jobView_ = 0; /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1231,16 +1126,12 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1248,19 +1139,16 @@ public int getJobViewValue() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1268,19 +1156,15 @@ public Builder setJobViewValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = - com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1288,7 +1172,6 @@ public com.google.cloud.talent.v4beta1.JobView getJobView() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @param value The jobView to set. * @return This builder for chaining. */ @@ -1296,14 +1179,12 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1311,18 +1192,17 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1332,12 +1212,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListJobsRequest) private static final com.google.cloud.talent.v4beta1.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListJobsRequest(); } @@ -1346,27 +1226,27 @@ public static com.google.cloud.talent.v4beta1.ListJobsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1381,4 +1261,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java index e69c59d4f373..7ddddf3afde0 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface ListJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,17 +27,13 @@ public interface ListJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -82,13 +55,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -110,39 +80,32 @@ public interface ListJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -151,14 +114,11 @@ public interface ListJobsRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -166,13 +126,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -180,7 +137,6 @@ public interface ListJobsRequestOrBuilder
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The jobView. */ com.google.cloud.talent.v4beta1.JobView getJobView(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java index 29ac567dc666..f73a0801cec4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsResponse} */ -public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListJobsResponse) ListJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsResponse.class, - com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsResponse.class, com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -86,8 +65,6 @@ public java.util.List getJobsList() {
     return jobs_;
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -97,13 +74,11 @@ public java.util.List getJobsList() {
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getJobsOrBuilderList() {
     return jobs_;
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -117,8 +92,6 @@ public int getJobsCount() {
     return jobs_.size();
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -132,8 +105,6 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
     return jobs_.get(index);
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -143,21 +114,19 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) {
+  public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
+      int index) {
     return jobs_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -166,29 +135,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -199,15 +168,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -215,26 +181,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -248,7 +207,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -260,7 +218,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobs_.size(); i++) {
       output.writeMessage(1, jobs_.get(i));
     }
@@ -280,13 +239,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobs_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -296,19 +257,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListJobsResponse other =
-        (com.google.cloud.talent.v4beta1.ListJobsResponse) obj;
+    com.google.cloud.talent.v4beta1.ListJobsResponse other = (com.google.cloud.talent.v4beta1.ListJobsResponse) obj;
 
-    if (!getJobsList().equals(other.getJobsList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getJobsList()
+        .equals(other.getJobsList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -336,136 +299,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * List jobs response.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListJobsResponse) com.google.cloud.talent.v4beta1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsResponse.class, - com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsResponse.class, com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override @@ -509,8 +466,7 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListJobsResponse result = - new com.google.cloud.talent.v4beta1.ListJobsResponse(this); + com.google.cloud.talent.v4beta1.ListJobsResponse result = new com.google.cloud.talent.v4beta1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -535,39 +491,38 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -575,8 +530,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance()) return this; if (jobsBuilder_ == null) { if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { @@ -595,10 +549,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsResponse other) jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -637,38 +590,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -678,28 +630,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -716,8 +661,6 @@ public java.util.List getJobsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -734,8 +677,6 @@ public int getJobsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -752,8 +693,6 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -762,7 +701,8 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
+    public Builder setJobs(
+        int index, com.google.cloud.talent.v4beta1.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -776,8 +716,6 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -786,7 +724,8 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder setJobs(
+        int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.set(index, builderForValue.build());
@@ -797,8 +736,6 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -821,8 +758,6 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -831,7 +766,8 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
+    public Builder addJobs(
+        int index, com.google.cloud.talent.v4beta1.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -845,8 +781,6 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -855,7 +789,8 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder addJobs(
+        com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(builderForValue.build());
@@ -866,8 +801,6 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -876,7 +809,8 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForVal
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder addJobs(
+        int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(index, builderForValue.build());
@@ -887,8 +821,6 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -901,7 +833,8 @@ public Builder addAllJobs(
         java.lang.Iterable values) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobs_);
         onChanged();
       } else {
         jobsBuilder_.addAllMessages(values);
@@ -909,8 +842,6 @@ public Builder addAllJobs(
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -930,8 +861,6 @@ public Builder clearJobs() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -951,8 +880,6 @@ public Builder removeJobs(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -961,12 +888,11 @@ public Builder removeJobs(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) {
+    public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(
+        int index) {
       return getJobsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -975,16 +901,14 @@ public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) {
+    public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
+        int index) {
       if (jobsBuilder_ == null) {
-        return jobs_.get(index);
-      } else {
+        return jobs_.get(index);  } else {
         return jobsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -993,8 +917,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index)
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public java.util.List
-        getJobsOrBuilderList() {
+    public java.util.List 
+         getJobsOrBuilderList() {
       if (jobsBuilder_ != null) {
         return jobsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1002,8 +926,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1013,12 +935,10 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index)
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
     public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() {
-      return getJobsFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
+      return getJobsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1027,13 +947,12 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) {
-      return getJobsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
+    public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
+        int index) {
+      return getJobsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1042,22 +961,20 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public java.util.List getJobsBuilderList() {
+    public java.util.List 
+         getJobsBuilderList() {
       return getJobsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.Job,
-            com.google.cloud.talent.v4beta1.Job.Builder,
-            com.google.cloud.talent.v4beta1.JobOrBuilder>
+        com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> 
         getJobsFieldBuilder() {
       if (jobsBuilder_ == null) {
-        jobsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.Job,
-                com.google.cloud.talent.v4beta1.Job.Builder,
-                com.google.cloud.talent.v4beta1.JobOrBuilder>(
-                jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>(
+                jobs_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobs_ = null;
       }
       return jobsBuilder_;
@@ -1065,20 +982,18 @@ public java.util.List getJobsBuilde
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1087,21 +1002,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1109,61 +1023,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1171,49 +1078,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1235,8 +1129,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1256,8 +1148,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1269,9 +1159,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1283,8 +1171,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1304,8 +1190,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1314,13 +1198,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1332,14 +1214,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1348,24 +1227,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1375,12 +1251,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListJobsResponse)
   private static final com.google.cloud.talent.v4beta1.ListJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListJobsResponse();
   }
@@ -1389,27 +1265,27 @@ public static com.google.cloud.talent.v4beta1.ListJobsResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1424,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
similarity index 76%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
index 87828719eaf9..2510362a948d 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListJobsResponseOrBuilder
-    extends
+public interface ListJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -34,10 +16,9 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  java.util.List getJobsList();
+  java.util.List 
+      getJobsList();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -48,8 +29,6 @@ public interface ListJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4beta1.Job getJobs(int index);
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -60,8 +39,6 @@ public interface ListJobsResponseOrBuilder
    */
   int getJobsCount();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -70,10 +47,9 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  java.util.List getJobsOrBuilderList();
+  java.util.List 
+      getJobsOrBuilderList();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -82,62 +58,50 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index);
+  com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
similarity index 66%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
index ffe0578c83e4..6c56c0036282 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * List tenants for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsRequest} */ -public final class ListTenantsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTenantsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListTenantsRequest) ListTenantsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTenantsRequest.newBuilder() to construct. private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,39 @@ private ListTenantsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTenantsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsRequest.class, - com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsRequest.class, com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,14 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -144,29 +115,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -177,15 +148,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -194,7 +162,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -232,7 +200,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -242,17 +211,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListTenantsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListTenantsRequest other = - (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; + com.google.cloud.talent.v4beta1.ListTenantsRequest other = (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,135 +247,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListTenantsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List tenants for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListTenantsRequest) com.google.cloud.talent.v4beta1.ListTenantsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsRequest.class, - com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsRequest.class, com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListTenantsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override @@ -439,8 +404,7 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListTenantsRequest result = - new com.google.cloud.talent.v4beta1.ListTenantsRequest(this); + com.google.cloud.talent.v4beta1.ListTenantsRequest result = new com.google.cloud.talent.v4beta1.ListTenantsRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -452,39 +416,38 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListTenantsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsRequest)other); } else { super.mergeFrom(other); return this; @@ -492,8 +455,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -531,31 +493,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,24 +526,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -594,25 +548,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -620,73 +571,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,20 +632,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -716,21 +652,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -738,77 +673,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -816,45 +741,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -864,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListTenantsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListTenantsRequest) private static final com.google.cloud.talent.v4beta1.ListTenantsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListTenantsRequest(); } @@ -878,27 +797,27 @@ public static com.google.cloud.talent.v4beta1.ListTenantsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTenantsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTenantsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -913,4 +832,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListTenantsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java similarity index 56% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java index 4d7c89a12ac6..a0142ebe9a5d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java @@ -1,96 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; -public interface ListTenantsRequestOrBuilder - extends +public interface ListTenantsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListTenantsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java index 6f225bf4fe47..2c4dcbc255e4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The List tenants response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsResponse} */ -public final class ListTenantsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTenantsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListTenantsResponse) ListTenantsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTenantsResponse.newBuilder() to construct. private ListTenantsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTenantsResponse() { tenants_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListTenantsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTenantsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsResponse.class, - com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsResponse.class, com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); } public static final int TENANTS_FIELD_NUMBER = 1; private java.util.List tenants_; /** - * - * *
    * Tenants for the current client.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTenantsList() { return tenants_; } /** - * - * *
    * Tenants for the current client.
    * 
@@ -93,13 +70,11 @@ public java.util.List getTenantsList() { * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTenantsOrBuilderList() { return tenants_; } /** - * - * *
    * Tenants for the current client.
    * 
@@ -111,8 +86,6 @@ public int getTenantsCount() { return tenants_.size(); } /** - * - * *
    * Tenants for the current client.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { return tenants_.get(index); } /** - * - * *
    * Tenants for the current client.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( + int index) { return tenants_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -189,15 +158,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -205,26 +171,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -238,7 +197,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +208,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < tenants_.size(); i++) {
       output.writeMessage(1, tenants_.get(i));
     }
@@ -270,13 +229,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < tenants_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tenants_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, tenants_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +247,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListTenantsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListTenantsResponse other =
-        (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj;
+    com.google.cloud.talent.v4beta1.ListTenantsResponse other = (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj;
 
-    if (!getTenantsList().equals(other.getTenantsList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getTenantsList()
+        .equals(other.getTenantsList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -327,135 +290,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListTenantsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The List tenants response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListTenantsResponse) com.google.cloud.talent.v4beta1.ListTenantsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsResponse.class, - com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsResponse.class, com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListTenantsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListTenantsResponse result = - new com.google.cloud.talent.v4beta1.ListTenantsResponse(this); + com.google.cloud.talent.v4beta1.ListTenantsResponse result = new com.google.cloud.talent.v4beta1.ListTenantsResponse(this); int from_bitField0_ = bitField0_; if (tenantsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +481,38 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListTenantsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsResponse)other); } else { super.mergeFrom(other); return this; @@ -565,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance()) return this; if (tenantsBuilder_ == null) { if (!other.tenants_.isEmpty()) { if (tenants_.isEmpty()) { @@ -585,10 +539,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsResponse oth tenantsBuilder_ = null; tenants_ = other.tenants_; bitField0_ = (bitField0_ & ~0x00000001); - tenantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTenantsFieldBuilder() - : null; + tenantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTenantsFieldBuilder() : null; } else { tenantsBuilder_.addAllMessages(other.tenants_); } @@ -627,38 +580,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.Tenant m = - input.readMessage( - com.google.cloud.talent.v4beta1.Tenant.parser(), extensionRegistry); - if (tenantsBuilder_ == null) { - ensureTenantsIsMutable(); - tenants_.add(m); - } else { - tenantsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4beta1.Tenant m = + input.readMessage( + com.google.cloud.talent.v4beta1.Tenant.parser(), + extensionRegistry); + if (tenantsBuilder_ == null) { + ensureTenantsIsMutable(); + tenants_.add(m); + } else { + tenantsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -668,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List tenants_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTenantsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> - tenantsBuilder_; + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantsBuilder_; /** - * - * *
      * Tenants for the current client.
      * 
@@ -704,8 +649,6 @@ public java.util.List getTenantsList() { } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -720,8 +663,6 @@ public int getTenantsCount() { } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -736,15 +677,14 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { } } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder setTenants(int index, com.google.cloud.talent.v4beta1.Tenant value) { + public Builder setTenants( + int index, com.google.cloud.talent.v4beta1.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -758,8 +698,6 @@ public Builder setTenants(int index, com.google.cloud.talent.v4beta1.Tenant valu return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -778,8 +716,6 @@ public Builder setTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -800,15 +736,14 @@ public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder addTenants(int index, com.google.cloud.talent.v4beta1.Tenant value) { + public Builder addTenants( + int index, com.google.cloud.talent.v4beta1.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -822,15 +757,14 @@ public Builder addTenants(int index, com.google.cloud.talent.v4beta1.Tenant valu return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder addTenants( + com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); tenants_.add(builderForValue.build()); @@ -841,8 +775,6 @@ public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant.Builder builder return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -861,8 +793,6 @@ public Builder addTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -873,7 +803,8 @@ public Builder addAllTenants( java.lang.Iterable values) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tenants_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tenants_); onChanged(); } else { tenantsBuilder_.addAllMessages(values); @@ -881,8 +812,6 @@ public Builder addAllTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -900,8 +829,6 @@ public Builder clearTenants() { return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -919,44 +846,39 @@ public Builder removeTenants(int index) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantsBuilder(int index) { + public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantsBuilder( + int index) { return getTenantsFieldBuilder().getBuilder(index); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( + int index) { if (tenantsBuilder_ == null) { - return tenants_.get(index); - } else { + return tenants_.get(index); } else { return tenantsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public java.util.List - getTenantsOrBuilderList() { + public java.util.List + getTenantsOrBuilderList() { if (tenantsBuilder_ != null) { return tenantsBuilder_.getMessageOrBuilderList(); } else { @@ -964,8 +886,6 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int i } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -973,47 +893,42 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int i * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder() { - return getTenantsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); + return getTenantsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder(int index) { - return getTenantsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder( + int index) { + return getTenantsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public java.util.List getTenantsBuilderList() { + public java.util.List + getTenantsBuilderList() { return getTenantsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantsFieldBuilder() { if (tenantsBuilder_ == null) { - tenantsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder>( - tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tenantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( + tenants_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tenants_ = null; } return tenantsBuilder_; @@ -1021,20 +936,18 @@ public java.util.List getTenants private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1043,21 +956,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1065,61 +977,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1127,49 +1032,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1191,8 +1083,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1212,8 +1102,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1225,9 +1113,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1239,8 +1125,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1260,8 +1144,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1270,13 +1152,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1288,14 +1168,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1304,24 +1181,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1331,12 +1205,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListTenantsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListTenantsResponse)
   private static final com.google.cloud.talent.v4beta1.ListTenantsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListTenantsResponse();
   }
@@ -1345,27 +1219,27 @@ public static com.google.cloud.talent.v4beta1.ListTenantsResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListTenantsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListTenantsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1380,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListTenantsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
index f85274fe444f..3890d1fc12d0 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListTenantsResponseOrBuilder
-    extends
+public interface ListTenantsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListTenantsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - java.util.List getTenantsList(); + java.util.List + getTenantsList(); /** - * - * *
    * Tenants for the current client.
    * 
@@ -44,8 +25,6 @@ public interface ListTenantsResponseOrBuilder */ com.google.cloud.talent.v4beta1.Tenant getTenants(int index); /** - * - * *
    * Tenants for the current client.
    * 
@@ -54,81 +33,65 @@ public interface ListTenantsResponseOrBuilder */ int getTenantsCount(); /** - * - * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - java.util.List + java.util.List getTenantsOrBuilderList(); /** - * - * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index); + com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
similarity index 75%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
index df25288ace66..6c2432747876 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
@@ -1,85 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * A resource that represents a location with full geographic information.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Location} */ -public final class Location extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Location extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Location) LocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Location() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Location.class, - com.google.cloud.talent.v4beta1.Location.Builder.class); + com.google.cloud.talent.v4beta1.Location.class, com.google.cloud.talent.v4beta1.Location.Builder.class); } /** - * - * *
    * An enum which represents the type of a location.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.Location.LocationType} */ - public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value if the type isn't specified.
      * 
@@ -88,8 +66,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * A country level location.
      * 
@@ -98,8 +74,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ COUNTRY(1), /** - * - * *
      * A state or equivalent level location.
      * 
@@ -108,8 +82,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ ADMINISTRATIVE_AREA(2), /** - * - * *
      * A county or equivalent level location.
      * 
@@ -118,8 +90,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_ADMINISTRATIVE_AREA(3), /** - * - * *
      * A city or equivalent level location.
      * 
@@ -128,8 +98,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCALITY(4), /** - * - * *
      * A postal code level location.
      * 
@@ -138,8 +106,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ POSTAL_CODE(5), /** - * - * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -152,8 +118,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUB_LOCALITY(6),
     /**
-     *
-     *
      * 
      * A district or equivalent level location.
      * 
@@ -162,8 +126,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_LOCALITY_1(7), /** - * - * *
      * A smaller district or equivalent level display.
      * 
@@ -172,8 +134,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_LOCALITY_2(8), /** - * - * *
      * A neighborhood level location.
      * 
@@ -182,8 +142,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ NEIGHBORHOOD(9), /** - * - * *
      * A street address level location.
      * 
@@ -195,8 +153,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value if the type isn't specified.
      * 
@@ -205,8 +161,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A country level location.
      * 
@@ -215,8 +169,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COUNTRY_VALUE = 1; /** - * - * *
      * A state or equivalent level location.
      * 
@@ -225,8 +177,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADMINISTRATIVE_AREA_VALUE = 2; /** - * - * *
      * A county or equivalent level location.
      * 
@@ -235,8 +185,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_ADMINISTRATIVE_AREA_VALUE = 3; /** - * - * *
      * A city or equivalent level location.
      * 
@@ -245,8 +193,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCALITY_VALUE = 4; /** - * - * *
      * A postal code level location.
      * 
@@ -255,8 +201,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTAL_CODE_VALUE = 5; /** - * - * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -269,8 +213,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUB_LOCALITY_VALUE = 6;
     /**
-     *
-     *
      * 
      * A district or equivalent level location.
      * 
@@ -279,8 +221,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_LOCALITY_1_VALUE = 7; /** - * - * *
      * A smaller district or equivalent level display.
      * 
@@ -289,8 +229,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_LOCALITY_2_VALUE = 8; /** - * - * *
      * A neighborhood level location.
      * 
@@ -299,8 +237,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEIGHBORHOOD_VALUE = 9; /** - * - * *
      * A street address level location.
      * 
@@ -309,6 +245,7 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STREET_ADDRESS_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -333,65 +270,57 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: - return LOCATION_TYPE_UNSPECIFIED; - case 1: - return COUNTRY; - case 2: - return ADMINISTRATIVE_AREA; - case 3: - return SUB_ADMINISTRATIVE_AREA; - case 4: - return LOCALITY; - case 5: - return POSTAL_CODE; - case 6: - return SUB_LOCALITY; - case 7: - return SUB_LOCALITY_1; - case 8: - return SUB_LOCALITY_2; - case 9: - return NEIGHBORHOOD; - case 10: - return STREET_ADDRESS; - default: - return null; + case 0: return LOCATION_TYPE_UNSPECIFIED; + case 1: return COUNTRY; + case 2: return ADMINISTRATIVE_AREA; + case 3: return SUB_ADMINISTRATIVE_AREA; + case 4: return LOCALITY; + case 5: return POSTAL_CODE; + case 6: return SUB_LOCALITY; + case 7: return SUB_LOCALITY_1; + case 8: return SUB_LOCALITY_2; + case 9: return NEIGHBORHOOD; + case 10: return STREET_ADDRESS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LocationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -411,8 +340,6 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_; /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -421,16 +348,12 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -439,24 +362,17 @@ public int getLocationTypeValue() {
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The locationType. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Location.LocationType result = - com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); - return result == null - ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.Location.LocationType result = com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); + return result == null ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED : result; } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 2; private com.google.type.PostalAddress postalAddress_; /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -465,7 +381,6 @@ public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() {
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -473,8 +388,6 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -483,18 +396,13 @@ public boolean hasPostalAddress() {
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -512,14 +420,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
   public static final int LAT_LNG_FIELD_NUMBER = 3;
   private com.google.type.LatLng latLng_;
   /**
-   *
-   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -527,14 +432,11 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ @java.lang.Override @@ -542,8 +444,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
@@ -558,8 +458,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int RADIUS_MILES_FIELD_NUMBER = 4; private double radiusMiles_; /** - * - * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -570,7 +468,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ @java.lang.Override @@ -579,7 +476,6 @@ public double getRadiusMiles() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,10 +487,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (locationType_ - != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (locationType_ != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, locationType_); } if (postalAddress_ != null) { @@ -615,19 +510,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ - != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); + if (locationType_ != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, locationType_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPostalAddress()); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(radiusMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, radiusMiles_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, radiusMiles_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -637,7 +534,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Location)) { return super.equals(obj); @@ -647,14 +544,17 @@ public boolean equals(final java.lang.Object obj) { if (locationType_ != other.locationType_) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress().equals(other.getPostalAddress())) return false; + if (!getPostalAddress() + .equals(other.getPostalAddress())) return false; } if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng().equals(other.getLatLng())) return false; + if (!getLatLng() + .equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getRadiusMiles()) - != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; + != java.lang.Double.doubleToLongBits( + other.getRadiusMiles())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -677,145 +577,137 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + RADIUS_MILES_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRadiusMiles())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRadiusMiles())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.Location parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Location parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource that represents a location with full geographic information.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Location} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Location) com.google.cloud.talent.v4beta1.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Location.class, - com.google.cloud.talent.v4beta1.Location.Builder.class); + com.google.cloud.talent.v4beta1.Location.class, com.google.cloud.talent.v4beta1.Location.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Location.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -839,9 +731,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override @@ -860,8 +752,7 @@ public com.google.cloud.talent.v4beta1.Location build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Location buildPartial() { - com.google.cloud.talent.v4beta1.Location result = - new com.google.cloud.talent.v4beta1.Location(this); + com.google.cloud.talent.v4beta1.Location result = new com.google.cloud.talent.v4beta1.Location(this); result.locationType_ = locationType_; if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; @@ -882,39 +773,38 @@ public com.google.cloud.talent.v4beta1.Location buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Location) { - return mergeFrom((com.google.cloud.talent.v4beta1.Location) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Location)other); } else { super.mergeFrom(other); return this; @@ -961,37 +851,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - locationType_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 33: - { - radiusMiles_ = input.readDouble(); - - break; - } // case 33 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + locationType_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getPostalAddressFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 33: { + radiusMiles_ = input.readDouble(); + + break; + } // case 33 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1004,8 +893,6 @@ public Builder mergeFrom( private int locationType_ = 0; /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1014,16 +901,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1032,19 +915,16 @@ public int getLocationTypeValue() {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ public Builder setLocationTypeValue(int value) { - + locationType_ = value; onChanged(); return this; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1053,21 +933,15 @@ public Builder setLocationTypeValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The locationType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Location.LocationType result = - com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); - return result == null - ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.Location.LocationType result = com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); + return result == null ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED : result; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1076,7 +950,6 @@ public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @param value The locationType to set. * @return This builder for chaining. */ @@ -1084,14 +957,12 @@ public Builder setLocationType(com.google.cloud.talent.v4beta1.Location.Location if (value == null) { throw new NullPointerException(); } - + locationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1100,11 +971,10 @@ public Builder setLocationType(com.google.cloud.talent.v4beta1.Location.Location
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return This builder for chaining. */ public Builder clearLocationType() { - + locationType_ = 0; onChanged(); return this; @@ -1112,13 +982,8 @@ public Builder clearLocationType() { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - postalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1127,15 +992,12 @@ public Builder clearLocationType() {
      * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1144,21 +1006,16 @@ public boolean hasPostalAddress() {
      * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1182,8 +1039,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1193,7 +1048,8 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
      *
      * .google.type.PostalAddress postal_address = 2;
      */
-    public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) {
+    public Builder setPostalAddress(
+        com.google.type.PostalAddress.Builder builderForValue) {
       if (postalAddressBuilder_ == null) {
         postalAddress_ = builderForValue.build();
         onChanged();
@@ -1204,8 +1060,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1219,9 +1073,7 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       if (postalAddressBuilder_ == null) {
         if (postalAddress_ != null) {
           postalAddress_ =
-              com.google.type.PostalAddress.newBuilder(postalAddress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial();
         } else {
           postalAddress_ = value;
         }
@@ -1233,8 +1085,6 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1256,8 +1106,6 @@ public Builder clearPostalAddress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1268,13 +1116,11 @@ public Builder clearPostalAddress() {
      * .google.type.PostalAddress postal_address = 2;
      */
     public com.google.type.PostalAddress.Builder getPostalAddressBuilder() {
-
+      
       onChanged();
       return getPostalAddressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1288,14 +1134,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
       if (postalAddressBuilder_ != null) {
         return postalAddressBuilder_.getMessageOrBuilder();
       } else {
-        return postalAddress_ == null
-            ? com.google.type.PostalAddress.getDefaultInstance()
-            : postalAddress_;
+        return postalAddress_ == null ?
+            com.google.type.PostalAddress.getDefaultInstance() : postalAddress_;
       }
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1306,17 +1149,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
      * .google.type.PostalAddress postal_address = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.PostalAddress,
-            com.google.type.PostalAddress.Builder,
-            com.google.type.PostalAddressOrBuilder>
+        com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> 
         getPostalAddressFieldBuilder() {
       if (postalAddressBuilder_ == null) {
-        postalAddressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.PostalAddress,
-                com.google.type.PostalAddress.Builder,
-                com.google.type.PostalAddressOrBuilder>(
-                getPostalAddress(), getParentForChildren(), isClean());
+        postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>(
+                getPostalAddress(),
+                getParentForChildren(),
+                isClean());
         postalAddress_ = null;
       }
       return postalAddressBuilder_;
@@ -1324,31 +1164,24 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
 
     private com.google.type.LatLng latLng_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
-        latLngBuilder_;
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_;
     /**
-     *
-     *
      * 
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1359,8 +1192,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1381,15 +1212,14 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; */ - public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng( + com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -1400,8 +1230,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1411,7 +1239,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = + com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -1423,8 +1252,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1443,8 +1270,6 @@ public Builder clearLatLng() { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1452,13 +1277,11 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 3; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1469,12 +1292,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? + com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1482,23 +1304,21 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); + latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getLatLng(), + getParentForChildren(), + isClean()); latLng_ = null; } return latLngBuilder_; } - private double radiusMiles_; + private double radiusMiles_ ; /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1509,7 +1329,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ @java.lang.Override @@ -1517,8 +1336,6 @@ public double getRadiusMiles() { return radiusMiles_; } /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1529,19 +1346,16 @@ public double getRadiusMiles() {
      * 
* * double radius_miles = 4; - * * @param value The radiusMiles to set. * @return This builder for chaining. */ public Builder setRadiusMiles(double value) { - + radiusMiles_ = value; onChanged(); return this; } /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1552,18 +1366,17 @@ public Builder setRadiusMiles(double value) {
      * 
* * double radius_miles = 4; - * * @return This builder for chaining. */ public Builder clearRadiusMiles() { - + radiusMiles_ = 0D; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1573,12 +1386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Location) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Location) private static final com.google.cloud.talent.v4beta1.Location DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Location(); } @@ -1587,27 +1400,27 @@ public static com.google.cloud.talent.v4beta1.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1622,4 +1435,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java index eeabbd6d6d1c..1b33e78e344c 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Geographic region of the search.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.LocationFilter} */ -public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LocationFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.LocationFilter) LocationFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LocationFilter.newBuilder() to construct. private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LocationFilter() { address_ = ""; regionCode_ = ""; @@ -45,43 +27,39 @@ private LocationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LocationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.LocationFilter.class, - com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); + com.google.cloud.talent.v4beta1.LocationFilter.class, com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); } /** - * - * *
    * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference} */ - public enum TelecommutePreference implements com.google.protobuf.ProtocolMessageEnum { + public enum TelecommutePreference + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -90,8 +68,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ TELECOMMUTE_PREFERENCE_UNSPECIFIED(0), /** - * - * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -102,8 +78,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
     @java.lang.Deprecated
     TELECOMMUTE_EXCLUDED(1),
     /**
-     *
-     *
      * 
      * Allow telecommute jobs.
      * 
@@ -112,8 +86,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ TELECOMMUTE_ALLOWED(2), /** - * - * *
      * Exclude telecommute jobs.
      * 
@@ -125,8 +97,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage ; /** - * - * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -135,8 +105,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_PREFERENCE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -146,8 +114,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
      */
     @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Allow telecommute jobs.
      * 
@@ -156,8 +122,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; /** - * - * *
      * Exclude telecommute jobs.
      * 
@@ -166,6 +130,7 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -190,16 +155,11 @@ public static TelecommutePreference valueOf(int value) { */ public static TelecommutePreference forNumber(int value) { switch (value) { - case 0: - return TELECOMMUTE_PREFERENCE_UNSPECIFIED; - case 1: - return TELECOMMUTE_EXCLUDED; - case 2: - return TELECOMMUTE_ALLOWED; - case 3: - return TELECOMMUTE_JOBS_EXCLUDED; - default: - return null; + case 0: return TELECOMMUTE_PREFERENCE_UNSPECIFIED; + case 1: return TELECOMMUTE_EXCLUDED; + case 2: return TELECOMMUTE_ALLOWED; + case 3: return TELECOMMUTE_JOBS_EXCLUDED; + default: return null; } } @@ -207,28 +167,28 @@ public static TelecommutePreference forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TelecommutePreference> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TelecommutePreference findValueByNumber(int number) { + return TelecommutePreference.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TelecommutePreference findValueByNumber(int number) { - return TelecommutePreference.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.LocationFilter.getDescriptor().getEnumTypes().get(0); } @@ -237,7 +197,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TelecommutePreference valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -257,14 +218,11 @@ private TelecommutePreference(int value) { public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The address. */ @java.lang.Override @@ -273,29 +231,29 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString getAddressBytes() { + public com.google.protobuf.ByteString + getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); address_ = b; return b; } else { @@ -306,8 +264,6 @@ public com.google.protobuf.ByteString getAddressBytes() { public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -324,7 +280,6 @@ public com.google.protobuf.ByteString getAddressBytes() {
    * 
* * string region_code = 2; - * * @return The regionCode. */ @java.lang.Override @@ -333,15 +288,14 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -358,15 +312,16 @@ public java.lang.String getRegionCode() {
    * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -377,15 +332,12 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { public static final int LAT_LNG_FIELD_NUMBER = 3; private com.google.type.LatLng latLng_; /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -393,15 +345,12 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ @java.lang.Override @@ -409,8 +358,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -426,8 +373,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
   public static final int DISTANCE_IN_MILES_FIELD_NUMBER = 4;
   private double distanceInMiles_;
   /**
-   *
-   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -435,7 +380,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ @java.lang.Override @@ -446,8 +390,6 @@ public double getDistanceInMiles() { public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER = 5; private int telecommutePreference_; /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -469,19 +411,13 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override - public int getTelecommutePreferenceValue() { + @java.lang.Override public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -503,36 +439,24 @@ public int getTelecommutePreferenceValue() {
    * This field is only used for job search requests.
    * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference - getTelecommutePreference() { + @java.lang.Override public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf( - telecommutePreference_); - return result == null - ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); + return result == null ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; } public static final int NEGATED_FIELD_NUMBER = 6; private boolean negated_; /** - * - * *
    * Whether to apply negation to the filter so profiles matching the filter
    * are excluded.
    * 
* * bool negated = 6; - * * @return The negated. */ @java.lang.Override @@ -541,7 +465,6 @@ public boolean getNegated() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -553,7 +476,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -566,10 +490,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { output.writeDouble(4, distanceInMiles_); } - if (telecommutePreference_ - != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference - .TELECOMMUTE_PREFERENCE_UNSPECIFIED - .getNumber()) { + if (telecommutePreference_ != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { output.writeEnum(5, telecommutePreference_); } if (negated_ != false) { @@ -591,19 +512,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, distanceInMiles_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, distanceInMiles_); } - if (telecommutePreference_ - != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference - .TELECOMMUTE_PREFERENCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, telecommutePreference_); + if (telecommutePreference_ != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, telecommutePreference_); } if (negated_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, negated_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, negated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -613,24 +535,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.LocationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.LocationFilter other = - (com.google.cloud.talent.v4beta1.LocationFilter) obj; + com.google.cloud.talent.v4beta1.LocationFilter other = (com.google.cloud.talent.v4beta1.LocationFilter) obj; - if (!getAddress().equals(other.getAddress())) return false; - if (!getRegionCode().equals(other.getRegionCode())) return false; + if (!getAddress() + .equals(other.getAddress())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng().equals(other.getLatLng())) return false; + if (!getLatLng() + .equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; + != java.lang.Double.doubleToLongBits( + other.getDistanceInMiles())) return false; if (telecommutePreference_ != other.telecommutePreference_) return false; - if (getNegated() != other.getNegated()) return false; + if (getNegated() + != other.getNegated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -651,149 +577,142 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + DISTANCE_IN_MILES_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistanceInMiles())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistanceInMiles())); hash = (37 * hash) + TELECOMMUTE_PREFERENCE_FIELD_NUMBER; hash = (53 * hash) + telecommutePreference_; hash = (37 * hash) + NEGATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNegated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.LocationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Geographic region of the search.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.LocationFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.LocationFilter) com.google.cloud.talent.v4beta1.LocationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.LocationFilter.class, - com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); + com.google.cloud.talent.v4beta1.LocationFilter.class, com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.LocationFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -817,9 +736,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override @@ -838,8 +757,7 @@ public com.google.cloud.talent.v4beta1.LocationFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { - com.google.cloud.talent.v4beta1.LocationFilter result = - new com.google.cloud.talent.v4beta1.LocationFilter(this); + com.google.cloud.talent.v4beta1.LocationFilter result = new com.google.cloud.talent.v4beta1.LocationFilter(this); result.address_ = address_; result.regionCode_ = regionCode_; if (latLngBuilder_ == null) { @@ -858,39 +776,38 @@ public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.LocationFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.LocationFilter) other); + return mergeFrom((com.google.cloud.talent.v4beta1.LocationFilter)other); } else { super.mergeFrom(other); return this; @@ -945,49 +862,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - address_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 33: - { - distanceInMiles_ = input.readDouble(); - - break; - } // case 33 - case 40: - { - telecommutePreference_ = input.readEnum(); - - break; - } // case 40 - case 48: - { - negated_ = input.readBool(); - - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + address_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + regionCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 33: { + distanceInMiles_ = input.readDouble(); + + break; + } // case 33 + case 40: { + telecommutePreference_ = input.readEnum(); + + break; + } // case 40 + case 48: { + negated_ = input.readBool(); + + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1000,20 +912,18 @@ public Builder mergeFrom( private java.lang.Object address_ = ""; /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -1022,21 +932,20 @@ public java.lang.String getAddress() { } } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return The bytes for address. */ - public com.google.protobuf.ByteString getAddressBytes() { + public com.google.protobuf.ByteString + getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); address_ = b; return b; } else { @@ -1044,61 +953,54 @@ public com.google.protobuf.ByteString getAddressBytes() { } } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress(java.lang.String value) { + public Builder setAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + address_ = value; onChanged(); return this; } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return This builder for chaining. */ public Builder clearAddress() { - + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes(com.google.protobuf.ByteString value) { + public Builder setAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + address_ = value; onChanged(); return this; @@ -1106,8 +1008,6 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) { private java.lang.Object regionCode_ = ""; /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1124,13 +1024,13 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * string region_code = 2; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1139,8 +1039,6 @@ public java.lang.String getRegionCode() { } } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1157,14 +1055,15 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1172,8 +1071,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1190,22 +1087,20 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
      * 
* * string region_code = 2; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { + public Builder setRegionCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1222,18 +1117,15 @@ public Builder setRegionCode(java.lang.String value) {
      * 
* * string region_code = 2; - * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1250,16 +1142,16 @@ public Builder clearRegionCode() {
      * 
* * string region_code = 2; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; @@ -1267,33 +1159,26 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1304,8 +1189,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1327,8 +1210,6 @@ public Builder setLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1336,7 +1217,8 @@ public Builder setLatLng(com.google.type.LatLng value) {
      *
      * .google.type.LatLng lat_lng = 3;
      */
-    public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLatLng(
+        com.google.type.LatLng.Builder builderForValue) {
       if (latLngBuilder_ == null) {
         latLng_ = builderForValue.build();
         onChanged();
@@ -1347,8 +1229,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1359,7 +1239,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
     public Builder mergeLatLng(com.google.type.LatLng value) {
       if (latLngBuilder_ == null) {
         if (latLng_ != null) {
-          latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
+          latLng_ =
+            com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
         } else {
           latLng_ = value;
         }
@@ -1371,8 +1252,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1392,8 +1271,6 @@ public Builder clearLatLng() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1402,13 +1279,11 @@ public Builder clearLatLng() {
      * .google.type.LatLng lat_lng = 3;
      */
     public com.google.type.LatLng.Builder getLatLngBuilder() {
-
+      
       onChanged();
       return getLatLngFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1420,12 +1295,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
       if (latLngBuilder_ != null) {
         return latLngBuilder_.getMessageOrBuilder();
       } else {
-        return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_;
+        return latLng_ == null ?
+            com.google.type.LatLng.getDefaultInstance() : latLng_;
       }
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1434,23 +1308,21 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * .google.type.LatLng lat_lng = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
         getLatLngFieldBuilder() {
       if (latLngBuilder_ == null) {
-        latLngBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.LatLng,
-                com.google.type.LatLng.Builder,
-                com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean());
+        latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
+                getLatLng(),
+                getParentForChildren(),
+                isClean());
         latLng_ = null;
       }
       return latLngBuilder_;
     }
 
-    private double distanceInMiles_;
+    private double distanceInMiles_ ;
     /**
-     *
-     *
      * 
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1458,7 +1330,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ @java.lang.Override @@ -1466,8 +1337,6 @@ public double getDistanceInMiles() { return distanceInMiles_; } /** - * - * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1475,19 +1344,16 @@ public double getDistanceInMiles() {
      * 
* * double distance_in_miles = 4; - * * @param value The distanceInMiles to set. * @return This builder for chaining. */ public Builder setDistanceInMiles(double value) { - + distanceInMiles_ = value; onChanged(); return this; } /** - * - * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1495,11 +1361,10 @@ public Builder setDistanceInMiles(double value) {
      * 
* * double distance_in_miles = 4; - * * @return This builder for chaining. */ public Builder clearDistanceInMiles() { - + distanceInMiles_ = 0D; onChanged(); return this; @@ -1507,8 +1372,6 @@ public Builder clearDistanceInMiles() { private int telecommutePreference_ = 0; /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1530,19 +1393,13 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override - public int getTelecommutePreferenceValue() { + @java.lang.Override public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1564,22 +1421,17 @@ public int getTelecommutePreferenceValue() {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @param value The enum numeric value on the wire for telecommutePreference to set. * @return This builder for chaining. */ public Builder setTelecommutePreferenceValue(int value) { - + telecommutePreference_ = value; onChanged(); return this; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1601,26 +1453,16 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference - getTelecommutePreference() { + public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf( - telecommutePreference_); - return result == null - ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); + return result == null ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1642,26 +1484,20 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @param value The telecommutePreference to set. * @return This builder for chaining. */ - public Builder setTelecommutePreference( - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference value) { + public Builder setTelecommutePreference(com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference value) { if (value == null) { throw new NullPointerException(); } - + telecommutePreference_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1683,30 +1519,24 @@ public Builder setTelecommutePreference(
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return This builder for chaining. */ public Builder clearTelecommutePreference() { - + telecommutePreference_ = 0; onChanged(); return this; } - private boolean negated_; + private boolean negated_ ; /** - * - * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; - * * @return The negated. */ @java.lang.Override @@ -1714,45 +1544,39 @@ public boolean getNegated() { return negated_; } /** - * - * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; - * * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { - + negated_ = value; onChanged(); return this; } /** - * - * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; - * * @return This builder for chaining. */ public Builder clearNegated() { - + negated_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1762,12 +1586,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.LocationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.LocationFilter) private static final com.google.cloud.talent.v4beta1.LocationFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.LocationFilter(); } @@ -1776,27 +1600,27 @@ public static com.google.cloud.talent.v4beta1.LocationFilter getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1811,4 +1635,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.LocationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java similarity index 86% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java index 503bb48fd1c6..ca480203c29d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface LocationFilterOrBuilder - extends +public interface LocationFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.LocationFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The address. */ java.lang.String getAddress(); /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The bytes for address. */ - com.google.protobuf.ByteString getAddressBytes(); + com.google.protobuf.ByteString + getAddressBytes(); /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -67,13 +44,10 @@ public interface LocationFilterOrBuilder
    * 
* * string region_code = 2; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -90,40 +64,32 @@ public interface LocationFilterOrBuilder
    * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -134,8 +100,6 @@ public interface LocationFilterOrBuilder
   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
 
   /**
-   *
-   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -143,14 +107,11 @@ public interface LocationFilterOrBuilder
    * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ double getDistanceInMiles(); /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -172,16 +133,11 @@ public interface LocationFilterOrBuilder
    * This field is only used for job search requests.
    * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ int getTelecommutePreferenceValue(); /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -203,24 +159,18 @@ public interface LocationFilterOrBuilder
    * This field is only used for job search requests.
    * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference(); /** - * - * *
    * Whether to apply negation to the filter so profiles matching the filter
    * are excluded.
    * 
* * bool negated = 6; - * * @return The negated. */ boolean getNegated(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java similarity index 83% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java index b19aaa08e413..f0c7568fd6bd 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface LocationOrBuilder - extends +public interface LocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Location) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -34,13 +16,10 @@ public interface LocationOrBuilder
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -49,14 +28,11 @@ public interface LocationOrBuilder
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The locationType. */ com.google.cloud.talent.v4beta1.Location.LocationType getLocationType(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -65,13 +41,10 @@ public interface LocationOrBuilder
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -80,13 +53,10 @@ public interface LocationOrBuilder
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -99,32 +69,24 @@ public interface LocationOrBuilder
   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
 
   /**
-   *
-   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
@@ -134,8 +96,6 @@ public interface LocationOrBuilder com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** - * - * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -146,7 +106,6 @@ public interface LocationOrBuilder
    * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ double getRadiusMiles(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java index 9880ffb14916..7e448fd561d0 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents the job posting region. In most cases, job postings
  * don't need to specify a region. If a region is given, jobs are
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.PostingRegion}
  */
-public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
+public enum PostingRegion
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
@@ -42,8 +24,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   POSTING_REGION_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
@@ -59,8 +39,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   ADMINISTRATIVE_AREA(1),
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
@@ -72,8 +50,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   NATION(2),
   /**
-   *
-   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -87,8 +63,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
@@ -98,8 +72,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int POSTING_REGION_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
@@ -115,8 +87,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ADMINISTRATIVE_AREA_VALUE = 1;
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
@@ -128,8 +98,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int NATION_VALUE = 2;
   /**
-   *
-   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -140,6 +108,7 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TELECOMMUTE_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -164,51 +133,50 @@ public static PostingRegion valueOf(int value) {
    */
   public static PostingRegion forNumber(int value) {
     switch (value) {
-      case 0:
-        return POSTING_REGION_UNSPECIFIED;
-      case 1:
-        return ADMINISTRATIVE_AREA;
-      case 2:
-        return NATION;
-      case 3:
-        return TELECOMMUTE;
-      default:
-        return null;
+      case 0: return POSTING_REGION_UNSPECIFIED;
+      case 1: return ADMINISTRATIVE_AREA;
+      case 2: return NATION;
+      case 3: return TELECOMMUTE;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public PostingRegion findValueByNumber(int number) {
-          return PostingRegion.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      PostingRegion> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PostingRegion findValueByNumber(int number) {
+            return PostingRegion.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(6);
   }
 
   private static final PostingRegion[] VALUES = values();
 
-  public static PostingRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PostingRegion valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -224,3 +192,4 @@ private PostingRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.PostingRegion)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
similarity index 78%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
index a6cbf2f2c285..888f4c52ddae 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Meta information related to the job searcher or entity
  * conducting the job search. This information is used to improve the
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.RequestMetadata}
  */
-public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.RequestMetadata)
     RequestMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestMetadata.newBuilder() to construct.
   private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RequestMetadata() {
     domain_ = "";
     sessionId_ = "";
@@ -47,35 +29,32 @@ private RequestMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.RequestMetadata.class,
-            com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
+            com.google.cloud.talent.v4beta1.RequestMetadata.class, com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 1;
   private volatile java.lang.Object domain_;
   /**
-   *
-   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -91,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string domain = 1; - * * @return The domain. */ @java.lang.Override @@ -100,15 +78,14 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -124,15 +101,16 @@ public java.lang.String getDomain() {
    * 
* * string domain = 1; - * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -143,8 +121,6 @@ public com.google.protobuf.ByteString getDomainBytes() { public static final int SESSION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sessionId_; /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -158,7 +134,6 @@ public com.google.protobuf.ByteString getDomainBytes() {
    * 
* * string session_id = 2; - * * @return The sessionId. */ @java.lang.Override @@ -167,15 +142,14 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -189,15 +163,16 @@ public java.lang.String getSessionId() {
    * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -208,8 +183,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() { public static final int USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object userId_; /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -223,7 +196,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() {
    * 
* * string user_id = 3; - * * @return The userId. */ @java.lang.Override @@ -232,15 +204,14 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -254,15 +225,16 @@ public java.lang.String getUserId() {
    * 
* * string user_id = 3; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -273,8 +245,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int ALLOW_MISSING_IDS_FIELD_NUMBER = 4; private boolean allowMissingIds_; /** - * - * *
    * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -283,7 +253,6 @@ public com.google.protobuf.ByteString getUserIdBytes() {
    * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ @java.lang.Override @@ -294,15 +263,12 @@ public boolean getAllowMissingIds() { public static final int DEVICE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ @java.lang.Override @@ -310,26 +276,19 @@ public boolean hasDeviceInfo() { return deviceInfo_ != null; } /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo() { - return deviceInfo_ == null - ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() - : deviceInfo_; + return deviceInfo_ == null ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_; } /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
@@ -343,7 +302,6 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -355,7 +313,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
     }
@@ -390,10 +349,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_);
     }
     if (allowMissingIds_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissingIds_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, allowMissingIds_);
     }
     if (deviceInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeviceInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getDeviceInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -403,21 +364,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.RequestMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.RequestMetadata other =
-        (com.google.cloud.talent.v4beta1.RequestMetadata) obj;
+    com.google.cloud.talent.v4beta1.RequestMetadata other = (com.google.cloud.talent.v4beta1.RequestMetadata) obj;
 
-    if (!getDomain().equals(other.getDomain())) return false;
-    if (!getSessionId().equals(other.getSessionId())) return false;
-    if (!getUserId().equals(other.getUserId())) return false;
-    if (getAllowMissingIds() != other.getAllowMissingIds()) return false;
+    if (!getDomain()
+        .equals(other.getDomain())) return false;
+    if (!getSessionId()
+        .equals(other.getSessionId())) return false;
+    if (!getUserId()
+        .equals(other.getUserId())) return false;
+    if (getAllowMissingIds()
+        != other.getAllowMissingIds()) return false;
     if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
     if (hasDeviceInfo()) {
-      if (!getDeviceInfo().equals(other.getDeviceInfo())) return false;
+      if (!getDeviceInfo()
+          .equals(other.getDeviceInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -437,7 +402,8 @@ public int hashCode() {
     hash = (37 * hash) + USER_ID_FIELD_NUMBER;
     hash = (53 * hash) + getUserId().hashCode();
     hash = (37 * hash) + ALLOW_MISSING_IDS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissingIds());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowMissingIds());
     if (hasDeviceInfo()) {
       hash = (37 * hash) + DEVICE_INFO_FIELD_NUMBER;
       hash = (53 * hash) + getDeviceInfo().hashCode();
@@ -447,104 +413,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.RequestMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Meta information related to the job searcher or entity
    * conducting the job search. This information is used to improve the
@@ -553,32 +512,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.RequestMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.RequestMetadata)
       com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.RequestMetadata.class,
-              com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
+              com.google.cloud.talent.v4beta1.RequestMetadata.class, com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -600,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -621,8 +581,7 @@ public com.google.cloud.talent.v4beta1.RequestMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() {
-      com.google.cloud.talent.v4beta1.RequestMetadata result =
-          new com.google.cloud.talent.v4beta1.RequestMetadata(this);
+      com.google.cloud.talent.v4beta1.RequestMetadata result = new com.google.cloud.talent.v4beta1.RequestMetadata(this);
       result.domain_ = domain_;
       result.sessionId_ = sessionId_;
       result.userId_ = userId_;
@@ -640,39 +599,38 @@ public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.RequestMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.RequestMetadata) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.RequestMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -680,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.RequestMetadata other) {
-      if (other == com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance()) return this;
       if (!other.getDomain().isEmpty()) {
         domain_ = other.domain_;
         onChanged();
@@ -726,43 +683,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                domain_ = input.readStringRequireUtf8();
+            case 10: {
+              domain_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                sessionId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              sessionId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                userId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              userId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                allowMissingIds_ = input.readBool();
+              break;
+            } // case 26
+            case 32: {
+              allowMissingIds_ = input.readBool();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getDeviceInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getDeviceInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -775,8 +728,6 @@ public Builder mergeFrom(
 
     private java.lang.Object domain_ = "";
     /**
-     *
-     *
      * 
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -792,13 +743,13 @@ public Builder mergeFrom(
      * 
* * string domain = 1; - * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -807,8 +758,6 @@ public java.lang.String getDomain() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -824,14 +773,15 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; - * * @return The bytes for domain. */ - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -839,8 +789,6 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -856,22 +804,20 @@ public com.google.protobuf.ByteString getDomainBytes() {
      * 
* * string domain = 1; - * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain(java.lang.String value) { + public Builder setDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -887,18 +833,15 @@ public Builder setDomain(java.lang.String value) {
      * 
* * string domain = 1; - * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -914,16 +857,16 @@ public Builder clearDomain() {
      * 
* * string domain = 1; - * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -931,8 +874,6 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) { private java.lang.Object sessionId_ = ""; /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -946,13 +887,13 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) {
      * 
* * string session_id = 2; - * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -961,8 +902,6 @@ public java.lang.String getSessionId() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -976,14 +915,15 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -991,8 +931,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1006,22 +944,20 @@ public com.google.protobuf.ByteString getSessionIdBytes() {
      * 
* * string session_id = 2; - * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId(java.lang.String value) { + public Builder setSessionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sessionId_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1035,18 +971,15 @@ public Builder setSessionId(java.lang.String value) {
      * 
* * string session_id = 2; - * * @return This builder for chaining. */ public Builder clearSessionId() { - + sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1060,16 +993,16 @@ public Builder clearSessionId() {
      * 
* * string session_id = 2; - * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionId_ = value; onChanged(); return this; @@ -1077,8 +1010,6 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1092,13 +1023,13 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string user_id = 3; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -1107,8 +1038,6 @@ public java.lang.String getUserId() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1122,14 +1051,15 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -1137,8 +1067,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1152,22 +1080,20 @@ public com.google.protobuf.ByteString getUserIdBytes() {
      * 
* * string user_id = 3; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { + public Builder setUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userId_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1181,18 +1107,15 @@ public Builder setUserId(java.lang.String value) {
      * 
* * string user_id = 3; - * * @return This builder for chaining. */ public Builder clearUserId() { - + userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1206,25 +1129,23 @@ public Builder clearUserId() {
      * 
* * string user_id = 3; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; onChanged(); return this; } - private boolean allowMissingIds_; + private boolean allowMissingIds_ ; /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1233,7 +1154,6 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ @java.lang.Override @@ -1241,8 +1161,6 @@ public boolean getAllowMissingIds() { return allowMissingIds_; } /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1251,19 +1169,16 @@ public boolean getAllowMissingIds() {
      * 
* * bool allow_missing_ids = 4; - * * @param value The allowMissingIds to set. * @return This builder for chaining. */ public Builder setAllowMissingIds(boolean value) { - + allowMissingIds_ = value; onChanged(); return this; } /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1272,11 +1187,10 @@ public Builder setAllowMissingIds(boolean value) {
      * 
* * bool allow_missing_ids = 4; - * * @return This builder for chaining. */ public Builder clearAllowMissingIds() { - + allowMissingIds_ = false; onChanged(); return this; @@ -1284,49 +1198,36 @@ public Builder clearAllowMissingIds() { private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.DeviceInfo, - com.google.cloud.talent.v4beta1.DeviceInfo.Builder, - com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> - deviceInfoBuilder_; + com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> deviceInfoBuilder_; /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ public boolean hasDeviceInfo() { return deviceInfoBuilder_ != null || deviceInfo_ != null; } /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ public com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { - return deviceInfo_ == null - ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() - : deviceInfo_; + return deviceInfo_ == null ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1348,8 +1249,6 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1369,8 +1268,6 @@ public Builder setDeviceInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1382,9 +1279,7 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value)
       if (deviceInfoBuilder_ == null) {
         if (deviceInfo_ != null) {
           deviceInfo_ =
-              com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder(deviceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
         } else {
           deviceInfo_ = value;
         }
@@ -1396,8 +1291,6 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1417,8 +1310,6 @@ public Builder clearDeviceInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1427,13 +1318,11 @@ public Builder clearDeviceInfo() {
      * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5;
      */
     public com.google.cloud.talent.v4beta1.DeviceInfo.Builder getDeviceInfoBuilder() {
-
+      
       onChanged();
       return getDeviceInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1445,14 +1334,11 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
       if (deviceInfoBuilder_ != null) {
         return deviceInfoBuilder_.getMessageOrBuilder();
       } else {
-        return deviceInfo_ == null
-            ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance()
-            : deviceInfo_;
+        return deviceInfo_ == null ?
+            com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1461,24 +1347,21 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
      * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.DeviceInfo,
-            com.google.cloud.talent.v4beta1.DeviceInfo.Builder,
-            com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>
+        com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> 
         getDeviceInfoFieldBuilder() {
       if (deviceInfoBuilder_ == null) {
-        deviceInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.DeviceInfo,
-                com.google.cloud.talent.v4beta1.DeviceInfo.Builder,
-                com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>(
-                getDeviceInfo(), getParentForChildren(), isClean());
+        deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>(
+                getDeviceInfo(),
+                getParentForChildren(),
+                isClean());
         deviceInfo_ = null;
       }
       return deviceInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1488,12 +1371,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.RequestMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.RequestMetadata)
   private static final com.google.cloud.talent.v4beta1.RequestMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.RequestMetadata();
   }
@@ -1502,27 +1385,27 @@ public static com.google.cloud.talent.v4beta1.RequestMetadata getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1537,4 +1420,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.RequestMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
similarity index 87%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
index bca38bf8c511..f114b91a946a 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface RequestMetadataOrBuilder
-    extends
+public interface RequestMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.RequestMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -41,13 +23,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string domain = 1; - * * @return The domain. */ java.lang.String getDomain(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -63,14 +42,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string domain = 1; - * * @return The bytes for domain. */ - com.google.protobuf.ByteString getDomainBytes(); + com.google.protobuf.ByteString + getDomainBytes(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -84,13 +61,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string session_id = 2; - * * @return The sessionId. */ java.lang.String getSessionId(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -104,14 +78,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString getSessionIdBytes(); + com.google.protobuf.ByteString + getSessionIdBytes(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -125,13 +97,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string user_id = 3; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -145,14 +114,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string user_id = 3; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -161,40 +128,31 @@ public interface RequestMetadataOrBuilder
    * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ boolean getAllowMissingIds(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ boolean hasDeviceInfo(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
similarity index 65%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
index 7c86c93f1c3b..b3e3aafa1e37 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
@@ -1,84 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Additional information returned to client, such as debugging information.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ResponseMetadata} */ -public final class ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResponseMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ResponseMetadata) ResponseMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResponseMetadata.newBuilder() to construct. private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResponseMetadata() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResponseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ResponseMetadata.class, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4beta1.ResponseMetadata.class, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); } public static final int REQUEST_ID_FIELD_NUMBER = 1; private volatile java.lang.Object requestId_; /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The requestId. */ @java.lang.Override @@ -87,30 +65,30 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -119,7 +97,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -155,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ResponseMetadata)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ResponseMetadata other = - (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; + com.google.cloud.talent.v4beta1.ResponseMetadata other = (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,136 +160,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ResponseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Additional information returned to client, such as debugging information.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ResponseMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ResponseMetadata) com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ResponseMetadata.class, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4beta1.ResponseMetadata.class, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override @@ -342,8 +314,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { - com.google.cloud.talent.v4beta1.ResponseMetadata result = - new com.google.cloud.talent.v4beta1.ResponseMetadata(this); + com.google.cloud.talent.v4beta1.ResponseMetadata result = new com.google.cloud.talent.v4beta1.ResponseMetadata(this); result.requestId_ = requestId_; onBuilt(); return result; @@ -353,39 +324,38 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ResponseMetadata) { - return mergeFrom((com.google.cloud.talent.v4beta1.ResponseMetadata) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ResponseMetadata)other); } else { super.mergeFrom(other); return this; @@ -393,8 +363,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ResponseMetadata other) { - if (other == com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()) return this; if (!other.getRequestId().isEmpty()) { requestId_ = other.requestId_; onChanged(); @@ -425,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -450,21 +417,19 @@ public Builder mergeFrom( private java.lang.Object requestId_ = ""; /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -473,22 +438,21 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -496,71 +460,64 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ResponseMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ResponseMetadata) private static final com.google.cloud.talent.v4beta1.ResponseMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ResponseMetadata(); } @@ -584,27 +541,27 @@ public static com.google.cloud.talent.v4beta1.ResponseMetadata getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -619,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ResponseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java similarity index 50% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java index 45601997b428..eaf1c9869787 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface ResponseMetadataOrBuilder - extends +public interface ResponseMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ResponseMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java similarity index 85% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java index 1044daad9054..7f374b34ad34 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The Request body of the `SearchJobs` call.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest} */ -public final class SearchJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsRequest) SearchJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchJobsRequest.newBuilder() to construct. private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; @@ -50,33 +32,30 @@ private SearchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); } /** - * - * *
    * A string-represented enumeration of the job search mode. The service
    * operate differently for different modes of service.
@@ -84,10 +63,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode}
    */
-  public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SearchMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -97,8 +75,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     SEARCH_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -108,8 +84,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     JOB_SEARCH(1),
     /**
-     *
-     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -125,8 +99,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -136,8 +108,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SEARCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -147,8 +117,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int JOB_SEARCH_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -161,6 +129,7 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FEATURED_JOB_SEARCH_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -185,51 +154,49 @@ public static SearchMode valueOf(int value) {
      */
     public static SearchMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return SEARCH_MODE_UNSPECIFIED;
-        case 1:
-          return JOB_SEARCH;
-        case 2:
-          return FEATURED_JOB_SEARCH;
-        default:
-          return null;
+        case 0: return SEARCH_MODE_UNSPECIFIED;
+        case 1: return JOB_SEARCH;
+        case 2: return FEATURED_JOB_SEARCH;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        SearchMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public SearchMode findValueByNumber(int number) {
+              return SearchMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public SearchMode findValueByNumber(int number) {
-            return SearchMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final SearchMode[] VALUES = values();
 
-    public static SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SearchMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -247,8 +214,6 @@ private SearchMode(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -260,10 +225,9 @@ private SearchMode(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel}
    */
-  public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DiversificationLevel
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The diversification level isn't specified.
      * 
@@ -272,8 +236,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE */ DIVERSIFICATION_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -284,8 +246,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     DISABLED(1),
     /**
-     *
-     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -302,8 +262,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
     ;
 
     /**
-     *
-     *
      * 
      * The diversification level isn't specified.
      * 
@@ -312,8 +270,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE */ public static final int DIVERSIFICATION_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -324,8 +280,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int DISABLED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -339,6 +293,7 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int SIMPLE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -363,14 +318,10 @@ public static DiversificationLevel valueOf(int value) {
      */
     public static DiversificationLevel forNumber(int value) {
       switch (value) {
-        case 0:
-          return DIVERSIFICATION_LEVEL_UNSPECIFIED;
-        case 1:
-          return DISABLED;
-        case 2:
-          return SIMPLE;
-        default:
-          return null;
+        case 0: return DIVERSIFICATION_LEVEL_UNSPECIFIED;
+        case 1: return DISABLED;
+        case 2: return SIMPLE;
+        default: return null;
       }
     }
 
@@ -378,31 +329,29 @@ public static DiversificationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DiversificationLevel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DiversificationLevel findValueByNumber(int number) {
+              return DiversificationLevel.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public DiversificationLevel findValueByNumber(int number) {
-                return DiversificationLevel.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final DiversificationLevel[] VALUES = values();
@@ -410,7 +359,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static DiversificationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -428,8 +378,6 @@ private DiversificationLevel(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Controls what keyword matching behavior the search has. When keyword
    * matching is enabled, a keyword match returns jobs that may not match given
@@ -449,10 +397,9 @@ private DiversificationLevel(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode}
    */
-  public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum KeywordMatchMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -462,8 +409,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     KEYWORD_MATCH_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Disables keyword matching.
      * 
@@ -472,8 +417,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ KEYWORD_MATCH_DISABLED(1), /** - * - * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
      * [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
@@ -485,8 +428,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     KEYWORD_MATCH_ALL(2),
     /**
-     *
-     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
      * 
@@ -498,8 +439,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -509,8 +448,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Disables keyword matching.
      * 
@@ -519,8 +456,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; /** - * - * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
      * [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
@@ -532,8 +467,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KEYWORD_MATCH_ALL_VALUE = 2;
     /**
-     *
-     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
      * 
@@ -542,6 +475,7 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -566,47 +500,41 @@ public static KeywordMatchMode valueOf(int value) { */ public static KeywordMatchMode forNumber(int value) { switch (value) { - case 0: - return KEYWORD_MATCH_MODE_UNSPECIFIED; - case 1: - return KEYWORD_MATCH_DISABLED; - case 2: - return KEYWORD_MATCH_ALL; - case 3: - return KEYWORD_MATCH_TITLE_ONLY; - default: - return null; + case 0: return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: return KEYWORD_MATCH_DISABLED; + case 2: return KEYWORD_MATCH_ALL; + case 3: return KEYWORD_MATCH_TITLE_ONLY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + KeywordMatchMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeywordMatchMode findValueByNumber(int number) { - return KeywordMatchMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); } private static final KeywordMatchMode[] VALUES = values(); @@ -614,7 +542,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static KeywordMatchMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -631,14 +560,11 @@ private KeywordMatchMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode) } - public interface CustomRankingInfoOrBuilder - extends + public interface CustomRankingInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -646,16 +572,11 @@ public interface CustomRankingInfoOrBuilder
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ int getImportanceLevelValue(); /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -663,18 +584,12 @@ public interface CustomRankingInfoOrBuilder
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel(); /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -695,13 +610,10 @@ public interface CustomRankingInfoOrBuilder
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ java.lang.String getRankingExpression(); /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -722,30 +634,27 @@ public interface CustomRankingInfoOrBuilder
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ - com.google.protobuf.ByteString getRankingExpressionBytes(); + com.google.protobuf.ByteString + getRankingExpressionBytes(); } /** - * - * *
    * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo} */ - public static final class CustomRankingInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CustomRankingInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) CustomRankingInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomRankingInfo.newBuilder() to construct. private CustomRankingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomRankingInfo() { importanceLevel_ = 0; rankingExpression_ = ""; @@ -753,44 +662,39 @@ private CustomRankingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomRankingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); } /** - * - * *
      * The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression].
      * 
* - * Protobuf enum {@code - * google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} + * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} */ - public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportanceLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value if the importance level isn't specified.
        * 
@@ -799,8 +703,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { */ IMPORTANCE_LEVEL_UNSPECIFIED(0), /** - * - * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -811,8 +713,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       NONE(1),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -823,8 +723,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       LOW(2),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -835,8 +733,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       MILD(3),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -847,8 +743,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       MEDIUM(4),
       /**
-       *
-       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -859,8 +753,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       HIGH(5),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -874,8 +766,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Default value if the importance level isn't specified.
        * 
@@ -884,8 +774,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORTANCE_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -896,8 +784,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NONE_VALUE = 1;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -908,8 +794,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int LOW_VALUE = 2;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -920,8 +804,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MILD_VALUE = 3;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -932,8 +814,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MEDIUM_VALUE = 4;
       /**
-       *
-       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -944,8 +824,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int HIGH_VALUE = 5;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -956,6 +834,7 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int EXTREME_VALUE = 6;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -980,22 +859,14 @@ public static ImportanceLevel valueOf(int value) {
        */
       public static ImportanceLevel forNumber(int value) {
         switch (value) {
-          case 0:
-            return IMPORTANCE_LEVEL_UNSPECIFIED;
-          case 1:
-            return NONE;
-          case 2:
-            return LOW;
-          case 3:
-            return MILD;
-          case 4:
-            return MEDIUM;
-          case 5:
-            return HIGH;
-          case 6:
-            return EXTREME;
-          default:
-            return null;
+          case 0: return IMPORTANCE_LEVEL_UNSPECIFIED;
+          case 1: return NONE;
+          case 2: return LOW;
+          case 3: return MILD;
+          case 4: return MEDIUM;
+          case 5: return HIGH;
+          case 6: return EXTREME;
+          default: return null;
         }
       }
 
@@ -1003,31 +874,29 @@ public static ImportanceLevel forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ImportanceLevel> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ImportanceLevel findValueByNumber(int number) {
+                return ImportanceLevel.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ImportanceLevel findValueByNumber(int number) {
-                  return ImportanceLevel.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ImportanceLevel[] VALUES = values();
@@ -1035,7 +904,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ImportanceLevel valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -1055,8 +925,6 @@ private ImportanceLevel(int value) {
     public static final int IMPORTANCE_LEVEL_FIELD_NUMBER = 1;
     private int importanceLevel_;
     /**
-     *
-     *
      * 
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1064,19 +932,13 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override - public int getImportanceLevelValue() { + @java.lang.Override public int getImportanceLevelValue() { return importanceLevel_; } /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1084,30 +946,18 @@ public int getImportanceLevelValue() {
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel() { + @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .valueOf(importanceLevel_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; } public static final int RANKING_EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object rankingExpression_; /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1128,7 +978,6 @@ public int getImportanceLevelValue() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ @java.lang.Override @@ -1137,15 +986,14 @@ public java.lang.String getRankingExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; } } /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1166,15 +1014,16 @@ public java.lang.String getRankingExpression() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ @java.lang.Override - public com.google.protobuf.ByteString getRankingExpressionBytes() { + public com.google.protobuf.ByteString + getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1183,7 +1032,6 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1195,11 +1043,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (importanceLevel_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .IMPORTANCE_LEVEL_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (importanceLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { @@ -1214,11 +1060,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (importanceLevel_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .IMPORTANCE_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, importanceLevel_); + if (importanceLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rankingExpression_); @@ -1231,16 +1075,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = - (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; if (importanceLevel_ != other.importanceLevel_) return false; - if (!getRankingExpression().equals(other.getRankingExpression())) return false; + if (!getRankingExpression() + .equals(other.getRankingExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1262,95 +1106,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1360,42 +1196,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); } - // Construct using - // com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder() - private Builder() {} + // Construct using com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1407,16 +1240,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - .getDefaultInstance(); + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance(); } @java.lang.Override @@ -1430,8 +1261,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo result = - new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(this); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo result = new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(this); result.importanceLevel_ = importanceLevel_; result.rankingExpression_ = rankingExpression_; onBuilt(); @@ -1442,53 +1272,46 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) { - return mergeFrom( - (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other) { - if (other - == com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other) { + if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) return this; if (other.importanceLevel_ != 0) { setImportanceLevelValue(other.getImportanceLevelValue()); } @@ -1522,25 +1345,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - importanceLevel_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - rankingExpression_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + importanceLevel_ = input.readEnum(); + + break; + } // case 8 + case 18: { + rankingExpression_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1553,8 +1373,6 @@ public Builder mergeFrom( private int importanceLevel_ = 0; /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1562,19 +1380,13 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override - public int getImportanceLevelValue() { + @java.lang.Override public int getImportanceLevelValue() { return importanceLevel_; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1582,22 +1394,17 @@ public int getImportanceLevelValue() {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for importanceLevel to set. * @return This builder for chaining. */ public Builder setImportanceLevelValue(int value) { - + importanceLevel_ = value; onChanged(); return this; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1605,27 +1412,16 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .valueOf(importanceLevel_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1633,27 +1429,20 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The importanceLevel to set. * @return This builder for chaining. */ - public Builder setImportanceLevel( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - value) { + public Builder setImportanceLevel(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { if (value == null) { throw new NullPointerException(); } - + importanceLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1661,14 +1450,11 @@ public Builder setImportanceLevel(
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearImportanceLevel() { - + importanceLevel_ = 0; onChanged(); return this; @@ -1676,8 +1462,6 @@ public Builder clearImportanceLevel() { private java.lang.Object rankingExpression_ = ""; /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1698,13 +1482,13 @@ public Builder clearImportanceLevel() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ public java.lang.String getRankingExpression() { java.lang.Object ref = rankingExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; @@ -1713,8 +1497,6 @@ public java.lang.String getRankingExpression() { } } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1735,14 +1517,15 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ - public com.google.protobuf.ByteString getRankingExpressionBytes() { + public com.google.protobuf.ByteString + getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1750,8 +1533,6 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { } } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1772,22 +1553,20 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpression(java.lang.String value) { + public Builder setRankingExpression( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rankingExpression_ = value; onChanged(); return this; } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1808,18 +1587,15 @@ public Builder setRankingExpression(java.lang.String value) {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRankingExpression() { - + rankingExpression_ = getDefaultInstance().getRankingExpression(); onChanged(); return this; } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1840,21 +1616,20 @@ public Builder clearRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { + public Builder setRankingExpressionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rankingExpression_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1867,44 +1642,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) - private static final com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomRankingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomRankingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1916,17 +1688,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -1934,10 +1704,7 @@ public com.google.protobuf.Parser getParserForType() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -1946,15 +1713,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -1962,18 +1728,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1984,58 +1749,42 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SEARCH_MODE_FIELD_NUMBER = 2; private int searchMode_; /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override - public int getSearchModeValue() { + @java.lang.Override public int getSearchModeValue() { return searchMode_; } /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { + @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; } public static final int REQUEST_METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ @java.lang.Override @@ -2043,38 +1792,27 @@ public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata() { - return requestMetadata_ == null - ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; } /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { @@ -2084,14 +1822,11 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada public static final int JOB_QUERY_FIELD_NUMBER = 4; private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ @java.lang.Override @@ -2099,25 +1834,18 @@ public boolean hasJobQuery() { return jobQuery_ != null; } /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return The jobQuery. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobQuery getJobQuery() { - return jobQuery_ == null - ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; } /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -2132,8 +1860,6 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() public static final int ENABLE_BROADENING_FIELD_NUMBER = 5; private boolean enableBroadening_; /** - * - * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -2142,7 +1868,6 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder()
    * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ @java.lang.Override @@ -2153,29 +1878,23 @@ public boolean getEnableBroadening() { public static final int REQUIRE_PRECISE_RESULT_SIZE_FIELD_NUMBER = 6; private boolean requirePreciseResultSize_; /** - * - * *
    * This field is deprecated.
    * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ @java.lang.Override - @java.lang.Deprecated - public boolean getRequirePreciseResultSize() { + @java.lang.Deprecated public boolean getRequirePreciseResultSize() { return requirePreciseResultSize_; } public static final int HISTOGRAM_QUERIES_FIELD_NUMBER = 7; private java.util.List histogramQueries_; /** - * - * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2203,8 +1922,8 @@ public boolean getRequirePreciseResultSize() {
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2269,8 +1988,6 @@ public java.util.List getHistogr
     return histogramQueries_;
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2298,8 +2015,8 @@ public java.util.List getHistogr
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2360,13 +2077,11 @@ public java.util.List getHistogr
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHistogramQueriesOrBuilderList() {
     return histogramQueries_;
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2394,8 +2109,8 @@ public java.util.List getHistogr
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2460,8 +2175,6 @@ public int getHistogramQueriesCount() {
     return histogramQueries_.size();
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2489,8 +2202,8 @@ public int getHistogramQueriesCount() {
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2555,8 +2268,6 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
     return histogramQueries_.get(index);
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2584,8 +2295,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2654,46 +2365,35 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
   public static final int JOB_VIEW_FIELD_NUMBER = 8;
   private int jobView_;
   /**
-   *
-   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The jobView. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.JobView getJobView() { + @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = - com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } public static final int OFFSET_FIELD_NUMBER = 9; private int offset_; /** - * - * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -2706,7 +2406,6 @@ public com.google.cloud.talent.v4beta1.JobView getJobView() {
    * 
* * int32 offset = 9; - * * @return The offset. */ @java.lang.Override @@ -2717,8 +2416,6 @@ public int getOffset() { public static final int PAGE_SIZE_FIELD_NUMBER = 10; private int pageSize_; /** - * - * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -2726,7 +2423,6 @@ public int getOffset() {
    * 
* * int32 page_size = 10; - * * @return The pageSize. */ @java.lang.Override @@ -2737,8 +2433,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object pageToken_; /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -2746,7 +2440,6 @@ public int getPageSize() {
    * 
* * string page_token = 11; - * * @return The pageToken. */ @java.lang.Override @@ -2755,15 +2448,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -2771,15 +2463,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2790,8 +2483,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 12; private volatile java.lang.Object orderBy_; /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2844,7 +2535,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 12; - * * @return The orderBy. */ @java.lang.Override @@ -2853,15 +2543,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2914,15 +2603,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2933,8 +2623,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int DIVERSIFICATION_LEVEL_FIELD_NUMBER = 13; private int diversificationLevel_; /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2946,19 +2634,13 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * is specified.
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override - public int getDiversificationLevelValue() { + @java.lang.Override public int getDiversificationLevelValue() { return diversificationLevel_; } /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2970,38 +2652,24 @@ public int getDiversificationLevelValue() {
    * is specified.
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel - getDiversificationLevel() { + @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf( - diversificationLevel_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; } public static final int CUSTOM_RANKING_INFO_FIELD_NUMBER = 14; private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ @java.lang.Override @@ -3009,49 +2677,34 @@ public boolean hasCustomRankingInfo() { return customRankingInfo_ != null; } /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getCustomRankingInfo() { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() - : customRankingInfo_; + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { + return customRankingInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { return getCustomRankingInfo(); } public static final int DISABLE_KEYWORD_MATCH_FIELD_NUMBER = 16; private boolean disableKeywordMatch_; /** - * - * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -3078,7 +2731,6 @@ public boolean hasCustomRankingInfo() {
    * 
* * bool disable_keyword_match = 16; - * * @return The disableKeywordMatch. */ @java.lang.Override @@ -3089,50 +2741,35 @@ public boolean getDisableKeywordMatch() { public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; private int keywordMatchMode_; /** - * - * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override - public int getKeywordMatchModeValue() { + @java.lang.Override public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** - * - * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf( - keywordMatchMode_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3144,13 +2781,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (searchMode_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED - .getNumber()) { + if (searchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, searchMode_); } if (requestMetadata_ != null) { @@ -3183,10 +2819,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, orderBy_); } - if (diversificationLevel_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel - .DIVERSIFICATION_LEVEL_UNSPECIFIED - .getNumber()) { + if (diversificationLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(13, diversificationLevel_); } if (customRankingInfo_ != null) { @@ -3195,10 +2828,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } - if (keywordMatchMode_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode - .KEYWORD_MATCH_MODE_UNSPECIFIED - .getNumber()) { + if (keywordMatchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(18, keywordMatchMode_); } getUnknownFields().writeTo(output); @@ -3213,34 +2843,41 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (searchMode_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, searchMode_); + if (searchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, searchMode_); } if (requestMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequestMetadata()); } if (jobQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getJobQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getJobQuery()); } if (enableBroadening_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableBroadening_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableBroadening_); } if (requirePreciseResultSize_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requirePreciseResultSize_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requirePreciseResultSize_); } for (int i = 0; i < histogramQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, histogramQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, histogramQueries_.get(i)); } if (jobView_ != com.google.cloud.talent.v4beta1.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, jobView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, jobView_); } if (offset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, offset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, offset_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, pageToken_); @@ -3248,23 +2885,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, orderBy_); } - if (diversificationLevel_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel - .DIVERSIFICATION_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, diversificationLevel_); + if (diversificationLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(13, diversificationLevel_); } if (customRankingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getCustomRankingInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getCustomRankingInfo()); } if (disableKeywordMatch_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, disableKeywordMatch_); } - if (keywordMatchMode_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode - .KEYWORD_MATCH_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); + if (keywordMatchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(18, keywordMatchMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3274,38 +2909,49 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsRequest other = - (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; + com.google.cloud.talent.v4beta1.SearchJobsRequest other = (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (searchMode_ != other.searchMode_) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; + if (!getRequestMetadata() + .equals(other.getRequestMetadata())) return false; } if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - if (!getJobQuery().equals(other.getJobQuery())) return false; - } - if (getEnableBroadening() != other.getEnableBroadening()) return false; - if (getRequirePreciseResultSize() != other.getRequirePreciseResultSize()) return false; - if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; + if (!getJobQuery() + .equals(other.getJobQuery())) return false; + } + if (getEnableBroadening() + != other.getEnableBroadening()) return false; + if (getRequirePreciseResultSize() + != other.getRequirePreciseResultSize()) return false; + if (!getHistogramQueriesList() + .equals(other.getHistogramQueriesList())) return false; if (jobView_ != other.jobView_) return false; - if (getOffset() != other.getOffset()) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (getOffset() + != other.getOffset()) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (diversificationLevel_ != other.diversificationLevel_) return false; if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; + if (!getCustomRankingInfo() + .equals(other.getCustomRankingInfo())) return false; } - if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; + if (getDisableKeywordMatch() + != other.getDisableKeywordMatch()) return false; if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3331,9 +2977,11 @@ public int hashCode() { hash = (53 * hash) + getJobQuery().hashCode(); } hash = (37 * hash) + ENABLE_BROADENING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableBroadening()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableBroadening()); hash = (37 * hash) + REQUIRE_PRECISE_RESULT_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequirePreciseResultSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequirePreciseResultSize()); if (getHistogramQueriesCount() > 0) { hash = (37 * hash) + HISTOGRAM_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getHistogramQueriesList().hashCode(); @@ -3355,7 +3003,8 @@ public int hashCode() { hash = (53 * hash) + getCustomRankingInfo().hashCode(); } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableKeywordMatch()); hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3364,135 +3013,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request body of the `SearchJobs` call.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsRequest) com.google.cloud.talent.v4beta1.SearchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3549,9 +3192,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override @@ -3570,8 +3213,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsRequest result = - new com.google.cloud.talent.v4beta1.SearchJobsRequest(this); + com.google.cloud.talent.v4beta1.SearchJobsRequest result = new com.google.cloud.talent.v4beta1.SearchJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.searchMode_ = searchMode_; @@ -3617,39 +3259,38 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -3657,8 +3298,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -3696,10 +3336,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest other histogramQueriesBuilder_ = null; histogramQueries_ = other.histogramQueries_; bitField0_ = (bitField0_ & ~0x00000001); - histogramQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHistogramQueriesFieldBuilder() - : null; + histogramQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHistogramQueriesFieldBuilder() : null; } else { histogramQueriesBuilder_.addAllMessages(other.histogramQueries_); } @@ -3760,117 +3399,106 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - searchMode_ = input.readEnum(); + break; + } // case 10 + case 16: { + searchMode_ = input.readEnum(); - break; - } // case 16 - case 26: - { - input.readMessage(getRequestMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 16 + case 26: { + input.readMessage( + getRequestMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - input.readMessage(getJobQueryFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getJobQueryFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 40: - { - enableBroadening_ = input.readBool(); + break; + } // case 34 + case 40: { + enableBroadening_ = input.readBool(); - break; - } // case 40 - case 48: - { - requirePreciseResultSize_ = input.readBool(); + break; + } // case 40 + case 48: { + requirePreciseResultSize_ = input.readBool(); - break; - } // case 48 - case 58: - { - com.google.cloud.talent.v4beta1.HistogramQuery m = - input.readMessage( - com.google.cloud.talent.v4beta1.HistogramQuery.parser(), extensionRegistry); - if (histogramQueriesBuilder_ == null) { - ensureHistogramQueriesIsMutable(); - histogramQueries_.add(m); - } else { - histogramQueriesBuilder_.addMessage(m); - } - break; - } // case 58 - case 64: - { - jobView_ = input.readEnum(); + break; + } // case 48 + case 58: { + com.google.cloud.talent.v4beta1.HistogramQuery m = + input.readMessage( + com.google.cloud.talent.v4beta1.HistogramQuery.parser(), + extensionRegistry); + if (histogramQueriesBuilder_ == null) { + ensureHistogramQueriesIsMutable(); + histogramQueries_.add(m); + } else { + histogramQueriesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: { + jobView_ = input.readEnum(); - break; - } // case 64 - case 72: - { - offset_ = input.readInt32(); + break; + } // case 64 + case 72: { + offset_ = input.readInt32(); - break; - } // case 72 - case 80: - { - pageSize_ = input.readInt32(); + break; + } // case 72 + case 80: { + pageSize_ = input.readInt32(); - break; - } // case 80 - case 90: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 80 + case 90: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 90 - case 98: - { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 90 + case 98: { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 98 - case 104: - { - diversificationLevel_ = input.readEnum(); + break; + } // case 98 + case 104: { + diversificationLevel_ = input.readEnum(); - break; - } // case 104 - case 114: - { - input.readMessage( - getCustomRankingInfoFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 104 + case 114: { + input.readMessage( + getCustomRankingInfoFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 114 - case 128: - { - disableKeywordMatch_ = input.readBool(); + break; + } // case 114 + case 128: { + disableKeywordMatch_ = input.readBool(); - break; - } // case 128 - case 144: - { - keywordMatchMode_ = input.readEnum(); + break; + } // case 128 + case 144: { + keywordMatchMode_ = input.readEnum(); - break; - } // case 144 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3880,13 +3508,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3894,16 +3519,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3912,8 +3535,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3921,17 +3542,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -3939,8 +3559,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3948,25 +3566,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3974,21 +3588,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3996,19 +3605,17 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -4016,98 +3623,78 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int searchMode_ = 0; /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override - public int getSearchModeValue() { + @java.lang.Override public int getSearchModeValue() { return searchMode_; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @param value The enum numeric value on the wire for searchMode to set. * @return This builder for chaining. */ public Builder setSearchModeValue(int value) { - + searchMode_ = value; onChanged(); return this; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @param value The searchMode to set. * @return This builder for chaining. */ - public Builder setSearchMode( - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode value) { + public Builder setSearchMode(com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode value) { if (value == null) { throw new NullPointerException(); } - + searchMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return This builder for chaining. */ public Builder clearSearchMode() { - + searchMode_ = 0; onChanged(); return this; @@ -4115,64 +3702,45 @@ public Builder clearSearchMode() { private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, - com.google.cloud.talent.v4beta1.RequestMetadata.Builder, - com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> - requestMetadataBuilder_; + com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> requestMetadataBuilder_; /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ public com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { - return requestMetadata_ == null - ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadata value) { if (requestMetadataBuilder_ == null) { @@ -4188,17 +3756,13 @@ public Builder setRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadat return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequestMetadata( com.google.cloud.talent.v4beta1.RequestMetadata.Builder builderForValue) { @@ -4212,25 +3776,19 @@ public Builder setRequestMetadata( return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = - com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder(requestMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder(requestMetadata_).mergeFrom(value).buildPartial(); } else { requestMetadata_ = value; } @@ -4242,17 +3800,13 @@ public Builder mergeRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetad return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { @@ -4266,70 +3820,54 @@ public Builder clearRequestMetadata() { return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.RequestMetadata.Builder getRequestMetadataBuilder() { - + onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { - return requestMetadata_ == null - ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? + com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; } } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, - com.google.cloud.talent.v4beta1.RequestMetadata.Builder, - com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> + com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { - requestMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, - com.google.cloud.talent.v4beta1.RequestMetadata.Builder, - com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder>( - getRequestMetadata(), getParentForChildren(), isClean()); + requestMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder>( + getRequestMetadata(), + getParentForChildren(), + isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; @@ -4337,47 +3875,34 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, - com.google.cloud.talent.v4beta1.JobQuery.Builder, - com.google.cloud.talent.v4beta1.JobQueryOrBuilder> - jobQueryBuilder_; + com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder> jobQueryBuilder_; /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ public boolean hasJobQuery() { return jobQueryBuilder_ != null || jobQuery_ != null; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return The jobQuery. */ public com.google.cloud.talent.v4beta1.JobQuery getJobQuery() { if (jobQueryBuilder_ == null) { - return jobQuery_ == null - ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; } else { return jobQueryBuilder_.getMessage(); } } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4398,15 +3923,14 @@ public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ - public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery.Builder builderForValue) { + public Builder setJobQuery( + com.google.cloud.talent.v4beta1.JobQuery.Builder builderForValue) { if (jobQueryBuilder_ == null) { jobQuery_ = builderForValue.build(); onChanged(); @@ -4416,9 +3940,7 @@ public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery.Builder buil return this; } - /** - * - * + /** *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4429,9 +3951,7 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { if (jobQueryBuilder_ == null) { if (jobQuery_ != null) { jobQuery_ = - com.google.cloud.talent.v4beta1.JobQuery.newBuilder(jobQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.JobQuery.newBuilder(jobQuery_).mergeFrom(value).buildPartial(); } else { jobQuery_ = value; } @@ -4443,8 +3963,6 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4463,8 +3981,6 @@ public Builder clearJobQuery() { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4472,13 +3988,11 @@ public Builder clearJobQuery() { * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ public com.google.cloud.talent.v4beta1.JobQuery.Builder getJobQueryBuilder() { - + onChanged(); return getJobQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4489,14 +4003,11 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() if (jobQueryBuilder_ != null) { return jobQueryBuilder_.getMessageOrBuilder(); } else { - return jobQuery_ == null - ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? + com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; } } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4504,26 +4015,21 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, - com.google.cloud.talent.v4beta1.JobQuery.Builder, - com.google.cloud.talent.v4beta1.JobQueryOrBuilder> + com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder> getJobQueryFieldBuilder() { if (jobQueryBuilder_ == null) { - jobQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, - com.google.cloud.talent.v4beta1.JobQuery.Builder, - com.google.cloud.talent.v4beta1.JobQueryOrBuilder>( - getJobQuery(), getParentForChildren(), isClean()); + jobQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder>( + getJobQuery(), + getParentForChildren(), + isClean()); jobQuery_ = null; } return jobQueryBuilder_; } - private boolean enableBroadening_; + private boolean enableBroadening_ ; /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4532,7 +4038,6 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder()
      * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ @java.lang.Override @@ -4540,8 +4045,6 @@ public boolean getEnableBroadening() { return enableBroadening_; } /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4550,19 +4053,16 @@ public boolean getEnableBroadening() {
      * 
* * bool enable_broadening = 5; - * * @param value The enableBroadening to set. * @return This builder for chaining. */ public Builder setEnableBroadening(boolean value) { - + enableBroadening_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4571,98 +4071,77 @@ public Builder setEnableBroadening(boolean value) {
      * 
* * bool enable_broadening = 5; - * * @return This builder for chaining. */ public Builder clearEnableBroadening() { - + enableBroadening_ = false; onChanged(); return this; } - private boolean requirePreciseResultSize_; + private boolean requirePreciseResultSize_ ; /** - * - * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ @java.lang.Override - @java.lang.Deprecated - public boolean getRequirePreciseResultSize() { + @java.lang.Deprecated public boolean getRequirePreciseResultSize() { return requirePreciseResultSize_; } /** - * - * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @param value The requirePreciseResultSize to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setRequirePreciseResultSize(boolean value) { - + @java.lang.Deprecated public Builder setRequirePreciseResultSize(boolean value) { + requirePreciseResultSize_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearRequirePreciseResultSize() { - + @java.lang.Deprecated public Builder clearRequirePreciseResultSize() { + requirePreciseResultSize_ = false; onChanged(); return this; } private java.util.List histogramQueries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHistogramQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - histogramQueries_ = - new java.util.ArrayList( - histogramQueries_); + histogramQueries_ = new java.util.ArrayList(histogramQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQuery, - com.google.cloud.talent.v4beta1.HistogramQuery.Builder, - com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> - histogramQueriesBuilder_; + com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> histogramQueriesBuilder_; /** - * - * *
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4690,8 +4169,8 @@ private void ensureHistogramQueriesIsMutable() {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -4751,8 +4230,7 @@ private void ensureHistogramQueriesIsMutable() {
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesList() {
+    public java.util.List getHistogramQueriesList() {
       if (histogramQueriesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(histogramQueries_);
       } else {
@@ -4760,8 +4238,6 @@ private void ensureHistogramQueriesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4789,8 +4265,8 @@ private void ensureHistogramQueriesIsMutable() {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -4858,8 +4334,6 @@ public int getHistogramQueriesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4887,8 +4361,8 @@ public int getHistogramQueriesCount() {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -4956,8 +4430,6 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4985,8 +4457,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5061,8 +4533,6 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5090,8 +4560,8 @@ public Builder setHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5163,8 +4633,6 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5192,8 +4660,8 @@ public Builder setHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5267,8 +4735,6 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4beta1.HistogramQuer
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5296,8 +4762,8 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4beta1.HistogramQuer
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5372,8 +4838,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5401,8 +4865,8 @@ public Builder addHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5474,8 +4938,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5503,8 +4965,8 @@ public Builder addHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5576,8 +5038,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5605,8 +5065,8 @@ public Builder addHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5670,7 +5130,8 @@ public Builder addAllHistogramQueries(
         java.lang.Iterable values) {
       if (histogramQueriesBuilder_ == null) {
         ensureHistogramQueriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, histogramQueries_);
         onChanged();
       } else {
         histogramQueriesBuilder_.addAllMessages(values);
@@ -5678,8 +5139,6 @@ public Builder addAllHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5707,8 +5166,8 @@ public Builder addAllHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5779,8 +5238,6 @@ public Builder clearHistogramQueries() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5808,8 +5265,8 @@ public Builder clearHistogramQueries() {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5880,8 +5337,6 @@ public Builder removeHistogramQueries(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5909,8 +5364,8 @@ public Builder removeHistogramQueries(int index) {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5975,8 +5430,6 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
       return getHistogramQueriesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6004,8 +5457,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6068,14 +5521,11 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
     public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
         int index) {
       if (histogramQueriesBuilder_ == null) {
-        return histogramQueries_.get(index);
-      } else {
+        return histogramQueries_.get(index);  } else {
         return histogramQueriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6103,8 +5553,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6164,8 +5614,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesOrBuilderList() {
+    public java.util.List 
+         getHistogramQueriesOrBuilderList() {
       if (histogramQueriesBuilder_ != null) {
         return histogramQueriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -6173,8 +5623,6 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6202,8 +5650,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6264,12 +5712,10 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
     public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQueriesBuilder() {
-      return getHistogramQueriesFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6297,8 +5743,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6360,12 +5806,10 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      */
     public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQueriesBuilder(
         int index) {
-      return getHistogramQueriesFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6393,8 +5837,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6454,22 +5898,16 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesBuilderList() {
+    public java.util.List 
+         getHistogramQueriesBuilderList() {
       return getHistogramQueriesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.HistogramQuery,
-            com.google.cloud.talent.v4beta1.HistogramQuery.Builder,
-            com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>
+        com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> 
         getHistogramQueriesFieldBuilder() {
       if (histogramQueriesBuilder_ == null) {
-        histogramQueriesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.HistogramQuery,
-                com.google.cloud.talent.v4beta1.HistogramQuery.Builder,
-                com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>(
+        histogramQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>(
                 histogramQueries_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -6481,69 +5919,55 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
 
     private int jobView_ = 0;
     /**
-     *
-     *
      * 
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = - com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @param value The jobView to set. * @return This builder for chaining. */ @@ -6551,34 +5975,29 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - private int offset_; + private int offset_ ; /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6591,7 +6010,6 @@ public Builder clearJobView() {
      * 
* * int32 offset = 9; - * * @return The offset. */ @java.lang.Override @@ -6599,8 +6017,6 @@ public int getOffset() { return offset_; } /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6613,19 +6029,16 @@ public int getOffset() {
      * 
* * int32 offset = 9; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6638,20 +6051,17 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 9; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6659,7 +6069,6 @@ public Builder clearOffset() {
      * 
* * int32 page_size = 10; - * * @return The pageSize. */ @java.lang.Override @@ -6667,8 +6076,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6676,19 +6083,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 10; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6696,11 +6100,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 10; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -6708,8 +6111,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6717,13 +6118,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 11; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -6732,8 +6133,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6741,14 +6140,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6756,8 +6156,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6765,22 +6163,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 11; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6788,18 +6184,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 11; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6807,16 +6200,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 11; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -6824,8 +6217,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6878,13 +6269,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 12; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -6893,8 +6284,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6947,14 +6336,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -6962,8 +6352,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7016,22 +6404,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 12; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7084,18 +6470,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 12; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7148,16 +6531,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 12; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -7165,8 +6548,6 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private int diversificationLevel_ = 0; /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7178,19 +6559,13 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override - public int getDiversificationLevelValue() { + @java.lang.Override public int getDiversificationLevelValue() { return diversificationLevel_; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7202,22 +6577,17 @@ public int getDiversificationLevelValue() {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @param value The enum numeric value on the wire for diversificationLevel to set. * @return This builder for chaining. */ public Builder setDiversificationLevelValue(int value) { - + diversificationLevel_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7229,26 +6599,16 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel - getDiversificationLevel() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf( - diversificationLevel_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7260,26 +6620,20 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @param value The diversificationLevel to set. * @return This builder for chaining. */ - public Builder setDiversificationLevel( - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel value) { + public Builder setDiversificationLevel(com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel value) { if (value == null) { throw new NullPointerException(); } - + diversificationLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7291,14 +6645,11 @@ public Builder setDiversificationLevel(
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return This builder for chaining. */ public Builder clearDiversificationLevel() { - + diversificationLevel_ = 0; onChanged(); return this; @@ -7306,66 +6657,44 @@ public Builder clearDiversificationLevel() { private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> - customRankingInfoBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> customRankingInfoBuilder_; /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ public boolean hasCustomRankingInfo() { return customRankingInfoBuilder_ != null || customRankingInfo_ != null; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getCustomRankingInfo() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - .getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } else { return customRankingInfoBuilder_.getMessage(); } } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public Builder setCustomRankingInfo( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { + public Builder setCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7379,20 +6708,15 @@ public Builder setCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ public Builder setCustomRankingInfo( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder builderForValue) { if (customRankingInfoBuilder_ == null) { customRankingInfo_ = builderForValue.build(); onChanged(); @@ -7403,26 +6727,18 @@ public Builder setCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public Builder mergeCustomRankingInfo( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { + public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (customRankingInfo_ != null) { customRankingInfo_ = - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder( - customRankingInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder(customRankingInfo_).mergeFrom(value).buildPartial(); } else { customRankingInfo_ = value; } @@ -7434,16 +6750,12 @@ public Builder mergeCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ public Builder clearCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { @@ -7457,79 +6769,58 @@ public Builder clearCustomRankingInfo() { return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder - getCustomRankingInfoBuilder() { - + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder getCustomRankingInfoBuilder() { + onChanged(); return getCustomRankingInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { if (customRankingInfoBuilder_ != null) { return customRankingInfoBuilder_.getMessageOrBuilder(); } else { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - .getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> getCustomRankingInfoFieldBuilder() { if (customRankingInfoBuilder_ == null) { - customRankingInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder>( - getCustomRankingInfo(), getParentForChildren(), isClean()); + customRankingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder>( + getCustomRankingInfo(), + getParentForChildren(), + isClean()); customRankingInfo_ = null; } return customRankingInfoBuilder_; } - private boolean disableKeywordMatch_; + private boolean disableKeywordMatch_ ; /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7556,7 +6847,6 @@ public Builder clearCustomRankingInfo() {
      * 
* * bool disable_keyword_match = 16; - * * @return The disableKeywordMatch. */ @java.lang.Override @@ -7564,8 +6854,6 @@ public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7592,19 +6880,16 @@ public boolean getDisableKeywordMatch() {
      * 
* * bool disable_keyword_match = 16; - * * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ public Builder setDisableKeywordMatch(boolean value) { - + disableKeywordMatch_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7631,11 +6916,10 @@ public Builder setDisableKeywordMatch(boolean value) {
      * 
* * bool disable_keyword_match = 16; - * * @return This builder for chaining. */ public Builder clearDisableKeywordMatch() { - + disableKeywordMatch_ = false; onChanged(); return this; @@ -7643,122 +6927,90 @@ public Builder clearDisableKeywordMatch() { private int keywordMatchMode_ = 0; /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override - public int getKeywordMatchModeValue() { + @java.lang.Override public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @param value The enum numeric value on the wire for keywordMatchMode to set. * @return This builder for chaining. */ public Builder setKeywordMatchModeValue(int value) { - + keywordMatchMode_ = value; onChanged(); return this; } /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode - getKeywordMatchMode() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf( - keywordMatchMode_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; } /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @param value The keywordMatchMode to set. * @return This builder for chaining. */ - public Builder setKeywordMatchMode( - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode value) { + public Builder setKeywordMatchMode(com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode value) { if (value == null) { throw new NullPointerException(); } - + keywordMatchMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return This builder for chaining. */ public Builder clearKeywordMatchMode() { - + keywordMatchMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7768,12 +7020,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsRequest) private static final com.google.cloud.talent.v4beta1.SearchJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsRequest(); } @@ -7782,27 +7034,27 @@ public static com.google.cloud.talent.v4beta1.SearchJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7817,4 +7069,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SearchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java similarity index 92% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java index 1254b58eabc6..4eba164b8194 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface SearchJobsRequestOrBuilder - extends +public interface SearchJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface SearchJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,115 +27,85 @@ public interface SearchJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ int getSearchModeValue(); /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ boolean hasRequestMetadata(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ boolean hasJobQuery(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return The jobQuery. */ com.google.cloud.talent.v4beta1.JobQuery getJobQuery(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -168,8 +115,6 @@ public interface SearchJobsRequestOrBuilder com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder(); /** - * - * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -178,30 +123,23 @@ public interface SearchJobsRequestOrBuilder
    * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ boolean getEnableBroadening(); /** - * - * *
    * This field is deprecated.
    * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ - @java.lang.Deprecated - boolean getRequirePreciseResultSize(); + @java.lang.Deprecated boolean getRequirePreciseResultSize(); /** - * - * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -229,8 +167,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -290,10 +228,9 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  java.util.List getHistogramQueriesList();
+  java.util.List 
+      getHistogramQueriesList();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -321,8 +258,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -384,8 +321,6 @@ public interface SearchJobsRequestOrBuilder
    */
   com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int index);
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -413,8 +348,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -476,8 +411,6 @@ public interface SearchJobsRequestOrBuilder
    */
   int getHistogramQueriesCount();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -505,8 +438,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -566,11 +499,9 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  java.util.List
+  java.util.List 
       getHistogramQueriesOrBuilderList();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -598,8 +529,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -659,38 +590,31 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(int index);
+  com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** - * - * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The jobView. */ com.google.cloud.talent.v4beta1.JobView getJobView(); /** - * - * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -703,14 +627,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * int32 offset = 9; - * * @return The offset. */ int getOffset(); /** - * - * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -718,14 +639,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * int32 page_size = 10; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -733,13 +651,10 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string page_token = 11; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -747,14 +662,12 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -807,13 +720,10 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string order_by = 12; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -866,14 +776,12 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -885,16 +793,11 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ int getDiversificationLevelValue(); /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -906,62 +809,42 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ boolean hasCustomRankingInfo(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder(); /** - * - * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -988,38 +871,29 @@ public interface SearchJobsRequestOrBuilder
    * 
* * bool disable_keyword_match = 16; - * * @return The disableKeywordMatch. */ boolean getDisableKeywordMatch(); /** - * - * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ int getKeywordMatchModeValue(); /** - * - * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java index a1b8bb557b13..bf9524f20de1 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Response for SearchJob method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse} */ -public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse) SearchJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchJobsResponse.newBuilder() to construct. private SearchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchJobsResponse() { matchingJobs_ = java.util.Collections.emptyList(); histogramQueryResults_ = java.util.Collections.emptyList(); @@ -46,62 +28,52 @@ private SearchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); } - public interface MatchingJobOrBuilder - extends + public interface MatchingJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
@@ -111,35 +83,28 @@ public interface MatchingJobOrBuilder com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The jobSummary. */ java.lang.String getJobSummary(); /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ - com.google.protobuf.ByteString getJobSummaryBytes(); + com.google.protobuf.ByteString + getJobSummaryBytes(); /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -147,13 +112,10 @@ public interface MatchingJobOrBuilder
      * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ java.lang.String getJobTitleSnippet(); /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -161,14 +123,12 @@ public interface MatchingJobOrBuilder
      * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ - com.google.protobuf.ByteString getJobTitleSnippetBytes(); + com.google.protobuf.ByteString + getJobTitleSnippetBytes(); /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -177,13 +137,10 @@ public interface MatchingJobOrBuilder
      * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ java.lang.String getSearchTextSnippet(); /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -192,40 +149,32 @@ public interface MatchingJobOrBuilder
      * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ - com.google.protobuf.ByteString getSearchTextSnippetBytes(); + com.google.protobuf.ByteString + getSearchTextSnippetBytes(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ boolean hasCommuteInfo(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -233,28 +182,24 @@ public interface MatchingJobOrBuilder
      *
      * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
-    com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
-        getCommuteInfoOrBuilder();
+    com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob} */ - public static final class MatchingJob extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MatchingJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) MatchingJobOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MatchingJob.newBuilder() to construct. private MatchingJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MatchingJob() { jobSummary_ = ""; jobTitleSnippet_ = ""; @@ -263,41 +208,37 @@ private MatchingJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MatchingJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -305,14 +246,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -320,8 +258,6 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
@@ -336,15 +272,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private volatile java.lang.Object jobSummary_; /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The jobSummary. */ @java.lang.Override @@ -353,30 +286,30 @@ public java.lang.String getJobSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; } } /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ @java.lang.Override - public com.google.protobuf.ByteString getJobSummaryBytes() { + public com.google.protobuf.ByteString + getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -387,8 +320,6 @@ public com.google.protobuf.ByteString getJobSummaryBytes() { public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 3; private volatile java.lang.Object jobTitleSnippet_; /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -396,7 +327,6 @@ public com.google.protobuf.ByteString getJobSummaryBytes() {
      * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ @java.lang.Override @@ -405,15 +335,14 @@ public java.lang.String getJobTitleSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; } } /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -421,15 +350,16 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString + getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -440,8 +370,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() { public static final int SEARCH_TEXT_SNIPPET_FIELD_NUMBER = 4; private volatile java.lang.Object searchTextSnippet_; /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -450,7 +378,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
      * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ @java.lang.Override @@ -459,15 +386,14 @@ public java.lang.String getSearchTextSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; } } /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -476,15 +402,16 @@ public java.lang.String getSearchTextSnippet() {
      * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString + getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -495,15 +422,12 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() { public static final int COMMUTE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ @java.lang.Override @@ -511,26 +435,19 @@ public boolean hasCommuteInfo() { return commuteInfo_ != null; } /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo() { - return commuteInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() - : commuteInfo_; + return commuteInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; } /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -539,13 +456,11 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommute
      * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
-        getCommuteInfoOrBuilder() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
       return getCommuteInfo();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -557,7 +472,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -583,7 +499,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJob());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSummary_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobSummary_);
@@ -595,7 +512,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchTextSnippet_);
       }
       if (commuteInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteInfo());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getCommuteInfo());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -605,24 +523,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other =
-          (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj;
+      com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob().equals(other.getJob())) return false;
-      }
-      if (!getJobSummary().equals(other.getJobSummary())) return false;
-      if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false;
-      if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false;
+        if (!getJob()
+            .equals(other.getJob())) return false;
+      }
+      if (!getJobSummary()
+          .equals(other.getJobSummary())) return false;
+      if (!getJobTitleSnippet()
+          .equals(other.getJobTitleSnippet())) return false;
+      if (!getSearchTextSnippet()
+          .equals(other.getSearchTextSnippet())) return false;
       if (hasCommuteInfo() != other.hasCommuteInfo()) return false;
       if (hasCommuteInfo()) {
-        if (!getCommuteInfo().equals(other.getCommuteInfo())) return false;
+        if (!getCommuteInfo()
+            .equals(other.getCommuteInfo())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -655,94 +577,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -752,41 +667,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -812,14 +725,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance(); } @@ -834,8 +746,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob result = - new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob result = new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -857,52 +768,46 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other) { - if (other - == com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other) { + if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -947,43 +852,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - jobSummary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - jobTitleSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - searchTextSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - input.readMessage(getCommuteInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + jobSummary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + jobTitleSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + searchTextSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + input.readMessage( + getCommuteInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -996,33 +899,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -1033,8 +927,6 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1055,15 +947,14 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; */ - public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -1074,8 +965,6 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValu return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1086,9 +975,7 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -1100,8 +987,6 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1120,8 +1005,6 @@ public Builder clearJob() { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1129,13 +1012,11 @@ public Builder clearJob() { * .google.cloud.talent.v4beta1.Job job = 1; */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1146,12 +1027,11 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1159,17 +1039,14 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4beta1.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -1177,21 +1054,19 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobSummary_ = ""; /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return The jobSummary. */ public java.lang.String getJobSummary() { java.lang.Object ref = jobSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; @@ -1200,22 +1075,21 @@ public java.lang.String getJobSummary() { } } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ - public com.google.protobuf.ByteString getJobSummaryBytes() { + public com.google.protobuf.ByteString + getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -1223,64 +1097,57 @@ public com.google.protobuf.ByteString getJobSummaryBytes() { } } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @param value The jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummary(java.lang.String value) { + public Builder setJobSummary( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobSummary_ = value; onChanged(); return this; } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return This builder for chaining. */ public Builder clearJobSummary() { - + jobSummary_ = getDefaultInstance().getJobSummary(); onChanged(); return this; } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @param value The bytes for jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { + public Builder setJobSummaryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobSummary_ = value; onChanged(); return this; @@ -1288,8 +1155,6 @@ public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { private java.lang.Object jobTitleSnippet_ = ""; /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1297,13 +1162,13 @@ public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) {
        * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ public java.lang.String getJobTitleSnippet() { java.lang.Object ref = jobTitleSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; @@ -1312,8 +1177,6 @@ public java.lang.String getJobTitleSnippet() { } } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1321,14 +1184,15 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ - public com.google.protobuf.ByteString getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString + getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -1336,8 +1200,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() { } } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1345,22 +1207,20 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
        * 
* * string job_title_snippet = 3; - * * @param value The jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippet(java.lang.String value) { + public Builder setJobTitleSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTitleSnippet_ = value; onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1368,18 +1228,15 @@ public Builder setJobTitleSnippet(java.lang.String value) {
        * 
* * string job_title_snippet = 3; - * * @return This builder for chaining. */ public Builder clearJobTitleSnippet() { - + jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet(); onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1387,16 +1244,16 @@ public Builder clearJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; - * * @param value The bytes for jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setJobTitleSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTitleSnippet_ = value; onChanged(); return this; @@ -1404,8 +1261,6 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { private java.lang.Object searchTextSnippet_ = ""; /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1414,13 +1269,13 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) {
        * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ public java.lang.String getSearchTextSnippet() { java.lang.Object ref = searchTextSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; @@ -1429,8 +1284,6 @@ public java.lang.String getSearchTextSnippet() { } } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1439,14 +1292,15 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ - public com.google.protobuf.ByteString getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString + getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -1454,8 +1308,6 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() { } } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1464,22 +1316,20 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() {
        * 
* * string search_text_snippet = 4; - * * @param value The searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippet(java.lang.String value) { + public Builder setSearchTextSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchTextSnippet_ = value; onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1488,18 +1338,15 @@ public Builder setSearchTextSnippet(java.lang.String value) {
        * 
* * string search_text_snippet = 4; - * * @return This builder for chaining. */ public Builder clearSearchTextSnippet() { - + searchTextSnippet_ = getDefaultInstance().getSearchTextSnippet(); onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1508,16 +1355,16 @@ public Builder clearSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; - * * @param value The bytes for searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setSearchTextSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchTextSnippet_ = value; onChanged(); return this; @@ -1525,49 +1372,36 @@ public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> - commuteInfoBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> commuteInfoBuilder_; /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
        * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ public boolean hasCommuteInfo() { return commuteInfoBuilder_ != null || commuteInfo_ != null; } /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
        * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo() { if (commuteInfoBuilder_ == null) { - return commuteInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() - : commuteInfo_; + return commuteInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; } else { return commuteInfoBuilder_.getMessage(); } } /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1575,8 +1409,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommute
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder setCommuteInfo(
-          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
+      public Builder setCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1590,8 +1423,6 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1611,8 +1442,6 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1620,15 +1449,11 @@ public Builder setCommuteInfo(
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder mergeCommuteInfo(
-          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
+      public Builder mergeCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (commuteInfo_ != null) {
             commuteInfo_ =
-                com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder(
-                        commuteInfo_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_).mergeFrom(value).buildPartial();
           } else {
             commuteInfo_ = value;
           }
@@ -1640,8 +1465,6 @@ public Builder mergeCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1661,8 +1484,6 @@ public Builder clearCommuteInfo() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1670,15 +1491,12 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder
-          getCommuteInfoBuilder() {
-
+      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder() {
+        
         onChanged();
         return getCommuteInfoFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1686,19 +1504,15 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
-          getCommuteInfoOrBuilder() {
+      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
         if (commuteInfoBuilder_ != null) {
           return commuteInfoBuilder_.getMessageOrBuilder();
         } else {
-          return commuteInfo_ == null
-              ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()
-              : commuteInfo_;
+          return commuteInfo_ == null ?
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_;
         }
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1707,22 +1521,18 @@ public Builder clearCommuteInfo() {
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo,
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder,
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>
+          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> 
           getCommuteInfoFieldBuilder() {
         if (commuteInfoBuilder_ == null) {
-          commuteInfoBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo,
-                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder,
-                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>(
-                  getCommuteInfo(), getParentForChildren(), isClean());
+          commuteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>(
+                  getCommuteInfo(),
+                  getParentForChildren(),
+                  isClean());
           commuteInfo_ = null;
         }
         return commuteInfoBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1735,44 +1545,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)
-    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob();
     }
 
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public MatchingJob parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public MatchingJob parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1784,44 +1591,35 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CommuteInfoOrBuilder
-      extends
+  public interface CommuteInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ boolean hasJobLocation(); /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return The jobLocation. */ com.google.cloud.talent.v4beta1.Location getJobLocation(); /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1831,8 +1629,6 @@ public interface CommuteInfoOrBuilder com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1841,13 +1637,10 @@ public interface CommuteInfoOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1856,13 +1649,10 @@ public interface CommuteInfoOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1875,63 +1665,57 @@ public interface CommuteInfoOrBuilder
     com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Commute details related to this job.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo} */ - public static final class CommuteInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CommuteInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) CommuteInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteInfo.newBuilder() to construct. private CommuteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommuteInfo() {} + private CommuteInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommuteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); } public static final int JOB_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Location jobLocation_; /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ @java.lang.Override @@ -1939,25 +1723,18 @@ public boolean hasJobLocation() { return jobLocation_ != null; } /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return The jobLocation. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location getJobLocation() { - return jobLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; } /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1972,8 +1749,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1982,7 +1757,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -1990,8 +1764,6 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -2000,18 +1772,13 @@ public boolean hasTravelDuration() {
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -2027,7 +1794,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2039,7 +1805,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (jobLocation_ != null) {
         output.writeMessage(1, getJobLocation());
       }
@@ -2056,10 +1823,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (jobLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobLocation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJobLocation());
       }
       if (travelDuration_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getTravelDuration());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2069,21 +1838,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other =
-          (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj;
+      com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj;
 
       if (hasJobLocation() != other.hasJobLocation()) return false;
       if (hasJobLocation()) {
-        if (!getJobLocation().equals(other.getJobLocation())) return false;
+        if (!getJobLocation()
+            .equals(other.getJobLocation())) return false;
       }
       if (hasTravelDuration() != other.hasTravelDuration()) return false;
       if (hasTravelDuration()) {
-        if (!getTravelDuration().equals(other.getTravelDuration())) return false;
+        if (!getTravelDuration()
+            .equals(other.getTravelDuration())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2110,94 +1880,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2207,41 +1970,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Commute details related to this job.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2261,14 +2022,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance(); } @@ -2283,8 +2043,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo result = - new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo result = new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo(this); if (jobLocationBuilder_ == null) { result.jobLocation_ = jobLocation_; } else { @@ -2303,52 +2062,46 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other) { - if (other - == com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other) { + if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()) return this; if (other.hasJobLocation()) { mergeJobLocation(other.getJobLocation()); } @@ -2381,26 +2134,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2413,47 +2166,34 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> - jobLocationBuilder_; + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> jobLocationBuilder_; /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ public boolean hasJobLocation() { return jobLocationBuilder_ != null || jobLocation_ != null; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return The jobLocation. */ public com.google.cloud.talent.v4beta1.Location getJobLocation() { if (jobLocationBuilder_ == null) { - return jobLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; } else { return jobLocationBuilder_.getMessage(); } } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2474,8 +2214,6 @@ public Builder setJobLocation(com.google.cloud.talent.v4beta1.Location value) { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2494,8 +2232,6 @@ public Builder setJobLocation( return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2506,9 +2242,7 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4beta1.Location value) if (jobLocationBuilder_ == null) { if (jobLocation_ != null) { jobLocation_ = - com.google.cloud.talent.v4beta1.Location.newBuilder(jobLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Location.newBuilder(jobLocation_).mergeFrom(value).buildPartial(); } else { jobLocation_ = value; } @@ -2520,8 +2254,6 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4beta1.Location value) return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2540,8 +2272,6 @@ public Builder clearJobLocation() { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2549,13 +2279,11 @@ public Builder clearJobLocation() { * .google.cloud.talent.v4beta1.Location job_location = 1; */ public com.google.cloud.talent.v4beta1.Location.Builder getJobLocationBuilder() { - + onChanged(); return getJobLocationFieldBuilder().getBuilder(); } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2566,14 +2294,11 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder if (jobLocationBuilder_ != null) { return jobLocationBuilder_.getMessageOrBuilder(); } else { - return jobLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? + com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; } } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2581,17 +2306,14 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder * .google.cloud.talent.v4beta1.Location job_location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> getJobLocationFieldBuilder() { if (jobLocationBuilder_ == null) { - jobLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder>( - getJobLocation(), getParentForChildren(), isClean()); + jobLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>( + getJobLocation(), + getParentForChildren(), + isClean()); jobLocation_ = null; } return jobLocationBuilder_; @@ -2599,13 +2321,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - travelDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2614,15 +2331,12 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder
        * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2631,21 +2345,16 @@ public boolean hasTravelDuration() {
        * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2669,8 +2378,6 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2680,7 +2387,8 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration travel_duration = 2;
        */
-      public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTravelDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (travelDurationBuilder_ == null) {
           travelDuration_ = builderForValue.build();
           onChanged();
@@ -2691,8 +2399,6 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2706,9 +2412,7 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         if (travelDurationBuilder_ == null) {
           if (travelDuration_ != null) {
             travelDuration_ =
-                com.google.protobuf.Duration.newBuilder(travelDuration_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial();
           } else {
             travelDuration_ = value;
           }
@@ -2720,8 +2424,6 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2743,8 +2445,6 @@ public Builder clearTravelDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2755,13 +2455,11 @@ public Builder clearTravelDuration() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       public com.google.protobuf.Duration.Builder getTravelDurationBuilder() {
-
+        
         onChanged();
         return getTravelDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2775,14 +2473,11 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
         if (travelDurationBuilder_ != null) {
           return travelDurationBuilder_.getMessageOrBuilder();
         } else {
-          return travelDuration_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : travelDuration_;
+          return travelDuration_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : travelDuration_;
         }
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2793,22 +2488,18 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getTravelDurationFieldBuilder() {
         if (travelDurationBuilder_ == null) {
-          travelDurationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getTravelDuration(), getParentForChildren(), isClean());
+          travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getTravelDuration(),
+                  getParentForChildren(),
+                  isClean());
           travelDuration_ = null;
         }
         return travelDurationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2821,44 +2512,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
-    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo();
     }
 
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CommuteInfo parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CommuteInfo parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2870,184 +2558,146 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int MATCHING_JOBS_FIELD_NUMBER = 1;
-  private java.util.List
-      matchingJobs_;
+  private java.util.List matchingJobs_;
   /**
-   *
-   *
    * 
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List - getMatchingJobsList() { + public java.util.List getMatchingJobsList() { return matchingJobs_; } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + public java.util.List getMatchingJobsOrBuilderList() { return matchingJobs_; } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override public int getMatchingJobsCount() { return matchingJobs_.size(); } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { return matchingJobs_.get(index); } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder - getMatchingJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( + int index) { return matchingJobs_.get(index); } public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER = 2; - private java.util.List - histogramQueryResults_; + private java.util.List histogramQueryResults_; /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override - public java.util.List - getHistogramQueryResultsList() { + public java.util.List getHistogramQueryResultsList() { return histogramQueryResults_; } /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override - public java.util.List + public java.util.List getHistogramQueryResultsOrBuilderList() { return histogramQueryResults_; } /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override public int getHistogramQueryResultsCount() { return histogramQueryResults_.size(); } /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index) { return histogramQueryResults_.get(index); } /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder - getHistogramQueryResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( + int index) { return histogramQueryResults_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -3056,30 +2706,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -3090,8 +2740,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int LOCATION_FILTERS_FIELD_NUMBER = 4; private java.util.List locationFilters_; /** - * - * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3105,8 +2753,6 @@ public java.util.List getLocationFilte
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3116,13 +2762,11 @@ public java.util.List getLocationFilte
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3136,8 +2780,6 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3151,8 +2793,6 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3162,15 +2802,14 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
+  public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
+      int index) {
     return locationFilters_.get(index);
   }
 
   public static final int ESTIMATED_TOTAL_SIZE_FIELD_NUMBER = 5;
   private int estimatedTotalSize_;
   /**
-   *
-   *
    * 
    * An estimation of the number of jobs that match the specified query.
    * This number isn't guaranteed to be accurate. For accurate results,
@@ -3178,7 +2817,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
    * 
* * int32 estimated_total_size = 5; - * * @return The estimatedTotalSize. */ @java.lang.Override @@ -3189,14 +2827,11 @@ public int getEstimatedTotalSize() { public static final int TOTAL_SIZE_FIELD_NUMBER = 6; private int totalSize_; /** - * - * *
    * The precise result count with limit 100,000.
    * 
* * int32 total_size = 6; - * * @return The totalSize. */ @java.lang.Override @@ -3207,15 +2842,12 @@ public int getTotalSize() { public static final int METADATA_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -3223,26 +2855,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -3258,8 +2883,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER = 8;
   private int broadenedQueryJobsCount_;
   /**
-   *
-   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -3271,7 +2894,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
    * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -3282,14 +2904,11 @@ public int getBroadenedQueryJobsCount() { public static final int SPELL_CORRECTION_FIELD_NUMBER = 9; private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ @java.lang.Override @@ -3297,25 +2916,18 @@ public boolean hasSpellCorrection() { return spellCorrection_ != null; } /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection() { - return spellCorrection_ == null - ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; } /** - * - * *
    * The spell checking result, and correction.
    * 
@@ -3328,7 +2940,6 @@ public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorre } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3340,7 +2951,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < matchingJobs_.size(); i++) { output.writeMessage(1, matchingJobs_.get(i)); } @@ -3378,33 +2990,39 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < matchingJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchingJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, matchingJobs_.get(i)); } for (int i = 0; i < histogramQueryResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, histogramQueryResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, histogramQueryResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, locationFilters_.get(i)); } if (estimatedTotalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, estimatedTotalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, estimatedTotalSize_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, totalSize_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getMetadata()); } if (broadenedQueryJobsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, broadenedQueryJobsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, broadenedQueryJobsCount_); } if (spellCorrection_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSpellCorrection()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getSpellCorrection()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3414,28 +3032,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsResponse other = - (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; - - if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; - if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; - if (getEstimatedTotalSize() != other.getEstimatedTotalSize()) return false; - if (getTotalSize() != other.getTotalSize()) return false; + com.google.cloud.talent.v4beta1.SearchJobsResponse other = (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; + + if (!getMatchingJobsList() + .equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList() + .equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList() + .equals(other.getLocationFiltersList())) return false; + if (getEstimatedTotalSize() + != other.getEstimatedTotalSize()) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata().equals(other.getMetadata())) return false; + if (!getMetadata() + .equals(other.getMetadata())) return false; } - if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; + if (getBroadenedQueryJobsCount() + != other.getBroadenedQueryJobsCount()) return false; if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; + if (!getSpellCorrection() + .equals(other.getSpellCorrection())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3482,135 +3108,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for SearchJob method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse) com.google.cloud.talent.v4beta1.SearchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3659,9 +3279,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override @@ -3680,8 +3300,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse result = - new com.google.cloud.talent.v4beta1.SearchJobsResponse(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse result = new com.google.cloud.talent.v4beta1.SearchJobsResponse(this); int from_bitField0_ = bitField0_; if (matchingJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3732,39 +3351,38 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -3772,8 +3390,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance()) return this; if (matchingJobsBuilder_ == null) { if (!other.matchingJobs_.isEmpty()) { if (matchingJobs_.isEmpty()) { @@ -3792,10 +3409,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe matchingJobsBuilder_ = null; matchingJobs_ = other.matchingJobs_; bitField0_ = (bitField0_ & ~0x00000001); - matchingJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMatchingJobsFieldBuilder() - : null; + matchingJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchingJobsFieldBuilder() : null; } else { matchingJobsBuilder_.addAllMessages(other.matchingJobs_); } @@ -3819,10 +3435,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe histogramQueryResultsBuilder_ = null; histogramQueryResults_ = other.histogramQueryResults_; bitField0_ = (bitField0_ & ~0x00000002); - histogramQueryResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHistogramQueryResultsFieldBuilder() - : null; + histogramQueryResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHistogramQueryResultsFieldBuilder() : null; } else { histogramQueryResultsBuilder_.addAllMessages(other.histogramQueryResults_); } @@ -3850,10 +3465,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000004); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationFiltersFieldBuilder() - : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationFiltersFieldBuilder() : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -3900,90 +3514,85 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob m = - input.readMessage( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.parser(), - extensionRegistry); - if (matchingJobsBuilder_ == null) { - ensureMatchingJobsIsMutable(); - matchingJobs_.add(m); - } else { - matchingJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4beta1.HistogramQueryResult m = - input.readMessage( - com.google.cloud.talent.v4beta1.HistogramQueryResult.parser(), - extensionRegistry); - if (histogramQueryResultsBuilder_ == null) { - ensureHistogramQueryResultsIsMutable(); - histogramQueryResults_.add(m); - } else { - histogramQueryResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob m = + input.readMessage( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.parser(), + extensionRegistry); + if (matchingJobsBuilder_ == null) { + ensureMatchingJobsIsMutable(); + matchingJobs_.add(m); + } else { + matchingJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4beta1.HistogramQueryResult m = + input.readMessage( + com.google.cloud.talent.v4beta1.HistogramQueryResult.parser(), + extensionRegistry); + if (histogramQueryResultsBuilder_ == null) { + ensureHistogramQueryResultsIsMutable(); + histogramQueryResults_.add(m); + } else { + histogramQueryResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - com.google.cloud.talent.v4beta1.Location m = - input.readMessage( - com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: - { - estimatedTotalSize_ = input.readInt32(); + break; + } // case 26 + case 34: { + com.google.cloud.talent.v4beta1.Location m = + input.readMessage( + com.google.cloud.talent.v4beta1.Location.parser(), + extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: { + estimatedTotalSize_ = input.readInt32(); - break; - } // case 40 - case 48: - { - totalSize_ = input.readInt32(); + break; + } // case 40 + case 48: { + totalSize_ = input.readInt32(); - break; - } // case 48 - case 58: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 48 + case 58: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - case 64: - { - broadenedQueryJobsCount_ = input.readInt32(); + break; + } // case 58 + case 64: { + broadenedQueryJobsCount_ = input.readInt32(); - break; - } // case 64 - case 74: - { - input.readMessage(getSpellCorrectionFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 64 + case 74: { + input.readMessage( + getSpellCorrectionFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3993,39 +3602,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - matchingJobs_ = java.util.Collections.emptyList(); - + private java.util.List matchingJobs_ = + java.util.Collections.emptyList(); private void ensureMatchingJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - matchingJobs_ = - new java.util.ArrayList( - matchingJobs_); + matchingJobs_ = new java.util.ArrayList(matchingJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> - matchingJobsBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> matchingJobsBuilder_; - /** - * - * + /** *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List - getMatchingJobsList() { + public java.util.List getMatchingJobsList() { if (matchingJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchingJobs_); } else { @@ -4033,14 +3631,11 @@ private void ensureMatchingJobsIsMutable() { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public int getMatchingJobsCount() { if (matchingJobsBuilder_ == null) { @@ -4050,17 +3645,13 @@ public int getMatchingJobsCount() { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs( - int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { return matchingJobs_.get(index); } else { @@ -4068,14 +3659,11 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchin } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder setMatchingJobs( int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { @@ -4092,18 +3680,14 @@ public Builder setMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder setMatchingJobs( - int index, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.set(index, builderForValue.build()); @@ -4114,17 +3698,13 @@ public Builder setMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public Builder addMatchingJobs( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { + public Builder addMatchingJobs(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { if (matchingJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4138,14 +3718,11 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { @@ -4162,14 +3739,11 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { @@ -4183,18 +3757,14 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( - int index, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.add(index, builderForValue.build()); @@ -4205,21 +3775,18 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addAllMatchingJobs( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchingJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchingJobs_); onChanged(); } else { matchingJobsBuilder_.addAllMessages(values); @@ -4227,14 +3794,11 @@ public Builder addAllMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder clearMatchingJobs() { if (matchingJobsBuilder_ == null) { @@ -4247,14 +3811,11 @@ public Builder clearMatchingJobs() { return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder removeMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -4267,50 +3828,39 @@ public Builder removeMatchingJobs(int index) { return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder - getMatchingJobsBuilder(int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder( + int index) { return getMatchingJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder - getMatchingJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( + int index) { if (matchingJobsBuilder_ == null) { - return matchingJobs_.get(index); - } else { + return matchingJobs_.get(index); } else { return matchingJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> - getMatchingJobsOrBuilderList() { + public java.util.List + getMatchingJobsOrBuilderList() { if (matchingJobsBuilder_ != null) { return matchingJobsBuilder_.getMessageOrBuilderList(); } else { @@ -4318,101 +3868,75 @@ public Builder removeMatchingJobs(int index) { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder - addMatchingJobsBuilder() { - return getMatchingJobsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder() { + return getMatchingJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder - addMatchingJobsBuilder(int index) { - return getMatchingJobsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder( + int index) { + return getMatchingJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List - getMatchingJobsBuilderList() { + public java.util.List + getMatchingJobsBuilderList() { return getMatchingJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsFieldBuilder() { if (matchingJobsBuilder_ == null) { - matchingJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + matchingJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( + matchingJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; } - private java.util.List - histogramQueryResults_ = java.util.Collections.emptyList(); - + private java.util.List histogramQueryResults_ = + java.util.Collections.emptyList(); private void ensureHistogramQueryResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - histogramQueryResults_ = - new java.util.ArrayList( - histogramQueryResults_); + histogramQueryResults_ = new java.util.ArrayList(histogramQueryResults_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, - com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> - histogramQueryResultsBuilder_; + com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> histogramQueryResultsBuilder_; /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsList() { + public java.util.List getHistogramQueryResultsList() { if (histogramQueryResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(histogramQueryResults_); } else { @@ -4420,15 +3944,12 @@ private void ensureHistogramQueryResultsIsMutable() { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public int getHistogramQueryResultsCount() { if (histogramQueryResultsBuilder_ == null) { @@ -4438,18 +3959,14 @@ public int getHistogramQueryResultsCount() { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults( - int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { return histogramQueryResults_.get(index); } else { @@ -4457,15 +3974,12 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryRes } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult value) { @@ -4482,15 +3996,12 @@ public Builder setHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4504,18 +4015,14 @@ public Builder setHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public Builder addHistogramQueryResults( - com.google.cloud.talent.v4beta1.HistogramQueryResult value) { + public Builder addHistogramQueryResults(com.google.cloud.talent.v4beta1.HistogramQueryResult value) { if (histogramQueryResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4529,15 +4036,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult value) { @@ -4554,15 +4058,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4576,15 +4077,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4598,21 +4096,19 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder addAllHistogramQueryResults( java.lang.Iterable values) { if (histogramQueryResultsBuilder_ == null) { ensureHistogramQueryResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueryResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, histogramQueryResults_); onChanged(); } else { histogramQueryResultsBuilder_.addAllMessages(values); @@ -4620,15 +4116,12 @@ public Builder addAllHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder clearHistogramQueryResults() { if (histogramQueryResultsBuilder_ == null) { @@ -4641,15 +4134,12 @@ public Builder clearHistogramQueryResults() { return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder removeHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4662,52 +4152,42 @@ public Builder removeHistogramQueryResults(int index) { return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder - getHistogramQueryResultsBuilder(int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder getHistogramQueryResultsBuilder( + int index) { return getHistogramQueryResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder - getHistogramQueryResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( + int index) { if (histogramQueryResultsBuilder_ == null) { - return histogramQueryResults_.get(index); - } else { + return histogramQueryResults_.get(index); } else { return histogramQueryResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsOrBuilderList() { + public java.util.List + getHistogramQueryResultsOrBuilderList() { if (histogramQueryResultsBuilder_ != null) { return histogramQueryResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4715,65 +4195,48 @@ public Builder removeHistogramQueryResults(int index) { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder - addHistogramQueryResultsBuilder() { - return getHistogramQueryResultsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogramQueryResultsBuilder() { + return getHistogramQueryResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder - addHistogramQueryResultsBuilder(int index) { - return getHistogramQueryResultsFieldBuilder() - .addBuilder( - index, com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogramQueryResultsBuilder( + int index) { + return getHistogramQueryResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsBuilderList() { + public java.util.List + getHistogramQueryResultsBuilderList() { return getHistogramQueryResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, - com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> + com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> getHistogramQueryResultsFieldBuilder() { if (histogramQueryResultsBuilder_ == null) { - histogramQueryResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, - com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( + histogramQueryResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( histogramQueryResults_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4785,21 +4248,19 @@ public Builder removeHistogramQueryResults(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4808,22 +4269,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4831,89 +4291,75 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - locationFilters_ = - new java.util.ArrayList(locationFilters_); + locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> - locationFiltersBuilder_; + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> locationFiltersBuilder_; /** - * - * *
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4930,8 +4376,6 @@ public java.util.List getLocationFilte
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4948,8 +4392,6 @@ public int getLocationFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4966,8 +4408,6 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4976,7 +4416,8 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public Builder setLocationFilters(int index, com.google.cloud.talent.v4beta1.Location value) {
+    public Builder setLocationFilters(
+        int index, com.google.cloud.talent.v4beta1.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4990,8 +4431,6 @@ public Builder setLocationFilters(int index, com.google.cloud.talent.v4beta1.Loc
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5012,8 +4451,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5036,8 +4473,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.Location value
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5046,7 +4481,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.Location value
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public Builder addLocationFilters(int index, com.google.cloud.talent.v4beta1.Location value) {
+    public Builder addLocationFilters(
+        int index, com.google.cloud.talent.v4beta1.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5060,8 +4496,6 @@ public Builder addLocationFilters(int index, com.google.cloud.talent.v4beta1.Loc
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5082,8 +4516,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5104,8 +4536,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5118,7 +4548,8 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -5126,8 +4557,6 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5147,8 +4576,6 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5168,8 +4595,6 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5178,12 +4603,11 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilder(int index) {
+    public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilder(
+        int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5195,14 +4619,11 @@ public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilde
     public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);
-      } else {
+        return locationFilters_.get(index);  } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5211,8 +4632,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public java.util.List
-        getLocationFiltersOrBuilderList() {
+    public java.util.List 
+         getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -5220,8 +4641,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5231,12 +4650,10 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
     public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5245,13 +4662,12 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder(int index) {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+    public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder(
+        int index) {
+      return getLocationFiltersFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5260,22 +4676,16 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public java.util.List
-        getLocationFiltersBuilderList() {
+    public java.util.List 
+         getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.Location,
-            com.google.cloud.talent.v4beta1.Location.Builder,
-            com.google.cloud.talent.v4beta1.LocationOrBuilder>
+        com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.Location,
-                com.google.cloud.talent.v4beta1.Location.Builder,
-                com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -5285,10 +4695,8 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
       return locationFiltersBuilder_;
     }
 
-    private int estimatedTotalSize_;
+    private int estimatedTotalSize_ ;
     /**
-     *
-     *
      * 
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -5296,7 +4704,6 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      * 
* * int32 estimated_total_size = 5; - * * @return The estimatedTotalSize. */ @java.lang.Override @@ -5304,8 +4711,6 @@ public int getEstimatedTotalSize() { return estimatedTotalSize_; } /** - * - * *
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -5313,19 +4718,16 @@ public int getEstimatedTotalSize() {
      * 
* * int32 estimated_total_size = 5; - * * @param value The estimatedTotalSize to set. * @return This builder for chaining. */ public Builder setEstimatedTotalSize(int value) { - + estimatedTotalSize_ = value; onChanged(); return this; } /** - * - * *
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -5333,26 +4735,22 @@ public Builder setEstimatedTotalSize(int value) {
      * 
* * int32 estimated_total_size = 5; - * * @return This builder for chaining. */ public Builder clearEstimatedTotalSize() { - + estimatedTotalSize_ = 0; onChanged(); return this; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; - * * @return The totalSize. */ @java.lang.Override @@ -5360,36 +4758,30 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; @@ -5397,49 +4789,36 @@ public Builder clearTotalSize() { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5461,8 +4840,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5482,8 +4859,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5495,9 +4870,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -5509,8 +4882,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5530,8 +4901,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5540,13 +4909,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5558,14 +4925,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5574,26 +4938,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private int broadenedQueryJobsCount_;
+    private int broadenedQueryJobsCount_ ;
     /**
-     *
-     *
      * 
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5605,7 +4964,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -5613,8 +4971,6 @@ public int getBroadenedQueryJobsCount() { return broadenedQueryJobsCount_; } /** - * - * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5626,19 +4982,16 @@ public int getBroadenedQueryJobsCount() {
      * 
* * int32 broadened_query_jobs_count = 8; - * * @param value The broadenedQueryJobsCount to set. * @return This builder for chaining. */ public Builder setBroadenedQueryJobsCount(int value) { - + broadenedQueryJobsCount_ = value; onChanged(); return this; } /** - * - * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5650,11 +5003,10 @@ public Builder setBroadenedQueryJobsCount(int value) {
      * 
* * int32 broadened_query_jobs_count = 8; - * * @return This builder for chaining. */ public Builder clearBroadenedQueryJobsCount() { - + broadenedQueryJobsCount_ = 0; onChanged(); return this; @@ -5662,47 +5014,34 @@ public Builder clearBroadenedQueryJobsCount() { private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, - com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> - spellCorrectionBuilder_; + com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> spellCorrectionBuilder_; /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ public boolean hasSpellCorrection() { return spellCorrectionBuilder_ != null || spellCorrection_ != null; } /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ public com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection() { if (spellCorrectionBuilder_ == null) { - return spellCorrection_ == null - ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; } else { return spellCorrectionBuilder_.getMessage(); } } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5723,8 +5062,6 @@ public Builder setSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorrec return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5743,8 +5080,6 @@ public Builder setSpellCorrection( return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5755,9 +5090,7 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorr if (spellCorrectionBuilder_ == null) { if (spellCorrection_ != null) { spellCorrection_ = - com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder(spellCorrection_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder(spellCorrection_).mergeFrom(value).buildPartial(); } else { spellCorrection_ = value; } @@ -5769,8 +5102,6 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorr return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5789,8 +5120,6 @@ public Builder clearSpellCorrection() { return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5798,32 +5127,26 @@ public Builder clearSpellCorrection() { * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ public com.google.cloud.talent.v4beta1.SpellingCorrection.Builder getSpellCorrectionBuilder() { - + onChanged(); return getSpellCorrectionFieldBuilder().getBuilder(); } /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ - public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder - getSpellCorrectionOrBuilder() { + public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder() { if (spellCorrectionBuilder_ != null) { return spellCorrectionBuilder_.getMessageOrBuilder(); } else { - return spellCorrection_ == null - ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? + com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; } } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5831,24 +5154,21 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection.Builder getSpellCorrec * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, - com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> + com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> getSpellCorrectionFieldBuilder() { if (spellCorrectionBuilder_ == null) { - spellCorrectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, - com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder>( - getSpellCorrection(), getParentForChildren(), isClean()); + spellCorrectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder>( + getSpellCorrection(), + getParentForChildren(), + isClean()); spellCorrection_ = null; } return spellCorrectionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5858,12 +5178,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse) private static final com.google.cloud.talent.v4beta1.SearchJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse(); } @@ -5872,27 +5192,27 @@ public static com.google.cloud.talent.v4beta1.SearchJobsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5907,4 +5227,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SearchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java similarity index 85% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java index d63f49648e9b..c0cf4d300fda 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java @@ -1,181 +1,128 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface SearchJobsResponseOrBuilder - extends +public interface SearchJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List + java.util.List getMatchingJobsList(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ int getMatchingJobsCount(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List + java.util.List getMatchingJobsOrBuilderList(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( int index); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - java.util.List + java.util.List getHistogramQueryResultsList(); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ int getHistogramQueryResultsCount(); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - java.util.List + java.util.List getHistogramQueryResultsOrBuilderList(); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( int index); /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -184,10 +131,9 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  java.util.List getLocationFiltersList();
+  java.util.List 
+      getLocationFiltersList();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -198,8 +144,6 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    */
   com.google.cloud.talent.v4beta1.Location getLocationFilters(int index);
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -210,8 +154,6 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    */
   int getLocationFiltersCount();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -220,11 +162,9 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  java.util.List
+  java.util.List 
       getLocationFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -233,11 +173,10 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(int index);
+  com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * An estimation of the number of jobs that match the specified query.
    * This number isn't guaranteed to be accurate. For accurate results,
@@ -245,53 +184,41 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    * 
* * int32 estimated_total_size = 5; - * * @return The estimatedTotalSize. */ int getEstimatedTotalSize(); /** - * - * *
    * The precise result count with limit 100,000.
    * 
* * int32 total_size = 6; - * * @return The totalSize. */ int getTotalSize(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -302,8 +229,6 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
   com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -315,38 +240,29 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ int getBroadenedQueryJobsCount(); /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ boolean hasSpellCorrection(); /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection(); /** - * - * *
    * The spell checking result, and correction.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java similarity index 71% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java index f139abd15133..8146b4382e69 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Spell check result.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SpellingCorrection} */ -public final class SpellingCorrection extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpellingCorrection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SpellingCorrection) SpellingCorrectionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpellingCorrection.newBuilder() to construct. private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpellingCorrection() { correctedText_ = ""; correctedHtml_ = ""; @@ -44,41 +26,37 @@ private SpellingCorrection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpellingCorrection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SpellingCorrection.class, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4beta1.SpellingCorrection.class, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); } public static final int CORRECTED_FIELD_NUMBER = 1; private boolean corrected_; /** - * - * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; - * * @return The corrected. */ @java.lang.Override @@ -89,14 +67,11 @@ public boolean getCorrected() { public static final int CORRECTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object correctedText_; /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The correctedText. */ @java.lang.Override @@ -105,29 +80,29 @@ public java.lang.String getCorrectedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; } } /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ @java.lang.Override - public com.google.protobuf.ByteString getCorrectedTextBytes() { + public com.google.protobuf.ByteString + getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedText_ = b; return b; } else { @@ -138,8 +113,6 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() { public static final int CORRECTED_HTML_FIELD_NUMBER = 3; private volatile java.lang.Object correctedHtml_; /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -150,7 +123,6 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() {
    * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ @java.lang.Override @@ -159,15 +131,14 @@ public java.lang.String getCorrectedHtml() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; } } /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -178,15 +149,16 @@ public java.lang.String getCorrectedHtml() {
    * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ @java.lang.Override - public com.google.protobuf.ByteString getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString + getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -195,7 +167,6 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (corrected_ != false) { output.writeBool(1, corrected_); } @@ -227,7 +199,8 @@ public int getSerializedSize() { size = 0; if (corrected_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, corrected_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, corrected_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correctedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, correctedText_); @@ -243,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SpellingCorrection)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SpellingCorrection other = - (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; + com.google.cloud.talent.v4beta1.SpellingCorrection other = (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; - if (getCorrected() != other.getCorrected()) return false; - if (!getCorrectedText().equals(other.getCorrectedText())) return false; - if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; + if (getCorrected() + != other.getCorrected()) return false; + if (!getCorrectedText() + .equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml() + .equals(other.getCorrectedHtml())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,7 +241,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCorrected()); hash = (37 * hash) + CORRECTED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getCorrectedText().hashCode(); hash = (37 * hash) + CORRECTED_HTML_FIELD_NUMBER; @@ -277,135 +253,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.SpellingCorrection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Spell check result.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SpellingCorrection} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SpellingCorrection) com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SpellingCorrection.class, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4beta1.SpellingCorrection.class, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override @@ -440,8 +410,7 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { - com.google.cloud.talent.v4beta1.SpellingCorrection result = - new com.google.cloud.talent.v4beta1.SpellingCorrection(this); + com.google.cloud.talent.v4beta1.SpellingCorrection result = new com.google.cloud.talent.v4beta1.SpellingCorrection(this); result.corrected_ = corrected_; result.correctedText_ = correctedText_; result.correctedHtml_ = correctedHtml_; @@ -453,39 +422,38 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SpellingCorrection) { - return mergeFrom((com.google.cloud.talent.v4beta1.SpellingCorrection) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SpellingCorrection)other); } else { super.mergeFrom(other); return this; @@ -493,8 +461,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SpellingCorrection other) { - if (other == com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance()) return this; if (other.getCorrected() != false) { setCorrected(other.getCorrected()); } @@ -532,31 +499,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - corrected_ = input.readBool(); - - break; - } // case 8 - case 18: - { - correctedText_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - correctedHtml_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + corrected_ = input.readBool(); + + break; + } // case 8 + case 18: { + correctedText_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + correctedHtml_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,16 +530,13 @@ public Builder mergeFrom( return this; } - private boolean corrected_; + private boolean corrected_ ; /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @return The corrected. */ @java.lang.Override @@ -584,36 +544,30 @@ public boolean getCorrected() { return corrected_; } /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @param value The corrected to set. * @return This builder for chaining. */ public Builder setCorrected(boolean value) { - + corrected_ = value; onChanged(); return this; } /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @return This builder for chaining. */ public Builder clearCorrected() { - + corrected_ = false; onChanged(); return this; @@ -621,20 +575,18 @@ public Builder clearCorrected() { private java.lang.Object correctedText_ = ""; /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return The correctedText. */ public java.lang.String getCorrectedText() { java.lang.Object ref = correctedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; @@ -643,21 +595,20 @@ public java.lang.String getCorrectedText() { } } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ - public com.google.protobuf.ByteString getCorrectedTextBytes() { + public com.google.protobuf.ByteString + getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedText_ = b; return b; } else { @@ -665,61 +616,54 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() { } } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @param value The correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedText(java.lang.String value) { + public Builder setCorrectedText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedText_ = value; onChanged(); return this; } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return This builder for chaining. */ public Builder clearCorrectedText() { - + correctedText_ = getDefaultInstance().getCorrectedText(); onChanged(); return this; } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @param value The bytes for correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { + public Builder setCorrectedTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedText_ = value; onChanged(); return this; @@ -727,8 +671,6 @@ public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object correctedHtml_ = ""; /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -739,13 +681,13 @@ public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) {
      * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ public java.lang.String getCorrectedHtml() { java.lang.Object ref = correctedHtml_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; @@ -754,8 +696,6 @@ public java.lang.String getCorrectedHtml() { } } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -766,14 +706,15 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ - public com.google.protobuf.ByteString getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString + getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -781,8 +722,6 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() { } } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -793,22 +732,20 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() {
      * 
* * string corrected_html = 3; - * * @param value The correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtml(java.lang.String value) { + public Builder setCorrectedHtml( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedHtml_ = value; onChanged(); return this; } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -819,18 +756,15 @@ public Builder setCorrectedHtml(java.lang.String value) {
      * 
* * string corrected_html = 3; - * * @return This builder for chaining. */ public Builder clearCorrectedHtml() { - + correctedHtml_ = getDefaultInstance().getCorrectedHtml(); onChanged(); return this; } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -841,23 +775,23 @@ public Builder clearCorrectedHtml() {
      * 
* * string corrected_html = 3; - * * @param value The bytes for correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { + public Builder setCorrectedHtmlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedHtml_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SpellingCorrection) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SpellingCorrection) private static final com.google.cloud.talent.v4beta1.SpellingCorrection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SpellingCorrection(); } @@ -881,27 +815,27 @@ public static com.google.cloud.talent.v4beta1.SpellingCorrection getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpellingCorrection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpellingCorrection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -916,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SpellingCorrection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java index 480b7df7b017..566923fcb56b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java @@ -1,69 +1,43 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface SpellingCorrectionOrBuilder - extends +public interface SpellingCorrectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SpellingCorrection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; - * * @return The corrected. */ boolean getCorrected(); /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The correctedText. */ java.lang.String getCorrectedText(); /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ - com.google.protobuf.ByteString getCorrectedTextBytes(); + com.google.protobuf.ByteString + getCorrectedTextBytes(); /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -74,13 +48,10 @@ public interface SpellingCorrectionOrBuilder
    * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ java.lang.String getCorrectedHtml(); /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -91,8 +62,8 @@ public interface SpellingCorrectionOrBuilder
    * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ - com.google.protobuf.ByteString getCorrectedHtmlBytes(); + com.google.protobuf.ByteString + getCorrectedHtmlBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java index cf1f2a4bfe03..0bc9a4537f45 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * A Tenant resource represents a tenant in the service. A tenant is a group or
  * entity that shares common access with specific privileges for resources like
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Tenant}
  */
-public final class Tenant extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tenant extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Tenant)
     TenantOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tenant.newBuilder() to construct.
   private Tenant(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tenant() {
     name_ = "";
     externalId_ = "";
@@ -49,43 +31,39 @@ private Tenant() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tenant();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.TenantResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.TenantResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Tenant.class,
-            com.google.cloud.talent.v4beta1.Tenant.Builder.class);
+            com.google.cloud.talent.v4beta1.Tenant.class, com.google.cloud.talent.v4beta1.Tenant.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Enum that represents how user data owned by the tenant is used.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.Tenant.DataUsageType} */ - public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum { + public enum DataUsageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -94,8 +72,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_USAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Data owned by this tenant is used to improve search/recommendation
      * quality across tenants.
@@ -105,8 +81,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum {
      */
     AGGREGATED(1),
     /**
-     *
-     *
      * 
      * Data owned by this tenant is used to improve search/recommendation
      * quality for this tenant only.
@@ -119,8 +93,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -129,8 +101,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_USAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Data owned by this tenant is used to improve search/recommendation
      * quality across tenants.
@@ -140,8 +110,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AGGREGATED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Data owned by this tenant is used to improve search/recommendation
      * quality for this tenant only.
@@ -151,6 +119,7 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ISOLATED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -175,49 +144,49 @@ public static DataUsageType valueOf(int value) {
      */
     public static DataUsageType forNumber(int value) {
       switch (value) {
-        case 0:
-          return DATA_USAGE_TYPE_UNSPECIFIED;
-        case 1:
-          return AGGREGATED;
-        case 2:
-          return ISOLATED;
-        default:
-          return null;
+        case 0: return DATA_USAGE_TYPE_UNSPECIFIED;
+        case 1: return AGGREGATED;
+        case 2: return ISOLATED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DataUsageType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DataUsageType findValueByNumber(int number) {
+              return DataUsageType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DataUsageType findValueByNumber(int number) {
-            return DataUsageType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4beta1.Tenant.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DataUsageType[] VALUES = values();
 
-    public static DataUsageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DataUsageType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -237,8 +206,6 @@ private DataUsageType(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -248,7 +215,6 @@ private DataUsageType(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -257,15 +223,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -275,15 +240,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -294,15 +260,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ @java.lang.Override @@ -311,30 +274,30 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -345,8 +308,6 @@ public com.google.protobuf.ByteString getExternalIdBytes() { public static final int USAGE_TYPE_FIELD_NUMBER = 3; private int usageType_; /** - * - * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -354,16 +315,12 @@ public com.google.protobuf.ByteString getExternalIdBytes() {
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The enum numeric value on the wire for usageType. */ - @java.lang.Override - public int getUsageTypeValue() { + @java.lang.Override public int getUsageTypeValue() { return usageType_; } /** - * - * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -371,24 +328,17 @@ public int getUsageTypeValue() {
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The usageType. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = - com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); - return result == null - ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); + return result == null ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED : result; } public static final int KEYWORD_SEARCHABLE_PROFILE_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_; /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -399,15 +349,13 @@ public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return A list containing the keywordSearchableProfileCustomAttributes. */ - public com.google.protobuf.ProtocolStringList getKeywordSearchableProfileCustomAttributesList() { + public com.google.protobuf.ProtocolStringList + getKeywordSearchableProfileCustomAttributesList() { return keywordSearchableProfileCustomAttributes_; } /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -418,15 +366,12 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableProfileCustomA
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return The count of keywordSearchableProfileCustomAttributes. */ public int getKeywordSearchableProfileCustomAttributesCount() { return keywordSearchableProfileCustomAttributes_.size(); } /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -437,7 +382,6 @@ public int getKeywordSearchableProfileCustomAttributesCount() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ @@ -445,8 +389,6 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) { return keywordSearchableProfileCustomAttributes_.get(index); } /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -457,17 +399,15 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes( - int index) { + public com.google.protobuf.ByteString + getKeywordSearchableProfileCustomAttributesBytes(int index) { return keywordSearchableProfileCustomAttributes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -479,21 +419,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, externalId_); } - if (usageType_ - != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (usageType_ != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, usageType_); } for (int i = 0; i < keywordSearchableProfileCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, keywordSearchableProfileCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keywordSearchableProfileCustomAttributes_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -510,10 +448,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, externalId_); } - if (usageType_ - != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, usageType_); + if (usageType_ != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, usageType_); } { int dataSize = 0; @@ -531,15 +468,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Tenant)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Tenant other = (com.google.cloud.talent.v4beta1.Tenant) obj; - if (!getName().equals(other.getName())) return false; - if (!getExternalId().equals(other.getExternalId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getExternalId() + .equals(other.getExternalId())) return false; if (usageType_ != other.usageType_) return false; if (!getKeywordSearchableProfileCustomAttributesList() .equals(other.getKeywordSearchableProfileCustomAttributesList())) return false; @@ -569,104 +508,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Tenant parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Tenant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Tenant resource represents a tenant in the service. A tenant is a group or
    * entity that shares common access with specific privileges for resources like
@@ -676,32 +608,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Tenant}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Tenant)
       com.google.cloud.talent.v4beta1.TenantOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Tenant.class,
-              com.google.cloud.talent.v4beta1.Tenant.Builder.class);
+              com.google.cloud.talent.v4beta1.Tenant.class, com.google.cloud.talent.v4beta1.Tenant.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Tenant.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -717,9 +650,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
     }
 
     @java.lang.Override
@@ -738,15 +671,13 @@ public com.google.cloud.talent.v4beta1.Tenant build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.Tenant buildPartial() {
-      com.google.cloud.talent.v4beta1.Tenant result =
-          new com.google.cloud.talent.v4beta1.Tenant(this);
+      com.google.cloud.talent.v4beta1.Tenant result = new com.google.cloud.talent.v4beta1.Tenant(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.externalId_ = externalId_;
       result.usageType_ = usageType_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableProfileCustomAttributes_ =
-            keywordSearchableProfileCustomAttributes_.getUnmodifiableView();
+        keywordSearchableProfileCustomAttributes_ = keywordSearchableProfileCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableProfileCustomAttributes_ = keywordSearchableProfileCustomAttributes_;
@@ -758,39 +689,38 @@ public com.google.cloud.talent.v4beta1.Tenant buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Tenant) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Tenant) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Tenant)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -812,13 +742,11 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Tenant other) {
       }
       if (!other.keywordSearchableProfileCustomAttributes_.isEmpty()) {
         if (keywordSearchableProfileCustomAttributes_.isEmpty()) {
-          keywordSearchableProfileCustomAttributes_ =
-              other.keywordSearchableProfileCustomAttributes_;
+          keywordSearchableProfileCustomAttributes_ = other.keywordSearchableProfileCustomAttributes_;
           bitField0_ = (bitField0_ & ~0x00000001);
         } else {
           ensureKeywordSearchableProfileCustomAttributesIsMutable();
-          keywordSearchableProfileCustomAttributes_.addAll(
-              other.keywordSearchableProfileCustomAttributes_);
+          keywordSearchableProfileCustomAttributes_.addAll(other.keywordSearchableProfileCustomAttributes_);
         }
         onChanged();
       }
@@ -848,38 +776,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                externalId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                usageType_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureKeywordSearchableProfileCustomAttributesIsMutable();
-                keywordSearchableProfileCustomAttributes_.add(s);
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              externalId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              usageType_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureKeywordSearchableProfileCustomAttributesIsMutable();
+              keywordSearchableProfileCustomAttributes_.add(s);
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -889,13 +812,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -905,13 +825,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -920,8 +840,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -931,14 +849,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -946,8 +865,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -957,22 +874,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -982,18 +897,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -1003,16 +915,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1020,21 +932,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalId_ = ""; /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -1043,22 +953,21 @@ public java.lang.String getExternalId() { } } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -1066,64 +975,57 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId(java.lang.String value) { + public Builder setExternalId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -1131,8 +1033,6 @@ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { private int usageType_ = 0; /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1140,16 +1040,12 @@ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The enum numeric value on the wire for usageType. */ - @java.lang.Override - public int getUsageTypeValue() { + @java.lang.Override public int getUsageTypeValue() { return usageType_; } /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1157,19 +1053,16 @@ public int getUsageTypeValue() {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @param value The enum numeric value on the wire for usageType to set. * @return This builder for chaining. */ public Builder setUsageTypeValue(int value) { - + usageType_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1177,21 +1070,15 @@ public Builder setUsageTypeValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The usageType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = - com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); - return result == null - ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); + return result == null ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1199,7 +1086,6 @@ public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @param value The usageType to set. * @return This builder for chaining. */ @@ -1207,14 +1093,12 @@ public Builder setUsageType(com.google.cloud.talent.v4beta1.Tenant.DataUsageType if (value == null) { throw new NullPointerException(); } - + usageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1222,29 +1106,23 @@ public Builder setUsageType(com.google.cloud.talent.v4beta1.Tenant.DataUsageType
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return This builder for chaining. */ public Builder clearUsageType() { - + usageType_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeywordSearchableProfileCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableProfileCustomAttributes_ = - new com.google.protobuf.LazyStringArrayList(keywordSearchableProfileCustomAttributes_); + keywordSearchableProfileCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableProfileCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1255,7 +1133,6 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return A list containing the keywordSearchableProfileCustomAttributes. */ public com.google.protobuf.ProtocolStringList @@ -1263,8 +1140,6 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() { return keywordSearchableProfileCustomAttributes_.getUnmodifiableView(); } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1275,15 +1150,12 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return The count of keywordSearchableProfileCustomAttributes. */ public int getKeywordSearchableProfileCustomAttributesCount() { return keywordSearchableProfileCustomAttributes_.size(); } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1294,7 +1166,6 @@ public int getKeywordSearchableProfileCustomAttributesCount() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ @@ -1302,8 +1173,6 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) { return keywordSearchableProfileCustomAttributes_.get(index); } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1314,17 +1183,14 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes( - int index) { + public com.google.protobuf.ByteString + getKeywordSearchableProfileCustomAttributesBytes(int index) { return keywordSearchableProfileCustomAttributes_.getByteString(index); } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1335,23 +1201,21 @@ public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttribute
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index to set the value at. * @param value The keywordSearchableProfileCustomAttributes to set. * @return This builder for chaining. */ - public Builder setKeywordSearchableProfileCustomAttributes(int index, java.lang.String value) { + public Builder setKeywordSearchableProfileCustomAttributes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableProfileCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1362,22 +1226,20 @@ public Builder setKeywordSearchableProfileCustomAttributes(int index, java.lang.
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param value The keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableProfileCustomAttributes(java.lang.String value) { + public Builder addKeywordSearchableProfileCustomAttributes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableProfileCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1388,7 +1250,6 @@ public Builder addKeywordSearchableProfileCustomAttributes(java.lang.String valu
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param values The keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ @@ -1401,8 +1262,6 @@ public Builder addAllKeywordSearchableProfileCustomAttributes( return this; } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1413,7 +1272,6 @@ public Builder addAllKeywordSearchableProfileCustomAttributes(
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return This builder for chaining. */ public Builder clearKeywordSearchableProfileCustomAttributes() { @@ -1423,8 +1281,6 @@ public Builder clearKeywordSearchableProfileCustomAttributes() { return this; } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1435,24 +1291,23 @@ public Builder clearKeywordSearchableProfileCustomAttributes() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param value The bytes of the keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ public Builder addKeywordSearchableProfileCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1462,12 +1317,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Tenant) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Tenant) private static final com.google.cloud.talent.v4beta1.Tenant DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Tenant(); } @@ -1476,27 +1331,27 @@ public static com.google.cloud.talent.v4beta1.Tenant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tenant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tenant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1511,4 +1366,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Tenant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java similarity index 83% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java index 3e742a8d0842..dd77b8ebddae 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant.proto package com.google.cloud.talent.v4beta1; -public interface TenantOrBuilder - extends +public interface TenantOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Tenant) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -35,13 +17,10 @@ public interface TenantOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -51,41 +30,34 @@ public interface TenantOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ java.lang.String getExternalId(); /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - com.google.protobuf.ByteString getExternalIdBytes(); + com.google.protobuf.ByteString + getExternalIdBytes(); /** - * - * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -93,13 +65,10 @@ public interface TenantOrBuilder
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The enum numeric value on the wire for usageType. */ int getUsageTypeValue(); /** - * - * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -107,14 +76,11 @@ public interface TenantOrBuilder
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The usageType. */ com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType(); /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -125,13 +91,11 @@ public interface TenantOrBuilder
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return A list containing the keywordSearchableProfileCustomAttributes. */ - java.util.List getKeywordSearchableProfileCustomAttributesList(); + java.util.List + getKeywordSearchableProfileCustomAttributesList(); /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -142,13 +106,10 @@ public interface TenantOrBuilder
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return The count of keywordSearchableProfileCustomAttributes. */ int getKeywordSearchableProfileCustomAttributesCount(); /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -159,14 +120,11 @@ public interface TenantOrBuilder
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ java.lang.String getKeywordSearchableProfileCustomAttributes(int index); /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -177,9 +135,9 @@ public interface TenantOrBuilder
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes(int index); + com.google.protobuf.ByteString + getKeywordSearchableProfileCustomAttributesBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java new file mode 100644 index 000000000000..31ba88ad4a46 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java @@ -0,0 +1,70 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant.proto + +package com.google.cloud.talent.v4beta1; + +public final class TenantResourceProto { + private TenantResourceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/talent/v4beta1/tenant.pro" + + "to\022\033google.cloud.talent.v4beta1\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\"\303\002\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013" + + "external_id\030\002 \001(\tB\003\340A\002\022E\n\nusage_type\030\003 \001" + + "(\01621.google.cloud.talent.v4beta1.Tenant." + + "DataUsageType\0224\n,keyword_searchable_prof" + + "ile_custom_attributes\030\004 \003(\t\"N\n\rDataUsage" + + "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" + + "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" + + "oogleapis.com/Tenant\022#projects/{project}" + + "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" + + "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor, + new java.lang.String[] { "Name", "ExternalId", "UsageType", "KeywordSearchableProfileCustomAttributes", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java new file mode 100644 index 000000000000..a0b1d6283d02 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java @@ -0,0 +1,180 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class TenantServiceProto { + private TenantServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/talent/v4beta1/tenant_ser" + + "vice.proto\022\033google.cloud.talent.v4beta1\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032(goog" + + "le/cloud/talent/v4beta1/common.proto\032(go" + + "ogle/cloud/talent/v4beta1/tenant.proto\032\033" + + "google/protobuf/empty.proto\032 google/prot" + + "obuf/field_mask.proto\"\224\001\n\023CreateTenantRe" + + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + + "urcemanager.googleapis.com/Project\0228\n\006te" + + "nant\030\002 \001(\0132#.google.cloud.talent.v4beta1" + + ".TenantB\003\340A\002\"D\n\020GetTenantRequest\0220\n\004name" + + "\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/Tena" + + "nt\"\200\001\n\023UpdateTenantRequest\0228\n\006tenant\030\001 \001" + + "(\0132#.google.cloud.talent.v4beta1.TenantB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"G\n\023DeleteTenantRequest\0220\n\004" + + "name\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/" + + "Tenant\"\200\001\n\022ListTenantsRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + + "leapis.com/Project\022\022\n\npage_token\030\002 \001(\t\022\021" + + "\n\tpage_size\030\003 \001(\005\"\245\001\n\023ListTenantsRespons" + + "e\0224\n\007tenants\030\001 \003(\0132#.google.cloud.talent" + + ".v4beta1.Tenant\022\027\n\017next_page_token\030\002 \001(\t" + + "\022?\n\010metadata\030\003 \001(\0132-.google.cloud.talent" + + ".v4beta1.ResponseMetadata2\240\007\n\rTenantServ" + + "ice\022\246\001\n\014CreateTenant\0220.google.cloud.tale" + + "nt.v4beta1.CreateTenantRequest\032#.google." + + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\002)\"$/v4" + + "beta1/{parent=projects/*}/tenants:\001*\332A\rp" + + "arent,tenant\022\224\001\n\tGetTenant\022-.google.clou" + + "d.talent.v4beta1.GetTenantRequest\032#.goog" + + "le.cloud.talent.v4beta1.Tenant\"3\202\323\344\223\002&\022$" + + "/v4beta1/{name=projects/*/tenants/*}\332A\004n" + + "ame\022\246\001\n\014UpdateTenant\0220.google.cloud.tale" + + "nt.v4beta1.UpdateTenantRequest\032#.google." + + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\00202+/v4" + + "beta1/{tenant.name=projects/*/tenants/*}" + + ":\001*\332A\006tenant\022\215\001\n\014DeleteTenant\0220.google.c" + + "loud.talent.v4beta1.DeleteTenantRequest\032" + + "\026.google.protobuf.Empty\"3\202\323\344\223\002&*$/v4beta" + + "1/{name=projects/*/tenants/*}\332A\004name\022\247\001\n" + + "\013ListTenants\022/.google.cloud.talent.v4bet" + + "a1.ListTenantsRequest\0320.google.cloud.tal" + + "ent.v4beta1.ListTenantsResponse\"5\202\323\344\223\002&\022" + + "$/v4beta1/{parent=projects/*}/tenants\332A\006" + + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + + "/www.googleapis.com/auth/cloud-platform," + + "https://www.googleapis.com/auth/jobsB\200\001\n" + + "\037com.google.cloud.talent.v4beta1B\022Tenant" + + "ServiceProtoP\001ZAgoogle.golang.org/genpro" + + "to/googleapis/cloud/talent/v4beta1;talen" + + "t\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor, + new java.lang.String[] { "Parent", "Tenant", }); + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor, + new java.lang.String[] { "Tenant", "UpdateMask", }); + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", }); + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor, + new java.lang.String[] { "Tenants", "NextPageToken", "Metadata", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java index b740f4ebfc45..f0f1e9762e33 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Message representing a period of time between two timestamps.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.TimestampRange} */ -public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimestampRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.TimestampRange) TimestampRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimestampRange() {} + private TimestampRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimestampRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.TimestampRange.class, - com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); + com.google.cloud.talent.v4beta1.TimestampRange.class, com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Begin of the period (inclusive).
    * 
@@ -114,14 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -129,14 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -144,8 +112,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * End of the period (exclusive).
    * 
@@ -158,7 +124,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -187,10 +153,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.TimestampRange)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.TimestampRange other = - (com.google.cloud.talent.v4beta1.TimestampRange) obj; + com.google.cloud.talent.v4beta1.TimestampRange other = (com.google.cloud.talent.v4beta1.TimestampRange) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -240,136 +209,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message representing a period of time between two timestamps.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.TimestampRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.TimestampRange) com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.TimestampRange.class, - com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); + com.google.cloud.talent.v4beta1.TimestampRange.class, com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.TimestampRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override @@ -410,8 +373,7 @@ public com.google.cloud.talent.v4beta1.TimestampRange build() { @java.lang.Override public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { - com.google.cloud.talent.v4beta1.TimestampRange result = - new com.google.cloud.talent.v4beta1.TimestampRange(this); + com.google.cloud.talent.v4beta1.TimestampRange result = new com.google.cloud.talent.v4beta1.TimestampRange(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -430,39 +392,38 @@ public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.TimestampRange) { - return mergeFrom((com.google.cloud.talent.v4beta1.TimestampRange) other); + return mergeFrom((com.google.cloud.talent.v4beta1.TimestampRange)other); } else { super.mergeFrom(other); return this; @@ -503,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,33 +496,24 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -571,8 +524,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -593,15 +544,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -612,8 +562,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -624,7 +572,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -636,8 +584,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -656,8 +602,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -665,13 +609,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -682,12 +624,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -695,17 +636,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -713,33 +651,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -750,8 +679,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -772,15 +699,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -791,8 +717,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -803,7 +727,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -815,8 +739,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -835,8 +757,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -844,13 +764,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -861,12 +779,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -874,24 +791,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -901,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.TimestampRange) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.TimestampRange) private static final com.google.cloud.talent.v4beta1.TimestampRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.TimestampRange(); } @@ -915,27 +829,27 @@ public static com.google.cloud.talent.v4beta1.TimestampRange getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java similarity index 67% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java index 022cab467503..2b17343b561b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface TimestampRangeOrBuilder - extends +public interface TimestampRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.TimestampRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Begin of the period (inclusive).
    * 
@@ -59,32 +35,24 @@ public interface TimestampRangeOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * End of the period (exclusive).
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java index 81d90150e8f5..52cccfa9f47a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java @@ -1,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request for updating a specified company.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateCompanyRequest} */ -public final class UpdateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateCompanyRequest) UpdateCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCompanyRequest.newBuilder() to construct. private UpdateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCompanyRequest() {} + private UpdateCompanyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); } public static final int COMPANY_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Company company_; /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ @java.lang.Override @@ -85,34 +62,23 @@ public boolean hasCompany() { return company_ != null; } /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company getCompany() { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @@ -122,8 +88,6 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -133,7 +97,6 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -141,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -152,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -160,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -178,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (company_ != null) {
       output.writeMessage(1, getCompany());
     }
@@ -207,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (company_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCompany());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCompany());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -220,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateCompanyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateCompanyRequest other =
-        (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateCompanyRequest other = (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj;
 
     if (hasCompany() != other.hasCompany()) return false;
     if (hasCompany()) {
-      if (!getCompany().equals(other.getCompany())) return false;
+      if (!getCompany()
+          .equals(other.getCompany())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -261,135 +222,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateCompanyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request for updating a specified company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateCompanyRequest) com.google.cloud.talent.v4beta1.UpdateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override @@ -430,8 +385,7 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateCompanyRequest result = - new com.google.cloud.talent.v4beta1.UpdateCompanyRequest(this); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest result = new com.google.cloud.talent.v4beta1.UpdateCompanyRequest(this); if (companyBuilder_ == null) { result.company_ = company_; } else { @@ -450,39 +404,38 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -490,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance()) return this; if (other.hasCompany()) { mergeCompany(other.getCompany()); } @@ -524,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getCompanyFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,58 +508,39 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> - companyBuilder_; + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companyBuilder_; /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ public com.google.cloud.talent.v4beta1.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } else { return companyBuilder_.getMessage(); } } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { @@ -622,17 +556,14 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder setCompany( + com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -643,23 +574,17 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builde return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4beta1.Company.newBuilder(company_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Company.newBuilder(company_).mergeFrom(value).buildPartial(); } else { company_ = value; } @@ -671,15 +596,11 @@ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -693,64 +614,48 @@ public Builder clearCompany() { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? + com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - getCompany(), getParentForChildren(), isClean()); + companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + getCompany(), + getParentForChildren(), + isClean()); company_ = null; } return companyBuilder_; @@ -758,13 +663,8 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -774,15 +674,12 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -792,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -831,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -843,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -854,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -870,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -882,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -906,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -919,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -940,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -959,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -986,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateCompanyRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateCompanyRequest();
   }
@@ -1000,27 +877,27 @@ public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateCompanyRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateCompanyRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1035,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateCompanyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
similarity index 71%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
index 113d3ea2fbd3..c94437daeb0f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
@@ -1,72 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateCompanyRequestOrBuilder
-    extends
+public interface UpdateCompanyRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateCompanyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ boolean hasCompany(); /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ com.google.cloud.talent.v4beta1.Company getCompany(); /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -76,13 +44,10 @@ public interface UpdateCompanyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -92,13 +57,10 @@ public interface UpdateCompanyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
index bd5480d5f891..608a99990fdb 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
@@ -1,82 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Update job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateJobRequest} */ -public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateJobRequest) UpdateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateJobRequest() {} + private UpdateJobRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateJobRequest.class, - com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateJobRequest.class, com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @@ -117,8 +88,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -128,7 +97,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -147,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -173,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -202,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getJob());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateJobRequest other =
-        (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateJobRequest other = (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj;
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob().equals(other.getJob())) return false;
+      if (!getJob()
+          .equals(other.getJob())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -255,136 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Update job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateJobRequest) com.google.cloud.talent.v4beta1.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateJobRequest.class, - com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateJobRequest.class, com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override @@ -425,8 +385,7 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateJobRequest result = - new com.google.cloud.talent.v4beta1.UpdateJobRequest(this); + com.google.cloud.talent.v4beta1.UpdateJobRequest result = new com.google.cloud.talent.v4beta1.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -445,39 +404,38 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -519,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,35 +508,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -589,14 +536,11 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { @@ -612,16 +556,14 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -632,20 +574,17 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValu return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -657,14 +596,11 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -678,59 +614,48 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -738,13 +663,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -754,15 +674,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -772,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -811,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -823,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -834,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -850,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -862,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -886,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -899,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -920,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -939,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -966,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateJobRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateJobRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateJobRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateJobRequest();
   }
@@ -980,27 +877,27 @@ public static com.google.cloud.talent.v4beta1.UpdateJobRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateJobRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateJobRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1015,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateJobRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
similarity index 76%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
index d495bee0edc2..6dc2e597804f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateJobRequestOrBuilder
-    extends
+public interface UpdateJobRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateJobRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -73,13 +44,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -89,13 +57,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
index 175fd399e727..19d2d7582f6d 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
@@ -1,82 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Request for updating a specified tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateTenantRequest} */ -public final class UpdateTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateTenantRequest) UpdateTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTenantRequest.newBuilder() to construct. private UpdateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTenantRequest() {} + private UpdateTenantRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, - com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Tenant tenant_; /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasTenant() { return tenant_ != null; } /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.talent.v4beta1.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @@ -117,8 +88,6 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -128,7 +97,6 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -147,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -173,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tenant_ != null) {
       output.writeMessage(1, getTenant());
     }
@@ -202,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tenant_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTenant());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTenant());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateTenantRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateTenantRequest other =
-        (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateTenantRequest other = (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj;
 
     if (hasTenant() != other.hasTenant()) return false;
     if (hasTenant()) {
-      if (!getTenant().equals(other.getTenant())) return false;
+      if (!getTenant()
+          .equals(other.getTenant())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -256,135 +222,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateTenantRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request for updating a specified tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateTenantRequest) com.google.cloud.talent.v4beta1.UpdateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, - com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override @@ -425,8 +385,7 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateTenantRequest result = - new com.google.cloud.talent.v4beta1.UpdateTenantRequest(this); + com.google.cloud.talent.v4beta1.UpdateTenantRequest result = new com.google.cloud.talent.v4beta1.UpdateTenantRequest(this); if (tenantBuilder_ == null) { result.tenant_ = tenant_; } else { @@ -445,39 +404,38 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance()) return this; if (other.hasTenant()) { mergeTenant(other.getTenant()); } @@ -519,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getTenantFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,58 +508,39 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> - tenantBuilder_; + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantBuilder_; /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ public com.google.cloud.talent.v4beta1.Tenant getTenant() { if (tenantBuilder_ == null) { - return tenant_ == null - ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() - : tenant_; + return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } else { return tenantBuilder_.getMessage(); } } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { @@ -617,17 +556,14 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder setTenant( + com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -638,23 +574,17 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderF return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -666,15 +596,11 @@ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -688,64 +614,48 @@ public Builder clearTenant() { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null - ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() - : tenant_; + return tenant_ == null ? + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder>( - getTenant(), getParentForChildren(), isClean()); + tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( + getTenant(), + getParentForChildren(), + isClean()); tenant_ = null; } return tenantBuilder_; @@ -753,13 +663,8 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -769,15 +674,12 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -787,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -826,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -838,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -849,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -865,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -877,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -901,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -914,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -935,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -954,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -981,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateTenantRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateTenantRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateTenantRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateTenantRequest();
   }
@@ -995,27 +877,27 @@ public static com.google.cloud.talent.v4beta1.UpdateTenantRequest getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTenantRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTenantRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1030,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateTenantRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
similarity index 77%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
index aa10337362cf..9827ae393633 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateTenantRequestOrBuilder
-    extends
+public interface UpdateTenantRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateTenantRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ boolean hasTenant(); /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ com.google.cloud.talent.v4beta1.Tenant getTenant(); /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -73,13 +44,10 @@ public interface UpdateTenantRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -89,13 +57,10 @@ public interface UpdateTenantRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
index 880679a9c968..c16dca5e463e 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
@@ -28,11 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.Visibility}
  */
-@java.lang.Deprecated
-public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated public enum Visibility
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +22,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ VISIBILITY_UNSPECIFIED(0), /** - * - * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -51,8 +30,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ ACCOUNT_ONLY(1), /** - * - * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -62,8 +39,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   SHARED_WITH_GOOGLE(2),
   /**
-   *
-   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -76,8 +51,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -86,8 +59,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VISIBILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -96,8 +67,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCOUNT_ONLY_VALUE = 1; /** - * - * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -107,8 +76,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SHARED_WITH_GOOGLE_VALUE = 2;
   /**
-   *
-   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -118,6 +85,7 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SHARED_WITH_PUBLIC_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -142,51 +110,50 @@ public static Visibility valueOf(int value) {
    */
   public static Visibility forNumber(int value) {
     switch (value) {
-      case 0:
-        return VISIBILITY_UNSPECIFIED;
-      case 1:
-        return ACCOUNT_ONLY;
-      case 2:
-        return SHARED_WITH_GOOGLE;
-      case 3:
-        return SHARED_WITH_PUBLIC;
-      default:
-        return null;
+      case 0: return VISIBILITY_UNSPECIFIED;
+      case 1: return ACCOUNT_ONLY;
+      case 2: return SHARED_WITH_GOOGLE;
+      case 3: return SHARED_WITH_PUBLIC;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public Visibility findValueByNumber(int number) {
-          return Visibility.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      Visibility> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Visibility findValueByNumber(int number) {
+            return Visibility.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(7);
   }
 
   private static final Visibility[] VALUES = values();
 
-  public static Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Visibility valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -202,3 +169,4 @@ private Visibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.Visibility)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
similarity index 94%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
index e04f0133452d..7c1e2ea56df3 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
@@ -100,13 +100,16 @@ message Company {
   // A URI that hosts the employer's company logo.
   string image_uri = 10;
 
+  // This field is deprecated. Please set the searchability of the custom
+  // attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
+  //
   // A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
   // corresponding `string_values` are used in keyword searches. Jobs with
   // `string_values` under these specified field keys are returned if any
   // of the values match the search keyword. Custom field values with
   // parenthesis, brackets and special symbols are not searchable as-is,
   // and those keyword queries must be surrounded by quotes.
-  repeated string keyword_searchable_job_custom_attributes = 11;
+  repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];
 
   // Output only. Derived details about the company.
   DerivedInfo derived_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
similarity index 99%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
index c8e420d609ce..87dc47d91f5f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
@@ -611,8 +611,8 @@ message SearchJobsRequest {
   // * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
   // * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
   //   "FULL_TIME", "PART_TIME".
-  // * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
-  // "MEDIUM", "BIG".
+  // * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
+  // "SMALL", "MEDIUM", "BIG".
   // * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
   //   in days.
   //   Must specify list of numeric buckets in spec.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java

From f1ab71d57835479b4d566ba89e2c13ea25919f69 Mon Sep 17 00:00:00 2001
From: Owl Bot 
Date: Tue, 8 Nov 2022 02:01:31 +0000
Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?=
 =?UTF-8?q?st-processor?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---
 .../cloud/talent/v4/CompanyServiceClient.java |    0
 .../talent/v4/CompanyServiceSettings.java     |    1 -
 .../cloud/talent/v4/CompletionClient.java     |    0
 .../cloud/talent/v4/CompletionSettings.java   |    1 -
 .../cloud/talent/v4/EventServiceClient.java   |    0
 .../cloud/talent/v4/EventServiceSettings.java |    1 -
 .../cloud/talent/v4/JobServiceClient.java     |    0
 .../cloud/talent/v4/JobServiceSettings.java   |    1 -
 .../cloud/talent/v4/TenantServiceClient.java  |    0
 .../talent/v4/TenantServiceSettings.java      |    1 -
 .../cloud/talent/v4/gapic_metadata.json       |    0
 .../google/cloud/talent/v4/package-info.java  |    0
 .../talent/v4/stub/CompanyServiceStub.java    |    0
 .../v4/stub/CompanyServiceStubSettings.java   |    0
 .../cloud/talent/v4/stub/CompletionStub.java  |    0
 .../v4/stub/CompletionStubSettings.java       |    0
 .../talent/v4/stub/EventServiceStub.java      |    0
 .../v4/stub/EventServiceStubSettings.java     |    0
 .../GrpcCompanyServiceCallableFactory.java    |    0
 .../v4/stub/GrpcCompanyServiceStub.java       |    1 -
 .../stub/GrpcCompletionCallableFactory.java   |    0
 .../talent/v4/stub/GrpcCompletionStub.java    |    1 -
 .../stub/GrpcEventServiceCallableFactory.java |    0
 .../talent/v4/stub/GrpcEventServiceStub.java  |    1 -
 .../stub/GrpcJobServiceCallableFactory.java   |    0
 .../talent/v4/stub/GrpcJobServiceStub.java    |    1 -
 .../GrpcTenantServiceCallableFactory.java     |    0
 .../talent/v4/stub/GrpcTenantServiceStub.java |    1 -
 ...HttpJsonCompanyServiceCallableFactory.java |    0
 .../v4/stub/HttpJsonCompanyServiceStub.java   |    0
 .../HttpJsonCompletionCallableFactory.java    |    0
 .../v4/stub/HttpJsonCompletionStub.java       |    0
 .../HttpJsonEventServiceCallableFactory.java  |    0
 .../v4/stub/HttpJsonEventServiceStub.java     |    0
 .../HttpJsonJobServiceCallableFactory.java    |    0
 .../v4/stub/HttpJsonJobServiceStub.java       |    1 -
 .../HttpJsonTenantServiceCallableFactory.java |    0
 .../v4/stub/HttpJsonTenantServiceStub.java    |    0
 .../cloud/talent/v4/stub/JobServiceStub.java  |    0
 .../v4/stub/JobServiceStubSettings.java       |    0
 .../talent/v4/stub/TenantServiceStub.java     |    0
 .../v4/stub/TenantServiceStubSettings.java    |    0
 .../talent/v4beta1/CompanyServiceClient.java  |    0
 .../v4beta1/CompanyServiceSettings.java       |    1 -
 .../talent/v4beta1/CompletionClient.java      |    0
 .../talent/v4beta1/CompletionSettings.java    |    1 -
 .../talent/v4beta1/EventServiceClient.java    |    0
 .../talent/v4beta1/EventServiceSettings.java  |    1 -
 .../talent/v4beta1/JobServiceClient.java      |    0
 .../talent/v4beta1/JobServiceSettings.java    |    1 -
 .../talent/v4beta1/TenantServiceClient.java   |    0
 .../talent/v4beta1/TenantServiceSettings.java |    1 -
 .../cloud/talent/v4beta1/gapic_metadata.json  |    0
 .../cloud/talent/v4beta1/package-info.java    |    0
 .../v4beta1/stub/CompanyServiceStub.java      |    0
 .../stub/CompanyServiceStubSettings.java      |    0
 .../talent/v4beta1/stub/CompletionStub.java   |    0
 .../v4beta1/stub/CompletionStubSettings.java  |    0
 .../talent/v4beta1/stub/EventServiceStub.java |    0
 .../stub/EventServiceStubSettings.java        |    0
 .../GrpcCompanyServiceCallableFactory.java    |    0
 .../v4beta1/stub/GrpcCompanyServiceStub.java  |    1 -
 .../stub/GrpcCompletionCallableFactory.java   |    0
 .../v4beta1/stub/GrpcCompletionStub.java      |    1 -
 .../stub/GrpcEventServiceCallableFactory.java |    0
 .../v4beta1/stub/GrpcEventServiceStub.java    |    1 -
 .../stub/GrpcJobServiceCallableFactory.java   |    0
 .../v4beta1/stub/GrpcJobServiceStub.java      |    1 -
 .../GrpcTenantServiceCallableFactory.java     |    0
 .../v4beta1/stub/GrpcTenantServiceStub.java   |    1 -
 ...HttpJsonCompanyServiceCallableFactory.java |    0
 .../stub/HttpJsonCompanyServiceStub.java      |    0
 .../HttpJsonCompletionCallableFactory.java    |    0
 .../v4beta1/stub/HttpJsonCompletionStub.java  |    0
 .../HttpJsonEventServiceCallableFactory.java  |    0
 .../stub/HttpJsonEventServiceStub.java        |    0
 .../HttpJsonJobServiceCallableFactory.java    |    0
 .../v4beta1/stub/HttpJsonJobServiceStub.java  |    1 -
 .../HttpJsonTenantServiceCallableFactory.java |    0
 .../stub/HttpJsonTenantServiceStub.java       |    0
 .../talent/v4beta1/stub/JobServiceStub.java   |    0
 .../v4beta1/stub/JobServiceStubSettings.java  |    0
 .../v4beta1/stub/TenantServiceStub.java       |    0
 .../stub/TenantServiceStubSettings.java       |    0
 .../v4/CompanyServiceClientHttpJsonTest.java  |    0
 .../talent/v4/CompanyServiceClientTest.java   |    0
 .../v4/CompletionClientHttpJsonTest.java      |    0
 .../cloud/talent/v4/CompletionClientTest.java |    0
 .../v4/EventServiceClientHttpJsonTest.java    |    0
 .../talent/v4/EventServiceClientTest.java     |    0
 .../v4/JobServiceClientHttpJsonTest.java      |    0
 .../cloud/talent/v4/JobServiceClientTest.java |    0
 .../cloud/talent/v4/MockCompanyService.java   |    0
 .../talent/v4/MockCompanyServiceImpl.java     |    0
 .../cloud/talent/v4/MockCompletion.java       |    0
 .../cloud/talent/v4/MockCompletionImpl.java   |    0
 .../cloud/talent/v4/MockEventService.java     |    0
 .../cloud/talent/v4/MockEventServiceImpl.java |    0
 .../cloud/talent/v4/MockJobService.java       |    0
 .../cloud/talent/v4/MockJobServiceImpl.java   |    0
 .../cloud/talent/v4/MockTenantService.java    |    0
 .../talent/v4/MockTenantServiceImpl.java      |    0
 .../v4/TenantServiceClientHttpJsonTest.java   |    0
 .../talent/v4/TenantServiceClientTest.java    |    0
 .../CompanyServiceClientHttpJsonTest.java     |    0
 .../v4beta1/CompanyServiceClientTest.java     |    0
 .../v4beta1/CompletionClientHttpJsonTest.java |    0
 .../talent/v4beta1/CompletionClientTest.java  |    0
 .../EventServiceClientHttpJsonTest.java       |    0
 .../v4beta1/EventServiceClientTest.java       |    0
 .../v4beta1/JobServiceClientHttpJsonTest.java |    0
 .../talent/v4beta1/JobServiceClientTest.java  |    0
 .../talent/v4beta1/MockCompanyService.java    |    0
 .../v4beta1/MockCompanyServiceImpl.java       |    0
 .../cloud/talent/v4beta1/MockCompletion.java  |    0
 .../talent/v4beta1/MockCompletionImpl.java    |    0
 .../talent/v4beta1/MockEventService.java      |    0
 .../talent/v4beta1/MockEventServiceImpl.java  |    0
 .../cloud/talent/v4beta1/MockJobService.java  |    0
 .../talent/v4beta1/MockJobServiceImpl.java    |    0
 .../talent/v4beta1/MockTenantService.java     |    0
 .../talent/v4beta1/MockTenantServiceImpl.java |    0
 .../TenantServiceClientHttpJsonTest.java      |    0
 .../v4beta1/TenantServiceClientTest.java      |    0
 .../cloud/talent/v4/CompanyServiceGrpc.java   |  805 +++
 .../cloud/talent/v4/CompletionGrpc.java       |  227 +-
 .../cloud/talent/v4/EventServiceGrpc.java     |  222 +-
 .../cloud/talent/v4/JobServiceGrpc.java       |  970 ++--
 .../cloud/talent/v4/TenantServiceGrpc.java    |  798 +++
 .../talent/v4beta1/CompanyServiceGrpc.java    |  826 +++
 .../cloud/talent/v4beta1/CompletionGrpc.java  |  363 ++
 .../talent/v4beta1/EventServiceGrpc.java      |  223 +-
 .../cloud/talent/v4beta1/JobServiceGrpc.java  | 1428 +++++
 .../talent/v4beta1/TenantServiceGrpc.java     |  819 +++
 .../talent/v4/BatchCreateJobsRequest.java     |  605 ++-
 .../v4/BatchCreateJobsRequestOrBuilder.java   |   69 +-
 .../talent/v4/BatchCreateJobsResponse.java    |  405 +-
 .../v4/BatchCreateJobsResponseOrBuilder.java  |   36 +-
 .../talent/v4/BatchDeleteJobsRequest.java     |  462 +-
 .../v4/BatchDeleteJobsRequestOrBuilder.java   |   53 +-
 .../talent/v4/BatchDeleteJobsResponse.java    |  405 +-
 .../v4/BatchDeleteJobsResponseOrBuilder.java  |   36 +-
 .../talent/v4/BatchOperationMetadata.java     |  843 +--
 .../v4/BatchOperationMetadataOrBuilder.java   |   66 +-
 .../talent/v4/BatchUpdateJobsRequest.java     |  686 ++-
 .../v4/BatchUpdateJobsRequestOrBuilder.java   |   77 +-
 .../talent/v4/BatchUpdateJobsResponse.java    |  405 +-
 .../v4/BatchUpdateJobsResponseOrBuilder.java  |   36 +-
 .../google/cloud/talent/v4/ClientEvent.java   |  725 ++-
 .../cloud/talent/v4/ClientEventOrBuilder.java |   70 +-
 .../google/cloud/talent/v4/CommonProto.java   |  345 ++
 .../google/cloud/talent/v4/CommuteFilter.java |  897 ++--
 .../talent/v4/CommuteFilterOrBuilder.java     |   86 +-
 .../google/cloud/talent/v4/CommuteMethod.java |  103 +-
 .../com/google/cloud/talent/v4/Company.java   | 1542 +++---
 .../google/cloud/talent/v4/CompanyName.java   |    0
 .../cloud/talent/v4/CompanyOrBuilder.java     |  140 +-
 .../google/cloud/talent/v4/CompanyProto.java  |  118 +
 .../cloud/talent/v4/CompanyServiceProto.java  |  200 +
 .../google/cloud/talent/v4/CompanySize.java   |  117 +-
 .../cloud/talent/v4/CompensationFilter.java   |  764 ++-
 .../v4/CompensationFilterOrBuilder.java       |   81 +-
 .../cloud/talent/v4/CompensationInfo.java     | 2283 +++++---
 .../talent/v4/CompensationInfoOrBuilder.java  |   85 +-
 .../cloud/talent/v4/CompleteQueryRequest.java |  934 ++--
 .../v4/CompleteQueryRequestOrBuilder.java     |   86 +-
 .../talent/v4/CompleteQueryResponse.java      | 1141 ++--
 .../v4/CompleteQueryResponseOrBuilder.java    |   65 +-
 .../talent/v4/CompletionServiceProto.java     |  143 +
 .../talent/v4/CreateClientEventRequest.java   |  492 +-
 .../v4/CreateClientEventRequestOrBuilder.java |   55 +-
 .../cloud/talent/v4/CreateCompanyRequest.java |  472 +-
 .../v4/CreateCompanyRequestOrBuilder.java     |   52 +-
 .../cloud/talent/v4/CreateJobRequest.java     |  426 +-
 .../talent/v4/CreateJobRequestOrBuilder.java  |   43 +-
 .../cloud/talent/v4/CreateTenantRequest.java  |  461 +-
 .../v4/CreateTenantRequestOrBuilder.java      |   52 +-
 .../cloud/talent/v4/CustomAttribute.java      |  520 +-
 .../talent/v4/CustomAttributeOrBuilder.java   |   51 +-
 .../google/cloud/talent/v4/DegreeType.java    |  122 +-
 .../cloud/talent/v4/DeleteCompanyRequest.java |  351 +-
 .../v4/DeleteCompanyRequestOrBuilder.java     |   60 +
 .../cloud/talent/v4/DeleteJobRequest.java     |  348 +-
 .../talent/v4/DeleteJobRequestOrBuilder.java  |   60 +
 .../cloud/talent/v4/DeleteTenantRequest.java  |  348 +-
 .../v4/DeleteTenantRequestOrBuilder.java      |   58 +
 .../google/cloud/talent/v4/DeviceInfo.java    |  470 +-
 .../cloud/talent/v4/DeviceInfoOrBuilder.java  |   33 +-
 .../cloud/talent/v4/EmploymentType.java       |  136 +-
 .../google/cloud/talent/v4/EventProto.java    |  105 +
 .../cloud/talent/v4/EventServiceProto.java    |  101 +
 .../google/cloud/talent/v4/FiltersProto.java  |  186 +
 .../cloud/talent/v4/GetCompanyRequest.java    |  348 +-
 .../talent/v4/GetCompanyRequestOrBuilder.java |   60 +
 .../google/cloud/talent/v4/GetJobRequest.java |  345 +-
 .../talent/v4/GetJobRequestOrBuilder.java     |   60 +
 .../cloud/talent/v4/GetTenantRequest.java     |  348 +-
 .../talent/v4/GetTenantRequestOrBuilder.java  |   58 +
 .../cloud/talent/v4/HistogramProto.java       |   95 +
 .../cloud/talent/v4/HistogramQuery.java       |  320 +-
 .../talent/v4/HistogramQueryOrBuilder.java    |   27 +-
 .../cloud/talent/v4/HistogramQueryResult.java |  582 ++-
 .../v4/HistogramQueryResultOrBuilder.java     |   59 +-
 .../cloud/talent/v4/HtmlSanitization.java     |   82 +-
 .../java/com/google/cloud/talent/v4/Job.java  | 4577 ++++++++++------
 .../google/cloud/talent/v4/JobBenefit.java    |  143 +-
 .../google/cloud/talent/v4/JobCategory.java   |  276 +-
 .../com/google/cloud/talent/v4/JobEvent.java  |  592 ++-
 .../cloud/talent/v4/JobEventOrBuilder.java    |   50 +-
 .../com/google/cloud/talent/v4/JobLevel.java  |  103 +-
 .../com/google/cloud/talent/v4/JobName.java   |    0
 .../google/cloud/talent/v4/JobOrBuilder.java  |  378 +-
 .../com/google/cloud/talent/v4/JobProto.java  |  208 +
 .../com/google/cloud/talent/v4/JobQuery.java  | 1587 ++++--
 .../cloud/talent/v4/JobQueryOrBuilder.java    |  198 +-
 .../com/google/cloud/talent/v4/JobResult.java |  388 +-
 .../cloud/talent/v4/JobResultOrBuilder.java   |   34 +-
 .../cloud/talent/v4/JobServiceProto.java      |  485 ++
 .../com/google/cloud/talent/v4/JobView.java   |   96 +-
 .../cloud/talent/v4/ListCompaniesRequest.java |  503 +-
 .../v4/ListCompaniesRequestOrBuilder.java     |   50 +-
 .../talent/v4/ListCompaniesResponse.java      |  566 +-
 .../v4/ListCompaniesResponseOrBuilder.java    |   54 +-
 .../cloud/talent/v4/ListJobsRequest.java      |  589 ++-
 .../talent/v4/ListJobsRequestOrBuilder.java   |   62 +-
 .../cloud/talent/v4/ListJobsResponse.java     |  567 +-
 .../talent/v4/ListJobsResponseOrBuilder.java  |   54 +-
 .../cloud/talent/v4/ListTenantsRequest.java   |  462 +-
 .../v4/ListTenantsRequestOrBuilder.java       |   47 +-
 .../cloud/talent/v4/ListTenantsResponse.java  |  559 +-
 .../v4/ListTenantsResponseOrBuilder.java      |   54 +-
 .../com/google/cloud/talent/v4/Location.java  |  623 ++-
 .../cloud/talent/v4/LocationFilter.java       |  688 ++-
 .../talent/v4/LocationFilterOrBuilder.java    |   59 +-
 .../cloud/talent/v4/LocationOrBuilder.java    |   43 +-
 .../google/cloud/talent/v4/PostingRegion.java |   89 +-
 .../google/cloud/talent/v4/ProjectName.java   |    0
 .../cloud/talent/v4/RequestMetadata.java      |  595 ++-
 .../talent/v4/RequestMetadataOrBuilder.java   |   56 +-
 .../cloud/talent/v4/ResponseMetadata.java     |  320 +-
 .../talent/v4/ResponseMetadataOrBuilder.java  |   52 +
 .../cloud/talent/v4/SearchJobsRequest.java    | 2273 +++++---
 .../talent/v4/SearchJobsRequestOrBuilder.java |  176 +-
 .../cloud/talent/v4/SearchJobsResponse.java   | 2273 +++++---
 .../v4/SearchJobsResponseOrBuilder.java       |   97 +-
 .../cloud/talent/v4/SpellingCorrection.java   |  437 +-
 .../v4/SpellingCorrectionOrBuilder.java       |   39 +-
 .../com/google/cloud/talent/v4/Tenant.java    |  392 +-
 .../google/cloud/talent/v4/TenantName.java    |    0
 .../cloud/talent/v4/TenantOrBuilder.java      |   36 +-
 .../google/cloud/talent/v4/TenantProto.java   |   80 +
 .../cloud/talent/v4/TenantServiceProto.java   |  197 +
 .../cloud/talent/v4/TimestampRange.java       |  398 +-
 .../talent/v4/TimestampRangeOrBuilder.java    |   34 +-
 .../cloud/talent/v4/UpdateCompanyRequest.java |  447 +-
 .../v4/UpdateCompanyRequestOrBuilder.java     |   43 +-
 .../cloud/talent/v4/UpdateJobRequest.java     |  405 +-
 .../talent/v4/UpdateJobRequestOrBuilder.java  |   34 +-
 .../cloud/talent/v4/UpdateTenantRequest.java  |  440 +-
 .../v4/UpdateTenantRequestOrBuilder.java      |   43 +-
 .../google/cloud/talent/v4/Visibility.java    |   90 +-
 .../proto/google/cloud/talent/v4/common.proto |    0
 .../google/cloud/talent/v4/company.proto      |    0
 .../cloud/talent/v4/company_service.proto     |    0
 .../cloud/talent/v4/completion_service.proto  |    0
 .../proto/google/cloud/talent/v4/event.proto  |    0
 .../cloud/talent/v4/event_service.proto       |    0
 .../google/cloud/talent/v4/filters.proto      |    0
 .../google/cloud/talent/v4/histogram.proto    |    0
 .../proto/google/cloud/talent/v4/job.proto    |    0
 .../google/cloud/talent/v4/job_service.proto  |    0
 .../proto/google/cloud/talent/v4/tenant.proto |    0
 .../cloud/talent/v4/tenant_service.proto      |    0
 .../v4beta1/BatchCreateJobsRequest.java       |  611 ++-
 .../BatchCreateJobsRequestOrBuilder.java      |  121 +
 .../v4beta1/BatchDeleteJobsRequest.java       |  437 +-
 .../BatchDeleteJobsRequestOrBuilder.java      |   44 +-
 .../v4beta1/BatchOperationMetadata.java       |  848 +--
 .../BatchOperationMetadataOrBuilder.java      |   66 +-
 .../cloud/talent/v4beta1/BatchProto.java      |   50 +
 .../v4beta1/BatchUpdateJobsRequest.java       |  692 ++-
 .../BatchUpdateJobsRequestOrBuilder.java      |   82 +-
 .../cloud/talent/v4beta1/ClientEvent.java     |  729 ++-
 .../talent/v4beta1/ClientEventOrBuilder.java  |   70 +-
 .../cloud/talent/v4beta1/CommonProto.java     |  350 ++
 .../cloud/talent/v4beta1/CommuteFilter.java   |  900 ++--
 .../v4beta1/CommuteFilterOrBuilder.java       |   86 +-
 .../cloud/talent/v4beta1/CommuteMethod.java   |   96 +-
 .../google/cloud/talent/v4beta1/Company.java  | 1655 +++---
 .../cloud/talent/v4beta1/CompanyName.java     |    0
 .../talent/v4beta1/CompanyOrBuilder.java      |  164 +-
 .../talent/v4beta1/CompanyResourceProto.java  |  120 +
 .../talent/v4beta1/CompanyServiceProto.java   |  208 +
 .../cloud/talent/v4beta1/CompanySize.java     |  117 +-
 .../talent/v4beta1/CompensationFilter.java    |  796 ++-
 .../v4beta1/CompensationFilterOrBuilder.java  |   81 +-
 .../talent/v4beta1/CompensationInfo.java      | 2447 ++++++---
 .../v4beta1/CompensationInfoOrBuilder.java    |  100 +-
 .../talent/v4beta1/CompleteQueryRequest.java  |  952 ++--
 .../CompleteQueryRequestOrBuilder.java        |   86 +-
 .../talent/v4beta1/CompleteQueryResponse.java | 1168 +++--
 .../CompleteQueryResponseOrBuilder.java       |   68 +-
 .../v4beta1/CompletionServiceProto.java       |  145 +
 .../v4beta1/CreateClientEventRequest.java     |  492 +-
 .../CreateClientEventRequestOrBuilder.java    |   55 +-
 .../talent/v4beta1/CreateCompanyRequest.java  |  492 +-
 .../CreateCompanyRequestOrBuilder.java        |   55 +-
 .../talent/v4beta1/CreateJobRequest.java      |  468 +-
 .../v4beta1/CreateJobRequestOrBuilder.java    |   52 +-
 .../talent/v4beta1/CreateTenantRequest.java   |  485 +-
 .../v4beta1/CreateTenantRequestOrBuilder.java |   52 +-
 .../cloud/talent/v4beta1/CustomAttribute.java |  523 +-
 .../v4beta1/CustomAttributeOrBuilder.java     |   51 +-
 .../cloud/talent/v4beta1/DegreeType.java      |  122 +-
 .../talent/v4beta1/DeleteCompanyRequest.java  |  355 +-
 .../DeleteCompanyRequestOrBuilder.java        |   35 +-
 .../talent/v4beta1/DeleteJobRequest.java      |  355 +-
 .../v4beta1/DeleteJobRequestOrBuilder.java    |   35 +-
 .../talent/v4beta1/DeleteTenantRequest.java   |  355 +-
 .../v4beta1/DeleteTenantRequestOrBuilder.java |   58 +
 .../cloud/talent/v4beta1/DeviceInfo.java      |  480 +-
 .../talent/v4beta1/DeviceInfoOrBuilder.java   |   33 +-
 .../cloud/talent/v4beta1/EmploymentType.java  |  136 +-
 .../cloud/talent/v4beta1/EventProto.java      |  106 +
 .../talent/v4beta1/EventServiceProto.java     |  103 +
 .../cloud/talent/v4beta1/FiltersProto.java    |  194 +
 .../talent/v4beta1/GetCompanyRequest.java     |  355 +-
 .../v4beta1/GetCompanyRequestOrBuilder.java   |   35 +-
 .../cloud/talent/v4beta1/GetJobRequest.java   |  348 +-
 .../v4beta1/GetJobRequestOrBuilder.java       |   35 +-
 .../talent/v4beta1/GetTenantRequest.java      |  355 +-
 .../v4beta1/GetTenantRequestOrBuilder.java    |   58 +
 .../cloud/talent/v4beta1/HistogramProto.java  |   95 +
 .../cloud/talent/v4beta1/HistogramQuery.java  |  320 +-
 .../v4beta1/HistogramQueryOrBuilder.java      |   27 +-
 .../talent/v4beta1/HistogramQueryResult.java  |  586 ++-
 .../HistogramQueryResultOrBuilder.java        |   59 +-
 .../talent/v4beta1/HtmlSanitization.java      |   82 +-
 .../com/google/cloud/talent/v4beta1/Job.java  | 4652 +++++++++++------
 .../cloud/talent/v4beta1/JobBenefit.java      |  143 +-
 .../cloud/talent/v4beta1/JobCategory.java     |  276 +-
 .../google/cloud/talent/v4beta1/JobEvent.java |  677 ++-
 .../talent/v4beta1/JobEventOrBuilder.java     |   59 +-
 .../google/cloud/talent/v4beta1/JobLevel.java |  103 +-
 .../google/cloud/talent/v4beta1/JobName.java  |    0
 .../talent/v4beta1/JobOperationResult.java    |  925 ++--
 .../v4beta1/JobOperationResultOrBuilder.java  |   48 +-
 .../cloud/talent/v4beta1/JobOrBuilder.java    |  392 +-
 .../google/cloud/talent/v4beta1/JobQuery.java | 1588 ++++--
 .../talent/v4beta1/JobQueryOrBuilder.java     |  198 +-
 .../talent/v4beta1/JobResourceProto.java      |  211 +
 .../cloud/talent/v4beta1/JobServiceProto.java |  479 ++
 .../google/cloud/talent/v4beta1/JobView.java  |   96 +-
 .../talent/v4beta1/ListCompaniesRequest.java  |  499 +-
 .../ListCompaniesRequestOrBuilder.java        |   50 +-
 .../talent/v4beta1/ListCompaniesResponse.java |  570 +-
 .../ListCompaniesResponseOrBuilder.java       |   53 +-
 .../cloud/talent/v4beta1/ListJobsRequest.java |  592 ++-
 .../v4beta1/ListJobsRequestOrBuilder.java     |   62 +-
 .../talent/v4beta1/ListJobsResponse.java      |  572 +-
 .../v4beta1/ListJobsResponseOrBuilder.java    |   54 +-
 .../talent/v4beta1/ListTenantsRequest.java    |  469 +-
 .../v4beta1/ListTenantsRequestOrBuilder.java  |   47 +-
 .../talent/v4beta1/ListTenantsResponse.java   |  566 +-
 .../v4beta1/ListTenantsResponseOrBuilder.java |   53 +-
 .../google/cloud/talent/v4beta1/Location.java |  633 ++-
 .../cloud/talent/v4beta1/LocationFilter.java  |  728 ++-
 .../v4beta1/LocationFilterOrBuilder.java      |   64 +-
 .../talent/v4beta1/LocationOrBuilder.java     |   43 +-
 .../cloud/talent/v4beta1/PostingRegion.java   |   89 +-
 .../cloud/talent/v4beta1/ProjectName.java     |    0
 .../cloud/talent/v4beta1/RequestMetadata.java |  595 ++-
 .../v4beta1/RequestMetadataOrBuilder.java     |   56 +-
 .../talent/v4beta1/ResponseMetadata.java      |  327 +-
 .../v4beta1/ResponseMetadataOrBuilder.java    |   27 +-
 .../talent/v4beta1/SearchJobsRequest.java     | 2354 ++++++---
 .../v4beta1/SearchJobsRequestOrBuilder.java   |  182 +-
 .../talent/v4beta1/SearchJobsResponse.java    | 2420 ++++++---
 .../v4beta1/SearchJobsResponseOrBuilder.java  |  128 +-
 .../talent/v4beta1/SpellingCorrection.java    |  444 +-
 .../v4beta1/SpellingCorrectionOrBuilder.java  |   39 +-
 .../google/cloud/talent/v4beta1/Tenant.java   |  637 ++-
 .../cloud/talent/v4beta1/TenantName.java      |    0
 .../cloud/talent/v4beta1/TenantOrBuilder.java |   60 +-
 .../talent/v4beta1/TenantResourceProto.java   |   85 +
 .../talent/v4beta1/TenantServiceProto.java    |  200 +
 .../cloud/talent/v4beta1/TimestampRange.java  |  398 +-
 .../v4beta1/TimestampRangeOrBuilder.java      |   34 +-
 .../talent/v4beta1/UpdateCompanyRequest.java  |  467 +-
 .../UpdateCompanyRequestOrBuilder.java        |   46 +-
 .../talent/v4beta1/UpdateJobRequest.java      |  447 +-
 .../v4beta1/UpdateJobRequestOrBuilder.java    |   43 +-
 .../talent/v4beta1/UpdateTenantRequest.java   |  460 +-
 .../v4beta1/UpdateTenantRequestOrBuilder.java |   43 +-
 .../cloud/talent/v4beta1/Visibility.java      |   90 +-
 .../google/cloud/talent/v4beta1/batch.proto   |    0
 .../google/cloud/talent/v4beta1/common.proto  |    0
 .../google/cloud/talent/v4beta1/company.proto |    0
 .../talent/v4beta1/company_service.proto      |    0
 .../talent/v4beta1/completion_service.proto   |    0
 .../google/cloud/talent/v4beta1/event.proto   |    0
 .../cloud/talent/v4beta1/event_service.proto  |    0
 .../google/cloud/talent/v4beta1/filters.proto |    0
 .../cloud/talent/v4beta1/histogram.proto      |    0
 .../google/cloud/talent/v4beta1/job.proto     |    0
 .../cloud/talent/v4beta1/job_service.proto    |    0
 .../google/cloud/talent/v4beta1/tenant.proto  |    0
 .../cloud/talent/v4beta1/tenant_service.proto |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../createcompany/AsyncCreateCompany.java     |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../SyncCreateCompanyStringCompany.java       |    0
 .../SyncCreateCompanyTenantnameCompany.java   |    0
 .../deletecompany/AsyncDeleteCompany.java     |    0
 .../deletecompany/SyncDeleteCompany.java      |    0
 .../SyncDeleteCompanyCompanyname.java         |    0
 .../SyncDeleteCompanyString.java              |    0
 .../getcompany/AsyncGetCompany.java           |    0
 .../getcompany/SyncGetCompany.java            |    0
 .../getcompany/SyncGetCompanyCompanyname.java |    0
 .../getcompany/SyncGetCompanyString.java      |    0
 .../listcompanies/AsyncListCompanies.java     |    0
 .../AsyncListCompaniesPaged.java              |    0
 .../listcompanies/SyncListCompanies.java      |    0
 .../SyncListCompaniesString.java              |    0
 .../SyncListCompaniesTenantname.java          |    0
 .../updatecompany/AsyncUpdateCompany.java     |    0
 .../updatecompany/SyncUpdateCompany.java      |    0
 .../SyncUpdateCompanyCompanyFieldmask.java    |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../completequery/AsyncCompleteQuery.java     |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../AsyncCreateClientEvent.java               |    0
 .../SyncCreateClientEvent.java                |    0
 ...yncCreateClientEventStringClientevent.java |    0
 ...reateClientEventTenantnameClientevent.java |    0
 .../SyncCreateClientEvent.java                |    0
 .../batchcreatejobs/AsyncBatchCreateJobs.java |    0
 .../AsyncBatchCreateJobsLRO.java              |    0
 .../batchcreatejobs/SyncBatchCreateJobs.java  |    0
 .../SyncBatchCreateJobsStringListjob.java     |    0
 .../SyncBatchCreateJobsTenantnameListjob.java |    0
 .../batchdeletejobs/AsyncBatchDeleteJobs.java |    0
 .../AsyncBatchDeleteJobsLRO.java              |    0
 .../batchdeletejobs/SyncBatchDeleteJobs.java  |    0
 .../SyncBatchDeleteJobsStringListstring.java  |    0
 ...ncBatchDeleteJobsTenantnameListstring.java |    0
 .../batchupdatejobs/AsyncBatchUpdateJobs.java |    0
 .../AsyncBatchUpdateJobsLRO.java              |    0
 .../batchupdatejobs/SyncBatchUpdateJobs.java  |    0
 .../SyncBatchUpdateJobsStringListjob.java     |    0
 .../SyncBatchUpdateJobsTenantnameListjob.java |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../jobservice/createjob/AsyncCreateJob.java  |    0
 .../jobservice/createjob/SyncCreateJob.java   |    0
 .../createjob/SyncCreateJobStringJob.java     |    0
 .../createjob/SyncCreateJobTenantnameJob.java |    0
 .../jobservice/deletejob/AsyncDeleteJob.java  |    0
 .../jobservice/deletejob/SyncDeleteJob.java   |    0
 .../deletejob/SyncDeleteJobJobname.java       |    0
 .../deletejob/SyncDeleteJobString.java        |    0
 .../v4/jobservice/getjob/AsyncGetJob.java     |    0
 .../v4/jobservice/getjob/SyncGetJob.java      |    0
 .../jobservice/getjob/SyncGetJobJobname.java  |    0
 .../jobservice/getjob/SyncGetJobString.java   |    0
 .../v4/jobservice/listjobs/AsyncListJobs.java |    0
 .../listjobs/AsyncListJobsPaged.java          |    0
 .../v4/jobservice/listjobs/SyncListJobs.java  |    0
 .../listjobs/SyncListJobsStringString.java    |    0
 .../SyncListJobsTenantnameString.java         |    0
 .../searchjobs/AsyncSearchJobs.java           |    0
 .../jobservice/searchjobs/SyncSearchJobs.java |    0
 .../AsyncSearchJobsForAlert.java              |    0
 .../SyncSearchJobsForAlert.java               |    0
 .../jobservice/updatejob/AsyncUpdateJob.java  |    0
 .../jobservice/updatejob/SyncUpdateJob.java   |    0
 .../updatejob/SyncUpdateJobJobFieldmask.java  |    0
 .../createjob/SyncCreateJob.java              |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateClientEvent.java                |    0
 .../createjob/SyncCreateJob.java              |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../createtenant/AsyncCreateTenant.java       |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateTenantProjectnameTenant.java    |    0
 .../SyncCreateTenantStringTenant.java         |    0
 .../deletetenant/AsyncDeleteTenant.java       |    0
 .../deletetenant/SyncDeleteTenant.java        |    0
 .../deletetenant/SyncDeleteTenantString.java  |    0
 .../SyncDeleteTenantTenantname.java           |    0
 .../gettenant/AsyncGetTenant.java             |    0
 .../gettenant/SyncGetTenant.java              |    0
 .../gettenant/SyncGetTenantString.java        |    0
 .../gettenant/SyncGetTenantTenantname.java    |    0
 .../listtenants/AsyncListTenants.java         |    0
 .../listtenants/AsyncListTenantsPaged.java    |    0
 .../listtenants/SyncListTenants.java          |    0
 .../SyncListTenantsProjectname.java           |    0
 .../listtenants/SyncListTenantsString.java    |    0
 .../updatetenant/AsyncUpdateTenant.java       |    0
 .../updatetenant/SyncUpdateTenant.java        |    0
 .../SyncUpdateTenantTenantFieldmask.java      |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../createcompany/AsyncCreateCompany.java     |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../SyncCreateCompanyProjectnameCompany.java  |    0
 .../SyncCreateCompanyStringCompany.java       |    0
 .../SyncCreateCompanyTenantnameCompany.java   |    0
 .../deletecompany/AsyncDeleteCompany.java     |    0
 .../deletecompany/SyncDeleteCompany.java      |    0
 .../SyncDeleteCompanyCompanyname.java         |    0
 .../SyncDeleteCompanyString.java              |    0
 .../getcompany/AsyncGetCompany.java           |    0
 .../getcompany/SyncGetCompany.java            |    0
 .../getcompany/SyncGetCompanyCompanyname.java |    0
 .../getcompany/SyncGetCompanyString.java      |    0
 .../listcompanies/AsyncListCompanies.java     |    0
 .../AsyncListCompaniesPaged.java              |    0
 .../listcompanies/SyncListCompanies.java      |    0
 .../SyncListCompaniesProjectname.java         |    0
 .../SyncListCompaniesString.java              |    0
 .../SyncListCompaniesTenantname.java          |    0
 .../updatecompany/AsyncUpdateCompany.java     |    0
 .../updatecompany/SyncUpdateCompany.java      |    0
 .../SyncUpdateCompanyCompany.java             |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../completequery/AsyncCompleteQuery.java     |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../AsyncCreateClientEvent.java               |    0
 .../SyncCreateClientEvent.java                |    0
 ...eateClientEventProjectnameClientevent.java |    0
 ...yncCreateClientEventStringClientevent.java |    0
 ...reateClientEventTenantnameClientevent.java |    0
 .../SyncCreateClientEvent.java                |    0
 .../batchcreatejobs/AsyncBatchCreateJobs.java |    0
 .../AsyncBatchCreateJobsLRO.java              |    0
 .../batchcreatejobs/SyncBatchCreateJobs.java  |    0
 ...SyncBatchCreateJobsProjectnameListjob.java |    0
 .../SyncBatchCreateJobsStringListjob.java     |    0
 .../SyncBatchCreateJobsTenantnameListjob.java |    0
 .../batchdeletejobs/AsyncBatchDeleteJobs.java |    0
 .../batchdeletejobs/SyncBatchDeleteJobs.java  |    0
 .../SyncBatchDeleteJobsProjectnameString.java |    0
 .../SyncBatchDeleteJobsStringString.java      |    0
 .../SyncBatchDeleteJobsTenantnameString.java  |    0
 .../batchupdatejobs/AsyncBatchUpdateJobs.java |    0
 .../AsyncBatchUpdateJobsLRO.java              |    0
 .../batchupdatejobs/SyncBatchUpdateJobs.java  |    0
 ...SyncBatchUpdateJobsProjectnameListjob.java |    0
 .../SyncBatchUpdateJobsStringListjob.java     |    0
 .../SyncBatchUpdateJobsTenantnameListjob.java |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../jobservice/createjob/AsyncCreateJob.java  |    0
 .../jobservice/createjob/SyncCreateJob.java   |    0
 .../SyncCreateJobProjectnameJob.java          |    0
 .../createjob/SyncCreateJobStringJob.java     |    0
 .../createjob/SyncCreateJobTenantnameJob.java |    0
 .../jobservice/deletejob/AsyncDeleteJob.java  |    0
 .../jobservice/deletejob/SyncDeleteJob.java   |    0
 .../deletejob/SyncDeleteJobJobname.java       |    0
 .../deletejob/SyncDeleteJobString.java        |    0
 .../jobservice/getjob/AsyncGetJob.java        |    0
 .../v4beta1/jobservice/getjob/SyncGetJob.java |    0
 .../jobservice/getjob/SyncGetJobJobname.java  |    0
 .../jobservice/getjob/SyncGetJobString.java   |    0
 .../jobservice/listjobs/AsyncListJobs.java    |    0
 .../listjobs/AsyncListJobsPaged.java          |    0
 .../jobservice/listjobs/SyncListJobs.java     |    0
 .../SyncListJobsProjectnameString.java        |    0
 .../listjobs/SyncListJobsStringString.java    |    0
 .../SyncListJobsTenantnameString.java         |    0
 .../searchjobs/AsyncSearchJobs.java           |    0
 .../searchjobs/AsyncSearchJobsPaged.java      |    0
 .../jobservice/searchjobs/SyncSearchJobs.java |    0
 .../AsyncSearchJobsForAlert.java              |    0
 .../AsyncSearchJobsForAlertPaged.java         |    0
 .../SyncSearchJobsForAlert.java               |    0
 .../jobservice/updatejob/AsyncUpdateJob.java  |    0
 .../jobservice/updatejob/SyncUpdateJob.java   |    0
 .../updatejob/SyncUpdateJobJob.java           |    0
 .../createjob/SyncCreateJob.java              |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateClientEvent.java                |    0
 .../createjob/SyncCreateJob.java              |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../createtenant/AsyncCreateTenant.java       |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateTenantProjectnameTenant.java    |    0
 .../SyncCreateTenantStringTenant.java         |    0
 .../deletetenant/AsyncDeleteTenant.java       |    0
 .../deletetenant/SyncDeleteTenant.java        |    0
 .../deletetenant/SyncDeleteTenantString.java  |    0
 .../SyncDeleteTenantTenantname.java           |    0
 .../gettenant/AsyncGetTenant.java             |    0
 .../gettenant/SyncGetTenant.java              |    0
 .../gettenant/SyncGetTenantString.java        |    0
 .../gettenant/SyncGetTenantTenantname.java    |    0
 .../listtenants/AsyncListTenants.java         |    0
 .../listtenants/AsyncListTenantsPaged.java    |    0
 .../listtenants/SyncListTenants.java          |    0
 .../SyncListTenantsProjectname.java           |    0
 .../listtenants/SyncListTenantsString.java    |    0
 .../updatetenant/AsyncUpdateTenant.java       |    0
 .../updatetenant/SyncUpdateTenant.java        |    0
 .../updatetenant/SyncUpdateTenantTenant.java  |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../cloud/talent/v4/CompanyServiceGrpc.java   |  651 ---
 .../cloud/talent/v4/TenantServiceGrpc.java    |  647 ---
 .../google/cloud/talent/v4/CommonProto.java   |  307 --
 .../google/cloud/talent/v4/CompanyProto.java  |   90 -
 .../cloud/talent/v4/CompanyServiceProto.java  |  180 -
 .../talent/v4/CompletionServiceProto.java     |  124 -
 .../v4/DeleteCompanyRequestOrBuilder.java     |   35 -
 .../talent/v4/DeleteJobRequestOrBuilder.java  |   35 -
 .../v4/DeleteTenantRequestOrBuilder.java      |   33 -
 .../google/cloud/talent/v4/EventProto.java    |   89 -
 .../cloud/talent/v4/EventServiceProto.java    |   86 -
 .../google/cloud/talent/v4/FiltersProto.java  |  149 -
 .../talent/v4/GetCompanyRequestOrBuilder.java |   35 -
 .../talent/v4/GetJobRequestOrBuilder.java     |   35 -
 .../talent/v4/GetTenantRequestOrBuilder.java  |   33 -
 .../cloud/talent/v4/HistogramProto.java       |   78 -
 .../com/google/cloud/talent/v4/JobProto.java  |  160 -
 .../cloud/talent/v4/JobServiceProto.java      |  428 --
 .../talent/v4/ResponseMetadataOrBuilder.java  |   31 -
 .../google/cloud/talent/v4/TenantProto.java   |   65 -
 .../cloud/talent/v4/TenantServiceProto.java   |  177 -
 .../talent/v4beta1/CompanyServiceGrpc.java    |  651 ---
 .../cloud/talent/v4beta1/CompletionGrpc.java  |  307 --
 .../cloud/talent/v4beta1/JobServiceGrpc.java  | 1145 ----
 .../talent/v4beta1/TenantServiceGrpc.java     |  647 ---
 .../BatchCreateJobsRequestOrBuilder.java      |   79 -
 .../cloud/talent/v4beta1/BatchProto.java      |   39 -
 .../cloud/talent/v4beta1/CommonProto.java     |  308 --
 .../talent/v4beta1/CompanyResourceProto.java  |   92 -
 .../talent/v4beta1/CompanyServiceProto.java   |  188 -
 .../v4beta1/CompletionServiceProto.java       |  126 -
 .../v4beta1/DeleteTenantRequestOrBuilder.java |   33 -
 .../cloud/talent/v4beta1/EventProto.java      |   90 -
 .../talent/v4beta1/EventServiceProto.java     |   88 -
 .../cloud/talent/v4beta1/FiltersProto.java    |  152 -
 .../v4beta1/GetTenantRequestOrBuilder.java    |   33 -
 .../cloud/talent/v4beta1/HistogramProto.java  |   78 -
 .../talent/v4beta1/JobResourceProto.java      |  163 -
 .../cloud/talent/v4beta1/JobServiceProto.java |  418 --
 .../talent/v4beta1/TenantResourceProto.java   |   70 -
 .../talent/v4beta1/TenantServiceProto.java    |  180 -
 678 files changed, 65778 insertions(+), 39225 deletions(-)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java (100%)
 create mode 100644 java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java (50%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java (54%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java (50%)
 create mode 100644 java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
 create mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java
 create mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java (54%)
 create mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java
 create mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java (64%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java (57%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java (83%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java (76%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilter.java (71%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java (71%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java (75%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java (82%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanySize.java (71%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java (63%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java (75%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java (79%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java (66%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java (55%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequest.java (62%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java (52%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java (55%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java (67%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java (59%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java (54%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java (86%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java (81%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java (61%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java (78%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java (62%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQuery.java (67%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java (57%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java (66%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java (76%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java (68%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java (80%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java (76%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java (79%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java (90%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQuery.java (85%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java (93%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java (79%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobView.java (79%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java (68%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java (62%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java (66%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java (56%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java (75%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java (88%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java (83%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java (86%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java (65%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java (86%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java (94%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java (88%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java (71%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java (66%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRange.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java (67%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java (79%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java (62%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java (68%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java (64%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java (74%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java (83%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java (76%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java (75%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java (80%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java (67%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java (63%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java (74%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java (81%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java (54%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java (63%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java (55%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java (63%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java (51%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java (58%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java (62%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java (54%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java (87%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java (81%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java (53%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java (64%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java (51%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java (62%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java (68%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java (62%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java (78%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java (54%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java (64%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java (51%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java (62%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java (69%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java (64%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java (66%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java (68%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java (80%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java (79%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java (79%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java (90%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java (85%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java (93%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java (79%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java (69%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java (74%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java (66%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java (56%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java (75%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java (86%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java (83%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java (87%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java (50%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java (85%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java (94%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java (85%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java (83%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java (67%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java (100%)
 delete mode 100644 owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java

diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
index 89bbd85283be..45dde7ee77a8 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.CompanyServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
index e3f3aa9d2e96..a514bf13ad3d 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
@@ -25,7 +25,6 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.CompletionStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
index b3a0bac40cdf..15a4619dfcaa 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
@@ -25,7 +25,6 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.EventServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
index f85255f50cf5..c169c28ac1d6 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
@@ -29,7 +29,6 @@
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.OperationCallSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.JobServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
index ea9e39488dcf..1b6f8b048ead 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.TenantServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
index 0309b6b3293f..82f8fc4cac28 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
@@ -37,7 +37,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
index c27915b13229..6ea25e438a31 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
@@ -29,7 +29,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
index 60fca5115e92..20ce3149e18d 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
@@ -29,7 +29,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
index d41a07c4ed85..a0e91e423fbf 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
@@ -48,7 +48,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
index 3dbad4b51d72..7b40fb4e32c1 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
@@ -37,7 +37,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
index a6076920f51b..22e90bea250c 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
@@ -30,7 +30,6 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
-import com.google.api.gax.longrunning.OperationSnapshot;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.OperationCallable;
 import com.google.api.gax.rpc.UnaryCallable;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
index c97cf9e44ee0..1f2bcc67d53a 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.CompanyServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
index e8cd1d3d6051..21d25617a9eb 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
@@ -25,7 +25,6 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.CompletionStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
index 4bf82aaec8d0..cc719d0f4f37 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
@@ -25,7 +25,6 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.EventServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
index f2030a66c915..bb698eeaf6f2 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
@@ -31,7 +31,6 @@
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.OperationCallSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.JobServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
index 57574866f33d..a3853a4af5e0 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.TenantServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
index 875154b34c0e..0ab7d33f083f 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
@@ -38,7 +38,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
index 0db9a1a61211..fd80f19900b6 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
@@ -30,7 +30,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
index 319914877683..5b9a7c813c2a 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
@@ -30,7 +30,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
index 4cb825f979de..8c4ece08a1f2 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
@@ -49,7 +49,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
index 6e486095bba4..e6e4ef1d534e 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
@@ -38,7 +38,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
index 49ae9ec9ea14..57839564a727 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
@@ -32,7 +32,6 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
-import com.google.api.gax.longrunning.OperationSnapshot;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.OperationCallable;
 import com.google.api.gax.rpc.UnaryCallable;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
new file mode 100644
index 000000000000..abf761d7cb03
--- /dev/null
+++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
@@ -0,0 +1,805 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.cloud.talent.v4;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * A service that handles company management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4/company_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompanyServiceGrpc { + + private CompanyServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4.CompanyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> + getCreateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompany", + requestType = com.google.cloud.talent.v4.CreateCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> + getCreateCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> + getCreateCompanyMethod; + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + CompanyServiceGrpc.getCreateCompanyMethod = + getCreateCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("CreateCompany")) + .build(); + } + } + } + return getCreateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> + getGetCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompany", + requestType = com.google.cloud.talent.v4.GetCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> + getGetCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> + getGetCompanyMethod; + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + CompanyServiceGrpc.getGetCompanyMethod = + getGetCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetCompanyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) + .build(); + } + } + } + return getGetCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> + getUpdateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", + requestType = com.google.cloud.talent.v4.UpdateCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> + getUpdateCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> + getUpdateCompanyMethod; + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + CompanyServiceGrpc.getUpdateCompanyMethod = + getUpdateCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) + .build(); + } + } + } + return getUpdateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", + requestType = com.google.cloud.talent.v4.DeleteCompanyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod; + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + CompanyServiceGrpc.getDeleteCompanyMethod = + getDeleteCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) + .build(); + } + } + } + return getDeleteCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse> + getListCompaniesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompanies", + requestType = com.google.cloud.talent.v4.ListCompaniesRequest.class, + responseType = com.google.cloud.talent.v4.ListCompaniesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse> + getListCompaniesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse> + getListCompaniesMethod; + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + CompanyServiceGrpc.getListCompaniesMethod = + getListCompaniesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListCompaniesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("ListCompanies")) + .build(); + } + } + } + return getListCompaniesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static CompanyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + }; + return CompanyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompanyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + }; + return CompanyServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CompanyServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + }; + return CompanyServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public abstract static class CompanyServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany( + com.google.cloud.talent.v4.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany( + com.google.cloud.talent.v4.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany( + com.google.cloud.talent.v4.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany( + com.google.cloud.talent.v4.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies( + com.google.cloud.talent.v4.ListCompaniesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCompaniesMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateCompanyRequest, + com.google.cloud.talent.v4.Company>(this, METHODID_CREATE_COMPANY))) + .addMethod( + getGetCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetCompanyRequest, + com.google.cloud.talent.v4.Company>(this, METHODID_GET_COMPANY))) + .addMethod( + getUpdateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateCompanyRequest, + com.google.cloud.talent.v4.Company>(this, METHODID_UPDATE_COMPANY))) + .addMethod( + getDeleteCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_COMPANY))) + .addMethod( + getListCompaniesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse>( + this, METHODID_LIST_COMPANIES))) + .build(); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private CompanyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany( + com.google.cloud.talent.v4.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany( + com.google.cloud.talent.v4.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany( + com.google.cloud.talent.v4.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany( + com.google.cloud.talent.v4.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies( + com.google.cloud.talent.v4.ListCompaniesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CompanyServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.cloud.talent.v4.Company createCompany( + com.google.cloud.talent.v4.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.cloud.talent.v4.Company getCompany( + com.google.cloud.talent.v4.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public com.google.cloud.talent.v4.Company updateCompany( + com.google.cloud.talent.v4.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.protobuf.Empty deleteCompany( + com.google.cloud.talent.v4.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4.ListCompaniesResponse listCompanies( + com.google.cloud.talent.v4.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompaniesMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CompanyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getCompany(com.google.cloud.talent.v4.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.ListCompaniesResponse> + listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_COMPANY = 0; + private static final int METHODID_GET_COMPANY = 1; + private static final int METHODID_UPDATE_COMPANY = 2; + private static final int METHODID_DELETE_COMPANY = 3; + private static final int METHODID_LIST_COMPANIES = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompanyServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_COMPANY: + serviceImpl.createCompany( + (com.google.cloud.talent.v4.CreateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_COMPANY: + serviceImpl.getCompany( + (com.google.cloud.talent.v4.GetCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_COMPANY: + serviceImpl.updateCompany( + (com.google.cloud.talent.v4.UpdateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_COMPANY: + serviceImpl.deleteCompany( + (com.google.cloud.talent.v4.DeleteCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPANIES: + serviceImpl.listCompanies( + (com.google.cloud.talent.v4.ListCompaniesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompanyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CompanyService"); + } + } + + private static final class CompanyServiceFileDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier { + CompanyServiceFileDescriptorSupplier() {} + } + + private static final class CompanyServiceMethodDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompanyServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompanyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) + .addMethod(getCreateCompanyMethod()) + .addMethod(getGetCompanyMethod()) + .addMethod(getUpdateCompanyMethod()) + .addMethod(getDeleteCompanyMethod()) + .addMethod(getListCompaniesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java similarity index 50% rename from owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java rename to java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java index 70710d57be6a..b2cc0c882cbf 100644 --- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java +++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * A service handles auto completion.
  * 
@@ -18,150 +35,176 @@ private CompletionGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.Completion"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCompleteQueryMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse> + getCompleteQueryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", requestType = com.google.cloud.talent.v4.CompleteQueryRequest.class, responseType = com.google.cloud.talent.v4.CompleteQueryResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCompleteQueryMethod() { - io.grpc.MethodDescriptor getCompleteQueryMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse> + getCompleteQueryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse> + getCompleteQueryMethod; if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { synchronized (CompletionGrpc.class) { if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - CompletionGrpc.getCompleteQueryMethod = getCompleteQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) - .build(); + CompletionGrpc.getCompleteQueryMethod = + getCompleteQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CompleteQueryResponse + .getDefaultInstance())) + .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) + .build(); } } } return getCompleteQueryMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static CompletionStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + }; return CompletionStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static CompletionBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static CompletionBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + }; return CompletionBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CompletionFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CompletionFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + }; return CompletionFutureStub.newStub(factory, channel); } /** + * + * *
    * A service handles auto completion.
    * 
*/ - public static abstract class CompletionImplBase implements io.grpc.BindableService { + public abstract static class CompletionImplBase implements io.grpc.BindableService { /** + * + * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public void completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteQueryMethod(), responseObserver); + public void completeQuery( + com.google.cloud.talent.v4.CompleteQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteQueryMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCompleteQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse>( - this, METHODID_COMPLETE_QUERY))) + getCompleteQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse>( + this, METHODID_COMPLETE_QUERY))) .build(); } } /** + * + * *
    * A service handles auto completion.
    * 
*/ public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { - private CompletionStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CompletionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CompletionStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CompletionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CompletionStub(channel, callOptions); } /** + * + * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public void completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void completeQuery( + com.google.cloud.talent.v4.CompleteQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service handles auto completion.
    * 
*/ - public static final class CompletionBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CompletionBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CompletionBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CompletionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -172,42 +215,49 @@ protected CompletionBlockingStub build( } /** + * + * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public com.google.cloud.talent.v4.CompleteQueryResponse completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request) { + public com.google.cloud.talent.v4.CompleteQueryResponse completeQuery( + com.google.cloud.talent.v4.CompleteQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCompleteQueryMethod(), getCallOptions(), request); } } /** + * + * *
    * A service handles auto completion.
    * 
*/ - public static final class CompletionFutureStub extends io.grpc.stub.AbstractFutureStub { - private CompletionFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CompletionFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CompletionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CompletionFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CompletionFutureStub(channel, callOptions); } /** + * + * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture completeQuery( - com.google.cloud.talent.v4.CompleteQueryRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.CompleteQueryResponse> + completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); } @@ -215,11 +265,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final CompletionImplBase serviceImpl; private final int methodId; @@ -233,8 +283,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_COMPLETE_QUERY: - serviceImpl.completeQuery((com.google.cloud.talent.v4.CompleteQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.completeQuery( + (com.google.cloud.talent.v4.CompleteQueryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -252,8 +304,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { CompletionBaseDescriptorSupplier() {} @java.lang.Override @@ -295,10 +348,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CompletionGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) - .addMethod(getCompleteQueryMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) + .addMethod(getCompleteQueryMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java similarity index 54% rename from owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java rename to java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java index fa141108eb74..fc86661433ee 100644 --- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java +++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * A service handles client event report.
  * 
@@ -18,89 +35,105 @@ private EventServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.EventService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateClientEventMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent> + getCreateClientEventMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateClientEvent", requestType = com.google.cloud.talent.v4.CreateClientEventRequest.class, responseType = com.google.cloud.talent.v4.ClientEvent.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClientEventMethod() { - io.grpc.MethodDescriptor getCreateClientEventMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent> + getCreateClientEventMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent> + getCreateClientEventMethod; if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { synchronized (EventServiceGrpc.class) { if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { - EventServiceGrpc.getCreateClientEventMethod = getCreateClientEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ClientEvent.getDefaultInstance())) - .setSchemaDescriptor(new EventServiceMethodDescriptorSupplier("CreateClientEvent")) - .build(); + EventServiceGrpc.getCreateClientEventMethod = + getCreateClientEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateClientEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ClientEvent.getDefaultInstance())) + .setSchemaDescriptor( + new EventServiceMethodDescriptorSupplier("CreateClientEvent")) + .build(); } } } return getCreateClientEventMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static EventServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceStub(channel, callOptions); + } + }; return EventServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static EventServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static EventServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceBlockingStub(channel, callOptions); + } + }; return EventServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static EventServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EventServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceFutureStub(channel, callOptions); + } + }; return EventServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static abstract class EventServiceImplBase implements io.grpc.BindableService { + public abstract static class EventServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -111,42 +144,47 @@ public static abstract class EventServiceImplBase implements io.grpc.BindableSer
      * about self service tools.
      * 
*/ - public void createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request, + public void createClientEvent( + com.google.cloud.talent.v4.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClientEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClientEventMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateClientEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent>( - this, METHODID_CREATE_CLIENT_EVENT))) + getCreateClientEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent>(this, METHODID_CREATE_CLIENT_EVENT))) .build(); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceStub extends io.grpc.stub.AbstractAsyncStub { - private EventServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private EventServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected EventServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new EventServiceStub(channel, callOptions); } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -157,21 +195,26 @@ protected EventServiceStub build(
      * about self service tools.
      * 
*/ - public void createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request, + public void createClientEvent( + com.google.cloud.talent.v4.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private EventServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EventServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -182,6 +225,8 @@ protected EventServiceBlockingStub build( } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -192,20 +237,23 @@ protected EventServiceBlockingStub build(
      * about self service tools.
      * 
*/ - public com.google.cloud.talent.v4.ClientEvent createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request) { + public com.google.cloud.talent.v4.ClientEvent createClientEvent( + com.google.cloud.talent.v4.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateClientEventMethod(), getCallOptions(), request); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private EventServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EventServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -216,6 +264,8 @@ protected EventServiceFutureStub build( } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -226,8 +276,9 @@ protected EventServiceFutureStub build(
      * about self service tools.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createClientEvent( - com.google.cloud.talent.v4.CreateClientEventRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.ClientEvent> + createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request); } @@ -235,11 +286,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final EventServiceImplBase serviceImpl; private final int methodId; @@ -253,8 +304,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CLIENT_EVENT: - serviceImpl.createClientEvent((com.google.cloud.talent.v4.CreateClientEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.createClientEvent( + (com.google.cloud.talent.v4.CreateClientEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -272,8 +325,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class EventServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class EventServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { EventServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -315,10 +369,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (EventServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) - .addMethod(getCreateClientEventMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) + .addMethod(getCreateClientEventMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java similarity index 50% rename from owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java rename to java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java index ad495e9d8c87..8538ee796c10 100644 --- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java +++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * A service handles job management, including job CRUD, enumeration and search.
  * 
@@ -18,455 +35,590 @@ private JobServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.JobService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateJobMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> + getCreateJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateJob", requestType = com.google.cloud.talent.v4.CreateJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateJobMethod() { - io.grpc.MethodDescriptor getCreateJobMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> + getCreateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> + getCreateJobMethod; if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - JobServiceGrpc.getCreateJobMethod = getCreateJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) - .build(); + JobServiceGrpc.getCreateJobMethod = + getCreateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) + .build(); } } } return getCreateJobMethod; } - private static volatile io.grpc.MethodDescriptor getBatchCreateJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", requestType = com.google.cloud.talent.v4.BatchCreateJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateJobsMethod() { - io.grpc.MethodDescriptor getBatchCreateJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod; if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - JobServiceGrpc.getBatchCreateJobsMethod = getBatchCreateJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) - .build(); + JobServiceGrpc.getBatchCreateJobsMethod = + getBatchCreateJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchCreateJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) + .build(); } } } return getBatchCreateJobsMethod; } - private static volatile io.grpc.MethodDescriptor getGetJobMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> + getGetJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetJob", requestType = com.google.cloud.talent.v4.GetJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJobMethod() { - io.grpc.MethodDescriptor getGetJobMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> + getGetJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> + getGetJobMethod; if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - JobServiceGrpc.getGetJobMethod = getGetJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) - .build(); + JobServiceGrpc.getGetJobMethod = + getGetJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) + .build(); } } } return getGetJobMethod; } - private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> + getUpdateJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateJob", requestType = com.google.cloud.talent.v4.UpdateJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateJobMethod() { - io.grpc.MethodDescriptor getUpdateJobMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> + getUpdateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> + getUpdateJobMethod; if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - JobServiceGrpc.getUpdateJobMethod = getUpdateJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) - .build(); + JobServiceGrpc.getUpdateJobMethod = + getUpdateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) + .build(); } } } return getUpdateJobMethod; } - private static volatile io.grpc.MethodDescriptor getBatchUpdateJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", requestType = com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchUpdateJobsMethod() { - io.grpc.MethodDescriptor getBatchUpdateJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod; if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - JobServiceGrpc.getBatchUpdateJobsMethod = getBatchUpdateJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) - .build(); + JobServiceGrpc.getBatchUpdateJobsMethod = + getBatchUpdateJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchUpdateJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) + .build(); } } } return getBatchUpdateJobsMethod; } - private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteJob", requestType = com.google.cloud.talent.v4.DeleteJobRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteJobMethod() { - io.grpc.MethodDescriptor getDeleteJobMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod() { + io.grpc.MethodDescriptor + getDeleteJobMethod; if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - JobServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) - .build(); + JobServiceGrpc.getDeleteJobMethod = + getDeleteJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) + .build(); } } } return getDeleteJobMethod; } - private static volatile io.grpc.MethodDescriptor getBatchDeleteJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> + getBatchDeleteJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", requestType = com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchDeleteJobsMethod() { - io.grpc.MethodDescriptor getBatchDeleteJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> + getBatchDeleteJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> + getBatchDeleteJobsMethod; if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - JobServiceGrpc.getBatchDeleteJobsMethod = getBatchDeleteJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) - .build(); + JobServiceGrpc.getBatchDeleteJobsMethod = + getBatchDeleteJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchDeleteJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) + .build(); } } } return getBatchDeleteJobsMethod; } - private static volatile io.grpc.MethodDescriptor getListJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> + getListJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListJobs", requestType = com.google.cloud.talent.v4.ListJobsRequest.class, responseType = com.google.cloud.talent.v4.ListJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListJobsMethod() { - io.grpc.MethodDescriptor getListJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> + getListJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> + getListJobsMethod; if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - JobServiceGrpc.getListJobsMethod = getListJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) - .build(); + JobServiceGrpc.getListJobsMethod = + getListJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) + .build(); } } } return getListJobsMethod; } - private static volatile io.grpc.MethodDescriptor getSearchJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchJobs", requestType = com.google.cloud.talent.v4.SearchJobsRequest.class, responseType = com.google.cloud.talent.v4.SearchJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchJobsMethod() { - io.grpc.MethodDescriptor getSearchJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsMethod; if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - JobServiceGrpc.getSearchJobsMethod = getSearchJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) - .build(); + JobServiceGrpc.getSearchJobsMethod = + getSearchJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) + .build(); } } } return getSearchJobsMethod; } - private static volatile io.grpc.MethodDescriptor getSearchJobsForAlertMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsForAlertMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", requestType = com.google.cloud.talent.v4.SearchJobsRequest.class, responseType = com.google.cloud.talent.v4.SearchJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchJobsForAlertMethod() { - io.grpc.MethodDescriptor getSearchJobsForAlertMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsForAlertMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsForAlertMethod; if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - JobServiceGrpc.getSearchJobsForAlertMethod = getSearchJobsForAlertMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) - .build(); + JobServiceGrpc.getSearchJobsForAlertMethod = + getSearchJobsForAlertMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) + .build(); } } } return getSearchJobsForAlertMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static JobServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + }; return JobServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static JobServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static JobServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + }; return JobServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static JobServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static JobServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + }; return JobServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static abstract class JobServiceImplBase implements io.grpc.BindableService { + public abstract static class JobServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void createJob(com.google.cloud.talent.v4.CreateJobRequest request, + public void createJob( + com.google.cloud.talent.v4.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); } /** + * + * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public void batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request, + public void batchCreateJobs( + com.google.cloud.talent.v4.BatchCreateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateJobsMethod(), responseObserver); } /** + * + * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public void getJob(com.google.cloud.talent.v4.GetJobRequest request, + public void getJob( + com.google.cloud.talent.v4.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** + * + * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public void updateJob(com.google.cloud.talent.v4.UpdateJobRequest request, + public void updateJob( + com.google.cloud.talent.v4.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** + * + * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public void batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request, + public void batchUpdateJobs( + com.google.cloud.talent.v4.BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchUpdateJobsMethod(), responseObserver); } /** + * + * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request, + public void deleteJob( + com.google.cloud.talent.v4.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } /** + * + * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public void batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request, + public void batchDeleteJobs( + com.google.cloud.talent.v4.BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchDeleteJobsMethod(), responseObserver); } /** + * + * *
      * Lists jobs by filter.
      * 
*/ - public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request, + public void listJobs( + com.google.cloud.talent.v4.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -474,12 +626,16 @@ public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request,
      * permission to search against.
      * 
*/ - public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchJobs( + com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -491,200 +647,227 @@ public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request,
      * permission to search against.
      * 
*/ - public void searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsForAlertMethod(), responseObserver); + public void searchJobsForAlert( + com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchJobsForAlertMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateJobRequest, - com.google.cloud.talent.v4.Job>( - this, METHODID_CREATE_JOB))) + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job>( + this, METHODID_CREATE_JOB))) .addMethod( - getBatchCreateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchCreateJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_CREATE_JOBS))) + getBatchCreateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchCreateJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_JOBS))) .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetJobRequest, - com.google.cloud.talent.v4.Job>( - this, METHODID_GET_JOB))) + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job>( + this, METHODID_GET_JOB))) .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateJobRequest, - com.google.cloud.talent.v4.Job>( - this, METHODID_UPDATE_JOB))) + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job>( + this, METHODID_UPDATE_JOB))) .addMethod( - getBatchUpdateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_UPDATE_JOBS))) + getBatchUpdateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_JOBS))) .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteJobRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) .addMethod( - getBatchDeleteJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_DELETE_JOBS))) + getBatchDeleteJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_DELETE_JOBS))) .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListJobsRequest, - com.google.cloud.talent.v4.ListJobsResponse>( - this, METHODID_LIST_JOBS))) + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListJobsRequest, + com.google.cloud.talent.v4.ListJobsResponse>(this, METHODID_LIST_JOBS))) .addMethod( - getSearchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS))) + getSearchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse>(this, METHODID_SEARCH_JOBS))) .addMethod( - getSearchJobsForAlertMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS_FOR_ALERT))) + getSearchJobsForAlertMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS_FOR_ALERT))) .build(); } } /** + * + * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { - private JobServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private JobServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected JobServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new JobServiceStub(channel, callOptions); } /** + * + * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void createJob(com.google.cloud.talent.v4.CreateJobRequest request, + public void createJob( + com.google.cloud.talent.v4.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public void batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request, + public void batchCreateJobs( + com.google.cloud.talent.v4.BatchCreateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public void getJob(com.google.cloud.talent.v4.GetJobRequest request, + public void getJob( + com.google.cloud.talent.v4.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public void updateJob(com.google.cloud.talent.v4.UpdateJobRequest request, + public void updateJob( + com.google.cloud.talent.v4.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public void batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request, + public void batchUpdateJobs( + com.google.cloud.talent.v4.BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request, + public void deleteJob( + com.google.cloud.talent.v4.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public void batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request, + public void batchDeleteJobs( + com.google.cloud.talent.v4.BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists jobs by filter.
      * 
*/ - public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request, + public void listJobs( + com.google.cloud.talent.v4.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -692,13 +875,17 @@ public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request,
      * permission to search against.
      * 
*/ - public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchJobs( + com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -710,21 +897,27 @@ public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request,
      * permission to search against.
      * 
*/ - public void searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchJobsForAlert( + com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static final class JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private JobServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class JobServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private JobServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -735,28 +928,36 @@ protected JobServiceBlockingStub build( } /** + * + * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.cloud.talent.v4.Job createJob(com.google.cloud.talent.v4.CreateJobRequest request) { + public com.google.cloud.talent.v4.Job createJob( + com.google.cloud.talent.v4.CreateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateJobMethod(), getCallOptions(), request); } /** + * + * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request) { + public com.google.longrunning.Operation batchCreateJobs( + com.google.cloud.talent.v4.BatchCreateJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
@@ -768,60 +969,77 @@ public com.google.cloud.talent.v4.Job getJob(com.google.cloud.talent.v4.GetJobRe
     }
 
     /**
+     *
+     *
      * 
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public com.google.cloud.talent.v4.Job updateJob(com.google.cloud.talent.v4.UpdateJobRequest request) { + public com.google.cloud.talent.v4.Job updateJob( + com.google.cloud.talent.v4.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** + * + * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { + public com.google.longrunning.Operation batchUpdateJobs( + com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.protobuf.Empty deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request) { + public com.google.protobuf.Empty deleteJob( + com.google.cloud.talent.v4.DeleteJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } /** + * + * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { + public com.google.longrunning.Operation batchDeleteJobs( + com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists jobs by filter.
      * 
*/ - public com.google.cloud.talent.v4.ListJobsResponse listJobs(com.google.cloud.talent.v4.ListJobsRequest request) { + public com.google.cloud.talent.v4.ListJobsResponse listJobs( + com.google.cloud.talent.v4.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -829,12 +1047,15 @@ public com.google.cloud.talent.v4.ListJobsResponse listJobs(com.google.cloud.tal
      * permission to search against.
      * 
*/ - public com.google.cloud.talent.v4.SearchJobsResponse searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request) { + public com.google.cloud.talent.v4.SearchJobsResponse searchJobs( + com.google.cloud.talent.v4.SearchJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -846,90 +1067,104 @@ public com.google.cloud.talent.v4.SearchJobsResponse searchJobs(com.google.cloud
      * permission to search against.
      * 
*/ - public com.google.cloud.talent.v4.SearchJobsResponse searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request) { + public com.google.cloud.talent.v4.SearchJobsResponse searchJobsForAlert( + com.google.cloud.talent.v4.SearchJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); } } /** + * + * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static final class JobServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private JobServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class JobServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private JobServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected JobServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new JobServiceFutureStub(channel, callOptions); } /** + * + * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createJob( - com.google.cloud.talent.v4.CreateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createJob(com.google.cloud.talent.v4.CreateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); } /** + * + * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture batchCreateJobs( - com.google.cloud.talent.v4.BatchCreateJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getJob( - com.google.cloud.talent.v4.GetJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getJob(com.google.cloud.talent.v4.GetJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** + * + * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateJob( - com.google.cloud.talent.v4.UpdateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateJob(com.google.cloud.talent.v4.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); } /** + * + * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture batchUpdateJobs( - com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
@@ -943,28 +1178,35 @@ public com.google.common.util.concurrent.ListenableFuture
      * Begins executing a batch delete jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture batchDeleteJobs( - com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Lists jobs by filter.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listJobs( - com.google.cloud.talent.v4.ListJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.ListJobsResponse> + listJobs(com.google.cloud.talent.v4.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -972,13 +1214,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture searchJobs(
-        com.google.cloud.talent.v4.SearchJobsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.talent.v4.SearchJobsResponse>
+        searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -990,8 +1235,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture searchJobsForAlert(
-        com.google.cloud.talent.v4.SearchJobsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.talent.v4.SearchJobsResponse>
+        searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request);
     }
@@ -1008,11 +1254,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final JobServiceImplBase serviceImpl;
     private final int methodId;
 
@@ -1026,44 +1272,57 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_JOB:
-          serviceImpl.createJob((com.google.cloud.talent.v4.CreateJobRequest) request,
+          serviceImpl.createJob(
+              (com.google.cloud.talent.v4.CreateJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_CREATE_JOBS:
-          serviceImpl.batchCreateJobs((com.google.cloud.talent.v4.BatchCreateJobsRequest) request,
+          serviceImpl.batchCreateJobs(
+              (com.google.cloud.talent.v4.BatchCreateJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_JOB:
-          serviceImpl.getJob((com.google.cloud.talent.v4.GetJobRequest) request,
+          serviceImpl.getJob(
+              (com.google.cloud.talent.v4.GetJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_JOB:
-          serviceImpl.updateJob((com.google.cloud.talent.v4.UpdateJobRequest) request,
+          serviceImpl.updateJob(
+              (com.google.cloud.talent.v4.UpdateJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_UPDATE_JOBS:
-          serviceImpl.batchUpdateJobs((com.google.cloud.talent.v4.BatchUpdateJobsRequest) request,
+          serviceImpl.batchUpdateJobs(
+              (com.google.cloud.talent.v4.BatchUpdateJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_JOB:
-          serviceImpl.deleteJob((com.google.cloud.talent.v4.DeleteJobRequest) request,
+          serviceImpl.deleteJob(
+              (com.google.cloud.talent.v4.DeleteJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_DELETE_JOBS:
-          serviceImpl.batchDeleteJobs((com.google.cloud.talent.v4.BatchDeleteJobsRequest) request,
+          serviceImpl.batchDeleteJobs(
+              (com.google.cloud.talent.v4.BatchDeleteJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_JOBS:
-          serviceImpl.listJobs((com.google.cloud.talent.v4.ListJobsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listJobs(
+              (com.google.cloud.talent.v4.ListJobsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_SEARCH_JOBS:
-          serviceImpl.searchJobs((com.google.cloud.talent.v4.SearchJobsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.searchJobs(
+              (com.google.cloud.talent.v4.SearchJobsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_SEARCH_JOBS_FOR_ALERT:
-          serviceImpl.searchJobsForAlert((com.google.cloud.talent.v4.SearchJobsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.searchJobsForAlert(
+              (com.google.cloud.talent.v4.SearchJobsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -1081,8 +1340,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class JobServiceBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class JobServiceBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     JobServiceBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1124,19 +1384,21 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (JobServiceGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new JobServiceFileDescriptorSupplier())
-              .addMethod(getCreateJobMethod())
-              .addMethod(getBatchCreateJobsMethod())
-              .addMethod(getGetJobMethod())
-              .addMethod(getUpdateJobMethod())
-              .addMethod(getBatchUpdateJobsMethod())
-              .addMethod(getDeleteJobMethod())
-              .addMethod(getBatchDeleteJobsMethod())
-              .addMethod(getListJobsMethod())
-              .addMethod(getSearchJobsMethod())
-              .addMethod(getSearchJobsForAlertMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new JobServiceFileDescriptorSupplier())
+                      .addMethod(getCreateJobMethod())
+                      .addMethod(getBatchCreateJobsMethod())
+                      .addMethod(getGetJobMethod())
+                      .addMethod(getUpdateJobMethod())
+                      .addMethod(getBatchUpdateJobsMethod())
+                      .addMethod(getDeleteJobMethod())
+                      .addMethod(getBatchDeleteJobsMethod())
+                      .addMethod(getListJobsMethod())
+                      .addMethod(getSearchJobsMethod())
+                      .addMethod(getSearchJobsForAlertMethod())
+                      .build();
         }
       }
     }
diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
new file mode 100644
index 000000000000..2b4421a625dc
--- /dev/null
+++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
@@ -0,0 +1,798 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.cloud.talent.v4;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * A service that handles tenant management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4/tenant_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TenantServiceGrpc { + + private TenantServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4.TenantService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> + getCreateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTenant", + requestType = com.google.cloud.talent.v4.CreateTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> + getCreateTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> + getCreateTenantMethod; + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + TenantServiceGrpc.getCreateTenantMethod = + getCreateTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateTenantRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("CreateTenant")) + .build(); + } + } + } + return getCreateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> + getGetTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTenant", + requestType = com.google.cloud.talent.v4.GetTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> + getGetTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> + getGetTenantMethod; + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + TenantServiceGrpc.getGetTenantMethod = + getGetTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetTenantRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) + .build(); + } + } + } + return getGetTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> + getUpdateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", + requestType = com.google.cloud.talent.v4.UpdateTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> + getUpdateTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> + getUpdateTenantMethod; + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + TenantServiceGrpc.getUpdateTenantMethod = + getUpdateTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateTenantRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("UpdateTenant")) + .build(); + } + } + } + return getUpdateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", + requestType = com.google.cloud.talent.v4.DeleteTenantRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod; + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + TenantServiceGrpc.getDeleteTenantMethod = + getDeleteTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteTenantRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("DeleteTenant")) + .build(); + } + } + } + return getDeleteTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse> + getListTenantsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTenants", + requestType = com.google.cloud.talent.v4.ListTenantsRequest.class, + responseType = com.google.cloud.talent.v4.ListTenantsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse> + getListTenantsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse> + getListTenantsMethod; + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + TenantServiceGrpc.getListTenantsMethod = + getListTenantsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListTenantsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListTenantsResponse.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) + .build(); + } + } + } + return getListTenantsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static TenantServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + }; + return TenantServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TenantServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + }; + return TenantServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static TenantServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + }; + return TenantServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public abstract static class TenantServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant( + com.google.cloud.talent.v4.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant( + com.google.cloud.talent.v4.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant( + com.google.cloud.talent.v4.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant( + com.google.cloud.talent.v4.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants( + com.google.cloud.talent.v4.ListTenantsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTenantsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateTenantRequest, + com.google.cloud.talent.v4.Tenant>(this, METHODID_CREATE_TENANT))) + .addMethod( + getGetTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetTenantRequest, + com.google.cloud.talent.v4.Tenant>(this, METHODID_GET_TENANT))) + .addMethod( + getUpdateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateTenantRequest, + com.google.cloud.talent.v4.Tenant>(this, METHODID_UPDATE_TENANT))) + .addMethod( + getDeleteTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TENANT))) + .addMethod( + getListTenantsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse>(this, METHODID_LIST_TENANTS))) + .build(); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private TenantServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant( + com.google.cloud.talent.v4.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant( + com.google.cloud.talent.v4.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant( + com.google.cloud.talent.v4.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant( + com.google.cloud.talent.v4.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants( + com.google.cloud.talent.v4.ListTenantsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private TenantServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant createTenant( + com.google.cloud.talent.v4.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant getTenant( + com.google.cloud.talent.v4.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant updateTenant( + com.google.cloud.talent.v4.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.protobuf.Empty deleteTenant( + com.google.cloud.talent.v4.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4.ListTenantsResponse listTenants( + com.google.cloud.talent.v4.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTenantsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private TenantServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createTenant(com.google.cloud.talent.v4.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getTenant(com.google.cloud.talent.v4.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.ListTenantsResponse> + listTenants(com.google.cloud.talent.v4.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TENANT = 0; + private static final int METHODID_GET_TENANT = 1; + private static final int METHODID_UPDATE_TENANT = 2; + private static final int METHODID_DELETE_TENANT = 3; + private static final int METHODID_LIST_TENANTS = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TenantServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TENANT: + serviceImpl.createTenant( + (com.google.cloud.talent.v4.CreateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TENANT: + serviceImpl.getTenant( + (com.google.cloud.talent.v4.GetTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TENANT: + serviceImpl.updateTenant( + (com.google.cloud.talent.v4.UpdateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TENANT: + serviceImpl.deleteTenant( + (com.google.cloud.talent.v4.DeleteTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TENANTS: + serviceImpl.listTenants( + (com.google.cloud.talent.v4.ListTenantsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TenantServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TenantService"); + } + } + + private static final class TenantServiceFileDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier { + TenantServiceFileDescriptorSupplier() {} + } + + private static final class TenantServiceMethodDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TenantServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TenantServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) + .addMethod(getCreateTenantMethod()) + .addMethod(getGetTenantMethod()) + .addMethod(getUpdateTenantMethod()) + .addMethod(getDeleteTenantMethod()) + .addMethod(getListTenantsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java new file mode 100644 index 000000000000..1015857aaf7e --- /dev/null +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java @@ -0,0 +1,826 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * A service that handles company management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/company_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompanyServiceGrpc { + + private CompanyServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.CompanyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompany", + requestType = com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethod; + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + CompanyServiceGrpc.getCreateCompanyMethod = + getCreateCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateCompanyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("CreateCompany")) + .build(); + } + } + } + return getCreateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getGetCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompany", + requestType = com.google.cloud.talent.v4beta1.GetCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getGetCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getGetCompanyMethod; + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + CompanyServiceGrpc.getGetCompanyMethod = + getGetCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetCompanyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) + .build(); + } + } + } + return getGetCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getUpdateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", + requestType = com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getUpdateCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getUpdateCompanyMethod; + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + CompanyServiceGrpc.getUpdateCompanyMethod = + getUpdateCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) + .build(); + } + } + } + return getUpdateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", + requestType = com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod; + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + CompanyServiceGrpc.getDeleteCompanyMethod = + getDeleteCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) + .build(); + } + } + } + return getDeleteCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse> + getListCompaniesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompanies", + requestType = com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse> + getListCompaniesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse> + getListCompaniesMethod; + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + CompanyServiceGrpc.getListCompaniesMethod = + getListCompaniesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListCompaniesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListCompaniesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("ListCompanies")) + .build(); + } + } + } + return getListCompaniesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static CompanyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + }; + return CompanyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompanyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + }; + return CompanyServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CompanyServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + }; + return CompanyServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public abstract static class CompanyServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCompaniesMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company>(this, METHODID_CREATE_COMPANY))) + .addMethod( + getGetCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company>(this, METHODID_GET_COMPANY))) + .addMethod( + getUpdateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company>(this, METHODID_UPDATE_COMPANY))) + .addMethod( + getDeleteCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_COMPANY))) + .addMethod( + getListCompaniesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse>( + this, METHODID_LIST_COMPANIES))) + .build(); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private CompanyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CompanyServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.protobuf.Empty deleteCompany( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListCompaniesResponse listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompaniesMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CompanyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Company> + createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Company> + getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Company> + updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ListCompaniesResponse> + listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_COMPANY = 0; + private static final int METHODID_GET_COMPANY = 1; + private static final int METHODID_UPDATE_COMPANY = 2; + private static final int METHODID_DELETE_COMPANY = 3; + private static final int METHODID_LIST_COMPANIES = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompanyServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_COMPANY: + serviceImpl.createCompany( + (com.google.cloud.talent.v4beta1.CreateCompanyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_COMPANY: + serviceImpl.getCompany( + (com.google.cloud.talent.v4beta1.GetCompanyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_COMPANY: + serviceImpl.updateCompany( + (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_COMPANY: + serviceImpl.deleteCompany( + (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPANIES: + serviceImpl.listCompanies( + (com.google.cloud.talent.v4beta1.ListCompaniesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompanyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CompanyService"); + } + } + + private static final class CompanyServiceFileDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier { + CompanyServiceFileDescriptorSupplier() {} + } + + private static final class CompanyServiceMethodDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompanyServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompanyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) + .addMethod(getCreateCompanyMethod()) + .addMethod(getGetCompanyMethod()) + .addMethod(getUpdateCompanyMethod()) + .addMethod(getDeleteCompanyMethod()) + .addMethod(getListCompaniesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java new file mode 100644 index 000000000000..528a11de4b18 --- /dev/null +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java @@ -0,0 +1,363 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * A service handles auto completion.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompletionGrpc { + + private CompletionGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.Completion"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", + requestType = com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, + responseType = com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethod; + if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { + synchronized (CompletionGrpc.class) { + if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { + CompletionGrpc.getCompleteQueryMethod = + getCompleteQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CompleteQueryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CompleteQueryResponse + .getDefaultInstance())) + .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) + .build(); + } + } + } + return getCompleteQueryMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static CompletionStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + }; + return CompletionStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompletionBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + }; + return CompletionBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CompletionFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + }; + return CompletionFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service handles auto completion.
+   * 
+ */ + public abstract static class CompletionImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public void completeQuery( + com.google.cloud.talent.v4beta1.CompleteQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteQueryMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCompleteQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse>( + this, METHODID_COMPLETE_QUERY))) + .build(); + } + } + + /** + * + * + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { + private CompletionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + + /** + * + * + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public void completeQuery( + com.google.cloud.talent.v4beta1.CompleteQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CompletionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.CompleteQueryResponse completeQuery( + com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteQueryMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CompletionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_COMPLETE_QUERY = 0; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompletionImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompletionImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_COMPLETE_QUERY: + serviceImpl.completeQuery( + (com.google.cloud.talent.v4beta1.CompleteQueryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompletionBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Completion"); + } + } + + private static final class CompletionFileDescriptorSupplier + extends CompletionBaseDescriptorSupplier { + CompletionFileDescriptorSupplier() {} + } + + private static final class CompletionMethodDescriptorSupplier + extends CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompletionMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompletionGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) + .addMethod(getCompleteQueryMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java similarity index 54% rename from owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java rename to java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java index adfc6ef7ad41..c0ad64e9396f 100644 --- a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.talent.v4beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * A service handles client event report.
  * 
@@ -18,89 +35,105 @@ private EventServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.EventService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateClientEventMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateClientEvent", requestType = com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, responseType = com.google.cloud.talent.v4beta1.ClientEvent.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClientEventMethod() { - io.grpc.MethodDescriptor getCreateClientEventMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethod; if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { synchronized (EventServiceGrpc.class) { if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { - EventServiceGrpc.getCreateClientEventMethod = getCreateClientEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance())) - .setSchemaDescriptor(new EventServiceMethodDescriptorSupplier("CreateClientEvent")) - .build(); + EventServiceGrpc.getCreateClientEventMethod = + getCreateClientEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateClientEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance())) + .setSchemaDescriptor( + new EventServiceMethodDescriptorSupplier("CreateClientEvent")) + .build(); } } } return getCreateClientEventMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static EventServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceStub(channel, callOptions); + } + }; return EventServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static EventServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static EventServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceBlockingStub(channel, callOptions); + } + }; return EventServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static EventServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EventServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceFutureStub(channel, callOptions); + } + }; return EventServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static abstract class EventServiceImplBase implements io.grpc.BindableService { + public abstract static class EventServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -111,42 +144,48 @@ public static abstract class EventServiceImplBase implements io.grpc.BindableSer
      * about self service tools.
      * 
*/ - public void createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + public void createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClientEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClientEventMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateClientEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent>( - this, METHODID_CREATE_CLIENT_EVENT))) + getCreateClientEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent>( + this, METHODID_CREATE_CLIENT_EVENT))) .build(); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceStub extends io.grpc.stub.AbstractAsyncStub { - private EventServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private EventServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected EventServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new EventServiceStub(channel, callOptions); } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -157,21 +196,26 @@ protected EventServiceStub build(
      * about self service tools.
      * 
*/ - public void createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + public void createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private EventServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EventServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -182,6 +226,8 @@ protected EventServiceBlockingStub build( } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -192,20 +238,23 @@ protected EventServiceBlockingStub build(
      * about self service tools.
      * 
*/ - public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateClientEventMethod(), getCallOptions(), request); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private EventServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EventServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -216,6 +265,8 @@ protected EventServiceFutureStub build( } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -226,8 +277,9 @@ protected EventServiceFutureStub build(
      * about self service tools.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createClientEvent( - com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ClientEvent> + createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request); } @@ -235,11 +287,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final EventServiceImplBase serviceImpl; private final int methodId; @@ -253,8 +305,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CLIENT_EVENT: - serviceImpl.createClientEvent((com.google.cloud.talent.v4beta1.CreateClientEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.createClientEvent( + (com.google.cloud.talent.v4beta1.CreateClientEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -272,8 +326,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class EventServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class EventServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { EventServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -315,10 +370,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (EventServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) - .addMethod(getCreateClientEventMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) + .addMethod(getCreateClientEventMethod()) + .build(); } } } diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java new file mode 100644 index 000000000000..b5c3d0db5a44 --- /dev/null +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java @@ -0,0 +1,1428 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * A service handles job management, including job CRUD, enumeration and search.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/job_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class JobServiceGrpc { + + private JobServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.JobService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJob", + requestType = com.google.cloud.talent.v4beta1.CreateJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethod; + if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { + JobServiceGrpc.getCreateJobMethod = + getCreateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) + .build(); + } + } + } + return getCreateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", + requestType = com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, + com.google.longrunning.Operation> + getBatchCreateJobsMethod; + if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { + JobServiceGrpc.getBatchCreateJobsMethod = + getBatchCreateJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) + .build(); + } + } + } + return getBatchCreateJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> + getGetJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJob", + requestType = com.google.cloud.talent.v4beta1.GetJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> + getGetJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> + getGetJobMethod; + if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { + JobServiceGrpc.getGetJobMethod = + getGetJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) + .build(); + } + } + } + return getGetJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> + getUpdateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateJob", + requestType = com.google.cloud.talent.v4beta1.UpdateJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> + getUpdateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> + getUpdateJobMethod; + if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { + JobServiceGrpc.getUpdateJobMethod = + getUpdateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) + .build(); + } + } + } + return getUpdateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", + requestType = com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, + com.google.longrunning.Operation> + getBatchUpdateJobsMethod; + if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { + JobServiceGrpc.getBatchUpdateJobsMethod = + getBatchUpdateJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) + .build(); + } + } + } + return getBatchUpdateJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJob", + requestType = com.google.cloud.talent.v4beta1.DeleteJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod; + if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { + JobServiceGrpc.getDeleteJobMethod = + getDeleteJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) + .build(); + } + } + } + return getDeleteJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> + getBatchDeleteJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", + requestType = com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> + getBatchDeleteJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> + getBatchDeleteJobsMethod; + if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { + JobServiceGrpc.getBatchDeleteJobsMethod = + getBatchDeleteJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) + .build(); + } + } + } + return getBatchDeleteJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse> + getListJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobs", + requestType = com.google.cloud.talent.v4beta1.ListJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse> + getListJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse> + getListJobsMethod; + if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { + JobServiceGrpc.getListJobsMethod = + getListJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) + .build(); + } + } + } + return getListJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchJobs", + requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsMethod; + if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { + JobServiceGrpc.getSearchJobsMethod = + getSearchJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) + .build(); + } + } + } + return getSearchJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsForAlertMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", + requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsForAlertMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsForAlertMethod; + if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { + JobServiceGrpc.getSearchJobsForAlertMethod = + getSearchJobsForAlertMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) + .build(); + } + } + } + return getSearchJobsForAlertMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static JobServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + }; + return JobServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static JobServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + }; + return JobServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static JobServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + }; + return JobServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public abstract static class JobServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void createJob( + com.google.cloud.talent.v4beta1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public void batchCreateJobs( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public void getJob( + com.google.cloud.talent.v4beta1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public void updateJob( + com.google.cloud.talent.v4beta1.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public void batchUpdateJobs( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchUpdateJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public void batchDeleteJobs( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchDeleteJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists jobs by filter.
+     * 
+ */ + public void listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobs( + com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobsForAlert( + com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchJobsForAlertMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateJobRequest, + com.google.cloud.talent.v4beta1.Job>(this, METHODID_CREATE_JOB))) + .addMethod( + getBatchCreateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_JOBS))) + .addMethod( + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetJobRequest, + com.google.cloud.talent.v4beta1.Job>(this, METHODID_GET_JOB))) + .addMethod( + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateJobRequest, + com.google.cloud.talent.v4beta1.Job>(this, METHODID_UPDATE_JOB))) + .addMethod( + getBatchUpdateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_JOBS))) + .addMethod( + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) + .addMethod( + getBatchDeleteJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, + com.google.protobuf.Empty>(this, METHODID_BATCH_DELETE_JOBS))) + .addMethod( + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse>(this, METHODID_LIST_JOBS))) + .addMethod( + getSearchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS))) + .addMethod( + getSearchJobsForAlertMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS_FOR_ALERT))) + .build(); + } + } + + /** + * + * + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { + private JobServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void createJob( + com.google.cloud.talent.v4beta1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public void batchCreateJobs( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public void getJob( + com.google.cloud.talent.v4beta1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public void updateJob( + com.google.cloud.talent.v4beta1.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public void batchUpdateJobs( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public void batchDeleteJobs( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists jobs by filter.
+     * 
+ */ + public void listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobs( + com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobsForAlert( + com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private JobServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job createJob( + com.google.cloud.talent.v4beta1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateJobs( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job getJob( + com.google.cloud.talent.v4beta1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job updateJob( + com.google.cloud.talent.v4beta1.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public com.google.longrunning.Operation batchUpdateJobs( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.protobuf.Empty deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteJobs( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists jobs by filter.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobs( + com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobsForAlert( + com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private JobServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getJob(com.google.cloud.talent.v4beta1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists jobs by filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ListJobsResponse> + listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.SearchJobsResponse> + searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.SearchJobsResponse> + searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_JOB = 0; + private static final int METHODID_BATCH_CREATE_JOBS = 1; + private static final int METHODID_GET_JOB = 2; + private static final int METHODID_UPDATE_JOB = 3; + private static final int METHODID_BATCH_UPDATE_JOBS = 4; + private static final int METHODID_DELETE_JOB = 5; + private static final int METHODID_BATCH_DELETE_JOBS = 6; + private static final int METHODID_LIST_JOBS = 7; + private static final int METHODID_SEARCH_JOBS = 8; + private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 9; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final JobServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(JobServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_JOB: + serviceImpl.createJob( + (com.google.cloud.talent.v4beta1.CreateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_JOBS: + serviceImpl.batchCreateJobs( + (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB: + serviceImpl.getJob( + (com.google.cloud.talent.v4beta1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_JOB: + serviceImpl.updateJob( + (com.google.cloud.talent.v4beta1.UpdateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_UPDATE_JOBS: + serviceImpl.batchUpdateJobs( + (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_JOB: + serviceImpl.deleteJob( + (com.google.cloud.talent.v4beta1.DeleteJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_DELETE_JOBS: + serviceImpl.batchDeleteJobs( + (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOBS: + serviceImpl.listJobs( + (com.google.cloud.talent.v4beta1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SEARCH_JOBS: + serviceImpl.searchJobs( + (com.google.cloud.talent.v4beta1.SearchJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SEARCH_JOBS_FOR_ALERT: + serviceImpl.searchJobsForAlert( + (com.google.cloud.talent.v4beta1.SearchJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class JobServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + JobServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("JobService"); + } + } + + private static final class JobServiceFileDescriptorSupplier + extends JobServiceBaseDescriptorSupplier { + JobServiceFileDescriptorSupplier() {} + } + + private static final class JobServiceMethodDescriptorSupplier + extends JobServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + JobServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (JobServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new JobServiceFileDescriptorSupplier()) + .addMethod(getCreateJobMethod()) + .addMethod(getBatchCreateJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getBatchUpdateJobsMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getBatchDeleteJobsMethod()) + .addMethod(getListJobsMethod()) + .addMethod(getSearchJobsMethod()) + .addMethod(getSearchJobsForAlertMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java new file mode 100644 index 000000000000..d91eb72e8a1b --- /dev/null +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java @@ -0,0 +1,819 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * A service that handles tenant management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TenantServiceGrpc { + + private TenantServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.TenantService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTenant", + requestType = com.google.cloud.talent.v4beta1.CreateTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethod; + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + TenantServiceGrpc.getCreateTenantMethod = + getCreateTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateTenantRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("CreateTenant")) + .build(); + } + } + } + return getCreateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetTenantRequest, com.google.cloud.talent.v4beta1.Tenant> + getGetTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTenant", + requestType = com.google.cloud.talent.v4beta1.GetTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetTenantRequest, com.google.cloud.talent.v4beta1.Tenant> + getGetTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getGetTenantMethod; + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + TenantServiceGrpc.getGetTenantMethod = + getGetTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetTenantRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) + .build(); + } + } + } + return getGetTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getUpdateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", + requestType = com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getUpdateTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getUpdateTenantMethod; + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + TenantServiceGrpc.getUpdateTenantMethod = + getUpdateTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateTenantRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("UpdateTenant")) + .build(); + } + } + } + return getUpdateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", + requestType = com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod; + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + TenantServiceGrpc.getDeleteTenantMethod = + getDeleteTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteTenantRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("DeleteTenant")) + .build(); + } + } + } + return getDeleteTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse> + getListTenantsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTenants", + requestType = com.google.cloud.talent.v4beta1.ListTenantsRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListTenantsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse> + getListTenantsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse> + getListTenantsMethod; + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + TenantServiceGrpc.getListTenantsMethod = + getListTenantsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListTenantsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListTenantsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) + .build(); + } + } + } + return getListTenantsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static TenantServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + }; + return TenantServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TenantServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + }; + return TenantServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static TenantServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + }; + return TenantServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public abstract static class TenantServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTenantsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_CREATE_TENANT))) + .addMethod( + getGetTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_GET_TENANT))) + .addMethod( + getUpdateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_UPDATE_TENANT))) + .addMethod( + getDeleteTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TENANT))) + .addMethod( + getListTenantsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse>( + this, METHODID_LIST_TENANTS))) + .build(); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private TenantServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private TenantServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.protobuf.Empty deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListTenantsResponse listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTenantsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private TenantServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Tenant> + createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Tenant> + getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Tenant> + updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ListTenantsResponse> + listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TENANT = 0; + private static final int METHODID_GET_TENANT = 1; + private static final int METHODID_UPDATE_TENANT = 2; + private static final int METHODID_DELETE_TENANT = 3; + private static final int METHODID_LIST_TENANTS = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TenantServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TENANT: + serviceImpl.createTenant( + (com.google.cloud.talent.v4beta1.CreateTenantRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_TENANT: + serviceImpl.getTenant( + (com.google.cloud.talent.v4beta1.GetTenantRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TENANT: + serviceImpl.updateTenant( + (com.google.cloud.talent.v4beta1.UpdateTenantRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TENANT: + serviceImpl.deleteTenant( + (com.google.cloud.talent.v4beta1.DeleteTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TENANTS: + serviceImpl.listTenants( + (com.google.cloud.talent.v4beta1.ListTenantsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TenantServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TenantService"); + } + } + + private static final class TenantServiceFileDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier { + TenantServiceFileDescriptorSupplier() {} + } + + private static final class TenantServiceMethodDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TenantServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TenantServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) + .addMethod(getCreateTenantMethod()) + .addMethod(getGetTenantMethod()) + .addMethod(getUpdateTenantMethod()) + .addMethod(getDeleteTenantMethod()) + .addMethod(getListTenantsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java similarity index 64% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java index 55697f9d7d17..1b9463d35ab9 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Request to create a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsRequest} */ -public final class BatchCreateJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchCreateJobsRequest) BatchCreateJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateJobsRequest.newBuilder() to construct. private BatchCreateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -26,39 +44,45 @@ private BatchCreateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchCreateJobsRequest.class, com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchCreateJobsRequest.class, + com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,69 +128,83 @@ public java.lang.String getParent() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List - getJobsOrBuilderList() { + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -197,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -208,17 +246,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.BatchCreateJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.BatchCreateJobsRequest other = (com.google.cloud.talent.v4.BatchCreateJobsRequest) obj; + com.google.cloud.talent.v4.BatchCreateJobsRequest other = + (com.google.cloud.talent.v4.BatchCreateJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -242,129 +279,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.BatchCreateJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchCreateJobsRequest) com.google.cloud.talent.v4.BatchCreateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchCreateJobsRequest.class, com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchCreateJobsRequest.class, + com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchCreateJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override @@ -402,7 +445,8 @@ public com.google.cloud.talent.v4.BatchCreateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchCreateJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchCreateJobsRequest result = new com.google.cloud.talent.v4.BatchCreateJobsRequest(this); + com.google.cloud.talent.v4.BatchCreateJobsRequest result = + new com.google.cloud.talent.v4.BatchCreateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -422,38 +466,39 @@ public com.google.cloud.talent.v4.BatchCreateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchCreateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -461,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -484,9 +530,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsRequest other jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -518,30 +565,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4.Job m = - input.readMessage( - com.google.cloud.talent.v4.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4.Job m = + input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -551,24 +599,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -577,22 +630,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -600,84 +656,105 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -687,12 +764,16 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -702,12 +783,16 @@ public int getJobsCount() { } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -717,15 +802,18 @@ public com.google.cloud.talent.v4.Job getJobs(int index) { } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4.Job value) { + public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -739,15 +827,18 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -758,12 +849,16 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addJobs(com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { @@ -779,15 +874,18 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4.Job value) { + public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -801,15 +899,18 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -820,15 +921,18 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -839,19 +943,21 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -859,12 +965,16 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -877,12 +987,16 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -895,42 +1009,53 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -938,59 +1063,71 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.Job.getDefaultInstance()); + public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1137,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchCreateJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchCreateJobsRequest) private static final com.google.cloud.talent.v4.BatchCreateJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchCreateJobsRequest(); } @@ -1014,27 +1151,27 @@ public static com.google.cloud.talent.v4.BatchCreateJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1186,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.BatchCreateJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java index 1b9202d0f8e0..cf3116ba773a 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java @@ -1,82 +1,119 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface BatchCreateJobsRequestOrBuilder extends +public interface BatchCreateJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchCreateJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.Job getJobs(int index); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getJobsCount(); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java similarity index 73% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java index 30452545d8ff..f781f88bfa7d 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsResponse}
  */
-public final class BatchCreateJobsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchCreateJobsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchCreateJobsResponse)
     BatchCreateJobsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchCreateJobsResponse.newBuilder() to construct.
   private BatchCreateJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchCreateJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchCreateJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchCreateJobsResponse.class, com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchCreateJobsResponse.class,
+            com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -64,6 +85,8 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -72,11 +95,13 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -89,6 +114,8 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -101,6 +128,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -109,12 +138,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -126,8 +155,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -141,8 +169,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,15 +179,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchCreateJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchCreateJobsResponse other = (com.google.cloud.talent.v4.BatchCreateJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchCreateJobsResponse other =
+        (com.google.cloud.talent.v4.BatchCreateJobsResponse) obj;
 
-    if (!getJobResultsList()
-        .equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -182,96 +209,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchCreateJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -279,33 +313,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchCreateJobsResponse)
       com.google.cloud.talent.v4.BatchCreateJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchCreateJobsResponse.class, com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchCreateJobsResponse.class,
+              com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchCreateJobsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -341,7 +374,8 @@ public com.google.cloud.talent.v4.BatchCreateJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchCreateJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchCreateJobsResponse result = new com.google.cloud.talent.v4.BatchCreateJobsResponse(this);
+      com.google.cloud.talent.v4.BatchCreateJobsResponse result =
+          new com.google.cloud.talent.v4.BatchCreateJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -360,38 +394,39 @@ public com.google.cloud.talent.v4.BatchCreateJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchCreateJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsResponse)other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchCreateJobsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4.BatchCreateJobsResponse.getDefaultInstance())
+        return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -418,9 +454,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getJobResultsFieldBuilder() : null;
+            jobResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getJobResultsFieldBuilder()
+                    : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -452,25 +489,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.talent.v4.JobResult m =
-                  input.readMessage(
-                      com.google.cloud.talent.v4.JobResult.parser(),
-                      extensionRegistry);
-              if (jobResultsBuilder_ == null) {
-                ensureJobResultsIsMutable();
-                jobResults_.add(m);
-              } else {
-                jobResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.talent.v4.JobResult m =
+                    input.readMessage(
+                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
+                if (jobResultsBuilder_ == null) {
+                  ensureJobResultsIsMutable();
+                  jobResults_.add(m);
+                } else {
+                  jobResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -480,21 +518,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List jobResults_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
+        jobResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -510,6 +555,8 @@ public java.util.List getJobResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -525,6 +572,8 @@ public int getJobResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -540,6 +589,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -547,8 +598,7 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -562,6 +612,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -581,6 +633,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -602,6 +656,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -609,8 +665,7 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -624,6 +679,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -631,8 +688,7 @@ public Builder addJobResults(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -643,6 +699,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -662,6 +720,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -673,8 +733,7 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -682,6 +741,8 @@ public Builder addAllJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -700,6 +761,8 @@ public Builder clearJobResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -718,6 +781,8 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -725,11 +790,12 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -737,14 +803,16 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);  } else {
+        return jobResults_.get(index);
+      } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -752,8 +820,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsOrBuilderList() {
+    public java.util.List
+        getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -761,6 +829,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -769,10 +839,12 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -780,12 +852,13 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
-        int index) {
-      return getJobResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
+      return getJobResultsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -793,27 +866,29 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsBuilderList() {
+    public java.util.List getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.JobResult,
+                com.google.cloud.talent.v4.JobResult.Builder,
+                com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -823,12 +898,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchCreateJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchCreateJobsResponse)
   private static final com.google.cloud.talent.v4.BatchCreateJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchCreateJobsResponse();
   }
@@ -837,27 +912,27 @@ public static com.google.cloud.talent.v4.BatchCreateJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchCreateJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchCreateJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -872,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchCreateJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
index 1d098258868a..1df0f93fb09d 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchCreateJobsResponseOrBuilder extends
+public interface BatchCreateJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchCreateJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -15,9 +33,10 @@ public interface BatchCreateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
-      getJobResultsList();
+  java.util.List getJobResultsList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -27,6 +46,8 @@ public interface BatchCreateJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -36,6 +57,8 @@ public interface BatchCreateJobsResponseOrBuilder extends
    */
   int getJobResultsCount();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -43,9 +66,11 @@ public interface BatchCreateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
+  java.util.List
       getJobResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -53,6 +78,5 @@ public interface BatchCreateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
index 7f0028702d1c..6cd16c627fd1 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Request to delete a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsRequest} */ -public final class BatchDeleteJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchDeleteJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchDeleteJobsRequest) BatchDeleteJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchDeleteJobsRequest.newBuilder() to construct. private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchDeleteJobsRequest() { parent_ = ""; names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,32 +44,35 @@ private BatchDeleteJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchDeleteJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, + com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -83,17 +108,18 @@ public java.lang.String getParent() {
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,6 +130,8 @@ public java.lang.String getParent() { public static final int NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList names_; /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -112,13 +140,15 @@ public java.lang.String getParent() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_; } /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -127,12 +157,15 @@ public java.lang.String getParent() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -141,6 +174,7 @@ public int getNamesCount() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -148,6 +182,8 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -156,15 +192,16 @@ public java.lang.String getNames(int index) {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -212,17 +248,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.BatchDeleteJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.BatchDeleteJobsRequest other = (com.google.cloud.talent.v4.BatchDeleteJobsRequest) obj; + com.google.cloud.talent.v4.BatchDeleteJobsRequest other = + (com.google.cloud.talent.v4.BatchDeleteJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getNamesList() - .equals(other.getNamesList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getNamesList().equals(other.getNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,129 +281,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.BatchDeleteJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchDeleteJobsRequest) com.google.cloud.talent.v4.BatchDeleteJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, + com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchDeleteJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override @@ -401,7 +442,8 @@ public com.google.cloud.talent.v4.BatchDeleteJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchDeleteJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchDeleteJobsRequest result = new com.google.cloud.talent.v4.BatchDeleteJobsRequest(this); + com.google.cloud.talent.v4.BatchDeleteJobsRequest result = + new com.google.cloud.talent.v4.BatchDeleteJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -417,38 +459,39 @@ public com.google.cloud.talent.v4.BatchDeleteJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchDeleteJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -456,7 +499,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -497,23 +541,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureNamesIsMutable(); - names_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNamesIsMutable(); + names_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -523,10 +570,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -534,14 +584,16 @@ public Builder mergeFrom(
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -550,6 +602,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -557,16 +611,17 @@ public java.lang.String getParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -574,6 +629,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -581,21 +638,25 @@ public java.lang.String getParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -603,16 +664,21 @@ public Builder setParent(
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -620,30 +686,36 @@ public Builder clearParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList names_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -652,13 +724,15 @@ private void ensureNamesIsMutable() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_.getUnmodifiableView(); } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -667,12 +741,15 @@ private void ensureNamesIsMutable() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -681,6 +758,7 @@ public int getNamesCount() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -688,6 +766,8 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -696,14 +776,16 @@ public java.lang.String getNames(int index) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -712,21 +794,23 @@ public java.lang.String getNames(int index) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames( - int index, java.lang.String value) { + public Builder setNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -735,20 +819,22 @@ public Builder setNames(
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames( - java.lang.String value) { + public Builder addNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -757,18 +843,19 @@ public Builder addNames(
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames( - java.lang.Iterable values) { + public Builder addAllNames(java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); onChanged(); return this; } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -777,6 +864,7 @@ public Builder addAllNames(
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearNames() { @@ -786,6 +874,8 @@ public Builder clearNames() { return this; } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -794,23 +884,23 @@ public Builder clearNames() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,12 +910,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchDeleteJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchDeleteJobsRequest) private static final com.google.cloud.talent.v4.BatchDeleteJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchDeleteJobsRequest(); } @@ -834,27 +924,27 @@ public static com.google.cloud.talent.v4.BatchDeleteJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +959,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.BatchDeleteJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java index 725800a16179..6fb76ebcab87 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface BatchDeleteJobsRequestOrBuilder extends +public interface BatchDeleteJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchDeleteJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,13 +50,17 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -42,11 +69,13 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the names. */ - java.util.List - getNamesList(); + java.util.List getNamesList(); /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -55,10 +84,13 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of names. */ int getNamesCount(); /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -67,11 +99,14 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -80,9 +115,9 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString - getNamesBytes(int index); + com.google.protobuf.ByteString getNamesBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java similarity index 73% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java index cf5e4662733f..4e994cabf9de 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsResponse}
  */
-public final class BatchDeleteJobsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchDeleteJobsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchDeleteJobsResponse)
     BatchDeleteJobsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchDeleteJobsResponse.newBuilder() to construct.
   private BatchDeleteJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchDeleteJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchDeleteJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchDeleteJobsResponse.class, com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchDeleteJobsResponse.class,
+            com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -64,6 +85,8 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -72,11 +95,13 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -89,6 +114,8 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -101,6 +128,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -109,12 +138,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -126,8 +155,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -141,8 +169,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,15 +179,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchDeleteJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchDeleteJobsResponse other = (com.google.cloud.talent.v4.BatchDeleteJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchDeleteJobsResponse other =
+        (com.google.cloud.talent.v4.BatchDeleteJobsResponse) obj;
 
-    if (!getJobResultsList()
-        .equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -182,96 +209,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchDeleteJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -279,33 +313,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchDeleteJobsResponse)
       com.google.cloud.talent.v4.BatchDeleteJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchDeleteJobsResponse.class, com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchDeleteJobsResponse.class,
+              com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchDeleteJobsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -341,7 +374,8 @@ public com.google.cloud.talent.v4.BatchDeleteJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchDeleteJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchDeleteJobsResponse result = new com.google.cloud.talent.v4.BatchDeleteJobsResponse(this);
+      com.google.cloud.talent.v4.BatchDeleteJobsResponse result =
+          new com.google.cloud.talent.v4.BatchDeleteJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -360,38 +394,39 @@ public com.google.cloud.talent.v4.BatchDeleteJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchDeleteJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsResponse)other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchDeleteJobsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4.BatchDeleteJobsResponse.getDefaultInstance())
+        return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -418,9 +454,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getJobResultsFieldBuilder() : null;
+            jobResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getJobResultsFieldBuilder()
+                    : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -452,25 +489,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.talent.v4.JobResult m =
-                  input.readMessage(
-                      com.google.cloud.talent.v4.JobResult.parser(),
-                      extensionRegistry);
-              if (jobResultsBuilder_ == null) {
-                ensureJobResultsIsMutable();
-                jobResults_.add(m);
-              } else {
-                jobResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.talent.v4.JobResult m =
+                    input.readMessage(
+                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
+                if (jobResultsBuilder_ == null) {
+                  ensureJobResultsIsMutable();
+                  jobResults_.add(m);
+                } else {
+                  jobResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -480,21 +518,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List jobResults_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
+        jobResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -510,6 +555,8 @@ public java.util.List getJobResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -525,6 +572,8 @@ public int getJobResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -540,6 +589,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -547,8 +598,7 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -562,6 +612,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -581,6 +633,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -602,6 +656,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -609,8 +665,7 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -624,6 +679,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -631,8 +688,7 @@ public Builder addJobResults(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -643,6 +699,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -662,6 +720,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -673,8 +733,7 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -682,6 +741,8 @@ public Builder addAllJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -700,6 +761,8 @@ public Builder clearJobResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -718,6 +781,8 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -725,11 +790,12 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -737,14 +803,16 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);  } else {
+        return jobResults_.get(index);
+      } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -752,8 +820,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsOrBuilderList() {
+    public java.util.List
+        getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -761,6 +829,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -769,10 +839,12 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -780,12 +852,13 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
-        int index) {
-      return getJobResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
+      return getJobResultsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -793,27 +866,29 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsBuilderList() {
+    public java.util.List getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.JobResult,
+                com.google.cloud.talent.v4.JobResult.Builder,
+                com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -823,12 +898,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchDeleteJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchDeleteJobsResponse)
   private static final com.google.cloud.talent.v4.BatchDeleteJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchDeleteJobsResponse();
   }
@@ -837,27 +912,27 @@ public static com.google.cloud.talent.v4.BatchDeleteJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchDeleteJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchDeleteJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -872,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchDeleteJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
index 5e488dd84e88..3261e9ce06c8 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchDeleteJobsResponseOrBuilder extends
+public interface BatchDeleteJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchDeleteJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -15,9 +33,10 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
-      getJobResultsList();
+  java.util.List getJobResultsList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -27,6 +46,8 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -36,6 +57,8 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    */
   int getJobResultsCount();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -43,9 +66,11 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
+  java.util.List
       getJobResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -53,6 +78,5 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
index 90ab6d3b11a9..6f5751d1c97a 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Metadata used for long running operations returned by CTS batch APIs.
  * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchOperationMetadata}
  */
-public final class BatchOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchOperationMetadata)
     BatchOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchOperationMetadata.newBuilder() to construct.
   private BatchOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchOperationMetadata() {
     state_ = 0;
     stateDescription_ = "";
@@ -27,35 +45,35 @@ private BatchOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchOperationMetadata.class, com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
+            com.google.cloud.talent.v4.BatchOperationMetadata.class,
+            com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
   }
 
-  /**
-   * Protobuf enum {@code google.cloud.talent.v4.BatchOperationMetadata.State}
-   */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  /** Protobuf enum {@code google.cloud.talent.v4.BatchOperationMetadata.State} */
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -64,6 +82,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The batch operation is being prepared for processing.
      * 
@@ -72,6 +92,8 @@ public enum State */ INITIALIZING(1), /** + * + * *
      * The batch operation is actively being processed.
      * 
@@ -80,6 +102,8 @@ public enum State */ PROCESSING(2), /** + * + * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -89,6 +113,8 @@ public enum State
      */
     SUCCEEDED(3),
     /**
+     *
+     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -97,6 +123,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -106,6 +134,8 @@ public enum State
      */
     CANCELLING(5),
     /**
+     *
+     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -119,6 +149,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -127,6 +159,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The batch operation is being prepared for processing.
      * 
@@ -135,6 +169,8 @@ public enum State */ public static final int INITIALIZING_VALUE = 1; /** + * + * *
      * The batch operation is actively being processed.
      * 
@@ -143,6 +179,8 @@ public enum State */ public static final int PROCESSING_VALUE = 2; /** + * + * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -152,6 +190,8 @@ public enum State
      */
     public static final int SUCCEEDED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -160,6 +200,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -169,6 +211,8 @@ public enum State
      */
     public static final int CANCELLING_VALUE = 5;
     /**
+     *
+     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -179,7 +223,6 @@ public enum State
      */
     public static final int CANCELLED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -204,53 +247,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return INITIALIZING;
-        case 2: return PROCESSING;
-        case 3: return SUCCEEDED;
-        case 4: return FAILED;
-        case 5: return CANCELLING;
-        case 6: return CANCELLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return INITIALIZING;
+        case 2:
+          return PROCESSING;
+        case 3:
+          return SUCCEEDED;
+        case 4:
+          return FAILED;
+        case 5:
+          return CANCELLING;
+        case 6:
+          return CANCELLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.BatchOperationMetadata.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4.BatchOperationMetadata.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -270,38 +319,52 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_;
   /**
+   *
+   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { + @java.lang.Override + public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.BatchOperationMetadata.State result = com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.talent.v4.BatchOperationMetadata.State result = + com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED + : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object stateDescription_; /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The stateDescription. */ @java.lang.Override @@ -310,29 +373,29 @@ public java.lang.String getStateDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; } } /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -343,11 +406,14 @@ public java.lang.String getStateDescription() { public static final int SUCCESS_COUNT_FIELD_NUMBER = 3; private int successCount_; /** + * + * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; + * * @return The successCount. */ @java.lang.Override @@ -358,11 +424,14 @@ public int getSuccessCount() { public static final int FAILURE_COUNT_FIELD_NUMBER = 4; private int failureCount_; /** + * + * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; + * * @return The failureCount. */ @java.lang.Override @@ -373,11 +442,14 @@ public int getFailureCount() { public static final int TOTAL_COUNT_FIELD_NUMBER = 5; private int totalCount_; /** + * + * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; + * * @return The totalCount. */ @java.lang.Override @@ -388,11 +460,14 @@ public int getTotalCount() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -400,11 +475,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -412,6 +490,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the batch operation is created.
    * 
@@ -426,6 +506,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -433,6 +515,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -440,6 +523,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -447,6 +532,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ @java.lang.Override @@ -454,6 +540,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -470,12 +558,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 8;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -483,12 +574,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ @java.lang.Override @@ -496,6 +590,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -509,6 +605,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -520,9 +617,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (state_ != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
@@ -555,36 +652,30 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateDescription_);
     }
     if (successCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(3, successCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successCount_);
     }
     if (failureCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, failureCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureCount_);
     }
     if (totalCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(5, totalCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCount_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -594,36 +685,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchOperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchOperationMetadata other = (com.google.cloud.talent.v4.BatchOperationMetadata) obj;
+    com.google.cloud.talent.v4.BatchOperationMetadata other =
+        (com.google.cloud.talent.v4.BatchOperationMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getStateDescription()
-        .equals(other.getStateDescription())) return false;
-    if (getSuccessCount()
-        != other.getSuccessCount()) return false;
-    if (getFailureCount()
-        != other.getFailureCount()) return false;
-    if (getTotalCount()
-        != other.getTotalCount()) return false;
+    if (!getStateDescription().equals(other.getStateDescription())) return false;
+    if (getSuccessCount() != other.getSuccessCount()) return false;
+    if (getFailureCount() != other.getFailureCount()) return false;
+    if (getTotalCount() != other.getTotalCount()) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -664,96 +749,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchOperationMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Metadata used for long running operations returned by CTS batch APIs.
    * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -761,33 +853,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchOperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchOperationMetadata)
       com.google.cloud.talent.v4.BatchOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchOperationMetadata.class, com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
+              com.google.cloud.talent.v4.BatchOperationMetadata.class,
+              com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchOperationMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -823,9 +914,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -844,7 +935,8 @@ public com.google.cloud.talent.v4.BatchOperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchOperationMetadata buildPartial() {
-      com.google.cloud.talent.v4.BatchOperationMetadata result = new com.google.cloud.talent.v4.BatchOperationMetadata(this);
+      com.google.cloud.talent.v4.BatchOperationMetadata result =
+          new com.google.cloud.talent.v4.BatchOperationMetadata(this);
       result.state_ = state_;
       result.stateDescription_ = stateDescription_;
       result.successCount_ = successCount_;
@@ -873,38 +965,39 @@ public com.google.cloud.talent.v4.BatchOperationMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchOperationMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchOperationMetadata)other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchOperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -912,7 +1005,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchOperationMetadata other) {
-      if (other == com.google.cloud.talent.v4.BatchOperationMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4.BatchOperationMetadata.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -964,58 +1058,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              stateDescription_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              successCount_ = input.readInt32();
-
-              break;
-            } // case 24
-            case 32: {
-              failureCount_ = input.readInt32();
-
-              break;
-            } // case 32
-            case 40: {
-              totalCount_ = input.readInt32();
-
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                state_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                stateDescription_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                successCount_ = input.readInt32();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                failureCount_ = input.readInt32();
+
+                break;
+              } // case 32
+            case 40:
+              {
+                totalCount_ = input.readInt32();
+
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1028,51 +1125,67 @@ public Builder mergeFrom(
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.BatchOperationMetadata.State result = com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.talent.v4.BatchOperationMetadata.State result = + com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED + : result; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1080,21 +1193,24 @@ public Builder setState(com.google.cloud.talent.v4.BatchOperationMetadata.State if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1102,18 +1218,20 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; @@ -1122,20 +1240,21 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -1143,66 +1262,76 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription( - java.lang.String value) { + public Builder setStateDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateDescription_ = value; onChanged(); return this; } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return This builder for chaining. */ public Builder clearStateDescription() { - + stateDescription_ = getDefaultInstance().getStateDescription(); onChanged(); return this; } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; onChanged(); return this; } - private int successCount_ ; + private int successCount_; /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @return The successCount. */ @java.lang.Override @@ -1210,42 +1339,51 @@ public int getSuccessCount() { return successCount_; } /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @param value The successCount to set. * @return This builder for chaining. */ public Builder setSuccessCount(int value) { - + successCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @return This builder for chaining. */ public Builder clearSuccessCount() { - + successCount_ = 0; onChanged(); return this; } - private int failureCount_ ; + private int failureCount_; /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @return The failureCount. */ @java.lang.Override @@ -1253,42 +1391,51 @@ public int getFailureCount() { return failureCount_; } /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @param value The failureCount to set. * @return This builder for chaining. */ public Builder setFailureCount(int value) { - + failureCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @return This builder for chaining. */ public Builder clearFailureCount() { - + failureCount_ = 0; onChanged(); return this; } - private int totalCount_ ; + private int totalCount_; /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @return The totalCount. */ @java.lang.Override @@ -1296,30 +1443,36 @@ public int getTotalCount() { return totalCount_; } /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { - + totalCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @return This builder for chaining. */ public Builder clearTotalCount() { - + totalCount_ = 0; onChanged(); return this; @@ -1327,34 +1480,47 @@ public Builder clearTotalCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1375,14 +1541,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1393,6 +1560,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1403,7 +1572,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1415,6 +1584,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1433,6 +1604,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1440,11 +1613,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1455,11 +1630,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1467,14 +1645,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1482,8 +1663,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1491,12 +1677,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1504,16 +1693,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1536,6 +1730,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1544,8 +1740,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 7;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1556,6 +1751,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1568,7 +1765,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1580,6 +1777,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1600,6 +1799,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1609,11 +1810,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1626,11 +1829,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1640,14 +1846,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(),
-                getParentForChildren(),
-                isClean());
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(), getParentForChildren(), isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
@@ -1655,26 +1864,35 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1685,6 +1903,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1706,6 +1926,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1713,8 +1935,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 8;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1725,6 +1946,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1736,7 +1959,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1748,6 +1971,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1767,6 +1992,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1775,11 +2002,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1791,11 +2020,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1804,21 +2034,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1828,12 +2061,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchOperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchOperationMetadata)
   private static final com.google.cloud.talent.v4.BatchOperationMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchOperationMetadata();
   }
@@ -1842,27 +2075,27 @@ public static com.google.cloud.talent.v4.BatchOperationMetadata getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchOperationMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchOperationMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1877,6 +2110,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchOperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
similarity index 83%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
index 4d5f213b0d46..ad809ff05f60 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
@@ -1,100 +1,144 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchOperationMetadataOrBuilder extends
+public interface BatchOperationMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchOperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The state. */ com.google.cloud.talent.v4.BatchOperationMetadata.State getState(); /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The stateDescription. */ java.lang.String getStateDescription(); /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString - getStateDescriptionBytes(); + com.google.protobuf.ByteString getStateDescriptionBytes(); /** + * + * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; + * * @return The successCount. */ int getSuccessCount(); /** + * + * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; + * * @return The failureCount. */ int getFailureCount(); /** + * + * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; + * * @return The totalCount. */ int getTotalCount(); /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the batch operation is created.
    * 
@@ -104,6 +148,8 @@ public interface BatchOperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -111,10 +157,13 @@ public interface BatchOperationMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -122,10 +171,13 @@ public interface BatchOperationMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -137,26 +189,34 @@ public interface BatchOperationMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
index 55e45473b3e1..ea2d9a2bacc6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Request to update a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsRequest} */ -public final class BatchUpdateJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchUpdateJobsRequest) BatchUpdateJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateJobsRequest.newBuilder() to construct. private BatchUpdateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -26,39 +44,45 @@ private BatchUpdateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, + com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,71 +128,86 @@ public java.lang.String getParent() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List - getJobsOrBuilderList() { + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -182,6 +223,7 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -189,6 +231,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -204,6 +248,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -211,6 +256,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -233,6 +280,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -244,8 +292,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -268,12 +315,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i));
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -283,21 +328,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchUpdateJobsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchUpdateJobsRequest other = (com.google.cloud.talent.v4.BatchUpdateJobsRequest) obj;
+    com.google.cloud.talent.v4.BatchUpdateJobsRequest other =
+        (com.google.cloud.talent.v4.BatchUpdateJobsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (!getJobsList()
-        .equals(other.getJobsList())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (!getJobsList().equals(other.getJobsList())) return false;
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -326,129 +369,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchUpdateJobsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request to update a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchUpdateJobsRequest) com.google.cloud.talent.v4.BatchUpdateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, + com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchUpdateJobsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override @@ -492,7 +541,8 @@ public com.google.cloud.talent.v4.BatchUpdateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchUpdateJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchUpdateJobsRequest result = new com.google.cloud.talent.v4.BatchUpdateJobsRequest(this); + com.google.cloud.talent.v4.BatchUpdateJobsRequest result = + new com.google.cloud.talent.v4.BatchUpdateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -517,38 +567,39 @@ public com.google.cloud.talent.v4.BatchUpdateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchUpdateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +607,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -579,9 +631,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsRequest other jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -616,37 +669,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4.Job m = - input.readMessage( - com.google.cloud.talent.v4.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4.Job m = + input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -656,24 +709,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -682,22 +740,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -705,84 +766,105 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -792,12 +874,16 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -807,12 +893,16 @@ public int getJobsCount() { } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -822,15 +912,18 @@ public com.google.cloud.talent.v4.Job getJobs(int index) { } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4.Job value) { + public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -844,15 +937,18 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -863,12 +959,16 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addJobs(com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { @@ -884,15 +984,18 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4.Job value) { + public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -906,15 +1009,18 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -925,15 +1031,18 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -944,19 +1053,21 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -964,12 +1075,16 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -982,12 +1097,16 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1000,42 +1119,53 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1043,52 +1173,64 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.Job.getDefaultInstance()); + public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -1096,8 +1238,13 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1113,12 +1260,15 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1134,16 +1284,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1174,6 +1329,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1190,8 +1347,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1202,6 +1358,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1222,7 +1380,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1234,6 +1392,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1262,6 +1422,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1279,11 +1441,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1304,11 +1468,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1326,21 +1493,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1350,12 +1520,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchUpdateJobsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchUpdateJobsRequest)
   private static final com.google.cloud.talent.v4.BatchUpdateJobsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchUpdateJobsRequest();
   }
@@ -1364,27 +1534,27 @@ public static com.google.cloud.talent.v4.BatchUpdateJobsRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchUpdateJobsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchUpdateJobsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1399,6 +1569,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchUpdateJobsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
index 8be3099f415b..876f981854be 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
@@ -1,86 +1,125 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchUpdateJobsRequestOrBuilder extends
+public interface BatchUpdateJobsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchUpdateJobsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.Job getJobs(int index); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getJobsCount(); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -96,10 +135,13 @@ com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -115,10 +157,13 @@ com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
index 0588731105c4..a25fbb1dbb1f 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsResponse}
  */
-public final class BatchUpdateJobsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchUpdateJobsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchUpdateJobsResponse)
     BatchUpdateJobsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchUpdateJobsResponse.newBuilder() to construct.
   private BatchUpdateJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchUpdateJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchUpdateJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchUpdateJobsResponse.class, com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchUpdateJobsResponse.class,
+            com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -64,6 +85,8 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -72,11 +95,13 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -89,6 +114,8 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -101,6 +128,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -109,12 +138,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -126,8 +155,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -141,8 +169,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,15 +179,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchUpdateJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchUpdateJobsResponse other = (com.google.cloud.talent.v4.BatchUpdateJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchUpdateJobsResponse other =
+        (com.google.cloud.talent.v4.BatchUpdateJobsResponse) obj;
 
-    if (!getJobResultsList()
-        .equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -182,96 +209,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchUpdateJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -279,33 +313,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchUpdateJobsResponse)
       com.google.cloud.talent.v4.BatchUpdateJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchUpdateJobsResponse.class, com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchUpdateJobsResponse.class,
+              com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchUpdateJobsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -341,7 +374,8 @@ public com.google.cloud.talent.v4.BatchUpdateJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchUpdateJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchUpdateJobsResponse result = new com.google.cloud.talent.v4.BatchUpdateJobsResponse(this);
+      com.google.cloud.talent.v4.BatchUpdateJobsResponse result =
+          new com.google.cloud.talent.v4.BatchUpdateJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -360,38 +394,39 @@ public com.google.cloud.talent.v4.BatchUpdateJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchUpdateJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsResponse)other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchUpdateJobsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4.BatchUpdateJobsResponse.getDefaultInstance())
+        return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -418,9 +454,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getJobResultsFieldBuilder() : null;
+            jobResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getJobResultsFieldBuilder()
+                    : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -452,25 +489,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.talent.v4.JobResult m =
-                  input.readMessage(
-                      com.google.cloud.talent.v4.JobResult.parser(),
-                      extensionRegistry);
-              if (jobResultsBuilder_ == null) {
-                ensureJobResultsIsMutable();
-                jobResults_.add(m);
-              } else {
-                jobResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.talent.v4.JobResult m =
+                    input.readMessage(
+                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
+                if (jobResultsBuilder_ == null) {
+                  ensureJobResultsIsMutable();
+                  jobResults_.add(m);
+                } else {
+                  jobResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -480,21 +518,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List jobResults_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
+        jobResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -510,6 +555,8 @@ public java.util.List getJobResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -525,6 +572,8 @@ public int getJobResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -540,6 +589,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -547,8 +598,7 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -562,6 +612,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -581,6 +633,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -602,6 +656,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -609,8 +665,7 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -624,6 +679,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -631,8 +688,7 @@ public Builder addJobResults(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -643,6 +699,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -662,6 +720,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -673,8 +733,7 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -682,6 +741,8 @@ public Builder addAllJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -700,6 +761,8 @@ public Builder clearJobResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -718,6 +781,8 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -725,11 +790,12 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -737,14 +803,16 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);  } else {
+        return jobResults_.get(index);
+      } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -752,8 +820,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsOrBuilderList() {
+    public java.util.List
+        getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -761,6 +829,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -769,10 +839,12 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -780,12 +852,13 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
-        int index) {
-      return getJobResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
+      return getJobResultsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -793,27 +866,29 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsBuilderList() {
+    public java.util.List getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.JobResult,
+                com.google.cloud.talent.v4.JobResult.Builder,
+                com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -823,12 +898,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchUpdateJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchUpdateJobsResponse)
   private static final com.google.cloud.talent.v4.BatchUpdateJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchUpdateJobsResponse();
   }
@@ -837,27 +912,27 @@ public static com.google.cloud.talent.v4.BatchUpdateJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchUpdateJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchUpdateJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -872,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchUpdateJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
index 08ef0a1f2221..3e569db00b5f 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchUpdateJobsResponseOrBuilder extends
+public interface BatchUpdateJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchUpdateJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -15,9 +33,10 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
-      getJobResultsList();
+  java.util.List getJobResultsList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -27,6 +46,8 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -36,6 +57,8 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    */
   int getJobResultsCount();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -43,9 +66,11 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
+  java.util.List
       getJobResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -53,6 +78,5 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
index c7ee2f7c005d..2f61e24bd93a 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/event.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * An event issued when an end user interacts with the application that
  * implements Cloud Talent Solution. Providing this information improves the
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.ClientEvent}
  */
-public final class ClientEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ClientEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ClientEvent)
     ClientEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ClientEvent.newBuilder() to construct.
   private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ClientEvent() {
     requestId_ = "";
     eventId_ = "";
@@ -31,37 +49,41 @@ private ClientEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClientEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.EventProto
+        .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4.EventProto
+        .internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.ClientEvent.class, com.google.cloud.talent.v4.ClientEvent.Builder.class);
+            com.google.cloud.talent.v4.ClientEvent.class,
+            com.google.cloud.talent.v4.ClientEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
+
   public enum EventCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JOB_EVENT(5),
     EVENT_NOT_SET(0);
     private final int value;
+
     private EventCase(int value) {
       this.value = value;
     }
@@ -77,25 +99,29 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 5: return JOB_EVENT;
-        case 0: return EVENT_NOT_SET;
-        default: return null;
+        case 5:
+          return JOB_EVENT;
+        case 0:
+          return EVENT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase
-  getEventCase() {
-    return EventCase.forNumber(
-        eventCase_);
+  public EventCase getEventCase() {
+    return EventCase.forNumber(eventCase_);
   }
 
   public static final int REQUEST_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object requestId_;
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -103,6 +129,7 @@ public int getNumber() {
    * 
* * string request_id = 1; + * * @return The requestId. */ @java.lang.Override @@ -111,14 +138,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -126,16 +154,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -146,11 +173,14 @@ public java.lang.String getRequestId() { public static final int EVENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object eventId_; /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ @java.lang.Override @@ -159,29 +189,29 @@ public java.lang.String getEventId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } } /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventId_ = b; return b; } else { @@ -192,11 +222,15 @@ public java.lang.String getEventId() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -204,11 +238,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ @java.lang.Override @@ -216,11 +254,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -229,12 +270,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int JOB_EVENT_FIELD_NUMBER = 5; /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -242,22 +286,27 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return The jobEvent. */ @java.lang.Override public com.google.cloud.talent.v4.JobEvent getJobEvent() { if (eventCase_ == 5) { - return (com.google.cloud.talent.v4.JobEvent) event_; + return (com.google.cloud.talent.v4.JobEvent) event_; } return com.google.cloud.talent.v4.JobEvent.getDefaultInstance(); } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -268,7 +317,7 @@ public com.google.cloud.talent.v4.JobEvent getJobEvent() {
   @java.lang.Override
   public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
     if (eventCase_ == 5) {
-       return (com.google.cloud.talent.v4.JobEvent) event_;
+      return (com.google.cloud.talent.v4.JobEvent) event_;
     }
     return com.google.cloud.talent.v4.JobEvent.getDefaultInstance();
   }
@@ -276,12 +325,15 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
   public static final int EVENT_NOTES_FIELD_NUMBER = 9;
   private volatile java.lang.Object eventNotes_;
   /**
+   *
+   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; + * * @return The eventNotes. */ @java.lang.Override @@ -290,30 +342,30 @@ public java.lang.String getEventNotes() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; } } /** + * + * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventNotesBytes() { + public com.google.protobuf.ByteString getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -322,6 +374,7 @@ public java.lang.String getEventNotes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -366,12 +418,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (eventCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.talent.v4.JobEvent) event_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.talent.v4.JobEvent) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventNotes_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, eventNotes_); @@ -384,29 +436,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ClientEvent)) { return super.equals(obj); } com.google.cloud.talent.v4.ClientEvent other = (com.google.cloud.talent.v4.ClientEvent) obj; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEventId() - .equals(other.getEventId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEventId().equals(other.getEventId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (!getEventNotes() - .equals(other.getEventNotes())) return false; + if (!getEventNotes().equals(other.getEventNotes())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - if (!getJobEvent() - .equals(other.getJobEvent())) return false; + if (!getJobEvent().equals(other.getJobEvent())) return false; break; case 0: default: @@ -445,97 +492,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ClientEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ClientEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ClientEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An event issued when an end user interacts with the application that
    * implements Cloud Talent Solution. Providing this information improves the
@@ -546,33 +600,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.ClientEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ClientEvent)
       com.google.cloud.talent.v4.ClientEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.ClientEvent.class, com.google.cloud.talent.v4.ClientEvent.Builder.class);
+              com.google.cloud.talent.v4.ClientEvent.class,
+              com.google.cloud.talent.v4.ClientEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.ClientEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -597,9 +650,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
     }
 
     @java.lang.Override
@@ -618,7 +671,8 @@ public com.google.cloud.talent.v4.ClientEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.ClientEvent buildPartial() {
-      com.google.cloud.talent.v4.ClientEvent result = new com.google.cloud.talent.v4.ClientEvent(this);
+      com.google.cloud.talent.v4.ClientEvent result =
+          new com.google.cloud.talent.v4.ClientEvent(this);
       result.requestId_ = requestId_;
       result.eventId_ = eventId_;
       if (createTimeBuilder_ == null) {
@@ -643,38 +697,39 @@ public com.google.cloud.talent.v4.ClientEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.ClientEvent) {
-        return mergeFrom((com.google.cloud.talent.v4.ClientEvent)other);
+        return mergeFrom((com.google.cloud.talent.v4.ClientEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -699,13 +754,15 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ClientEvent other) {
         onChanged();
       }
       switch (other.getEventCase()) {
-        case JOB_EVENT: {
-          mergeJobEvent(other.getJobEvent());
-          break;
-        }
-        case EVENT_NOT_SET: {
-          break;
-        }
+        case JOB_EVENT:
+          {
+            mergeJobEvent(other.getJobEvent());
+            break;
+          }
+        case EVENT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -733,41 +790,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              requestId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              eventId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getJobEventFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              eventCase_ = 5;
-              break;
-            } // case 42
-            case 74: {
-              eventNotes_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                requestId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                eventId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getJobEventFieldBuilder().getBuilder(), extensionRegistry);
+                eventCase_ = 5;
+                break;
+              } // case 42
+            case 74:
+              {
+                eventNotes_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -777,12 +836,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int eventCase_ = 0;
     private java.lang.Object event_;
-    public EventCase
-        getEventCase() {
-      return EventCase.forNumber(
-          eventCase_);
+
+    public EventCase getEventCase() {
+      return EventCase.forNumber(eventCase_);
     }
 
     public Builder clearEvent() {
@@ -792,9 +851,10 @@ public Builder clearEvent() {
       return this;
     }
 
-
     private java.lang.Object requestId_ = "";
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -802,13 +862,13 @@ public Builder clearEvent() {
      * 
* * string request_id = 1; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -817,6 +877,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -824,15 +886,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -840,6 +901,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -847,20 +910,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -868,15 +933,18 @@ public Builder setRequestId(
      * 
* * string request_id = 1; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -884,16 +952,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 1; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -901,18 +969,20 @@ public Builder setRequestIdBytes( private java.lang.Object eventId_ = ""; /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; @@ -921,20 +991,21 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventId_ = b; return b; } else { @@ -942,54 +1013,61 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId( - java.lang.String value) { + public Builder setEventId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEventIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -997,39 +1075,55 @@ public Builder setEventIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1045,14 +1139,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1063,17 +1159,20 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1085,11 +1184,14 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1103,62 +1205,81 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder> jobEventBuilder_; + com.google.cloud.talent.v4.JobEvent, + com.google.cloud.talent.v4.JobEvent.Builder, + com.google.cloud.talent.v4.JobEventOrBuilder> + jobEventBuilder_; /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -1166,12 +1287,15 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return The jobEvent. */ @java.lang.Override @@ -1189,6 +1313,8 @@ public com.google.cloud.talent.v4.JobEvent getJobEvent() { } } /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1210,6 +1336,8 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1217,8 +1345,7 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent value) {
      *
      * .google.cloud.talent.v4.JobEvent job_event = 5;
      */
-    public Builder setJobEvent(
-        com.google.cloud.talent.v4.JobEvent.Builder builderForValue) {
+    public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent.Builder builderForValue) {
       if (jobEventBuilder_ == null) {
         event_ = builderForValue.build();
         onChanged();
@@ -1229,6 +1356,8 @@ public Builder setJobEvent(
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1238,10 +1367,12 @@ public Builder setJobEvent(
      */
     public Builder mergeJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       if (jobEventBuilder_ == null) {
-        if (eventCase_ == 5 &&
-            event_ != com.google.cloud.talent.v4.JobEvent.getDefaultInstance()) {
-          event_ = com.google.cloud.talent.v4.JobEvent.newBuilder((com.google.cloud.talent.v4.JobEvent) event_)
-              .mergeFrom(value).buildPartial();
+        if (eventCase_ == 5 && event_ != com.google.cloud.talent.v4.JobEvent.getDefaultInstance()) {
+          event_ =
+              com.google.cloud.talent.v4.JobEvent.newBuilder(
+                      (com.google.cloud.talent.v4.JobEvent) event_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           event_ = value;
         }
@@ -1257,6 +1388,8 @@ public Builder mergeJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1281,6 +1414,8 @@ public Builder clearJobEvent() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1292,6 +1427,8 @@ public com.google.cloud.talent.v4.JobEvent.Builder getJobEventBuilder() {
       return getJobEventFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1311,6 +1448,8 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1319,39 +1458,45 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
      * .google.cloud.talent.v4.JobEvent job_event = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder> 
+            com.google.cloud.talent.v4.JobEvent,
+            com.google.cloud.talent.v4.JobEvent.Builder,
+            com.google.cloud.talent.v4.JobEventOrBuilder>
         getJobEventFieldBuilder() {
       if (jobEventBuilder_ == null) {
         if (!(eventCase_ == 5)) {
           event_ = com.google.cloud.talent.v4.JobEvent.getDefaultInstance();
         }
-        jobEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder>(
-                (com.google.cloud.talent.v4.JobEvent) event_,
-                getParentForChildren(),
-                isClean());
+        jobEventBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.JobEvent,
+                com.google.cloud.talent.v4.JobEvent.Builder,
+                com.google.cloud.talent.v4.JobEventOrBuilder>(
+                (com.google.cloud.talent.v4.JobEvent) event_, getParentForChildren(), isClean());
         event_ = null;
       }
       eventCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return jobEventBuilder_;
     }
 
     private java.lang.Object eventNotes_ = "";
     /**
+     *
+     *
      * 
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @return The eventNotes. */ public java.lang.String getEventNotes() { java.lang.Object ref = eventNotes_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; @@ -1360,21 +1505,22 @@ public java.lang.String getEventNotes() { } } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ - public com.google.protobuf.ByteString - getEventNotesBytes() { + public com.google.protobuf.ByteString getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -1382,64 +1528,71 @@ public java.lang.String getEventNotes() { } } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @param value The eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotes( - java.lang.String value) { + public Builder setEventNotes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventNotes_ = value; onChanged(); return this; } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @return This builder for chaining. */ public Builder clearEventNotes() { - + eventNotes_ = getDefaultInstance().getEventNotes(); onChanged(); return this; } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @param value The bytes for eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotesBytes( - com.google.protobuf.ByteString value) { + public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventNotes_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1449,12 +1602,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ClientEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ClientEvent) private static final com.google.cloud.talent.v4.ClientEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ClientEvent(); } @@ -1463,27 +1616,27 @@ public static com.google.cloud.talent.v4.ClientEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1498,6 +1651,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ClientEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java similarity index 76% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java index 8a0875dd3149..ef27e7e90799 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; -public interface ClientEventOrBuilder extends +public interface ClientEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ClientEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -15,10 +33,13 @@ public interface ClientEventOrBuilder extends
    * 
* * string request_id = 1; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -26,79 +47,103 @@ public interface ClientEventOrBuilder extends
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ java.lang.String getEventId(); /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - com.google.protobuf.ByteString - getEventIdBytes(); + com.google.protobuf.ByteString getEventIdBytes(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ boolean hasJobEvent(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return The jobEvent. */ com.google.cloud.talent.v4.JobEvent getJobEvent(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -109,26 +154,31 @@ public interface ClientEventOrBuilder extends
   com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder();
 
   /**
+   *
+   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; + * * @return The eventNotes. */ java.lang.String getEventNotes(); /** + * + * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ - com.google.protobuf.ByteString - getEventNotesBytes(); + com.google.protobuf.ByteString getEventNotesBytes(); public com.google.cloud.talent.v4.ClientEvent.EventCase getEventCase(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java new file mode 100644 index 000000000000..7599af687ace --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java @@ -0,0 +1,345 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/common.proto + +package com.google.cloud.talent.v4; + +public final class CommonProto { + private CommonProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Location_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_RequestMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_DeviceInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/talent/v4/common.proto\022\026g" + + "oogle.cloud.talent.v4\032\037google/api/field_" + + "behavior.proto\032\037google/protobuf/timestam" + + "p.proto\032\036google/protobuf/wrappers.proto\032" + + "\030google/type/latlng.proto\032\027google/type/m" + + "oney.proto\032 google/type/postal_address.p" + + "roto\"n\n\016TimestampRange\022.\n\nstart_time\030\001 \001" + + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"\262\003\n" + + "\010Location\022D\n\rlocation_type\030\001 \001(\0162-.googl" + + "e.cloud.talent.v4.Location.LocationType\022" + + "2\n\016postal_address\030\002 \001(\0132\032.google.type.Po" + + "stalAddress\022$\n\007lat_lng\030\003 \001(\0132\023.google.ty" + + "pe.LatLng\022\024\n\014radius_miles\030\004 \001(\001\"\357\001\n\014Loca" + + "tionType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020\000\022" + + "\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATIVE_AREA\020\002\022\033\n" + + "\027SUB_ADMINISTRATIVE_AREA\020\003\022\014\n\010LOCALITY\020\004" + + "\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOCALITY\020\006\022\022\n\016S" + + "UB_LOCALITY_1\020\007\022\022\n\016SUB_LOCALITY_2\020\010\022\020\n\014N" + + "EIGHBORHOOD\020\t\022\022\n\016STREET_ADDRESS\020\n\"\232\001\n\017Re" + + "questMetadata\022\016\n\006domain\030\001 \001(\t\022\022\n\nsession" + + "_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031\n\021allow_miss" + + "ing_ids\030\004 \001(\010\0227\n\013device_info\030\005 \001(\0132\".goo" + + "gle.cloud.talent.v4.DeviceInfo\"&\n\020Respon" + + "seMetadata\022\022\n\nrequest_id\030\001 \001(\t\"\312\001\n\nDevic" + + "eInfo\022B\n\013device_type\030\001 \001(\0162-.google.clou" + + "d.talent.v4.DeviceInfo.DeviceType\022\n\n\002id\030" + + "\002 \001(\t\"l\n\nDeviceType\022\033\n\027DEVICE_TYPE_UNSPE" + + "CIFIED\020\000\022\007\n\003WEB\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007AND" + + "ROID\020\003\022\007\n\003IOS\020\004\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017C" + + "ustomAttribute\022\025\n\rstring_values\030\001 \003(\t\022\023\n" + + "\013long_values\030\002 \003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032" + + "\n\022keyword_searchable\030\004 \001(\010\"W\n\022SpellingCo" + + "rrection\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected" + + "_text\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\210\t\n\020" + + "CompensationInfo\022K\n\007entries\030\001 \003(\0132:.goog" + + "le.cloud.talent.v4.CompensationInfo.Comp" + + "ensationEntry\022k\n\"annualized_base_compens" + + "ation_range\030\002 \001(\0132:.google.cloud.talent." + + "v4.CompensationInfo.CompensationRangeB\003\340" + + "A\003\022l\n#annualized_total_compensation_rang" + + "e\030\003 \001(\0132:.google.cloud.talent.v4.Compens" + + "ationInfo.CompensationRangeB\003\340A\003\032\203\003\n\021Com" + + "pensationEntry\022G\n\004type\030\001 \001(\01629.google.cl" + + "oud.talent.v4.CompensationInfo.Compensat" + + "ionType\022G\n\004unit\030\002 \001(\01629.google.cloud.tal" + + "ent.v4.CompensationInfo.CompensationUnit" + + "\022$\n\006amount\030\003 \001(\0132\022.google.type.MoneyH\000\022K" + + "\n\005range\030\004 \001(\0132:.google.cloud.talent.v4.C" + + "ompensationInfo.CompensationRangeH\000\022\023\n\013d" + + "escription\030\005 \001(\t\022=\n\027expected_units_per_y" + + "ear\030\006 \001(\0132\034.google.protobuf.DoubleValueB" + + "\025\n\023compensation_amount\032o\n\021CompensationRa" + + "nge\022,\n\020max_compensation\030\002 \001(\0132\022.google.t" + + "ype.Money\022,\n\020min_compensation\030\001 \001(\0132\022.go" + + "ogle.type.Money\"\265\001\n\020CompensationType\022!\n\035" + + "COMPENSATION_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020" + + "\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BONUS\020\003\022\n\n\006EQUIT" + + "Y\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n\013COMMISSIONS\020\006" + + "\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPENSATION_TYPE\020\010\"" + + "\234\001\n\020CompensationUnit\022!\n\035COMPENSATION_UNI" + + "T_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020\002\022\n" + + "\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\022\014\n\010O" + + "NE_TIME\020\006\022\033\n\027OTHER_COMPENSATION_UNIT\020\007\"\307" + + "\003\n\026BatchOperationMetadata\022C\n\005state\030\001 \001(\016" + + "24.google.cloud.talent.v4.BatchOperation" + + "Metadata.State\022\031\n\021state_description\030\002 \001(" + + "\t\022\025\n\rsuccess_count\030\003 \001(\005\022\025\n\rfailure_coun" + + "t\030\004 \001(\005\022\023\n\013total_count\030\005 \001(\005\022/\n\013create_t" + + "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" + + "estamp\022,\n\010end_time\030\010 \001(\0132\032.google.protob" + + "uf.Timestamp\"z\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022\r" + + "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\016\n\nCANCELLING\020" + + "\005\022\r\n\tCANCELLED\020\006*y\n\013CompanySize\022\034\n\030COMPA" + + "NY_SIZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL" + + "\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006" + + "BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JO" + + "B_BENEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022" + + "\n\n\006DENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLE" + + "XIBLE_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSUR" + + "ANCE\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT" + + "_PLAN\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006" + + "VISION\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_U" + + "NSPECIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031L" + + "OWER_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECO" + + "NDARY_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUC" + + "ATION\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n" + + "\027BACHELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR" + + "_EQUIVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020" + + "\010*\334\001\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_" + + "UNSPECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIM" + + "E\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020" + + "\004\022\r\n\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEE" + + "R\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n" + + "\025OTHER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025" + + "JOB_LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001" + + "\022\017\n\013EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECT" + + "OR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030J" + + "OB_CATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_" + + "AND_FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFI" + + "CE\020\002\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013A" + + "NIMAL_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005" + + "\022\027\n\023BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AN" + + "D_FACILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014C" + + "ONSTRUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tE" + + "DUCATION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014" + + "\022\030\n\024FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE" + + "\020\016\022\023\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_" + + "MAINTENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nM" + + "ANAGEMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOU" + + "SE\020\023\022$\n MEDIA_COMMUNICATIONS_AND_WRITING" + + "\020\024\022\026\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_C" + + "ARE_AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICE" + + "S\020\027\022\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_H" + + "OSPITALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SC" + + "IENCE_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVIC" + + "ES_AND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AN" + + "D_RECREATION\020\035\022 \n\034TRANSPORTATION_AND_LOG" + + "ISTICS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REG" + + "ION_UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA" + + "\020\001\022\n\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisib" + + "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACC" + + "OUNT_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022S" + + "HARED_WITH_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitizat" + + "ion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036" + + "\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE" + + "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" + + "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" + + "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" + + "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" + + "oud.talent.v4B\013CommonProtoP\001Z * Parameters needed for commute search. *
* * Protobuf type {@code google.cloud.talent.v4.CommuteFilter} */ -public final class CommuteFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CommuteFilter) CommuteFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteFilter.newBuilder() to construct. private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommuteFilter() { commuteMethod_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommuteFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CommuteFilter.class, com.google.cloud.talent.v4.CommuteFilter.Builder.class); + com.google.cloud.talent.v4.CommuteFilter.class, + com.google.cloud.talent.v4.CommuteFilter.Builder.class); } /** + * + * *
    * The traffic density to use when calculating commute time.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CommuteFilter.RoadTraffic} */ - public enum RoadTraffic - implements com.google.protobuf.ProtocolMessageEnum { + public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Road traffic situation isn't specified.
      * 
@@ -66,6 +88,8 @@ public enum RoadTraffic */ ROAD_TRAFFIC_UNSPECIFIED(0), /** + * + * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -74,6 +98,8 @@ public enum RoadTraffic */ TRAFFIC_FREE(1), /** + * + * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -85,6 +111,8 @@ public enum RoadTraffic ; /** + * + * *
      * Road traffic situation isn't specified.
      * 
@@ -93,6 +121,8 @@ public enum RoadTraffic */ public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -101,6 +131,8 @@ public enum RoadTraffic */ public static final int TRAFFIC_FREE_VALUE = 1; /** + * + * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -109,7 +141,6 @@ public enum RoadTraffic */ public static final int BUSY_HOUR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,49 +165,49 @@ public static RoadTraffic valueOf(int value) { */ public static RoadTraffic forNumber(int value) { switch (value) { - case 0: return ROAD_TRAFFIC_UNSPECIFIED; - case 1: return TRAFFIC_FREE; - case 2: return BUSY_HOUR; - default: return null; + case 0: + return ROAD_TRAFFIC_UNSPECIFIED; + case 1: + return TRAFFIC_FREE; + case 2: + return BUSY_HOUR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RoadTraffic> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoadTraffic findValueByNumber(int number) { - return RoadTraffic.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoadTraffic findValueByNumber(int number) { + return RoadTraffic.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommuteFilter.getDescriptor().getEnumTypes().get(0); } private static final RoadTraffic[] VALUES = values(); - public static RoadTraffic valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,13 +226,16 @@ private RoadTraffic(int value) { private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; + public enum TrafficOptionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROAD_TRAFFIC(5), DEPARTURE_TIME(6), TRAFFICOPTION_NOT_SET(0); private final int value; + private TrafficOptionCase(int value) { this.value = value; } @@ -217,59 +251,79 @@ public static TrafficOptionCase valueOf(int value) { public static TrafficOptionCase forNumber(int value) { switch (value) { - case 5: return ROAD_TRAFFIC; - case 6: return DEPARTURE_TIME; - case 0: return TRAFFICOPTION_NOT_SET; - default: return null; + case 5: + return ROAD_TRAFFIC; + case 6: + return DEPARTURE_TIME; + case 0: + return TRAFFICOPTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TrafficOptionCase - getTrafficOptionCase() { - return TrafficOptionCase.forNumber( - trafficOptionCase_); + public TrafficOptionCase getTrafficOptionCase() { + return TrafficOptionCase.forNumber(trafficOptionCase_); } public static final int COMMUTE_METHOD_FIELD_NUMBER = 1; private int commuteMethod_; /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override public int getCommuteMethodValue() { + @java.lang.Override + public int getCommuteMethodValue() { return commuteMethod_; } /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ - @java.lang.Override public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { + @java.lang.Override + public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteMethod result = com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4.CommuteMethod result = + com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4.CommuteMethod.UNRECOGNIZED : result; } public static final int START_COORDINATES_FIELD_NUMBER = 2; private com.google.type.LatLng startCoordinates_; /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ @java.lang.Override @@ -277,25 +331,34 @@ public boolean hasStartCoordinates() { return startCoordinates_ != null; } /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ @java.lang.Override public com.google.type.LatLng getStartCoordinates() { - return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { @@ -305,12 +368,16 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration travelDuration_; /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -318,25 +385,34 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @@ -346,6 +422,8 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER = 4; private boolean allowImpreciseAddresses_; /** + * + * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -355,6 +433,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
    * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -364,22 +443,28 @@ public boolean getAllowImpreciseAddresses() { public static final int ROAD_TRAFFIC_FIELD_NUMBER = 5; /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ public int getRoadTrafficValue() { @@ -389,25 +474,33 @@ public int getRoadTrafficValue() { return 0; } /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null + ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED + : result; } return com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 6; /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -415,6 +508,7 @@ public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() {
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -422,6 +516,8 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -429,16 +525,19 @@ public boolean hasDepartureTime() {
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ @java.lang.Override public com.google.type.TimeOfDay getDepartureTime() { if (trafficOptionCase_ == 6) { - return (com.google.type.TimeOfDay) trafficOption_; + return (com.google.type.TimeOfDay) trafficOption_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -450,12 +549,13 @@ public com.google.type.TimeOfDay getDepartureTime() {
   @java.lang.Override
   public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
     if (trafficOptionCase_ == 6) {
-       return (com.google.type.TimeOfDay) trafficOption_;
+      return (com.google.type.TimeOfDay) trafficOption_;
     }
     return com.google.type.TimeOfDay.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -467,9 +567,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (commuteMethod_ != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (commuteMethod_
+        != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
@@ -496,29 +596,28 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (commuteMethod_ != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, commuteMethod_);
+    if (commuteMethod_
+        != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartCoordinates());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartCoordinates());
     }
     if (travelDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getTravelDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTravelDuration());
     }
     if (allowImpreciseAddresses_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, allowImpreciseAddresses_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowImpreciseAddresses_);
     }
     if (trafficOptionCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, ((java.lang.Integer) trafficOption_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeEnumSize(
+              5, ((java.lang.Integer) trafficOption_));
     }
     if (trafficOptionCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.type.TimeOfDay) trafficOption_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.type.TimeOfDay) trafficOption_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -528,7 +627,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.CommuteFilter)) {
       return super.equals(obj);
@@ -538,25 +637,20 @@ public boolean equals(final java.lang.Object obj) {
     if (commuteMethod_ != other.commuteMethod_) return false;
     if (hasStartCoordinates() != other.hasStartCoordinates()) return false;
     if (hasStartCoordinates()) {
-      if (!getStartCoordinates()
-          .equals(other.getStartCoordinates())) return false;
+      if (!getStartCoordinates().equals(other.getStartCoordinates())) return false;
     }
     if (hasTravelDuration() != other.hasTravelDuration()) return false;
     if (hasTravelDuration()) {
-      if (!getTravelDuration()
-          .equals(other.getTravelDuration())) return false;
+      if (!getTravelDuration().equals(other.getTravelDuration())) return false;
     }
-    if (getAllowImpreciseAddresses()
-        != other.getAllowImpreciseAddresses()) return false;
+    if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false;
     if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false;
     switch (trafficOptionCase_) {
       case 5:
-        if (getRoadTrafficValue()
-            != other.getRoadTrafficValue()) return false;
+        if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false;
         break;
       case 6:
-        if (!getDepartureTime()
-            .equals(other.getDepartureTime())) return false;
+        if (!getDepartureTime().equals(other.getDepartureTime())) return false;
         break;
       case 0:
       default:
@@ -583,8 +677,7 @@ public int hashCode() {
       hash = (53 * hash) + getTravelDuration().hashCode();
     }
     hash = (37 * hash) + ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowImpreciseAddresses());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowImpreciseAddresses());
     switch (trafficOptionCase_) {
       case 5:
         hash = (37 * hash) + ROAD_TRAFFIC_FIELD_NUMBER;
@@ -602,130 +695,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.CommuteFilter parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.CommuteFilter prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Parameters needed for commute search.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CommuteFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CommuteFilter) com.google.cloud.talent.v4.CommuteFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CommuteFilter.class, com.google.cloud.talent.v4.CommuteFilter.Builder.class); + com.google.cloud.talent.v4.CommuteFilter.class, + com.google.cloud.talent.v4.CommuteFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.CommuteFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -754,9 +853,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override @@ -775,7 +874,8 @@ public com.google.cloud.talent.v4.CommuteFilter build() { @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter buildPartial() { - com.google.cloud.talent.v4.CommuteFilter result = new com.google.cloud.talent.v4.CommuteFilter(this); + com.google.cloud.talent.v4.CommuteFilter result = + new com.google.cloud.talent.v4.CommuteFilter(this); result.commuteMethod_ = commuteMethod_; if (startCoordinatesBuilder_ == null) { result.startCoordinates_ = startCoordinates_; @@ -807,38 +907,39 @@ public com.google.cloud.talent.v4.CommuteFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CommuteFilter) { - return mergeFrom((com.google.cloud.talent.v4.CommuteFilter)other); + return mergeFrom((com.google.cloud.talent.v4.CommuteFilter) other); } else { super.mergeFrom(other); return this; @@ -860,17 +961,20 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CommuteFilter other) { setAllowImpreciseAddresses(other.getAllowImpreciseAddresses()); } switch (other.getTrafficOptionCase()) { - case ROAD_TRAFFIC: { - setRoadTrafficValue(other.getRoadTrafficValue()); - break; - } - case DEPARTURE_TIME: { - mergeDepartureTime(other.getDepartureTime()); - break; - } - case TRAFFICOPTION_NOT_SET: { - break; - } + case ROAD_TRAFFIC: + { + setRoadTrafficValue(other.getRoadTrafficValue()); + break; + } + case DEPARTURE_TIME: + { + mergeDepartureTime(other.getDepartureTime()); + break; + } + case TRAFFICOPTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -898,49 +1002,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - commuteMethod_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getStartCoordinatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - allowImpreciseAddresses_ = input.readBool(); - - break; - } // case 32 - case 40: { - int rawValue = input.readEnum(); - trafficOptionCase_ = 5; - trafficOption_ = rawValue; - break; - } // case 40 - case 50: { - input.readMessage( - getDepartureTimeFieldBuilder().getBuilder(), - extensionRegistry); - trafficOptionCase_ = 6; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + commuteMethod_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage( + getStartCoordinatesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + allowImpreciseAddresses_ = input.readBool(); + + break; + } // case 32 + case 40: + { + int rawValue = input.readEnum(); + trafficOptionCase_ = 5; + trafficOption_ = rawValue; + break; + } // case 40 + case 50: + { + input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); + trafficOptionCase_ = 6; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -950,12 +1056,12 @@ public Builder mergeFrom( } // finally return this; } + private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - public TrafficOptionCase - getTrafficOptionCase() { - return TrafficOptionCase.forNumber( - trafficOptionCase_); + + public TrafficOptionCase getTrafficOptionCase() { + return TrafficOptionCase.forNumber(trafficOptionCase_); } public Builder clearTrafficOption() { @@ -965,54 +1071,75 @@ public Builder clearTrafficOption() { return this; } - private int commuteMethod_ = 0; /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override public int getCommuteMethodValue() { + @java.lang.Override + public int getCommuteMethodValue() { return commuteMethod_; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for commuteMethod to set. * @return This builder for chaining. */ public Builder setCommuteMethodValue(int value) { - + commuteMethod_ = value; onChanged(); return this; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteMethod result = com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4.CommuteMethod result = + com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4.CommuteMethod.UNRECOGNIZED : result; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The commuteMethod to set. * @return This builder for chaining. */ @@ -1020,21 +1147,26 @@ public Builder setCommuteMethod(com.google.cloud.talent.v4.CommuteMethod value) if (value == null) { throw new NullPointerException(); } - + commuteMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearCommuteMethod() { - + commuteMethod_ = 0; onChanged(); return this; @@ -1042,42 +1174,56 @@ public Builder clearCommuteMethod() { private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + startCoordinatesBuilder_; /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ public boolean hasStartCoordinates() { return startCoordinatesBuilder_ != null || startCoordinates_ != null; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ public com.google.type.LatLng getStartCoordinates() { if (startCoordinatesBuilder_ == null) { - return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } else { return startCoordinatesBuilder_.getMessage(); } } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { @@ -1093,15 +1239,17 @@ public Builder setStartCoordinates(com.google.type.LatLng value) { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setStartCoordinates( - com.google.type.LatLng.Builder builderForValue) { + public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValue) { if (startCoordinatesBuilder_ == null) { startCoordinates_ = builderForValue.build(); onChanged(); @@ -1112,18 +1260,21 @@ public Builder setStartCoordinates( return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { if (startCoordinates_ != null) { startCoordinates_ = - com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); + com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); } else { startCoordinates_ = value; } @@ -1135,12 +1286,15 @@ public Builder mergeStartCoordinates(com.google.type.LatLng value) { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStartCoordinates() { if (startCoordinatesBuilder_ == null) { @@ -1154,51 +1308,62 @@ public Builder clearStartCoordinates() { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.LatLng.Builder getStartCoordinatesBuilder() { - + onChanged(); return getStartCoordinatesFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { if (startCoordinatesBuilder_ != null) { return startCoordinatesBuilder_.getMessageOrBuilder(); } else { - return startCoordinates_ == null ? - com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getStartCoordinatesFieldBuilder() { if (startCoordinatesBuilder_ == null) { - startCoordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getStartCoordinates(), - getParentForChildren(), - isClean()); + startCoordinatesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>( + getStartCoordinates(), getParentForChildren(), isClean()); startCoordinates_ = null; } return startCoordinatesBuilder_; @@ -1206,42 +1371,61 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + travelDurationBuilder_; /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { @@ -1257,15 +1441,18 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTravelDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) { if (travelDurationBuilder_ == null) { travelDuration_ = builderForValue.build(); onChanged(); @@ -1276,18 +1463,24 @@ public Builder setTravelDuration( return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { if (travelDuration_ != null) { travelDuration_ = - com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(travelDuration_) + .mergeFrom(value) + .buildPartial(); } else { travelDuration_ = value; } @@ -1299,12 +1492,16 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTravelDuration() { if (travelDurationBuilder_ == null) { @@ -1318,58 +1515,76 @@ public Builder clearTravelDuration() { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - + onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { if (travelDurationBuilder_ != null) { return travelDurationBuilder_.getMessageOrBuilder(); } else { - return travelDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getTravelDurationFieldBuilder() { if (travelDurationBuilder_ == null) { - travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTravelDuration(), - getParentForChildren(), - isClean()); + travelDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTravelDuration(), getParentForChildren(), isClean()); travelDuration_ = null; } return travelDurationBuilder_; } - private boolean allowImpreciseAddresses_ ; + private boolean allowImpreciseAddresses_; /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1379,6 +1594,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
      * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -1386,6 +1602,8 @@ public boolean getAllowImpreciseAddresses() { return allowImpreciseAddresses_; } /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1395,16 +1613,19 @@ public boolean getAllowImpreciseAddresses() {
      * 
* * bool allow_imprecise_addresses = 4; + * * @param value The allowImpreciseAddresses to set. * @return This builder for chaining. */ public Builder setAllowImpreciseAddresses(boolean value) { - + allowImpreciseAddresses_ = value; onChanged(); return this; } /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1414,21 +1635,25 @@ public Builder setAllowImpreciseAddresses(boolean value) {
      * 
* * bool allow_imprecise_addresses = 4; + * * @return This builder for chaining. */ public Builder clearAllowImpreciseAddresses() { - + allowImpreciseAddresses_ = false; onChanged(); return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ @java.lang.Override @@ -1436,11 +1661,14 @@ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ @java.lang.Override @@ -1451,11 +1679,14 @@ public int getRoadTrafficValue() { return 0; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @param value The enum numeric value on the wire for roadTraffic to set. * @return This builder for chaining. */ @@ -1466,29 +1697,38 @@ public Builder setRoadTrafficValue(int value) { return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null + ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED + : result; } return com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @param value The roadTraffic to set. * @return This builder for chaining. */ @@ -1502,11 +1742,14 @@ public Builder setRoadTraffic(com.google.cloud.talent.v4.CommuteFilter.RoadTraff return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return This builder for chaining. */ public Builder clearRoadTraffic() { @@ -1519,8 +1762,13 @@ public Builder clearRoadTraffic() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> departureTimeBuilder_; + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + departureTimeBuilder_; /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1528,6 +1776,7 @@ public Builder clearRoadTraffic() {
      * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -1535,6 +1784,8 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1542,6 +1793,7 @@ public boolean hasDepartureTime() {
      * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ @java.lang.Override @@ -1559,6 +1811,8 @@ public com.google.type.TimeOfDay getDepartureTime() { } } /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1581,6 +1835,8 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1589,8 +1845,7 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
      *
      * .google.type.TimeOfDay departure_time = 6;
      */
-    public Builder setDepartureTime(
-        com.google.type.TimeOfDay.Builder builderForValue) {
+    public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValue) {
       if (departureTimeBuilder_ == null) {
         trafficOption_ = builderForValue.build();
         onChanged();
@@ -1601,6 +1856,8 @@ public Builder setDepartureTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1611,10 +1868,12 @@ public Builder setDepartureTime(
      */
     public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       if (departureTimeBuilder_ == null) {
-        if (trafficOptionCase_ == 6 &&
-            trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
-          trafficOption_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
-              .mergeFrom(value).buildPartial();
+        if (trafficOptionCase_ == 6
+            && trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
+          trafficOption_ =
+              com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           trafficOption_ = value;
         }
@@ -1630,6 +1889,8 @@ public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1655,6 +1916,8 @@ public Builder clearDepartureTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1667,6 +1930,8 @@ public com.google.type.TimeOfDay.Builder getDepartureTimeBuilder() {
       return getDepartureTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1687,6 +1952,8 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1696,26 +1963,30 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
      * .google.type.TimeOfDay departure_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+            com.google.type.TimeOfDay,
+            com.google.type.TimeOfDay.Builder,
+            com.google.type.TimeOfDayOrBuilder>
         getDepartureTimeFieldBuilder() {
       if (departureTimeBuilder_ == null) {
         if (!(trafficOptionCase_ == 6)) {
           trafficOption_ = com.google.type.TimeOfDay.getDefaultInstance();
         }
-        departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                (com.google.type.TimeOfDay) trafficOption_,
-                getParentForChildren(),
-                isClean());
+        departureTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.TimeOfDay,
+                com.google.type.TimeOfDay.Builder,
+                com.google.type.TimeOfDayOrBuilder>(
+                (com.google.type.TimeOfDay) trafficOption_, getParentForChildren(), isClean());
         trafficOption_ = null;
       }
       trafficOptionCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return departureTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1725,12 +1996,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CommuteFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CommuteFilter)
   private static final com.google.cloud.talent.v4.CommuteFilter DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CommuteFilter();
   }
@@ -1739,27 +2010,27 @@ public static com.google.cloud.talent.v4.CommuteFilter getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CommuteFilter parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CommuteFilter parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1774,6 +2045,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.CommuteFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
similarity index 78%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
index 3dd0ff8d69cb..9483d3957680 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
@@ -1,92 +1,142 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/filters.proto
 
 package com.google.cloud.talent.v4;
 
-public interface CommuteFilterOrBuilder extends
+public interface CommuteFilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CommuteFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ int getCommuteMethodValue(); /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ com.google.cloud.talent.v4.CommuteMethod getCommuteMethod(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ boolean hasStartCoordinates(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ com.google.type.LatLng getStartCoordinates(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder(); /** + * + * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -96,39 +146,51 @@ public interface CommuteFilterOrBuilder extends
    * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ boolean getAllowImpreciseAddresses(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ boolean hasRoadTraffic(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ int getRoadTrafficValue(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -136,10 +198,13 @@ public interface CommuteFilterOrBuilder extends
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -147,10 +212,13 @@ public interface CommuteFilterOrBuilder extends
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ com.google.type.TimeOfDay getDepartureTime(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
similarity index 71%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
index ac378e5a42bb..8f8d636dc0c6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Method for commute. Walking, biking and wheelchair accessible transit is
  * still in the Preview stage.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.CommuteMethod}
  */
-public enum CommuteMethod
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Commute method isn't specified.
    * 
@@ -22,6 +40,8 @@ public enum CommuteMethod */ COMMUTE_METHOD_UNSPECIFIED(0), /** + * + * *
    * Commute time is calculated based on driving time.
    * 
@@ -30,6 +50,8 @@ public enum CommuteMethod */ DRIVING(1), /** + * + * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -39,6 +61,8 @@ public enum CommuteMethod
    */
   TRANSIT(2),
   /**
+   *
+   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -47,6 +71,8 @@ public enum CommuteMethod */ WALKING(3), /** + * + * *
    * Commute time is calculated based on biking time.
    * 
@@ -55,6 +81,8 @@ public enum CommuteMethod */ CYCLING(4), /** + * + * *
    * Commute time is calculated based on public transit that is wheelchair
    * accessible.
@@ -67,6 +95,8 @@ public enum CommuteMethod
   ;
 
   /**
+   *
+   *
    * 
    * Commute method isn't specified.
    * 
@@ -75,6 +105,8 @@ public enum CommuteMethod */ public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Commute time is calculated based on driving time.
    * 
@@ -83,6 +115,8 @@ public enum CommuteMethod */ public static final int DRIVING_VALUE = 1; /** + * + * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -92,6 +126,8 @@ public enum CommuteMethod
    */
   public static final int TRANSIT_VALUE = 2;
   /**
+   *
+   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -100,6 +136,8 @@ public enum CommuteMethod */ public static final int WALKING_VALUE = 3; /** + * + * *
    * Commute time is calculated based on biking time.
    * 
@@ -108,6 +146,8 @@ public enum CommuteMethod */ public static final int CYCLING_VALUE = 4; /** + * + * *
    * Commute time is calculated based on public transit that is wheelchair
    * accessible.
@@ -117,7 +157,6 @@ public enum CommuteMethod
    */
   public static final int TRANSIT_ACCESSIBLE_VALUE = 5;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -142,52 +181,55 @@ public static CommuteMethod valueOf(int value) {
    */
   public static CommuteMethod forNumber(int value) {
     switch (value) {
-      case 0: return COMMUTE_METHOD_UNSPECIFIED;
-      case 1: return DRIVING;
-      case 2: return TRANSIT;
-      case 3: return WALKING;
-      case 4: return CYCLING;
-      case 5: return TRANSIT_ACCESSIBLE;
-      default: return null;
+      case 0:
+        return COMMUTE_METHOD_UNSPECIFIED;
+      case 1:
+        return DRIVING;
+      case 2:
+        return TRANSIT;
+      case 3:
+        return WALKING;
+      case 4:
+        return CYCLING;
+      case 5:
+        return TRANSIT_ACCESSIBLE;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      CommuteMethod> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public CommuteMethod findValueByNumber(int number) {
-            return CommuteMethod.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public CommuteMethod findValueByNumber(int number) {
+          return CommuteMethod.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(9);
   }
 
   private static final CommuteMethod[] VALUES = values();
 
-  public static CommuteMethod valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -203,4 +245,3 @@ private CommuteMethod(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CommuteMethod)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
similarity index 75%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
index d4e7957a23a1..435b39408003 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * A Company resource represents a company in the service. A company is the
  * entity that owns job postings, that is, the hiring entity responsible for
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Company}
  */
-public final class Company extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Company extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Company)
     CompanyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Company.newBuilder() to construct.
   private Company(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Company() {
     name_ = "";
     displayName_ = "";
@@ -36,54 +54,64 @@ private Company() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Company();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.CompanyProto
+        .internal_static_google_cloud_talent_v4_Company_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
+    return com.google.cloud.talent.v4.CompanyProto
+        .internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.Company.class, com.google.cloud.talent.v4.Company.Builder.class);
+            com.google.cloud.talent.v4.Company.class,
+            com.google.cloud.talent.v4.Company.Builder.class);
   }
 
-  public interface DerivedInfoOrBuilder extends
+  public interface DerivedInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Company.DerivedInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ boolean hasHeadquartersLocation(); /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return The headquartersLocation. */ com.google.cloud.talent.v4.Location getHeadquartersLocation(); /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -94,58 +122,64 @@ public interface DerivedInfoOrBuilder extends
     com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Derived details about the company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Company.DerivedInfo} */ - public static final class DerivedInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Company.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DerivedInfo() { - } + + private DerivedInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Company.DerivedInfo.class, com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Company.DerivedInfo.class, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); } public static final int HEADQUARTERS_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Location headquartersLocation_; /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ @java.lang.Override @@ -153,19 +187,26 @@ public boolean hasHeadquartersLocation() { return headquartersLocation_ != null; } /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return The headquartersLocation. */ @java.lang.Override public com.google.cloud.talent.v4.Location getHeadquartersLocation() { - return headquartersLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_; + return headquartersLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : headquartersLocation_; } /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -179,6 +220,7 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -190,8 +232,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (headquartersLocation_ != null) {
         output.writeMessage(1, getHeadquartersLocation());
       }
@@ -205,8 +246,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (headquartersLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getHeadquartersLocation());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeadquartersLocation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -216,17 +257,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.Company.DerivedInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.Company.DerivedInfo other = (com.google.cloud.talent.v4.Company.DerivedInfo) obj;
+      com.google.cloud.talent.v4.Company.DerivedInfo other =
+          (com.google.cloud.talent.v4.Company.DerivedInfo) obj;
 
       if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
       if (hasHeadquartersLocation()) {
-        if (!getHeadquartersLocation()
-            .equals(other.getHeadquartersLocation())) return false;
+        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -248,88 +289,94 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data)
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.cloud.talent.v4.Company.DerivedInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -339,39 +386,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Derived details about the company.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Company.DerivedInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Company.DerivedInfo) com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Company.DerivedInfo.class, com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Company.DerivedInfo.class, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override @@ -406,7 +455,8 @@ public com.google.cloud.talent.v4.Company.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfo buildPartial() { - com.google.cloud.talent.v4.Company.DerivedInfo result = new com.google.cloud.talent.v4.Company.DerivedInfo(this); + com.google.cloud.talent.v4.Company.DerivedInfo result = + new com.google.cloud.talent.v4.Company.DerivedInfo(this); if (headquartersLocationBuilder_ == null) { result.headquartersLocation_ = headquartersLocation_; } else { @@ -420,38 +470,41 @@ public com.google.cloud.talent.v4.Company.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Company.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4.Company.DerivedInfo)other); + return mergeFrom((com.google.cloud.talent.v4.Company.DerivedInfo) other); } else { super.mergeFrom(other); return this; @@ -459,7 +512,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Company.DerivedInfo other) { - if (other == com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance()) + return this; if (other.hasHeadquartersLocation()) { mergeHeadquartersLocation(other.getHeadquartersLocation()); } @@ -489,19 +543,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getHeadquartersLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getHeadquartersLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,36 +569,49 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> headquartersLocationBuilder_; + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> + headquartersLocationBuilder_; /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ public boolean hasHeadquartersLocation() { return headquartersLocationBuilder_ != null || headquartersLocation_ != null; } /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return The headquartersLocation. */ public com.google.cloud.talent.v4.Location getHeadquartersLocation() { if (headquartersLocationBuilder_ == null) { - return headquartersLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_; + return headquartersLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : headquartersLocation_; } else { return headquartersLocationBuilder_.getMessage(); } } /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -565,6 +633,8 @@ public Builder setHeadquartersLocation(com.google.cloud.talent.v4.Location value
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -584,6 +654,8 @@ public Builder setHeadquartersLocation(
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -595,7 +667,9 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4.Location val
         if (headquartersLocationBuilder_ == null) {
           if (headquartersLocation_ != null) {
             headquartersLocation_ =
-              com.google.cloud.talent.v4.Location.newBuilder(headquartersLocation_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4.Location.newBuilder(headquartersLocation_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             headquartersLocation_ = value;
           }
@@ -607,6 +681,8 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4.Location val
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -626,6 +702,8 @@ public Builder clearHeadquartersLocation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -634,11 +712,13 @@ public Builder clearHeadquartersLocation() {
        * .google.cloud.talent.v4.Location headquarters_location = 1;
        */
       public com.google.cloud.talent.v4.Location.Builder getHeadquartersLocationBuilder() {
-        
+
         onChanged();
         return getHeadquartersLocationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -650,11 +730,14 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
         if (headquartersLocationBuilder_ != null) {
           return headquartersLocationBuilder_.getMessageOrBuilder();
         } else {
-          return headquartersLocation_ == null ?
-              com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_;
+          return headquartersLocation_ == null
+              ? com.google.cloud.talent.v4.Location.getDefaultInstance()
+              : headquartersLocation_;
         }
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -663,18 +746,22 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
        * .google.cloud.talent.v4.Location headquarters_location = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
+              com.google.cloud.talent.v4.Location,
+              com.google.cloud.talent.v4.Location.Builder,
+              com.google.cloud.talent.v4.LocationOrBuilder>
           getHeadquartersLocationFieldBuilder() {
         if (headquartersLocationBuilder_ == null) {
-          headquartersLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
-                  getHeadquartersLocation(),
-                  getParentForChildren(),
-                  isClean());
+          headquartersLocationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4.Location,
+                  com.google.cloud.talent.v4.Location.Builder,
+                  com.google.cloud.talent.v4.LocationOrBuilder>(
+                  getHeadquartersLocation(), getParentForChildren(), isClean());
           headquartersLocation_ = null;
         }
         return headquartersLocationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -687,12 +774,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Company.DerivedInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Company.DerivedInfo)
     private static final com.google.cloud.talent.v4.Company.DerivedInfo DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Company.DerivedInfo();
     }
@@ -701,27 +788,28 @@ public static com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstance(
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public DerivedInfo parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public DerivedInfo parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -736,12 +824,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -752,6 +841,7 @@ public com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstanceForType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -760,14 +850,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -778,16 +869,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -798,11 +888,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -811,29 +904,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -844,6 +937,8 @@ public java.lang.String getDisplayName() { public static final int EXTERNAL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object externalId_; /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -851,6 +946,7 @@ public java.lang.String getDisplayName() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ @java.lang.Override @@ -859,14 +955,15 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -874,16 +971,15 @@ public java.lang.String getExternalId() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -894,33 +990,44 @@ public java.lang.String getExternalId() { public static final int SIZE_FIELD_NUMBER = 4; private int size_; /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ - @java.lang.Override public int getSizeValue() { + @java.lang.Override + public int getSizeValue() { return size_; } /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The size. */ - @java.lang.Override public com.google.cloud.talent.v4.CompanySize getSize() { + @java.lang.Override + public com.google.cloud.talent.v4.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompanySize result = com.google.cloud.talent.v4.CompanySize.valueOf(size_); + com.google.cloud.talent.v4.CompanySize result = + com.google.cloud.talent.v4.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4.CompanySize.UNRECOGNIZED : result; } public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER = 5; private volatile java.lang.Object headquartersAddress_; /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -929,6 +1036,7 @@ public java.lang.String getExternalId() {
    * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ @java.lang.Override @@ -937,14 +1045,15 @@ public java.lang.String getHeadquartersAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; } } /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -953,16 +1062,15 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -973,6 +1081,8 @@ public java.lang.String getHeadquartersAddress() { public static final int HIRING_AGENCY_FIELD_NUMBER = 6; private boolean hiringAgency_; /** + * + * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -980,6 +1090,7 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ @java.lang.Override @@ -990,6 +1101,8 @@ public boolean getHiringAgency() { public static final int EEO_TEXT_FIELD_NUMBER = 7; private volatile java.lang.Object eeoText_; /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -998,6 +1111,7 @@ public boolean getHiringAgency() {
    * 
* * string eeo_text = 7; + * * @return The eeoText. */ @java.lang.Override @@ -1006,14 +1120,15 @@ public java.lang.String getEeoText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; } } /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1022,16 +1137,15 @@ public java.lang.String getEeoText() {
    * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ @java.lang.Override - public com.google.protobuf.ByteString - getEeoTextBytes() { + public com.google.protobuf.ByteString getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eeoText_ = b; return b; } else { @@ -1042,6 +1156,8 @@ public java.lang.String getEeoText() { public static final int WEBSITE_URI_FIELD_NUMBER = 8; private volatile java.lang.Object websiteUri_; /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1049,6 +1165,7 @@ public java.lang.String getEeoText() {
    * 
* * string website_uri = 8; + * * @return The websiteUri. */ @java.lang.Override @@ -1057,14 +1174,15 @@ public java.lang.String getWebsiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; } } /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1072,16 +1190,15 @@ public java.lang.String getWebsiteUri() {
    * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebsiteUriBytes() { + public com.google.protobuf.ByteString getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -1092,12 +1209,15 @@ public java.lang.String getWebsiteUri() { public static final int CAREER_SITE_URI_FIELD_NUMBER = 9; private volatile java.lang.Object careerSiteUri_; /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ @java.lang.Override @@ -1106,30 +1226,30 @@ public java.lang.String getCareerSiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; } } /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getCareerSiteUriBytes() { + public com.google.protobuf.ByteString getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -1140,11 +1260,14 @@ public java.lang.String getCareerSiteUri() { public static final int IMAGE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object imageUri_; /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The imageUri. */ @java.lang.Override @@ -1153,29 +1276,29 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -1186,6 +1309,8 @@ public java.lang.String getImageUri() { public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_; /** + * + * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -1196,13 +1321,15 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @return A list containing the keywordSearchableJobCustomAttributes. */ - public com.google.protobuf.ProtocolStringList - getKeywordSearchableJobCustomAttributesList() { + public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_; } /** + * + * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -1213,12 +1340,15 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @return The count of keywordSearchableJobCustomAttributes. */ public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** + * + * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -1229,6 +1359,7 @@ public int getKeywordSearchableJobCustomAttributesCount() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ @@ -1236,6 +1367,8 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** + * + * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -1246,22 +1379,27 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - public com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index) { + public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } public static final int DERIVED_INFO_FIELD_NUMBER = 12; private com.google.cloud.talent.v4.Company.DerivedInfo derivedInfo_; /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -1269,23 +1407,34 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -1295,6 +1444,8 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB public static final int SUSPENDED_FIELD_NUMBER = 13; private boolean suspended_; /** + * + * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -1302,6 +1453,7 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ @java.lang.Override @@ -1310,6 +1462,7 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1321,8 +1474,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1354,7 +1506,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageUri_); } for (int i = 0; i < keywordSearchableJobCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); } if (derivedInfo_ != null) { output.writeMessage(12, getDerivedInfo()); @@ -1381,15 +1534,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalId_); } if (size_ != com.google.cloud.talent.v4.CompanySize.COMPANY_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, size_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headquartersAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, headquartersAddress_); } if (hiringAgency_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, hiringAgency_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hiringAgency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eeoText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eeoText_); @@ -1412,12 +1563,10 @@ public int getSerializedSize() { size += 1 * getKeywordSearchableJobCustomAttributesList().size(); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDerivedInfo()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, suspended_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1427,41 +1576,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Company)) { return super.equals(obj); } com.google.cloud.talent.v4.Company other = (com.google.cloud.talent.v4.Company) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getExternalId() - .equals(other.getExternalId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; if (size_ != other.size_) return false; - if (!getHeadquartersAddress() - .equals(other.getHeadquartersAddress())) return false; - if (getHiringAgency() - != other.getHiringAgency()) return false; - if (!getEeoText() - .equals(other.getEeoText())) return false; - if (!getWebsiteUri() - .equals(other.getWebsiteUri())) return false; - if (!getCareerSiteUri() - .equals(other.getCareerSiteUri())) return false; - if (!getImageUri() - .equals(other.getImageUri())) return false; + if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() != other.getHiringAgency()) return false; + if (!getEeoText().equals(other.getEeoText())) return false; + if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; if (!getKeywordSearchableJobCustomAttributesList() .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo() - .equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } - if (getSuspended() - != other.getSuspended()) return false; + if (getSuspended() != other.getSuspended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1484,8 +1622,7 @@ public int hashCode() { hash = (37 * hash) + HEADQUARTERS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getHeadquartersAddress().hashCode(); hash = (37 * hash) + HIRING_AGENCY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHiringAgency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHiringAgency()); hash = (37 * hash) + EEO_TEXT_FIELD_NUMBER; hash = (53 * hash) + getEeoText().hashCode(); hash = (37 * hash) + WEBSITE_URI_FIELD_NUMBER; @@ -1503,104 +1640,109 @@ public int hashCode() { hash = (53 * hash) + getDerivedInfo().hashCode(); } hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.Company parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Company parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Company parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.Company parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Company parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Company parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Company parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Company parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Company parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Company parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Company parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Company parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Company parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Company prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Company resource represents a company in the service. A company is the
    * entity that owns job postings, that is, the hiring entity responsible for
@@ -1609,33 +1751,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.Company}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Company)
       com.google.cloud.talent.v4.CompanyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CompanyProto
+          .internal_static_google_cloud_talent_v4_Company_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
+      return com.google.cloud.talent.v4.CompanyProto
+          .internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.Company.class, com.google.cloud.talent.v4.Company.Builder.class);
+              com.google.cloud.talent.v4.Company.class,
+              com.google.cloud.talent.v4.Company.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Company.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1673,9 +1814,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.CompanyProto
+          .internal_static_google_cloud_talent_v4_Company_descriptor;
     }
 
     @java.lang.Override
@@ -1707,7 +1848,8 @@ public com.google.cloud.talent.v4.Company buildPartial() {
       result.careerSiteUri_ = careerSiteUri_;
       result.imageUri_ = imageUri_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView();
+        keywordSearchableJobCustomAttributes_ =
+            keywordSearchableJobCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_;
@@ -1725,38 +1867,39 @@ public com.google.cloud.talent.v4.Company buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Company) {
-        return mergeFrom((com.google.cloud.talent.v4.Company)other);
+        return mergeFrom((com.google.cloud.talent.v4.Company) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1845,80 +1988,92 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              externalId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                externalId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              size_ = input.readEnum();
+                break;
+              } // case 26
+            case 32:
+              {
+                size_ = input.readEnum();
 
-              break;
-            } // case 32
-            case 42: {
-              headquartersAddress_ = input.readStringRequireUtf8();
+                break;
+              } // case 32
+            case 42:
+              {
+                headquartersAddress_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 48: {
-              hiringAgency_ = input.readBool();
+                break;
+              } // case 42
+            case 48:
+              {
+                hiringAgency_ = input.readBool();
 
-              break;
-            } // case 48
-            case 58: {
-              eeoText_ = input.readStringRequireUtf8();
+                break;
+              } // case 48
+            case 58:
+              {
+                eeoText_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 58
-            case 66: {
-              websiteUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 58
+            case 66:
+              {
+                websiteUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 66
-            case 74: {
-              careerSiteUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 66
+            case 74:
+              {
+                careerSiteUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 74
-            case 82: {
-              imageUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 74
+            case 82:
+              {
+                imageUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 82
-            case 90: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureKeywordSearchableJobCustomAttributesIsMutable();
-              keywordSearchableJobCustomAttributes_.add(s);
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getDerivedInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 82
+            case 90:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureKeywordSearchableJobCustomAttributesIsMutable();
+                keywordSearchableJobCustomAttributes_.add(s);
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 98
-            case 104: {
-              suspended_ = input.readBool();
+                break;
+              } // case 98
+            case 104:
+              {
+                suspended_ = input.readBool();
 
-              break;
-            } // case 104
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 104
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1928,10 +2083,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1942,13 +2100,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1957,6 +2115,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1967,15 +2127,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1983,6 +2142,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1993,20 +2154,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2017,15 +2180,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2036,16 +2202,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2053,18 +2219,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2073,20 +2241,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2094,54 +2263,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2149,6 +2325,8 @@ public Builder setDisplayNameBytes( private java.lang.Object externalId_ = ""; /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2156,13 +2334,13 @@ public Builder setDisplayNameBytes(
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -2171,6 +2349,8 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2178,15 +2358,14 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -2194,6 +2373,8 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2201,20 +2382,22 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId( - java.lang.String value) { + public Builder setExternalId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2222,15 +2405,18 @@ public Builder setExternalId(
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2238,16 +2424,16 @@ public Builder clearExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -2255,51 +2441,65 @@ public Builder setExternalIdBytes( private int size_ = 0; /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ - @java.lang.Override public int getSizeValue() { + @java.lang.Override + public int getSizeValue() { return size_; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @param value The enum numeric value on the wire for size to set. * @return This builder for chaining. */ public Builder setSizeValue(int value) { - + size_ = value; onChanged(); return this; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The size. */ @java.lang.Override public com.google.cloud.talent.v4.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompanySize result = com.google.cloud.talent.v4.CompanySize.valueOf(size_); + com.google.cloud.talent.v4.CompanySize result = + com.google.cloud.talent.v4.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4.CompanySize.UNRECOGNIZED : result; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @param value The size to set. * @return This builder for chaining. */ @@ -2307,21 +2507,24 @@ public Builder setSize(com.google.cloud.talent.v4.CompanySize value) { if (value == null) { throw new NullPointerException(); } - + size_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0; onChanged(); return this; @@ -2329,6 +2532,8 @@ public Builder clearSize() { private java.lang.Object headquartersAddress_ = ""; /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2337,13 +2542,13 @@ public Builder clearSize() {
      * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ public java.lang.String getHeadquartersAddress() { java.lang.Object ref = headquartersAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; @@ -2352,6 +2557,8 @@ public java.lang.String getHeadquartersAddress() { } } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2360,15 +2567,14 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ - public com.google.protobuf.ByteString - getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -2376,6 +2582,8 @@ public java.lang.String getHeadquartersAddress() { } } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2384,20 +2592,22 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @param value The headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddress( - java.lang.String value) { + public Builder setHeadquartersAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + headquartersAddress_ = value; onChanged(); return this; } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2406,15 +2616,18 @@ public Builder setHeadquartersAddress(
      * 
* * string headquarters_address = 5; + * * @return This builder for chaining. */ public Builder clearHeadquartersAddress() { - + headquartersAddress_ = getDefaultInstance().getHeadquartersAddress(); onChanged(); return this; } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2423,23 +2636,25 @@ public Builder clearHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @param value The bytes for headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + headquartersAddress_ = value; onChanged(); return this; } - private boolean hiringAgency_ ; + private boolean hiringAgency_; /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2447,6 +2662,7 @@ public Builder setHeadquartersAddressBytes(
      * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ @java.lang.Override @@ -2454,6 +2670,8 @@ public boolean getHiringAgency() { return hiringAgency_; } /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2461,16 +2679,19 @@ public boolean getHiringAgency() {
      * 
* * bool hiring_agency = 6; + * * @param value The hiringAgency to set. * @return This builder for chaining. */ public Builder setHiringAgency(boolean value) { - + hiringAgency_ = value; onChanged(); return this; } /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2478,10 +2699,11 @@ public Builder setHiringAgency(boolean value) {
      * 
* * bool hiring_agency = 6; + * * @return This builder for chaining. */ public Builder clearHiringAgency() { - + hiringAgency_ = false; onChanged(); return this; @@ -2489,6 +2711,8 @@ public Builder clearHiringAgency() { private java.lang.Object eeoText_ = ""; /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2497,13 +2721,13 @@ public Builder clearHiringAgency() {
      * 
* * string eeo_text = 7; + * * @return The eeoText. */ public java.lang.String getEeoText() { java.lang.Object ref = eeoText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; @@ -2512,6 +2736,8 @@ public java.lang.String getEeoText() { } } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2520,15 +2746,14 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ - public com.google.protobuf.ByteString - getEeoTextBytes() { + public com.google.protobuf.ByteString getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eeoText_ = b; return b; } else { @@ -2536,6 +2761,8 @@ public java.lang.String getEeoText() { } } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2544,20 +2771,22 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; + * * @param value The eeoText to set. * @return This builder for chaining. */ - public Builder setEeoText( - java.lang.String value) { + public Builder setEeoText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eeoText_ = value; onChanged(); return this; } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2566,15 +2795,18 @@ public Builder setEeoText(
      * 
* * string eeo_text = 7; + * * @return This builder for chaining. */ public Builder clearEeoText() { - + eeoText_ = getDefaultInstance().getEeoText(); onChanged(); return this; } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2583,16 +2815,16 @@ public Builder clearEeoText() {
      * 
* * string eeo_text = 7; + * * @param value The bytes for eeoText to set. * @return This builder for chaining. */ - public Builder setEeoTextBytes( - com.google.protobuf.ByteString value) { + public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eeoText_ = value; onChanged(); return this; @@ -2600,6 +2832,8 @@ public Builder setEeoTextBytes( private java.lang.Object websiteUri_ = ""; /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2607,13 +2841,13 @@ public Builder setEeoTextBytes(
      * 
* * string website_uri = 8; + * * @return The websiteUri. */ public java.lang.String getWebsiteUri() { java.lang.Object ref = websiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; @@ -2622,6 +2856,8 @@ public java.lang.String getWebsiteUri() { } } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2629,15 +2865,14 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ - public com.google.protobuf.ByteString - getWebsiteUriBytes() { + public com.google.protobuf.ByteString getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -2645,6 +2880,8 @@ public java.lang.String getWebsiteUri() { } } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2652,20 +2889,22 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; + * * @param value The websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUri( - java.lang.String value) { + public Builder setWebsiteUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + websiteUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2673,15 +2912,18 @@ public Builder setWebsiteUri(
      * 
* * string website_uri = 8; + * * @return This builder for chaining. */ public Builder clearWebsiteUri() { - + websiteUri_ = getDefaultInstance().getWebsiteUri(); onChanged(); return this; } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2689,16 +2931,16 @@ public Builder clearWebsiteUri() {
      * 
* * string website_uri = 8; + * * @param value The bytes for websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUriBytes( - com.google.protobuf.ByteString value) { + public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + websiteUri_ = value; onChanged(); return this; @@ -2706,19 +2948,21 @@ public Builder setWebsiteUriBytes( private java.lang.Object careerSiteUri_ = ""; /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ public java.lang.String getCareerSiteUri() { java.lang.Object ref = careerSiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; @@ -2727,21 +2971,22 @@ public java.lang.String getCareerSiteUri() { } } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ - public com.google.protobuf.ByteString - getCareerSiteUriBytes() { + public com.google.protobuf.ByteString getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -2749,57 +2994,64 @@ public java.lang.String getCareerSiteUri() { } } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @param value The careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUri( - java.lang.String value) { + public Builder setCareerSiteUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + careerSiteUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return This builder for chaining. */ public Builder clearCareerSiteUri() { - + careerSiteUri_ = getDefaultInstance().getCareerSiteUri(); onChanged(); return this; } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @param value The bytes for careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUriBytes( - com.google.protobuf.ByteString value) { + public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + careerSiteUri_ = value; onChanged(); return this; @@ -2807,18 +3059,20 @@ public Builder setCareerSiteUriBytes( private java.lang.Object imageUri_ = ""; /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -2827,20 +3081,21 @@ public java.lang.String getImageUri() { } } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -2848,67 +3103,79 @@ public java.lang.String getImageUri() { } } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri( - java.lang.String value) { + public Builder setImageUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes( - com.google.protobuf.ByteString value) { + public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKeywordSearchableJobCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); + keywordSearchableJobCustomAttributes_ = + new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -2919,13 +3186,15 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @return A list containing the keywordSearchableJobCustomAttributes. */ - public com.google.protobuf.ProtocolStringList - getKeywordSearchableJobCustomAttributesList() { + public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -2936,12 +3205,15 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @return The count of keywordSearchableJobCustomAttributes. */ public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -2952,6 +3224,7 @@ public int getKeywordSearchableJobCustomAttributesCount() {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ @@ -2959,6 +3232,8 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -2969,14 +3244,16 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - public com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index) { + public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -2987,21 +3264,23 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param index The index to set the value at. * @param value The keywordSearchableJobCustomAttributes to set. * @return This builder for chaining. */ - public Builder setKeywordSearchableJobCustomAttributes( - int index, java.lang.String value) { + public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3012,20 +3291,22 @@ public Builder setKeywordSearchableJobCustomAttributes(
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param value The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableJobCustomAttributes( - java.lang.String value) { + public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3036,6 +3317,7 @@ public Builder addKeywordSearchableJobCustomAttributes(
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param values The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ @@ -3048,6 +3330,8 @@ public Builder addAllKeywordSearchableJobCustomAttributes( return this; } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3058,6 +3342,7 @@ public Builder addAllKeywordSearchableJobCustomAttributes(
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @return This builder for chaining. */ public Builder clearKeywordSearchableJobCustomAttributes() { @@ -3067,6 +3352,8 @@ public Builder clearKeywordSearchableJobCustomAttributes() { return this; } /** + * + * *
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
@@ -3077,15 +3364,16 @@ public Builder clearKeywordSearchableJobCustomAttributes() {
      * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param value The bytes of the keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ public Builder addKeywordSearchableJobCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); @@ -3094,39 +3382,58 @@ public Builder addKeywordSearchableJobCustomAttributesBytes( private com.google.cloud.talent.v4.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> derivedInfoBuilder_; + com.google.cloud.talent.v4.Company.DerivedInfo, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> + derivedInfoBuilder_; /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ public com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -3142,11 +3449,15 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo val return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo( com.google.cloud.talent.v4.Company.DerivedInfo.Builder builderForValue) { @@ -3160,17 +3471,23 @@ public Builder setDerivedInfo( return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder(derivedInfo_) + .mergeFrom(value) + .buildPartial(); } else { derivedInfo_ = value; } @@ -3182,11 +3499,15 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo v return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -3200,55 +3521,73 @@ public Builder clearDerivedInfo() { return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4.Company.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null ? - com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> + com.google.cloud.talent.v4.Company.DerivedInfo, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder>( - getDerivedInfo(), - getParentForChildren(), - isClean()); + derivedInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company.DerivedInfo, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder>( + getDerivedInfo(), getParentForChildren(), isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; } - private boolean suspended_ ; + private boolean suspended_; /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3256,6 +3595,7 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ @java.lang.Override @@ -3263,6 +3603,8 @@ public boolean getSuspended() { return suspended_; } /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3270,16 +3612,19 @@ public boolean getSuspended() {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The suspended to set. * @return This builder for chaining. */ public Builder setSuspended(boolean value) { - + suspended_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3287,17 +3632,18 @@ public Builder setSuspended(boolean value) {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSuspended() { - + suspended_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3307,12 +3653,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Company) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Company) private static final com.google.cloud.talent.v4.Company DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Company(); } @@ -3321,27 +3667,27 @@ public static com.google.cloud.talent.v4.Company getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Company parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Company parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3356,6 +3702,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Company getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java similarity index 100% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java similarity index 82% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java index b3c1e0bdee12..5f26e382f9a2 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company.proto package com.google.cloud.talent.v4; -public interface CompanyOrBuilder extends +public interface CompanyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Company) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -18,10 +36,13 @@ public interface CompanyOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -32,32 +53,39 @@ public interface CompanyOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -65,10 +93,13 @@ public interface CompanyOrBuilder extends
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ java.lang.String getExternalId(); /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -76,31 +107,39 @@ public interface CompanyOrBuilder extends
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - com.google.protobuf.ByteString - getExternalIdBytes(); + com.google.protobuf.ByteString getExternalIdBytes(); /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ int getSizeValue(); /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The size. */ com.google.cloud.talent.v4.CompanySize getSize(); /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -109,10 +148,13 @@ public interface CompanyOrBuilder extends
    * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ java.lang.String getHeadquartersAddress(); /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -121,12 +163,14 @@ public interface CompanyOrBuilder extends
    * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ - com.google.protobuf.ByteString - getHeadquartersAddressBytes(); + com.google.protobuf.ByteString getHeadquartersAddressBytes(); /** + * + * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -134,11 +178,14 @@ public interface CompanyOrBuilder extends
    * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ boolean getHiringAgency(); /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -147,10 +194,13 @@ public interface CompanyOrBuilder extends
    * 
* * string eeo_text = 7; + * * @return The eeoText. */ java.lang.String getEeoText(); /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -159,12 +209,14 @@ public interface CompanyOrBuilder extends
    * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ - com.google.protobuf.ByteString - getEeoTextBytes(); + com.google.protobuf.ByteString getEeoTextBytes(); /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -172,10 +224,13 @@ public interface CompanyOrBuilder extends
    * 
* * string website_uri = 8; + * * @return The websiteUri. */ java.lang.String getWebsiteUri(); /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -183,54 +238,66 @@ public interface CompanyOrBuilder extends
    * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ - com.google.protobuf.ByteString - getWebsiteUriBytes(); + com.google.protobuf.ByteString getWebsiteUriBytes(); /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ java.lang.String getCareerSiteUri(); /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ - com.google.protobuf.ByteString - getCareerSiteUriBytes(); + com.google.protobuf.ByteString getCareerSiteUriBytes(); /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The imageUri. */ java.lang.String getImageUri(); /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString - getImageUriBytes(); + com.google.protobuf.ByteString getImageUriBytes(); /** + * + * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -241,11 +308,13 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @return A list containing the keywordSearchableJobCustomAttributes. */ - java.util.List - getKeywordSearchableJobCustomAttributesList(); + java.util.List getKeywordSearchableJobCustomAttributesList(); /** + * + * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -256,10 +325,13 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @return The count of keywordSearchableJobCustomAttributes. */ int getKeywordSearchableJobCustomAttributesCount(); /** + * + * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -270,11 +342,14 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ java.lang.String getKeywordSearchableJobCustomAttributes(int index); /** + * + * *
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
@@ -285,40 +360,56 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index); + com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo(); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** + * + * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -326,6 +417,7 @@ public interface CompanyOrBuilder extends
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ boolean getSuspended(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java new file mode 100644 index 000000000000..269b131b63a3 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java @@ -0,0 +1,118 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company.proto + +package com.google.cloud.talent.v4; + +public final class CompanyProto { + private CompanyProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Company_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Company_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n$google/cloud/talent/v4/company.proto\022\026" + + "google.cloud.talent.v4\032\037google/api/field" + + "_behavior.proto\032\031google/api/resource.pro" + + "to\032#google/cloud/talent/v4/common.proto\"" + + "\304\004\n\007Company\022\014\n\004name\030\001 \001(\t\022\031\n\014display_nam" + + "e\030\002 \001(\tB\003\340A\002\022\030\n\013external_id\030\003 \001(\tB\003\340A\002\0221" + + "\n\004size\030\004 \001(\0162#.google.cloud.talent.v4.Co" + + "mpanySize\022\034\n\024headquarters_address\030\005 \001(\t\022" + + "\025\n\rhiring_agency\030\006 \001(\010\022\020\n\010eeo_text\030\007 \001(\t" + + "\022\023\n\013website_uri\030\010 \001(\t\022\027\n\017career_site_uri" + + "\030\t \001(\t\022\021\n\timage_uri\030\n \001(\t\0220\n(keyword_sea" + + "rchable_job_custom_attributes\030\013 \003(\t\022F\n\014d" + + "erived_info\030\014 \001(\0132+.google.cloud.talent." + + "v4.Company.DerivedInfoB\003\340A\003\022\026\n\tsuspended" + + "\030\r \001(\010B\003\340A\003\032N\n\013DerivedInfo\022?\n\025headquarte" + + "rs_location\030\001 \001(\0132 .google.cloud.talent." + + "v4.Location:Y\352AV\n\033jobs.googleapis.com/Co" + + "mpany\0227projects/{project}/tenants/{tenan" + + "t}/companies/{company}Bp\n\032com.google.clo" + + "ud.talent.v4B\014CompanyProtoP\001Z23/v4/{company.name=projects/*/te" + + "nants/*/companies/*}:\007company\332A\023company," + + "update_mask\022\221\001\n\rDeleteCompany\022,.google.c" + + "loud.talent.v4.DeleteCompanyRequest\032\026.go" + + "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v4/{name=p" + + "rojects/*/tenants/*/companies/*}\332A\004name\022" + + "\252\001\n\rListCompanies\022,.google.cloud.talent." + + "v4.ListCompaniesRequest\032-.google.cloud.t" + + "alent.v4.ListCompaniesResponse\"<\202\323\344\223\002-\022+" + + "/v4/{parent=projects/*/tenants/*}/compan" + + "ies\332A\006parent\032l\312A\023jobs.googleapis.com\322ASh" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tform,https://www.googleapis.com/auth/jo" + + "bsBw\n\032com.google.cloud.talent.v4B\023Compan" + + "yServiceProtoP\001Z * An enum that represents the size of the company. *
* * Protobuf enum {@code google.cloud.talent.v4.CompanySize} */ -public enum CompanySize - implements com.google.protobuf.ProtocolMessageEnum { +public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if the size isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum CompanySize */ COMPANY_SIZE_UNSPECIFIED(0), /** + * + * *
    * The company has less than 50 employees.
    * 
@@ -29,6 +49,8 @@ public enum CompanySize */ MINI(1), /** + * + * *
    * The company has between 50 and 99 employees.
    * 
@@ -37,6 +59,8 @@ public enum CompanySize */ SMALL(2), /** + * + * *
    * The company has between 100 and 499 employees.
    * 
@@ -45,6 +69,8 @@ public enum CompanySize */ SMEDIUM(3), /** + * + * *
    * The company has between 500 and 999 employees.
    * 
@@ -53,6 +79,8 @@ public enum CompanySize */ MEDIUM(4), /** + * + * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -61,6 +89,8 @@ public enum CompanySize */ BIG(5), /** + * + * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -69,6 +99,8 @@ public enum CompanySize */ BIGGER(6), /** + * + * *
    * The company has 10,000 or more employees.
    * 
@@ -80,6 +112,8 @@ public enum CompanySize ; /** + * + * *
    * Default value if the size isn't specified.
    * 
@@ -88,6 +122,8 @@ public enum CompanySize */ public static final int COMPANY_SIZE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The company has less than 50 employees.
    * 
@@ -96,6 +132,8 @@ public enum CompanySize */ public static final int MINI_VALUE = 1; /** + * + * *
    * The company has between 50 and 99 employees.
    * 
@@ -104,6 +142,8 @@ public enum CompanySize */ public static final int SMALL_VALUE = 2; /** + * + * *
    * The company has between 100 and 499 employees.
    * 
@@ -112,6 +152,8 @@ public enum CompanySize */ public static final int SMEDIUM_VALUE = 3; /** + * + * *
    * The company has between 500 and 999 employees.
    * 
@@ -120,6 +162,8 @@ public enum CompanySize */ public static final int MEDIUM_VALUE = 4; /** + * + * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -128,6 +172,8 @@ public enum CompanySize */ public static final int BIG_VALUE = 5; /** + * + * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -136,6 +182,8 @@ public enum CompanySize */ public static final int BIGGER_VALUE = 6; /** + * + * *
    * The company has 10,000 or more employees.
    * 
@@ -144,7 +192,6 @@ public enum CompanySize */ public static final int GIANT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static CompanySize valueOf(int value) { */ public static CompanySize forNumber(int value) { switch (value) { - case 0: return COMPANY_SIZE_UNSPECIFIED; - case 1: return MINI; - case 2: return SMALL; - case 3: return SMEDIUM; - case 4: return MEDIUM; - case 5: return BIG; - case 6: return BIGGER; - case 7: return GIANT; - default: return null; + case 0: + return COMPANY_SIZE_UNSPECIFIED; + case 1: + return MINI; + case 2: + return SMALL; + case 3: + return SMEDIUM; + case 4: + return MEDIUM; + case 5: + return BIG; + case 6: + return BIGGER; + case 7: + return GIANT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompanySize> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompanySize findValueByNumber(int number) { - return CompanySize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompanySize findValueByNumber(int number) { + return CompanySize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final CompanySize[] VALUES = values(); - public static CompanySize valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CompanySize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private CompanySize(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CompanySize) } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java similarity index 69% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java index 6b99c5ed88d9..954fc885ef93 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; /** + * + * *
  * Filter on job compensation type and amount.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationFilter} */ -public final class CompensationFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompensationFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationFilter) CompensationFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationFilter.newBuilder() to construct. private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); @@ -26,39 +44,43 @@ private CompensationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationFilter.class, com.google.cloud.talent.v4.CompensationFilter.Builder.class); + com.google.cloud.talent.v4.CompensationFilter.class, + com.google.cloud.talent.v4.CompensationFilter.Builder.class); } /** + * + * *
    * Specify the type of filtering.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompensationFilter.FilterType} */ - public enum FilterType - implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -67,6 +89,8 @@ public enum FilterType */ FILTER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -80,6 +104,8 @@ public enum FilterType
      */
     UNIT_ONLY(1),
     /**
+     *
+     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -96,6 +122,8 @@ public enum FilterType
      */
     UNIT_AND_AMOUNT(2),
     /**
+     *
+     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -105,6 +133,8 @@ public enum FilterType
      */
     ANNUALIZED_BASE_AMOUNT(3),
     /**
+     *
+     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -117,6 +147,8 @@ public enum FilterType
     ;
 
     /**
+     *
+     *
      * 
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -125,6 +157,8 @@ public enum FilterType */ public static final int FILTER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -138,6 +172,8 @@ public enum FilterType
      */
     public static final int UNIT_ONLY_VALUE = 1;
     /**
+     *
+     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -154,6 +190,8 @@ public enum FilterType
      */
     public static final int UNIT_AND_AMOUNT_VALUE = 2;
     /**
+     *
+     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -163,6 +201,8 @@ public enum FilterType
      */
     public static final int ANNUALIZED_BASE_AMOUNT_VALUE = 3;
     /**
+     *
+     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -172,7 +212,6 @@ public enum FilterType
      */
     public static final int ANNUALIZED_TOTAL_AMOUNT_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -197,51 +236,53 @@ public static FilterType valueOf(int value) {
      */
     public static FilterType forNumber(int value) {
       switch (value) {
-        case 0: return FILTER_TYPE_UNSPECIFIED;
-        case 1: return UNIT_ONLY;
-        case 2: return UNIT_AND_AMOUNT;
-        case 3: return ANNUALIZED_BASE_AMOUNT;
-        case 4: return ANNUALIZED_TOTAL_AMOUNT;
-        default: return null;
+        case 0:
+          return FILTER_TYPE_UNSPECIFIED;
+        case 1:
+          return UNIT_ONLY;
+        case 2:
+          return UNIT_AND_AMOUNT;
+        case 3:
+          return ANNUALIZED_BASE_AMOUNT;
+        case 4:
+          return ANNUALIZED_TOTAL_AMOUNT;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        FilterType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FilterType findValueByNumber(int number) {
-              return FilterType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public FilterType findValueByNumber(int number) {
+            return FilterType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.CompensationFilter.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FilterType[] VALUES = values();
 
-    public static FilterType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FilterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -261,63 +302,95 @@ private FilterType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationFilter.FilterType result = com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationFilter.FilterType result = + com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED + : result; } public static final int UNITS_FIELD_NUMBER = 2; private java.util.List units_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit> units_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit> + units_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>() { - public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit convert(java.lang.Integer from) { + public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(from); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(from); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ @java.lang.Override - public java.util.List getUnitsList() { + public java.util.List + getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>(units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>( + units_, units_converter_); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ @java.lang.Override @@ -325,12 +398,17 @@ public int getUnitsCount() { return units_.size(); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ @@ -339,26 +417,35 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int return units_converter_.convert(units_.get(index)); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ @java.lang.Override - public java.util.List - getUnitsValueList() { + public java.util.List getUnitsValueList() { return units_; } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -366,16 +453,20 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int public int getUnitsValue(int index) { return units_.get(index); } + private int unitsMemoizedSerializedSize; public static final int RANGE_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.CompensationInfo.CompensationRange range_; /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ @java.lang.Override @@ -383,18 +474,25 @@ public boolean hasRange() { return range_ != null; } /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { - return range_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : range_; } /** + * + * *
    * Compensation range.
    * 
@@ -402,19 +500,23 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { return getRange(); } public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER = 4; private boolean includeJobsWithUnspecifiedCompensationRange_; /** + * + * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -423,6 +525,7 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,10 +537,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (type_ != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (getUnitsList().size() > 0) { @@ -462,29 +566,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; for (int i = 0; i < units_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(units_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(units_.get(i)); } size += dataSize; - if (!getUnitsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }unitsMemoizedSerializedSize = dataSize; + if (!getUnitsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + unitsMemoizedSerializedSize = dataSize; } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRange()); } if (includeJobsWithUnspecifiedCompensationRange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, includeJobsWithUnspecifiedCompensationRange_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, includeJobsWithUnspecifiedCompensationRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -494,19 +599,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompensationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompensationFilter other = (com.google.cloud.talent.v4.CompensationFilter) obj; + com.google.cloud.talent.v4.CompensationFilter other = + (com.google.cloud.talent.v4.CompensationFilter) obj; if (type_ != other.type_) return false; if (!units_.equals(other.units_)) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange() - .equals(other.getRange())) return false; + if (!getRange().equals(other.getRange())) return false; } if (getIncludeJobsWithUnspecifiedCompensationRange() != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; @@ -532,137 +637,145 @@ public int hashCode() { hash = (53 * hash) + getRange().hashCode(); } hash = (37 * hash) + INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeJobsWithUnspecifiedCompensationRange()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean( + getIncludeJobsWithUnspecifiedCompensationRange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompensationFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CompensationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Filter on job compensation type and amount.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationFilter) com.google.cloud.talent.v4.CompensationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationFilter.class, com.google.cloud.talent.v4.CompensationFilter.Builder.class); + com.google.cloud.talent.v4.CompensationFilter.class, + com.google.cloud.talent.v4.CompensationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,9 +795,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override @@ -703,7 +816,8 @@ public com.google.cloud.talent.v4.CompensationFilter build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter buildPartial() { - com.google.cloud.talent.v4.CompensationFilter result = new com.google.cloud.talent.v4.CompensationFilter(this); + com.google.cloud.talent.v4.CompensationFilter result = + new com.google.cloud.talent.v4.CompensationFilter(this); int from_bitField0_ = bitField0_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { @@ -716,7 +830,8 @@ public com.google.cloud.talent.v4.CompensationFilter buildPartial() { } else { result.range_ = rangeBuilder_.build(); } - result.includeJobsWithUnspecifiedCompensationRange_ = includeJobsWithUnspecifiedCompensationRange_; + result.includeJobsWithUnspecifiedCompensationRange_ = + includeJobsWithUnspecifiedCompensationRange_; onBuilt(); return result; } @@ -725,38 +840,39 @@ public com.google.cloud.talent.v4.CompensationFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationFilter) { - return mergeFrom((com.google.cloud.talent.v4.CompensationFilter)other); + return mergeFrom((com.google.cloud.talent.v4.CompensationFilter) other); } else { super.mergeFrom(other); return this; @@ -782,7 +898,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationFilter other) { mergeRange(other.getRange()); } if (other.getIncludeJobsWithUnspecifiedCompensationRange() != false) { - setIncludeJobsWithUnspecifiedCompensationRange(other.getIncludeJobsWithUnspecifiedCompensationRange()); + setIncludeJobsWithUnspecifiedCompensationRange( + other.getIncludeJobsWithUnspecifiedCompensationRange()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -810,46 +927,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); - - break; - } // case 8 - case 16: { - int tmpRaw = input.readEnum(); - ensureUnitsIsMutable(); - units_.add(tmpRaw); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { + type_ = input.readEnum(); + + break; + } // case 8 + case 16: + { int tmpRaw = input.readEnum(); ensureUnitsIsMutable(); units_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: { - input.readMessage( - getRangeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureUnitsIsMutable(); + units_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: + { + input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); + + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -859,55 +980,80 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int type_ = 0; /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationFilter.FilterType result = com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationFilter.FilterType result = + com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -915,28 +1061,33 @@ public Builder setType(com.google.cloud.talent.v4.CompensationFilter.FilterType if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private java.util.List units_ = - java.util.Collections.emptyList(); + private java.util.List units_ = java.util.Collections.emptyList(); + private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); @@ -944,37 +1095,54 @@ private void ensureUnitsIsMutable() { } } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ - public java.util.List getUnitsList() { + public java.util.List + getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>(units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>( + units_, units_converter_); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ public int getUnitsCount() { return units_.size(); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ @@ -982,12 +1150,17 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int return units_converter_.convert(units_.get(index)); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The units to set. * @return This builder for chaining. @@ -1003,12 +1176,17 @@ public Builder setUnits( return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The units to add. * @return This builder for chaining. */ @@ -1022,17 +1200,23 @@ public Builder addUnits(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The units to add. * @return This builder for chaining. */ public Builder addAllUnits( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureUnitsIsMutable(); for (com.google.cloud.talent.v4.CompensationInfo.CompensationUnit value : values) { units_.add(value.getNumber()); @@ -1041,12 +1225,17 @@ public Builder addAllUnits( return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearUnits() { @@ -1056,25 +1245,34 @@ public Builder clearUnits() { return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ - public java.util.List - getUnitsValueList() { + public java.util.List getUnitsValueList() { return java.util.Collections.unmodifiableList(units_); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -1082,30 +1280,39 @@ public int getUnitsValue(int index) { return units_.get(index); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ - public Builder setUnitsValue( - int index, int value) { + public Builder setUnitsValue(int index, int value) { ensureUnitsIsMutable(); units_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for units to add. * @return This builder for chaining. */ @@ -1116,17 +1323,21 @@ public Builder addUnitsValue(int value) { return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for units to add. * @return This builder for chaining. */ - public Builder addAllUnitsValue( - java.lang.Iterable values) { + public Builder addAllUnitsValue(java.lang.Iterable values) { ensureUnitsIsMutable(); for (int value : values) { units_.add(value); @@ -1137,34 +1348,47 @@ public Builder addAllUnitsValue( private com.google.cloud.talent.v4.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + rangeBuilder_; /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { - return range_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : range_; } else { return rangeBuilder_.getMessage(); } } /** + * + * *
      * Compensation range.
      * 
@@ -1185,6 +1409,8 @@ public Builder setRange(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1203,6 +1429,8 @@ public Builder setRange( return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1213,7 +1441,9 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati if (rangeBuilder_ == null) { if (range_ != null) { range_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(range_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(range_) + .mergeFrom(value) + .buildPartial(); } else { range_ = value; } @@ -1225,6 +1455,8 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1243,6 +1475,8 @@ public Builder clearRange() { return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1250,26 +1484,32 @@ public Builder clearRange() { * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getRangeBuilder() { - + onChanged(); return getRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { - return range_ == null ? - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : range_; } } /** + * + * *
      * Compensation range.
      * 
@@ -1277,27 +1517,33 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getRange(), - getParentForChildren(), - isClean()); + rangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getRange(), getParentForChildren(), isClean()); range_ = null; } return rangeBuilder_; } - private boolean includeJobsWithUnspecifiedCompensationRange_ ; + private boolean includeJobsWithUnspecifiedCompensationRange_; /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -1305,39 +1551,45 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { return includeJobsWithUnspecifiedCompensationRange_; } /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @param value The includeJobsWithUnspecifiedCompensationRange to set. * @return This builder for chaining. */ public Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value) { - + includeJobsWithUnspecifiedCompensationRange_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return This builder for chaining. */ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { - + includeJobsWithUnspecifiedCompensationRange_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1347,12 +1599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationFilter) private static final com.google.cloud.talent.v4.CompensationFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationFilter(); } @@ -1361,27 +1613,27 @@ public static com.google.cloud.talent.v4.CompensationFilter getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,6 +1648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompensationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java similarity index 63% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java index d1b94eae13b1..abbebdf63a46 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java @@ -1,104 +1,162 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface CompensationFilterOrBuilder extends +public interface CompensationFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.talent.v4.CompensationFilter.FilterType getType(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ java.util.List getUnitsList(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ int getUnitsCount(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int index); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ - java.util.List - getUnitsValueList(); + java.util.List getUnitsValueList(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ int getUnitsValue(int index); /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange(); /** + * + * *
    * Compensation range.
    * 
@@ -108,12 +166,15 @@ public interface CompensationFilterOrBuilder extends com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** + * + * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ boolean getIncludeJobsWithUnspecifiedCompensationRange(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java similarity index 75% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java index 88833d342347..c1688793a3a4 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java @@ -1,54 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Job compensation details.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo} */ -public final class CompensationInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompensationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo) CompensationInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationInfo.newBuilder() to construct. private CompensationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompensationInfo() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.class, com.google.cloud.talent.v4.CompensationInfo.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.class, + com.google.cloud.talent.v4.CompensationInfo.Builder.class); } /** + * + * *
    * The type of compensation.
    * For compensation amounts specified in non-monetary amounts,
@@ -67,9 +88,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4.CompensationInfo.CompensationType}
    */
-  public enum CompensationType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -78,6 +100,8 @@ public enum CompensationType */ COMPENSATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -89,6 +113,8 @@ public enum CompensationType
      */
     BASE(1),
     /**
+     *
+     *
      * 
      * Bonus.
      * 
@@ -97,6 +123,8 @@ public enum CompensationType */ BONUS(2), /** + * + * *
      * Signing bonus.
      * 
@@ -105,6 +133,8 @@ public enum CompensationType */ SIGNING_BONUS(3), /** + * + * *
      * Equity.
      * 
@@ -113,6 +143,8 @@ public enum CompensationType */ EQUITY(4), /** + * + * *
      * Profit sharing.
      * 
@@ -121,6 +153,8 @@ public enum CompensationType */ PROFIT_SHARING(5), /** + * + * *
      * Commission.
      * 
@@ -129,6 +163,8 @@ public enum CompensationType */ COMMISSIONS(6), /** + * + * *
      * Tips.
      * 
@@ -137,6 +173,8 @@ public enum CompensationType */ TIPS(7), /** + * + * *
      * Other compensation type.
      * 
@@ -148,6 +186,8 @@ public enum CompensationType ; /** + * + * *
      * Default value.
      * 
@@ -156,6 +196,8 @@ public enum CompensationType */ public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -167,6 +209,8 @@ public enum CompensationType
      */
     public static final int BASE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Bonus.
      * 
@@ -175,6 +219,8 @@ public enum CompensationType */ public static final int BONUS_VALUE = 2; /** + * + * *
      * Signing bonus.
      * 
@@ -183,6 +229,8 @@ public enum CompensationType */ public static final int SIGNING_BONUS_VALUE = 3; /** + * + * *
      * Equity.
      * 
@@ -191,6 +239,8 @@ public enum CompensationType */ public static final int EQUITY_VALUE = 4; /** + * + * *
      * Profit sharing.
      * 
@@ -199,6 +249,8 @@ public enum CompensationType */ public static final int PROFIT_SHARING_VALUE = 5; /** + * + * *
      * Commission.
      * 
@@ -207,6 +259,8 @@ public enum CompensationType */ public static final int COMMISSIONS_VALUE = 6; /** + * + * *
      * Tips.
      * 
@@ -215,6 +269,8 @@ public enum CompensationType */ public static final int TIPS_VALUE = 7; /** + * + * *
      * Other compensation type.
      * 
@@ -223,7 +279,6 @@ public enum CompensationType */ public static final int OTHER_COMPENSATION_TYPE_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -248,45 +303,54 @@ public static CompensationType valueOf(int value) { */ public static CompensationType forNumber(int value) { switch (value) { - case 0: return COMPENSATION_TYPE_UNSPECIFIED; - case 1: return BASE; - case 2: return BONUS; - case 3: return SIGNING_BONUS; - case 4: return EQUITY; - case 5: return PROFIT_SHARING; - case 6: return COMMISSIONS; - case 7: return TIPS; - case 8: return OTHER_COMPENSATION_TYPE; - default: return null; + case 0: + return COMPENSATION_TYPE_UNSPECIFIED; + case 1: + return BASE; + case 2: + return BONUS; + case 3: + return SIGNING_BONUS; + case 4: + return EQUITY; + case 5: + return PROFIT_SHARING; + case 6: + return COMMISSIONS; + case 7: + return TIPS; + case 8: + return OTHER_COMPENSATION_TYPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompensationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationType findValueByNumber(int number) { - return CompensationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationType findValueByNumber(int number) { + return CompensationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CompensationInfo.getDescriptor().getEnumTypes().get(0); } @@ -295,8 +359,7 @@ public CompensationType findValueByNumber(int number) { public static CompensationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -314,15 +377,18 @@ private CompensationType(int value) { } /** + * + * *
    * Pay frequency.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompensationInfo.CompensationUnit} */ - public enum CompensationUnit - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -331,6 +397,8 @@ public enum CompensationUnit */ COMPENSATION_UNIT_UNSPECIFIED(0), /** + * + * *
      * Hourly.
      * 
@@ -339,6 +407,8 @@ public enum CompensationUnit */ HOURLY(1), /** + * + * *
      * Daily.
      * 
@@ -347,6 +417,8 @@ public enum CompensationUnit */ DAILY(2), /** + * + * *
      * Weekly
      * 
@@ -355,6 +427,8 @@ public enum CompensationUnit */ WEEKLY(3), /** + * + * *
      * Monthly.
      * 
@@ -363,6 +437,8 @@ public enum CompensationUnit */ MONTHLY(4), /** + * + * *
      * Yearly.
      * 
@@ -371,6 +447,8 @@ public enum CompensationUnit */ YEARLY(5), /** + * + * *
      * One time.
      * 
@@ -379,6 +457,8 @@ public enum CompensationUnit */ ONE_TIME(6), /** + * + * *
      * Other compensation units.
      * 
@@ -390,6 +470,8 @@ public enum CompensationUnit ; /** + * + * *
      * Default value.
      * 
@@ -398,6 +480,8 @@ public enum CompensationUnit */ public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Hourly.
      * 
@@ -406,6 +490,8 @@ public enum CompensationUnit */ public static final int HOURLY_VALUE = 1; /** + * + * *
      * Daily.
      * 
@@ -414,6 +500,8 @@ public enum CompensationUnit */ public static final int DAILY_VALUE = 2; /** + * + * *
      * Weekly
      * 
@@ -422,6 +510,8 @@ public enum CompensationUnit */ public static final int WEEKLY_VALUE = 3; /** + * + * *
      * Monthly.
      * 
@@ -430,6 +520,8 @@ public enum CompensationUnit */ public static final int MONTHLY_VALUE = 4; /** + * + * *
      * Yearly.
      * 
@@ -438,6 +530,8 @@ public enum CompensationUnit */ public static final int YEARLY_VALUE = 5; /** + * + * *
      * One time.
      * 
@@ -446,6 +540,8 @@ public enum CompensationUnit */ public static final int ONE_TIME_VALUE = 6; /** + * + * *
      * Other compensation units.
      * 
@@ -454,7 +550,6 @@ public enum CompensationUnit */ public static final int OTHER_COMPENSATION_UNIT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -479,44 +574,52 @@ public static CompensationUnit valueOf(int value) { */ public static CompensationUnit forNumber(int value) { switch (value) { - case 0: return COMPENSATION_UNIT_UNSPECIFIED; - case 1: return HOURLY; - case 2: return DAILY; - case 3: return WEEKLY; - case 4: return MONTHLY; - case 5: return YEARLY; - case 6: return ONE_TIME; - case 7: return OTHER_COMPENSATION_UNIT; - default: return null; + case 0: + return COMPENSATION_UNIT_UNSPECIFIED; + case 1: + return HOURLY; + case 2: + return DAILY; + case 3: + return WEEKLY; + case 4: + return MONTHLY; + case 5: + return YEARLY; + case 6: + return ONE_TIME; + case 7: + return OTHER_COMPENSATION_UNIT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompensationUnit> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationUnit findValueByNumber(int number) { - return CompensationUnit.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationUnit findValueByNumber(int number) { + return CompensationUnit.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CompensationInfo.getDescriptor().getEnumTypes().get(1); } @@ -525,8 +628,7 @@ public CompensationUnit findValueByNumber(int number) { public static CompensationUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -543,71 +645,92 @@ private CompensationUnit(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CompensationInfo.CompensationUnit) } - public interface CompensationEntryOrBuilder extends + public interface CompensationEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo.CompensationEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The type. */ com.google.cloud.talent.v4.CompensationInfo.CompensationType getType(); /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ int getUnitValue(); /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit(); /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ boolean hasAmount(); /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return The amount. */ com.google.type.Money getAmount(); /** + * + * *
      * Compensation amount.
      * 
@@ -617,24 +740,32 @@ public interface CompensationEntryOrBuilder extends com.google.type.MoneyOrBuilder getAmountOrBuilder(); /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange(); /** + * + * *
      * Compensation range.
      * 
@@ -644,6 +775,8 @@ public interface CompensationEntryOrBuilder extends com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -651,10 +784,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -662,12 +798,14 @@ public interface CompensationEntryOrBuilder extends
      * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -680,10 +818,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ boolean hasExpectedUnitsPerYear(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -696,10 +837,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ com.google.protobuf.DoubleValue getExpectedUnitsPerYear(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -715,9 +859,12 @@ public interface CompensationEntryOrBuilder extends
      */
     com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder();
 
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase();
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.CompensationAmountCase
+        getCompensationAmountCase();
   }
   /**
+   *
+   *
    * 
    * A compensation entry that represents one component of compensation, such
    * as base pay, bonus, or other compensation type.
@@ -730,15 +877,16 @@ public interface CompensationEntryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
    */
-  public static final class CompensationEntry extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class CompensationEntry extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
       CompensationEntryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use CompensationEntry.newBuilder() to construct.
     private CompensationEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private CompensationEntry() {
       type_ = 0;
       unit_ = 0;
@@ -747,38 +895,42 @@ private CompensationEntry() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CompensationEntry();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class,
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
     }
 
     private int compensationAmountCase_ = 0;
     private java.lang.Object compensationAmount_;
+
     public enum CompensationAmountCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AMOUNT(3),
       RANGE(4),
       COMPENSATIONAMOUNT_NOT_SET(0);
       private final int value;
+
       private CompensationAmountCase(int value) {
         this.value = value;
       }
@@ -794,88 +946,116 @@ public static CompensationAmountCase valueOf(int value) {
 
       public static CompensationAmountCase forNumber(int value) {
         switch (value) {
-          case 3: return AMOUNT;
-          case 4: return RANGE;
-          case 0: return COMPENSATIONAMOUNT_NOT_SET;
-          default: return null;
+          case 3:
+            return AMOUNT;
+          case 4:
+            return RANGE;
+          case 0:
+            return COMPENSATIONAMOUNT_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public CompensationAmountCase
-    getCompensationAmountCase() {
-      return CompensationAmountCase.forNumber(
-          compensationAmountCase_);
+    public CompensationAmountCase getCompensationAmountCase() {
+      return CompensationAmountCase.forNumber(compensationAmountCase_);
     }
 
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
+     *
+     *
      * 
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationType result = com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationType result = + com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED + : result; } public static final int UNIT_FIELD_NUMBER = 2; private int unit_; /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override public int getUnitValue() { + @java.lang.Override + public int getUnitValue() { return unit_; } /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ - @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { + @java.lang.Override + public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } public static final int AMOUNT_FIELD_NUMBER = 3; /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ @java.lang.Override @@ -883,21 +1063,26 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return The amount. */ @java.lang.Override public com.google.type.Money getAmount() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } /** + * + * *
      * Compensation amount.
      * 
@@ -907,18 +1092,21 @@ public com.google.type.Money getAmount() { @java.lang.Override public com.google.type.MoneyOrBuilder getAmountOrBuilder() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } public static final int RANGE_FIELD_NUMBER = 4; /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -926,21 +1114,26 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } /** + * + * *
      * Compensation range.
      * 
@@ -948,9 +1141,10 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } @@ -958,6 +1152,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -965,6 +1161,7 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
      * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -973,14 +1170,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -988,16 +1186,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1008,6 +1205,8 @@ public java.lang.String getDescription() { public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER = 6; private com.google.protobuf.DoubleValue expectedUnitsPerYear_; /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1020,6 +1219,7 @@ public java.lang.String getDescription() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ @java.lang.Override @@ -1027,6 +1227,8 @@ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYear_ != null; } /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1039,13 +1241,18 @@ public boolean hasExpectedUnitsPerYear() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ @java.lang.Override public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { - return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null + ? com.google.protobuf.DoubleValue.getDefaultInstance() + : expectedUnitsPerYear_; } /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1065,6 +1272,7 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1076,19 +1284,25 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      if (type_ != com.google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      if (type_
+          != com.google.cloud.talent.v4.CompensationInfo.CompensationType
+              .COMPENSATION_TYPE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(1, type_);
       }
-      if (unit_ != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
+      if (unit_
+          != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
+              .COMPENSATION_UNIT_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
         output.writeMessage(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        output.writeMessage(4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
+        output.writeMessage(
+            4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
@@ -1105,28 +1319,36 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_ != com.google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, type_);
-      }
-      if (unit_ != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(2, unit_);
+      if (type_
+          != com.google.cloud.talent.v4.CompensationInfo.CompensationType
+              .COMPENSATION_TYPE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+      }
+      if (unit_
+          != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
+              .COMPENSATION_UNIT_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, (com.google.type.Money) compensationAmount_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                4,
+                (com.google.cloud.talent.v4.CompensationInfo.CompensationRange)
+                    compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
       }
       if (expectedUnitsPerYear_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, getExpectedUnitsPerYear());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpectedUnitsPerYear());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1136,31 +1358,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationEntry)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) obj;
+      com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other =
+          (com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) obj;
 
       if (type_ != other.type_) return false;
       if (unit_ != other.unit_) return false;
-      if (!getDescription()
-          .equals(other.getDescription())) return false;
+      if (!getDescription().equals(other.getDescription())) return false;
       if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
       if (hasExpectedUnitsPerYear()) {
-        if (!getExpectedUnitsPerYear()
-            .equals(other.getExpectedUnitsPerYear())) return false;
+        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
       }
       if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
       switch (compensationAmountCase_) {
         case 3:
-          if (!getAmount()
-              .equals(other.getAmount())) return false;
+          if (!getAmount().equals(other.getAmount())) return false;
           break;
         case 4:
-          if (!getRange()
-              .equals(other.getRange())) return false;
+          if (!getRange().equals(other.getRange())) return false;
           break;
         case 0:
         default:
@@ -1204,87 +1423,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo.CompensationEntry prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1294,6 +1520,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A compensation entry that represents one component of compensation, such
      * as base pay, bonus, or other compensation type.
@@ -1306,33 +1534,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
         com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.talent.v4.CommonProto
+            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
+        return com.google.cloud.talent.v4.CommonProto
+            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class,
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
       }
 
       // Construct using com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1360,13 +1588,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.talent.v4.CommonProto
+            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
+      public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
+          getDefaultInstanceForType() {
         return com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance();
       }
 
@@ -1381,7 +1610,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry build() {
 
       @java.lang.Override
       public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry buildPartial() {
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry result = new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry(this);
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry result =
+            new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry(this);
         result.type_ = type_;
         result.unit_ = unit_;
         if (compensationAmountCase_ == 3) {
@@ -1413,46 +1643,52 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) {
-          return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationEntry)other);
+          return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
-        if (other == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
+        if (other
+            == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance())
+          return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -1467,17 +1703,20 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.Compensatio
           mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
         }
         switch (other.getCompensationAmountCase()) {
-          case AMOUNT: {
-            mergeAmount(other.getAmount());
-            break;
-          }
-          case RANGE: {
-            mergeRange(other.getRange());
-            break;
-          }
-          case COMPENSATIONAMOUNT_NOT_SET: {
-            break;
-          }
+          case AMOUNT:
+            {
+              mergeAmount(other.getAmount());
+              break;
+            }
+          case RANGE:
+            {
+              mergeRange(other.getRange());
+              break;
+            }
+          case COMPENSATIONAMOUNT_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1496,57 +1735,59 @@ public Builder mergeFrom(
           throws java.io.IOException {
         if (extensionRegistry == null) {
           throw new java.lang.NullPointerException();
-        }
-        try {
-          boolean done = false;
-          while (!done) {
-            int tag = input.readTag();
-            switch (tag) {
-              case 0:
-                done = true;
-                break;
-              case 8: {
-                type_ = input.readEnum();
-
-                break;
-              } // case 8
-              case 16: {
-                unit_ = input.readEnum();
-
-                break;
-              } // case 16
-              case 26: {
-                input.readMessage(
-                    getAmountFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                compensationAmountCase_ = 3;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getRangeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                compensationAmountCase_ = 4;
-                break;
-              } // case 34
-              case 42: {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-              case 50: {
-                input.readMessage(
-                    getExpectedUnitsPerYearFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 50
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
+        }
+        try {
+          boolean done = false;
+          while (!done) {
+            int tag = input.readTag();
+            switch (tag) {
+              case 0:
+                done = true;
                 break;
-              } // default:
+              case 8:
+                {
+                  type_ = input.readEnum();
+
+                  break;
+                } // case 8
+              case 16:
+                {
+                  unit_ = input.readEnum();
+
+                  break;
+                } // case 16
+              case 26:
+                {
+                  input.readMessage(getAmountFieldBuilder().getBuilder(), extensionRegistry);
+                  compensationAmountCase_ = 3;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
+                  compensationAmountCase_ = 4;
+                  break;
+                } // case 34
+              case 42:
+                {
+                  description_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 42
+              case 50:
+                {
+                  input.readMessage(
+                      getExpectedUnitsPerYearFieldBuilder().getBuilder(), extensionRegistry);
+
+                  break;
+                } // case 50
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1556,12 +1797,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int compensationAmountCase_ = 0;
       private java.lang.Object compensationAmount_;
-      public CompensationAmountCase
-          getCompensationAmountCase() {
-        return CompensationAmountCase.forNumber(
-            compensationAmountCase_);
+
+      public CompensationAmountCase getCompensationAmountCase() {
+        return CompensationAmountCase.forNumber(compensationAmountCase_);
       }
 
       public Builder clearCompensationAmount() {
@@ -1571,58 +1812,73 @@ public Builder clearCompensationAmount() {
         return this;
       }
 
-
       private int type_ = 0;
       /**
+       *
+       *
        * 
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationType result = com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationType result = + com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED + : result; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1630,22 +1886,25 @@ public Builder setType(com.google.cloud.talent.v4.CompensationInfo.CompensationT if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1653,55 +1912,71 @@ public Builder clearType() { private int unit_ = 0; /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override public int getUnitValue() { + @java.lang.Override + public int getUnitValue() { return unit_; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @param value The enum numeric value on the wire for unit to set. * @return This builder for chaining. */ public Builder setUnitValue(int value) { - + unit_ = value; onChanged(); return this; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @param value The unit to set. * @return This builder for chaining. */ @@ -1709,35 +1984,42 @@ public Builder setUnit(com.google.cloud.talent.v4.CompensationInfo.CompensationU if (value == null) { throw new NullPointerException(); } - + unit_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> amountBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + amountBuilder_; /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ @java.lang.Override @@ -1745,11 +2027,14 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; + * * @return The amount. */ @java.lang.Override @@ -1767,6 +2052,8 @@ public com.google.type.Money getAmount() { } } /** + * + * *
        * Compensation amount.
        * 
@@ -1787,14 +2074,15 @@ public Builder setAmount(com.google.type.Money value) { return this; } /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; */ - public Builder setAmount( - com.google.type.Money.Builder builderForValue) { + public Builder setAmount(com.google.type.Money.Builder builderForValue) { if (amountBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -1805,6 +2093,8 @@ public Builder setAmount( return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1813,10 +2103,12 @@ public Builder setAmount( */ public Builder mergeAmount(com.google.type.Money value) { if (amountBuilder_ == null) { - if (compensationAmountCase_ == 3 && - compensationAmount_ != com.google.type.Money.getDefaultInstance()) { - compensationAmount_ = com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) - .mergeFrom(value).buildPartial(); + if (compensationAmountCase_ == 3 + && compensationAmount_ != com.google.type.Money.getDefaultInstance()) { + compensationAmount_ = + com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) + .mergeFrom(value) + .buildPartial(); } else { compensationAmount_ = value; } @@ -1832,6 +2124,8 @@ public Builder mergeAmount(com.google.type.Money value) { return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1855,6 +2149,8 @@ public Builder clearAmount() { return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1865,6 +2161,8 @@ public com.google.type.Money.Builder getAmountBuilder() { return getAmountFieldBuilder().getBuilder(); } /** + * + * *
        * Compensation amount.
        * 
@@ -1883,6 +2181,8 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { } } /** + * + * *
        * Compensation amount.
        * 
@@ -1890,32 +2190,40 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { * .google.type.Money amount = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { if (!(compensationAmountCase_ == 3)) { compensationAmount_ = com.google.type.Money.getDefaultInstance(); } - amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - (com.google.type.Money) compensationAmount_, - getParentForChildren(), - isClean()); + amountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + (com.google.type.Money) compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 3; - onChanged();; + onChanged(); + ; return amountBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + rangeBuilder_; /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -1923,18 +2231,22 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) + compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } else { @@ -1945,6 +2257,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() } } /** + * + * *
        * Compensation range.
        * 
@@ -1965,6 +2279,8 @@ public Builder setRange(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** + * + * *
        * Compensation range.
        * 
@@ -1983,18 +2299,27 @@ public Builder setRange( return this; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ - public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { - if (compensationAmountCase_ == 4 && - compensationAmount_ != com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) { - compensationAmount_ = com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder((com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_) - .mergeFrom(value).buildPartial(); + if (compensationAmountCase_ == 4 + && compensationAmount_ + != com.google.cloud.talent.v4.CompensationInfo.CompensationRange + .getDefaultInstance()) { + compensationAmount_ = + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( + (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) + compensationAmount_) + .mergeFrom(value) + .buildPartial(); } else { compensationAmount_ = value; } @@ -2010,6 +2335,8 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati return this; } /** + * + * *
        * Compensation range.
        * 
@@ -2033,16 +2360,21 @@ public Builder clearRange() { return this; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getRangeBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder + getRangeBuilder() { return getRangeFieldBuilder().getBuilder(); } /** + * + * *
        * Compensation range.
        * 
@@ -2050,17 +2382,21 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder get * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if ((compensationAmountCase_ == 4) && (rangeBuilder_ != null)) { return rangeBuilder_.getMessageOrBuilder(); } else { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) + compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } } /** + * + * *
        * Compensation range.
        * 
@@ -2068,26 +2404,36 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { if (!(compensationAmountCase_ == 4)) { - compensationAmount_ = com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); + compensationAmount_ = + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } - rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_, + rangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) + compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 4; - onChanged();; + onChanged(); + ; return rangeBuilder_; } private java.lang.Object description_ = ""; /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2095,13 +2441,13 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
        * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2110,6 +2456,8 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2117,15 +2465,14 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2133,6 +2480,8 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2140,20 +2489,22 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2161,15 +2512,18 @@ public Builder setDescription(
        * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2177,16 +2531,16 @@ public Builder clearDescription() {
        * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2194,8 +2548,13 @@ public Builder setDescriptionBytes( private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> expectedUnitsPerYearBuilder_; + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> + expectedUnitsPerYearBuilder_; /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2208,12 +2567,15 @@ public Builder setDescriptionBytes(
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYearBuilder_ != null || expectedUnitsPerYear_ != null; } /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2226,16 +2588,21 @@ public boolean hasExpectedUnitsPerYear() {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { if (expectedUnitsPerYearBuilder_ == null) { - return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null + ? com.google.protobuf.DoubleValue.getDefaultInstance() + : expectedUnitsPerYear_; } else { return expectedUnitsPerYearBuilder_.getMessage(); } } /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2263,6 +2630,8 @@ public Builder setExpectedUnitsPerYear(com.google.protobuf.DoubleValue value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2288,6 +2657,8 @@ public Builder setExpectedUnitsPerYear(
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2305,7 +2676,9 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         if (expectedUnitsPerYearBuilder_ == null) {
           if (expectedUnitsPerYear_ != null) {
             expectedUnitsPerYear_ =
-              com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_).mergeFrom(value).buildPartial();
+                com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             expectedUnitsPerYear_ = value;
           }
@@ -2317,6 +2690,8 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2342,6 +2717,8 @@ public Builder clearExpectedUnitsPerYear() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2356,11 +2733,13 @@ public Builder clearExpectedUnitsPerYear() {
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       public com.google.protobuf.DoubleValue.Builder getExpectedUnitsPerYearBuilder() {
-        
+
         onChanged();
         return getExpectedUnitsPerYearFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2378,11 +2757,14 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
         if (expectedUnitsPerYearBuilder_ != null) {
           return expectedUnitsPerYearBuilder_.getMessageOrBuilder();
         } else {
-          return expectedUnitsPerYear_ == null ?
-              com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_;
+          return expectedUnitsPerYear_ == null
+              ? com.google.protobuf.DoubleValue.getDefaultInstance()
+              : expectedUnitsPerYear_;
         }
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2397,18 +2779,22 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> 
+              com.google.protobuf.DoubleValue,
+              com.google.protobuf.DoubleValue.Builder,
+              com.google.protobuf.DoubleValueOrBuilder>
           getExpectedUnitsPerYearFieldBuilder() {
         if (expectedUnitsPerYearBuilder_ == null) {
-          expectedUnitsPerYearBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
-                  getExpectedUnitsPerYear(),
-                  getParentForChildren(),
-                  isClean());
+          expectedUnitsPerYearBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.DoubleValue,
+                  com.google.protobuf.DoubleValue.Builder,
+                  com.google.protobuf.DoubleValueOrBuilder>(
+                  getExpectedUnitsPerYear(), getParentForChildren(), isClean());
           expectedUnitsPerYear_ = null;
         }
         return expectedUnitsPerYearBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2421,41 +2807,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
-    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationEntry DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry();
     }
 
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstance() {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompensationEntry parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompensationEntry parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2467,17 +2856,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CompensationRangeOrBuilder extends
+  public interface CompensationRangeOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo.CompensationRange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2486,10 +2878,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ boolean hasMaxCompensation(); /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2498,10 +2893,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ com.google.type.Money getMaxCompensation(); /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2514,6 +2912,8 @@ public interface CompensationRangeOrBuilder extends
     com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder();
 
     /**
+     *
+     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2521,10 +2921,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ boolean hasMinCompensation(); /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2532,10 +2935,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ com.google.type.Money getMinCompensation(); /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2547,52 +2953,57 @@ public interface CompensationRangeOrBuilder extends
     com.google.type.MoneyOrBuilder getMinCompensationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Compensation range.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationRange} */ - public static final class CompensationRange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompensationRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo.CompensationRange) CompensationRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationRange.newBuilder() to construct. private CompensationRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationRange() { - } + + private CompensationRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); } public static final int MAX_COMPENSATION_FIELD_NUMBER = 2; private com.google.type.Money maxCompensation_; /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2601,6 +3012,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ @java.lang.Override @@ -2608,6 +3020,8 @@ public boolean hasMaxCompensation() { return maxCompensation_ != null; } /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2616,13 +3030,18 @@ public boolean hasMaxCompensation() {
      * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ @java.lang.Override public com.google.type.Money getMaxCompensation() { - return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; + return maxCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : maxCompensation_; } /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2640,6 +3059,8 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
     public static final int MIN_COMPENSATION_FIELD_NUMBER = 1;
     private com.google.type.Money minCompensation_;
     /**
+     *
+     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2647,6 +3068,7 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
      * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ @java.lang.Override @@ -2654,6 +3076,8 @@ public boolean hasMinCompensation() { return minCompensation_ != null; } /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2661,13 +3085,18 @@ public boolean hasMinCompensation() {
      * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ @java.lang.Override public com.google.type.Money getMinCompensation() { - return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; + return minCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : minCompensation_; } /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2682,6 +3111,7 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2693,8 +3123,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (minCompensation_ != null) {
         output.writeMessage(1, getMinCompensation());
       }
@@ -2711,12 +3140,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (minCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getMinCompensation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinCompensation());
       }
       if (maxCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getMaxCompensation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxCompensation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2726,22 +3153,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) obj;
+      com.google.cloud.talent.v4.CompensationInfo.CompensationRange other =
+          (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) obj;
 
       if (hasMaxCompensation() != other.hasMaxCompensation()) return false;
       if (hasMaxCompensation()) {
-        if (!getMaxCompensation()
-            .equals(other.getMaxCompensation())) return false;
+        if (!getMaxCompensation().equals(other.getMaxCompensation())) return false;
       }
       if (hasMinCompensation() != other.hasMinCompensation()) return false;
       if (hasMinCompensation()) {
-        if (!getMinCompensation()
-            .equals(other.getMinCompensation())) return false;
+        if (!getMinCompensation().equals(other.getMinCompensation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2768,87 +3194,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo.CompensationRange prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4.CompensationInfo.CompensationRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2858,39 +3291,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Compensation range.
      * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo.CompensationRange) com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2910,13 +3345,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstanceForType() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getDefaultInstanceForType() { return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } @@ -2931,7 +3367,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange buildPartial() { - com.google.cloud.talent.v4.CompensationInfo.CompensationRange result = new com.google.cloud.talent.v4.CompensationInfo.CompensationRange(this); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange result = + new com.google.cloud.talent.v4.CompensationInfo.CompensationRange(this); if (maxCompensationBuilder_ == null) { result.maxCompensation_ = maxCompensation_; } else { @@ -2950,46 +3387,52 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationRange) { - return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationRange)other); + return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationRange) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.CompensationRange other) { - if (other == com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange other) { + if (other + == com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) + return this; if (other.hasMaxCompensation()) { mergeMaxCompensation(other.getMaxCompensation()); } @@ -3022,26 +3465,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMinCompensationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getMaxCompensationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getMinCompensationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getMaxCompensationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3054,8 +3498,11 @@ public Builder mergeFrom( private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + maxCompensationBuilder_; /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3064,12 +3511,15 @@ public Builder mergeFrom(
        * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ public boolean hasMaxCompensation() { return maxCompensationBuilder_ != null || maxCompensation_ != null; } /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3078,16 +3528,21 @@ public boolean hasMaxCompensation() {
        * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ public com.google.type.Money getMaxCompensation() { if (maxCompensationBuilder_ == null) { - return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; + return maxCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : maxCompensation_; } else { return maxCompensationBuilder_.getMessage(); } } /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3111,6 +3566,8 @@ public Builder setMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3120,8 +3577,7 @@ public Builder setMaxCompensation(com.google.type.Money value) {
        *
        * .google.type.Money max_compensation = 2;
        */
-      public Builder setMaxCompensation(
-          com.google.type.Money.Builder builderForValue) {
+      public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue) {
         if (maxCompensationBuilder_ == null) {
           maxCompensation_ = builderForValue.build();
           onChanged();
@@ -3132,6 +3588,8 @@ public Builder setMaxCompensation(
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3145,7 +3603,7 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         if (maxCompensationBuilder_ == null) {
           if (maxCompensation_ != null) {
             maxCompensation_ =
-              com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
+                com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
           } else {
             maxCompensation_ = value;
           }
@@ -3157,6 +3615,8 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3178,6 +3638,8 @@ public Builder clearMaxCompensation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3188,11 +3650,13 @@ public Builder clearMaxCompensation() {
        * .google.type.Money max_compensation = 2;
        */
       public com.google.type.Money.Builder getMaxCompensationBuilder() {
-        
+
         onChanged();
         return getMaxCompensationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3206,11 +3670,14 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
         if (maxCompensationBuilder_ != null) {
           return maxCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return maxCompensation_ == null ?
-              com.google.type.Money.getDefaultInstance() : maxCompensation_;
+          return maxCompensation_ == null
+              ? com.google.type.Money.getDefaultInstance()
+              : maxCompensation_;
         }
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3221,14 +3688,15 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * .google.type.Money max_compensation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
           getMaxCompensationFieldBuilder() {
         if (maxCompensationBuilder_ == null) {
-          maxCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                  getMaxCompensation(),
-                  getParentForChildren(),
-                  isClean());
+          maxCompensationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Money,
+                  com.google.type.Money.Builder,
+                  com.google.type.MoneyOrBuilder>(
+                  getMaxCompensation(), getParentForChildren(), isClean());
           maxCompensation_ = null;
         }
         return maxCompensationBuilder_;
@@ -3236,8 +3704,11 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
 
       private com.google.type.Money minCompensation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_;
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          minCompensationBuilder_;
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3245,12 +3716,15 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ public boolean hasMinCompensation() { return minCompensationBuilder_ != null || minCompensation_ != null; } /** + * + * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3258,16 +3732,21 @@ public boolean hasMinCompensation() {
        * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ public com.google.type.Money getMinCompensation() { if (minCompensationBuilder_ == null) { - return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; + return minCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : minCompensation_; } else { return minCompensationBuilder_.getMessage(); } } /** + * + * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3290,6 +3769,8 @@ public Builder setMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3298,8 +3779,7 @@ public Builder setMinCompensation(com.google.type.Money value) {
        *
        * .google.type.Money min_compensation = 1;
        */
-      public Builder setMinCompensation(
-          com.google.type.Money.Builder builderForValue) {
+      public Builder setMinCompensation(com.google.type.Money.Builder builderForValue) {
         if (minCompensationBuilder_ == null) {
           minCompensation_ = builderForValue.build();
           onChanged();
@@ -3310,6 +3790,8 @@ public Builder setMinCompensation(
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3322,7 +3804,7 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         if (minCompensationBuilder_ == null) {
           if (minCompensation_ != null) {
             minCompensation_ =
-              com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
+                com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
           } else {
             minCompensation_ = value;
           }
@@ -3334,6 +3816,8 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3354,6 +3838,8 @@ public Builder clearMinCompensation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3363,11 +3849,13 @@ public Builder clearMinCompensation() {
        * .google.type.Money min_compensation = 1;
        */
       public com.google.type.Money.Builder getMinCompensationBuilder() {
-        
+
         onChanged();
         return getMinCompensationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3380,11 +3868,14 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
         if (minCompensationBuilder_ != null) {
           return minCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return minCompensation_ == null ?
-              com.google.type.Money.getDefaultInstance() : minCompensation_;
+          return minCompensation_ == null
+              ? com.google.type.Money.getDefaultInstance()
+              : minCompensation_;
         }
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3394,18 +3885,20 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
        * .google.type.Money min_compensation = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
           getMinCompensationFieldBuilder() {
         if (minCompensationBuilder_ == null) {
-          minCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                  getMinCompensation(),
-                  getParentForChildren(),
-                  isClean());
+          minCompensationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Money,
+                  com.google.type.Money.Builder,
+                  com.google.type.MoneyOrBuilder>(
+                  getMinCompensation(), getParentForChildren(), isClean());
           minCompensation_ = null;
         }
         return minCompensationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3418,41 +3911,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo.CompensationRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo.CompensationRange)
-    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationRange DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo.CompensationRange();
     }
 
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstance() {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompensationRange parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompensationRange parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3464,15 +3960,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
   private java.util.List entries_;
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3483,10 +3981,13 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultI
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
   @java.lang.Override
-  public java.util.List getEntriesList() {
+  public java.util.List
+      getEntriesList() {
     return entries_;
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3497,11 +3998,14 @@ public java.util.Listrepeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
       getEntriesOrBuilderList() {
     return entries_;
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3516,6 +4020,8 @@ public int getEntriesCount() {
     return entries_.size();
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3530,6 +4036,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(
     return entries_.get(index);
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3546,8 +4054,11 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
   }
 
   public static final int ANNUALIZED_BASE_COMPENSATION_RANGE_FIELD_NUMBER = 2;
-  private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedBaseCompensationRange_;
+  private com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+      annualizedBaseCompensationRange_;
   /**
+   *
+   *
    * 
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3555,7 +4066,10 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ @java.lang.Override @@ -3563,6 +4077,8 @@ public boolean hasAnnualizedBaseCompensationRange() { return annualizedBaseCompensationRange_ != null; } /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3570,14 +4086,22 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange() { + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedBaseCompensationRange_; } /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3585,16 +4109,22 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualiz
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder() { return getAnnualizedBaseCompensationRange(); } public static final int ANNUALIZED_TOTAL_COMPENSATION_RANGE_FIELD_NUMBER = 3; - private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4.CompensationInfo.CompensationRange + annualizedTotalCompensationRange_; /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3602,7 +4132,10 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ @java.lang.Override @@ -3610,6 +4143,8 @@ public boolean hasAnnualizedTotalCompensationRange() { return annualizedTotalCompensationRange_ != null; } /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3617,14 +4152,22 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange() { + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedTotalCompensationRange_; } /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3632,14 +4175,18 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualiz
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder() { return getAnnualizedTotalCompensationRange(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3651,8 +4198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -3672,16 +4218,17 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); } if (annualizedBaseCompensationRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnnualizedBaseCompensationRange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getAnnualizedBaseCompensationRange()); } if (annualizedTotalCompensationRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAnnualizedTotalCompensationRange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getAnnualizedTotalCompensationRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3691,21 +4238,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompensationInfo other = (com.google.cloud.talent.v4.CompensationInfo) obj; + com.google.cloud.talent.v4.CompensationInfo other = + (com.google.cloud.talent.v4.CompensationInfo) obj; - if (!getEntriesList() - .equals(other.getEntriesList())) return false; - if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) return false; + if (!getEntriesList().equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) + return false; if (hasAnnualizedBaseCompensationRange()) { - if (!getAnnualizedBaseCompensationRange() - .equals(other.getAnnualizedBaseCompensationRange())) return false; + if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) + return false; } - if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) return false; + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) + return false; if (hasAnnualizedTotalCompensationRange()) { if (!getAnnualizedTotalCompensationRange() .equals(other.getAnnualizedTotalCompensationRange())) return false; @@ -3738,130 +4287,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompensationInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Job compensation details.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo) com.google.cloud.talent.v4.CompensationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.class, com.google.cloud.talent.v4.CompensationInfo.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.class, + com.google.cloud.talent.v4.CompensationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3888,9 +4443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override @@ -3909,7 +4464,8 @@ public com.google.cloud.talent.v4.CompensationInfo build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo buildPartial() { - com.google.cloud.talent.v4.CompensationInfo result = new com.google.cloud.talent.v4.CompensationInfo(this); + com.google.cloud.talent.v4.CompensationInfo result = + new com.google.cloud.talent.v4.CompensationInfo(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3938,38 +4494,39 @@ public com.google.cloud.talent.v4.CompensationInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationInfo) { - return mergeFrom((com.google.cloud.talent.v4.CompensationInfo)other); + return mergeFrom((com.google.cloud.talent.v4.CompensationInfo) other); } else { super.mergeFrom(other); return this; @@ -3996,9 +4553,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntriesFieldBuilder() : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntriesFieldBuilder() + : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -4036,39 +4594,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry m = - input.readMessage( - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry m = + input.readMessage( + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage( + getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage( + getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4078,21 +4640,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List entries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = new java.util.ArrayList(entries_); + entries_ = + new java.util.ArrayList( + entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> entriesBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> + entriesBuilder_; /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4102,7 +4673,8 @@ private void ensureEntriesIsMutable() {
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List getEntriesList() {
+    public java.util.List
+        getEntriesList() {
       if (entriesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(entries_);
       } else {
@@ -4110,6 +4682,8 @@ public java.util.List
      * Job compensation information.
      * At most one entry can be of type
@@ -4127,6 +4701,8 @@ public int getEntriesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4144,6 +4720,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4168,6 +4746,8 @@ public Builder setEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4178,7 +4758,8 @@ public Builder setEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder setEntries(
-        int index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
+        int index,
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
         entries_.set(index, builderForValue.build());
@@ -4189,6 +4770,8 @@ public Builder setEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4212,6 +4795,8 @@ public Builder addEntries(com.google.cloud.talent.v4.CompensationInfo.Compensati
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4236,6 +4821,8 @@ public Builder addEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4257,6 +4844,8 @@ public Builder addEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4267,7 +4856,8 @@ public Builder addEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder addEntries(
-        int index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
+        int index,
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
         entries_.add(index, builderForValue.build());
@@ -4278,6 +4868,8 @@ public Builder addEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4288,11 +4880,11 @@ public Builder addEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder addAllEntries(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, entries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_);
         onChanged();
       } else {
         entriesBuilder_.addAllMessages(values);
@@ -4300,6 +4892,8 @@ public Builder addAllEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4320,6 +4914,8 @@ public Builder clearEntries() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4340,6 +4936,8 @@ public Builder removeEntries(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4354,6 +4952,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
       return getEntriesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4363,14 +4963,17 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder
+        getEntriesOrBuilder(int index) {
       if (entriesBuilder_ == null) {
-        return entries_.get(index);  } else {
+        return entries_.get(index);
+      } else {
         return entriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4380,8 +4983,9 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List 
-         getEntriesOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
+        getEntriesOrBuilderList() {
       if (entriesBuilder_ != null) {
         return entriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -4389,6 +4993,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4398,11 +5004,15 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder addEntriesBuilder() {
-      return getEntriesFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder
+        addEntriesBuilder() {
+      return getEntriesFieldBuilder()
+          .addBuilder(
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4414,10 +5024,14 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      */
     public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder addEntriesBuilder(
         int index) {
-      return getEntriesFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
+      return getEntriesFieldBuilder()
+          .addBuilder(
+              index,
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4427,29 +5041,38 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List 
-         getEntriesBuilderList() {
+    public java.util.List
+        getEntriesBuilderList() {
       return getEntriesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> 
+            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry,
+            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder,
+            com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
         getEntriesFieldBuilder() {
       if (entriesBuilder_ == null) {
-        entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>(
-                entries_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        entriesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry,
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder,
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>(
+                entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         entries_ = null;
       }
       return entriesBuilder_;
     }
 
-    private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedBaseCompensationRange_;
+    private com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+        annualizedBaseCompensationRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> annualizedBaseCompensationRangeBuilder_;
+            com.google.cloud.talent.v4.CompensationInfo.CompensationRange,
+            com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder,
+            com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>
+        annualizedBaseCompensationRangeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4457,13 +5080,19 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ public boolean hasAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRangeBuilder_ != null || annualizedBaseCompensationRange_ != null; + return annualizedBaseCompensationRangeBuilder_ != null + || annualizedBaseCompensationRange_ != null; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4471,17 +5100,25 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { - return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedBaseCompensationRange_; } else { return annualizedBaseCompensationRangeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4489,9 +5126,12 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualiz
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedBaseCompensationRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4505,6 +5145,8 @@ public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.Com return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4512,7 +5154,9 @@ public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.Com
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnualizedBaseCompensationRange( com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder builderForValue) { @@ -4526,6 +5170,8 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4533,13 +5179,19 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedBaseCompensationRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (annualizedBaseCompensationRange_ != null) { annualizedBaseCompensationRange_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(annualizedBaseCompensationRange_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( + annualizedBaseCompensationRange_) + .mergeFrom(value) + .buildPartial(); } else { annualizedBaseCompensationRange_ = value; } @@ -4551,6 +5203,8 @@ public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.C return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4558,7 +5212,9 @@ public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.C
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { @@ -4572,6 +5228,8 @@ public Builder clearAnnualizedBaseCompensationRange() { return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4579,14 +5237,19 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder() { - + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder + getAnnualizedBaseCompensationRangeBuilder() { + onChanged(); return getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4594,17 +5257,23 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder get
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder() { if (annualizedBaseCompensationRangeBuilder_ != null) { return annualizedBaseCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedBaseCompensationRange_ == null ? - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedBaseCompensationRange_; } } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4612,26 +5281,37 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedBaseCompensationRangeFieldBuilder() { if (annualizedBaseCompensationRangeBuilder_ == null) { - annualizedBaseCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedBaseCompensationRange(), - getParentForChildren(), - isClean()); + annualizedBaseCompensationRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedBaseCompensationRange(), getParentForChildren(), isClean()); annualizedBaseCompensationRange_ = null; } return annualizedBaseCompensationRangeBuilder_; } - private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4.CompensationInfo.CompensationRange + annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> annualizedTotalCompensationRangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + annualizedTotalCompensationRangeBuilder_; /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4639,13 +5319,19 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ public boolean hasAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRangeBuilder_ != null || annualizedTotalCompensationRange_ != null; + return annualizedTotalCompensationRangeBuilder_ != null + || annualizedTotalCompensationRange_ != null; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4653,17 +5339,25 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { - return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedTotalCompensationRange_; } else { return annualizedTotalCompensationRangeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4671,9 +5365,12 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualiz
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedTotalCompensationRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4687,6 +5384,8 @@ public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.Co return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4694,7 +5393,9 @@ public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.Co
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnualizedTotalCompensationRange( com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder builderForValue) { @@ -4708,6 +5409,8 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4715,13 +5418,19 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedTotalCompensationRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (annualizedTotalCompensationRange_ != null) { annualizedTotalCompensationRange_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(annualizedTotalCompensationRange_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( + annualizedTotalCompensationRange_) + .mergeFrom(value) + .buildPartial(); } else { annualizedTotalCompensationRange_ = value; } @@ -4733,6 +5442,8 @@ public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4. return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4740,7 +5451,9 @@ public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { @@ -4754,6 +5467,8 @@ public Builder clearAnnualizedTotalCompensationRange() { return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4761,14 +5476,19 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder() { - + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder + getAnnualizedTotalCompensationRangeBuilder() { + onChanged(); return getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4776,17 +5496,23 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder get
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder() { if (annualizedTotalCompensationRangeBuilder_ != null) { return annualizedTotalCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedTotalCompensationRange_ == null ? - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedTotalCompensationRange_; } } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4794,24 +5520,29 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedTotalCompensationRangeFieldBuilder() { if (annualizedTotalCompensationRangeBuilder_ == null) { - annualizedTotalCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedTotalCompensationRange(), - getParentForChildren(), - isClean()); + annualizedTotalCompensationRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedTotalCompensationRange(), getParentForChildren(), isClean()); annualizedTotalCompensationRange_ = null; } return annualizedTotalCompensationRangeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4821,12 +5552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo) private static final com.google.cloud.talent.v4.CompensationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo(); } @@ -4835,27 +5566,27 @@ public static com.google.cloud.talent.v4.CompensationInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4870,6 +5601,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompensationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java similarity index 73% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java index 812866915df3..796b977c4e14 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface CompensationInfoOrBuilder extends +public interface CompensationInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -17,9 +35,10 @@ public interface CompensationInfoOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
-  java.util.List 
-      getEntriesList();
+  java.util.List getEntriesList();
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -31,6 +50,8 @@ public interface CompensationInfoOrBuilder extends
    */
   com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(int index);
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -42,6 +63,8 @@ public interface CompensationInfoOrBuilder extends
    */
   int getEntriesCount();
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -51,9 +74,11 @@ public interface CompensationInfoOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
-  java.util.List 
+  java.util.List
       getEntriesOrBuilderList();
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -67,6 +92,8 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
       int index);
 
   /**
+   *
+   *
    * 
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -74,11 +101,16 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ boolean hasAnnualizedBaseCompensationRange(); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -86,11 +118,17 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange(); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -98,11 +136,16 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -110,11 +153,16 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ boolean hasAnnualizedTotalCompensationRange(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -122,11 +170,17 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -134,7 +188,10 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java similarity index 74% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java index 93948da81edf..99e3191ccb36 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Auto-complete parameters.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryRequest} */ -public final class CompleteQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryRequest) CompleteQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteQueryRequest.newBuilder() to construct. private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteQueryRequest() { tenant_ = ""; query_ = ""; @@ -30,39 +48,43 @@ private CompleteQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryRequest.class, com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4.CompleteQueryRequest.class, + com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); } /** + * + * *
    * Enum to specify the scope of completion.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompleteQueryRequest.CompletionScope} */ - public enum CompletionScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -71,6 +93,8 @@ public enum CompletionScope */ COMPLETION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -79,6 +103,8 @@ public enum CompletionScope */ TENANT(1), /** + * + * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -91,6 +117,8 @@ public enum CompletionScope
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -99,6 +127,8 @@ public enum CompletionScope */ public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -107,6 +137,8 @@ public enum CompletionScope */ public static final int TENANT_VALUE = 1; /** + * + * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -116,7 +148,6 @@ public enum CompletionScope
      */
     public static final int PUBLIC_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -141,39 +172,42 @@ public static CompletionScope valueOf(int value) {
      */
     public static CompletionScope forNumber(int value) {
       switch (value) {
-        case 0: return COMPLETION_SCOPE_UNSPECIFIED;
-        case 1: return TENANT;
-        case 2: return PUBLIC;
-        default: return null;
+        case 0:
+          return COMPLETION_SCOPE_UNSPECIFIED;
+        case 1:
+          return TENANT;
+        case 2:
+          return PUBLIC;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CompletionScope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CompletionScope findValueByNumber(int number) {
-              return CompletionScope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public CompletionScope findValueByNumber(int number) {
+                return CompletionScope.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.CompleteQueryRequest.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -182,8 +216,7 @@ public CompletionScope findValueByNumber(int number) {
     public static CompletionScope valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -201,15 +234,18 @@ private CompletionScope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Enum to specify auto-completion topics.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompleteQueryRequest.CompletionType} */ - public enum CompletionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -218,6 +254,8 @@ public enum CompletionType */ COMPLETION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -228,6 +266,8 @@ public enum CompletionType
      */
     JOB_TITLE(1),
     /**
+     *
+     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -239,6 +279,8 @@ public enum CompletionType
      */
     COMPANY_NAME(2),
     /**
+     *
+     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -253,6 +295,8 @@ public enum CompletionType
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -261,6 +305,8 @@ public enum CompletionType */ public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -271,6 +317,8 @@ public enum CompletionType
      */
     public static final int JOB_TITLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -282,6 +330,8 @@ public enum CompletionType
      */
     public static final int COMPANY_NAME_VALUE = 2;
     /**
+     *
+     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -293,7 +343,6 @@ public enum CompletionType
      */
     public static final int COMBINED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,50 +367,51 @@ public static CompletionType valueOf(int value) {
      */
     public static CompletionType forNumber(int value) {
       switch (value) {
-        case 0: return COMPLETION_TYPE_UNSPECIFIED;
-        case 1: return JOB_TITLE;
-        case 2: return COMPANY_NAME;
-        case 3: return COMBINED;
-        default: return null;
+        case 0:
+          return COMPLETION_TYPE_UNSPECIFIED;
+        case 1:
+          return JOB_TITLE;
+        case 2:
+          return COMPANY_NAME;
+        case 3:
+          return COMBINED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CompletionType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CompletionType findValueByNumber(int number) {
-              return CompletionType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public CompletionType findValueByNumber(int number) {
+            return CompletionType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.CompleteQueryRequest.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final CompletionType[] VALUES = values();
 
-    public static CompletionType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -381,13 +431,18 @@ private CompletionType(int value) {
   public static final int TENANT_FIELD_NUMBER = 1;
   private volatile java.lang.Object tenant_;
   /**
+   *
+   *
    * 
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tenant. */ @java.lang.Override @@ -396,31 +451,33 @@ public java.lang.String getTenant() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenant_ = s; return s; } } /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tenant. */ @java.lang.Override - public com.google.protobuf.ByteString - getTenantBytes() { + public com.google.protobuf.ByteString getTenantBytes() { java.lang.Object ref = tenant_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tenant_ = b; return b; } else { @@ -431,12 +488,15 @@ public java.lang.String getTenant() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -445,30 +505,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -479,6 +539,8 @@ public java.lang.String getQuery() { public static final int LANGUAGE_CODES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList languageCodes_; /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -488,13 +550,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_; } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -504,12 +568,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -519,6 +586,7 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -526,6 +594,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -535,23 +605,26 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ @java.lang.Override @@ -562,6 +635,8 @@ public int getPageSize() { public static final int COMPANY_FIELD_NUMBER = 5; private volatile java.lang.Object company_; /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -570,6 +645,7 @@ public int getPageSize() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ @java.lang.Override @@ -578,14 +654,15 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -594,16 +671,15 @@ public java.lang.String getCompany() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -614,58 +690,81 @@ public java.lang.String getCompany() { public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ - @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { + @java.lang.Override + public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED + : result; } public static final int TYPE_FIELD_NUMBER = 7; private int type_; /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -677,8 +776,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tenant_); } @@ -694,10 +792,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_); } - if (scope_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { + if (scope_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope + .COMPLETION_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, scope_); } - if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, type_); } getUnknownFields().writeTo(output); @@ -724,19 +828,22 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_); } - if (scope_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, scope_); + if (scope_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope + .COMPLETION_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); } - if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + if (type_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -746,23 +853,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompleteQueryRequest other = (com.google.cloud.talent.v4.CompleteQueryRequest) obj; - - if (!getTenant() - .equals(other.getTenant())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getLanguageCodesList() - .equals(other.getLanguageCodesList())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getCompany() - .equals(other.getCompany())) return false; + com.google.cloud.talent.v4.CompleteQueryRequest other = + (com.google.cloud.talent.v4.CompleteQueryRequest) obj; + + if (!getTenant().equals(other.getTenant())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getCompany().equals(other.getCompany())) return false; if (scope_ != other.scope_) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -797,130 +900,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Auto-complete parameters.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryRequest) com.google.cloud.talent.v4.CompleteQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryRequest.class, com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4.CompleteQueryRequest.class, + com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CompleteQueryRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -942,9 +1051,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override @@ -963,7 +1072,8 @@ public com.google.cloud.talent.v4.CompleteQueryRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest buildPartial() { - com.google.cloud.talent.v4.CompleteQueryRequest result = new com.google.cloud.talent.v4.CompleteQueryRequest(this); + com.google.cloud.talent.v4.CompleteQueryRequest result = + new com.google.cloud.talent.v4.CompleteQueryRequest(this); int from_bitField0_ = bitField0_; result.tenant_ = tenant_; result.query_ = query_; @@ -984,38 +1094,39 @@ public com.google.cloud.talent.v4.CompleteQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryRequest) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -1023,7 +1134,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryRequest other) { - if (other == com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance()) + return this; if (!other.getTenant().isEmpty()) { tenant_ = other.tenant_; onChanged(); @@ -1081,48 +1193,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tenant_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - query_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: { - company_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: { - scope_ = input.readEnum(); - - break; - } // case 48 - case 56: { - type_ = input.readEnum(); - - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tenant_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + query_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: + { + company_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: + { + scope_ = input.readEnum(); + + break; + } // case 48 + case 56: + { + type_ = input.readEnum(); + + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1132,24 +1252,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object tenant_ = ""; /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tenant. */ public java.lang.String getTenant() { java.lang.Object ref = tenant_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenant_ = s; return s; @@ -1158,22 +1283,25 @@ public java.lang.String getTenant() { } } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tenant. */ - public com.google.protobuf.ByteString - getTenantBytes() { + public com.google.protobuf.ByteString getTenantBytes() { java.lang.Object ref = tenant_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tenant_ = b; return b; } else { @@ -1181,60 +1309,73 @@ public java.lang.String getTenant() { } } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The tenant to set. * @return This builder for chaining. */ - public Builder setTenant( - java.lang.String value) { + public Builder setTenant(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenant_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTenant() { - + tenant_ = getDefaultInstance().getTenant(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tenant to set. * @return This builder for chaining. */ - public Builder setTenantBytes( - com.google.protobuf.ByteString value) { + public Builder setTenantBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenant_ = value; onChanged(); return this; @@ -1242,19 +1383,21 @@ public Builder setTenantBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1263,21 +1406,22 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1285,70 +1429,81 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1358,13 +1513,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1374,12 +1531,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1389,6 +1549,7 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1396,6 +1557,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1405,14 +1568,16 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1422,21 +1587,23 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; + * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes( - int index, java.lang.String value) { + public Builder setLanguageCodes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1446,20 +1613,22 @@ public Builder setLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes( - java.lang.String value) { + public Builder addLanguageCodes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1469,18 +1638,19 @@ public Builder addLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes( - java.lang.Iterable values) { + public Builder addAllLanguageCodes(java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1490,6 +1660,7 @@ public Builder addAllLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -1499,6 +1670,8 @@ public Builder clearLanguageCodes() { return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1508,29 +1681,32 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 3; + * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ @java.lang.Override @@ -1538,32 +1714,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1571,6 +1753,8 @@ public Builder clearPageSize() { private java.lang.Object company_ = ""; /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1579,13 +1763,13 @@ public Builder clearPageSize() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -1594,6 +1778,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1602,15 +1788,14 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -1618,6 +1803,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1626,20 +1813,22 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany( - java.lang.String value) { + public Builder setCompany(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1648,15 +1837,18 @@ public Builder setCompany(
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1665,16 +1857,16 @@ public Builder clearCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -1682,51 +1874,67 @@ public Builder setCompanyBytes( private int scope_ = 0; /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED + : result; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @param value The scope to set. * @return This builder for chaining. */ @@ -1734,21 +1942,24 @@ public Builder setScope(com.google.cloud.talent.v4.CompleteQueryRequest.Completi if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -1756,51 +1967,67 @@ public Builder clearScope() { private int type_ = 0; /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1808,28 +2035,31 @@ public Builder setType(com.google.cloud.talent.v4.CompleteQueryRequest.Completio if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1839,12 +2069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryRequest) private static final com.google.cloud.talent.v4.CompleteQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryRequest(); } @@ -1853,27 +2083,27 @@ public static com.google.cloud.talent.v4.CompleteQueryRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1888,6 +2118,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompleteQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java index ff99ef4498ba..ea126cce6a46 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java @@ -1,59 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; -public interface CompleteQueryRequestOrBuilder extends +public interface CompleteQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tenant. */ java.lang.String getTenant(); /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tenant. */ - com.google.protobuf.ByteString - getTenantBytes(); + com.google.protobuf.ByteString getTenantBytes(); /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -63,11 +95,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - java.util.List - getLanguageCodesList(); + java.util.List getLanguageCodesList(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -77,10 +111,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -90,11 +127,14 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -104,24 +144,29 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString - getLanguageCodesBytes(int index); + com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** + * + * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -130,10 +175,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ java.lang.String getCompany(); /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -142,45 +190,57 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ - com.google.protobuf.ByteString - getCompanyBytes(); + com.google.protobuf.ByteString getCompanyBytes(); /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope(); /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java similarity index 66% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java index 582448442c0b..d3abd1f6ad06 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java @@ -1,134 +1,173 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Response of auto-complete query.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse} */ -public final class CompleteQueryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryResponse) CompleteQueryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteQueryResponse.newBuilder() to construct. private CompleteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteQueryResponse() { completionResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.class, com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.class, + com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); } - public interface CompletionResultOrBuilder extends + public interface CompletionResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ java.lang.String getSuggestion(); /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString - getSuggestionBytes(); + com.google.protobuf.ByteString getSuggestionBytes(); /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType(); /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The imageUri. */ java.lang.String getImageUri(); /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString - getImageUriBytes(); + com.google.protobuf.ByteString getImageUriBytes(); } /** + * + * *
    * Resource that represents completion results.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse.CompletionResult} */ - public static final class CompletionResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompletionResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) CompletionResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompletionResult.newBuilder() to construct. private CompletionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompletionResult() { suggestion_ = ""; type_ = 0; @@ -137,37 +176,41 @@ private CompletionResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompletionResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; private volatile java.lang.Object suggestion_; /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ @java.lang.Override @@ -176,29 +219,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -209,39 +252,53 @@ public java.lang.String getSuggestion() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } public static final int IMAGE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object imageUri_; /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The imageUri. */ @java.lang.Override @@ -250,30 +307,30 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -282,6 +339,7 @@ public java.lang.String getImageUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,12 +351,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } - if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { @@ -316,9 +376,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } - if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageUri_); @@ -331,18 +393,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) obj; + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other = + (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) obj; - if (!getSuggestion() - .equals(other.getSuggestion())) return false; + if (!getSuggestion().equals(other.getSuggestion())) return false; if (type_ != other.type_) return false; - if (!getImageUri() - .equals(other.getImageUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,87 +427,95 @@ public int hashCode() { } public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -456,39 +525,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Resource that represents completion results.
      * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse.CompletionResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); } - // Construct using com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,14 +574,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { - return com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance(); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + getDefaultInstanceForType() { + return com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + .getDefaultInstance(); } @java.lang.Override @@ -523,7 +597,8 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult build() @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult buildPartial() { - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult result = new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(this); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult result = + new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(this); result.suggestion_ = suggestion_; result.type_ = type_; result.imageUri_ = imageUri_; @@ -535,46 +610,53 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult)other); + return mergeFrom( + (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other) { - if (other == com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other) { + if (other + == com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + .getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; onChanged(); @@ -612,27 +694,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - suggestion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - - break; - } // case 16 - case 26: { - imageUri_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + suggestion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + imageUri_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -645,18 +731,20 @@ public Builder mergeFrom( private java.lang.Object suggestion_ = ""; /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -665,20 +753,21 @@ public java.lang.String getSuggestion() { } } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -686,54 +775,61 @@ public java.lang.String getSuggestion() { } } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion( - java.lang.String value) { + public Builder setSuggestion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); return this; } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes( - com.google.protobuf.ByteString value) { + public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); return this; @@ -741,51 +837,67 @@ public Builder setSuggestionBytes( private int type_ = 0; /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -793,21 +905,24 @@ public Builder setType(com.google.cloud.talent.v4.CompleteQueryRequest.Completio if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -815,19 +930,21 @@ public Builder clearType() { private java.lang.Object imageUri_ = ""; /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -836,21 +953,22 @@ public java.lang.String getImageUri() { } } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -858,61 +976,69 @@ public java.lang.String getImageUri() { } } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri( - java.lang.String value) { + public Builder setImageUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes( - com.google.protobuf.ByteString value) { + public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -925,41 +1051,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) - private static final com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult DEFAULT_INSTANCE; + private static final com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstance() { + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompletionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompletionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,81 +1100,108 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int COMPLETION_RESULTS_FIELD_NUMBER = 1; - private java.util.List completionResults_; + private java.util.List + completionResults_; /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public java.util.List getCompletionResultsList() { + public java.util.List + getCompletionResultsList() { return completionResults_; } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList() { return completionResults_; } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override public int getCompletionResultsCount() { return completionResults_.size(); } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults( + int index) { return completionResults_.get(index); } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index) { return completionResults_.get(index); } public static final int METADATA_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1053,19 +1209,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -1079,6 +1242,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1090,8 +1254,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < completionResults_.size(); i++) {
       output.writeMessage(1, completionResults_.get(i));
     }
@@ -1108,12 +1271,11 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < completionResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, completionResults_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, completionResults_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1123,19 +1285,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.CompleteQueryResponse other = (com.google.cloud.talent.v4.CompleteQueryResponse) obj;
+    com.google.cloud.talent.v4.CompleteQueryResponse other =
+        (com.google.cloud.talent.v4.CompleteQueryResponse) obj;
 
-    if (!getCompletionResultsList()
-        .equals(other.getCompletionResultsList())) return false;
+    if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1161,130 +1322,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response of auto-complete query.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryResponse) com.google.cloud.talent.v4.CompleteQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.class, com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.class, + com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.CompleteQueryResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1305,9 +1472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override @@ -1326,7 +1493,8 @@ public com.google.cloud.talent.v4.CompleteQueryResponse build() { @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryResponse buildPartial() { - com.google.cloud.talent.v4.CompleteQueryResponse result = new com.google.cloud.talent.v4.CompleteQueryResponse(this); + com.google.cloud.talent.v4.CompleteQueryResponse result = + new com.google.cloud.talent.v4.CompleteQueryResponse(this); int from_bitField0_ = bitField0_; if (completionResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1350,38 +1518,39 @@ public com.google.cloud.talent.v4.CompleteQueryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryResponse) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse)other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse) other); } else { super.mergeFrom(other); return this; @@ -1389,7 +1558,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse other) { - if (other == com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance()) + return this; if (completionResultsBuilder_ == null) { if (!other.completionResults_.isEmpty()) { if (completionResults_.isEmpty()) { @@ -1408,9 +1578,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse other) completionResultsBuilder_ = null; completionResults_ = other.completionResults_; bitField0_ = (bitField0_ & ~0x00000001); - completionResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompletionResultsFieldBuilder() : null; + completionResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompletionResultsFieldBuilder() + : null; } else { completionResultsBuilder_.addAllMessages(other.completionResults_); } @@ -1445,32 +1616,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult m = - input.readMessage( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.parser(), - extensionRegistry); - if (completionResultsBuilder_ == null) { - ensureCompletionResultsIsMutable(); - completionResults_.add(m); - } else { - completionResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult m = + input.readMessage( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.parser(), + extensionRegistry); + if (completionResultsBuilder_ == null) { + ensureCompletionResultsIsMutable(); + completionResults_.add(m); + } else { + completionResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1480,28 +1652,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List completionResults_ = - java.util.Collections.emptyList(); + private java.util.List + completionResults_ = java.util.Collections.emptyList(); + private void ensureCompletionResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - completionResults_ = new java.util.ArrayList(completionResults_); + completionResults_ = + new java.util.ArrayList< + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult>( + completionResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> completionResultsBuilder_; + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + completionResultsBuilder_; /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List getCompletionResultsList() { + public java.util.List + getCompletionResultsList() { if (completionResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(completionResults_); } else { @@ -1509,11 +1694,15 @@ public java.util.List * Results of the matching job/company candidates. *
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public int getCompletionResultsCount() { if (completionResultsBuilder_ == null) { @@ -1523,13 +1712,18 @@ public int getCompletionResultsCount() { } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults( + int index) { if (completionResultsBuilder_ == null) { return completionResults_.get(index); } else { @@ -1537,11 +1731,15 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getComp } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder setCompletionResults( int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { @@ -1558,14 +1756,19 @@ public Builder setCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder setCompletionResults( - int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.set(index, builderForValue.build()); @@ -1576,13 +1779,18 @@ public Builder setCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public Builder addCompletionResults(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { + public Builder addCompletionResults( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { if (completionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1596,11 +1804,15 @@ public Builder addCompletionResults(com.google.cloud.talent.v4.CompleteQueryResp return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { @@ -1617,11 +1829,15 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { @@ -1635,14 +1851,19 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( - int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(index, builderForValue.build()); @@ -1653,18 +1874,23 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addAllCompletionResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult> + values) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, completionResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completionResults_); onChanged(); } else { completionResultsBuilder_.addAllMessages(values); @@ -1672,11 +1898,15 @@ public Builder addAllCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder clearCompletionResults() { if (completionResultsBuilder_ == null) { @@ -1689,11 +1919,15 @@ public Builder clearCompletionResults() { return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder removeCompletionResults(int index) { if (completionResultsBuilder_ == null) { @@ -1706,39 +1940,53 @@ public Builder removeCompletionResults(int index) { return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder + getCompletionResultsBuilder(int index) { return getCompletionResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index) { if (completionResultsBuilder_ == null) { - return completionResults_.get(index); } else { + return completionResults_.get(index); + } else { return completionResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List - getCompletionResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + getCompletionResultsOrBuilderList() { if (completionResultsBuilder_ != null) { return completionResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1746,45 +1994,69 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilde } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder() { - return getCompletionResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder + addCompletionResultsBuilder() { + return getCompletionResultsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + .getDefaultInstance()); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder( - int index) { - return getCompletionResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder + addCompletionResultsBuilder(int index) { + return getCompletionResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + .getDefaultInstance()); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List - getCompletionResultsBuilderList() { + public java.util.List + getCompletionResultsBuilderList() { return getCompletionResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsFieldBuilder() { if (completionResultsBuilder_ == null) { - completionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder>( + completionResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1796,36 +2068,49 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1847,6 +2132,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1866,6 +2153,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1877,7 +2166,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1889,6 +2180,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1908,6 +2201,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1916,11 +2211,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 2;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1932,11 +2229,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1945,21 +2245,24 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1969,12 +2272,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryResponse)
   private static final com.google.cloud.talent.v4.CompleteQueryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryResponse();
   }
@@ -1983,27 +2286,27 @@ public static com.google.cloud.talent.v4.CompleteQueryResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CompleteQueryResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CompleteQueryResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2018,6 +2321,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.CompleteQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
similarity index 55%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
index 3d7d1cbdf542..45964ab4c335 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
@@ -1,77 +1,122 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/completion_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface CompleteQueryResponseOrBuilder extends
+public interface CompleteQueryResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - java.util.List + java.util.List getCompletionResultsList(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ int getCompletionResultsCount(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
new file mode 100644
index 000000000000..2a40963252da
--- /dev/null
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
@@ -0,0 +1,143 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4/completion_service.proto
+
+package com.google.cloud.talent.v4;
+
+public final class CompletionServiceProto {
+  private CompletionServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n/google/cloud/talent/v4/completion_serv"
+          + "ice.proto\022\026google.cloud.talent.v4\032\034googl"
+          + "e/api/annotations.proto\032\027google/api/clie"
+          + "nt.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032#google/clo"
+          + "ud/talent/v4/common.proto\"\210\004\n\024CompleteQu"
+          + "eryRequest\0222\n\006tenant\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs"
+          + ".googleapis.com/Tenant\022\022\n\005query\030\002 \001(\tB\003\340"
+          + "A\002\022\026\n\016language_codes\030\003 \003(\t\022\026\n\tpage_size\030"
+          + "\004 \001(\005B\003\340A\002\0221\n\007company\030\005 \001(\tB \372A\035\n\033jobs.g"
+          + "oogleapis.com/Company\022K\n\005scope\030\006 \001(\0162<.g"
+          + "oogle.cloud.talent.v4.CompleteQueryReque"
+          + "st.CompletionScope\022I\n\004type\030\007 \001(\0162;.googl"
+          + "e.cloud.talent.v4.CompleteQueryRequest.C"
+          + "ompletionType\"K\n\017CompletionScope\022 \n\034COMP"
+          + "LETION_SCOPE_UNSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n"
+          + "\n\006PUBLIC\020\002\"`\n\016CompletionType\022\037\n\033COMPLETI"
+          + "ON_TYPE_UNSPECIFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014"
+          + "COMPANY_NAME\020\002\022\014\n\010COMBINED\020\003\"\266\002\n\025Complet"
+          + "eQueryResponse\022Z\n\022completion_results\030\001 \003"
+          + "(\0132>.google.cloud.talent.v4.CompleteQuer"
+          + "yResponse.CompletionResult\022:\n\010metadata\030\002"
+          + " \001(\0132(.google.cloud.talent.v4.ResponseMe"
+          + "tadata\032\204\001\n\020CompletionResult\022\022\n\nsuggestio"
+          + "n\030\001 \001(\t\022I\n\004type\030\002 \001(\0162;.google.cloud.tal"
+          + "ent.v4.CompleteQueryRequest.CompletionTy"
+          + "pe\022\021\n\timage_uri\030\003 \001(\t2\242\002\n\nCompletion\022\245\001\n"
+          + "\rCompleteQuery\022,.google.cloud.talent.v4."
+          + "CompleteQueryRequest\032-.google.cloud.tale"
+          + "nt.v4.CompleteQueryResponse\"7\202\323\344\223\0021\022//v4"
+          + "/{tenant=projects/*/tenants/*}:completeQ"
+          + "uery\032l\312A\023jobs.googleapis.com\322AShttps://w"
+          + "ww.googleapis.com/auth/cloud-platform,ht"
+          + "tps://www.googleapis.com/auth/jobsBz\n\032co"
+          + "m.google.cloud.talent.v4B\026CompletionServ"
+          + "iceProtoP\001Z
  * The report event request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateClientEventRequest} */ -public final class CreateClientEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClientEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateClientEventRequest) CreateClientEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClientEventRequest.newBuilder() to construct. private CreateClientEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClientEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClientEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateClientEventRequest.class, com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4.CreateClientEventRequest.class, + com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,12 +127,17 @@ public java.lang.String getParent() { public static final int CLIENT_EVENT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.ClientEvent clientEvent_; /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ @java.lang.Override @@ -114,25 +145,36 @@ public boolean hasClientEvent() { return clientEvent_ != null; } /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ @java.lang.Override public com.google.cloud.talent.v4.ClientEvent getClientEvent() { - return clientEvent_ == null ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() + : clientEvent_; } /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() { @@ -140,6 +182,7 @@ public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +194,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -172,8 +214,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (clientEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getClientEvent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientEvent()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,19 +224,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateClientEventRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateClientEventRequest other = (com.google.cloud.talent.v4.CreateClientEventRequest) obj; + com.google.cloud.talent.v4.CreateClientEventRequest other = + (com.google.cloud.talent.v4.CreateClientEventRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - if (!getClientEvent() - .equals(other.getClientEvent())) return false; + if (!getClientEvent().equals(other.getClientEvent())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -220,129 +260,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CreateClientEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The report event request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateClientEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateClientEventRequest) com.google.cloud.talent.v4.CreateClientEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateClientEventRequest.class, com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4.CreateClientEventRequest.class, + com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateClientEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override @@ -379,7 +425,8 @@ public com.google.cloud.talent.v4.CreateClientEventRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateClientEventRequest buildPartial() { - com.google.cloud.talent.v4.CreateClientEventRequest result = new com.google.cloud.talent.v4.CreateClientEventRequest(this); + com.google.cloud.talent.v4.CreateClientEventRequest result = + new com.google.cloud.talent.v4.CreateClientEventRequest(this); result.parent_ = parent_; if (clientEventBuilder_ == null) { result.clientEvent_ = clientEvent_; @@ -394,38 +441,39 @@ public com.google.cloud.talent.v4.CreateClientEventRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateClientEventRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateClientEventRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CreateClientEventRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +481,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CreateClientEventRequest other) { - if (other == com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -467,24 +516,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getClientEventFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getClientEventFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,20 +547,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,22 +573,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -542,60 +599,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -603,42 +673,61 @@ public Builder setParentBytes( private com.google.cloud.talent.v4.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder> clientEventBuilder_; + com.google.cloud.talent.v4.ClientEvent, + com.google.cloud.talent.v4.ClientEvent.Builder, + com.google.cloud.talent.v4.ClientEventOrBuilder> + clientEventBuilder_; /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ public boolean hasClientEvent() { return clientEventBuilder_ != null || clientEvent_ != null; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ public com.google.cloud.talent.v4.ClientEvent getClientEvent() { if (clientEventBuilder_ == null) { - return clientEvent_ == null ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() + : clientEvent_; } else { return clientEventBuilder_.getMessage(); } } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent value) { if (clientEventBuilder_ == null) { @@ -654,15 +743,18 @@ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent value) { return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setClientEvent( - com.google.cloud.talent.v4.ClientEvent.Builder builderForValue) { + public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent.Builder builderForValue) { if (clientEventBuilder_ == null) { clientEvent_ = builderForValue.build(); onChanged(); @@ -673,18 +765,24 @@ public Builder setClientEvent( return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeClientEvent(com.google.cloud.talent.v4.ClientEvent value) { if (clientEventBuilder_ == null) { if (clientEvent_ != null) { clientEvent_ = - com.google.cloud.talent.v4.ClientEvent.newBuilder(clientEvent_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.ClientEvent.newBuilder(clientEvent_) + .mergeFrom(value) + .buildPartial(); } else { clientEvent_ = value; } @@ -696,12 +794,16 @@ public Builder mergeClientEvent(com.google.cloud.talent.v4.ClientEvent value) { return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearClientEvent() { if (clientEventBuilder_ == null) { @@ -715,58 +817,74 @@ public Builder clearClientEvent() { return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.ClientEvent.Builder getClientEventBuilder() { - + onChanged(); return getClientEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() { if (clientEventBuilder_ != null) { return clientEventBuilder_.getMessageOrBuilder(); } else { - return clientEvent_ == null ? - com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() + : clientEvent_; } } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder> + com.google.cloud.talent.v4.ClientEvent, + com.google.cloud.talent.v4.ClientEvent.Builder, + com.google.cloud.talent.v4.ClientEventOrBuilder> getClientEventFieldBuilder() { if (clientEventBuilder_ == null) { - clientEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder>( - getClientEvent(), - getParentForChildren(), - isClean()); + clientEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.ClientEvent, + com.google.cloud.talent.v4.ClientEvent.Builder, + com.google.cloud.talent.v4.ClientEventOrBuilder>( + getClientEvent(), getParentForChildren(), isClean()); clientEvent_ = null; } return clientEventBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -776,12 +894,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateClientEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateClientEventRequest) private static final com.google.cloud.talent.v4.CreateClientEventRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateClientEventRequest(); } @@ -790,27 +908,27 @@ public static com.google.cloud.talent.v4.CreateClientEventRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClientEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClientEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -825,6 +943,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateClientEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java index 706e6e386c86..0dae60433690 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java @@ -1,63 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event_service.proto package com.google.cloud.talent.v4; -public interface CreateClientEventRequestOrBuilder extends +public interface CreateClientEventRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateClientEventRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ boolean hasClientEvent(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ com.google.cloud.talent.v4.ClientEvent getClientEvent(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java similarity index 65% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java index 10f9ca0368e0..703553b79e44 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The Request of the CreateCompany method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateCompanyRequest} */ -public final class CreateCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateCompanyRequest) CreateCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCompanyRequest.newBuilder() to construct. private CreateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCompanyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateCompanyRequest.class, com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.CreateCompanyRequest.class, + com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,15 @@ public java.lang.String getParent() { public static final int COMPANY_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Company company_; /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ @java.lang.Override @@ -113,11 +143,15 @@ public boolean hasCompany() { return company_ != null; } /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ @java.lang.Override @@ -125,11 +159,14 @@ public com.google.cloud.talent.v4.Company getCompany() { return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { @@ -137,6 +174,7 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (company_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCompany()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompany()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +216,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateCompanyRequest other = (com.google.cloud.talent.v4.CreateCompanyRequest) obj; + com.google.cloud.talent.v4.CreateCompanyRequest other = + (com.google.cloud.talent.v4.CreateCompanyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - if (!getCompany() - .equals(other.getCompany())) return false; + if (!getCompany().equals(other.getCompany())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,130 +251,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CreateCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request of the CreateCompany method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateCompanyRequest) com.google.cloud.talent.v4.CreateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateCompanyRequest.class, com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.CreateCompanyRequest.class, + com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateCompanyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override @@ -376,7 +417,8 @@ public com.google.cloud.talent.v4.CreateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateCompanyRequest buildPartial() { - com.google.cloud.talent.v4.CreateCompanyRequest result = new com.google.cloud.talent.v4.CreateCompanyRequest(this); + com.google.cloud.talent.v4.CreateCompanyRequest result = + new com.google.cloud.talent.v4.CreateCompanyRequest(this); result.parent_ = parent_; if (companyBuilder_ == null) { result.company_ = company_; @@ -391,38 +433,39 @@ public com.google.cloud.talent.v4.CreateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CreateCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -430,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CreateCompanyRequest other) { - if (other == com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -464,24 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getCompanyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,20 +539,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -516,22 +565,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -539,60 +591,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -600,39 +665,55 @@ public Builder setParentBytes( private com.google.cloud.talent.v4.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companyBuilder_; + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> + companyBuilder_; /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ public com.google.cloud.talent.v4.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4.Company.getDefaultInstance() + : company_; } else { return companyBuilder_.getMessage(); } } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { @@ -648,14 +729,16 @@ public Builder setCompany(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompany( - com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -666,17 +749,22 @@ public Builder setCompany( return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4.Company.newBuilder(company_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Company.newBuilder(company_) + .mergeFrom(value) + .buildPartial(); } else { company_ = value; } @@ -688,11 +776,14 @@ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -706,55 +797,68 @@ public Builder clearCompany() { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null ? - com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4.Company.getDefaultInstance() + : company_; } } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( - getCompany(), - getParentForChildren(), - isClean()); + companyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder>( + getCompany(), getParentForChildren(), isClean()); company_ = null; } return companyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateCompanyRequest) private static final com.google.cloud.talent.v4.CreateCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateCompanyRequest(); } @@ -778,27 +882,27 @@ public static com.google.cloud.talent.v4.CreateCompanyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +917,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java index e25a6715251a..fa6004ae54fb 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java @@ -1,60 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; -public interface CreateCompanyRequestOrBuilder extends +public interface CreateCompanyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateCompanyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ boolean hasCompany(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ com.google.cloud.talent.v4.Company getCompany(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java similarity index 67% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java index b43e80246eee..a1ffba37ceb7 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Create job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateJobRequest} */ -public final class CreateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateJobRequest) CreateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateJobRequest.class, com.google.cloud.talent.v4.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4.CreateJobRequest.class, + com.google.cloud.talent.v4.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,14 @@ public java.lang.String getParent() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Job job_; /** + * + * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ @java.lang.Override @@ -113,11 +142,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ @java.lang.Override @@ -125,6 +157,8 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The Job to be created.
    * 
@@ -137,6 +171,7 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +203,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +213,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateJobRequest other = (com.google.cloud.talent.v4.CreateJobRequest) obj; + com.google.cloud.talent.v4.CreateJobRequest other = + (com.google.cloud.talent.v4.CreateJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,130 +248,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateJobRequest) com.google.cloud.talent.v4.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateJobRequest.class, com.google.cloud.talent.v4.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4.CreateJobRequest.class, + com.google.cloud.talent.v4.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override @@ -376,7 +414,8 @@ public com.google.cloud.talent.v4.CreateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateJobRequest buildPartial() { - com.google.cloud.talent.v4.CreateJobRequest result = new com.google.cloud.talent.v4.CreateJobRequest(this); + com.google.cloud.talent.v4.CreateJobRequest result = + new com.google.cloud.talent.v4.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -391,38 +430,39 @@ public com.google.cloud.talent.v4.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CreateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -464,24 +504,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,20 +535,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -516,22 +561,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -539,60 +587,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -600,24 +661,33 @@ public Builder setParentBytes( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -628,6 +698,8 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -648,14 +720,15 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -666,6 +739,8 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -675,8 +750,7 @@ public Builder setJob( public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = - com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -688,6 +762,8 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -706,6 +782,8 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -713,11 +791,13 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -728,11 +808,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -740,21 +821,24 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +848,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateJobRequest) private static final com.google.cloud.talent.v4.CreateJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateJobRequest(); } @@ -778,27 +862,27 @@ public static com.google.cloud.talent.v4.CreateJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +897,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java index a52666ef4ee8..6bf6a113cd8a 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java @@ -1,55 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface CreateJobRequestOrBuilder extends +public interface CreateJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** + * + * *
    * Required. The Job to be created.
    * 
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java similarity index 65% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java index d0411258dc4f..83c720635ef2 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The Request of the CreateTenant method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateTenantRequest} */ -public final class CreateTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateTenantRequest) CreateTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTenantRequest.newBuilder() to construct. private CreateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTenantRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateTenantRequest.class, com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4.CreateTenantRequest.class, + com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,15 @@ public java.lang.String getParent() { public static final int TENANT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Tenant tenant_; /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ @java.lang.Override @@ -113,11 +143,15 @@ public boolean hasTenant() { return tenant_ != null; } /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ @java.lang.Override @@ -125,11 +159,14 @@ public com.google.cloud.talent.v4.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { @@ -137,6 +174,7 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tenant_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTenant()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTenant()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +216,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateTenantRequest other = (com.google.cloud.talent.v4.CreateTenantRequest) obj; + com.google.cloud.talent.v4.CreateTenantRequest other = + (com.google.cloud.talent.v4.CreateTenantRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - if (!getTenant() - .equals(other.getTenant())) return false; + if (!getTenant().equals(other.getTenant())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,130 +251,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CreateTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request of the CreateTenant method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateTenantRequest) com.google.cloud.talent.v4.CreateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateTenantRequest.class, com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4.CreateTenantRequest.class, + com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateTenantRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override @@ -376,7 +417,8 @@ public com.google.cloud.talent.v4.CreateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateTenantRequest buildPartial() { - com.google.cloud.talent.v4.CreateTenantRequest result = new com.google.cloud.talent.v4.CreateTenantRequest(this); + com.google.cloud.talent.v4.CreateTenantRequest result = + new com.google.cloud.talent.v4.CreateTenantRequest(this); result.parent_ = parent_; if (tenantBuilder_ == null) { result.tenant_ = tenant_; @@ -391,38 +433,39 @@ public com.google.cloud.talent.v4.CreateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CreateTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -464,24 +507,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getTenantFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,20 +538,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -516,22 +564,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -539,60 +590,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -600,24 +664,35 @@ public Builder setParentBytes( private com.google.cloud.talent.v4.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantBuilder_; + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> + tenantBuilder_; /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ public com.google.cloud.talent.v4.Tenant getTenant() { @@ -628,11 +703,14 @@ public com.google.cloud.talent.v4.Tenant getTenant() { } } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { @@ -648,14 +726,16 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTenant( - com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -666,17 +746,20 @@ public Builder setTenant( return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -688,11 +771,14 @@ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -706,55 +792,66 @@ public Builder clearTenant() { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? - com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( - getTenant(), - getParentForChildren(), - isClean()); + tenantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder>( + getTenant(), getParentForChildren(), isClean()); tenant_ = null; } return tenantBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +861,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateTenantRequest) private static final com.google.cloud.talent.v4.CreateTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateTenantRequest(); } @@ -778,27 +875,27 @@ public static com.google.cloud.talent.v4.CreateTenantRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +910,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java index e8e2bee8de7c..89cb7dd214e6 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java @@ -1,60 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; -public interface CreateTenantRequestOrBuilder extends +public interface CreateTenantRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateTenantRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ boolean hasTenant(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ com.google.cloud.talent.v4.Tenant getTenant(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java index 7c745131ca94..c018ac2ca749 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Custom attribute values that are either filterable or non-filterable.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CustomAttribute} */ -public final class CustomAttribute extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CustomAttribute) CustomAttributeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomAttribute.newBuilder() to construct. private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; longValues_ = emptyLongList(); @@ -26,32 +44,35 @@ private CustomAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CustomAttribute.class, com.google.cloud.talent.v4.CustomAttribute.Builder.class); + com.google.cloud.talent.v4.CustomAttribute.class, + com.google.cloud.talent.v4.CustomAttribute.Builder.class); } public static final int STRING_VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList stringValues_; /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -64,13 +85,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList - getStringValuesList() { + public com.google.protobuf.ProtocolStringList getStringValuesList() { return stringValues_; } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -83,12 +106,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -101,6 +127,7 @@ public int getStringValuesCount() {
    * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -108,6 +135,8 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -120,17 +149,19 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString - getStringValuesBytes(int index) { + public com.google.protobuf.ByteString getStringValuesBytes(int index) { return stringValues_.getByteString(index); } public static final int LONG_VALUES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList longValues_; /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -139,14 +170,16 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ @java.lang.Override - public java.util.List - getLongValuesList() { + public java.util.List getLongValuesList() { return longValues_; } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -155,12 +188,15 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -169,17 +205,21 @@ public int getLongValuesCount() {
    * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ public long getLongValues(int index) { return longValues_.getLong(index); } + private int longValuesMemoizedSerializedSize = -1; public static final int FILTERABLE_FIELD_NUMBER = 3; private boolean filterable_; /** + * + * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -188,6 +228,7 @@ public long getLongValues(int index) {
    * 
* * bool filterable = 3; + * * @return The filterable. */ @java.lang.Override @@ -198,6 +239,8 @@ public boolean getFilterable() { public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER = 4; private boolean keywordSearchable_; /** + * + * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -206,6 +249,7 @@ public boolean getFilterable() {
    * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ @java.lang.Override @@ -214,6 +258,7 @@ public boolean getKeywordSearchable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stringValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValues_.getRaw(i)); @@ -264,24 +308,21 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt64SizeNoTag(longValues_.getLong(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } longValuesMemoizedSerializedSize = dataSize; } if (filterable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, filterable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterable_); } if (keywordSearchable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, keywordSearchable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, keywordSearchable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,21 +332,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CustomAttribute)) { return super.equals(obj); } - com.google.cloud.talent.v4.CustomAttribute other = (com.google.cloud.talent.v4.CustomAttribute) obj; - - if (!getStringValuesList() - .equals(other.getStringValuesList())) return false; - if (!getLongValuesList() - .equals(other.getLongValuesList())) return false; - if (getFilterable() - != other.getFilterable()) return false; - if (getKeywordSearchable() - != other.getKeywordSearchable()) return false; + com.google.cloud.talent.v4.CustomAttribute other = + (com.google.cloud.talent.v4.CustomAttribute) obj; + + if (!getStringValuesList().equals(other.getStringValuesList())) return false; + if (!getLongValuesList().equals(other.getLongValuesList())) return false; + if (getFilterable() != other.getFilterable()) return false; + if (getKeywordSearchable() != other.getKeywordSearchable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,140 +364,144 @@ public int hashCode() { hash = (53 * hash) + getLongValuesList().hashCode(); } hash = (37 * hash) + FILTERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFilterable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterable()); hash = (37 * hash) + KEYWORD_SEARCHABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getKeywordSearchable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeywordSearchable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CustomAttribute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CustomAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Custom attribute values that are either filterable or non-filterable.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CustomAttribute} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CustomAttribute) com.google.cloud.talent.v4.CustomAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CustomAttribute.class, com.google.cloud.talent.v4.CustomAttribute.Builder.class); + com.google.cloud.talent.v4.CustomAttribute.class, + com.google.cloud.talent.v4.CustomAttribute.Builder.class); } // Construct using com.google.cloud.talent.v4.CustomAttribute.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override @@ -496,7 +538,8 @@ public com.google.cloud.talent.v4.CustomAttribute build() { @java.lang.Override public com.google.cloud.talent.v4.CustomAttribute buildPartial() { - com.google.cloud.talent.v4.CustomAttribute result = new com.google.cloud.talent.v4.CustomAttribute(this); + com.google.cloud.talent.v4.CustomAttribute result = + new com.google.cloud.talent.v4.CustomAttribute(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); @@ -518,38 +561,39 @@ public com.google.cloud.talent.v4.CustomAttribute buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CustomAttribute) { - return mergeFrom((com.google.cloud.talent.v4.CustomAttribute)other); + return mergeFrom((com.google.cloud.talent.v4.CustomAttribute) other); } else { super.mergeFrom(other); return this; @@ -610,44 +654,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureStringValuesIsMutable(); - stringValues_.add(s); - break; - } // case 10 - case 16: { - long v = input.readInt64(); - ensureLongValuesIsMutable(); - longValues_.addLong(v); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureLongValuesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - longValues_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 18 - case 24: { - filterable_ = input.readBool(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureStringValuesIsMutable(); + stringValues_.add(s); + break; + } // case 10 + case 16: + { + long v = input.readInt64(); + ensureLongValuesIsMutable(); + longValues_.addLong(v); + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureLongValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + longValues_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 18 + case 24: + { + filterable_ = input.readBool(); - break; - } // case 24 - case 32: { - keywordSearchable_ = input.readBool(); + break; + } // case 24 + case 32: + { + keywordSearchable_ = input.readBool(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,16 +707,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList stringValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureStringValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -679,13 +734,15 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList - getStringValuesList() { + public com.google.protobuf.ProtocolStringList getStringValuesList() { return stringValues_.getUnmodifiableView(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -698,12 +755,15 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -716,6 +776,7 @@ public int getStringValuesCount() {
      * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -723,6 +784,8 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -735,14 +798,16 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString - getStringValuesBytes(int index) { + public com.google.protobuf.ByteString getStringValuesBytes(int index) { return stringValues_.getByteString(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -755,21 +820,23 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; + * * @param index The index to set the value at. * @param value The stringValues to set. * @return This builder for chaining. */ - public Builder setStringValues( - int index, java.lang.String value) { + public Builder setStringValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.set(index, value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -782,20 +849,22 @@ public Builder setStringValues(
      * 
* * repeated string string_values = 1; + * * @param value The stringValues to add. * @return This builder for chaining. */ - public Builder addStringValues( - java.lang.String value) { + public Builder addStringValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -808,18 +877,19 @@ public Builder addStringValues(
      * 
* * repeated string string_values = 1; + * * @param values The stringValues to add. * @return This builder for chaining. */ - public Builder addAllStringValues( - java.lang.Iterable values) { + public Builder addAllStringValues(java.lang.Iterable values) { ensureStringValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stringValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stringValues_); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -832,6 +902,7 @@ public Builder addAllStringValues(
      * 
* * repeated string string_values = 1; + * * @return This builder for chaining. */ public Builder clearStringValues() { @@ -841,6 +912,8 @@ public Builder clearStringValues() { return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -853,15 +926,15 @@ public Builder clearStringValues() {
      * 
* * repeated string string_values = 1; + * * @param value The bytes of the stringValues to add. * @return This builder for chaining. */ - public Builder addStringValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); @@ -869,13 +942,16 @@ public Builder addStringValuesBytes( } private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); + private void ensureLongValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -884,14 +960,17 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ - public java.util.List - getLongValuesList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(longValues_) : longValues_; + public java.util.List getLongValuesList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(longValues_) + : longValues_; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -900,12 +979,15 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -914,6 +996,7 @@ public int getLongValuesCount() {
      * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ @@ -921,6 +1004,8 @@ public long getLongValues(int index) { return longValues_.getLong(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -929,18 +1014,20 @@ public long getLongValues(int index) {
      * 
* * repeated int64 long_values = 2; + * * @param index The index to set the value at. * @param value The longValues to set. * @return This builder for chaining. */ - public Builder setLongValues( - int index, long value) { + public Builder setLongValues(int index, long value) { ensureLongValuesIsMutable(); longValues_.setLong(index, value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -949,6 +1036,7 @@ public Builder setLongValues(
      * 
* * repeated int64 long_values = 2; + * * @param value The longValues to add. * @return This builder for chaining. */ @@ -959,6 +1047,8 @@ public Builder addLongValues(long value) { return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -967,18 +1057,19 @@ public Builder addLongValues(long value) {
      * 
* * repeated int64 long_values = 2; + * * @param values The longValues to add. * @return This builder for chaining. */ - public Builder addAllLongValues( - java.lang.Iterable values) { + public Builder addAllLongValues(java.lang.Iterable values) { ensureLongValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, longValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, longValues_); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -987,6 +1078,7 @@ public Builder addAllLongValues(
      * 
* * repeated int64 long_values = 2; + * * @return This builder for chaining. */ public Builder clearLongValues() { @@ -996,8 +1088,10 @@ public Builder clearLongValues() { return this; } - private boolean filterable_ ; + private boolean filterable_; /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1006,6 +1100,7 @@ public Builder clearLongValues() {
      * 
* * bool filterable = 3; + * * @return The filterable. */ @java.lang.Override @@ -1013,6 +1108,8 @@ public boolean getFilterable() { return filterable_; } /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1021,16 +1118,19 @@ public boolean getFilterable() {
      * 
* * bool filterable = 3; + * * @param value The filterable to set. * @return This builder for chaining. */ public Builder setFilterable(boolean value) { - + filterable_ = value; onChanged(); return this; } /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1039,17 +1139,20 @@ public Builder setFilterable(boolean value) {
      * 
* * bool filterable = 3; + * * @return This builder for chaining. */ public Builder clearFilterable() { - + filterable_ = false; onChanged(); return this; } - private boolean keywordSearchable_ ; + private boolean keywordSearchable_; /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1058,6 +1161,7 @@ public Builder clearFilterable() {
      * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ @java.lang.Override @@ -1065,6 +1169,8 @@ public boolean getKeywordSearchable() { return keywordSearchable_; } /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1073,16 +1179,19 @@ public boolean getKeywordSearchable() {
      * 
* * bool keyword_searchable = 4; + * * @param value The keywordSearchable to set. * @return This builder for chaining. */ public Builder setKeywordSearchable(boolean value) { - + keywordSearchable_ = value; onChanged(); return this; } /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1091,17 +1200,18 @@ public Builder setKeywordSearchable(boolean value) {
      * 
* * bool keyword_searchable = 4; + * * @return This builder for chaining. */ public Builder clearKeywordSearchable() { - + keywordSearchable_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,12 +1221,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CustomAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CustomAttribute) private static final com.google.cloud.talent.v4.CustomAttribute DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CustomAttribute(); } @@ -1125,27 +1235,27 @@ public static com.google.cloud.talent.v4.CustomAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,6 +1270,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CustomAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java similarity index 86% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java index 615a9906c0ed..4e5b0b8c40d0 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface CustomAttributeOrBuilder extends +public interface CustomAttributeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CustomAttribute) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -20,11 +38,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - java.util.List - getStringValuesList(); + java.util.List getStringValuesList(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -37,10 +57,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ int getStringValuesCount(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -53,11 +76,14 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ java.lang.String getStringValues(int index); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -70,13 +96,15 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - com.google.protobuf.ByteString - getStringValuesBytes(int index); + com.google.protobuf.ByteString getStringValuesBytes(int index); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -85,10 +113,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ java.util.List getLongValuesList(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -97,10 +128,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ int getLongValuesCount(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -109,12 +143,15 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ long getLongValues(int index); /** + * + * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -123,11 +160,14 @@ public interface CustomAttributeOrBuilder extends
    * 
* * bool filterable = 3; + * * @return The filterable. */ boolean getFilterable(); /** + * + * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -136,6 +176,7 @@ public interface CustomAttributeOrBuilder extends
    * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ boolean getKeywordSearchable(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java similarity index 81% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java index 44b626ae30e6..90502af83217 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Educational degree level defined in International Standard Classification
  * of Education (ISCED).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.DegreeType}
  */
-public enum DegreeType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -24,6 +42,8 @@ public enum DegreeType
    */
   DEGREE_TYPE_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -34,6 +54,8 @@ public enum DegreeType
    */
   PRIMARY_EDUCATION(1),
   /**
+   *
+   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -45,6 +67,8 @@ public enum DegreeType
    */
   LOWER_SECONDARY_EDUCATION(2),
   /**
+   *
+   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -57,6 +81,8 @@ public enum DegreeType
    */
   UPPER_SECONDARY_EDUCATION(3),
   /**
+   *
+   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -68,6 +94,8 @@ public enum DegreeType
    */
   ADULT_REMEDIAL_EDUCATION(4),
   /**
+   *
+   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -79,6 +107,8 @@ public enum DegreeType
    */
   ASSOCIATES_OR_EQUIVALENT(5),
   /**
+   *
+   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -89,6 +119,8 @@ public enum DegreeType
    */
   BACHELORS_OR_EQUIVALENT(6),
   /**
+   *
+   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -99,6 +131,8 @@ public enum DegreeType
    */
   MASTERS_OR_EQUIVALENT(7),
   /**
+   *
+   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -113,6 +147,8 @@ public enum DegreeType
   ;
 
   /**
+   *
+   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -123,6 +159,8 @@ public enum DegreeType
    */
   public static final int DEGREE_TYPE_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -133,6 +171,8 @@ public enum DegreeType
    */
   public static final int PRIMARY_EDUCATION_VALUE = 1;
   /**
+   *
+   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -144,6 +184,8 @@ public enum DegreeType
    */
   public static final int LOWER_SECONDARY_EDUCATION_VALUE = 2;
   /**
+   *
+   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -156,6 +198,8 @@ public enum DegreeType
    */
   public static final int UPPER_SECONDARY_EDUCATION_VALUE = 3;
   /**
+   *
+   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -167,6 +211,8 @@ public enum DegreeType
    */
   public static final int ADULT_REMEDIAL_EDUCATION_VALUE = 4;
   /**
+   *
+   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -178,6 +224,8 @@ public enum DegreeType
    */
   public static final int ASSOCIATES_OR_EQUIVALENT_VALUE = 5;
   /**
+   *
+   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -188,6 +236,8 @@ public enum DegreeType
    */
   public static final int BACHELORS_OR_EQUIVALENT_VALUE = 6;
   /**
+   *
+   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -198,6 +248,8 @@ public enum DegreeType
    */
   public static final int MASTERS_OR_EQUIVALENT_VALUE = 7;
   /**
+   *
+   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -209,7 +261,6 @@ public enum DegreeType
    */
   public static final int DOCTORAL_OR_EQUIVALENT_VALUE = 8;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -234,55 +285,61 @@ public static DegreeType valueOf(int value) {
    */
   public static DegreeType forNumber(int value) {
     switch (value) {
-      case 0: return DEGREE_TYPE_UNSPECIFIED;
-      case 1: return PRIMARY_EDUCATION;
-      case 2: return LOWER_SECONDARY_EDUCATION;
-      case 3: return UPPER_SECONDARY_EDUCATION;
-      case 4: return ADULT_REMEDIAL_EDUCATION;
-      case 5: return ASSOCIATES_OR_EQUIVALENT;
-      case 6: return BACHELORS_OR_EQUIVALENT;
-      case 7: return MASTERS_OR_EQUIVALENT;
-      case 8: return DOCTORAL_OR_EQUIVALENT;
-      default: return null;
+      case 0:
+        return DEGREE_TYPE_UNSPECIFIED;
+      case 1:
+        return PRIMARY_EDUCATION;
+      case 2:
+        return LOWER_SECONDARY_EDUCATION;
+      case 3:
+        return UPPER_SECONDARY_EDUCATION;
+      case 4:
+        return ADULT_REMEDIAL_EDUCATION;
+      case 5:
+        return ASSOCIATES_OR_EQUIVALENT;
+      case 6:
+        return BACHELORS_OR_EQUIVALENT;
+      case 7:
+        return MASTERS_OR_EQUIVALENT;
+      case 8:
+        return DOCTORAL_OR_EQUIVALENT;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      DegreeType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DegreeType findValueByNumber(int number) {
-            return DegreeType.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public DegreeType findValueByNumber(int number) {
+          return DegreeType.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DegreeType[] VALUES = values();
 
-  public static DegreeType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DegreeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -298,4 +355,3 @@ private DegreeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.DegreeType)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
similarity index 63%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
index 93deb0f2099f..2da2c22c4e7b 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Request to delete a company.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteCompanyRequest} */ -public final class DeleteCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteCompanyRequest) DeleteCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCompanyRequest.newBuilder() to construct. private DeleteCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteCompanyRequest.class, com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4.DeleteCompanyRequest.class, + com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -82,17 +107,18 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteCompanyRequest other = (com.google.cloud.talent.v4.DeleteCompanyRequest) obj; + com.google.cloud.talent.v4.DeleteCompanyRequest other = + (com.google.cloud.talent.v4.DeleteCompanyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +190,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.DeleteCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteCompanyRequest) com.google.cloud.talent.v4.DeleteCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteCompanyRequest.class, com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4.DeleteCompanyRequest.class, + com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteCompanyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override @@ -318,7 +350,8 @@ public com.google.cloud.talent.v4.DeleteCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteCompanyRequest buildPartial() { - com.google.cloud.talent.v4.DeleteCompanyRequest result = new com.google.cloud.talent.v4.DeleteCompanyRequest(this); + com.google.cloud.talent.v4.DeleteCompanyRequest result = + new com.google.cloud.talent.v4.DeleteCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -328,38 +361,39 @@ public com.google.cloud.talent.v4.DeleteCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4.DeleteCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.DeleteCompanyRequest other) { - if (other == com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -398,17 +433,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +458,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -428,14 +467,16 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -444,6 +485,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -451,16 +494,17 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -468,6 +512,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -475,21 +521,25 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -497,16 +547,21 @@ public Builder setName(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -514,24 +569,26 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteCompanyRequest) private static final com.google.cloud.talent.v4.DeleteCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteCompanyRequest(); } @@ -555,27 +612,27 @@ public static com.google.cloud.talent.v4.DeleteCompanyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java new file mode 100644 index 000000000000..6090689c4054 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteCompanyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteCompanyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the company to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/foo/tenants/bar/companies/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the company to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/foo/tenants/bar/companies/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java similarity index 63% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java index 8a44c70102bb..6cab46260b34 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Delete job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteJobRequest} */ -public final class DeleteJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteJobRequest) DeleteJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteJobRequest.class, com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4.DeleteJobRequest.class, + com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -82,17 +107,18 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteJobRequest other = (com.google.cloud.talent.v4.DeleteJobRequest) obj; + com.google.cloud.talent.v4.DeleteJobRequest other = + (com.google.cloud.talent.v4.DeleteJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +190,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteJobRequest) com.google.cloud.talent.v4.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteJobRequest.class, com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4.DeleteJobRequest.class, + com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override @@ -318,7 +350,8 @@ public com.google.cloud.talent.v4.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteJobRequest buildPartial() { - com.google.cloud.talent.v4.DeleteJobRequest result = new com.google.cloud.talent.v4.DeleteJobRequest(this); + com.google.cloud.talent.v4.DeleteJobRequest result = + new com.google.cloud.talent.v4.DeleteJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -328,38 +361,39 @@ public com.google.cloud.talent.v4.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4.DeleteJobRequest) other); } else { super.mergeFrom(other); return this; @@ -398,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +457,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -428,14 +466,16 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -444,6 +484,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -451,16 +493,17 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -468,6 +511,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -475,21 +520,25 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -497,16 +546,21 @@ public Builder setName(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -514,24 +568,26 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteJobRequest) private static final com.google.cloud.talent.v4.DeleteJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteJobRequest(); } @@ -555,27 +611,27 @@ public static com.google.cloud.talent.v4.DeleteJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java new file mode 100644 index 000000000000..67be0b74c015 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the job to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the job to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java similarity index 63% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java index f8278eef1458..b50070cdf943 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Request to delete a tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteTenantRequest} */ -public final class DeleteTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteTenantRequest) DeleteTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTenantRequest.newBuilder() to construct. private DeleteTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteTenantRequest.class, com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4.DeleteTenantRequest.class, + com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteTenantRequest other = (com.google.cloud.talent.v4.DeleteTenantRequest) obj; + com.google.cloud.talent.v4.DeleteTenantRequest other = + (com.google.cloud.talent.v4.DeleteTenantRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.DeleteTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteTenantRequest) com.google.cloud.talent.v4.DeleteTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteTenantRequest.class, com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4.DeleteTenantRequest.class, + com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteTenantRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.talent.v4.DeleteTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteTenantRequest buildPartial() { - com.google.cloud.talent.v4.DeleteTenantRequest result = new com.google.cloud.talent.v4.DeleteTenantRequest(this); + com.google.cloud.talent.v4.DeleteTenantRequest result = + new com.google.cloud.talent.v4.DeleteTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.talent.v4.DeleteTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4.DeleteTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -396,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +455,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +481,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,67 +507,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteTenantRequest) private static final com.google.cloud.talent.v4.DeleteTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteTenantRequest(); } @@ -548,27 +604,27 @@ public static com.google.cloud.talent.v4.DeleteTenantRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java new file mode 100644 index 000000000000..52c6779909ed --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteTenantRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java similarity index 69% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java index 09c27b3b8207..7bcd0eb2b9c1 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Device information collected from the job seeker, candidate, or
  * other entity conducting the job search. Providing this information improves
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.DeviceInfo}
  */
-public final class DeviceInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeviceInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeviceInfo)
     DeviceInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeviceInfo.newBuilder() to construct.
   private DeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeviceInfo() {
     deviceType_ = 0;
     id_ = "";
@@ -28,39 +46,43 @@ private DeviceInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeviceInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.DeviceInfo.class, com.google.cloud.talent.v4.DeviceInfo.Builder.class);
+            com.google.cloud.talent.v4.DeviceInfo.class,
+            com.google.cloud.talent.v4.DeviceInfo.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enumeration describing an API access portal and exposure mechanism.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.DeviceInfo.DeviceType} */ - public enum DeviceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The device type isn't specified.
      * 
@@ -69,6 +91,8 @@ public enum DeviceType */ DEVICE_TYPE_UNSPECIFIED(0), /** + * + * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -78,6 +102,8 @@ public enum DeviceType
      */
     WEB(1),
     /**
+     *
+     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -87,6 +113,8 @@ public enum DeviceType
      */
     MOBILE_WEB(2),
     /**
+     *
+     *
      * 
      * An Android device native application.
      * 
@@ -95,6 +123,8 @@ public enum DeviceType */ ANDROID(3), /** + * + * *
      * An iOS device native application.
      * 
@@ -103,6 +133,8 @@ public enum DeviceType */ IOS(4), /** + * + * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -112,6 +144,8 @@ public enum DeviceType
      */
     BOT(5),
     /**
+     *
+     *
      * 
      * Other devices types.
      * 
@@ -123,6 +157,8 @@ public enum DeviceType ; /** + * + * *
      * The device type isn't specified.
      * 
@@ -131,6 +167,8 @@ public enum DeviceType */ public static final int DEVICE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -140,6 +178,8 @@ public enum DeviceType
      */
     public static final int WEB_VALUE = 1;
     /**
+     *
+     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -149,6 +189,8 @@ public enum DeviceType
      */
     public static final int MOBILE_WEB_VALUE = 2;
     /**
+     *
+     *
      * 
      * An Android device native application.
      * 
@@ -157,6 +199,8 @@ public enum DeviceType */ public static final int ANDROID_VALUE = 3; /** + * + * *
      * An iOS device native application.
      * 
@@ -165,6 +209,8 @@ public enum DeviceType */ public static final int IOS_VALUE = 4; /** + * + * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -174,6 +220,8 @@ public enum DeviceType
      */
     public static final int BOT_VALUE = 5;
     /**
+     *
+     *
      * 
      * Other devices types.
      * 
@@ -182,7 +230,6 @@ public enum DeviceType */ public static final int OTHER_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,53 +254,57 @@ public static DeviceType valueOf(int value) { */ public static DeviceType forNumber(int value) { switch (value) { - case 0: return DEVICE_TYPE_UNSPECIFIED; - case 1: return WEB; - case 2: return MOBILE_WEB; - case 3: return ANDROID; - case 4: return IOS; - case 5: return BOT; - case 6: return OTHER; - default: return null; + case 0: + return DEVICE_TYPE_UNSPECIFIED; + case 1: + return WEB; + case 2: + return MOBILE_WEB; + case 3: + return ANDROID; + case 4: + return IOS; + case 5: + return BOT; + case 6: + return OTHER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DeviceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeviceType findValueByNumber(int number) { - return DeviceType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final DeviceType[] VALUES = values(); - public static DeviceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -273,39 +324,51 @@ private DeviceType(int value) { public static final int DEVICE_TYPE_FIELD_NUMBER = 1; private int deviceType_; /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override public int getDeviceTypeValue() { + @java.lang.Override + public int getDeviceTypeValue() { return deviceType_; } /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ - @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { + @java.lang.Override + public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.DeviceInfo.DeviceType result = com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); + com.google.cloud.talent.v4.DeviceInfo.DeviceType result = + com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); return result == null ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED : result; } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -314,30 +377,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -346,6 +409,7 @@ public java.lang.String getId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,9 +421,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (deviceType_ != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (deviceType_ + != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { @@ -374,9 +438,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (deviceType_ != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, deviceType_); + if (deviceType_ + != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); @@ -389,7 +453,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeviceInfo)) { return super.equals(obj); @@ -397,8 +461,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4.DeviceInfo other = (com.google.cloud.talent.v4.DeviceInfo) obj; if (deviceType_ != other.deviceType_) return false; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -419,97 +482,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeviceInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.DeviceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeviceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeviceInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.DeviceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Device information collected from the job seeker, candidate, or
    * other entity conducting the job search. Providing this information improves
@@ -518,33 +587,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.DeviceInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeviceInfo)
       com.google.cloud.talent.v4.DeviceInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.DeviceInfo.class, com.google.cloud.talent.v4.DeviceInfo.Builder.class);
+              com.google.cloud.talent.v4.DeviceInfo.class,
+              com.google.cloud.talent.v4.DeviceInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.DeviceInfo.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -556,9 +624,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
@@ -577,7 +645,8 @@ public com.google.cloud.talent.v4.DeviceInfo build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.DeviceInfo buildPartial() {
-      com.google.cloud.talent.v4.DeviceInfo result = new com.google.cloud.talent.v4.DeviceInfo(this);
+      com.google.cloud.talent.v4.DeviceInfo result =
+          new com.google.cloud.talent.v4.DeviceInfo(this);
       result.deviceType_ = deviceType_;
       result.id_ = id_;
       onBuilt();
@@ -588,38 +657,39 @@ public com.google.cloud.talent.v4.DeviceInfo buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.DeviceInfo) {
-        return mergeFrom((com.google.cloud.talent.v4.DeviceInfo)other);
+        return mergeFrom((com.google.cloud.talent.v4.DeviceInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -661,22 +731,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              deviceType_ = input.readEnum();
+            case 8:
+              {
+                deviceType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              id_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                id_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -689,51 +762,67 @@ public Builder mergeFrom(
 
     private int deviceType_ = 0;
     /**
+     *
+     *
      * 
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override public int getDeviceTypeValue() { + @java.lang.Override + public int getDeviceTypeValue() { return deviceType_; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @param value The enum numeric value on the wire for deviceType to set. * @return This builder for chaining. */ public Builder setDeviceTypeValue(int value) { - + deviceType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.DeviceInfo.DeviceType result = com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.DeviceInfo.DeviceType result = + com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null + ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @param value The deviceType to set. * @return This builder for chaining. */ @@ -741,21 +830,24 @@ public Builder setDeviceType(com.google.cloud.talent.v4.DeviceInfo.DeviceType va if (value == null) { throw new NullPointerException(); } - + deviceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return This builder for chaining. */ public Builder clearDeviceType() { - + deviceType_ = 0; onChanged(); return this; @@ -763,19 +855,21 @@ public Builder clearDeviceType() { private java.lang.Object id_ = ""; /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -784,21 +878,22 @@ public java.lang.String getId() { } } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -806,64 +901,71 @@ public java.lang.String getId() { } } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -873,12 +975,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeviceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeviceInfo) private static final com.google.cloud.talent.v4.DeviceInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeviceInfo(); } @@ -887,27 +989,27 @@ public static com.google.cloud.talent.v4.DeviceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeviceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeviceInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1024,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeviceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java similarity index 61% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java index d9e3b12e249b..552aded20b59 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java @@ -1,50 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface DeviceInfoOrBuilder extends +public interface DeviceInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeviceInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ int getDeviceTypeValue(); /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType(); /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java index 417f22f3c186..3a124a215e15 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * An enum that represents the employment type of a job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.EmploymentType} */ -public enum EmploymentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value if the employment type isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum EmploymentType */ EMPLOYMENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -30,6 +50,8 @@ public enum EmploymentType
    */
   FULL_TIME(1),
   /**
+   *
+   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -39,6 +61,8 @@ public enum EmploymentType
    */
   PART_TIME(2),
   /**
+   *
+   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -48,6 +72,8 @@ public enum EmploymentType
    */
   CONTRACTOR(3),
   /**
+   *
+   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -59,6 +85,8 @@ public enum EmploymentType
    */
   CONTRACT_TO_HIRE(4),
   /**
+   *
+   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -68,6 +96,8 @@ public enum EmploymentType
    */
   TEMPORARY(5),
   /**
+   *
+   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -78,6 +108,8 @@ public enum EmploymentType
    */
   INTERN(6),
   /**
+   *
+   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -87,6 +119,8 @@ public enum EmploymentType
    */
   VOLUNTEER(7),
   /**
+   *
+   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -96,6 +130,8 @@ public enum EmploymentType
    */
   PER_DIEM(8),
   /**
+   *
+   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -106,6 +142,8 @@ public enum EmploymentType
    */
   FLY_IN_FLY_OUT(9),
   /**
+   *
+   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -117,6 +155,8 @@ public enum EmploymentType ; /** + * + * *
    * The default value if the employment type isn't specified.
    * 
@@ -125,6 +165,8 @@ public enum EmploymentType */ public static final int EMPLOYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -134,6 +176,8 @@ public enum EmploymentType
    */
   public static final int FULL_TIME_VALUE = 1;
   /**
+   *
+   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -143,6 +187,8 @@ public enum EmploymentType
    */
   public static final int PART_TIME_VALUE = 2;
   /**
+   *
+   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -152,6 +198,8 @@ public enum EmploymentType
    */
   public static final int CONTRACTOR_VALUE = 3;
   /**
+   *
+   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -163,6 +211,8 @@ public enum EmploymentType
    */
   public static final int CONTRACT_TO_HIRE_VALUE = 4;
   /**
+   *
+   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -172,6 +222,8 @@ public enum EmploymentType
    */
   public static final int TEMPORARY_VALUE = 5;
   /**
+   *
+   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -182,6 +234,8 @@ public enum EmploymentType
    */
   public static final int INTERN_VALUE = 6;
   /**
+   *
+   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -191,6 +245,8 @@ public enum EmploymentType
    */
   public static final int VOLUNTEER_VALUE = 7;
   /**
+   *
+   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -200,6 +256,8 @@ public enum EmploymentType
    */
   public static final int PER_DIEM_VALUE = 8;
   /**
+   *
+   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -210,6 +268,8 @@ public enum EmploymentType
    */
   public static final int FLY_IN_FLY_OUT_VALUE = 9;
   /**
+   *
+   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -218,7 +278,6 @@ public enum EmploymentType */ public static final int OTHER_EMPLOYMENT_TYPE_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -243,57 +302,65 @@ public static EmploymentType valueOf(int value) { */ public static EmploymentType forNumber(int value) { switch (value) { - case 0: return EMPLOYMENT_TYPE_UNSPECIFIED; - case 1: return FULL_TIME; - case 2: return PART_TIME; - case 3: return CONTRACTOR; - case 4: return CONTRACT_TO_HIRE; - case 5: return TEMPORARY; - case 6: return INTERN; - case 7: return VOLUNTEER; - case 8: return PER_DIEM; - case 9: return FLY_IN_FLY_OUT; - case 10: return OTHER_EMPLOYMENT_TYPE; - default: return null; + case 0: + return EMPLOYMENT_TYPE_UNSPECIFIED; + case 1: + return FULL_TIME; + case 2: + return PART_TIME; + case 3: + return CONTRACTOR; + case 4: + return CONTRACT_TO_HIRE; + case 5: + return TEMPORARY; + case 6: + return INTERN; + case 7: + return VOLUNTEER; + case 8: + return PER_DIEM; + case 9: + return FLY_IN_FLY_OUT; + case 10: + return OTHER_EMPLOYMENT_TYPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EmploymentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EmploymentType findValueByNumber(int number) { - return EmploymentType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EmploymentType findValueByNumber(int number) { + return EmploymentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(3); } private static final EmploymentType[] VALUES = values(); - public static EmploymentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EmploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -309,4 +376,3 @@ private EmploymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.EmploymentType) } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java new file mode 100644 index 000000000000..f8522a8fa5fc --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java @@ -0,0 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/event.proto + +package com.google.cloud.talent.v4; + +public final class EventProto { + private EventProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_ClientEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_JobEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/talent/v4/event.proto\022\026go" + + "ogle.cloud.talent.v4\032\037google/api/field_b" + + "ehavior.proto\032\037google/protobuf/timestamp" + + ".proto\"\303\001\n\013ClientEvent\022\022\n\nrequest_id\030\001 \001" + + "(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013create_time" + + "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "5\n\tjob_event\030\005 \001(\0132 .google.cloud.talent" + + ".v4.JobEventH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005e" + + "vent\"\340\003\n\010JobEvent\022@\n\004type\030\001 \001(\0162-.google" + + ".cloud.talent.v4.JobEvent.JobEventTypeB\003" + + "\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340A\002\"\376\002\n\014JobEventType\022" + + "\036\n\032JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE" + + "SSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021" + + "APPLICATION_START\020\004\022\026\n\022APPLICATION_FINIS" + + "H\020\005\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n" + + "\024APPLICATION_REDIRECT\020\007\022!\n\035APPLICATION_S" + + "TART_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRE" + + "CT_FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_" + + "SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014" + + "\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GR" + + "ANTED\020\017Bn\n\032com.google.cloud.talent.v4B\nE" + + "ventProtoP\001Z\n\014client_event\030\002 \001" + + "(\0132#.google.cloud.talent.v4.ClientEventB" + + "\003\340A\0022\305\002\n\014EventService\022\306\001\n\021CreateClientEv" + + "ent\0220.google.cloud.talent.v4.CreateClien" + + "tEventRequest\032#.google.cloud.talent.v4.C" + + "lientEvent\"Z\202\323\344\223\002>\"./v4/{parent=projects" + + "/*/tenants/*}/clientEvents:\014client_event" + + "\332A\023parent,client_event\032l\312A\023jobs.googleap" + + "is.com\322AShttps://www.googleapis.com/auth" + + "/cloud-platform,https://www.googleapis.c" + + "om/auth/jobsBu\n\032com.google.cloud.talent." + + "v4B\021EventServiceProtoP\001Z * Request for getting a company by name. *
* * Protobuf type {@code google.cloud.talent.v4.GetCompanyRequest} */ -public final class GetCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetCompanyRequest) GetCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCompanyRequest.newBuilder() to construct. private GetCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetCompanyRequest.class, com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4.GetCompanyRequest.class, + com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * example, "projects/api-test-project/tenants/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -82,17 +107,18 @@ public java.lang.String getName() {
    * example, "projects/api-test-project/tenants/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.GetCompanyRequest other = (com.google.cloud.talent.v4.GetCompanyRequest) obj; + com.google.cloud.talent.v4.GetCompanyRequest other = + (com.google.cloud.talent.v4.GetCompanyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +190,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.GetCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for getting a company by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetCompanyRequest) com.google.cloud.talent.v4.GetCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetCompanyRequest.class, com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4.GetCompanyRequest.class, + com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetCompanyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override @@ -318,7 +350,8 @@ public com.google.cloud.talent.v4.GetCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetCompanyRequest buildPartial() { - com.google.cloud.talent.v4.GetCompanyRequest result = new com.google.cloud.talent.v4.GetCompanyRequest(this); + com.google.cloud.talent.v4.GetCompanyRequest result = + new com.google.cloud.talent.v4.GetCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -328,38 +361,39 @@ public com.google.cloud.talent.v4.GetCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4.GetCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -398,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +457,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -428,14 +466,16 @@ public Builder mergeFrom(
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -444,6 +484,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -451,16 +493,17 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -468,6 +511,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -475,21 +520,25 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -497,16 +546,21 @@ public Builder setName(
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -514,24 +568,26 @@ public Builder clearName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetCompanyRequest) private static final com.google.cloud.talent.v4.GetCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetCompanyRequest(); } @@ -555,27 +611,27 @@ public static com.google.cloud.talent.v4.GetCompanyRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java new file mode 100644 index 000000000000..a713a659f982 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company_service.proto + +package com.google.cloud.talent.v4; + +public interface GetCompanyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetCompanyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the company to be retrieved.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/api-test-project/tenants/foo/companies/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the company to be retrieved.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/api-test-project/tenants/foo/companies/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java similarity index 63% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java index 9938f00d8c9d..9aa0cfdf5830 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.GetJobRequest} */ -public final class GetJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetJobRequest) GetJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetJobRequest.class, com.google.cloud.talent.v4.GetJobRequest.Builder.class); + com.google.cloud.talent.v4.GetJobRequest.class, + com.google.cloud.talent.v4.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -82,17 +107,18 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +163,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetJobRequest)) { return super.equals(obj); } com.google.cloud.talent.v4.GetJobRequest other = (com.google.cloud.talent.v4.GetJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +189,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetJobRequest) com.google.cloud.talent.v4.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetJobRequest.class, com.google.cloud.talent.v4.GetJobRequest.Builder.class); + com.google.cloud.talent.v4.GetJobRequest.class, + com.google.cloud.talent.v4.GetJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override @@ -318,7 +349,8 @@ public com.google.cloud.talent.v4.GetJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetJobRequest buildPartial() { - com.google.cloud.talent.v4.GetJobRequest result = new com.google.cloud.talent.v4.GetJobRequest(this); + com.google.cloud.talent.v4.GetJobRequest result = + new com.google.cloud.talent.v4.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -328,38 +360,39 @@ public com.google.cloud.talent.v4.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4.GetJobRequest) other); } else { super.mergeFrom(other); return this; @@ -398,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +456,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -428,14 +465,16 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -444,6 +483,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -451,16 +492,17 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -468,6 +510,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -475,21 +519,25 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -497,16 +545,21 @@ public Builder setName(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -514,24 +567,26 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +596,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetJobRequest) private static final com.google.cloud.talent.v4.GetJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetJobRequest(); } @@ -555,27 +610,27 @@ public static com.google.cloud.talent.v4.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java new file mode 100644 index 000000000000..2cd5e9050380 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job_service.proto + +package com.google.cloud.talent.v4; + +public interface GetJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the job to retrieve.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the job to retrieve.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java similarity index 62% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java index 8c912d688699..2abcbdcc018d 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Request for getting a tenant by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4.GetTenantRequest} */ -public final class GetTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetTenantRequest) GetTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTenantRequest.newBuilder() to construct. private GetTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetTenantRequest.class, com.google.cloud.talent.v4.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4.GetTenantRequest.class, + com.google.cloud.talent.v4.GetTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.GetTenantRequest other = (com.google.cloud.talent.v4.GetTenantRequest) obj; + com.google.cloud.talent.v4.GetTenantRequest other = + (com.google.cloud.talent.v4.GetTenantRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.GetTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for getting a tenant by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetTenantRequest) com.google.cloud.talent.v4.GetTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetTenantRequest.class, com.google.cloud.talent.v4.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4.GetTenantRequest.class, + com.google.cloud.talent.v4.GetTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetTenantRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.talent.v4.GetTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetTenantRequest buildPartial() { - com.google.cloud.talent.v4.GetTenantRequest result = new com.google.cloud.talent.v4.GetTenantRequest(this); + com.google.cloud.talent.v4.GetTenantRequest result = + new com.google.cloud.talent.v4.GetTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.talent.v4.GetTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4.GetTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -396,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +455,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +481,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,67 +507,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetTenantRequest) private static final com.google.cloud.talent.v4.GetTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetTenantRequest(); } @@ -548,27 +604,27 @@ public static com.google.cloud.talent.v4.GetTenantRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java new file mode 100644 index 000000000000..8daf851a3510 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant_service.proto + +package com.google.cloud.talent.v4; + +public interface GetTenantRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java new file mode 100644 index 000000000000..0b84891210be --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/histogram.proto + +package com.google.cloud.talent.v4; + +public final class HistogramProto { + private HistogramProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/talent/v4/histogram.proto" + + "\022\026google.cloud.talent.v4\")\n\016HistogramQue" + + "ry\022\027\n\017histogram_query\030\001 \001(\t\"\261\001\n\024Histogra" + + "mQueryResult\022\027\n\017histogram_query\030\001 \001(\t\022N\n" + + "\thistogram\030\002 \003(\0132;.google.cloud.talent.v" + + "4.HistogramQueryResult.HistogramEntry\0320\n" + + "\016HistogramEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\003:\0028\001Br\n\032com.google.cloud.talent.v4B\016H" + + "istogramProtoP\001Z * The histogram request. *
* * Protobuf type {@code google.cloud.talent.v4.HistogramQuery} */ -public final class HistogramQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HistogramQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.HistogramQuery) HistogramQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HistogramQuery.newBuilder() to construct. private HistogramQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HistogramQuery() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HistogramQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQuery.class, com.google.cloud.talent.v4.HistogramQuery.Builder.class); + com.google.cloud.talent.v4.HistogramQuery.class, + com.google.cloud.talent.v4.HistogramQuery.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** + * + * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -58,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ @java.lang.Override @@ -66,14 +88,15 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** + * + * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -81,16 +104,15 @@ public java.lang.String getHistogramQuery() {
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -99,6 +121,7 @@ public java.lang.String getHistogramQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_); } @@ -135,15 +157,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.HistogramQuery)) { return super.equals(obj); } - com.google.cloud.talent.v4.HistogramQuery other = (com.google.cloud.talent.v4.HistogramQuery) obj; + com.google.cloud.talent.v4.HistogramQuery other = + (com.google.cloud.talent.v4.HistogramQuery) obj; - if (!getHistogramQuery() - .equals(other.getHistogramQuery())) return false; + if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +184,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.HistogramQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.HistogramQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The histogram request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.HistogramQuery) com.google.cloud.talent.v4.HistogramQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQuery.class, com.google.cloud.talent.v4.HistogramQuery.Builder.class); + com.google.cloud.talent.v4.HistogramQuery.class, + com.google.cloud.talent.v4.HistogramQuery.Builder.class); } // Construct using com.google.cloud.talent.v4.HistogramQuery.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override @@ -316,7 +344,8 @@ public com.google.cloud.talent.v4.HistogramQuery build() { @java.lang.Override public com.google.cloud.talent.v4.HistogramQuery buildPartial() { - com.google.cloud.talent.v4.HistogramQuery result = new com.google.cloud.talent.v4.HistogramQuery(this); + com.google.cloud.talent.v4.HistogramQuery result = + new com.google.cloud.talent.v4.HistogramQuery(this); result.histogramQuery_ = histogramQuery_; onBuilt(); return result; @@ -326,38 +355,39 @@ public com.google.cloud.talent.v4.HistogramQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.HistogramQuery) { - return mergeFrom((com.google.cloud.talent.v4.HistogramQuery)other); + return mergeFrom((com.google.cloud.talent.v4.HistogramQuery) other); } else { super.mergeFrom(other); return this; @@ -396,17 +426,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,6 +451,8 @@ public Builder mergeFrom( private java.lang.Object histogramQuery_ = ""; /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -426,13 +460,13 @@ public Builder mergeFrom(
      * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -441,6 +475,8 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -448,15 +484,14 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -464,6 +499,8 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -471,20 +508,22 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery( - java.lang.String value) { + public Builder setHistogramQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -492,15 +531,18 @@ public Builder setHistogramQuery(
      * 
* * string histogram_query = 1; + * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -508,23 +550,23 @@ public Builder clearHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +576,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.HistogramQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.HistogramQuery) private static final com.google.cloud.talent.v4.HistogramQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.HistogramQuery(); } @@ -548,27 +590,27 @@ public static com.google.cloud.talent.v4.HistogramQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HistogramQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HistogramQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +625,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.HistogramQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java similarity index 57% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java index 69ae1c2042f3..727e04853f37 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/histogram.proto package com.google.cloud.talent.v4; -public interface HistogramQueryOrBuilder extends +public interface HistogramQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.HistogramQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -15,10 +33,13 @@ public interface HistogramQueryOrBuilder extends
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** + * + * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -26,8 +47,8 @@ public interface HistogramQueryOrBuilder extends
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString - getHistogramQueryBytes(); + com.google.protobuf.ByteString getHistogramQueryBytes(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java similarity index 66% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java index f89d54037029..908ac2d74f63 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java @@ -1,73 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/histogram.proto package com.google.cloud.talent.v4; /** + * + * *
  * Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
  * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQueryResult} */ -public final class HistogramQueryResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HistogramQueryResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.HistogramQueryResult) HistogramQueryResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HistogramQueryResult.newBuilder() to construct. private HistogramQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HistogramQueryResult() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HistogramQueryResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQueryResult.class, com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4.HistogramQueryResult.class, + com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ @java.lang.Override @@ -76,29 +97,29 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -107,24 +128,23 @@ public java.lang.String getHistogramQuery() { } public static final int HISTOGRAM_FIELD_NUMBER = 2; + private static final class HistogramDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> histogram_; - private com.google.protobuf.MapField - internalGetHistogram() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + + private com.google.protobuf.MapField histogram_; + + private com.google.protobuf.MapField internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } @@ -133,6 +153,8 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** + * + * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -146,22 +168,22 @@ public int getHistogramCount() {
    *
    * map<string, int64> histogram = 2;
    */
-
   @java.lang.Override
-  public boolean containsHistogram(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHistogram(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHistogram().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHistogramMap()} instead.
-   */
+  /** Use {@link #getHistogramMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHistogram() {
     return getHistogramMap();
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -176,11 +198,12 @@ public java.util.Map getHistogram() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
   public java.util.Map getHistogramMap() {
     return internalGetHistogram().getMap();
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -195,16 +218,16 @@ public java.util.Map getHistogramMap() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
-  public long getHistogramOrDefault(
-      java.lang.String key,
-      long defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHistogram().getMap();
+  public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHistogram().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -219,12 +242,11 @@ public long getHistogramOrDefault(
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
-  public long getHistogramOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHistogram().getMap();
+  public long getHistogramOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHistogram().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -232,6 +254,7 @@ public long getHistogramOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -243,17 +266,12 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHistogram(),
-        HistogramDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHistogram(), HistogramDefaultEntryHolder.defaultEntry, 2);
     getUnknownFields().writeTo(output);
   }
 
@@ -266,15 +284,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, histogramQuery_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHistogram().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      histogram__ = HistogramDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, histogram__);
+    for (java.util.Map.Entry entry :
+        internalGetHistogram().getMap().entrySet()) {
+      com.google.protobuf.MapEntry histogram__ =
+          HistogramDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, histogram__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,17 +302,16 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.HistogramQueryResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.HistogramQueryResult other = (com.google.cloud.talent.v4.HistogramQueryResult) obj;
+    com.google.cloud.talent.v4.HistogramQueryResult other =
+        (com.google.cloud.talent.v4.HistogramQueryResult) obj;
 
-    if (!getHistogramQuery()
-        .equals(other.getHistogramQuery())) return false;
-    if (!internalGetHistogram().equals(
-        other.internalGetHistogram())) return false;
+    if (!getHistogramQuery().equals(other.getHistogramQuery())) return false;
+    if (!internalGetHistogram().equals(other.internalGetHistogram())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -317,152 +334,156 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.HistogramQueryResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
    * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQueryResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.HistogramQueryResult) com.google.cloud.talent.v4.HistogramQueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQueryResult.class, com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4.HistogramQueryResult.class, + com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); } // Construct using com.google.cloud.talent.v4.HistogramQueryResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @java.lang.Override @@ -494,7 +515,8 @@ public com.google.cloud.talent.v4.HistogramQueryResult build() { @java.lang.Override public com.google.cloud.talent.v4.HistogramQueryResult buildPartial() { - com.google.cloud.talent.v4.HistogramQueryResult result = new com.google.cloud.talent.v4.HistogramQueryResult(this); + com.google.cloud.talent.v4.HistogramQueryResult result = + new com.google.cloud.talent.v4.HistogramQueryResult(this); int from_bitField0_ = bitField0_; result.histogramQuery_ = histogramQuery_; result.histogram_ = internalGetHistogram(); @@ -507,38 +529,39 @@ public com.google.cloud.talent.v4.HistogramQueryResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.HistogramQueryResult) { - return mergeFrom((com.google.cloud.talent.v4.HistogramQueryResult)other); + return mergeFrom((com.google.cloud.talent.v4.HistogramQueryResult) other); } else { super.mergeFrom(other); return this; @@ -546,13 +569,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.HistogramQueryResult other) { - if (other == com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()) + return this; if (!other.getHistogramQuery().isEmpty()) { histogramQuery_ = other.histogramQuery_; onChanged(); } - internalGetMutableHistogram().mergeFrom( - other.internalGetHistogram()); + internalGetMutableHistogram().mergeFrom(other.internalGetHistogram()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -579,25 +602,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - histogram__ = input.readMessage( - HistogramDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableHistogram().getMutableMap().put( - histogram__.getKey(), histogram__.getValue()); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry histogram__ = + input.readMessage( + HistogramDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableHistogram() + .getMutableMap() + .put(histogram__.getKey(), histogram__.getValue()); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,22 +635,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object histogramQuery_ = ""; /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -631,20 +662,21 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -652,75 +684,82 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery( - java.lang.String value) { + public Builder setHistogramQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> histogram_; - private com.google.protobuf.MapField - internalGetHistogram() { + private com.google.protobuf.MapField histogram_; + + private com.google.protobuf.MapField internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } + private com.google.protobuf.MapField - internalGetMutableHistogram() { - onChanged();; + internalGetMutableHistogram() { + onChanged(); + ; if (histogram_ == null) { - histogram_ = com.google.protobuf.MapField.newMapField( - HistogramDefaultEntryHolder.defaultEntry); + histogram_ = + com.google.protobuf.MapField.newMapField(HistogramDefaultEntryHolder.defaultEntry); } if (!histogram_.isMutable()) { histogram_ = histogram_.copy(); @@ -732,6 +771,8 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** + * + * *
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -745,22 +786,22 @@ public int getHistogramCount() {
      *
      * map<string, int64> histogram = 2;
      */
-
     @java.lang.Override
-    public boolean containsHistogram(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHistogram(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHistogram().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHistogramMap()} instead.
-     */
+    /** Use {@link #getHistogramMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHistogram() {
       return getHistogramMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -775,11 +816,12 @@ public java.util.Map getHistogram() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
     public java.util.Map getHistogramMap() {
       return internalGetHistogram().getMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -794,16 +836,16 @@ public java.util.Map getHistogramMap() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
-    public long getHistogramOrDefault(
-        java.lang.String key,
-        long defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHistogram().getMap();
+    public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHistogram().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -818,12 +860,11 @@ public long getHistogramOrDefault(
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
-    public long getHistogramOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHistogram().getMap();
+    public long getHistogramOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHistogram().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -831,11 +872,12 @@ public long getHistogramOrThrow(
     }
 
     public Builder clearHistogram() {
-      internalGetMutableHistogram().getMutableMap()
-          .clear();
+      internalGetMutableHistogram().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -849,23 +891,21 @@ public Builder clearHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-
-    public Builder removeHistogram(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHistogram().getMutableMap()
-          .remove(key);
+    public Builder removeHistogram(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHistogram().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHistogram() {
+    public java.util.Map getMutableHistogram() {
       return internalGetMutableHistogram().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -879,16 +919,17 @@ public Builder removeHistogram(
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putHistogram(
-        java.lang.String key,
-        long value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      
-      internalGetMutableHistogram().getMutableMap()
-          .put(key, value);
+    public Builder putHistogram(java.lang.String key, long value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+
+      internalGetMutableHistogram().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -902,16 +943,13 @@ public Builder putHistogram(
      *
      * map<string, int64> histogram = 2;
      */
-
-    public Builder putAllHistogram(
-        java.util.Map values) {
-      internalGetMutableHistogram().getMutableMap()
-          .putAll(values);
+    public Builder putAllHistogram(java.util.Map values) {
+      internalGetMutableHistogram().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -921,12 +959,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.HistogramQueryResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.HistogramQueryResult)
   private static final com.google.cloud.talent.v4.HistogramQueryResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.HistogramQueryResult();
   }
@@ -935,27 +973,27 @@ public static com.google.cloud.talent.v4.HistogramQueryResult getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HistogramQueryResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HistogramQueryResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -970,6 +1008,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.HistogramQueryResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
index f8c98f0bffd0..ae90b9fda831 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
@@ -1,33 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/histogram.proto
 
 package com.google.cloud.talent.v4;
 
-public interface HistogramQueryResultOrBuilder extends
+public interface HistogramQueryResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.HistogramQueryResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString - getHistogramQueryBytes(); + com.google.protobuf.ByteString getHistogramQueryBytes(); /** + * + * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -43,6 +66,8 @@ public interface HistogramQueryResultOrBuilder extends
    */
   int getHistogramCount();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -56,15 +81,13 @@ public interface HistogramQueryResultOrBuilder extends
    *
    * map<string, int64> histogram = 2;
    */
-  boolean containsHistogram(
-      java.lang.String key);
-  /**
-   * Use {@link #getHistogramMap()} instead.
-   */
+  boolean containsHistogram(java.lang.String key);
+  /** Use {@link #getHistogramMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHistogram();
+  java.util.Map getHistogram();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -78,9 +101,10 @@ boolean containsHistogram(
    *
    * map<string, int64> histogram = 2;
    */
-  java.util.Map
-  getHistogramMap();
+  java.util.Map getHistogramMap();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -94,11 +118,10 @@ boolean containsHistogram(
    *
    * map<string, int64> histogram = 2;
    */
-
-  long getHistogramOrDefault(
-      java.lang.String key,
-      long defaultValue);
+  long getHistogramOrDefault(java.lang.String key, long defaultValue);
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -112,7 +135,5 @@ long getHistogramOrDefault(
    *
    * map<string, int64> histogram = 2;
    */
-
-  long getHistogramOrThrow(
-      java.lang.String key);
+  long getHistogramOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
similarity index 68%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
index d98dd1681fb1..f5af53b7f624 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Option for HTML content sanitization on user input fields, for example, job
  * description. By setting this option, user can determine whether and how
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.HtmlSanitization}
  */
-public enum HtmlSanitization
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -23,6 +41,8 @@ public enum HtmlSanitization */ HTML_SANITIZATION_UNSPECIFIED(0), /** + * + * *
    * Disables sanitization on HTML input.
    * 
@@ -31,6 +51,8 @@ public enum HtmlSanitization */ HTML_SANITIZATION_DISABLED(1), /** + * + * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -43,6 +65,8 @@ public enum HtmlSanitization
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -51,6 +75,8 @@ public enum HtmlSanitization */ public static final int HTML_SANITIZATION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Disables sanitization on HTML input.
    * 
@@ -59,6 +85,8 @@ public enum HtmlSanitization */ public static final int HTML_SANITIZATION_DISABLED_VALUE = 1; /** + * + * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -68,7 +96,6 @@ public enum HtmlSanitization
    */
   public static final int SIMPLE_FORMATTING_ONLY_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,49 +120,49 @@ public static HtmlSanitization valueOf(int value) {
    */
   public static HtmlSanitization forNumber(int value) {
     switch (value) {
-      case 0: return HTML_SANITIZATION_UNSPECIFIED;
-      case 1: return HTML_SANITIZATION_DISABLED;
-      case 2: return SIMPLE_FORMATTING_ONLY;
-      default: return null;
+      case 0:
+        return HTML_SANITIZATION_UNSPECIFIED;
+      case 1:
+        return HTML_SANITIZATION_DISABLED;
+      case 2:
+        return SIMPLE_FORMATTING_ONLY;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      HtmlSanitization> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public HtmlSanitization findValueByNumber(int number) {
-            return HtmlSanitization.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public HtmlSanitization findValueByNumber(int number) {
+          return HtmlSanitization.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(8);
   }
 
   private static final HtmlSanitization[] VALUES = values();
 
-  public static HtmlSanitization valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static HtmlSanitization valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -151,4 +178,3 @@ private HtmlSanitization(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.HtmlSanitization)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
similarity index 80%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
index 5bd28bae49e5..a36676256b17 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * A Job resource represents a job posting (also referred to as a "job listing"
  * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4.Company], which is the hiring
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Job}
  */
-public final class Job extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Job extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job)
     JobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Job() {
     name_ = "";
     company_ = "";
@@ -44,46 +62,48 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.JobProto
+        .internal_static_google_cloud_talent_v4_Job_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 10:
         return internalGetCustomAttributes();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobProto
+        .internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.talent.v4.Job.class, com.google.cloud.talent.v4.Job.Builder.class);
   }
 
-  public interface ApplicationInfoOrBuilder extends
+  public interface ApplicationInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.ApplicationInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -91,11 +111,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - java.util.List - getEmailsList(); + java.util.List getEmailsList(); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -103,10 +125,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @return The count of emails. */ int getEmailsCount(); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -114,11 +139,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ java.lang.String getEmails(int index); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -126,13 +154,15 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - com.google.protobuf.ByteString - getEmailsBytes(int index); + com.google.protobuf.ByteString getEmailsBytes(int index); /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -142,10 +172,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * string instruction = 2; + * * @return The instruction. */ java.lang.String getInstruction(); /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -155,12 +188,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * string instruction = 2; + * * @return The bytes for instruction. */ - com.google.protobuf.ByteString - getInstructionBytes(); + com.google.protobuf.ByteString getInstructionBytes(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -168,11 +203,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -180,10 +217,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -191,11 +231,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -203,28 +246,31 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); } /** + * + * *
    * Application related details of a job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ApplicationInfo} */ - public static final class ApplicationInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.ApplicationInfo) ApplicationInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplicationInfo.newBuilder() to construct. private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ApplicationInfo() { emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; instruction_ = ""; @@ -233,32 +279,35 @@ private ApplicationInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApplicationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ApplicationInfo.class, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4.Job.ApplicationInfo.class, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); } public static final int EMAILS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList emails_; /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -266,13 +315,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList - getEmailsList() { + public com.google.protobuf.ProtocolStringList getEmailsList() { return emails_; } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -280,12 +331,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string emails = 1; + * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -293,6 +347,7 @@ public int getEmailsCount() {
      * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -300,6 +355,8 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -307,17 +364,19 @@ public java.lang.String getEmails(int index) {
      * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString - getEmailsBytes(int index) { + public com.google.protobuf.ByteString getEmailsBytes(int index) { return emails_.getByteString(index); } public static final int INSTRUCTION_FIELD_NUMBER = 2; private volatile java.lang.Object instruction_; /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -327,6 +386,7 @@ public java.lang.String getEmails(int index) {
      * 
* * string instruction = 2; + * * @return The instruction. */ @java.lang.Override @@ -335,14 +395,15 @@ public java.lang.String getInstruction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; } } /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -352,16 +413,15 @@ public java.lang.String getInstruction() {
      * 
* * string instruction = 2; + * * @return The bytes for instruction. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstructionBytes() { + public com.google.protobuf.ByteString getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instruction_ = b; return b; } else { @@ -372,6 +432,8 @@ public java.lang.String getInstruction() { public static final int URIS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uris_; /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -379,13 +441,15 @@ public java.lang.String getInstruction() {
      * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -393,12 +457,15 @@ public java.lang.String getInstruction() {
      * 
* * repeated string uris = 3; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -406,6 +473,7 @@ public int getUrisCount() {
      * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -413,6 +481,8 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -420,15 +490,16 @@ public java.lang.String getUris(int index) {
      * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,8 +511,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < emails_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i)); } @@ -487,19 +557,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.ApplicationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.ApplicationInfo other = (com.google.cloud.talent.v4.Job.ApplicationInfo) obj; + com.google.cloud.talent.v4.Job.ApplicationInfo other = + (com.google.cloud.talent.v4.Job.ApplicationInfo) obj; - if (!getEmailsList() - .equals(other.getEmailsList())) return false; - if (!getInstruction() - .equals(other.getInstruction())) return false; - if (!getUrisList() - .equals(other.getUrisList())) return false; + if (!getEmailsList().equals(other.getEmailsList())) return false; + if (!getInstruction().equals(other.getInstruction())) return false; + if (!getUrisList().equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -526,88 +594,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Job.ApplicationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -617,39 +691,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Application related details of a job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ApplicationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.ApplicationInfo) com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ApplicationInfo.class, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4.Job.ApplicationInfo.class, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -663,9 +739,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override @@ -684,7 +760,8 @@ public com.google.cloud.talent.v4.Job.ApplicationInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Job.ApplicationInfo buildPartial() { - com.google.cloud.talent.v4.Job.ApplicationInfo result = new com.google.cloud.talent.v4.Job.ApplicationInfo(this); + com.google.cloud.talent.v4.Job.ApplicationInfo result = + new com.google.cloud.talent.v4.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); @@ -705,38 +782,41 @@ public com.google.cloud.talent.v4.Job.ApplicationInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.ApplicationInfo) { - return mergeFrom((com.google.cloud.talent.v4.Job.ApplicationInfo)other); + return mergeFrom((com.google.cloud.talent.v4.Job.ApplicationInfo) other); } else { super.mergeFrom(other); return this; @@ -744,7 +824,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Job.ApplicationInfo other) { - if (other == com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance()) + return this; if (!other.emails_.isEmpty()) { if (emails_.isEmpty()) { emails_ = other.emails_; @@ -795,29 +876,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmailsIsMutable(); - emails_.add(s); - break; - } // case 10 - case 18: { - instruction_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmailsIsMutable(); + emails_.add(s); + break; + } // case 10 + case 18: + { + instruction_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -827,16 +912,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList emails_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEmailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -844,13 +934,15 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList - getEmailsList() { + public com.google.protobuf.ProtocolStringList getEmailsList() { return emails_.getUnmodifiableView(); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -858,12 +950,15 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; + * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -871,6 +966,7 @@ public int getEmailsCount() {
        * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -878,6 +974,8 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -885,14 +983,16 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString - getEmailsBytes(int index) { + public com.google.protobuf.ByteString getEmailsBytes(int index) { return emails_.getByteString(index); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -900,21 +1000,23 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; + * * @param index The index to set the value at. * @param value The emails to set. * @return This builder for chaining. */ - public Builder setEmails( - int index, java.lang.String value) { + public Builder setEmails(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.set(index, value); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -922,20 +1024,22 @@ public Builder setEmails(
        * 
* * repeated string emails = 1; + * * @param value The emails to add. * @return This builder for chaining. */ - public Builder addEmails( - java.lang.String value) { + public Builder addEmails(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.add(value); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -943,18 +1047,19 @@ public Builder addEmails(
        * 
* * repeated string emails = 1; + * * @param values The emails to add. * @return This builder for chaining. */ - public Builder addAllEmails( - java.lang.Iterable values) { + public Builder addAllEmails(java.lang.Iterable values) { ensureEmailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, emails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -962,6 +1067,7 @@ public Builder addAllEmails(
        * 
* * repeated string emails = 1; + * * @return This builder for chaining. */ public Builder clearEmails() { @@ -971,6 +1077,8 @@ public Builder clearEmails() { return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -978,15 +1086,15 @@ public Builder clearEmails() {
        * 
* * repeated string emails = 1; + * * @param value The bytes of the emails to add. * @return This builder for chaining. */ - public Builder addEmailsBytes( - com.google.protobuf.ByteString value) { + public Builder addEmailsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEmailsIsMutable(); emails_.add(value); onChanged(); @@ -995,6 +1103,8 @@ public Builder addEmailsBytes( private java.lang.Object instruction_ = ""; /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1004,13 +1114,13 @@ public Builder addEmailsBytes(
        * 
* * string instruction = 2; + * * @return The instruction. */ public java.lang.String getInstruction() { java.lang.Object ref = instruction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; @@ -1019,6 +1129,8 @@ public java.lang.String getInstruction() { } } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1028,15 +1140,14 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; + * * @return The bytes for instruction. */ - public com.google.protobuf.ByteString - getInstructionBytes() { + public com.google.protobuf.ByteString getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instruction_ = b; return b; } else { @@ -1044,6 +1155,8 @@ public java.lang.String getInstruction() { } } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1053,20 +1166,22 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; + * * @param value The instruction to set. * @return This builder for chaining. */ - public Builder setInstruction( - java.lang.String value) { + public Builder setInstruction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instruction_ = value; onChanged(); return this; } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1076,15 +1191,18 @@ public Builder setInstruction(
        * 
* * string instruction = 2; + * * @return This builder for chaining. */ public Builder clearInstruction() { - + instruction_ = getDefaultInstance().getInstruction(); onChanged(); return this; } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1094,29 +1212,33 @@ public Builder clearInstruction() {
        * 
* * string instruction = 2; + * * @param value The bytes for instruction to set. * @return This builder for chaining. */ - public Builder setInstructionBytes( - com.google.protobuf.ByteString value) { + public Builder setInstructionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instruction_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1124,13 +1246,15 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1138,12 +1262,15 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1151,6 +1278,7 @@ public int getUrisCount() {
        * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -1158,6 +1286,8 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1165,14 +1295,16 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1180,21 +1312,23 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1202,20 +1336,22 @@ public Builder setUris(
        * 
* * repeated string uris = 3; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1223,18 +1359,19 @@ public Builder addUris(
        * 
* * repeated string uris = 3; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1242,6 +1379,7 @@ public Builder addAllUris(
        * 
* * repeated string uris = 3; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -1251,6 +1389,8 @@ public Builder clearUris() { return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1258,20 +1398,21 @@ public Builder clearUris() {
        * 
* * repeated string uris = 3; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1284,12 +1425,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.ApplicationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.ApplicationInfo) private static final com.google.cloud.talent.v4.Job.ApplicationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.ApplicationInfo(); } @@ -1298,27 +1439,28 @@ public static com.google.cloud.talent.v4.Job.ApplicationInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplicationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplicationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1333,14 +1475,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.ApplicationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DerivedInfoOrBuilder extends + public interface DerivedInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.DerivedInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1349,9 +1493,10 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    java.util.List 
-        getLocationsList();
+    java.util.List getLocationsList();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1362,6 +1507,8 @@ public interface DerivedInfoOrBuilder extends
      */
     com.google.cloud.talent.v4.Location getLocations(int index);
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1372,6 +1519,8 @@ public interface DerivedInfoOrBuilder extends
      */
     int getLocationsCount();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1380,9 +1529,11 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    java.util.List 
+    java.util.List
         getLocationsOrBuilderList();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1391,74 +1542,90 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
-        int index);
+    com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4.JobCategory getJobCategories(int index); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List - getJobCategoriesValueList(); + java.util.List getJobCategoriesValueList(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); } /** + * + * *
    * Derived details about the job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.DerivedInfo} */ - public static final class DerivedInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DerivedInfo() { locations_ = java.util.Collections.emptyList(); jobCategories_ = java.util.Collections.emptyList(); @@ -1466,32 +1633,35 @@ private DerivedInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.DerivedInfo.class, com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Job.DerivedInfo.class, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** + * + * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1505,6 +1675,8 @@ public java.util.List getLocationsList() {
       return locations_;
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1514,11 +1686,13 @@ public java.util.List getLocationsList() {
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getLocationsOrBuilderList() {
       return locations_;
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1532,6 +1706,8 @@ public int getLocationsCount() {
       return locations_.size();
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1545,6 +1721,8 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
       return locations_.get(index);
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1554,42 +1732,52 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index) {
       return locations_.get(index);
     }
 
     public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
     private java.util.List jobCategories_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.cloud.talent.v4.JobCategory> jobCategories_converter_ =
+            java.lang.Integer, com.google.cloud.talent.v4.JobCategory>
+        jobCategories_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.cloud.talent.v4.JobCategory>() {
               public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.talent.v4.JobCategory result = com.google.cloud.talent.v4.JobCategory.valueOf(from);
-                return result == null ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED : result;
+                com.google.cloud.talent.v4.JobCategory result =
+                    com.google.cloud.talent.v4.JobCategory.valueOf(from);
+                return result == null
+                    ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ @java.lang.Override @@ -1597,11 +1785,14 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -1610,24 +1801,29 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return jobCategories_; } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -1635,9 +1831,11 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } + private int jobCategoriesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1649,8 +1847,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); @@ -1672,20 +1869,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobCategoriesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1695,15 +1892,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.DerivedInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.DerivedInfo other = (com.google.cloud.talent.v4.Job.DerivedInfo) obj; + com.google.cloud.talent.v4.Job.DerivedInfo other = + (com.google.cloud.talent.v4.Job.DerivedInfo) obj; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1729,88 +1926,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Job.DerivedInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1820,39 +2023,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Derived details about the job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.DerivedInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.DerivedInfo) com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.DerivedInfo.class, com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Job.DerivedInfo.class, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1869,9 +2074,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override @@ -1890,7 +2095,8 @@ public com.google.cloud.talent.v4.Job.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfo buildPartial() { - com.google.cloud.talent.v4.Job.DerivedInfo result = new com.google.cloud.talent.v4.Job.DerivedInfo(this); + com.google.cloud.talent.v4.Job.DerivedInfo result = + new com.google.cloud.talent.v4.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1914,38 +2120,41 @@ public com.google.cloud.talent.v4.Job.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4.Job.DerivedInfo)other); + return mergeFrom((com.google.cloud.talent.v4.Job.DerivedInfo) other); } else { super.mergeFrom(other); return this; @@ -1972,9 +2181,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.Job.DerivedInfo other) { locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); - locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationsFieldBuilder() : null; + locationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationsFieldBuilder() + : null; } else { locationsBuilder_.addAllMessages(other.locations_); } @@ -2016,42 +2226,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.Location m = - input.readMessage( - com.google.cloud.talent.v4.Location.parser(), - extensionRegistry); - if (locationsBuilder_ == null) { - ensureLocationsIsMutable(); - locations_.add(m); - } else { - locationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 24: { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + com.google.cloud.talent.v4.Location m = + input.readMessage( + com.google.cloud.talent.v4.Location.parser(), extensionRegistry); + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(m); + } else { + locationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 24: + { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2061,21 +2274,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List locations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> locationsBuilder_; + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> + locationsBuilder_; /** + * + * *
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2092,6 +2312,8 @@ public java.util.List getLocationsList() {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2108,6 +2330,8 @@ public int getLocationsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2124,6 +2348,8 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2132,8 +2358,7 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder setLocations(
-          int index, com.google.cloud.talent.v4.Location value) {
+      public Builder setLocations(int index, com.google.cloud.talent.v4.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2147,6 +2372,8 @@ public Builder setLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2167,6 +2394,8 @@ public Builder setLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2189,6 +2418,8 @@ public Builder addLocations(com.google.cloud.talent.v4.Location value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2197,8 +2428,7 @@ public Builder addLocations(com.google.cloud.talent.v4.Location value) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder addLocations(
-          int index, com.google.cloud.talent.v4.Location value) {
+      public Builder addLocations(int index, com.google.cloud.talent.v4.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2212,6 +2442,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2220,8 +2452,7 @@ public Builder addLocations(
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder addLocations(
-          com.google.cloud.talent.v4.Location.Builder builderForValue) {
+      public Builder addLocations(com.google.cloud.talent.v4.Location.Builder builderForValue) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
           locations_.add(builderForValue.build());
@@ -2232,6 +2463,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2252,6 +2485,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2264,8 +2499,7 @@ public Builder addAllLocations(
           java.lang.Iterable values) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, locations_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
           onChanged();
         } else {
           locationsBuilder_.addAllMessages(values);
@@ -2273,6 +2507,8 @@ public Builder addAllLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2292,6 +2528,8 @@ public Builder clearLocations() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2311,6 +2549,8 @@ public Builder removeLocations(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2319,11 +2559,12 @@ public Builder removeLocations(int index) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(
-          int index) {
+      public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(int index) {
         return getLocationsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2332,14 +2573,16 @@ public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
-          int index) {
+      public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index) {
         if (locationsBuilder_ == null) {
-          return locations_.get(index);  } else {
+          return locations_.get(index);
+        } else {
           return locationsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2348,8 +2591,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public java.util.List 
-           getLocationsOrBuilderList() {
+      public java.util.List
+          getLocationsOrBuilderList() {
         if (locationsBuilder_ != null) {
           return locationsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2357,6 +2600,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2366,10 +2611,12 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
       public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder() {
-        return getLocationsFieldBuilder().addBuilder(
-            com.google.cloud.talent.v4.Location.getDefaultInstance());
+        return getLocationsFieldBuilder()
+            .addBuilder(com.google.cloud.talent.v4.Location.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2378,12 +2625,13 @@ public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder() {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(
-          int index) {
-        return getLocationsFieldBuilder().addBuilder(
-            index, com.google.cloud.talent.v4.Location.getDefaultInstance());
+      public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(int index) {
+        return getLocationsFieldBuilder()
+            .addBuilder(index, com.google.cloud.talent.v4.Location.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2392,27 +2640,29 @@ public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public java.util.List 
-           getLocationsBuilderList() {
+      public java.util.List getLocationsBuilderList() {
         return getLocationsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
+              com.google.cloud.talent.v4.Location,
+              com.google.cloud.talent.v4.Location.Builder,
+              com.google.cloud.talent.v4.LocationOrBuilder>
           getLocationsFieldBuilder() {
         if (locationsBuilder_ == null) {
-          locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
-                  locations_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          locationsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.talent.v4.Location,
+                  com.google.cloud.talent.v4.Location.Builder,
+                  com.google.cloud.talent.v4.LocationOrBuilder>(
+                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           locations_ = null;
         }
         return locationsBuilder_;
       }
 
-      private java.util.List jobCategories_ =
-        java.util.Collections.emptyList();
+      private java.util.List jobCategories_ = java.util.Collections.emptyList();
+
       private void ensureJobCategoriesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2420,34 +2670,44 @@ private void ensureJobCategoriesIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2455,17 +2715,19 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories( - int index, com.google.cloud.talent.v4.JobCategory value) { + public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2475,11 +2737,14 @@ public Builder setJobCategories( return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2493,11 +2758,14 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2511,11 +2779,14 @@ public Builder addAllJobCategories( return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2525,23 +2796,28 @@ public Builder clearJobCategories() { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2549,28 +2825,33 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue( - int index, int value) { + public Builder setJobCategoriesValue(int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -2581,16 +2862,18 @@ public Builder addJobCategoriesValue(int value) { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue( - java.lang.Iterable values) { + public Builder addAllJobCategoriesValue(java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -2598,6 +2881,7 @@ public Builder addAllJobCategoriesValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2610,42 +2894,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.DerivedInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.DerivedInfo) private static final com.google.cloud.talent.v4.Job.DerivedInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.DerivedInfo(); } - public static com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DerivedInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - + public static com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DerivedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + public static com.google.protobuf.Parser parser() { return PARSER; } @@ -2659,25 +2944,30 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ProcessingOptionsOrBuilder extends + public interface ProcessingOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.ProcessingOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ boolean getDisableStreetAddressResolution(); /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2691,10 +2981,13 @@ public interface ProcessingOptionsOrBuilder extends
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ int getHtmlSanitizationValue(); /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2708,64 +3001,72 @@ public interface ProcessingOptionsOrBuilder extends
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization(); } /** + * + * *
    * Options for job processing.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ProcessingOptions} */ - public static final class ProcessingOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.ProcessingOptions) ProcessingOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessingOptions.newBuilder() to construct. private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProcessingOptions() { htmlSanitization_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProcessingOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ProcessingOptions.class, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4.Job.ProcessingOptions.class, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); } public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1; private boolean disableStreetAddressResolution_; /** + * + * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -2776,6 +3077,8 @@ public boolean getDisableStreetAddressResolution() { public static final int HTML_SANITIZATION_FIELD_NUMBER = 2; private int htmlSanitization_; /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2789,12 +3092,16 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override public int getHtmlSanitizationValue() { + @java.lang.Override + public int getHtmlSanitizationValue() { return htmlSanitization_; } /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2808,15 +3115,19 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ - @java.lang.Override public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { + @java.lang.Override + public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.HtmlSanitization result = com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); + com.google.cloud.talent.v4.HtmlSanitization result = + com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); return result == null ? com.google.cloud.talent.v4.HtmlSanitization.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2828,12 +3139,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disableStreetAddressResolution_ != false) { output.writeBool(1, disableStreetAddressResolution_); } - if (htmlSanitization_ != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { + if (htmlSanitization_ + != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, htmlSanitization_); } getUnknownFields().writeTo(output); @@ -2846,12 +3158,14 @@ public int getSerializedSize() { size = 0; if (disableStreetAddressResolution_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disableStreetAddressResolution_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, disableStreetAddressResolution_); } - if (htmlSanitization_ != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, htmlSanitization_); + if (htmlSanitization_ + != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2861,15 +3175,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.ProcessingOptions)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.ProcessingOptions other = (com.google.cloud.talent.v4.Job.ProcessingOptions) obj; + com.google.cloud.talent.v4.Job.ProcessingOptions other = + (com.google.cloud.talent.v4.Job.ProcessingOptions) obj; - if (getDisableStreetAddressResolution() - != other.getDisableStreetAddressResolution()) return false; + if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) + return false; if (htmlSanitization_ != other.htmlSanitization_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2883,8 +3198,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableStreetAddressResolution()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution()); hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER; hash = (53 * hash) + htmlSanitization_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -2893,87 +3209,93 @@ public int hashCode() { } public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Job.ProcessingOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2983,39 +3305,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options for job processing.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ProcessingOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.ProcessingOptions) com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ProcessingOptions.class, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4.Job.ProcessingOptions.class, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3027,9 +3351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override @@ -3048,7 +3372,8 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions build() { @java.lang.Override public com.google.cloud.talent.v4.Job.ProcessingOptions buildPartial() { - com.google.cloud.talent.v4.Job.ProcessingOptions result = new com.google.cloud.talent.v4.Job.ProcessingOptions(this); + com.google.cloud.talent.v4.Job.ProcessingOptions result = + new com.google.cloud.talent.v4.Job.ProcessingOptions(this); result.disableStreetAddressResolution_ = disableStreetAddressResolution_; result.htmlSanitization_ = htmlSanitization_; onBuilt(); @@ -3059,38 +3384,41 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.ProcessingOptions) { - return mergeFrom((com.google.cloud.talent.v4.Job.ProcessingOptions)other); + return mergeFrom((com.google.cloud.talent.v4.Job.ProcessingOptions) other); } else { super.mergeFrom(other); return this; @@ -3098,7 +3426,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Job.ProcessingOptions other) { - if (other == com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance()) + return this; if (other.getDisableStreetAddressResolution() != false) { setDisableStreetAddressResolution(other.getDisableStreetAddressResolution()); } @@ -3131,22 +3460,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disableStreetAddressResolution_ = input.readBool(); - - break; - } // case 8 - case 16: { - htmlSanitization_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disableStreetAddressResolution_ = input.readBool(); + + break; + } // case 8 + case 16: + { + htmlSanitization_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3157,14 +3489,17 @@ public Builder mergeFrom( return this; } - private boolean disableStreetAddressResolution_ ; + private boolean disableStreetAddressResolution_; /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3172,32 +3507,38 @@ public boolean getDisableStreetAddressResolution() { return disableStreetAddressResolution_; } /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @param value The disableStreetAddressResolution to set. * @return This builder for chaining. */ public Builder setDisableStreetAddressResolution(boolean value) { - + disableStreetAddressResolution_ = value; onChanged(); return this; } /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @return This builder for chaining. */ public Builder clearDisableStreetAddressResolution() { - + disableStreetAddressResolution_ = false; onChanged(); return this; @@ -3205,6 +3546,8 @@ public Builder clearDisableStreetAddressResolution() { private int htmlSanitization_ = 0; /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3218,12 +3561,16 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override public int getHtmlSanitizationValue() { + @java.lang.Override + public int getHtmlSanitizationValue() { return htmlSanitization_; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3237,16 +3584,19 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @param value The enum numeric value on the wire for htmlSanitization to set. * @return This builder for chaining. */ public Builder setHtmlSanitizationValue(int value) { - + htmlSanitization_ = value; onChanged(); return this; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3260,15 +3610,19 @@ public Builder setHtmlSanitizationValue(int value) {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ @java.lang.Override public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.HtmlSanitization result = com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); + com.google.cloud.talent.v4.HtmlSanitization result = + com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); return result == null ? com.google.cloud.talent.v4.HtmlSanitization.UNRECOGNIZED : result; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3282,6 +3636,7 @@ public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @param value The htmlSanitization to set. * @return This builder for chaining. */ @@ -3289,12 +3644,14 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4.HtmlSanitization v if (value == null) { throw new NullPointerException(); } - + htmlSanitization_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3308,14 +3665,16 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4.HtmlSanitization v
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return This builder for chaining. */ public Builder clearHtmlSanitization() { - + htmlSanitization_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3328,12 +3687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.ProcessingOptions) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.ProcessingOptions) private static final com.google.cloud.talent.v4.Job.ProcessingOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.ProcessingOptions(); } @@ -3342,27 +3701,28 @@ public static com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessingOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessingOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3377,12 +3737,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3395,6 +3756,7 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanceForTyp
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -3403,14 +3765,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3423,16 +3786,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3443,6 +3805,8 @@ public java.lang.String getName() { public static final int COMPANY_FIELD_NUMBER = 2; private volatile java.lang.Object company_; /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3450,7 +3814,10 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ @java.lang.Override @@ -3459,14 +3826,15 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3474,17 +3842,18 @@ public java.lang.String getCompany() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -3495,6 +3864,8 @@ public java.lang.String getCompany() { public static final int REQUISITION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requisitionId_; /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3505,6 +3876,7 @@ public java.lang.String getCompany() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ @java.lang.Override @@ -3513,14 +3885,15 @@ public java.lang.String getRequisitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; } } /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3531,16 +3904,15 @@ public java.lang.String getRequisitionId() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequisitionIdBytes() { + public com.google.protobuf.ByteString getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -3551,12 +3923,15 @@ public java.lang.String getRequisitionId() { public static final int TITLE_FIELD_NUMBER = 4; private volatile java.lang.Object title_; /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ @java.lang.Override @@ -3565,30 +3940,30 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -3599,6 +3974,8 @@ public java.lang.String getTitle() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3611,6 +3988,7 @@ public java.lang.String getTitle() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ @java.lang.Override @@ -3619,14 +3997,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3639,16 +4018,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3659,6 +4037,8 @@ public java.lang.String getDescription() { public static final int ADDRESSES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList addresses_; /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3684,13 +4064,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList - getAddressesList() { + public com.google.protobuf.ProtocolStringList getAddressesList() { return addresses_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3716,12 +4098,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3747,6 +4132,7 @@ public int getAddressesCount() {
    * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -3754,6 +4140,8 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3779,22 +4167,25 @@ public java.lang.String getAddresses(int index) {
    * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString - getAddressesBytes(int index) { + public com.google.protobuf.ByteString getAddressesBytes(int index) { return addresses_.getByteString(index); } public static final int APPLICATION_INFO_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.Job.ApplicationInfo applicationInfo_; /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ @java.lang.Override @@ -3802,18 +4193,25 @@ public boolean hasApplicationInfo() { return applicationInfo_ != null; } /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo() { - return applicationInfo_ == null ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } /** + * + * *
    * Job application information.
    * 
@@ -3828,34 +4226,43 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf public static final int JOB_BENEFITS_FIELD_NUMBER = 8; private java.util.List jobBenefits_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit> jobBenefits_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit> + jobBenefits_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>() { public com.google.cloud.talent.v4.JobBenefit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobBenefit result = com.google.cloud.talent.v4.JobBenefit.valueOf(from); + com.google.cloud.talent.v4.JobBenefit result = + com.google.cloud.talent.v4.JobBenefit.valueOf(from); return result == null ? com.google.cloud.talent.v4.JobBenefit.UNRECOGNIZED : result; } }; /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ @java.lang.Override public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>(jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>( + jobBenefits_, jobBenefits_converter_); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ @java.lang.Override @@ -3863,11 +4270,14 @@ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -3876,24 +4286,29 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ @java.lang.Override - public java.util.List - getJobBenefitsValueList() { + public java.util.List getJobBenefitsValueList() { return jobBenefits_; } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -3901,17 +4316,21 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } + private int jobBenefitsMemoizedSerializedSize; public static final int COMPENSATION_INFO_FIELD_NUMBER = 9; private com.google.cloud.talent.v4.CompensationInfo compensationInfo_; /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ @java.lang.Override @@ -3919,19 +4338,26 @@ public boolean hasCompensationInfo() { return compensationInfo_ != null; } /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo getCompensationInfo() { - return compensationInfo_ == null ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_; + return compensationInfo_ == null + ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() + : compensationInfo_; } /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -3945,21 +4371,26 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
   }
 
   public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;
+
   private static final class CustomAttributesDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.cloud.talent.v4.CustomAttribute> defaultEntry =
+            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.cloud.talent.v4.CustomAttribute.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.cloud.talent.v4.JobProto
+                        .internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.cloud.talent.v4.CustomAttribute.getDefaultInstance());
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.cloud.talent.v4.CustomAttribute> customAttributes_;
+
+  private com.google.protobuf.MapField
+      customAttributes_;
+
   private com.google.protobuf.MapField
-  internalGetCustomAttributes() {
+      internalGetCustomAttributes() {
     if (customAttributes_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomAttributesDefaultEntryHolder.defaultEntry);
@@ -3971,6 +4402,8 @@ public int getCustomAttributesCount() {
     return internalGetCustomAttributes().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -3986,22 +4419,23 @@ public int getCustomAttributesCount() {
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-
   @java.lang.Override
-  public boolean containsCustomAttributes(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsCustomAttributes(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetCustomAttributes().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getCustomAttributesMap()} instead.
-   */
+  /** Use {@link #getCustomAttributesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map getCustomAttributes() {
+  public java.util.Map
+      getCustomAttributes() {
     return getCustomAttributesMap();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4018,11 +4452,13 @@ public java.util.Mapmap<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
-
-  public java.util.Map getCustomAttributesMap() {
+  public java.util.Map
+      getCustomAttributesMap() {
     return internalGetCustomAttributes().getMap();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4039,16 +4475,18 @@ public java.util.Mapmap<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
-
   public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
-      java.lang.String key,
-      com.google.cloud.talent.v4.CustomAttribute defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.cloud.talent.v4.CustomAttribute defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4065,10 +4503,11 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
-
   public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
       java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     if (!map.containsKey(key)) {
@@ -4080,34 +4519,43 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   public static final int DEGREE_TYPES_FIELD_NUMBER = 11;
   private java.util.List degreeTypes_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.cloud.talent.v4.DegreeType> degreeTypes_converter_ =
+          java.lang.Integer, com.google.cloud.talent.v4.DegreeType>
+      degreeTypes_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4.DegreeType>() {
             public com.google.cloud.talent.v4.DegreeType convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4.DegreeType result = com.google.cloud.talent.v4.DegreeType.valueOf(from);
+              com.google.cloud.talent.v4.DegreeType result =
+                  com.google.cloud.talent.v4.DegreeType.valueOf(from);
               return result == null ? com.google.cloud.talent.v4.DegreeType.UNRECOGNIZED : result;
             }
           };
   /**
+   *
+   *
    * 
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ @java.lang.Override public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.DegreeType>(degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.DegreeType>( + degreeTypes_, degreeTypes_converter_); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ @java.lang.Override @@ -4115,11 +4563,14 @@ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -4128,24 +4579,29 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ @java.lang.Override - public java.util.List - getDegreeTypesValueList() { + public java.util.List getDegreeTypesValueList() { return degreeTypes_; } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -4153,11 +4609,14 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } + private int degreeTypesMemoizedSerializedSize; public static final int DEPARTMENT_FIELD_NUMBER = 12; private volatile java.lang.Object department_; /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -4165,6 +4624,7 @@ public int getDegreeTypesValue(int index) {
    * 
* * string department = 12; + * * @return The department. */ @java.lang.Override @@ -4173,14 +4633,15 @@ public java.lang.String getDepartment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; } } /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -4188,16 +4649,15 @@ public java.lang.String getDepartment() {
    * 
* * string department = 12; + * * @return The bytes for department. */ @java.lang.Override - public com.google.protobuf.ByteString - getDepartmentBytes() { + public com.google.protobuf.ByteString getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); department_ = b; return b; } else { @@ -4208,16 +4668,22 @@ public java.lang.String getDepartment() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> + employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>() { public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.EmploymentType result = com.google.cloud.talent.v4.EmploymentType.valueOf(from); - return result == null ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.EmploymentType result = + com.google.cloud.talent.v4.EmploymentType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4225,14 +4691,18 @@ public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4240,6 +4710,7 @@ public java.util.List getEmploymentTy
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ @java.lang.Override @@ -4247,6 +4718,8 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4254,6 +4727,7 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4262,6 +4736,8 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4269,14 +4745,16 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return employmentTypes_; } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4284,6 +4762,7 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4291,11 +4770,14 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } + private int employmentTypesMemoizedSerializedSize; public static final int INCENTIVES_FIELD_NUMBER = 14; private volatile java.lang.Object incentives_; /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4303,6 +4785,7 @@ public int getEmploymentTypesValue(int index) {
    * 
* * string incentives = 14; + * * @return The incentives. */ @java.lang.Override @@ -4311,14 +4794,15 @@ public java.lang.String getIncentives() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; } } /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4326,16 +4810,15 @@ public java.lang.String getIncentives() {
    * 
* * string incentives = 14; + * * @return The bytes for incentives. */ @java.lang.Override - public com.google.protobuf.ByteString - getIncentivesBytes() { + public com.google.protobuf.ByteString getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incentives_ = b; return b; } else { @@ -4346,6 +4829,8 @@ public java.lang.String getIncentives() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object languageCode_; /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4359,6 +4844,7 @@ public java.lang.String getIncentives() {
    * 
* * string language_code = 15; + * * @return The languageCode. */ @java.lang.Override @@ -4367,14 +4853,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4388,16 +4875,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4408,33 +4894,44 @@ public java.lang.String getLanguageCode() { public static final int JOB_LEVEL_FIELD_NUMBER = 16; private int jobLevel_; /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override public int getJobLevelValue() { + @java.lang.Override + public int getJobLevelValue() { return jobLevel_; } /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The jobLevel. */ - @java.lang.Override public com.google.cloud.talent.v4.JobLevel getJobLevel() { + @java.lang.Override + public com.google.cloud.talent.v4.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobLevel result = com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4.JobLevel result = + com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4.JobLevel.UNRECOGNIZED : result; } public static final int PROMOTION_VALUE_FIELD_NUMBER = 17; private int promotionValue_; /** + * + * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -4445,6 +4942,7 @@ public java.lang.String getLanguageCode() {
    * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ @java.lang.Override @@ -4455,6 +4953,8 @@ public int getPromotionValue() { public static final int QUALIFICATIONS_FIELD_NUMBER = 18; private volatile java.lang.Object qualifications_; /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4465,6 +4965,7 @@ public int getPromotionValue() {
    * 
* * string qualifications = 18; + * * @return The qualifications. */ @java.lang.Override @@ -4473,14 +4974,15 @@ public java.lang.String getQualifications() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; } } /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4491,16 +4993,15 @@ public java.lang.String getQualifications() {
    * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ @java.lang.Override - public com.google.protobuf.ByteString - getQualificationsBytes() { + public com.google.protobuf.ByteString getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); qualifications_ = b; return b; } else { @@ -4511,6 +5012,8 @@ public java.lang.String getQualifications() { public static final int RESPONSIBILITIES_FIELD_NUMBER = 19; private volatile java.lang.Object responsibilities_; /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -4521,6 +5024,7 @@ public java.lang.String getQualifications() {
    * 
* * string responsibilities = 19; + * * @return The responsibilities. */ @java.lang.Override @@ -4529,14 +5033,15 @@ public java.lang.String getResponsibilities() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; } } /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -4547,16 +5052,15 @@ public java.lang.String getResponsibilities() {
    * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ @java.lang.Override - public com.google.protobuf.ByteString - getResponsibilitiesBytes() { + public com.google.protobuf.ByteString getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -4567,6 +5071,8 @@ public java.lang.String getResponsibilities() { public static final int POSTING_REGION_FIELD_NUMBER = 20; private int postingRegion_; /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -4578,12 +5084,16 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override public int getPostingRegionValue() { + @java.lang.Override + public int getPostingRegionValue() { return postingRegion_; } /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -4595,17 +5105,22 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The postingRegion. */ - @java.lang.Override public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { + @java.lang.Override + public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.PostingRegion result = com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4.PostingRegion result = + com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4.PostingRegion.UNRECOGNIZED : result; } public static final int VISIBILITY_FIELD_NUMBER = 21; private int visibility_; /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -4613,14 +5128,19 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { + @java.lang.Override + @java.lang.Deprecated + public int getVisibilityValue() { return visibility_; } /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -4628,25 +5148,32 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.talent.v4.Visibility getVisibility() { + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.talent.v4.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Visibility result = com.google.cloud.talent.v4.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4.Visibility result = + com.google.cloud.talent.v4.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4.Visibility.UNRECOGNIZED : result; } public static final int JOB_START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp jobStartTime_; /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ @java.lang.Override @@ -4654,19 +5181,26 @@ public boolean hasJobStartTime() { return jobStartTime_ != null; } /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobStartTime() { - return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; + return jobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobStartTime_; } /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -4682,12 +5216,15 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
   public static final int JOB_END_TIME_FIELD_NUMBER = 23;
   private com.google.protobuf.Timestamp jobEndTime_;
   /**
+   *
+   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ @java.lang.Override @@ -4695,12 +5232,15 @@ public boolean hasJobEndTime() { return jobEndTime_ != null; } /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ @java.lang.Override @@ -4708,6 +5248,8 @@ public com.google.protobuf.Timestamp getJobEndTime() { return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -4723,6 +5265,8 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
   public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
   private com.google.protobuf.Timestamp postingPublishTime_;
   /**
+   *
+   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4730,6 +5274,7 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ @java.lang.Override @@ -4737,6 +5282,8 @@ public boolean hasPostingPublishTime() { return postingPublishTime_ != null; } /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4744,13 +5291,18 @@ public boolean hasPostingPublishTime() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingPublishTime() { - return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; + return postingPublishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingPublishTime_; } /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4767,6 +5319,8 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
   public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
   private com.google.protobuf.Timestamp postingExpireTime_;
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4806,6 +5360,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ @java.lang.Override @@ -4813,6 +5368,8 @@ public boolean hasPostingExpireTime() { return postingExpireTime_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4852,13 +5409,18 @@ public boolean hasPostingExpireTime() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingExpireTime() { - return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; + return postingExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingExpireTime_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4907,11 +5469,16 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
   public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
   private com.google.protobuf.Timestamp postingCreateTime_;
   /**
+   *
+   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ @java.lang.Override @@ -4919,23 +5486,34 @@ public boolean hasPostingCreateTime() { return postingCreateTime_ != null; } /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingCreateTime() { - return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { @@ -4945,11 +5523,16 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp postingUpdateTime_; /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ @java.lang.Override @@ -4957,23 +5540,34 @@ public boolean hasPostingUpdateTime() { return postingUpdateTime_ != null; } /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingUpdateTime() { - return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { @@ -4983,11 +5577,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28; private volatile java.lang.Object companyDisplayName_; /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ @java.lang.Override @@ -4996,29 +5593,29 @@ public java.lang.String getCompanyDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; } } /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -5029,11 +5626,16 @@ public java.lang.String getCompanyDisplayName() { public static final int DERIVED_INFO_FIELD_NUMBER = 29; private com.google.cloud.talent.v4.Job.DerivedInfo derivedInfo_; /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -5041,23 +5643,34 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -5067,11 +5680,14 @@ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuild public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30; private com.google.cloud.talent.v4.Job.ProcessingOptions processingOptions_; /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ @java.lang.Override @@ -5079,18 +5695,25 @@ public boolean hasProcessingOptions() { return processingOptions_ != null; } /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ @java.lang.Override public com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions() { - return processingOptions_ == null ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } /** + * + * *
    * Options for job processing.
    * 
@@ -5103,6 +5726,7 @@ public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOp } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5114,8 +5738,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -5148,12 +5771,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (compensationInfo_ != null) { output.writeMessage(9, getCompensationInfo()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetCustomAttributes(), - CustomAttributesDefaultEntryHolder.defaultEntry, - 10); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10); if (getDegreeTypesList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize); @@ -5189,7 +5808,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_); } - if (postingRegion_ != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + if (postingRegion_ + != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { output.writeEnum(20, postingRegion_); } if (visibility_ != com.google.cloud.talent.v4.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { @@ -5255,46 +5875,45 @@ public int getSerializedSize() { size += 1 * getAddressesList().size(); } if (applicationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getApplicationInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo()); } { int dataSize = 0; for (int i = 0; i < jobBenefits_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobBenefits_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i)); } size += dataSize; - if (!getJobBenefitsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobBenefitsMemoizedSerializedSize = dataSize; + if (!getJobBenefitsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobBenefitsMemoizedSerializedSize = dataSize; } if (compensationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getCompensationInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo()); } - for (java.util.Map.Entry entry - : internalGetCustomAttributes().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetCustomAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry - customAttributes__ = CustomAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, customAttributes__); + customAttributes__ = + CustomAttributesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__); } { int dataSize = 0; for (int i = 0; i < degreeTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(degreeTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i)); } size += dataSize; - if (!getDegreeTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }degreeTypesMemoizedSerializedSize = dataSize; + if (!getDegreeTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + degreeTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_); @@ -5302,14 +5921,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + employmentTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incentives_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_); @@ -5318,12 +5938,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_); } if (jobLevel_ != com.google.cloud.talent.v4.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, jobLevel_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_); } if (promotionValue_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(17, promotionValue_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qualifications_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_); @@ -5331,48 +5949,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_); } - if (postingRegion_ != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(20, postingRegion_); + if (postingRegion_ + != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_); } if (visibility_ != com.google.cloud.talent.v4.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(21, visibility_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_); } if (jobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getJobStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime()); } if (jobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getJobEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime()); } if (postingPublishTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getPostingPublishTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime()); } if (postingExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getPostingExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime()); } if (postingCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getPostingCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime()); } if (postingUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getPostingUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(companyDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo()); } if (processingOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getProcessingOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5382,96 +5991,72 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job)) { return super.equals(obj); } com.google.cloud.talent.v4.Job other = (com.google.cloud.talent.v4.Job) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCompany() - .equals(other.getCompany())) return false; - if (!getRequisitionId() - .equals(other.getRequisitionId())) return false; - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getAddressesList() - .equals(other.getAddressesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getCompany().equals(other.getCompany())) return false; + if (!getRequisitionId().equals(other.getRequisitionId())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAddressesList().equals(other.getAddressesList())) return false; if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - if (!getApplicationInfo() - .equals(other.getApplicationInfo())) return false; + if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; } if (!jobBenefits_.equals(other.jobBenefits_)) return false; if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - if (!getCompensationInfo() - .equals(other.getCompensationInfo())) return false; + if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; } - if (!internalGetCustomAttributes().equals( - other.internalGetCustomAttributes())) return false; + if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; if (!degreeTypes_.equals(other.degreeTypes_)) return false; - if (!getDepartment() - .equals(other.getDepartment())) return false; + if (!getDepartment().equals(other.getDepartment())) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getIncentives() - .equals(other.getIncentives())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getIncentives().equals(other.getIncentives())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (jobLevel_ != other.jobLevel_) return false; - if (getPromotionValue() - != other.getPromotionValue()) return false; - if (!getQualifications() - .equals(other.getQualifications())) return false; - if (!getResponsibilities() - .equals(other.getResponsibilities())) return false; + if (getPromotionValue() != other.getPromotionValue()) return false; + if (!getQualifications().equals(other.getQualifications())) return false; + if (!getResponsibilities().equals(other.getResponsibilities())) return false; if (postingRegion_ != other.postingRegion_) return false; if (visibility_ != other.visibility_) return false; if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - if (!getJobStartTime() - .equals(other.getJobStartTime())) return false; + if (!getJobStartTime().equals(other.getJobStartTime())) return false; } if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - if (!getJobEndTime() - .equals(other.getJobEndTime())) return false; + if (!getJobEndTime().equals(other.getJobEndTime())) return false; } if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - if (!getPostingPublishTime() - .equals(other.getPostingPublishTime())) return false; + if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; } if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - if (!getPostingExpireTime() - .equals(other.getPostingExpireTime())) return false; + if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; } if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - if (!getPostingCreateTime() - .equals(other.getPostingCreateTime())) return false; + if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; } if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - if (!getPostingUpdateTime() - .equals(other.getPostingUpdateTime())) return false; + if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; } - if (!getCompanyDisplayName() - .equals(other.getCompanyDisplayName())) return false; + if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo() - .equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - if (!getProcessingOptions() - .equals(other.getProcessingOptions())) return false; + if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5579,97 +6164,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.cloud.talent.v4.Job parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Job resource represents a job posting (also referred to as a "job listing"
    * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4.Company], which is the hiring
@@ -5678,55 +6269,51 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.Job}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job)
       com.google.cloud.talent.v4.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.JobProto
+          .internal_static_google_cloud_talent_v4_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 10:
           return internalGetCustomAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 10:
           return internalGetMutableCustomAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobProto
+          .internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.talent.v4.Job.class, com.google.cloud.talent.v4.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Job.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5833,9 +6420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobProto
+          .internal_static_google_cloud_talent_v4_Job_descriptor;
     }
 
     @java.lang.Override
@@ -5951,38 +6538,39 @@ public com.google.cloud.talent.v4.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Job) {
-        return mergeFrom((com.google.cloud.talent.v4.Job)other);
+        return mergeFrom((com.google.cloud.talent.v4.Job) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6037,8 +6625,7 @@ public Builder mergeFrom(com.google.cloud.talent.v4.Job other) {
       if (other.hasCompensationInfo()) {
         mergeCompensationInfo(other.getCompensationInfo());
       }
-      internalGetMutableCustomAttributes().mergeFrom(
-          other.internalGetCustomAttributes());
+      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
       if (!other.degreeTypes_.isEmpty()) {
         if (degreeTypes_.isEmpty()) {
           degreeTypes_ = other.degreeTypes_;
@@ -6145,222 +6732,246 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              company_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                company_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              requisitionId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                requisitionId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              title_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                title_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAddressesIsMutable();
-              addresses_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getApplicationInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAddressesIsMutable();
+                addresses_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getApplicationInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 58
-            case 64: {
-              int tmpRaw = input.readEnum();
-              ensureJobBenefitsIsMutable();
-              jobBenefits_.add(tmpRaw);
-              break;
-            } // case 64
-            case 66: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 58
+            case 64:
+              {
                 int tmpRaw = input.readEnum();
                 ensureJobBenefitsIsMutable();
                 jobBenefits_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getCompensationInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 64
+            case 66:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureJobBenefitsIsMutable();
+                  jobBenefits_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getCompensationInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 74
-            case 82: {
-              com.google.protobuf.MapEntry
-              customAttributes__ = input.readMessage(
-                  CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableCustomAttributes().getMutableMap().put(
-                  customAttributes__.getKey(), customAttributes__.getValue());
-              break;
-            } // case 82
-            case 88: {
-              int tmpRaw = input.readEnum();
-              ensureDegreeTypesIsMutable();
-              degreeTypes_.add(tmpRaw);
-              break;
-            } // case 88
-            case 90: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 74
+            case 82:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+                    customAttributes__ =
+                        input.readMessage(
+                            CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableCustomAttributes()
+                    .getMutableMap()
+                    .put(customAttributes__.getKey(), customAttributes__.getValue());
+                break;
+              } // case 82
+            case 88:
+              {
                 int tmpRaw = input.readEnum();
                 ensureDegreeTypesIsMutable();
                 degreeTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 90
-            case 98: {
-              department_ = input.readStringRequireUtf8();
+                break;
+              } // case 88
+            case 90:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureDegreeTypesIsMutable();
+                  degreeTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 90
+            case 98:
+              {
+                department_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 98
-            case 104: {
-              int tmpRaw = input.readEnum();
-              ensureEmploymentTypesIsMutable();
-              employmentTypes_.add(tmpRaw);
-              break;
-            } // case 104
-            case 106: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 98
+            case 104:
+              {
                 int tmpRaw = input.readEnum();
                 ensureEmploymentTypesIsMutable();
                 employmentTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 106
-            case 114: {
-              incentives_ = input.readStringRequireUtf8();
+                break;
+              } // case 104
+            case 106:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureEmploymentTypesIsMutable();
+                  employmentTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 106
+            case 114:
+              {
+                incentives_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 114
-            case 122: {
-              languageCode_ = input.readStringRequireUtf8();
+                break;
+              } // case 114
+            case 122:
+              {
+                languageCode_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 122
-            case 128: {
-              jobLevel_ = input.readEnum();
+                break;
+              } // case 122
+            case 128:
+              {
+                jobLevel_ = input.readEnum();
 
-              break;
-            } // case 128
-            case 136: {
-              promotionValue_ = input.readInt32();
+                break;
+              } // case 128
+            case 136:
+              {
+                promotionValue_ = input.readInt32();
 
-              break;
-            } // case 136
-            case 146: {
-              qualifications_ = input.readStringRequireUtf8();
+                break;
+              } // case 136
+            case 146:
+              {
+                qualifications_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 146
-            case 154: {
-              responsibilities_ = input.readStringRequireUtf8();
+                break;
+              } // case 146
+            case 154:
+              {
+                responsibilities_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 154
-            case 160: {
-              postingRegion_ = input.readEnum();
+                break;
+              } // case 154
+            case 160:
+              {
+                postingRegion_ = input.readEnum();
 
-              break;
-            } // case 160
-            case 168: {
-              visibility_ = input.readEnum();
+                break;
+              } // case 160
+            case 168:
+              {
+                visibility_ = input.readEnum();
 
-              break;
-            } // case 168
-            case 178: {
-              input.readMessage(
-                  getJobStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 168
+            case 178:
+              {
+                input.readMessage(getJobStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getJobEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(getJobEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 186
-            case 194: {
-              input.readMessage(
-                  getPostingPublishTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 186
+            case 194:
+              {
+                input.readMessage(
+                    getPostingPublishTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 194
-            case 202: {
-              input.readMessage(
-                  getPostingExpireTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 194
+            case 202:
+              {
+                input.readMessage(
+                    getPostingExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 202
-            case 210: {
-              input.readMessage(
-                  getPostingCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 202
+            case 210:
+              {
+                input.readMessage(
+                    getPostingCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 210
-            case 218: {
-              input.readMessage(
-                  getPostingUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 210
+            case 218:
+              {
+                input.readMessage(
+                    getPostingUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 218
-            case 226: {
-              companyDisplayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 218
+            case 226:
+              {
+                companyDisplayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 226
-            case 234: {
-              input.readMessage(
-                  getDerivedInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 226
+            case 234:
+              {
+                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 234
-            case 242: {
-              input.readMessage(
-                  getProcessingOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 234
+            case 242:
+              {
+                input.readMessage(
+                    getProcessingOptionsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 242
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 242
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6370,10 +6981,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6386,13 +7000,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6401,6 +7015,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6413,15 +7029,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6429,6 +7044,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6441,20 +7058,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6467,15 +7086,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6488,16 +7110,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6505,6 +7127,8 @@ public Builder setNameBytes( private java.lang.Object company_ = ""; /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6512,14 +7136,16 @@ public Builder setNameBytes(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -6528,6 +7154,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6535,16 +7163,17 @@ public java.lang.String getCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -6552,6 +7181,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6559,21 +7190,25 @@ public java.lang.String getCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany( - java.lang.String value) { + public Builder setCompany(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6581,16 +7216,21 @@ public Builder setCompany(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6598,17 +7238,19 @@ public Builder clearCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -6616,6 +7258,8 @@ public Builder setCompanyBytes( private java.lang.Object requisitionId_ = ""; /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6626,13 +7270,13 @@ public Builder setCompanyBytes(
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ public java.lang.String getRequisitionId() { java.lang.Object ref = requisitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; @@ -6641,6 +7285,8 @@ public java.lang.String getRequisitionId() { } } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6651,15 +7297,14 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ - public com.google.protobuf.ByteString - getRequisitionIdBytes() { + public com.google.protobuf.ByteString getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -6667,6 +7312,8 @@ public java.lang.String getRequisitionId() { } } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6677,20 +7324,22 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionId( - java.lang.String value) { + public Builder setRequisitionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requisitionId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6701,15 +7350,18 @@ public Builder setRequisitionId(
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRequisitionId() { - + requisitionId_ = getDefaultInstance().getRequisitionId(); onChanged(); return this; } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6720,16 +7372,16 @@ public Builder clearRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requisitionId_ = value; onChanged(); return this; @@ -6737,19 +7389,21 @@ public Builder setRequisitionIdBytes( private java.lang.Object title_ = ""; /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -6758,21 +7412,22 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -6780,57 +7435,64 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -6838,6 +7500,8 @@ public Builder setTitleBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6850,13 +7514,13 @@ public Builder setTitleBytes(
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6865,6 +7529,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6877,15 +7543,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -6893,6 +7558,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6905,20 +7572,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6931,15 +7600,18 @@ public Builder setDescription(
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6952,29 +7624,33 @@ public Builder clearDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7000,13 +7676,15 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList - getAddressesList() { + public com.google.protobuf.ProtocolStringList getAddressesList() { return addresses_.getUnmodifiableView(); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7032,12 +7710,15 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7063,6 +7744,7 @@ public int getAddressesCount() {
      * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -7070,6 +7752,8 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7095,14 +7779,16 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString - getAddressesBytes(int index) { + public com.google.protobuf.ByteString getAddressesBytes(int index) { return addresses_.getByteString(index); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7128,21 +7814,23 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; + * * @param index The index to set the value at. * @param value The addresses to set. * @return This builder for chaining. */ - public Builder setAddresses( - int index, java.lang.String value) { + public Builder setAddresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.set(index, value); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7168,20 +7856,22 @@ public Builder setAddresses(
      * 
* * repeated string addresses = 6; + * * @param value The addresses to add. * @return This builder for chaining. */ - public Builder addAddresses( - java.lang.String value) { + public Builder addAddresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.add(value); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7207,18 +7897,19 @@ public Builder addAddresses(
      * 
* * repeated string addresses = 6; + * * @param values The addresses to add. * @return This builder for chaining. */ - public Builder addAllAddresses( - java.lang.Iterable values) { + public Builder addAllAddresses(java.lang.Iterable values) { ensureAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7244,6 +7935,7 @@ public Builder addAllAddresses(
      * 
* * repeated string addresses = 6; + * * @return This builder for chaining. */ public Builder clearAddresses() { @@ -7253,6 +7945,8 @@ public Builder clearAddresses() { return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7278,15 +7972,15 @@ public Builder clearAddresses() {
      * 
* * repeated string addresses = 6; + * * @param value The bytes of the addresses to add. * @return This builder for chaining. */ - public Builder addAddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addAddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAddressesIsMutable(); addresses_.add(value); onChanged(); @@ -7295,34 +7989,47 @@ public Builder addAddressesBytes( private com.google.cloud.talent.v4.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> applicationInfoBuilder_; + com.google.cloud.talent.v4.Job.ApplicationInfo, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> + applicationInfoBuilder_; /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ public boolean hasApplicationInfo() { return applicationInfoBuilder_ != null || applicationInfo_ != null; } /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ public com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo() { if (applicationInfoBuilder_ == null) { - return applicationInfo_ == null ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } else { return applicationInfoBuilder_.getMessage(); } } /** + * + * *
      * Job application information.
      * 
@@ -7343,6 +8050,8 @@ public Builder setApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationInfo return this; } /** + * + * *
      * Job application information.
      * 
@@ -7361,6 +8070,8 @@ public Builder setApplicationInfo( return this; } /** + * + * *
      * Job application information.
      * 
@@ -7371,7 +8082,9 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationIn if (applicationInfoBuilder_ == null) { if (applicationInfo_ != null) { applicationInfo_ = - com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder(applicationInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder(applicationInfo_) + .mergeFrom(value) + .buildPartial(); } else { applicationInfo_ = value; } @@ -7383,6 +8096,8 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationIn return this; } /** + * + * *
      * Job application information.
      * 
@@ -7401,6 +8116,8 @@ public Builder clearApplicationInfo() { return this; } /** + * + * *
      * Job application information.
      * 
@@ -7408,11 +8125,13 @@ public Builder clearApplicationInfo() { * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; */ public com.google.cloud.talent.v4.Job.ApplicationInfo.Builder getApplicationInfoBuilder() { - + onChanged(); return getApplicationInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Job application information.
      * 
@@ -7423,11 +8142,14 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf if (applicationInfoBuilder_ != null) { return applicationInfoBuilder_.getMessageOrBuilder(); } else { - return applicationInfo_ == null ? - com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } } /** + * + * *
      * Job application information.
      * 
@@ -7435,21 +8157,24 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> + com.google.cloud.talent.v4.Job.ApplicationInfo, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> getApplicationInfoFieldBuilder() { if (applicationInfoBuilder_ == null) { - applicationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder>( - getApplicationInfo(), - getParentForChildren(), - isClean()); + applicationInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.ApplicationInfo, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder>( + getApplicationInfo(), getParentForChildren(), isClean()); applicationInfo_ = null; } return applicationInfoBuilder_; } - private java.util.List jobBenefits_ = - java.util.Collections.emptyList(); + private java.util.List jobBenefits_ = java.util.Collections.emptyList(); + private void ensureJobBenefitsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); @@ -7457,34 +8182,44 @@ private void ensureJobBenefitsIsMutable() { } } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>(jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>( + jobBenefits_, jobBenefits_converter_); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -7492,17 +8227,19 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index to set the value at. * @param value The jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefits( - int index, com.google.cloud.talent.v4.JobBenefit value) { + public Builder setJobBenefits(int index, com.google.cloud.talent.v4.JobBenefit value) { if (value == null) { throw new NullPointerException(); } @@ -7512,11 +8249,14 @@ public Builder setJobBenefits( return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param value The jobBenefits to add. * @return This builder for chaining. */ @@ -7530,11 +8270,14 @@ public Builder addJobBenefits(com.google.cloud.talent.v4.JobBenefit value) { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param values The jobBenefits to add. * @return This builder for chaining. */ @@ -7548,11 +8291,14 @@ public Builder addAllJobBenefits( return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return This builder for chaining. */ public Builder clearJobBenefits() { @@ -7562,23 +8308,28 @@ public Builder clearJobBenefits() { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - public java.util.List - getJobBenefitsValueList() { + public java.util.List getJobBenefitsValueList() { return java.util.Collections.unmodifiableList(jobBenefits_); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -7586,28 +8337,33 @@ public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefitsValue( - int index, int value) { + public Builder setJobBenefitsValue(int index, int value) { ensureJobBenefitsIsMutable(); jobBenefits_.set(index, value); onChanged(); return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param value The enum numeric value on the wire for jobBenefits to add. * @return This builder for chaining. */ @@ -7618,16 +8374,18 @@ public Builder addJobBenefitsValue(int value) { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param values The enum numeric values on the wire for jobBenefits to add. * @return This builder for chaining. */ - public Builder addAllJobBenefitsValue( - java.lang.Iterable values) { + public Builder addAllJobBenefitsValue(java.lang.Iterable values) { ensureJobBenefitsIsMutable(); for (int value : values) { jobBenefits_.add(value); @@ -7638,36 +8396,49 @@ public Builder addAllJobBenefitsValue( private com.google.cloud.talent.v4.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder> compensationInfoBuilder_; + com.google.cloud.talent.v4.CompensationInfo, + com.google.cloud.talent.v4.CompensationInfo.Builder, + com.google.cloud.talent.v4.CompensationInfoOrBuilder> + compensationInfoBuilder_; /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ public boolean hasCompensationInfo() { return compensationInfoBuilder_ != null || compensationInfo_ != null; } /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ public com.google.cloud.talent.v4.CompensationInfo getCompensationInfo() { if (compensationInfoBuilder_ == null) { - return compensationInfo_ == null ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_; + return compensationInfo_ == null + ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() + : compensationInfo_; } else { return compensationInfoBuilder_.getMessage(); } } /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7689,6 +8460,8 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4.CompensationInfo v
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7708,6 +8481,8 @@ public Builder setCompensationInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7719,7 +8494,9 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4.CompensationInfo
       if (compensationInfoBuilder_ == null) {
         if (compensationInfo_ != null) {
           compensationInfo_ =
-            com.google.cloud.talent.v4.CompensationInfo.newBuilder(compensationInfo_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.CompensationInfo.newBuilder(compensationInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           compensationInfo_ = value;
         }
@@ -7731,6 +8508,8 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4.CompensationInfo
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7750,6 +8529,8 @@ public Builder clearCompensationInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7758,11 +8539,13 @@ public Builder clearCompensationInfo() {
      * .google.cloud.talent.v4.CompensationInfo compensation_info = 9;
      */
     public com.google.cloud.talent.v4.CompensationInfo.Builder getCompensationInfoBuilder() {
-      
+
       onChanged();
       return getCompensationInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7774,11 +8557,14 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
       if (compensationInfoBuilder_ != null) {
         return compensationInfoBuilder_.getMessageOrBuilder();
       } else {
-        return compensationInfo_ == null ?
-            com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_;
+        return compensationInfo_ == null
+            ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance()
+            : compensationInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7787,35 +8573,45 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
      * .google.cloud.talent.v4.CompensationInfo compensation_info = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder> 
+            com.google.cloud.talent.v4.CompensationInfo,
+            com.google.cloud.talent.v4.CompensationInfo.Builder,
+            com.google.cloud.talent.v4.CompensationInfoOrBuilder>
         getCompensationInfoFieldBuilder() {
       if (compensationInfoBuilder_ == null) {
-        compensationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder>(
-                getCompensationInfo(),
-                getParentForChildren(),
-                isClean());
+        compensationInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.CompensationInfo,
+                com.google.cloud.talent.v4.CompensationInfo.Builder,
+                com.google.cloud.talent.v4.CompensationInfoOrBuilder>(
+                getCompensationInfo(), getParentForChildren(), isClean());
         compensationInfo_ = null;
       }
       return compensationInfoBuilder_;
     }
 
     private com.google.protobuf.MapField<
-        java.lang.String, com.google.cloud.talent.v4.CustomAttribute> customAttributes_;
-    private com.google.protobuf.MapField
-    internalGetCustomAttributes() {
+            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+        customAttributes_;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+        internalGetCustomAttributes() {
       if (customAttributes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       return customAttributes_;
     }
-    private com.google.protobuf.MapField
-    internalGetMutableCustomAttributes() {
-      onChanged();;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+        internalGetMutableCustomAttributes() {
+      onChanged();
+      ;
       if (customAttributes_ == null) {
-        customAttributes_ = com.google.protobuf.MapField.newMapField(
-            CustomAttributesDefaultEntryHolder.defaultEntry);
+        customAttributes_ =
+            com.google.protobuf.MapField.newMapField(
+                CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       if (!customAttributes_.isMutable()) {
         customAttributes_ = customAttributes_.copy();
@@ -7827,6 +8623,8 @@ public int getCustomAttributesCount() {
       return internalGetCustomAttributes().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7840,24 +8638,26 @@ public int getCustomAttributesCount() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ - @java.lang.Override - public boolean containsCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCustomAttributes().getMap().containsKey(key); } - /** - * Use {@link #getCustomAttributesMap()} instead. - */ + /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCustomAttributes() { + public java.util.Map + getCustomAttributes() { return getCustomAttributesMap(); } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7871,14 +8671,17 @@ public java.util.Map
      *
-     * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
+     * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
+     * 
      */
     @java.lang.Override
-
-    public java.util.Map getCustomAttributesMap() {
+    public java.util.Map
+        getCustomAttributesMap() {
       return internalGetCustomAttributes().getMap();
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7892,19 +8695,22 @@ public java.util.Map
      *
-     * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
+     * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
+     * 
      */
     @java.lang.Override
-
     public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
-        java.lang.String key,
-        com.google.cloud.talent.v4.CustomAttribute defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.talent.v4.CustomAttribute defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetCustomAttributes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7918,13 +8724,15 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -7934,11 +8742,12 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow( } public Builder clearCustomAttributes() { - internalGetMutableCustomAttributes().getMutableMap() - .clear(); + internalGetMutableCustomAttributes().getMutableMap().clear(); return this; } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7952,25 +8761,25 @@ public Builder clearCustomAttributes() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ - - public Builder removeCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableCustomAttributes().getMutableMap() - .remove(key); + public Builder removeCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableCustomAttributes().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableCustomAttributes() { + getMutableCustomAttributes() { return internalGetMutableCustomAttributes().getMutableMap(); } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7984,21 +8793,24 @@ public Builder removeCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ public Builder putCustomAttributes( - java.lang.String key, - com.google.cloud.talent.v4.CustomAttribute value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.cloud.talent.v4.CustomAttribute value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableCustomAttributes().getMutableMap() - .put(key, value); + internalGetMutableCustomAttributes().getMutableMap().put(key, value); return this; } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8012,18 +8824,17 @@ public Builder putCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ - public Builder putAllCustomAttributes( java.util.Map values) { - internalGetMutableCustomAttributes().getMutableMap() - .putAll(values); + internalGetMutableCustomAttributes().getMutableMap().putAll(values); return this; } - private java.util.List degreeTypes_ = - java.util.Collections.emptyList(); + private java.util.List degreeTypes_ = java.util.Collections.emptyList(); + private void ensureDegreeTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); @@ -8031,34 +8842,44 @@ private void ensureDegreeTypesIsMutable() { } } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.DegreeType>(degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.DegreeType>( + degreeTypes_, degreeTypes_converter_); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -8066,17 +8887,19 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index to set the value at. * @param value The degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypes( - int index, com.google.cloud.talent.v4.DegreeType value) { + public Builder setDegreeTypes(int index, com.google.cloud.talent.v4.DegreeType value) { if (value == null) { throw new NullPointerException(); } @@ -8086,11 +8909,14 @@ public Builder setDegreeTypes( return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param value The degreeTypes to add. * @return This builder for chaining. */ @@ -8104,11 +8930,14 @@ public Builder addDegreeTypes(com.google.cloud.talent.v4.DegreeType value) { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param values The degreeTypes to add. * @return This builder for chaining. */ @@ -8122,11 +8951,14 @@ public Builder addAllDegreeTypes( return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return This builder for chaining. */ public Builder clearDegreeTypes() { @@ -8136,23 +8968,28 @@ public Builder clearDegreeTypes() { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - public java.util.List - getDegreeTypesValueList() { + public java.util.List getDegreeTypesValueList() { return java.util.Collections.unmodifiableList(degreeTypes_); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -8160,28 +8997,33 @@ public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypesValue( - int index, int value) { + public Builder setDegreeTypesValue(int index, int value) { ensureDegreeTypesIsMutable(); degreeTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param value The enum numeric value on the wire for degreeTypes to add. * @return This builder for chaining. */ @@ -8192,16 +9034,18 @@ public Builder addDegreeTypesValue(int value) { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param values The enum numeric values on the wire for degreeTypes to add. * @return This builder for chaining. */ - public Builder addAllDegreeTypesValue( - java.lang.Iterable values) { + public Builder addAllDegreeTypesValue(java.lang.Iterable values) { ensureDegreeTypesIsMutable(); for (int value : values) { degreeTypes_.add(value); @@ -8212,6 +9056,8 @@ public Builder addAllDegreeTypesValue( private java.lang.Object department_ = ""; /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8219,13 +9065,13 @@ public Builder addAllDegreeTypesValue(
      * 
* * string department = 12; + * * @return The department. */ public java.lang.String getDepartment() { java.lang.Object ref = department_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; @@ -8234,6 +9080,8 @@ public java.lang.String getDepartment() { } } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8241,15 +9089,14 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; + * * @return The bytes for department. */ - public com.google.protobuf.ByteString - getDepartmentBytes() { + public com.google.protobuf.ByteString getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); department_ = b; return b; } else { @@ -8257,6 +9104,8 @@ public java.lang.String getDepartment() { } } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8264,20 +9113,22 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; + * * @param value The department to set. * @return This builder for chaining. */ - public Builder setDepartment( - java.lang.String value) { + public Builder setDepartment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + department_ = value; onChanged(); return this; } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8285,15 +9136,18 @@ public Builder setDepartment(
      * 
* * string department = 12; + * * @return This builder for chaining. */ public Builder clearDepartment() { - + department_ = getDefaultInstance().getDepartment(); onChanged(); return this; } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8301,23 +9155,23 @@ public Builder clearDepartment() {
      * 
* * string department = 12; + * * @param value The bytes for department to set. * @return This builder for chaining. */ - public Builder setDepartmentBytes( - com.google.protobuf.ByteString value) { + public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + department_ = value; onChanged(); return this; } - private java.util.List employmentTypes_ = - java.util.Collections.emptyList(); + private java.util.List employmentTypes_ = java.util.Collections.emptyList(); + private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -8325,6 +9179,8 @@ private void ensureEmploymentTypesIsMutable() { } } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8332,13 +9188,17 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8346,12 +9206,15 @@ public java.util.List getEmploymentTy
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8359,6 +9222,7 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -8366,6 +9230,8 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8373,12 +9239,12 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypes( - int index, com.google.cloud.talent.v4.EmploymentType value) { + public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.EmploymentType value) { if (value == null) { throw new NullPointerException(); } @@ -8388,6 +9254,8 @@ public Builder setEmploymentTypes( return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8395,6 +9263,7 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -8408,6 +9277,8 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8415,6 +9286,7 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -8428,6 +9300,8 @@ public Builder addAllEmploymentTypes( return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8435,6 +9309,7 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -8444,6 +9319,8 @@ public Builder clearEmploymentTypes() { return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8451,13 +9328,15 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8465,6 +9344,7 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -8472,6 +9352,8 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8479,18 +9361,20 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue( - int index, int value) { + public Builder setEmploymentTypesValue(int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8498,6 +9382,7 @@ public Builder setEmploymentTypesValue(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -8508,6 +9393,8 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8515,11 +9402,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue( - java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -8530,6 +9417,8 @@ public Builder addAllEmploymentTypesValue( private java.lang.Object incentives_ = ""; /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8537,13 +9426,13 @@ public Builder addAllEmploymentTypesValue(
      * 
* * string incentives = 14; + * * @return The incentives. */ public java.lang.String getIncentives() { java.lang.Object ref = incentives_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; @@ -8552,6 +9441,8 @@ public java.lang.String getIncentives() { } } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8559,15 +9450,14 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; + * * @return The bytes for incentives. */ - public com.google.protobuf.ByteString - getIncentivesBytes() { + public com.google.protobuf.ByteString getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incentives_ = b; return b; } else { @@ -8575,6 +9465,8 @@ public java.lang.String getIncentives() { } } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8582,20 +9474,22 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; + * * @param value The incentives to set. * @return This builder for chaining. */ - public Builder setIncentives( - java.lang.String value) { + public Builder setIncentives(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incentives_ = value; onChanged(); return this; } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8603,15 +9497,18 @@ public Builder setIncentives(
      * 
* * string incentives = 14; + * * @return This builder for chaining. */ public Builder clearIncentives() { - + incentives_ = getDefaultInstance().getIncentives(); onChanged(); return this; } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8619,16 +9516,16 @@ public Builder clearIncentives() {
      * 
* * string incentives = 14; + * * @param value The bytes for incentives to set. * @return This builder for chaining. */ - public Builder setIncentivesBytes( - com.google.protobuf.ByteString value) { + public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incentives_ = value; onChanged(); return this; @@ -8636,6 +9533,8 @@ public Builder setIncentivesBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8649,13 +9548,13 @@ public Builder setIncentivesBytes(
      * 
* * string language_code = 15; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -8664,6 +9563,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8677,15 +9578,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -8693,6 +9593,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8706,20 +9608,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8733,15 +9637,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 15; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8755,16 +9662,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 15; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -8772,51 +9679,65 @@ public Builder setLanguageCodeBytes( private int jobLevel_ = 0; /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override public int getJobLevelValue() { + @java.lang.Override + public int getJobLevelValue() { return jobLevel_; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @param value The enum numeric value on the wire for jobLevel to set. * @return This builder for chaining. */ public Builder setJobLevelValue(int value) { - + jobLevel_ = value; onChanged(); return this; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The jobLevel. */ @java.lang.Override public com.google.cloud.talent.v4.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobLevel result = com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4.JobLevel result = + com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4.JobLevel.UNRECOGNIZED : result; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @param value The jobLevel to set. * @return This builder for chaining. */ @@ -8824,28 +9745,33 @@ public Builder setJobLevel(com.google.cloud.talent.v4.JobLevel value) { if (value == null) { throw new NullPointerException(); } - + jobLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return This builder for chaining. */ public Builder clearJobLevel() { - + jobLevel_ = 0; onChanged(); return this; } - private int promotionValue_ ; + private int promotionValue_; /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8856,6 +9782,7 @@ public Builder clearJobLevel() {
      * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ @java.lang.Override @@ -8863,6 +9790,8 @@ public int getPromotionValue() { return promotionValue_; } /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8873,16 +9802,19 @@ public int getPromotionValue() {
      * 
* * int32 promotion_value = 17; + * * @param value The promotionValue to set. * @return This builder for chaining. */ public Builder setPromotionValue(int value) { - + promotionValue_ = value; onChanged(); return this; } /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8893,10 +9825,11 @@ public Builder setPromotionValue(int value) {
      * 
* * int32 promotion_value = 17; + * * @return This builder for chaining. */ public Builder clearPromotionValue() { - + promotionValue_ = 0; onChanged(); return this; @@ -8904,6 +9837,8 @@ public Builder clearPromotionValue() { private java.lang.Object qualifications_ = ""; /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8914,13 +9849,13 @@ public Builder clearPromotionValue() {
      * 
* * string qualifications = 18; + * * @return The qualifications. */ public java.lang.String getQualifications() { java.lang.Object ref = qualifications_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; @@ -8929,6 +9864,8 @@ public java.lang.String getQualifications() { } } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8939,15 +9876,14 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ - public com.google.protobuf.ByteString - getQualificationsBytes() { + public com.google.protobuf.ByteString getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); qualifications_ = b; return b; } else { @@ -8955,6 +9891,8 @@ public java.lang.String getQualifications() { } } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8965,20 +9903,22 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; + * * @param value The qualifications to set. * @return This builder for chaining. */ - public Builder setQualifications( - java.lang.String value) { + public Builder setQualifications(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + qualifications_ = value; onChanged(); return this; } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8989,15 +9929,18 @@ public Builder setQualifications(
      * 
* * string qualifications = 18; + * * @return This builder for chaining. */ public Builder clearQualifications() { - + qualifications_ = getDefaultInstance().getQualifications(); onChanged(); return this; } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9008,16 +9951,16 @@ public Builder clearQualifications() {
      * 
* * string qualifications = 18; + * * @param value The bytes for qualifications to set. * @return This builder for chaining. */ - public Builder setQualificationsBytes( - com.google.protobuf.ByteString value) { + public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + qualifications_ = value; onChanged(); return this; @@ -9025,6 +9968,8 @@ public Builder setQualificationsBytes( private java.lang.Object responsibilities_ = ""; /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9035,13 +9980,13 @@ public Builder setQualificationsBytes(
      * 
* * string responsibilities = 19; + * * @return The responsibilities. */ public java.lang.String getResponsibilities() { java.lang.Object ref = responsibilities_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; @@ -9050,6 +9995,8 @@ public java.lang.String getResponsibilities() { } } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9060,15 +10007,14 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ - public com.google.protobuf.ByteString - getResponsibilitiesBytes() { + public com.google.protobuf.ByteString getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -9076,6 +10022,8 @@ public java.lang.String getResponsibilities() { } } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9086,20 +10034,22 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; + * * @param value The responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilities( - java.lang.String value) { + public Builder setResponsibilities(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responsibilities_ = value; onChanged(); return this; } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9110,15 +10060,18 @@ public Builder setResponsibilities(
      * 
* * string responsibilities = 19; + * * @return This builder for chaining. */ public Builder clearResponsibilities() { - + responsibilities_ = getDefaultInstance().getResponsibilities(); onChanged(); return this; } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9129,16 +10082,16 @@ public Builder clearResponsibilities() {
      * 
* * string responsibilities = 19; + * * @param value The bytes for responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilitiesBytes( - com.google.protobuf.ByteString value) { + public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responsibilities_ = value; onChanged(); return this; @@ -9146,6 +10099,8 @@ public Builder setResponsibilitiesBytes( private int postingRegion_ = 0; /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9157,12 +10112,16 @@ public Builder setResponsibilitiesBytes(
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override public int getPostingRegionValue() { + @java.lang.Override + public int getPostingRegionValue() { return postingRegion_; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9174,16 +10133,19 @@ public Builder setResponsibilitiesBytes(
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @param value The enum numeric value on the wire for postingRegion to set. * @return This builder for chaining. */ public Builder setPostingRegionValue(int value) { - + postingRegion_ = value; onChanged(); return this; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9195,15 +10157,19 @@ public Builder setPostingRegionValue(int value) {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The postingRegion. */ @java.lang.Override public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.PostingRegion result = com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4.PostingRegion result = + com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4.PostingRegion.UNRECOGNIZED : result; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9215,6 +10181,7 @@ public com.google.cloud.talent.v4.PostingRegion getPostingRegion() {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @param value The postingRegion to set. * @return This builder for chaining. */ @@ -9222,12 +10189,14 @@ public Builder setPostingRegion(com.google.cloud.talent.v4.PostingRegion value) if (value == null) { throw new NullPointerException(); } - + postingRegion_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9239,10 +10208,11 @@ public Builder setPostingRegion(com.google.cloud.talent.v4.PostingRegion value)
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return This builder for chaining. */ public Builder clearPostingRegion() { - + postingRegion_ = 0; onChanged(); return this; @@ -9250,6 +10220,8 @@ public Builder clearPostingRegion() { private int visibility_ = 0; /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9257,14 +10229,19 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { + @java.lang.Override + @java.lang.Deprecated + public int getVisibilityValue() { return visibility_; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9272,18 +10249,22 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @param value The enum numeric value on the wire for visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setVisibilityValue(int value) { - + @java.lang.Deprecated + public Builder setVisibilityValue(int value) { + visibility_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9291,17 +10272,22 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.talent.v4.Visibility getVisibility() { + @java.lang.Deprecated + public com.google.cloud.talent.v4.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Visibility result = com.google.cloud.talent.v4.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4.Visibility result = + com.google.cloud.talent.v4.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4.Visibility.UNRECOGNIZED : result; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9309,21 +10295,25 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @param value The visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) { + @java.lang.Deprecated + public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) { if (value == null) { throw new NullPointerException(); } - + visibility_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9331,12 +10321,14 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearVisibility() { - + @java.lang.Deprecated + public Builder clearVisibility() { + visibility_ = 0; onChanged(); return this; @@ -9344,36 +10336,49 @@ public Builder clearPostingRegion() { private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + jobStartTimeBuilder_; /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ public boolean hasJobStartTime() { return jobStartTimeBuilder_ != null || jobStartTime_ != null; } /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ public com.google.protobuf.Timestamp getJobStartTime() { if (jobStartTimeBuilder_ == null) { - return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; + return jobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobStartTime_; } else { return jobStartTimeBuilder_.getMessage(); } } /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9395,6 +10400,8 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9402,8 +10409,7 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_start_time = 22;
      */
-    public Builder setJobStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobStartTimeBuilder_ == null) {
         jobStartTime_ = builderForValue.build();
         onChanged();
@@ -9414,6 +10420,8 @@ public Builder setJobStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9425,7 +10433,9 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       if (jobStartTimeBuilder_ == null) {
         if (jobStartTime_ != null) {
           jobStartTime_ =
-            com.google.protobuf.Timestamp.newBuilder(jobStartTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           jobStartTime_ = value;
         }
@@ -9437,6 +10447,8 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9456,6 +10468,8 @@ public Builder clearJobStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9464,11 +10478,13 @@ public Builder clearJobStartTime() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {
-      
+
       onChanged();
       return getJobStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9480,11 +10496,14 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
       if (jobStartTimeBuilder_ != null) {
         return jobStartTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobStartTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_;
+        return jobStartTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : jobStartTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9493,14 +10512,17 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getJobStartTimeFieldBuilder() {
       if (jobStartTimeBuilder_ == null) {
-        jobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getJobStartTime(),
-                getParentForChildren(),
-                isClean());
+        jobStartTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getJobStartTime(), getParentForChildren(), isClean());
         jobStartTime_ = null;
       }
       return jobStartTimeBuilder_;
@@ -9508,36 +10530,49 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp jobEndTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobEndTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        jobEndTimeBuilder_;
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ public boolean hasJobEndTime() { return jobEndTimeBuilder_ != null || jobEndTime_ != null; } /** + * + * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ public com.google.protobuf.Timestamp getJobEndTime() { if (jobEndTimeBuilder_ == null) { - return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; + return jobEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobEndTime_; } else { return jobEndTimeBuilder_.getMessage(); } } /** + * + * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9559,6 +10594,8 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9566,8 +10603,7 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_end_time = 23;
      */
-    public Builder setJobEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobEndTimeBuilder_ == null) {
         jobEndTime_ = builderForValue.build();
         onChanged();
@@ -9578,6 +10614,8 @@ public Builder setJobEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9589,7 +10627,7 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       if (jobEndTimeBuilder_ == null) {
         if (jobEndTime_ != null) {
           jobEndTime_ =
-            com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
         } else {
           jobEndTime_ = value;
         }
@@ -9601,6 +10639,8 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9620,6 +10660,8 @@ public Builder clearJobEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9628,11 +10670,13 @@ public Builder clearJobEndTime() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {
-      
+
       onChanged();
       return getJobEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9644,11 +10688,14 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
       if (jobEndTimeBuilder_ != null) {
         return jobEndTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobEndTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
+        return jobEndTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : jobEndTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9657,14 +10704,17 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getJobEndTimeFieldBuilder() {
       if (jobEndTimeBuilder_ == null) {
-        jobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getJobEndTime(),
-                getParentForChildren(),
-                isClean());
+        jobEndTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getJobEndTime(), getParentForChildren(), isClean());
         jobEndTime_ = null;
       }
       return jobEndTimeBuilder_;
@@ -9672,8 +10722,13 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingPublishTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingPublishTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingPublishTimeBuilder_;
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9681,12 +10736,15 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ public boolean hasPostingPublishTime() { return postingPublishTimeBuilder_ != null || postingPublishTime_ != null; } /** + * + * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9694,16 +10752,21 @@ public boolean hasPostingPublishTime() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ public com.google.protobuf.Timestamp getPostingPublishTime() { if (postingPublishTimeBuilder_ == null) { - return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; + return postingPublishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingPublishTime_; } else { return postingPublishTimeBuilder_.getMessage(); } } /** + * + * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9726,6 +10789,8 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9734,8 +10799,7 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
-    public Builder setPostingPublishTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingPublishTimeBuilder_ == null) {
         postingPublishTime_ = builderForValue.build();
         onChanged();
@@ -9746,6 +10810,8 @@ public Builder setPostingPublishTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9758,7 +10824,9 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       if (postingPublishTimeBuilder_ == null) {
         if (postingPublishTime_ != null) {
           postingPublishTime_ =
-            com.google.protobuf.Timestamp.newBuilder(postingPublishTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postingPublishTime_ = value;
         }
@@ -9770,6 +10838,8 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9790,6 +10860,8 @@ public Builder clearPostingPublishTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9799,11 +10871,13 @@ public Builder clearPostingPublishTime() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {
-      
+
       onChanged();
       return getPostingPublishTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9816,11 +10890,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
       if (postingPublishTimeBuilder_ != null) {
         return postingPublishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingPublishTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_;
+        return postingPublishTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : postingPublishTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9830,14 +10907,17 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getPostingPublishTimeFieldBuilder() {
       if (postingPublishTimeBuilder_ == null) {
-        postingPublishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPostingPublishTime(),
-                getParentForChildren(),
-                isClean());
+        postingPublishTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPostingPublishTime(), getParentForChildren(), isClean());
         postingPublishTime_ = null;
       }
       return postingPublishTimeBuilder_;
@@ -9845,8 +10925,13 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingExpireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingExpireTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingExpireTimeBuilder_;
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9886,12 +10971,15 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ public boolean hasPostingExpireTime() { return postingExpireTimeBuilder_ != null || postingExpireTime_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9931,16 +11019,21 @@ public boolean hasPostingExpireTime() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ public com.google.protobuf.Timestamp getPostingExpireTime() { if (postingExpireTimeBuilder_ == null) { - return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; + return postingExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingExpireTime_; } else { return postingExpireTimeBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9995,6 +11088,8 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10035,8 +11130,7 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
-    public Builder setPostingExpireTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingExpireTimeBuilder_ == null) {
         postingExpireTime_ = builderForValue.build();
         onChanged();
@@ -10047,6 +11141,8 @@ public Builder setPostingExpireTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10091,7 +11187,9 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       if (postingExpireTimeBuilder_ == null) {
         if (postingExpireTime_ != null) {
           postingExpireTime_ =
-            com.google.protobuf.Timestamp.newBuilder(postingExpireTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postingExpireTime_ = value;
         }
@@ -10103,6 +11201,8 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10155,6 +11255,8 @@ public Builder clearPostingExpireTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10196,11 +11298,13 @@ public Builder clearPostingExpireTime() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
-      
+
       onChanged();
       return getPostingExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10245,11 +11349,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
       if (postingExpireTimeBuilder_ != null) {
         return postingExpireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingExpireTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_;
+        return postingExpireTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : postingExpireTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10291,14 +11398,17 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getPostingExpireTimeFieldBuilder() {
       if (postingExpireTimeBuilder_ == null) {
-        postingExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPostingExpireTime(),
-                getParentForChildren(),
-                isClean());
+        postingExpireTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPostingExpireTime(), getParentForChildren(), isClean());
         postingExpireTime_ = null;
       }
       return postingExpireTimeBuilder_;
@@ -10306,39 +11416,58 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingCreateTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingCreateTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ public boolean hasPostingCreateTime() { return postingCreateTimeBuilder_ != null || postingCreateTime_ != null; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ public com.google.protobuf.Timestamp getPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { - return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } else { return postingCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { @@ -10354,14 +11483,17 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostingCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (postingCreateTimeBuilder_ == null) { postingCreateTime_ = builderForValue.build(); onChanged(); @@ -10372,17 +11504,23 @@ public Builder setPostingCreateTime( return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { if (postingCreateTime_ != null) { postingCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { postingCreateTime_ = value; } @@ -10394,11 +11532,15 @@ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { @@ -10412,48 +11554,64 @@ public Builder clearPostingCreateTime() { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() { - + onChanged(); return getPostingCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { if (postingCreateTimeBuilder_ != null) { return postingCreateTimeBuilder_.getMessageOrBuilder(); } else { - return postingCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getPostingCreateTimeFieldBuilder() { if (postingCreateTimeBuilder_ == null) { - postingCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPostingCreateTime(), - getParentForChildren(), - isClean()); + postingCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPostingCreateTime(), getParentForChildren(), isClean()); postingCreateTime_ = null; } return postingCreateTimeBuilder_; @@ -10461,39 +11619,58 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + postingUpdateTimeBuilder_; /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ public boolean hasPostingUpdateTime() { return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ public com.google.protobuf.Timestamp getPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { - return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } else { return postingUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { @@ -10509,14 +11686,17 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostingUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (postingUpdateTimeBuilder_ == null) { postingUpdateTime_ = builderForValue.build(); onChanged(); @@ -10527,17 +11707,23 @@ public Builder setPostingUpdateTime( return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { if (postingUpdateTime_ != null) { postingUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { postingUpdateTime_ = value; } @@ -10549,11 +11735,15 @@ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { @@ -10567,48 +11757,64 @@ public Builder clearPostingUpdateTime() { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() { - + onChanged(); return getPostingUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { if (postingUpdateTimeBuilder_ != null) { return postingUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return postingUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getPostingUpdateTimeFieldBuilder() { if (postingUpdateTimeBuilder_ == null) { - postingUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPostingUpdateTime(), - getParentForChildren(), - isClean()); + postingUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPostingUpdateTime(), getParentForChildren(), isClean()); postingUpdateTime_ = null; } return postingUpdateTimeBuilder_; @@ -10616,18 +11822,20 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { private java.lang.Object companyDisplayName_ = ""; /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ public java.lang.String getCompanyDisplayName() { java.lang.Object ref = companyDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; @@ -10636,20 +11844,21 @@ public java.lang.String getCompanyDisplayName() { } } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ - public com.google.protobuf.ByteString - getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -10657,54 +11866,61 @@ public java.lang.String getCompanyDisplayName() { } } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayName( - java.lang.String value) { + public Builder setCompanyDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + companyDisplayName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCompanyDisplayName() { - + companyDisplayName_ = getDefaultInstance().getCompanyDisplayName(); onChanged(); return this; } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + companyDisplayName_ = value; onChanged(); return this; @@ -10712,39 +11928,58 @@ public Builder setCompanyDisplayNameBytes( private com.google.cloud.talent.v4.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> derivedInfoBuilder_; + com.google.cloud.talent.v4.Job.DerivedInfo, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> + derivedInfoBuilder_; /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ public com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -10760,11 +11995,15 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo( com.google.cloud.talent.v4.Job.DerivedInfo.Builder builderForValue) { @@ -10778,17 +12017,23 @@ public Builder setDerivedInfo( return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder(derivedInfo_) + .mergeFrom(value) + .buildPartial(); } else { derivedInfo_ = value; } @@ -10800,11 +12045,15 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -10818,48 +12067,64 @@ public Builder clearDerivedInfo() { return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4.Job.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null ? - com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> + com.google.cloud.talent.v4.Job.DerivedInfo, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder>( - getDerivedInfo(), - getParentForChildren(), - isClean()); + derivedInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.DerivedInfo, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder>( + getDerivedInfo(), getParentForChildren(), isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; @@ -10867,34 +12132,47 @@ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuild private com.google.cloud.talent.v4.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> processingOptionsBuilder_; + com.google.cloud.talent.v4.Job.ProcessingOptions, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> + processingOptionsBuilder_; /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ public boolean hasProcessingOptions() { return processingOptionsBuilder_ != null || processingOptions_ != null; } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ public com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions() { if (processingOptionsBuilder_ == null) { - return processingOptions_ == null ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } else { return processingOptionsBuilder_.getMessage(); } } /** + * + * *
      * Options for job processing.
      * 
@@ -10915,6 +12193,8 @@ public Builder setProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingOpt return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10933,6 +12213,8 @@ public Builder setProcessingOptions( return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10943,7 +12225,9 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingO if (processingOptionsBuilder_ == null) { if (processingOptions_ != null) { processingOptions_ = - com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder(processingOptions_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder(processingOptions_) + .mergeFrom(value) + .buildPartial(); } else { processingOptions_ = value; } @@ -10955,6 +12239,8 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingO return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10973,6 +12259,8 @@ public Builder clearProcessingOptions() { return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10980,26 +12268,32 @@ public Builder clearProcessingOptions() { * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ public com.google.cloud.talent.v4.Job.ProcessingOptions.Builder getProcessingOptionsBuilder() { - + onChanged(); return getProcessingOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder + getProcessingOptionsOrBuilder() { if (processingOptionsBuilder_ != null) { return processingOptionsBuilder_.getMessageOrBuilder(); } else { - return processingOptions_ == null ? - com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } } /** + * + * *
      * Options for job processing.
      * 
@@ -11007,21 +12301,24 @@ public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOp * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> + com.google.cloud.talent.v4.Job.ProcessingOptions, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> getProcessingOptionsFieldBuilder() { if (processingOptionsBuilder_ == null) { - processingOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder>( - getProcessingOptions(), - getParentForChildren(), - isClean()); + processingOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.ProcessingOptions, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder>( + getProcessingOptions(), getParentForChildren(), isClean()); processingOptions_ = null; } return processingOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -11031,12 +12328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job) private static final com.google.cloud.talent.v4.Job DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job(); } @@ -11045,27 +12342,27 @@ public static com.google.cloud.talent.v4.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11080,6 +12377,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java similarity index 76% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java index 136a72f1e2fb..978b62be2040 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * An enum that represents employee benefits included with the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.JobBenefit} */ -public enum JobBenefit - implements com.google.protobuf.ProtocolMessageEnum { +public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if the type isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum JobBenefit */ JOB_BENEFIT_UNSPECIFIED(0), /** + * + * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -30,6 +50,8 @@ public enum JobBenefit
    */
   CHILD_CARE(1),
   /**
+   *
+   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -39,6 +61,8 @@ public enum JobBenefit
    */
   DENTAL(2),
   /**
+   *
+   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -47,6 +71,8 @@ public enum JobBenefit */ DOMESTIC_PARTNER(3), /** + * + * *
    * The job allows for a flexible work schedule.
    * 
@@ -55,6 +81,8 @@ public enum JobBenefit */ FLEXIBLE_HOURS(4), /** + * + * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -63,6 +91,8 @@ public enum JobBenefit */ MEDICAL(5), /** + * + * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -72,6 +102,8 @@ public enum JobBenefit
    */
   LIFE_INSURANCE(6),
   /**
+   *
+   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -81,6 +113,8 @@ public enum JobBenefit
    */
   PARENTAL_LEAVE(7),
   /**
+   *
+   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -90,6 +124,8 @@ public enum JobBenefit
    */
   RETIREMENT_PLAN(8),
   /**
+   *
+   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -98,6 +134,8 @@ public enum JobBenefit */ SICK_DAYS(9), /** + * + * *
    * The job includes paid time off for vacation.
    * 
@@ -106,6 +144,8 @@ public enum JobBenefit */ VACATION(10), /** + * + * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -118,6 +158,8 @@ public enum JobBenefit
   ;
 
   /**
+   *
+   *
    * 
    * Default value if the type isn't specified.
    * 
@@ -126,6 +168,8 @@ public enum JobBenefit */ public static final int JOB_BENEFIT_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -135,6 +179,8 @@ public enum JobBenefit
    */
   public static final int CHILD_CARE_VALUE = 1;
   /**
+   *
+   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -144,6 +190,8 @@ public enum JobBenefit
    */
   public static final int DENTAL_VALUE = 2;
   /**
+   *
+   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -152,6 +200,8 @@ public enum JobBenefit */ public static final int DOMESTIC_PARTNER_VALUE = 3; /** + * + * *
    * The job allows for a flexible work schedule.
    * 
@@ -160,6 +210,8 @@ public enum JobBenefit */ public static final int FLEXIBLE_HOURS_VALUE = 4; /** + * + * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -168,6 +220,8 @@ public enum JobBenefit */ public static final int MEDICAL_VALUE = 5; /** + * + * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -177,6 +231,8 @@ public enum JobBenefit
    */
   public static final int LIFE_INSURANCE_VALUE = 6;
   /**
+   *
+   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -186,6 +242,8 @@ public enum JobBenefit
    */
   public static final int PARENTAL_LEAVE_VALUE = 7;
   /**
+   *
+   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -195,6 +253,8 @@ public enum JobBenefit
    */
   public static final int RETIREMENT_PLAN_VALUE = 8;
   /**
+   *
+   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -203,6 +263,8 @@ public enum JobBenefit */ public static final int SICK_DAYS_VALUE = 9; /** + * + * *
    * The job includes paid time off for vacation.
    * 
@@ -211,6 +273,8 @@ public enum JobBenefit */ public static final int VACATION_VALUE = 10; /** + * + * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -220,7 +284,6 @@ public enum JobBenefit
    */
   public static final int VISION_VALUE = 11;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -245,58 +308,67 @@ public static JobBenefit valueOf(int value) {
    */
   public static JobBenefit forNumber(int value) {
     switch (value) {
-      case 0: return JOB_BENEFIT_UNSPECIFIED;
-      case 1: return CHILD_CARE;
-      case 2: return DENTAL;
-      case 3: return DOMESTIC_PARTNER;
-      case 4: return FLEXIBLE_HOURS;
-      case 5: return MEDICAL;
-      case 6: return LIFE_INSURANCE;
-      case 7: return PARENTAL_LEAVE;
-      case 8: return RETIREMENT_PLAN;
-      case 9: return SICK_DAYS;
-      case 10: return VACATION;
-      case 11: return VISION;
-      default: return null;
+      case 0:
+        return JOB_BENEFIT_UNSPECIFIED;
+      case 1:
+        return CHILD_CARE;
+      case 2:
+        return DENTAL;
+      case 3:
+        return DOMESTIC_PARTNER;
+      case 4:
+        return FLEXIBLE_HOURS;
+      case 5:
+        return MEDICAL;
+      case 6:
+        return LIFE_INSURANCE;
+      case 7:
+        return PARENTAL_LEAVE;
+      case 8:
+        return RETIREMENT_PLAN;
+      case 9:
+        return SICK_DAYS;
+      case 10:
+        return VACATION;
+      case 11:
+        return VISION;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      JobBenefit> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobBenefit findValueByNumber(int number) {
-            return JobBenefit.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public JobBenefit findValueByNumber(int number) {
+          return JobBenefit.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final JobBenefit[] VALUES = values();
 
-  public static JobBenefit valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static JobBenefit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -312,4 +384,3 @@ private JobBenefit(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobBenefit)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
similarity index 79%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
index 82dcd4aecdd6..3b98d7ec1866 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * An enum that represents the categorization or primary focus of specific
  * role. This value is different than the "industry" associated with a role,
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.JobCategory}
  */
-public enum JobCategory
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default value if the category isn't specified.
    * 
@@ -23,6 +41,8 @@ public enum JobCategory */ JOB_CATEGORY_UNSPECIFIED(0), /** + * + * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -31,6 +51,8 @@ public enum JobCategory */ ACCOUNTING_AND_FINANCE(1), /** + * + * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -39,6 +61,8 @@ public enum JobCategory */ ADMINISTRATIVE_AND_OFFICE(2), /** + * + * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -47,6 +71,8 @@ public enum JobCategory */ ADVERTISING_AND_MARKETING(3), /** + * + * *
    * An animal care job, such as Veterinarian.
    * 
@@ -55,6 +81,8 @@ public enum JobCategory */ ANIMAL_CARE(4), /** + * + * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -63,6 +91,8 @@ public enum JobCategory */ ART_FASHION_AND_DESIGN(5), /** + * + * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -71,6 +101,8 @@ public enum JobCategory */ BUSINESS_OPERATIONS(6), /** + * + * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -79,6 +111,8 @@ public enum JobCategory */ CLEANING_AND_FACILITIES(7), /** + * + * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -87,6 +121,8 @@ public enum JobCategory */ COMPUTER_AND_IT(8), /** + * + * *
    * A construction job, such as General Laborer.
    * 
@@ -95,6 +131,8 @@ public enum JobCategory */ CONSTRUCTION(9), /** + * + * *
    * A customer service job, such s Cashier.
    * 
@@ -103,6 +141,8 @@ public enum JobCategory */ CUSTOMER_SERVICE(10), /** + * + * *
    * An education job, such as School Teacher.
    * 
@@ -111,6 +151,8 @@ public enum JobCategory */ EDUCATION(11), /** + * + * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -119,6 +161,8 @@ public enum JobCategory */ ENTERTAINMENT_AND_TRAVEL(12), /** + * + * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -127,6 +171,8 @@ public enum JobCategory */ FARMING_AND_OUTDOORS(13), /** + * + * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -135,6 +181,8 @@ public enum JobCategory */ HEALTHCARE(14), /** + * + * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -143,6 +191,8 @@ public enum JobCategory */ HUMAN_RESOURCES(15), /** + * + * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -151,6 +201,8 @@ public enum JobCategory */ INSTALLATION_MAINTENANCE_AND_REPAIR(16), /** + * + * *
    * A legal job, such as Law Clerk.
    * 
@@ -159,6 +211,8 @@ public enum JobCategory */ LEGAL(17), /** + * + * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -168,6 +222,8 @@ public enum JobCategory
    */
   MANAGEMENT(18),
   /**
+   *
+   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -176,6 +232,8 @@ public enum JobCategory */ MANUFACTURING_AND_WAREHOUSE(19), /** + * + * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -184,6 +242,8 @@ public enum JobCategory */ MEDIA_COMMUNICATIONS_AND_WRITING(20), /** + * + * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -192,6 +252,8 @@ public enum JobCategory */ OIL_GAS_AND_MINING(21), /** + * + * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -200,6 +262,8 @@ public enum JobCategory */ PERSONAL_CARE_AND_SERVICES(22), /** + * + * *
    * A protective services job, such as Security Guard.
    * 
@@ -208,6 +272,8 @@ public enum JobCategory */ PROTECTIVE_SERVICES(23), /** + * + * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -216,6 +282,8 @@ public enum JobCategory */ REAL_ESTATE(24), /** + * + * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -224,6 +292,8 @@ public enum JobCategory */ RESTAURANT_AND_HOSPITALITY(25), /** + * + * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -232,6 +302,8 @@ public enum JobCategory */ SALES_AND_RETAIL(26), /** + * + * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -240,6 +312,8 @@ public enum JobCategory */ SCIENCE_AND_ENGINEERING(27), /** + * + * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -248,6 +322,8 @@ public enum JobCategory */ SOCIAL_SERVICES_AND_NON_PROFIT(28), /** + * + * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -256,6 +332,8 @@ public enum JobCategory */ SPORTS_FITNESS_AND_RECREATION(29), /** + * + * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -267,6 +345,8 @@ public enum JobCategory ; /** + * + * *
    * The default value if the category isn't specified.
    * 
@@ -275,6 +355,8 @@ public enum JobCategory */ public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -283,6 +365,8 @@ public enum JobCategory */ public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; /** + * + * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -291,6 +375,8 @@ public enum JobCategory */ public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; /** + * + * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -299,6 +385,8 @@ public enum JobCategory */ public static final int ADVERTISING_AND_MARKETING_VALUE = 3; /** + * + * *
    * An animal care job, such as Veterinarian.
    * 
@@ -307,6 +395,8 @@ public enum JobCategory */ public static final int ANIMAL_CARE_VALUE = 4; /** + * + * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -315,6 +405,8 @@ public enum JobCategory */ public static final int ART_FASHION_AND_DESIGN_VALUE = 5; /** + * + * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -323,6 +415,8 @@ public enum JobCategory */ public static final int BUSINESS_OPERATIONS_VALUE = 6; /** + * + * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -331,6 +425,8 @@ public enum JobCategory */ public static final int CLEANING_AND_FACILITIES_VALUE = 7; /** + * + * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -339,6 +435,8 @@ public enum JobCategory */ public static final int COMPUTER_AND_IT_VALUE = 8; /** + * + * *
    * A construction job, such as General Laborer.
    * 
@@ -347,6 +445,8 @@ public enum JobCategory */ public static final int CONSTRUCTION_VALUE = 9; /** + * + * *
    * A customer service job, such s Cashier.
    * 
@@ -355,6 +455,8 @@ public enum JobCategory */ public static final int CUSTOMER_SERVICE_VALUE = 10; /** + * + * *
    * An education job, such as School Teacher.
    * 
@@ -363,6 +465,8 @@ public enum JobCategory */ public static final int EDUCATION_VALUE = 11; /** + * + * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -371,6 +475,8 @@ public enum JobCategory */ public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; /** + * + * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -379,6 +485,8 @@ public enum JobCategory */ public static final int FARMING_AND_OUTDOORS_VALUE = 13; /** + * + * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -387,6 +495,8 @@ public enum JobCategory */ public static final int HEALTHCARE_VALUE = 14; /** + * + * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -395,6 +505,8 @@ public enum JobCategory */ public static final int HUMAN_RESOURCES_VALUE = 15; /** + * + * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -403,6 +515,8 @@ public enum JobCategory */ public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; /** + * + * *
    * A legal job, such as Law Clerk.
    * 
@@ -411,6 +525,8 @@ public enum JobCategory */ public static final int LEGAL_VALUE = 17; /** + * + * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -420,6 +536,8 @@ public enum JobCategory
    */
   public static final int MANAGEMENT_VALUE = 18;
   /**
+   *
+   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -428,6 +546,8 @@ public enum JobCategory */ public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; /** + * + * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -436,6 +556,8 @@ public enum JobCategory */ public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; /** + * + * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -444,6 +566,8 @@ public enum JobCategory */ public static final int OIL_GAS_AND_MINING_VALUE = 21; /** + * + * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -452,6 +576,8 @@ public enum JobCategory */ public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; /** + * + * *
    * A protective services job, such as Security Guard.
    * 
@@ -460,6 +586,8 @@ public enum JobCategory */ public static final int PROTECTIVE_SERVICES_VALUE = 23; /** + * + * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -468,6 +596,8 @@ public enum JobCategory */ public static final int REAL_ESTATE_VALUE = 24; /** + * + * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -476,6 +606,8 @@ public enum JobCategory */ public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; /** + * + * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -484,6 +616,8 @@ public enum JobCategory */ public static final int SALES_AND_RETAIL_VALUE = 26; /** + * + * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -492,6 +626,8 @@ public enum JobCategory */ public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; /** + * + * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -500,6 +636,8 @@ public enum JobCategory */ public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; /** + * + * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -508,6 +646,8 @@ public enum JobCategory */ public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; /** + * + * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -516,7 +656,6 @@ public enum JobCategory */ public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -541,77 +680,105 @@ public static JobCategory valueOf(int value) { */ public static JobCategory forNumber(int value) { switch (value) { - case 0: return JOB_CATEGORY_UNSPECIFIED; - case 1: return ACCOUNTING_AND_FINANCE; - case 2: return ADMINISTRATIVE_AND_OFFICE; - case 3: return ADVERTISING_AND_MARKETING; - case 4: return ANIMAL_CARE; - case 5: return ART_FASHION_AND_DESIGN; - case 6: return BUSINESS_OPERATIONS; - case 7: return CLEANING_AND_FACILITIES; - case 8: return COMPUTER_AND_IT; - case 9: return CONSTRUCTION; - case 10: return CUSTOMER_SERVICE; - case 11: return EDUCATION; - case 12: return ENTERTAINMENT_AND_TRAVEL; - case 13: return FARMING_AND_OUTDOORS; - case 14: return HEALTHCARE; - case 15: return HUMAN_RESOURCES; - case 16: return INSTALLATION_MAINTENANCE_AND_REPAIR; - case 17: return LEGAL; - case 18: return MANAGEMENT; - case 19: return MANUFACTURING_AND_WAREHOUSE; - case 20: return MEDIA_COMMUNICATIONS_AND_WRITING; - case 21: return OIL_GAS_AND_MINING; - case 22: return PERSONAL_CARE_AND_SERVICES; - case 23: return PROTECTIVE_SERVICES; - case 24: return REAL_ESTATE; - case 25: return RESTAURANT_AND_HOSPITALITY; - case 26: return SALES_AND_RETAIL; - case 27: return SCIENCE_AND_ENGINEERING; - case 28: return SOCIAL_SERVICES_AND_NON_PROFIT; - case 29: return SPORTS_FITNESS_AND_RECREATION; - case 30: return TRANSPORTATION_AND_LOGISTICS; - default: return null; + case 0: + return JOB_CATEGORY_UNSPECIFIED; + case 1: + return ACCOUNTING_AND_FINANCE; + case 2: + return ADMINISTRATIVE_AND_OFFICE; + case 3: + return ADVERTISING_AND_MARKETING; + case 4: + return ANIMAL_CARE; + case 5: + return ART_FASHION_AND_DESIGN; + case 6: + return BUSINESS_OPERATIONS; + case 7: + return CLEANING_AND_FACILITIES; + case 8: + return COMPUTER_AND_IT; + case 9: + return CONSTRUCTION; + case 10: + return CUSTOMER_SERVICE; + case 11: + return EDUCATION; + case 12: + return ENTERTAINMENT_AND_TRAVEL; + case 13: + return FARMING_AND_OUTDOORS; + case 14: + return HEALTHCARE; + case 15: + return HUMAN_RESOURCES; + case 16: + return INSTALLATION_MAINTENANCE_AND_REPAIR; + case 17: + return LEGAL; + case 18: + return MANAGEMENT; + case 19: + return MANUFACTURING_AND_WAREHOUSE; + case 20: + return MEDIA_COMMUNICATIONS_AND_WRITING; + case 21: + return OIL_GAS_AND_MINING; + case 22: + return PERSONAL_CARE_AND_SERVICES; + case 23: + return PROTECTIVE_SERVICES; + case 24: + return REAL_ESTATE; + case 25: + return RESTAURANT_AND_HOSPITALITY; + case 26: + return SALES_AND_RETAIL; + case 27: + return SCIENCE_AND_ENGINEERING; + case 28: + return SOCIAL_SERVICES_AND_NON_PROFIT; + case 29: + return SPORTS_FITNESS_AND_RECREATION; + case 30: + return TRANSPORTATION_AND_LOGISTICS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobCategory findValueByNumber(int number) { - return JobCategory.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobCategory findValueByNumber(int number) { + return JobCategory.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(5); } private static final JobCategory[] VALUES = values(); - public static JobCategory valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -627,4 +794,3 @@ private JobCategory(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobCategory) } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java similarity index 77% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java index edfb7bedebe6..b55b1a8184da 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; /** + * + * *
  * An event issued when a job seeker interacts with the application that
  * implements Cloud Talent Solution.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.JobEvent}
  */
-public final class JobEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobEvent)
     JobEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobEvent() {
     type_ = 0;
     jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -27,30 +45,33 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.EventProto
+        .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4.EventProto
+        .internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.JobEvent.class, com.google.cloud.talent.v4.JobEvent.Builder.class);
+            com.google.cloud.talent.v4.JobEvent.class,
+            com.google.cloud.talent.v4.JobEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enumeration of an event attributed to the behavior of the end user,
    * such as a job seeker.
@@ -58,9 +79,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4.JobEvent.JobEventType}
    */
-  public enum JobEventType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -69,6 +91,8 @@ public enum JobEventType */ JOB_EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -80,6 +104,8 @@ public enum JobEventType
      */
     IMPRESSION(1),
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -92,6 +118,8 @@ public enum JobEventType
      */
     VIEW(2),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -102,6 +130,8 @@ public enum JobEventType
      */
     VIEW_REDIRECT(3),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -111,6 +141,8 @@ public enum JobEventType
      */
     APPLICATION_START(4),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -120,6 +152,8 @@ public enum JobEventType
      */
     APPLICATION_FINISH(5),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -133,6 +167,8 @@ public enum JobEventType
      */
     APPLICATION_QUICK_SUBMISSION(6),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -143,6 +179,8 @@ public enum JobEventType
      */
     APPLICATION_REDIRECT(7),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -154,6 +192,8 @@ public enum JobEventType
      */
     APPLICATION_START_FROM_SEARCH(8),
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -168,6 +208,8 @@ public enum JobEventType
      */
     APPLICATION_REDIRECT_FROM_SEARCH(9),
     /**
+     *
+     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -178,6 +220,8 @@ public enum JobEventType
      */
     APPLICATION_COMPANY_SUBMIT(10),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -187,6 +231,8 @@ public enum JobEventType
      */
     BOOKMARK(11),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -197,6 +243,8 @@ public enum JobEventType
      */
     NOTIFICATION(12),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -209,6 +257,8 @@ public enum JobEventType
      */
     HIRED(13),
     /**
+     *
+     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -219,6 +269,8 @@ public enum JobEventType
      */
     SENT_CV(14),
     /**
+     *
+     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -234,6 +286,8 @@ public enum JobEventType
     ;
 
     /**
+     *
+     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -242,6 +296,8 @@ public enum JobEventType */ public static final int JOB_EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -253,6 +309,8 @@ public enum JobEventType
      */
     public static final int IMPRESSION_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -265,6 +323,8 @@ public enum JobEventType
      */
     public static final int VIEW_VALUE = 2;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -275,6 +335,8 @@ public enum JobEventType
      */
     public static final int VIEW_REDIRECT_VALUE = 3;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -284,6 +346,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_START_VALUE = 4;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -293,6 +357,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_FINISH_VALUE = 5;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -306,6 +372,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_QUICK_SUBMISSION_VALUE = 6;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -316,6 +384,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_REDIRECT_VALUE = 7;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -327,6 +397,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_START_FROM_SEARCH_VALUE = 8;
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -341,6 +413,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_REDIRECT_FROM_SEARCH_VALUE = 9;
     /**
+     *
+     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -351,6 +425,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_COMPANY_SUBMIT_VALUE = 10;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -360,6 +436,8 @@ public enum JobEventType
      */
     public static final int BOOKMARK_VALUE = 11;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -370,6 +448,8 @@ public enum JobEventType
      */
     public static final int NOTIFICATION_VALUE = 12;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -382,6 +462,8 @@ public enum JobEventType
      */
     public static final int HIRED_VALUE = 13;
     /**
+     *
+     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -392,6 +474,8 @@ public enum JobEventType
      */
     public static final int SENT_CV_VALUE = 14;
     /**
+     *
+     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -404,7 +488,6 @@ public enum JobEventType
      */
     public static final int INTERVIEW_GRANTED_VALUE = 15;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -429,62 +512,75 @@ public static JobEventType valueOf(int value) {
      */
     public static JobEventType forNumber(int value) {
       switch (value) {
-        case 0: return JOB_EVENT_TYPE_UNSPECIFIED;
-        case 1: return IMPRESSION;
-        case 2: return VIEW;
-        case 3: return VIEW_REDIRECT;
-        case 4: return APPLICATION_START;
-        case 5: return APPLICATION_FINISH;
-        case 6: return APPLICATION_QUICK_SUBMISSION;
-        case 7: return APPLICATION_REDIRECT;
-        case 8: return APPLICATION_START_FROM_SEARCH;
-        case 9: return APPLICATION_REDIRECT_FROM_SEARCH;
-        case 10: return APPLICATION_COMPANY_SUBMIT;
-        case 11: return BOOKMARK;
-        case 12: return NOTIFICATION;
-        case 13: return HIRED;
-        case 14: return SENT_CV;
-        case 15: return INTERVIEW_GRANTED;
-        default: return null;
+        case 0:
+          return JOB_EVENT_TYPE_UNSPECIFIED;
+        case 1:
+          return IMPRESSION;
+        case 2:
+          return VIEW;
+        case 3:
+          return VIEW_REDIRECT;
+        case 4:
+          return APPLICATION_START;
+        case 5:
+          return APPLICATION_FINISH;
+        case 6:
+          return APPLICATION_QUICK_SUBMISSION;
+        case 7:
+          return APPLICATION_REDIRECT;
+        case 8:
+          return APPLICATION_START_FROM_SEARCH;
+        case 9:
+          return APPLICATION_REDIRECT_FROM_SEARCH;
+        case 10:
+          return APPLICATION_COMPANY_SUBMIT;
+        case 11:
+          return BOOKMARK;
+        case 12:
+          return NOTIFICATION;
+        case 13:
+          return HIRED;
+        case 14:
+          return SENT_CV;
+        case 15:
+          return INTERVIEW_GRANTED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        JobEventType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public JobEventType findValueByNumber(int number) {
-              return JobEventType.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public JobEventType findValueByNumber(int number) {
+            return JobEventType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.JobEvent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobEventType[] VALUES = values();
 
-    public static JobEventType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -504,33 +600,48 @@ private JobEventType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobEvent.JobEventType result = com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); + com.google.cloud.talent.v4.JobEvent.JobEventType result = + com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); return result == null ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED : result; } public static final int JOBS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList jobs_; /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -543,13 +654,15 @@ private JobEventType(int value) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_; } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -562,12 +675,15 @@ private JobEventType(int value) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -580,6 +696,7 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -587,6 +704,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -599,15 +718,16 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -619,9 +739,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < jobs_.size(); i++) { @@ -636,9 +757,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; @@ -656,7 +778,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.JobEvent)) { return super.equals(obj); @@ -664,8 +786,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4.JobEvent other = (com.google.cloud.talent.v4.JobEvent) obj; if (type_ != other.type_) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -688,97 +809,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.JobEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.JobEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.JobEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -786,33 +913,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.JobEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobEvent)
       com.google.cloud.talent.v4.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.JobEvent.class, com.google.cloud.talent.v4.JobEvent.Builder.class);
+              com.google.cloud.talent.v4.JobEvent.class,
+              com.google.cloud.talent.v4.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.JobEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -824,9 +950,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -861,38 +987,39 @@ public com.google.cloud.talent.v4.JobEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.JobEvent) {
-        return mergeFrom((com.google.cloud.talent.v4.JobEvent)other);
+        return mergeFrom((com.google.cloud.talent.v4.JobEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -940,23 +1067,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              type_ = input.readEnum();
+            case 8:
+              {
+                type_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureJobsIsMutable();
-              jobs_.add(s);
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 8
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureJobsIsMutable();
+                jobs_.add(s);
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -966,55 +1096,80 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobEvent.JobEventType result = com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.JobEvent.JobEventType result = + com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1022,34 +1177,43 @@ public Builder setType(com.google.cloud.talent.v4.JobEvent.JobEventType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList jobs_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1062,13 +1226,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_.getUnmodifiableView(); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1081,12 +1247,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1099,6 +1268,7 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1106,6 +1276,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1118,14 +1290,16 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1138,21 +1312,23 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs( - int index, java.lang.String value) { + public Builder setJobs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1165,20 +1341,22 @@ public Builder setJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs( - java.lang.String value) { + public Builder addJobs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1191,18 +1369,19 @@ public Builder addJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1215,6 +1394,7 @@ public Builder addAllJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobs() { @@ -1224,6 +1404,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1236,23 +1418,23 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes( - com.google.protobuf.ByteString value) { + public Builder addJobsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1444,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobEvent) private static final com.google.cloud.talent.v4.JobEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobEvent(); } @@ -1276,27 +1458,27 @@ public static com.google.cloud.talent.v4.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,6 +1493,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java similarity index 77% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java index 8c454dd1f38a..196ebba3f127 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java @@ -1,32 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; -public interface JobEventOrBuilder extends +public interface JobEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.talent.v4.JobEvent.JobEventType getType(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -39,11 +67,13 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -56,10 +86,13 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ int getJobsCount(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -72,11 +105,14 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -89,9 +125,9 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString - getJobsBytes(int index); + com.google.protobuf.ByteString getJobsBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java similarity index 72% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java index 439d740ffe50..9066fa3f907d 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * An enum that represents the required experience level required for the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.JobLevel} */ -public enum JobLevel - implements com.google.protobuf.ProtocolMessageEnum { +public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value if the level isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum JobLevel */ JOB_LEVEL_UNSPECIFIED(0), /** + * + * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -30,6 +50,8 @@ public enum JobLevel
    */
   ENTRY_LEVEL(1),
   /**
+   *
+   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -39,6 +61,8 @@ public enum JobLevel
    */
   EXPERIENCED(2),
   /**
+   *
+   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -47,6 +71,8 @@ public enum JobLevel */ MANAGER(3), /** + * + * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -55,6 +81,8 @@ public enum JobLevel */ DIRECTOR(4), /** + * + * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -66,6 +94,8 @@ public enum JobLevel ; /** + * + * *
    * The default value if the level isn't specified.
    * 
@@ -74,6 +104,8 @@ public enum JobLevel */ public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -83,6 +115,8 @@ public enum JobLevel
    */
   public static final int ENTRY_LEVEL_VALUE = 1;
   /**
+   *
+   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -92,6 +126,8 @@ public enum JobLevel
    */
   public static final int EXPERIENCED_VALUE = 2;
   /**
+   *
+   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -100,6 +136,8 @@ public enum JobLevel */ public static final int MANAGER_VALUE = 3; /** + * + * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -108,6 +146,8 @@ public enum JobLevel */ public static final int DIRECTOR_VALUE = 4; /** + * + * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -116,7 +156,6 @@ public enum JobLevel */ public static final int EXECUTIVE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -141,52 +180,55 @@ public static JobLevel valueOf(int value) { */ public static JobLevel forNumber(int value) { switch (value) { - case 0: return JOB_LEVEL_UNSPECIFIED; - case 1: return ENTRY_LEVEL; - case 2: return EXPERIENCED; - case 3: return MANAGER; - case 4: return DIRECTOR; - case 5: return EXECUTIVE; - default: return null; + case 0: + return JOB_LEVEL_UNSPECIFIED; + case 1: + return ENTRY_LEVEL; + case 2: + return EXPERIENCED; + case 3: + return MANAGER; + case 4: + return DIRECTOR; + case 5: + return EXECUTIVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobLevel findValueByNumber(int number) { - return JobLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobLevel findValueByNumber(int number) { + return JobLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(4); } private static final JobLevel[] VALUES = values(); - public static JobLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -202,4 +244,3 @@ private JobLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobLevel) } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java similarity index 100% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java similarity index 90% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java index 881661c716ef..f590a4294dc7 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job.proto package com.google.cloud.talent.v4; -public interface JobOrBuilder extends +public interface JobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -20,10 +38,13 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -36,12 +57,14 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -49,11 +72,16 @@ public interface JobOrBuilder extends
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ java.lang.String getCompany(); /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -61,13 +89,17 @@ public interface JobOrBuilder extends
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ - com.google.protobuf.ByteString - getCompanyBytes(); + com.google.protobuf.ByteString getCompanyBytes(); /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -78,10 +110,13 @@ public interface JobOrBuilder extends
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ java.lang.String getRequisitionId(); /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -92,34 +127,41 @@ public interface JobOrBuilder extends
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ - com.google.protobuf.ByteString - getRequisitionIdBytes(); + com.google.protobuf.ByteString getRequisitionIdBytes(); /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -132,10 +174,13 @@ public interface JobOrBuilder extends
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -148,12 +193,14 @@ public interface JobOrBuilder extends
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -179,11 +226,13 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - java.util.List - getAddressesList(); + java.util.List getAddressesList(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -209,10 +258,13 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ int getAddressesCount(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -238,11 +290,14 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ java.lang.String getAddresses(int index); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -268,31 +323,39 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - com.google.protobuf.ByteString - getAddressesBytes(int index); + com.google.protobuf.ByteString getAddressesBytes(int index); /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ boolean hasApplicationInfo(); /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo(); /** + * + * *
    * Job application information.
    * 
@@ -302,75 +365,97 @@ public interface JobOrBuilder extends com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ java.util.List getJobBenefitsList(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ int getJobBenefitsCount(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - java.util.List - getJobBenefitsValueList(); + java.util.List getJobBenefitsValueList(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ int getJobBenefitsValue(int index); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ boolean hasCompensationInfo(); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ com.google.cloud.talent.v4.CompensationInfo getCompensationInfo(); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -381,6 +466,8 @@ public interface JobOrBuilder extends
   com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -398,6 +485,8 @@ public interface JobOrBuilder extends
    */
   int getCustomAttributesCount();
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -413,15 +502,13 @@ public interface JobOrBuilder extends
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-  boolean containsCustomAttributes(
-      java.lang.String key);
-  /**
-   * Use {@link #getCustomAttributesMap()} instead.
-   */
+  boolean containsCustomAttributes(java.lang.String key);
+  /** Use {@link #getCustomAttributesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getCustomAttributes();
+  java.util.Map getCustomAttributes();
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -438,8 +525,10 @@ boolean containsCustomAttributes(
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   java.util.Map
-  getCustomAttributesMap();
+      getCustomAttributesMap();
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -457,11 +546,13 @@ boolean containsCustomAttributes(
    */
 
   /* nullable */
-com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
+  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.talent.v4.CustomAttribute defaultValue);
+      com.google.cloud.talent.v4.CustomAttribute defaultValue);
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -477,60 +568,74 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-
-  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
-      java.lang.String key);
+  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ java.util.List getDegreeTypesList(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ int getDegreeTypesCount(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - java.util.List - getDegreeTypesValueList(); + java.util.List getDegreeTypesValueList(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ int getDegreeTypesValue(int index); /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -538,10 +643,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string department = 12; + * * @return The department. */ java.lang.String getDepartment(); /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -549,12 +657,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string department = 12; + * * @return The bytes for department. */ - com.google.protobuf.ByteString - getDepartmentBytes(); + com.google.protobuf.ByteString getDepartmentBytes(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -562,10 +672,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -573,10 +686,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -584,11 +700,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -596,11 +715,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List - getEmploymentTypesValueList(); + java.util.List getEmploymentTypesValueList(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -608,12 +729,15 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -621,10 +745,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string incentives = 14; + * * @return The incentives. */ java.lang.String getIncentives(); /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -632,12 +759,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string incentives = 14; + * * @return The bytes for incentives. */ - com.google.protobuf.ByteString - getIncentivesBytes(); + com.google.protobuf.ByteString getIncentivesBytes(); /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -651,10 +780,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string language_code = 15; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -668,31 +800,39 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ int getJobLevelValue(); /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The jobLevel. */ com.google.cloud.talent.v4.JobLevel getJobLevel(); /** + * + * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -703,11 +843,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ int getPromotionValue(); /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -718,10 +861,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string qualifications = 18; + * * @return The qualifications. */ java.lang.String getQualifications(); /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -732,12 +878,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ - com.google.protobuf.ByteString - getQualificationsBytes(); + com.google.protobuf.ByteString getQualificationsBytes(); /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -748,10 +896,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string responsibilities = 19; + * * @return The responsibilities. */ java.lang.String getResponsibilities(); /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -762,12 +913,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ - com.google.protobuf.ByteString - getResponsibilitiesBytes(); + com.google.protobuf.ByteString getResponsibilitiesBytes(); /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -779,10 +932,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ int getPostingRegionValue(); /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -794,11 +950,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The postingRegion. */ com.google.cloud.talent.v4.PostingRegion getPostingRegion(); /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -806,12 +965,16 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Deprecated int getVisibilityValue(); + @java.lang.Deprecated + int getVisibilityValue(); /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -819,33 +982,43 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ - @java.lang.Deprecated com.google.cloud.talent.v4.Visibility getVisibility(); + @java.lang.Deprecated + com.google.cloud.talent.v4.Visibility getVisibility(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ boolean hasJobStartTime(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ com.google.protobuf.Timestamp getJobStartTime(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -856,26 +1029,34 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ boolean hasJobEndTime(); /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ com.google.protobuf.Timestamp getJobEndTime(); /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -886,6 +1067,8 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -893,10 +1076,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ boolean hasPostingPublishTime(); /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -904,10 +1090,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ com.google.protobuf.Timestamp getPostingPublishTime(); /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -919,6 +1108,8 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -958,10 +1149,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ boolean hasPostingExpireTime(); /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1001,10 +1195,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ com.google.protobuf.Timestamp getPostingExpireTime(); /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1048,125 +1245,180 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ boolean hasPostingCreateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ com.google.protobuf.Timestamp getPostingCreateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ boolean hasPostingUpdateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ com.google.protobuf.Timestamp getPostingUpdateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ java.lang.String getCompanyDisplayName(); /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ - com.google.protobuf.ByteString - getCompanyDisplayNameBytes(); + com.google.protobuf.ByteString getCompanyDisplayNameBytes(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ boolean hasProcessingOptions(); /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions(); /** + * + * *
    * Options for job processing.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java new file mode 100644 index 000000000000..90ba3423c238 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java @@ -0,0 +1,208 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job.proto + +package com.google.cloud.talent.v4; + +public final class JobProto { + private JobProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n google/cloud/talent/v4/job.proto\022\026goog" + + "le.cloud.talent.v4\032\037google/api/field_beh" + + "avior.proto\032\031google/api/resource.proto\032#" + + "google/cloud/talent/v4/common.proto\032\037goo" + + "gle/protobuf/timestamp.proto\"\365\016\n\003Job\022\014\n\004" + + "name\030\001 \001(\t\0224\n\007company\030\002 \001(\tB#\340A\002\372A\035\n\033job" + + "s.googleapis.com/Company\022\033\n\016requisition_" + + "id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 \001(\tB\003\340A\002\022\030\n\013des" + + "cription\030\005 \001(\tB\003\340A\002\022\021\n\taddresses\030\006 \003(\t\022E" + + "\n\020application_info\030\007 \001(\0132+.google.cloud." + + "talent.v4.Job.ApplicationInfo\0228\n\014job_ben" + + "efits\030\010 \003(\0162\".google.cloud.talent.v4.Job" + + "Benefit\022C\n\021compensation_info\030\t \001(\0132(.goo" + + "gle.cloud.talent.v4.CompensationInfo\022L\n\021" + + "custom_attributes\030\n \003(\01321.google.cloud.t" + + "alent.v4.Job.CustomAttributesEntry\0228\n\014de" + + "gree_types\030\013 \003(\0162\".google.cloud.talent.v" + + "4.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022@\n\020empl" + + "oyment_types\030\r \003(\0162&.google.cloud.talent" + + ".v4.EmploymentType\022\022\n\nincentives\030\016 \001(\t\022\025" + + "\n\rlanguage_code\030\017 \001(\t\0223\n\tjob_level\030\020 \001(\016" + + "2 .google.cloud.talent.v4.JobLevel\022\027\n\017pr" + + "omotion_value\030\021 \001(\005\022\026\n\016qualifications\030\022 " + + "\001(\t\022\030\n\020responsibilities\030\023 \001(\t\022=\n\016posting" + + "_region\030\024 \001(\0162%.google.cloud.talent.v4.P" + + "ostingRegion\022:\n\nvisibility\030\025 \001(\0162\".googl" + + "e.cloud.talent.v4.VisibilityB\002\030\001\0222\n\016job_" + + "start_time\030\026 \001(\0132\032.google.protobuf.Times" + + "tamp\0220\n\014job_end_time\030\027 \001(\0132\032.google.prot" + + "obuf.Timestamp\0228\n\024posting_publish_time\030\030" + + " \001(\0132\032.google.protobuf.Timestamp\0227\n\023post" + + "ing_expire_time\030\031 \001(\0132\032.google.protobuf." + + "Timestamp\022<\n\023posting_create_time\030\032 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\022<\n\023posti" + + "ng_update_time\030\033 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022!\n\024company_display_name\030\034 " + + "\001(\tB\003\340A\003\022B\n\014derived_info\030\035 \001(\0132\'.google." + + "cloud.talent.v4.Job.DerivedInfoB\003\340A\003\022I\n\022" + + "processing_options\030\036 \001(\0132-.google.cloud." + + "talent.v4.Job.ProcessingOptions\032D\n\017Appli" + + "cationInfo\022\016\n\006emails\030\001 \003(\t\022\023\n\013instructio" + + "n\030\002 \001(\t\022\014\n\004uris\030\003 \003(\t\032\177\n\013DerivedInfo\0223\n\t" + + "locations\030\001 \003(\0132 .google.cloud.talent.v4" + + ".Location\022;\n\016job_categories\030\003 \003(\0162#.goog" + + "le.cloud.talent.v4.JobCategory\032\203\001\n\021Proce" + + "ssingOptions\022)\n!disable_street_address_r" + + "esolution\030\001 \001(\010\022C\n\021html_sanitization\030\002 \001" + + "(\0162(.google.cloud.talent.v4.HtmlSanitiza" + + "tion\032`\n\025CustomAttributesEntry\022\013\n\003key\030\001 \001" + + "(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud.talent." + + "v4.CustomAttribute:\0028\001:L\352AI\n\027jobs.google" + + "apis.com/Job\022.projects/{project}/tenants" + + "/{tenant}/jobs/{job}Bl\n\032com.google.cloud" + + ".talent.v4B\010JobProtoP\001Z * The query required to perform a search query. *
* * Protobuf type {@code google.cloud.talent.v4.JobQuery} */ -public final class JobQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobQuery) JobQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobQuery.newBuilder() to construct. private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JobQuery() { query_ = ""; queryLanguageCode_ = ""; @@ -34,32 +52,35 @@ private JobQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JobQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobQuery.class, com.google.cloud.talent.v4.JobQuery.Builder.class); + com.google.cloud.talent.v4.JobQuery.class, + com.google.cloud.talent.v4.JobQuery.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -67,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string query = 1; + * * @return The query. */ @java.lang.Override @@ -75,14 +97,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -90,16 +113,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 1; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -110,6 +132,8 @@ public java.lang.String getQuery() { public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object queryLanguageCode_; /** + * + * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -121,6 +145,7 @@ public java.lang.String getQuery() {
    * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ @java.lang.Override @@ -129,14 +154,15 @@ public java.lang.String getQueryLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; } } /** + * + * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -148,16 +174,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -168,6 +193,8 @@ public java.lang.String getQueryLanguageCode() { public static final int COMPANIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companies_; /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -181,13 +208,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList - getCompaniesList() { + public com.google.protobuf.ProtocolStringList getCompaniesList() { return companies_; } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -201,12 +230,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * repeated string companies = 2; + * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -220,6 +252,7 @@ public int getCompaniesCount() {
    * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -227,6 +260,8 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -240,17 +275,19 @@ public java.lang.String getCompanies(int index) {
    * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString - getCompaniesBytes(int index) { + public com.google.protobuf.ByteString getCompaniesBytes(int index) { return companies_.getByteString(index); } public static final int LOCATION_FILTERS_FIELD_NUMBER = 3; private java.util.List locationFilters_; /** + * + * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -270,6 +307,8 @@ public java.util.List getLocationFilt
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -285,11 +324,13 @@ public java.util.List getLocationFilt
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -309,6 +350,8 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -328,6 +371,8 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -343,24 +388,27 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index) {
     return locationFilters_.get(index);
   }
 
   public static final int JOB_CATEGORIES_FIELD_NUMBER = 4;
   private java.util.List jobCategories_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.cloud.talent.v4.JobCategory> jobCategories_converter_ =
+          java.lang.Integer, com.google.cloud.talent.v4.JobCategory>
+      jobCategories_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4.JobCategory>() {
             public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4.JobCategory result = com.google.cloud.talent.v4.JobCategory.valueOf(from);
+              com.google.cloud.talent.v4.JobCategory result =
+                  com.google.cloud.talent.v4.JobCategory.valueOf(from);
               return result == null ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED : result;
             }
           };
   /**
+   *
+   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -370,14 +418,18 @@ public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -387,6 +439,7 @@ public java.util.List getJobCategoriesLi
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ @java.lang.Override @@ -394,6 +447,8 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -403,6 +458,7 @@ public int getJobCategoriesCount() {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -411,6 +467,8 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -420,14 +478,16 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return jobCategories_; } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -437,6 +497,7 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -444,11 +505,14 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } + private int jobCategoriesMemoizedSerializedSize; public static final int COMMUTE_FILTER_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.CommuteFilter commuteFilter_; /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -458,6 +522,7 @@ public int getJobCategoriesValue(int index) {
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ @java.lang.Override @@ -465,6 +530,8 @@ public boolean hasCommuteFilter() { return commuteFilter_ != null; } /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -474,13 +541,18 @@ public boolean hasCommuteFilter() {
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter getCommuteFilter() { - return commuteFilter_ == null ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_; + return commuteFilter_ == null + ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() + : commuteFilter_; } /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -499,6 +571,8 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
   public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList companyDisplayNames_;
   /**
+   *
+   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -522,13 +596,15 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
    * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList - getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { return companyDisplayNames_; } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -552,12 +628,15 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
    * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -581,6 +660,7 @@ public int getCompanyDisplayNamesCount() {
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -588,6 +668,8 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -611,17 +693,19 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } public static final int COMPENSATION_FILTER_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.CompensationFilter compensationFilter_; /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -631,6 +715,7 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ @java.lang.Override @@ -638,6 +723,8 @@ public boolean hasCompensationFilter() { return compensationFilter_ != null; } /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -647,13 +734,18 @@ public boolean hasCompensationFilter() {
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter getCompensationFilter() { - return compensationFilter_ == null ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_; + return compensationFilter_ == null + ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() + : compensationFilter_; } /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -672,6 +764,8 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
   public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER = 8;
   private volatile java.lang.Object customAttributeFilter_;
   /**
+   *
+   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -693,6 +787,7 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
    * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ @java.lang.Override @@ -701,14 +796,15 @@ public java.lang.String getCustomAttributeFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; } } /** + * + * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -730,16 +826,15 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -750,6 +845,8 @@ public java.lang.String getCustomAttributeFilter() { public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER = 9; private boolean disableSpellCheck_; /** + * + * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -758,6 +855,7 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ @java.lang.Override @@ -768,16 +866,22 @@ public boolean getDisableSpellCheck() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 10; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> + employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>() { public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.EmploymentType result = com.google.cloud.talent.v4.EmploymentType.valueOf(from); - return result == null ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.EmploymentType result = + com.google.cloud.talent.v4.EmploymentType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -788,14 +892,18 @@ public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -806,6 +914,7 @@ public java.util.List getEmploymentTy
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ @java.lang.Override @@ -813,6 +922,8 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -823,6 +934,7 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -831,6 +943,8 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -841,14 +955,16 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return employmentTypes_; } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -859,6 +975,7 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -866,11 +983,14 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } + private int employmentTypesMemoizedSerializedSize; public static final int LANGUAGE_CODES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList languageCodes_; /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -883,13 +1003,15 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_; } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -902,12 +1024,15 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -920,6 +1045,7 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -927,6 +1053,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -939,23 +1067,26 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER = 12; private com.google.cloud.talent.v4.TimestampRange publishTimeRange_; /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ @java.lang.Override @@ -963,19 +1094,26 @@ public boolean hasPublishTimeRange() { return publishTimeRange_ != null; } /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ @java.lang.Override public com.google.cloud.talent.v4.TimestampRange getPublishTimeRange() { - return publishTimeRange_ == null ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_; + return publishTimeRange_ == null + ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() + : publishTimeRange_; } /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -991,37 +1129,45 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
   public static final int EXCLUDED_JOBS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList excludedJobs_;
   /**
+   *
+   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList - getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList getExcludedJobsList() { return excludedJobs_; } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -1029,21 +1175,24 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString - getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1055,8 +1204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); @@ -1129,24 +1277,23 @@ public int getSerializedSize() { size += 1 * getCompaniesList().size(); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobCategoriesMemoizedSerializedSize = dataSize; } if (commuteFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCommuteFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteFilter()); } { int dataSize = 0; @@ -1157,27 +1304,26 @@ public int getSerializedSize() { size += 1 * getCompanyDisplayNamesList().size(); } if (compensationFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCompensationFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompensationFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customAttributeFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customAttributeFilter_); } if (disableSpellCheck_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, disableSpellCheck_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableSpellCheck_); } { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + employmentTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -1188,8 +1334,7 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (publishTimeRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getPublishTimeRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getPublishTimeRange()); } { int dataSize = 0; @@ -1210,48 +1355,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.JobQuery)) { return super.equals(obj); } com.google.cloud.talent.v4.JobQuery other = (com.google.cloud.talent.v4.JobQuery) obj; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getQueryLanguageCode() - .equals(other.getQueryLanguageCode())) return false; - if (!getCompaniesList() - .equals(other.getCompaniesList())) return false; - if (!getLocationFiltersList() - .equals(other.getLocationFiltersList())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getQueryLanguageCode().equals(other.getQueryLanguageCode())) return false; + if (!getCompaniesList().equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - if (!getCommuteFilter() - .equals(other.getCommuteFilter())) return false; + if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; } - if (!getCompanyDisplayNamesList() - .equals(other.getCompanyDisplayNamesList())) return false; + if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - if (!getCompensationFilter() - .equals(other.getCompensationFilter())) return false; + if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; } - if (!getCustomAttributeFilter() - .equals(other.getCustomAttributeFilter())) return false; - if (getDisableSpellCheck() - != other.getDisableSpellCheck()) return false; + if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getLanguageCodesList() - .equals(other.getLanguageCodesList())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - if (!getPublishTimeRange() - .equals(other.getPublishTimeRange())) return false; + if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; } - if (!getExcludedJobsList() - .equals(other.getExcludedJobsList())) return false; + if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1294,8 +1427,7 @@ public int hashCode() { hash = (37 * hash) + CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER; hash = (53 * hash) + getCustomAttributeFilter().hashCode(); hash = (37 * hash) + DISABLE_SPELL_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableSpellCheck()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableSpellCheck()); if (getEmploymentTypesCount() > 0) { hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER; hash = (53 * hash) + employmentTypes_.hashCode(); @@ -1317,130 +1449,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.JobQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.JobQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.JobQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.JobQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.JobQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The query required to perform a search query.
    * 
* * Protobuf type {@code google.cloud.talent.v4.JobQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobQuery) com.google.cloud.talent.v4.JobQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobQuery.class, com.google.cloud.talent.v4.JobQuery.Builder.class); + com.google.cloud.talent.v4.JobQuery.class, + com.google.cloud.talent.v4.JobQuery.Builder.class); } // Construct using com.google.cloud.talent.v4.JobQuery.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1493,9 +1630,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override @@ -1582,38 +1719,39 @@ public com.google.cloud.talent.v4.JobQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.JobQuery) { - return mergeFrom((com.google.cloud.talent.v4.JobQuery)other); + return mergeFrom((com.google.cloud.talent.v4.JobQuery) other); } else { super.mergeFrom(other); return this; @@ -1658,9 +1796,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.JobQuery other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000002); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationFiltersFieldBuilder() : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationFiltersFieldBuilder() + : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -1758,124 +1897,136 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - query_ = input.readStringRequireUtf8(); + case 10: + { + query_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompaniesIsMutable(); - companies_.add(s); - break; - } // case 18 - case 26: { - com.google.cloud.talent.v4.LocationFilter m = - input.readMessage( - com.google.cloud.talent.v4.LocationFilter.parser(), - extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - break; - } // case 32 - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompaniesIsMutable(); + companies_.add(s); + break; + } // case 18 + case 26: + { + com.google.cloud.talent.v4.LocationFilter m = + input.readMessage( + com.google.cloud.talent.v4.LocationFilter.parser(), extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: { - input.readMessage( - getCommuteFilterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 32 + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: + { + input.readMessage(getCommuteFilterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompanyDisplayNamesIsMutable(); - companyDisplayNames_.add(s); - break; - } // case 50 - case 58: { - input.readMessage( - getCompensationFilterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompanyDisplayNamesIsMutable(); + companyDisplayNames_.add(s); + break; + } // case 50 + case 58: + { + input.readMessage( + getCompensationFilterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 66: { - customAttributeFilter_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: + { + customAttributeFilter_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 72: { - disableSpellCheck_ = input.readBool(); + break; + } // case 66 + case 72: + { + disableSpellCheck_ = input.readBool(); - break; - } // case 72 - case 80: { - int tmpRaw = input.readEnum(); - ensureEmploymentTypesIsMutable(); - employmentTypes_.add(tmpRaw); - break; - } // case 80 - case 82: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 72 + case 80: + { int tmpRaw = input.readEnum(); ensureEmploymentTypesIsMutable(); employmentTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 82 - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 90 - case 98: { - input.readMessage( - getPublishTimeRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 80 + case 82: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEmploymentTypesIsMutable(); + employmentTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 82 + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 90 + case 98: + { + input.readMessage( + getPublishTimeRangeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludedJobsIsMutable(); - excludedJobs_.add(s); - break; - } // case 106 - case 114: { - queryLanguageCode_ = input.readStringRequireUtf8(); + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedJobsIsMutable(); + excludedJobs_.add(s); + break; + } // case 106 + case 114: + { + queryLanguageCode_ = input.readStringRequireUtf8(); - break; - } // case 114 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 114 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1885,10 +2036,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object query_ = ""; /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1896,13 +2050,13 @@ public Builder mergeFrom(
      * 
* * string query = 1; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1911,6 +2065,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1918,15 +2074,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1934,6 +2089,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1941,20 +2098,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1962,15 +2121,18 @@ public Builder setQuery(
      * 
* * string query = 1; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1978,16 +2140,16 @@ public Builder clearQuery() {
      * 
* * string query = 1; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -1995,6 +2157,8 @@ public Builder setQueryBytes( private java.lang.Object queryLanguageCode_ = ""; /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2006,13 +2170,13 @@ public Builder setQueryBytes(
      * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ public java.lang.String getQueryLanguageCode() { java.lang.Object ref = queryLanguageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; @@ -2021,6 +2185,8 @@ public java.lang.String getQueryLanguageCode() { } } /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2032,15 +2198,14 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ - public com.google.protobuf.ByteString - getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -2048,6 +2213,8 @@ public java.lang.String getQueryLanguageCode() { } } /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2059,20 +2226,22 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @param value The queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCode( - java.lang.String value) { + public Builder setQueryLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryLanguageCode_ = value; onChanged(); return this; } /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2084,15 +2253,18 @@ public Builder setQueryLanguageCode(
      * 
* * string query_language_code = 14; + * * @return This builder for chaining. */ public Builder clearQueryLanguageCode() { - + queryLanguageCode_ = getDefaultInstance().getQueryLanguageCode(); onChanged(); return this; } /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2104,29 +2276,33 @@ public Builder clearQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @param value The bytes for queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryLanguageCode_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList companies_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList companies_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2140,13 +2316,15 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList - getCompaniesList() { + public com.google.protobuf.ProtocolStringList getCompaniesList() { return companies_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2160,13 +2338,16 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; + * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - *
+     *
+     *
+     * 
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
      * companies.
@@ -2179,6 +2360,7 @@ public int getCompaniesCount() {
      * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -2186,6 +2368,8 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2199,14 +2383,16 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString - getCompaniesBytes(int index) { + public com.google.protobuf.ByteString getCompaniesBytes(int index) { return companies_.getByteString(index); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2220,21 +2406,23 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; + * * @param index The index to set the value at. * @param value The companies to set. * @return This builder for chaining. */ - public Builder setCompanies( - int index, java.lang.String value) { + public Builder setCompanies(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2248,20 +2436,22 @@ public Builder setCompanies(
      * 
* * repeated string companies = 2; + * * @param value The companies to add. * @return This builder for chaining. */ - public Builder addCompanies( - java.lang.String value) { + public Builder addCompanies(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2275,18 +2465,19 @@ public Builder addCompanies(
      * 
* * repeated string companies = 2; + * * @param values The companies to add. * @return This builder for chaining. */ - public Builder addAllCompanies( - java.lang.Iterable values) { + public Builder addAllCompanies(java.lang.Iterable values) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2300,6 +2491,7 @@ public Builder addAllCompanies(
      * 
* * repeated string companies = 2; + * * @return This builder for chaining. */ public Builder clearCompanies() { @@ -2309,6 +2501,8 @@ public Builder clearCompanies() { return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2322,15 +2516,15 @@ public Builder clearCompanies() {
      * 
* * repeated string companies = 2; + * * @param value The bytes of the companies to add. * @return This builder for chaining. */ - public Builder addCompaniesBytes( - com.google.protobuf.ByteString value) { + public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompaniesIsMutable(); companies_.add(value); onChanged(); @@ -2338,18 +2532,25 @@ public Builder addCompaniesBytes( } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - locationFilters_ = new java.util.ArrayList(locationFilters_); + locationFilters_ = + new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder> locationFiltersBuilder_; + com.google.cloud.talent.v4.LocationFilter, + com.google.cloud.talent.v4.LocationFilter.Builder, + com.google.cloud.talent.v4.LocationFilterOrBuilder> + locationFiltersBuilder_; /** + * + * *
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2372,6 +2573,8 @@ public java.util.List getLocationFilt
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2394,6 +2597,8 @@ public int getLocationFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2416,6 +2621,8 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2430,8 +2637,7 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public Builder setLocationFilters(
-        int index, com.google.cloud.talent.v4.LocationFilter value) {
+    public Builder setLocationFilters(int index, com.google.cloud.talent.v4.LocationFilter value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2445,6 +2651,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2471,6 +2679,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2499,6 +2709,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.LocationFilter valu
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2513,8 +2725,7 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.LocationFilter valu
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public Builder addLocationFilters(
-        int index, com.google.cloud.talent.v4.LocationFilter value) {
+    public Builder addLocationFilters(int index, com.google.cloud.talent.v4.LocationFilter value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2528,6 +2739,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2554,6 +2767,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2580,6 +2795,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2598,8 +2815,7 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -2607,6 +2823,8 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2632,6 +2850,8 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2657,6 +2877,8 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2671,11 +2893,12 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuilder(int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2693,11 +2916,14 @@ public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuild
     public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);  } else {
+        return locationFilters_.get(index);
+      } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2712,8 +2938,8 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public java.util.List 
-         getLocationFiltersOrBuilderList() {
+    public java.util.List
+        getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2721,6 +2947,8 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2736,10 +2964,12 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
     public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2754,12 +2984,13 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder(
-        int index) {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
+    public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder(int index) {
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2774,16 +3005,22 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public java.util.List 
-         getLocationFiltersBuilderList() {
+    public java.util.List
+        getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder> 
+            com.google.cloud.talent.v4.LocationFilter,
+            com.google.cloud.talent.v4.LocationFilter.Builder,
+            com.google.cloud.talent.v4.LocationFilterOrBuilder>
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder>(
+        locationFiltersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.LocationFilter,
+                com.google.cloud.talent.v4.LocationFilter.Builder,
+                com.google.cloud.talent.v4.LocationFilterOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2793,8 +3030,8 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
       return locationFiltersBuilder_;
     }
 
-    private java.util.List jobCategories_ =
-      java.util.Collections.emptyList();
+    private java.util.List jobCategories_ = java.util.Collections.emptyList();
+
     private void ensureJobCategoriesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2802,6 +3039,8 @@ private void ensureJobCategoriesIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2811,13 +3050,17 @@ private void ensureJobCategoriesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2827,12 +3070,15 @@ public java.util.List getJobCategoriesLi
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2842,6 +3088,7 @@ public int getJobCategoriesCount() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2849,6 +3096,8 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2858,12 +3107,12 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories( - int index, com.google.cloud.talent.v4.JobCategory value) { + public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2873,6 +3122,8 @@ public Builder setJobCategories( return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2882,6 +3133,7 @@ public Builder setJobCategories(
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2895,6 +3147,8 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2904,6 +3158,7 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2917,6 +3172,8 @@ public Builder addAllJobCategories( return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2926,6 +3183,7 @@ public Builder addAllJobCategories(
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2935,6 +3193,8 @@ public Builder clearJobCategories() { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2944,13 +3204,15 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2960,6 +3222,7 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2967,6 +3230,8 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2976,18 +3241,20 @@ public int getJobCategoriesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue( - int index, int value) { + public Builder setJobCategoriesValue(int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2997,6 +3264,7 @@ public Builder setJobCategoriesValue(
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -3007,6 +3275,8 @@ public Builder addJobCategoriesValue(int value) { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3016,11 +3286,11 @@ public Builder addJobCategoriesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue( - java.lang.Iterable values) { + public Builder addAllJobCategoriesValue(java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -3031,8 +3301,13 @@ public Builder addAllJobCategoriesValue( private com.google.cloud.talent.v4.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder> commuteFilterBuilder_; + com.google.cloud.talent.v4.CommuteFilter, + com.google.cloud.talent.v4.CommuteFilter.Builder, + com.google.cloud.talent.v4.CommuteFilterOrBuilder> + commuteFilterBuilder_; /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3042,12 +3317,15 @@ public Builder addAllJobCategoriesValue(
      * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ public boolean hasCommuteFilter() { return commuteFilterBuilder_ != null || commuteFilter_ != null; } /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3057,16 +3335,21 @@ public boolean hasCommuteFilter() {
      * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ public com.google.cloud.talent.v4.CommuteFilter getCommuteFilter() { if (commuteFilterBuilder_ == null) { - return commuteFilter_ == null ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_; + return commuteFilter_ == null + ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() + : commuteFilter_; } else { return commuteFilterBuilder_.getMessage(); } } /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3091,6 +3374,8 @@ public Builder setCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3113,6 +3398,8 @@ public Builder setCommuteFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3127,7 +3414,9 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value
       if (commuteFilterBuilder_ == null) {
         if (commuteFilter_ != null) {
           commuteFilter_ =
-            com.google.cloud.talent.v4.CommuteFilter.newBuilder(commuteFilter_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.CommuteFilter.newBuilder(commuteFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           commuteFilter_ = value;
         }
@@ -3139,6 +3428,8 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3161,6 +3452,8 @@ public Builder clearCommuteFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3172,11 +3465,13 @@ public Builder clearCommuteFilter() {
      * .google.cloud.talent.v4.CommuteFilter commute_filter = 5;
      */
     public com.google.cloud.talent.v4.CommuteFilter.Builder getCommuteFilterBuilder() {
-      
+
       onChanged();
       return getCommuteFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3191,11 +3486,14 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
       if (commuteFilterBuilder_ != null) {
         return commuteFilterBuilder_.getMessageOrBuilder();
       } else {
-        return commuteFilter_ == null ?
-            com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_;
+        return commuteFilter_ == null
+            ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance()
+            : commuteFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3207,27 +3505,34 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
      * .google.cloud.talent.v4.CommuteFilter commute_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder> 
+            com.google.cloud.talent.v4.CommuteFilter,
+            com.google.cloud.talent.v4.CommuteFilter.Builder,
+            com.google.cloud.talent.v4.CommuteFilterOrBuilder>
         getCommuteFilterFieldBuilder() {
       if (commuteFilterBuilder_ == null) {
-        commuteFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder>(
-                getCommuteFilter(),
-                getParentForChildren(),
-                isClean());
+        commuteFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.CommuteFilter,
+                com.google.cloud.talent.v4.CommuteFilter.Builder,
+                com.google.cloud.talent.v4.CommuteFilterOrBuilder>(
+                getCommuteFilter(), getParentForChildren(), isClean());
         commuteFilter_ = null;
       }
       return commuteFilterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList companyDisplayNames_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureCompanyDisplayNamesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3251,13 +3556,15 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList - getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { return companyDisplayNames_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3281,12 +3588,15 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3310,6 +3620,7 @@ public int getCompanyDisplayNamesCount() {
      * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -3317,6 +3628,8 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3340,14 +3653,16 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3371,21 +3686,23 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; + * * @param index The index to set the value at. * @param value The companyDisplayNames to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNames( - int index, java.lang.String value) { + public Builder setCompanyDisplayNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3409,20 +3726,22 @@ public Builder setCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @param value The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNames( - java.lang.String value) { + public Builder addCompanyDisplayNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3446,18 +3765,19 @@ public Builder addCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @param values The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addAllCompanyDisplayNames( - java.lang.Iterable values) { + public Builder addAllCompanyDisplayNames(java.lang.Iterable values) { ensureCompanyDisplayNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companyDisplayNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companyDisplayNames_); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3481,6 +3801,7 @@ public Builder addAllCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @return This builder for chaining. */ public Builder clearCompanyDisplayNames() { @@ -3490,6 +3811,8 @@ public Builder clearCompanyDisplayNames() { return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3513,15 +3836,15 @@ public Builder clearCompanyDisplayNames() {
      * 
* * repeated string company_display_names = 6; + * * @param value The bytes of the companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); @@ -3530,8 +3853,13 @@ public Builder addCompanyDisplayNamesBytes( private com.google.cloud.talent.v4.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder> compensationFilterBuilder_; + com.google.cloud.talent.v4.CompensationFilter, + com.google.cloud.talent.v4.CompensationFilter.Builder, + com.google.cloud.talent.v4.CompensationFilterOrBuilder> + compensationFilterBuilder_; /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3541,12 +3869,15 @@ public Builder addCompanyDisplayNamesBytes(
      * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ public boolean hasCompensationFilter() { return compensationFilterBuilder_ != null || compensationFilter_ != null; } /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3556,16 +3887,21 @@ public boolean hasCompensationFilter() {
      * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ public com.google.cloud.talent.v4.CompensationFilter getCompensationFilter() { if (compensationFilterBuilder_ == null) { - return compensationFilter_ == null ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_; + return compensationFilter_ == null + ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() + : compensationFilter_; } else { return compensationFilterBuilder_.getMessage(); } } /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3590,6 +3926,8 @@ public Builder setCompensationFilter(com.google.cloud.talent.v4.CompensationFilt
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3612,6 +3950,8 @@ public Builder setCompensationFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3626,7 +3966,9 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4.CompensationFi
       if (compensationFilterBuilder_ == null) {
         if (compensationFilter_ != null) {
           compensationFilter_ =
-            com.google.cloud.talent.v4.CompensationFilter.newBuilder(compensationFilter_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.CompensationFilter.newBuilder(compensationFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           compensationFilter_ = value;
         }
@@ -3638,6 +3980,8 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4.CompensationFi
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3660,6 +4004,8 @@ public Builder clearCompensationFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3671,11 +4017,13 @@ public Builder clearCompensationFilter() {
      * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7;
      */
     public com.google.cloud.talent.v4.CompensationFilter.Builder getCompensationFilterBuilder() {
-      
+
       onChanged();
       return getCompensationFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3690,11 +4038,14 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
       if (compensationFilterBuilder_ != null) {
         return compensationFilterBuilder_.getMessageOrBuilder();
       } else {
-        return compensationFilter_ == null ?
-            com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_;
+        return compensationFilter_ == null
+            ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance()
+            : compensationFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3706,14 +4057,17 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
      * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder> 
+            com.google.cloud.talent.v4.CompensationFilter,
+            com.google.cloud.talent.v4.CompensationFilter.Builder,
+            com.google.cloud.talent.v4.CompensationFilterOrBuilder>
         getCompensationFilterFieldBuilder() {
       if (compensationFilterBuilder_ == null) {
-        compensationFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder>(
-                getCompensationFilter(),
-                getParentForChildren(),
-                isClean());
+        compensationFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.CompensationFilter,
+                com.google.cloud.talent.v4.CompensationFilter.Builder,
+                com.google.cloud.talent.v4.CompensationFilterOrBuilder>(
+                getCompensationFilter(), getParentForChildren(), isClean());
         compensationFilter_ = null;
       }
       return compensationFilterBuilder_;
@@ -3721,6 +4075,8 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
 
     private java.lang.Object customAttributeFilter_ = "";
     /**
+     *
+     *
      * 
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3742,13 +4098,13 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
      * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ public java.lang.String getCustomAttributeFilter() { java.lang.Object ref = customAttributeFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; @@ -3757,6 +4113,8 @@ public java.lang.String getCustomAttributeFilter() { } } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3778,15 +4136,14 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ - public com.google.protobuf.ByteString - getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -3794,6 +4151,8 @@ public java.lang.String getCustomAttributeFilter() { } } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3815,20 +4174,22 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @param value The customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilter( - java.lang.String value) { + public Builder setCustomAttributeFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customAttributeFilter_ = value; onChanged(); return this; } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3850,15 +4211,18 @@ public Builder setCustomAttributeFilter(
      * 
* * string custom_attribute_filter = 8; + * * @return This builder for chaining. */ public Builder clearCustomAttributeFilter() { - + customAttributeFilter_ = getDefaultInstance().getCustomAttributeFilter(); onChanged(); return this; } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3880,23 +4244,25 @@ public Builder clearCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @param value The bytes for customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customAttributeFilter_ = value; onChanged(); return this; } - private boolean disableSpellCheck_ ; + private boolean disableSpellCheck_; /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3905,6 +4271,7 @@ public Builder setCustomAttributeFilterBytes(
      * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ @java.lang.Override @@ -3912,6 +4279,8 @@ public boolean getDisableSpellCheck() { return disableSpellCheck_; } /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3920,16 +4289,19 @@ public boolean getDisableSpellCheck() {
      * 
* * bool disable_spell_check = 9; + * * @param value The disableSpellCheck to set. * @return This builder for chaining. */ public Builder setDisableSpellCheck(boolean value) { - + disableSpellCheck_ = value; onChanged(); return this; } /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3938,17 +4310,18 @@ public Builder setDisableSpellCheck(boolean value) {
      * 
* * bool disable_spell_check = 9; + * * @return This builder for chaining. */ public Builder clearDisableSpellCheck() { - + disableSpellCheck_ = false; onChanged(); return this; } - private java.util.List employmentTypes_ = - java.util.Collections.emptyList(); + private java.util.List employmentTypes_ = java.util.Collections.emptyList(); + private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -3956,6 +4329,8 @@ private void ensureEmploymentTypesIsMutable() { } } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -3966,13 +4341,17 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -3983,12 +4362,15 @@ public java.util.List getEmploymentTy
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -3999,6 +4381,7 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4006,6 +4389,8 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4016,12 +4401,12 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypes( - int index, com.google.cloud.talent.v4.EmploymentType value) { + public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.EmploymentType value) { if (value == null) { throw new NullPointerException(); } @@ -4031,6 +4416,8 @@ public Builder setEmploymentTypes( return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4041,6 +4428,7 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -4054,6 +4442,8 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4064,6 +4454,7 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -4077,6 +4468,8 @@ public Builder addAllEmploymentTypes( return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4087,6 +4480,7 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -4096,6 +4490,8 @@ public Builder clearEmploymentTypes() { return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4106,13 +4502,15 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4123,6 +4521,7 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4130,6 +4529,8 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4140,18 +4541,20 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue( - int index, int value) { + public Builder setEmploymentTypesValue(int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4162,6 +4565,7 @@ public Builder setEmploymentTypesValue(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -4172,6 +4576,8 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4182,11 +4588,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue( - java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -4195,14 +4601,18 @@ public Builder addAllEmploymentTypesValue( return this; } - private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4215,13 +4625,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4234,12 +4646,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4252,6 +4667,7 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -4259,6 +4675,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4271,14 +4689,16 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4291,21 +4711,23 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; + * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes( - int index, java.lang.String value) { + public Builder setLanguageCodes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4318,20 +4740,22 @@ public Builder setLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes( - java.lang.String value) { + public Builder addLanguageCodes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4344,18 +4768,19 @@ public Builder addLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes( - java.lang.Iterable values) { + public Builder addAllLanguageCodes(java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4368,6 +4793,7 @@ public Builder addAllLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -4377,6 +4803,8 @@ public Builder clearLanguageCodes() { return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4389,15 +4817,15 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 11; + * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); @@ -4406,36 +4834,49 @@ public Builder addLanguageCodesBytes( private com.google.cloud.talent.v4.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder> publishTimeRangeBuilder_; + com.google.cloud.talent.v4.TimestampRange, + com.google.cloud.talent.v4.TimestampRange.Builder, + com.google.cloud.talent.v4.TimestampRangeOrBuilder> + publishTimeRangeBuilder_; /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ public boolean hasPublishTimeRange() { return publishTimeRangeBuilder_ != null || publishTimeRange_ != null; } /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ public com.google.cloud.talent.v4.TimestampRange getPublishTimeRange() { if (publishTimeRangeBuilder_ == null) { - return publishTimeRange_ == null ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_; + return publishTimeRange_ == null + ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() + : publishTimeRange_; } else { return publishTimeRangeBuilder_.getMessage(); } } /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4457,6 +4898,8 @@ public Builder setPublishTimeRange(com.google.cloud.talent.v4.TimestampRange val
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4476,6 +4919,8 @@ public Builder setPublishTimeRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4487,7 +4932,9 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4.TimestampRange v
       if (publishTimeRangeBuilder_ == null) {
         if (publishTimeRange_ != null) {
           publishTimeRange_ =
-            com.google.cloud.talent.v4.TimestampRange.newBuilder(publishTimeRange_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.TimestampRange.newBuilder(publishTimeRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           publishTimeRange_ = value;
         }
@@ -4499,6 +4946,8 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4.TimestampRange v
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4518,6 +4967,8 @@ public Builder clearPublishTimeRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4526,11 +4977,13 @@ public Builder clearPublishTimeRange() {
      * .google.cloud.talent.v4.TimestampRange publish_time_range = 12;
      */
     public com.google.cloud.talent.v4.TimestampRange.Builder getPublishTimeRangeBuilder() {
-      
+
       onChanged();
       return getPublishTimeRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4542,11 +4995,14 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
       if (publishTimeRangeBuilder_ != null) {
         return publishTimeRangeBuilder_.getMessageOrBuilder();
       } else {
-        return publishTimeRange_ == null ?
-            com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_;
+        return publishTimeRange_ == null
+            ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance()
+            : publishTimeRange_;
       }
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4555,58 +5011,71 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
      * .google.cloud.talent.v4.TimestampRange publish_time_range = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder> 
+            com.google.cloud.talent.v4.TimestampRange,
+            com.google.cloud.talent.v4.TimestampRange.Builder,
+            com.google.cloud.talent.v4.TimestampRangeOrBuilder>
         getPublishTimeRangeFieldBuilder() {
       if (publishTimeRangeBuilder_ == null) {
-        publishTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder>(
-                getPublishTimeRange(),
-                getParentForChildren(),
-                isClean());
+        publishTimeRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.TimestampRange,
+                com.google.cloud.talent.v4.TimestampRange.Builder,
+                com.google.cloud.talent.v4.TimestampRangeOrBuilder>(
+                getPublishTimeRange(), getParentForChildren(), isClean());
         publishTimeRange_ = null;
       }
       return publishTimeRangeBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList excludedJobs_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureExcludedJobsIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_);
         bitField0_ |= 0x00000040;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList - getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList getExcludedJobsList() { return excludedJobs_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -4614,85 +5083,95 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString - getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index to set the value at. * @param value The excludedJobs to set. * @return This builder for chaining. */ - public Builder setExcludedJobs( - int index, java.lang.String value) { + public Builder setExcludedJobs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param value The excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobs( - java.lang.String value) { + public Builder addExcludedJobs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param values The excludedJobs to add. * @return This builder for chaining. */ - public Builder addAllExcludedJobs( - java.lang.Iterable values) { + public Builder addAllExcludedJobs(java.lang.Iterable values) { ensureExcludedJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludedJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedJobs_); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return This builder for chaining. */ public Builder clearExcludedJobs() { @@ -4702,29 +5181,31 @@ public Builder clearExcludedJobs() { return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param value The bytes of the excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobsBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4734,12 +5215,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobQuery) private static final com.google.cloud.talent.v4.JobQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobQuery(); } @@ -4748,27 +5229,27 @@ public static com.google.cloud.talent.v4.JobQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4783,6 +5264,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.JobQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java similarity index 93% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java index ae1d7313db19..494d53b6ee06 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface JobQueryOrBuilder extends +public interface JobQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -15,10 +33,13 @@ public interface JobQueryOrBuilder extends
    * 
* * string query = 1; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -26,12 +47,14 @@ public interface JobQueryOrBuilder extends
    * 
* * string query = 1; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -43,10 +66,13 @@ public interface JobQueryOrBuilder extends
    * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ java.lang.String getQueryLanguageCode(); /** + * + * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -58,12 +84,14 @@ public interface JobQueryOrBuilder extends
    * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ - com.google.protobuf.ByteString - getQueryLanguageCodeBytes(); + com.google.protobuf.ByteString getQueryLanguageCodeBytes(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -77,11 +105,13 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - java.util.List - getCompaniesList(); + java.util.List getCompaniesList(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -95,10 +125,13 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @return The count of companies. */ int getCompaniesCount(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -112,11 +145,14 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ java.lang.String getCompanies(int index); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -130,13 +166,15 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - com.google.protobuf.ByteString - getCompaniesBytes(int index); + com.google.protobuf.ByteString getCompaniesBytes(int index); /** + * + * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -151,9 +189,10 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  java.util.List 
-      getLocationFiltersList();
+  java.util.List getLocationFiltersList();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -170,6 +209,8 @@ public interface JobQueryOrBuilder extends
    */
   com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index);
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -186,6 +227,8 @@ public interface JobQueryOrBuilder extends
    */
   int getLocationFiltersCount();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -200,9 +243,11 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  java.util.List 
+  java.util.List
       getLocationFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -217,10 +262,11 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -230,10 +276,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -243,10 +292,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -256,11 +308,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4.JobCategory getJobCategories(int index); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -270,11 +325,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List - getJobCategoriesValueList(); + java.util.List getJobCategoriesValueList(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -284,12 +341,15 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -299,10 +359,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ boolean hasCommuteFilter(); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -312,10 +375,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ com.google.cloud.talent.v4.CommuteFilter getCommuteFilter(); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -329,6 +395,8 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -352,11 +420,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - java.util.List - getCompanyDisplayNamesList(); + java.util.List getCompanyDisplayNamesList(); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -380,10 +450,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ int getCompanyDisplayNamesCount(); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -407,11 +480,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ java.lang.String getCompanyDisplayNames(int index); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -435,13 +511,15 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index); + com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -451,10 +529,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ boolean hasCompensationFilter(); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -464,10 +545,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ com.google.cloud.talent.v4.CompensationFilter getCompensationFilter(); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -481,6 +565,8 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -502,10 +588,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ java.lang.String getCustomAttributeFilter(); /** + * + * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -527,12 +616,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ - com.google.protobuf.ByteString - getCustomAttributeFilterBytes(); + com.google.protobuf.ByteString getCustomAttributeFilterBytes(); /** + * + * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -541,11 +632,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ boolean getDisableSpellCheck(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -556,10 +650,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -570,10 +667,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -584,11 +684,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -599,11 +702,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List - getEmploymentTypesValueList(); + java.util.List getEmploymentTypesValueList(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -614,12 +719,15 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -632,11 +740,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - java.util.List - getLanguageCodesList(); + java.util.List getLanguageCodesList(); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -649,10 +759,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -665,11 +778,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -682,33 +798,41 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString - getLanguageCodesBytes(int index); + com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ boolean hasPublishTimeRange(); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ com.google.cloud.talent.v4.TimestampRange getPublishTimeRange(); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -719,47 +843,57 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - java.util.List - getExcludedJobsList(); + java.util.List getExcludedJobsList(); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ int getExcludedJobsCount(); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ java.lang.String getExcludedJobs(int index); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - com.google.protobuf.ByteString - getExcludedJobsBytes(int index); + com.google.protobuf.ByteString getExcludedJobsBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java similarity index 74% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java index afa945bed7b5..a71440de279f 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Mutation result of a job from a batch operation.
  * 
* * Protobuf type {@code google.cloud.talent.v4.JobResult} */ -public final class JobResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class JobResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobResult) JobResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobResult.newBuilder() to construct. private JobResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobResult() { - } + + private JobResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JobResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobResult.class, com.google.cloud.talent.v4.JobResult.Builder.class); + com.google.cloud.talent.v4.JobResult.class, + com.google.cloud.talent.v4.JobResult.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -65,6 +86,8 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -73,6 +96,7 @@ public boolean hasJob() {
    * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -80,6 +104,8 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -97,12 +123,15 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
+   *
+   *
    * 
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -110,12 +139,15 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -123,6 +155,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -136,6 +170,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +182,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -165,12 +199,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,7 +212,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.JobResult)) {
       return super.equals(obj);
@@ -189,13 +221,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob()
-          .equals(other.getJob())) return false;
+      if (!getJob().equals(other.getJob())) return false;
     }
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus()
-          .equals(other.getStatus())) return false;
+      if (!getStatus().equals(other.getStatus())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +251,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.JobResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.JobResult parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.talent.v4.JobResult parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.JobResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Mutation result of a job from a batch operation.
    * 
* * Protobuf type {@code google.cloud.talent.v4.JobResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobResult) com.google.cloud.talent.v4.JobResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobResult.class, com.google.cloud.talent.v4.JobResult.Builder.class); + com.google.cloud.talent.v4.JobResult.class, + com.google.cloud.talent.v4.JobResult.Builder.class); } // Construct using com.google.cloud.talent.v4.JobResult.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override @@ -404,38 +439,39 @@ public com.google.cloud.talent.v4.JobResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.JobResult) { - return mergeFrom((com.google.cloud.talent.v4.JobResult)other); + return mergeFrom((com.google.cloud.talent.v4.JobResult) other); } else { super.mergeFrom(other); return this; @@ -476,26 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getStatusFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,8 +543,13 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -518,12 +558,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -532,6 +575,7 @@ public boolean hasJob() {
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -542,6 +586,8 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** + * + * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -565,6 +611,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -574,8 +622,7 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) {
      *
      * .google.cloud.talent.v4.Job job = 1;
      */
-    public Builder setJob(
-        com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobBuilder_ == null) {
         job_ = builderForValue.build();
         onChanged();
@@ -586,6 +633,8 @@ public Builder setJob(
       return this;
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -598,8 +647,7 @@ public Builder setJob(
     public Builder mergeJob(com.google.cloud.talent.v4.Job value) {
       if (jobBuilder_ == null) {
         if (job_ != null) {
-          job_ =
-            com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial();
+          job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial();
         } else {
           job_ = value;
         }
@@ -611,6 +659,8 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -632,6 +682,8 @@ public Builder clearJob() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -642,11 +694,13 @@ public Builder clearJob() {
      * .google.cloud.talent.v4.Job job = 1;
      */
     public com.google.cloud.talent.v4.Job.Builder getJobBuilder() {
-      
+
       onChanged();
       return getJobFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -660,11 +714,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
       if (jobBuilder_ != null) {
         return jobBuilder_.getMessageOrBuilder();
       } else {
-        return job_ == null ?
-            com.google.cloud.talent.v4.Job.getDefaultInstance() : job_;
+        return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_;
       }
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -675,14 +730,17 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
      * .google.cloud.talent.v4.Job job = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> 
+            com.google.cloud.talent.v4.Job,
+            com.google.cloud.talent.v4.Job.Builder,
+            com.google.cloud.talent.v4.JobOrBuilder>
         getJobFieldBuilder() {
       if (jobBuilder_ == null) {
-        jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>(
-                getJob(),
-                getParentForChildren(),
-                isClean());
+        jobBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.Job,
+                com.google.cloud.talent.v4.Job.Builder,
+                com.google.cloud.talent.v4.JobOrBuilder>(
+                getJob(), getParentForChildren(), isClean());
         job_ = null;
       }
       return jobBuilder_;
@@ -690,26 +748,33 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
 
     private com.google.rpc.Status status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        statusBuilder_;
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -720,6 +785,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -741,6 +808,8 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -748,8 +817,7 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status status = 2;
      */
-    public Builder setStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         status_ = builderForValue.build();
         onChanged();
@@ -760,6 +828,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -770,8 +840,7 @@ public Builder setStatus(
     public Builder mergeStatus(com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (status_ != null) {
-          status_ =
-            com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+          status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
         } else {
           status_ = value;
         }
@@ -783,6 +852,8 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -802,6 +873,8 @@ public Builder clearStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -810,11 +883,13 @@ public Builder clearStatus() {
      * .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder getStatusBuilder() {
-      
+
       onChanged();
       return getStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -826,11 +901,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilder();
       } else {
-        return status_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : status_;
+        return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
       }
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -839,21 +915,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * .google.rpc.Status status = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getStatus(),
-                getParentForChildren(),
-                isClean());
+        statusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
         status_ = null;
       }
       return statusBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +939,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobResult)
   private static final com.google.cloud.talent.v4.JobResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobResult();
   }
@@ -877,27 +953,27 @@ public static com.google.cloud.talent.v4.JobResult getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public JobResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public JobResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +988,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.JobResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
similarity index 79%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
index 3bfc9fabe97f..dd01c090ff91 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface JobResultOrBuilder extends
+public interface JobResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -16,10 +34,13 @@ public interface JobResultOrBuilder extends
    * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -28,10 +49,13 @@ public interface JobResultOrBuilder extends
    * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -44,26 +68,34 @@ public interface JobResultOrBuilder extends
   com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder();
 
   /**
+   *
+   *
    * 
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
new file mode 100644
index 000000000000..91b41a0239b5
--- /dev/null
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
@@ -0,0 +1,485 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4/job_service.proto
+
+package com.google.cloud.talent.v4;
+
+public final class JobServiceProto {
+  private JobServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_GetJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_JobResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n(google/cloud/talent/v4/job_service.pro"
+          + "to\022\026google.cloud.talent.v4\032\034google/api/a"
+          + "nnotations.proto\032\027google/api/client.prot"
+          + "o\032\037google/api/field_behavior.proto\032\031goog"
+          + "le/api/resource.proto\032#google/cloud/tale"
+          + "nt/v4/common.proto\032$google/cloud/talent/"
+          + "v4/filters.proto\032&google/cloud/talent/v4"
+          + "/histogram.proto\032 google/cloud/talent/v4"
+          + "/job.proto\032#google/longrunning/operation"
+          + "s.proto\032\036google/protobuf/duration.proto\032"
+          + "\033google/protobuf/empty.proto\032 google/pro"
+          + "tobuf/field_mask.proto\032\027google/rpc/statu"
+          + "s.proto\"r\n\020CreateJobRequest\022/\n\006parent\030\001 "
+          + "\001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022-\n\003"
+          + "job\030\002 \001(\0132\033.google.cloud.talent.v4.JobB\003"
+          + "\340A\002\">\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372"
+          + "A\031\n\027jobs.googleapis.com/Job\"r\n\020UpdateJob"
+          + "Request\022-\n\003job\030\001 \001(\0132\033.google.cloud.tale"
+          + "nt.v4.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go"
+          + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ"
+          + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap"
+          + "is.com/Job\"\261\001\n\017ListJobsRequest\022/\n\006parent"
+          + "\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022"
+          + "\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\npage_token\030\003 \001(\t"
+          + "\022\021\n\tpage_size\030\004 \001(\005\0221\n\010job_view\030\005 \001(\0162\037."
+          + "google.cloud.talent.v4.JobView\"\222\001\n\020ListJ"
+          + "obsResponse\022)\n\004jobs\030\001 \003(\0132\033.google.cloud"
+          + ".talent.v4.Job\022\027\n\017next_page_token\030\002 \001(\t\022"
+          + ":\n\010metadata\030\003 \001(\0132(.google.cloud.talent."
+          + "v4.ResponseMetadata\"\274\013\n\021SearchJobsReques"
+          + "t\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleap"
+          + "is.com/Job\022I\n\013search_mode\030\002 \001(\01624.google"
+          + ".cloud.talent.v4.SearchJobsRequest.Searc"
+          + "hMode\022F\n\020request_metadata\030\003 \001(\0132\'.google"
+          + ".cloud.talent.v4.RequestMetadataB\003\340A\002\0223\n"
+          + "\tjob_query\030\004 \001(\0132 .google.cloud.talent.v"
+          + "4.JobQuery\022\031\n\021enable_broadening\030\005 \001(\010\022A\n"
+          + "\021histogram_queries\030\007 \003(\0132&.google.cloud."
+          + "talent.v4.HistogramQuery\0221\n\010job_view\030\010 \001"
+          + "(\0162\037.google.cloud.talent.v4.JobView\022\016\n\006o"
+          + "ffset\030\t \001(\005\022\025\n\rmax_page_size\030\n \001(\005\022\022\n\npa"
+          + "ge_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t\022]\n\025dive"
+          + "rsification_level\030\r \001(\0162>.google.cloud.t"
+          + "alent.v4.SearchJobsRequest.Diversificati"
+          + "onLevel\022X\n\023custom_ranking_info\030\016 \001(\0132;.g"
+          + "oogle.cloud.talent.v4.SearchJobsRequest."
+          + "CustomRankingInfo\022!\n\025disable_keyword_mat"
+          + "ch\030\020 \001(\010B\002\030\001\022V\n\022keyword_match_mode\030\022 \001(\016"
+          + "2:.google.cloud.talent.v4.SearchJobsRequ"
+          + "est.KeywordMatchMode\032\225\002\n\021CustomRankingIn"
+          + "fo\022j\n\020importance_level\030\001 \001(\0162K.google.cl"
+          + "oud.talent.v4.SearchJobsRequest.CustomRa"
+          + "nkingInfo.ImportanceLevelB\003\340A\002\022\037\n\022rankin"
+          + "g_expression\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLev"
+          + "el\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004"
+          + "NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n"
+          + "\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SE"
+          + "ARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022"
+          + "\027\n\023FEATURED_JOB_SEARCH\020\002\"\245\001\n\024Diversifica"
+          + "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE"
+          + "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\022\023\n\017ON"
+          + "E_PER_COMPANY\020\003\022\023\n\017TWO_PER_COMPANY\020\004\022\"\n\036"
+          + "DIVERSIFY_BY_LOOSER_SIMILARITY\020\005\"\207\001\n\020Key"
+          + "wordMatchMode\022\"\n\036KEYWORD_MATCH_MODE_UNSP"
+          + "ECIFIED\020\000\022\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n"
+          + "\021KEYWORD_MATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TI"
+          + "TLE_ONLY\020\003\"\221\006\n\022SearchJobsResponse\022M\n\rmat"
+          + "ching_jobs\030\001 \003(\01326.google.cloud.talent.v"
+          + "4.SearchJobsResponse.MatchingJob\022M\n\027hist"
+          + "ogram_query_results\030\002 \003(\0132,.google.cloud"
+          + ".talent.v4.HistogramQueryResult\022\027\n\017next_"
+          + "page_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003"
+          + "(\0132 .google.cloud.talent.v4.Location\022\022\n\n"
+          + "total_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.goo"
+          + "gle.cloud.talent.v4.ResponseMetadata\022\"\n\032"
+          + "broadened_query_jobs_count\030\010 \001(\005\022D\n\020spel"
+          + "l_correction\030\t \001(\0132*.google.cloud.talent"
+          + ".v4.SpellingCorrection\032\322\001\n\013MatchingJob\022("
+          + "\n\003job\030\001 \001(\0132\033.google.cloud.talent.v4.Job"
+          + "\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snipp"
+          + "et\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n"
+          + "\014commute_info\030\005 \001(\01326.google.cloud.talen"
+          + "t.v4.SearchJobsResponse.CommuteInfo\032y\n\013C"
+          + "ommuteInfo\0226\n\014job_location\030\001 \001(\0132 .googl"
+          + "e.cloud.talent.v4.Location\0222\n\017travel_dur"
+          + "ation\030\002 \001(\0132\031.google.protobuf.Duration\"y"
+          + "\n\026BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\t"
+          + "B\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004job"
+          + "s\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A"
+          + "\002\"\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001"
+          + " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n"
+          + "\004jobs\030\002 \003(\0132\033.google.cloud.talent.v4.Job"
+          + "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot"
+          + "obuf.FieldMask\"y\n\026BatchDeleteJobsRequest"
+          + "\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapi"
+          + "s.com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.g"
+          + "oogleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 "
+          + "\001(\0132\033.google.cloud.talent.v4.Job\022\"\n\006stat"
+          + "us\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCre"
+          + "ateJobsResponse\0226\n\013job_results\030\001 \003(\0132!.g"
+          + "oogle.cloud.talent.v4.JobResult\"Q\n\027Batch"
+          + "UpdateJobsResponse\0226\n\013job_results\030\001 \003(\0132"
+          + "!.google.cloud.talent.v4.JobResult\"Q\n\027Ba"
+          + "tchDeleteJobsResponse\0226\n\013job_results\030\001 \003"
+          + "(\0132!.google.cloud.talent.v4.JobResult*v\n"
+          + "\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JO"
+          + "B_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022"
+          + "\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016"
+          + "\n\nJobService\022\224\001\n\tCreateJob\022(.google.clou"
+          + "d.talent.v4.CreateJobRequest\032\033.google.cl"
+          + "oud.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=p"
+          + "rojects/*/tenants/*}/jobs:\003job\332A\nparent,"
+          + "job\022\341\001\n\017BatchCreateJobs\022..google.cloud.t"
+          + "alent.v4.BatchCreateJobsRequest\032\035.google"
+          + ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par"
+          + "ent=projects/*/tenants/*}/jobs:batchCrea"
+          + "te:\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsR"
+          + "esponse\022\026BatchOperationMetadata\022\203\001\n\006GetJ"
+          + "ob\022%.google.cloud.talent.v4.GetJobReques"
+          + "t\032\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&"
+          + "/v4/{name=projects/*/tenants/*/jobs/*}\332A"
+          + "\004name\022\235\001\n\tUpdateJob\022(.google.cloud.talen"
+          + "t.v4.UpdateJobRequest\032\033.google.cloud.tal"
+          + "ent.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projec"
+          + "ts/*/tenants/*/jobs/*}:\003job\332A\017job,update"
+          + "_mask\022\341\001\n\017BatchUpdateJobs\022..google.cloud"
+          + ".talent.v4.BatchUpdateJobsRequest\032\035.goog"
+          + "le.longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{p"
+          + "arent=projects/*/tenants/*}/jobs:batchUp"
+          + "date:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJob"
+          + "sResponse\022\026BatchOperationMetadata\022\204\001\n\tDe"
+          + "leteJob\022(.google.cloud.talent.v4.DeleteJ"
+          + "obRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002"
+          + "(*&/v4/{name=projects/*/tenants/*/jobs/*"
+          + "}\332A\004name\022\343\001\n\017BatchDeleteJobs\022..google.cl"
+          + "oud.talent.v4.BatchDeleteJobsRequest\032\035.g"
+          + "oogle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v"
+          + "4/{parent=projects/*/tenants/*}/jobs:bat"
+          + "chDelete:\001*\332A\014parent,names\312A1\n\027BatchDele"
+          + "teJobsResponse\022\026BatchOperationMetadata\022\235"
+          + "\001\n\010ListJobs\022\'.google.cloud.talent.v4.Lis"
+          + "tJobsRequest\032(.google.cloud.talent.v4.Li"
+          + "stJobsResponse\">\202\323\344\223\002(\022&/v4/{parent=proj"
+          + "ects/*/tenants/*}/jobs\332A\rparent,filter\022\235"
+          + "\001\n\nSearchJobs\022).google.cloud.talent.v4.S"
+          + "earchJobsRequest\032*.google.cloud.talent.v"
+          + "4.SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{paren"
+          + "t=projects/*/tenants/*}/jobs:search:\001*\022\255"
+          + "\001\n\022SearchJobsForAlert\022).google.cloud.tal"
+          + "ent.v4.SearchJobsRequest\032*.google.cloud."
+          + "talent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v"
+          + "4/{parent=projects/*/tenants/*}/jobs:sea"
+          + "rchForAlert:\001*\032l\312A\023jobs.googleapis.com\322A"
+          + "Shttps://www.googleapis.com/auth/cloud-p"
+          + "latform,https://www.googleapis.com/auth/"
+          + "jobsBs\n\032com.google.cloud.talent.v4B\017JobS"
+          + "erviceProtoP\001Z
  * An enum that specifies the job attributes that are returned in the
  * [MatchingJob.job][google.cloud.talent.v4.SearchJobsResponse.MatchingJob.job] or
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.JobView}
  */
-public enum JobView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -23,6 +41,8 @@ public enum JobView */ JOB_VIEW_UNSPECIFIED(0), /** + * + * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.Job.language_code].
@@ -32,6 +52,8 @@ public enum JobView
    */
   JOB_VIEW_ID_ONLY(1),
   /**
+   *
+   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -42,6 +64,8 @@ public enum JobView
    */
   JOB_VIEW_MINIMAL(2),
   /**
+   *
+   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -53,6 +77,8 @@ public enum JobView
    */
   JOB_VIEW_SMALL(3),
   /**
+   *
+   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -64,6 +90,8 @@ public enum JobView ; /** + * + * *
    * Default value.
    * 
@@ -72,6 +100,8 @@ public enum JobView */ public static final int JOB_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.Job.language_code].
@@ -81,6 +111,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_ID_ONLY_VALUE = 1;
   /**
+   *
+   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -91,6 +123,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_MINIMAL_VALUE = 2;
   /**
+   *
+   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -102,6 +136,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_SMALL_VALUE = 3;
   /**
+   *
+   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -110,7 +146,6 @@ public enum JobView */ public static final int JOB_VIEW_FULL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,51 +170,53 @@ public static JobView valueOf(int value) { */ public static JobView forNumber(int value) { switch (value) { - case 0: return JOB_VIEW_UNSPECIFIED; - case 1: return JOB_VIEW_ID_ONLY; - case 2: return JOB_VIEW_MINIMAL; - case 3: return JOB_VIEW_SMALL; - case 4: return JOB_VIEW_FULL; - default: return null; + case 0: + return JOB_VIEW_UNSPECIFIED; + case 1: + return JOB_VIEW_ID_ONLY; + case 2: + return JOB_VIEW_MINIMAL; + case 3: + return JOB_VIEW_SMALL; + case 4: + return JOB_VIEW_FULL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobView findValueByNumber(int number) { - return JobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobView findValueByNumber(int number) { + return JobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.JobServiceProto.getDescriptor().getEnumTypes().get(0); } private static final JobView[] VALUES = values(); - public static JobView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,4 +232,3 @@ private JobView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobView) } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java similarity index 68% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java index 107c55c52950..e7609cbc9c28 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * List companies for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesRequest} */ -public final class ListCompaniesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompaniesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListCompaniesRequest) ListCompaniesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompaniesRequest.newBuilder() to construct. private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,45 @@ private ListCompaniesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompaniesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesRequest.class, com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4.ListCompaniesRequest.class, + com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -115,29 +144,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -148,12 +177,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -164,6 +196,8 @@ public int getPageSize() { public static final int REQUIRE_OPEN_JOBS_FIELD_NUMBER = 4; private boolean requireOpenJobs_; /** + * + * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -172,6 +206,7 @@ public int getPageSize() {
    * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ @java.lang.Override @@ -180,6 +215,7 @@ public boolean getRequireOpenJobs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,12 +256,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (requireOpenJobs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, requireOpenJobs_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, requireOpenJobs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,21 +269,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListCompaniesRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListCompaniesRequest other = (com.google.cloud.talent.v4.ListCompaniesRequest) obj; + com.google.cloud.talent.v4.ListCompaniesRequest other = + (com.google.cloud.talent.v4.ListCompaniesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (getRequireOpenJobs() - != other.getRequireOpenJobs()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,137 +299,142 @@ public int hashCode() { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + REQUIRE_OPEN_JOBS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequireOpenJobs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireOpenJobs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ListCompaniesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List companies for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListCompaniesRequest) com.google.cloud.talent.v4.ListCompaniesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesRequest.class, com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4.ListCompaniesRequest.class, + com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListCompaniesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override @@ -436,7 +471,8 @@ public com.google.cloud.talent.v4.ListCompaniesRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListCompaniesRequest buildPartial() { - com.google.cloud.talent.v4.ListCompaniesRequest result = new com.google.cloud.talent.v4.ListCompaniesRequest(this); + com.google.cloud.talent.v4.ListCompaniesRequest result = + new com.google.cloud.talent.v4.ListCompaniesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -449,38 +485,39 @@ public com.google.cloud.talent.v4.ListCompaniesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListCompaniesRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListCompaniesRequest)other); + return mergeFrom((com.google.cloud.talent.v4.ListCompaniesRequest) other); } else { super.mergeFrom(other); return this; @@ -488,7 +525,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesRequest other) { - if (other == com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -529,32 +567,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - case 32: { - requireOpenJobs_ = input.readBool(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 32: + { + requireOpenJobs_ = input.readBool(); + + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,20 +610,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -589,22 +636,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -612,60 +662,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -673,18 +736,20 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -693,20 +758,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -714,67 +780,77 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -782,39 +858,47 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - private boolean requireOpenJobs_ ; + private boolean requireOpenJobs_; /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -823,6 +907,7 @@ public Builder clearPageSize() {
      * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ @java.lang.Override @@ -830,6 +915,8 @@ public boolean getRequireOpenJobs() { return requireOpenJobs_; } /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -838,16 +925,19 @@ public boolean getRequireOpenJobs() {
      * 
* * bool require_open_jobs = 4; + * * @param value The requireOpenJobs to set. * @return This builder for chaining. */ public Builder setRequireOpenJobs(boolean value) { - + requireOpenJobs_ = value; onChanged(); return this; } /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -856,17 +946,18 @@ public Builder setRequireOpenJobs(boolean value) {
      * 
* * bool require_open_jobs = 4; + * * @return This builder for chaining. */ public Builder clearRequireOpenJobs() { - + requireOpenJobs_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -876,12 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListCompaniesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListCompaniesRequest) private static final com.google.cloud.talent.v4.ListCompaniesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListCompaniesRequest(); } @@ -890,27 +981,27 @@ public static com.google.cloud.talent.v4.ListCompaniesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompaniesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompaniesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -925,6 +1016,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListCompaniesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java index 0e6504744a7e..c7127abdb10e 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java @@ -1,68 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; -public interface ListCompaniesRequestOrBuilder extends +public interface ListCompaniesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListCompaniesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -71,6 +106,7 @@ public interface ListCompaniesRequestOrBuilder extends
    * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ boolean getRequireOpenJobs(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java similarity index 72% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java index 0a8501379a65..a4e51a38917d 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The List companies response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesResponse} */ -public final class ListCompaniesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompaniesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListCompaniesResponse) ListCompaniesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompaniesResponse.newBuilder() to construct. private ListCompaniesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompaniesResponse() { companies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListCompaniesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompaniesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesResponse.class, com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4.ListCompaniesResponse.class, + com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); } public static final int COMPANIES_FIELD_NUMBER = 1; private java.util.List companies_; /** + * + * *
    * Companies for the current client.
    * 
@@ -63,6 +84,8 @@ public java.util.List getCompaniesList() { return companies_; } /** + * + * *
    * Companies for the current client.
    * 
@@ -70,11 +93,13 @@ public java.util.List getCompaniesList() { * repeated .google.cloud.talent.v4.Company companies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompaniesOrBuilderList() { return companies_; } /** + * + * *
    * Companies for the current client.
    * 
@@ -86,6 +111,8 @@ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
    * Companies for the current client.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { return companies_.get(index); } /** + * + * *
    * Companies for the current client.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { * repeated .google.cloud.talent.v4.Company companies = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( - int index) { + public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index) { return companies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -158,12 +189,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -171,19 +205,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -197,6 +238,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,8 +250,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < companies_.size(); i++) {
       output.writeMessage(1, companies_.get(i));
     }
@@ -229,15 +270,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < companies_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, companies_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, companies_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,21 +286,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListCompaniesResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListCompaniesResponse other = (com.google.cloud.talent.v4.ListCompaniesResponse) obj;
+    com.google.cloud.talent.v4.ListCompaniesResponse other =
+        (com.google.cloud.talent.v4.ListCompaniesResponse) obj;
 
-    if (!getCompaniesList()
-        .equals(other.getCompaniesList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getCompaniesList().equals(other.getCompaniesList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -289,130 +326,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.ListCompaniesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The List companies response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListCompaniesResponse) com.google.cloud.talent.v4.ListCompaniesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesResponse.class, com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4.ListCompaniesResponse.class, + com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListCompaniesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override @@ -456,7 +499,8 @@ public com.google.cloud.talent.v4.ListCompaniesResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListCompaniesResponse buildPartial() { - com.google.cloud.talent.v4.ListCompaniesResponse result = new com.google.cloud.talent.v4.ListCompaniesResponse(this); + com.google.cloud.talent.v4.ListCompaniesResponse result = + new com.google.cloud.talent.v4.ListCompaniesResponse(this); int from_bitField0_ = bitField0_; if (companiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +525,39 @@ public com.google.cloud.talent.v4.ListCompaniesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListCompaniesResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListCompaniesResponse)other); + return mergeFrom((com.google.cloud.talent.v4.ListCompaniesResponse) other); } else { super.mergeFrom(other); return this; @@ -520,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesResponse other) { - if (other == com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance()) + return this; if (companiesBuilder_ == null) { if (!other.companies_.isEmpty()) { if (companies_.isEmpty()) { @@ -539,9 +585,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesResponse other) companiesBuilder_ = null; companies_ = other.companies_; bitField0_ = (bitField0_ & ~0x00000001); - companiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompaniesFieldBuilder() : null; + companiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompaniesFieldBuilder() + : null; } else { companiesBuilder_.addAllMessages(other.companies_); } @@ -580,37 +627,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.Company m = - input.readMessage( - com.google.cloud.talent.v4.Company.parser(), - extensionRegistry); - if (companiesBuilder_ == null) { - ensureCompaniesIsMutable(); - companies_.add(m); - } else { - companiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4.Company m = + input.readMessage( + com.google.cloud.talent.v4.Company.parser(), extensionRegistry); + if (companiesBuilder_ == null) { + ensureCompaniesIsMutable(); + companies_.add(m); + } else { + companiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +668,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List companies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companiesBuilder_; + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> + companiesBuilder_; /** + * + * *
      * Companies for the current client.
      * 
@@ -649,6 +704,8 @@ public java.util.List getCompaniesList() { } } /** + * + * *
      * Companies for the current client.
      * 
@@ -663,6 +720,8 @@ public int getCompaniesCount() { } } /** + * + * *
      * Companies for the current client.
      * 
@@ -677,14 +736,15 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { } } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder setCompanies( - int index, com.google.cloud.talent.v4.Company value) { + public Builder setCompanies(int index, com.google.cloud.talent.v4.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +758,8 @@ public Builder setCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -716,6 +778,8 @@ public Builder setCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -736,14 +800,15 @@ public Builder addCompanies(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder addCompanies( - int index, com.google.cloud.talent.v4.Company value) { + public Builder addCompanies(int index, com.google.cloud.talent.v4.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,14 +822,15 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder addCompanies( - com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder addCompanies(com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); companies_.add(builderForValue.build()); @@ -775,6 +841,8 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -793,6 +861,8 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -803,8 +873,7 @@ public Builder addAllCompanies( java.lang.Iterable values) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); onChanged(); } else { companiesBuilder_.addAllMessages(values); @@ -812,6 +881,8 @@ public Builder addAllCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -829,6 +900,8 @@ public Builder clearCompanies() { return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -846,39 +919,44 @@ public Builder removeCompanies(int index) { return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.Company.Builder getCompaniesBuilder( - int index) { + public com.google.cloud.talent.v4.Company.Builder getCompaniesBuilder(int index) { return getCompaniesFieldBuilder().getBuilder(index); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( - int index) { + public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index) { if (companiesBuilder_ == null) { - return companies_.get(index); } else { + return companies_.get(index); + } else { return companiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public java.util.List - getCompaniesOrBuilderList() { + public java.util.List + getCompaniesOrBuilderList() { if (companiesBuilder_ != null) { return companiesBuilder_.getMessageOrBuilderList(); } else { @@ -886,6 +964,8 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( } } /** + * + * *
      * Companies for the current client.
      * 
@@ -893,42 +973,47 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( * repeated .google.cloud.talent.v4.Company companies = 1; */ public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder() { - return getCompaniesFieldBuilder().addBuilder( - com.google.cloud.talent.v4.Company.getDefaultInstance()); + return getCompaniesFieldBuilder() + .addBuilder(com.google.cloud.talent.v4.Company.getDefaultInstance()); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder( - int index) { - return getCompaniesFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.Company.getDefaultInstance()); + public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder(int index) { + return getCompaniesFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.Company.getDefaultInstance()); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public java.util.List - getCompaniesBuilderList() { + public java.util.List getCompaniesBuilderList() { return getCompaniesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> getCompaniesFieldBuilder() { if (companiesBuilder_ == null) { - companiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( - companies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + companiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder>( + companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); companies_ = null; } return companiesBuilder_; @@ -936,18 +1021,20 @@ public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -956,20 +1043,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -977,54 +1065,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1032,36 +1127,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1083,6 +1191,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1102,6 +1212,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1113,7 +1225,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1125,6 +1239,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1144,6 +1260,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1152,11 +1270,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1168,11 +1288,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1181,21 +1304,24 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1205,12 +1331,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListCompaniesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListCompaniesResponse)
   private static final com.google.cloud.talent.v4.ListCompaniesResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListCompaniesResponse();
   }
@@ -1219,27 +1345,27 @@ public static com.google.cloud.talent.v4.ListCompaniesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListCompaniesResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListCompaniesResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1380,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListCompaniesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
index 215d721b5e75..6abbb5f8065e 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListCompaniesResponseOrBuilder extends
+public interface ListCompaniesResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListCompaniesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - java.util.List - getCompaniesList(); + java.util.List getCompaniesList(); /** + * + * *
    * Companies for the current client.
    * 
@@ -25,6 +44,8 @@ public interface ListCompaniesResponseOrBuilder extends */ com.google.cloud.talent.v4.Company getCompanies(int index); /** + * + * *
    * Companies for the current client.
    * 
@@ -33,65 +54,80 @@ public interface ListCompaniesResponseOrBuilder extends */ int getCompaniesCount(); /** + * + * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - java.util.List - getCompaniesOrBuilderList(); + java.util.List getCompaniesOrBuilderList(); /** + * + * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( - int index); + com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
index 9fa913067d8c..e3696731e56e 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsRequest} */ -public final class ListJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListJobsRequest) ListJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsRequest() { parent_ = ""; filter_ = ""; @@ -28,39 +46,45 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsRequest.class, com.google.cloud.talent.v4.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4.ListJobsRequest.class, + com.google.cloud.talent.v4.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,31 +93,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,6 +130,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -125,6 +153,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -133,14 +162,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -162,16 +192,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -182,11 +211,14 @@ public java.lang.String getFilter() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -195,29 +227,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -228,6 +260,8 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -236,6 +270,7 @@ public java.lang.String getPageToken() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -246,6 +281,8 @@ public int getPageSize() { public static final int JOB_VIEW_FIELD_NUMBER = 5; private int jobView_; /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -253,12 +290,16 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -266,15 +307,19 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The jobView. */ - @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { + @java.lang.Override + public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = + com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +331,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (jobView_ != com.google.cloud.talent.v4.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, jobView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, jobView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -337,21 +379,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListJobsRequest other = (com.google.cloud.talent.v4.ListJobsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + com.google.cloud.talent.v4.ListJobsRequest other = + (com.google.cloud.talent.v4.ListJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (jobView_ != other.jobView_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -379,130 +418,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListJobsRequest) com.google.cloud.talent.v4.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsRequest.class, com.google.cloud.talent.v4.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4.ListJobsRequest.class, + com.google.cloud.talent.v4.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListJobsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override @@ -541,7 +586,8 @@ public com.google.cloud.talent.v4.ListJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListJobsRequest buildPartial() { - com.google.cloud.talent.v4.ListJobsRequest result = new com.google.cloud.talent.v4.ListJobsRequest(this); + com.google.cloud.talent.v4.ListJobsRequest result = + new com.google.cloud.talent.v4.ListJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageToken_ = pageToken_; @@ -555,38 +601,39 @@ public com.google.cloud.talent.v4.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.ListJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -639,37 +686,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 40: { - jobView_ = input.readEnum(); + break; + } // case 32 + case 40: + { + jobView_ = input.readEnum(); - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,20 +735,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -704,22 +761,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -727,60 +787,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -788,6 +861,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -809,13 +884,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -824,6 +899,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -845,15 +922,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -861,6 +937,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -882,20 +960,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -917,15 +997,18 @@ public Builder setFilter(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -947,16 +1030,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -964,18 +1047,20 @@ public Builder setFilterBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -984,20 +1069,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1005,61 +1091,70 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1068,6 +1163,7 @@ public Builder setPageTokenBytes(
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1075,6 +1171,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1083,16 +1181,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1101,10 +1202,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1112,6 +1214,8 @@ public Builder clearPageSize() { private int jobView_ = 0; /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1119,12 +1223,16 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1132,16 +1240,19 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1149,15 +1260,19 @@ public Builder setJobViewValue(int value) {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = + com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1165,6 +1280,7 @@ public com.google.cloud.talent.v4.JobView getJobView() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @param value The jobView to set. * @return This builder for chaining. */ @@ -1172,12 +1288,14 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1185,17 +1303,18 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1205,12 +1324,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListJobsRequest) private static final com.google.cloud.talent.v4.ListJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListJobsRequest(); } @@ -1219,27 +1338,27 @@ public static com.google.cloud.talent.v4.ListJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1254,6 +1373,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java index 2fbd7a0a0985..75a2e0cba763 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface ListJobsRequestOrBuilder extends +public interface ListJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -53,10 +80,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -78,32 +108,39 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -112,11 +149,14 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -124,10 +164,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -135,6 +178,7 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The jobView. */ com.google.cloud.talent.v4.JobView getJobView(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java similarity index 73% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java index c6f25a6b6b48..954a04f7e2d0 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsResponse} */ -public final class ListJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListJobsResponse) ListJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsResponse.class, com.google.cloud.talent.v4.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4.ListJobsResponse.class, + com.google.cloud.talent.v4.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** + * + * *
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -65,6 +86,8 @@ public java.util.List getJobsList() {
     return jobs_;
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -74,11 +97,12 @@ public java.util.List getJobsList() {
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getJobsOrBuilderList() {
+  public java.util.List getJobsOrBuilderList() {
     return jobs_;
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -92,6 +116,8 @@ public int getJobsCount() {
     return jobs_.size();
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -105,6 +131,8 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
     return jobs_.get(index);
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -114,19 +142,21 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
     return jobs_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -135,29 +165,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -168,12 +198,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -181,19 +214,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -207,6 +247,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -218,8 +259,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobs_.size(); i++) {
       output.writeMessage(1, jobs_.get(i));
     }
@@ -239,15 +279,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -257,21 +295,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListJobsResponse other = (com.google.cloud.talent.v4.ListJobsResponse) obj;
+    com.google.cloud.talent.v4.ListJobsResponse other =
+        (com.google.cloud.talent.v4.ListJobsResponse) obj;
 
-    if (!getJobsList()
-        .equals(other.getJobsList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getJobsList().equals(other.getJobsList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -299,130 +335,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.ListJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * List jobs response.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListJobsResponse) com.google.cloud.talent.v4.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsResponse.class, com.google.cloud.talent.v4.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4.ListJobsResponse.class, + com.google.cloud.talent.v4.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListJobsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override @@ -466,7 +508,8 @@ public com.google.cloud.talent.v4.ListJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListJobsResponse buildPartial() { - com.google.cloud.talent.v4.ListJobsResponse result = new com.google.cloud.talent.v4.ListJobsResponse(this); + com.google.cloud.talent.v4.ListJobsResponse result = + new com.google.cloud.talent.v4.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -491,38 +534,39 @@ public com.google.cloud.talent.v4.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListJobsResponse)other); + return mergeFrom((com.google.cloud.talent.v4.ListJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -549,9 +593,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListJobsResponse other) { jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -590,37 +635,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.Job m = - input.readMessage( - com.google.cloud.talent.v4.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4.Job m = + input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -630,21 +675,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -661,6 +713,8 @@ public java.util.List getJobsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -677,6 +731,8 @@ public int getJobsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -693,6 +749,8 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -701,8 +759,7 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder setJobs(
-        int index, com.google.cloud.talent.v4.Job value) {
+    public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,6 +773,8 @@ public Builder setJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -724,8 +783,7 @@ public Builder setJobs(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder setJobs(
-        int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.set(index, builderForValue.build());
@@ -736,6 +794,8 @@ public Builder setJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -758,6 +818,8 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -766,8 +828,7 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(
-        int index, com.google.cloud.talent.v4.Job value) {
+    public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -781,6 +842,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -789,8 +852,7 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(
-        com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(builderForValue.build());
@@ -801,6 +863,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -809,8 +873,7 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(
-        int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(index, builderForValue.build());
@@ -821,6 +884,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -829,12 +894,10 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addAllJobs(
-        java.lang.Iterable values) {
+    public Builder addAllJobs(java.lang.Iterable values) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_);
         onChanged();
       } else {
         jobsBuilder_.addAllMessages(values);
@@ -842,6 +905,8 @@ public Builder addAllJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -861,6 +926,8 @@ public Builder clearJobs() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -880,6 +947,8 @@ public Builder removeJobs(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -888,11 +957,12 @@ public Builder removeJobs(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) {
       return getJobsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -901,14 +971,16 @@ public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
       if (jobsBuilder_ == null) {
-        return jobs_.get(index);  } else {
+        return jobs_.get(index);
+      } else {
         return jobsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -917,8 +989,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public java.util.List 
-         getJobsOrBuilderList() {
+    public java.util.List
+        getJobsOrBuilderList() {
       if (jobsBuilder_ != null) {
         return jobsBuilder_.getMessageOrBuilderList();
       } else {
@@ -926,6 +998,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -935,10 +1009,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
     public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() {
-      return getJobsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.Job.getDefaultInstance());
+      return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -947,12 +1022,13 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
-        int index) {
-      return getJobsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.Job.getDefaultInstance());
+    public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) {
+      return getJobsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -961,20 +1037,22 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public java.util.List 
-         getJobsBuilderList() {
+    public java.util.List getJobsBuilderList() {
       return getJobsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> 
+            com.google.cloud.talent.v4.Job,
+            com.google.cloud.talent.v4.Job.Builder,
+            com.google.cloud.talent.v4.JobOrBuilder>
         getJobsFieldBuilder() {
       if (jobsBuilder_ == null) {
-        jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>(
-                jobs_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.Job,
+                com.google.cloud.talent.v4.Job.Builder,
+                com.google.cloud.talent.v4.JobOrBuilder>(
+                jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobs_ = null;
       }
       return jobsBuilder_;
@@ -982,18 +1060,20 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1002,20 +1082,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,54 +1104,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1078,36 +1166,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1129,6 +1230,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1148,6 +1251,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1159,7 +1264,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1171,6 +1278,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1190,6 +1299,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1198,11 +1309,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1214,11 +1327,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1227,21 +1343,24 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1251,12 +1370,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListJobsResponse)
   private static final com.google.cloud.talent.v4.ListJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListJobsResponse();
   }
@@ -1265,27 +1384,27 @@ public static com.google.cloud.talent.v4.ListJobsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1300,6 +1419,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
index 0cd79b8ce094..e352eb1e6790 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListJobsResponseOrBuilder extends
+public interface ListJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -16,9 +34,10 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  java.util.List 
-      getJobsList();
+  java.util.List getJobsList();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -29,6 +48,8 @@ public interface ListJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4.Job getJobs(int index);
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -39,6 +60,8 @@ public interface ListJobsResponseOrBuilder extends
    */
   int getJobsCount();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -47,9 +70,10 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  java.util.List 
-      getJobsOrBuilderList();
+  java.util.List getJobsOrBuilderList();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -58,50 +82,62 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
similarity index 66%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
index 8c31d0416296..623be2b632fd 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * List tenants for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsRequest} */ -public final class ListTenantsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTenantsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListTenantsRequest) ListTenantsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTenantsRequest.newBuilder() to construct. private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,45 @@ private ListTenantsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTenantsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsRequest.class, com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4.ListTenantsRequest.class, + com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -115,29 +144,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -148,12 +177,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -162,6 +194,7 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -200,8 +232,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,19 +242,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListTenantsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListTenantsRequest other = (com.google.cloud.talent.v4.ListTenantsRequest) obj; + com.google.cloud.talent.v4.ListTenantsRequest other = + (com.google.cloud.talent.v4.ListTenantsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,130 +275,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ListTenantsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List tenants for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListTenantsRequest) com.google.cloud.talent.v4.ListTenantsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsRequest.class, com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4.ListTenantsRequest.class, + com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListTenantsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override @@ -404,7 +439,8 @@ public com.google.cloud.talent.v4.ListTenantsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListTenantsRequest buildPartial() { - com.google.cloud.talent.v4.ListTenantsRequest result = new com.google.cloud.talent.v4.ListTenantsRequest(this); + com.google.cloud.talent.v4.ListTenantsRequest result = + new com.google.cloud.talent.v4.ListTenantsRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -416,38 +452,39 @@ public com.google.cloud.talent.v4.ListTenantsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListTenantsRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListTenantsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.ListTenantsRequest) other); } else { super.mergeFrom(other); return this; @@ -493,27 +530,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -526,20 +567,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -548,22 +593,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -571,60 +619,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -632,18 +693,20 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -652,20 +715,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -673,67 +737,77 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -741,39 +815,45 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,12 +863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListTenantsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListTenantsRequest) private static final com.google.cloud.talent.v4.ListTenantsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListTenantsRequest(); } @@ -797,27 +877,27 @@ public static com.google.cloud.talent.v4.ListTenantsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTenantsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTenantsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,6 +912,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListTenantsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java index a542bdf48248..b0e0d61fb9aa 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java @@ -1,63 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; -public interface ListTenantsRequestOrBuilder extends +public interface ListTenantsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListTenantsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java similarity index 72% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java index e14a057a9750..ff7558059e92 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The List tenants response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsResponse} */ -public final class ListTenantsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTenantsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListTenantsResponse) ListTenantsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTenantsResponse.newBuilder() to construct. private ListTenantsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTenantsResponse() { tenants_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListTenantsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTenantsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsResponse.class, com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4.ListTenantsResponse.class, + com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); } public static final int TENANTS_FIELD_NUMBER = 1; private java.util.List tenants_; /** + * + * *
    * Tenants for the current client.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTenantsList() { return tenants_; } /** + * + * *
    * Tenants for the current client.
    * 
@@ -70,11 +93,13 @@ public java.util.List getTenantsList() { * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTenantsOrBuilderList() { return tenants_; } /** + * + * *
    * Tenants for the current client.
    * 
@@ -86,6 +111,8 @@ public int getTenantsCount() { return tenants_.size(); } /** + * + * *
    * Tenants for the current client.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { return tenants_.get(index); } /** + * + * *
    * Tenants for the current client.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( - int index) { + public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) { return tenants_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -158,12 +189,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -171,19 +205,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -197,6 +238,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,8 +250,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < tenants_.size(); i++) {
       output.writeMessage(1, tenants_.get(i));
     }
@@ -229,15 +270,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < tenants_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, tenants_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tenants_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,21 +286,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListTenantsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListTenantsResponse other = (com.google.cloud.talent.v4.ListTenantsResponse) obj;
+    com.google.cloud.talent.v4.ListTenantsResponse other =
+        (com.google.cloud.talent.v4.ListTenantsResponse) obj;
 
-    if (!getTenantsList()
-        .equals(other.getTenantsList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getTenantsList().equals(other.getTenantsList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -289,130 +326,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.ListTenantsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The List tenants response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListTenantsResponse) com.google.cloud.talent.v4.ListTenantsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsResponse.class, com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4.ListTenantsResponse.class, + com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListTenantsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override @@ -456,7 +499,8 @@ public com.google.cloud.talent.v4.ListTenantsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListTenantsResponse buildPartial() { - com.google.cloud.talent.v4.ListTenantsResponse result = new com.google.cloud.talent.v4.ListTenantsResponse(this); + com.google.cloud.talent.v4.ListTenantsResponse result = + new com.google.cloud.talent.v4.ListTenantsResponse(this); int from_bitField0_ = bitField0_; if (tenantsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +525,39 @@ public com.google.cloud.talent.v4.ListTenantsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListTenantsResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListTenantsResponse)other); + return mergeFrom((com.google.cloud.talent.v4.ListTenantsResponse) other); } else { super.mergeFrom(other); return this; @@ -539,9 +584,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListTenantsResponse other) { tenantsBuilder_ = null; tenants_ = other.tenants_; bitField0_ = (bitField0_ & ~0x00000001); - tenantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTenantsFieldBuilder() : null; + tenantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTenantsFieldBuilder() + : null; } else { tenantsBuilder_.addAllMessages(other.tenants_); } @@ -580,37 +626,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.Tenant m = - input.readMessage( - com.google.cloud.talent.v4.Tenant.parser(), - extensionRegistry); - if (tenantsBuilder_ == null) { - ensureTenantsIsMutable(); - tenants_.add(m); - } else { - tenantsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4.Tenant m = + input.readMessage( + com.google.cloud.talent.v4.Tenant.parser(), extensionRegistry); + if (tenantsBuilder_ == null) { + ensureTenantsIsMutable(); + tenants_.add(m); + } else { + tenantsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +667,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List tenants_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTenantsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantsBuilder_; + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> + tenantsBuilder_; /** + * + * *
      * Tenants for the current client.
      * 
@@ -649,6 +703,8 @@ public java.util.List getTenantsList() { } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -663,6 +719,8 @@ public int getTenantsCount() { } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -677,14 +735,15 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { } } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder setTenants( - int index, com.google.cloud.talent.v4.Tenant value) { + public Builder setTenants(int index, com.google.cloud.talent.v4.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +757,8 @@ public Builder setTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -716,6 +777,8 @@ public Builder setTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -736,14 +799,15 @@ public Builder addTenants(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder addTenants( - int index, com.google.cloud.talent.v4.Tenant value) { + public Builder addTenants(int index, com.google.cloud.talent.v4.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,14 +821,15 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder addTenants( - com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder addTenants(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); tenants_.add(builderForValue.build()); @@ -775,6 +840,8 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -793,6 +860,8 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -803,8 +872,7 @@ public Builder addAllTenants( java.lang.Iterable values) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tenants_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tenants_); onChanged(); } else { tenantsBuilder_.addAllMessages(values); @@ -812,6 +880,8 @@ public Builder addAllTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -829,6 +899,8 @@ public Builder clearTenants() { return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -846,39 +918,44 @@ public Builder removeTenants(int index) { return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.Tenant.Builder getTenantsBuilder( - int index) { + public com.google.cloud.talent.v4.Tenant.Builder getTenantsBuilder(int index) { return getTenantsFieldBuilder().getBuilder(index); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( - int index) { + public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) { if (tenantsBuilder_ == null) { - return tenants_.get(index); } else { + return tenants_.get(index); + } else { return tenantsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public java.util.List - getTenantsOrBuilderList() { + public java.util.List + getTenantsOrBuilderList() { if (tenantsBuilder_ != null) { return tenantsBuilder_.getMessageOrBuilderList(); } else { @@ -886,6 +963,8 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -893,42 +972,47 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder() { - return getTenantsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.Tenant.getDefaultInstance()); + return getTenantsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4.Tenant.getDefaultInstance()); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder( - int index) { - return getTenantsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.Tenant.getDefaultInstance()); + public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder(int index) { + return getTenantsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.Tenant.getDefaultInstance()); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public java.util.List - getTenantsBuilderList() { + public java.util.List getTenantsBuilderList() { return getTenantsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> getTenantsFieldBuilder() { if (tenantsBuilder_ == null) { - tenantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( - tenants_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tenantsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder>( + tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tenants_ = null; } return tenantsBuilder_; @@ -936,18 +1020,20 @@ public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -956,20 +1042,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -977,54 +1064,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1032,36 +1126,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1083,6 +1190,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1102,6 +1211,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1113,7 +1224,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1125,6 +1238,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1144,6 +1259,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1152,11 +1269,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1168,11 +1287,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1181,21 +1303,24 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1205,12 +1330,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListTenantsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListTenantsResponse)
   private static final com.google.cloud.talent.v4.ListTenantsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListTenantsResponse();
   }
@@ -1219,27 +1344,27 @@ public static com.google.cloud.talent.v4.ListTenantsResponse getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListTenantsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListTenantsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1379,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListTenantsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
index 360d115001e3..0cc6d7270367 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListTenantsResponseOrBuilder extends
+public interface ListTenantsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListTenantsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - java.util.List - getTenantsList(); + java.util.List getTenantsList(); /** + * + * *
    * Tenants for the current client.
    * 
@@ -25,6 +44,8 @@ public interface ListTenantsResponseOrBuilder extends */ com.google.cloud.talent.v4.Tenant getTenants(int index); /** + * + * *
    * Tenants for the current client.
    * 
@@ -33,65 +54,80 @@ public interface ListTenantsResponseOrBuilder extends */ int getTenantsCount(); /** + * + * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - java.util.List - getTenantsOrBuilderList(); + java.util.List getTenantsOrBuilderList(); /** + * + * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( - int index); + com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
similarity index 75%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
index d0fd24c22a0f..05309c61ffa7 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
@@ -1,63 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * A resource that represents a location with full geographic information.
  * 
* * Protobuf type {@code google.cloud.talent.v4.Location} */ -public final class Location extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Location extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Location) LocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Location() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Location.class, com.google.cloud.talent.v4.Location.Builder.class); + com.google.cloud.talent.v4.Location.class, + com.google.cloud.talent.v4.Location.Builder.class); } /** + * + * *
    * An enum which represents the type of a location.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.Location.LocationType} */ - public enum LocationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value if the type isn't specified.
      * 
@@ -66,6 +88,8 @@ public enum LocationType */ LOCATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * A country level location.
      * 
@@ -74,6 +98,8 @@ public enum LocationType */ COUNTRY(1), /** + * + * *
      * A state or equivalent level location.
      * 
@@ -82,6 +108,8 @@ public enum LocationType */ ADMINISTRATIVE_AREA(2), /** + * + * *
      * A county or equivalent level location.
      * 
@@ -90,6 +118,8 @@ public enum LocationType */ SUB_ADMINISTRATIVE_AREA(3), /** + * + * *
      * A city or equivalent level location.
      * 
@@ -98,6 +128,8 @@ public enum LocationType */ LOCALITY(4), /** + * + * *
      * A postal code level location.
      * 
@@ -106,6 +138,8 @@ public enum LocationType */ POSTAL_CODE(5), /** + * + * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -118,6 +152,8 @@ public enum LocationType
      */
     SUB_LOCALITY(6),
     /**
+     *
+     *
      * 
      * A district or equivalent level location.
      * 
@@ -126,6 +162,8 @@ public enum LocationType */ SUB_LOCALITY_1(7), /** + * + * *
      * A smaller district or equivalent level display.
      * 
@@ -134,6 +172,8 @@ public enum LocationType */ SUB_LOCALITY_2(8), /** + * + * *
      * A neighborhood level location.
      * 
@@ -142,6 +182,8 @@ public enum LocationType */ NEIGHBORHOOD(9), /** + * + * *
      * A street address level location.
      * 
@@ -153,6 +195,8 @@ public enum LocationType ; /** + * + * *
      * Default value if the type isn't specified.
      * 
@@ -161,6 +205,8 @@ public enum LocationType */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A country level location.
      * 
@@ -169,6 +215,8 @@ public enum LocationType */ public static final int COUNTRY_VALUE = 1; /** + * + * *
      * A state or equivalent level location.
      * 
@@ -177,6 +225,8 @@ public enum LocationType */ public static final int ADMINISTRATIVE_AREA_VALUE = 2; /** + * + * *
      * A county or equivalent level location.
      * 
@@ -185,6 +235,8 @@ public enum LocationType */ public static final int SUB_ADMINISTRATIVE_AREA_VALUE = 3; /** + * + * *
      * A city or equivalent level location.
      * 
@@ -193,6 +245,8 @@ public enum LocationType */ public static final int LOCALITY_VALUE = 4; /** + * + * *
      * A postal code level location.
      * 
@@ -201,6 +255,8 @@ public enum LocationType */ public static final int POSTAL_CODE_VALUE = 5; /** + * + * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -213,6 +269,8 @@ public enum LocationType
      */
     public static final int SUB_LOCALITY_VALUE = 6;
     /**
+     *
+     *
      * 
      * A district or equivalent level location.
      * 
@@ -221,6 +279,8 @@ public enum LocationType */ public static final int SUB_LOCALITY_1_VALUE = 7; /** + * + * *
      * A smaller district or equivalent level display.
      * 
@@ -229,6 +289,8 @@ public enum LocationType */ public static final int SUB_LOCALITY_2_VALUE = 8; /** + * + * *
      * A neighborhood level location.
      * 
@@ -237,6 +299,8 @@ public enum LocationType */ public static final int NEIGHBORHOOD_VALUE = 9; /** + * + * *
      * A street address level location.
      * 
@@ -245,7 +309,6 @@ public enum LocationType */ public static final int STREET_ADDRESS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -270,57 +333,65 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: return LOCATION_TYPE_UNSPECIFIED; - case 1: return COUNTRY; - case 2: return ADMINISTRATIVE_AREA; - case 3: return SUB_ADMINISTRATIVE_AREA; - case 4: return LOCALITY; - case 5: return POSTAL_CODE; - case 6: return SUB_LOCALITY; - case 7: return SUB_LOCALITY_1; - case 8: return SUB_LOCALITY_2; - case 9: return NEIGHBORHOOD; - case 10: return STREET_ADDRESS; - default: return null; + case 0: + return LOCATION_TYPE_UNSPECIFIED; + case 1: + return COUNTRY; + case 2: + return ADMINISTRATIVE_AREA; + case 3: + return SUB_ADMINISTRATIVE_AREA; + case 4: + return LOCALITY; + case 5: + return POSTAL_CODE; + case 6: + return SUB_LOCALITY; + case 7: + return SUB_LOCALITY_1; + case 8: + return SUB_LOCALITY_2; + case 9: + return NEIGHBORHOOD; + case 10: + return STREET_ADDRESS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LocationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -340,6 +411,8 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_; /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -348,12 +421,16 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -362,17 +439,22 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The locationType. */ - @java.lang.Override public com.google.cloud.talent.v4.Location.LocationType getLocationType() { + @java.lang.Override + public com.google.cloud.talent.v4.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Location.LocationType result = com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); + com.google.cloud.talent.v4.Location.LocationType result = + com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); return result == null ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED : result; } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 2; private com.google.type.PostalAddress postalAddress_; /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -381,6 +463,7 @@ private LocationType(int value) {
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -388,6 +471,8 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -396,13 +481,18 @@ public boolean hasPostalAddress() {
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -420,11 +510,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
   public static final int LAT_LNG_FIELD_NUMBER = 3;
   private com.google.type.LatLng latLng_;
   /**
+   *
+   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -432,11 +525,14 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ @java.lang.Override @@ -444,6 +540,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
@@ -458,6 +556,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int RADIUS_MILES_FIELD_NUMBER = 4; private double radiusMiles_; /** + * + * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -468,6 +568,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ @java.lang.Override @@ -476,6 +577,7 @@ public double getRadiusMiles() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -487,9 +589,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (locationType_ != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (locationType_ + != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, locationType_); } if (postalAddress_ != null) { @@ -510,21 +612,18 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, locationType_); + if (locationType_ + != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostalAddress()); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(radiusMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, radiusMiles_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, radiusMiles_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -534,7 +633,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Location)) { return super.equals(obj); @@ -544,17 +643,14 @@ public boolean equals(final java.lang.Object obj) { if (locationType_ != other.locationType_) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress() - .equals(other.getPostalAddress())) return false; + if (!getPostalAddress().equals(other.getPostalAddress())) return false; } if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng() - .equals(other.getLatLng())) return false; + if (!getLatLng().equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getRadiusMiles()) - != java.lang.Double.doubleToLongBits( - other.getRadiusMiles())) return false; + != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -577,137 +673,144 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + RADIUS_MILES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRadiusMiles())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRadiusMiles())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.Location parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Location parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Location parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.Location parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Location parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Location parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Location parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Location parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource that represents a location with full geographic information.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Location} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Location) com.google.cloud.talent.v4.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Location.class, com.google.cloud.talent.v4.Location.Builder.class); + com.google.cloud.talent.v4.Location.class, + com.google.cloud.talent.v4.Location.Builder.class); } // Construct using com.google.cloud.talent.v4.Location.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -731,9 +834,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override @@ -773,38 +876,39 @@ public com.google.cloud.talent.v4.Location buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Location) { - return mergeFrom((com.google.cloud.talent.v4.Location)other); + return mergeFrom((com.google.cloud.talent.v4.Location) other); } else { super.mergeFrom(other); return this; @@ -851,36 +955,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - locationType_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getPostalAddressFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 33: { - radiusMiles_ = input.readDouble(); - - break; - } // case 33 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + locationType_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 33: + { + radiusMiles_ = input.readDouble(); + + break; + } // case 33 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -893,6 +998,8 @@ public Builder mergeFrom( private int locationType_ = 0; /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -901,12 +1008,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -915,16 +1026,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ public Builder setLocationTypeValue(int value) { - + locationType_ = value; onChanged(); return this; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -933,15 +1047,21 @@ public Builder setLocationTypeValue(int value) {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The locationType. */ @java.lang.Override public com.google.cloud.talent.v4.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Location.LocationType result = com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); - return result == null ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.Location.LocationType result = + com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); + return result == null + ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -950,6 +1070,7 @@ public com.google.cloud.talent.v4.Location.LocationType getLocationType() {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @param value The locationType to set. * @return This builder for chaining. */ @@ -957,12 +1078,14 @@ public Builder setLocationType(com.google.cloud.talent.v4.Location.LocationType if (value == null) { throw new NullPointerException(); } - + locationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -971,10 +1094,11 @@ public Builder setLocationType(com.google.cloud.talent.v4.Location.LocationType
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return This builder for chaining. */ public Builder clearLocationType() { - + locationType_ = 0; onChanged(); return this; @@ -982,8 +1106,13 @@ public Builder clearLocationType() { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + postalAddressBuilder_; /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -992,12 +1121,15 @@ public Builder clearLocationType() {
      * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1006,16 +1138,21 @@ public boolean hasPostalAddress() {
      * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1039,6 +1176,8 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1048,8 +1187,7 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
      *
      * .google.type.PostalAddress postal_address = 2;
      */
-    public Builder setPostalAddress(
-        com.google.type.PostalAddress.Builder builderForValue) {
+    public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) {
       if (postalAddressBuilder_ == null) {
         postalAddress_ = builderForValue.build();
         onChanged();
@@ -1060,6 +1198,8 @@ public Builder setPostalAddress(
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1073,7 +1213,9 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       if (postalAddressBuilder_ == null) {
         if (postalAddress_ != null) {
           postalAddress_ =
-            com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial();
+              com.google.type.PostalAddress.newBuilder(postalAddress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postalAddress_ = value;
         }
@@ -1085,6 +1227,8 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1106,6 +1250,8 @@ public Builder clearPostalAddress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1116,11 +1262,13 @@ public Builder clearPostalAddress() {
      * .google.type.PostalAddress postal_address = 2;
      */
     public com.google.type.PostalAddress.Builder getPostalAddressBuilder() {
-      
+
       onChanged();
       return getPostalAddressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1134,11 +1282,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
       if (postalAddressBuilder_ != null) {
         return postalAddressBuilder_.getMessageOrBuilder();
       } else {
-        return postalAddress_ == null ?
-            com.google.type.PostalAddress.getDefaultInstance() : postalAddress_;
+        return postalAddress_ == null
+            ? com.google.type.PostalAddress.getDefaultInstance()
+            : postalAddress_;
       }
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1149,14 +1300,17 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
      * .google.type.PostalAddress postal_address = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> 
+            com.google.type.PostalAddress,
+            com.google.type.PostalAddress.Builder,
+            com.google.type.PostalAddressOrBuilder>
         getPostalAddressFieldBuilder() {
       if (postalAddressBuilder_ == null) {
-        postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>(
-                getPostalAddress(),
-                getParentForChildren(),
-                isClean());
+        postalAddressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.PostalAddress,
+                com.google.type.PostalAddress.Builder,
+                com.google.type.PostalAddressOrBuilder>(
+                getPostalAddress(), getParentForChildren(), isClean());
         postalAddress_ = null;
       }
       return postalAddressBuilder_;
@@ -1164,24 +1318,31 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
 
     private com.google.type.LatLng latLng_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_;
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        latLngBuilder_;
     /**
+     *
+     *
      * 
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1192,6 +1353,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1212,14 +1375,15 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; */ - public Builder setLatLng( - com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -1230,6 +1394,8 @@ public Builder setLatLng( return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1239,8 +1405,7 @@ public Builder setLatLng( public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = - com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -1252,6 +1417,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1270,6 +1437,8 @@ public Builder clearLatLng() { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1277,11 +1446,13 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 3; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1292,11 +1463,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? - com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1304,21 +1476,23 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getLatLng(), - getParentForChildren(), - isClean()); + latLngBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); latLng_ = null; } return latLngBuilder_; } - private double radiusMiles_ ; + private double radiusMiles_; /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1329,6 +1503,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ @java.lang.Override @@ -1336,6 +1511,8 @@ public double getRadiusMiles() { return radiusMiles_; } /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1346,16 +1523,19 @@ public double getRadiusMiles() {
      * 
* * double radius_miles = 4; + * * @param value The radiusMiles to set. * @return This builder for chaining. */ public Builder setRadiusMiles(double value) { - + radiusMiles_ = value; onChanged(); return this; } /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1366,17 +1546,18 @@ public Builder setRadiusMiles(double value) {
      * 
* * double radius_miles = 4; + * * @return This builder for chaining. */ public Builder clearRadiusMiles() { - + radiusMiles_ = 0D; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1386,12 +1567,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Location) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Location) private static final com.google.cloud.talent.v4.Location DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Location(); } @@ -1400,27 +1581,27 @@ public static com.google.cloud.talent.v4.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1435,6 +1616,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java index ad875e7fabfc..d78bc9fe97e2 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; /** + * + * *
  * Geographic region of the search.
  * 
* * Protobuf type {@code google.cloud.talent.v4.LocationFilter} */ -public final class LocationFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.LocationFilter) LocationFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LocationFilter.newBuilder() to construct. private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LocationFilter() { address_ = ""; regionCode_ = ""; @@ -27,39 +45,43 @@ private LocationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LocationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.LocationFilter.class, com.google.cloud.talent.v4.LocationFilter.Builder.class); + com.google.cloud.talent.v4.LocationFilter.class, + com.google.cloud.talent.v4.LocationFilter.Builder.class); } /** + * + * *
    * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.LocationFilter.TelecommutePreference} */ - public enum TelecommutePreference - implements com.google.protobuf.ProtocolMessageEnum { + public enum TelecommutePreference implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -68,6 +90,8 @@ public enum TelecommutePreference */ TELECOMMUTE_PREFERENCE_UNSPECIFIED(0), /** + * + * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -78,6 +102,8 @@ public enum TelecommutePreference
     @java.lang.Deprecated
     TELECOMMUTE_EXCLUDED(1),
     /**
+     *
+     *
      * 
      * Allow telecommute jobs.
      * 
@@ -86,6 +112,8 @@ public enum TelecommutePreference */ TELECOMMUTE_ALLOWED(2), /** + * + * *
      * Exclude telecommute jobs.
      * 
@@ -97,6 +125,8 @@ public enum TelecommutePreference ; /** + * + * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -105,6 +135,8 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_PREFERENCE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -114,6 +146,8 @@ public enum TelecommutePreference
      */
     @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Allow telecommute jobs.
      * 
@@ -122,6 +156,8 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; /** + * + * *
      * Exclude telecommute jobs.
      * 
@@ -130,7 +166,6 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -155,11 +190,16 @@ public static TelecommutePreference valueOf(int value) { */ public static TelecommutePreference forNumber(int value) { switch (value) { - case 0: return TELECOMMUTE_PREFERENCE_UNSPECIFIED; - case 1: return TELECOMMUTE_EXCLUDED; - case 2: return TELECOMMUTE_ALLOWED; - case 3: return TELECOMMUTE_JOBS_EXCLUDED; - default: return null; + case 0: + return TELECOMMUTE_PREFERENCE_UNSPECIFIED; + case 1: + return TELECOMMUTE_EXCLUDED; + case 2: + return TELECOMMUTE_ALLOWED; + case 3: + return TELECOMMUTE_JOBS_EXCLUDED; + default: + return null; } } @@ -167,28 +207,28 @@ public static TelecommutePreference forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TelecommutePreference> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TelecommutePreference findValueByNumber(int number) { - return TelecommutePreference.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TelecommutePreference findValueByNumber(int number) { + return TelecommutePreference.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.LocationFilter.getDescriptor().getEnumTypes().get(0); } @@ -197,8 +237,7 @@ public TelecommutePreference findValueByNumber(int number) { public static TelecommutePreference valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -218,11 +257,14 @@ private TelecommutePreference(int value) { public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The address. */ @java.lang.Override @@ -231,29 +273,29 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -264,6 +306,8 @@ public java.lang.String getAddress() { public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -280,6 +324,7 @@ public java.lang.String getAddress() {
    * 
* * string region_code = 2; + * * @return The regionCode. */ @java.lang.Override @@ -288,14 +333,15 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -312,16 +358,15 @@ public java.lang.String getRegionCode() {
    * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -332,12 +377,15 @@ public java.lang.String getRegionCode() { public static final int LAT_LNG_FIELD_NUMBER = 3; private com.google.type.LatLng latLng_; /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -345,12 +393,15 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ @java.lang.Override @@ -358,6 +409,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -373,6 +426,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
   public static final int DISTANCE_IN_MILES_FIELD_NUMBER = 4;
   private double distanceInMiles_;
   /**
+   *
+   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -380,6 +435,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ @java.lang.Override @@ -390,6 +446,8 @@ public double getDistanceInMiles() { public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER = 5; private int telecommutePreference_; /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -411,13 +469,18 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override public int getTelecommutePreferenceValue() { + @java.lang.Override + public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -439,16 +502,25 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ - @java.lang.Override public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference() { + @java.lang.Override + public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference + getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); - return result == null ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf( + telecommutePreference_); + return result == null + ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -460,8 +532,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -474,7 +545,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { output.writeDouble(4, distanceInMiles_); } - if (telecommutePreference_ != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { + if (telecommutePreference_ + != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference + .TELECOMMUTE_PREFERENCE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, telecommutePreference_); } getUnknownFields().writeTo(output); @@ -493,16 +567,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, distanceInMiles_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, distanceInMiles_); } - if (telecommutePreference_ != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, telecommutePreference_); + if (telecommutePreference_ + != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference + .TELECOMMUTE_PREFERENCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, telecommutePreference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -512,25 +586,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.LocationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4.LocationFilter other = (com.google.cloud.talent.v4.LocationFilter) obj; + com.google.cloud.talent.v4.LocationFilter other = + (com.google.cloud.talent.v4.LocationFilter) obj; - if (!getAddress() - .equals(other.getAddress())) return false; - if (!getRegionCode() - .equals(other.getRegionCode())) return false; + if (!getAddress().equals(other.getAddress())) return false; + if (!getRegionCode().equals(other.getRegionCode())) return false; if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng() - .equals(other.getLatLng())) return false; + if (!getLatLng().equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - != java.lang.Double.doubleToLongBits( - other.getDistanceInMiles())) return false; + != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; if (telecommutePreference_ != other.telecommutePreference_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -552,8 +623,10 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + DISTANCE_IN_MILES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistanceInMiles())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistanceInMiles())); hash = (37 * hash) + TELECOMMUTE_PREFERENCE_FIELD_NUMBER; hash = (53 * hash) + telecommutePreference_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -561,130 +634,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.LocationFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.LocationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Geographic region of the search.
    * 
* * Protobuf type {@code google.cloud.talent.v4.LocationFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.LocationFilter) com.google.cloud.talent.v4.LocationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.LocationFilter.class, com.google.cloud.talent.v4.LocationFilter.Builder.class); + com.google.cloud.talent.v4.LocationFilter.class, + com.google.cloud.talent.v4.LocationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.LocationFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -706,9 +785,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override @@ -727,7 +806,8 @@ public com.google.cloud.talent.v4.LocationFilter build() { @java.lang.Override public com.google.cloud.talent.v4.LocationFilter buildPartial() { - com.google.cloud.talent.v4.LocationFilter result = new com.google.cloud.talent.v4.LocationFilter(this); + com.google.cloud.talent.v4.LocationFilter result = + new com.google.cloud.talent.v4.LocationFilter(this); result.address_ = address_; result.regionCode_ = regionCode_; if (latLngBuilder_ == null) { @@ -745,38 +825,39 @@ public com.google.cloud.talent.v4.LocationFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.LocationFilter) { - return mergeFrom((com.google.cloud.talent.v4.LocationFilter)other); + return mergeFrom((com.google.cloud.talent.v4.LocationFilter) other); } else { super.mergeFrom(other); return this; @@ -828,39 +909,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - address_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 33: { - distanceInMiles_ = input.readDouble(); - - break; - } // case 33 - case 40: { - telecommutePreference_ = input.readEnum(); - - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + address_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + regionCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 33: + { + distanceInMiles_ = input.readDouble(); + + break; + } // case 33 + case 40: + { + telecommutePreference_ = input.readEnum(); + + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -873,18 +958,20 @@ public Builder mergeFrom( private java.lang.Object address_ = ""; /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -893,20 +980,21 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return The bytes for address. */ - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -914,54 +1002,61 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress( - java.lang.String value) { + public Builder setAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + address_ = value; onChanged(); return this; } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return This builder for chaining. */ public Builder clearAddress() { - + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + address_ = value; onChanged(); return this; @@ -969,6 +1064,8 @@ public Builder setAddressBytes( private java.lang.Object regionCode_ = ""; /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -985,13 +1082,13 @@ public Builder setAddressBytes(
      * 
* * string region_code = 2; + * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1000,6 +1097,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1016,15 +1115,14 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1032,6 +1130,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1048,20 +1148,22 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode( - java.lang.String value) { + public Builder setRegionCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1078,15 +1180,18 @@ public Builder setRegionCode(
      * 
* * string region_code = 2; + * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1103,16 +1208,16 @@ public Builder clearRegionCode() {
      * 
* * string region_code = 2; + * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; @@ -1120,26 +1225,33 @@ public Builder setRegionCodeBytes( private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + latLngBuilder_; /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1150,6 +1262,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1171,6 +1285,8 @@ public Builder setLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1178,8 +1294,7 @@ public Builder setLatLng(com.google.type.LatLng value) {
      *
      * .google.type.LatLng lat_lng = 3;
      */
-    public Builder setLatLng(
-        com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
       if (latLngBuilder_ == null) {
         latLng_ = builderForValue.build();
         onChanged();
@@ -1190,6 +1305,8 @@ public Builder setLatLng(
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1200,8 +1317,7 @@ public Builder setLatLng(
     public Builder mergeLatLng(com.google.type.LatLng value) {
       if (latLngBuilder_ == null) {
         if (latLng_ != null) {
-          latLng_ =
-            com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
+          latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
         } else {
           latLng_ = value;
         }
@@ -1213,6 +1329,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1232,6 +1350,8 @@ public Builder clearLatLng() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1240,11 +1360,13 @@ public Builder clearLatLng() {
      * .google.type.LatLng lat_lng = 3;
      */
     public com.google.type.LatLng.Builder getLatLngBuilder() {
-      
+
       onChanged();
       return getLatLngFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1256,11 +1378,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
       if (latLngBuilder_ != null) {
         return latLngBuilder_.getMessageOrBuilder();
       } else {
-        return latLng_ == null ?
-            com.google.type.LatLng.getDefaultInstance() : latLng_;
+        return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_;
       }
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1269,21 +1392,23 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * .google.type.LatLng lat_lng = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
         getLatLngFieldBuilder() {
       if (latLngBuilder_ == null) {
-        latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
-                getLatLng(),
-                getParentForChildren(),
-                isClean());
+        latLngBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.LatLng,
+                com.google.type.LatLng.Builder,
+                com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean());
         latLng_ = null;
       }
       return latLngBuilder_;
     }
 
-    private double distanceInMiles_ ;
+    private double distanceInMiles_;
     /**
+     *
+     *
      * 
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1291,6 +1416,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ @java.lang.Override @@ -1298,6 +1424,8 @@ public double getDistanceInMiles() { return distanceInMiles_; } /** + * + * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1305,16 +1433,19 @@ public double getDistanceInMiles() {
      * 
* * double distance_in_miles = 4; + * * @param value The distanceInMiles to set. * @return This builder for chaining. */ public Builder setDistanceInMiles(double value) { - + distanceInMiles_ = value; onChanged(); return this; } /** + * + * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1322,10 +1453,11 @@ public Builder setDistanceInMiles(double value) {
      * 
* * double distance_in_miles = 4; + * * @return This builder for chaining. */ public Builder clearDistanceInMiles() { - + distanceInMiles_ = 0D; onChanged(); return this; @@ -1333,6 +1465,8 @@ public Builder clearDistanceInMiles() { private int telecommutePreference_ = 0; /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1354,13 +1488,19 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override public int getTelecommutePreferenceValue() { + @java.lang.Override + public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1382,17 +1522,22 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @param value The enum numeric value on the wire for telecommutePreference to set. * @return This builder for chaining. */ public Builder setTelecommutePreferenceValue(int value) { - + telecommutePreference_ = value; onChanged(); return this; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1414,16 +1559,26 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ @java.lang.Override - public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference() { + public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference + getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); - return result == null ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf( + telecommutePreference_); + return result == null + ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED + : result; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1445,20 +1600,26 @@ public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTeleco
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @param value The telecommutePreference to set. * @return This builder for chaining. */ - public Builder setTelecommutePreference(com.google.cloud.talent.v4.LocationFilter.TelecommutePreference value) { + public Builder setTelecommutePreference( + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference value) { if (value == null) { throw new NullPointerException(); } - + telecommutePreference_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1480,18 +1641,21 @@ public Builder setTelecommutePreference(com.google.cloud.talent.v4.LocationFilte
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return This builder for chaining. */ public Builder clearTelecommutePreference() { - + telecommutePreference_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1501,12 +1665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.LocationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.LocationFilter) private static final com.google.cloud.talent.v4.LocationFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.LocationFilter(); } @@ -1515,27 +1679,27 @@ public static com.google.cloud.talent.v4.LocationFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1550,6 +1714,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.LocationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java similarity index 88% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java index 185f5e7508dd..4d0548ba5596 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface LocationFilterOrBuilder extends +public interface LocationFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.LocationFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The address. */ java.lang.String getAddress(); /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The bytes for address. */ - com.google.protobuf.ByteString - getAddressBytes(); + com.google.protobuf.ByteString getAddressBytes(); /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -44,10 +67,13 @@ public interface LocationFilterOrBuilder extends
    * 
* * string region_code = 2; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -64,32 +90,40 @@ public interface LocationFilterOrBuilder extends
    * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -100,6 +134,8 @@ public interface LocationFilterOrBuilder extends
   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
 
   /**
+   *
+   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -107,11 +143,14 @@ public interface LocationFilterOrBuilder extends
    * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ double getDistanceInMiles(); /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -133,11 +172,15 @@ public interface LocationFilterOrBuilder extends
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ int getTelecommutePreferenceValue(); /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -159,7 +202,9 @@ public interface LocationFilterOrBuilder extends
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java similarity index 83% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java index 7047998b8482..50d378a0937a 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface LocationOrBuilder extends +public interface LocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Location) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -16,10 +34,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -28,11 +49,14 @@ public interface LocationOrBuilder extends
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The locationType. */ com.google.cloud.talent.v4.Location.LocationType getLocationType(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -41,10 +65,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -53,10 +80,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -69,24 +99,32 @@ public interface LocationOrBuilder extends
   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
 
   /**
+   *
+   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
@@ -96,6 +134,8 @@ public interface LocationOrBuilder extends com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** + * + * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -106,6 +146,7 @@ public interface LocationOrBuilder extends
    * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ double getRadiusMiles(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java index 015925caed96..fc2560165de0 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * An enum that represents the job posting region. In most cases, job postings
  * don't need to specify a region. If a region is given, jobs are
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.PostingRegion}
  */
-public enum PostingRegion
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
@@ -24,6 +42,8 @@ public enum PostingRegion
    */
   POSTING_REGION_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
@@ -39,6 +59,8 @@ public enum PostingRegion
    */
   ADMINISTRATIVE_AREA(1),
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
@@ -50,6 +72,8 @@ public enum PostingRegion
    */
   NATION(2),
   /**
+   *
+   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -63,6 +87,8 @@ public enum PostingRegion
   ;
 
   /**
+   *
+   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
@@ -72,6 +98,8 @@ public enum PostingRegion
    */
   public static final int POSTING_REGION_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
@@ -87,6 +115,8 @@ public enum PostingRegion
    */
   public static final int ADMINISTRATIVE_AREA_VALUE = 1;
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
@@ -98,6 +128,8 @@ public enum PostingRegion
    */
   public static final int NATION_VALUE = 2;
   /**
+   *
+   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -108,7 +140,6 @@ public enum PostingRegion
    */
   public static final int TELECOMMUTE_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -133,50 +164,51 @@ public static PostingRegion valueOf(int value) {
    */
   public static PostingRegion forNumber(int value) {
     switch (value) {
-      case 0: return POSTING_REGION_UNSPECIFIED;
-      case 1: return ADMINISTRATIVE_AREA;
-      case 2: return NATION;
-      case 3: return TELECOMMUTE;
-      default: return null;
+      case 0:
+        return POSTING_REGION_UNSPECIFIED;
+      case 1:
+        return ADMINISTRATIVE_AREA;
+      case 2:
+        return NATION;
+      case 3:
+        return TELECOMMUTE;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      PostingRegion> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PostingRegion findValueByNumber(int number) {
-            return PostingRegion.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public PostingRegion findValueByNumber(int number) {
+          return PostingRegion.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(6);
   }
 
   private static final PostingRegion[] VALUES = values();
 
-  public static PostingRegion valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PostingRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -192,4 +224,3 @@ private PostingRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.PostingRegion)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
similarity index 78%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
index c00fbaa71b27..4b85c24956c6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Meta information related to the job searcher or entity
  * conducting the job search. This information is used to improve the
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.RequestMetadata}
  */
-public final class RequestMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.RequestMetadata)
     RequestMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RequestMetadata.newBuilder() to construct.
   private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RequestMetadata() {
     domain_ = "";
     sessionId_ = "";
@@ -29,32 +47,35 @@ private RequestMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.RequestMetadata.class, com.google.cloud.talent.v4.RequestMetadata.Builder.class);
+            com.google.cloud.talent.v4.RequestMetadata.class,
+            com.google.cloud.talent.v4.RequestMetadata.Builder.class);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 1;
   private volatile java.lang.Object domain_;
   /**
+   *
+   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -70,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * string domain = 1; + * * @return The domain. */ @java.lang.Override @@ -78,14 +100,15 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -101,16 +124,15 @@ public java.lang.String getDomain() {
    * 
* * string domain = 1; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -121,6 +143,8 @@ public java.lang.String getDomain() { public static final int SESSION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sessionId_; /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -134,6 +158,7 @@ public java.lang.String getDomain() {
    * 
* * string session_id = 2; + * * @return The sessionId. */ @java.lang.Override @@ -142,14 +167,15 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -163,16 +189,15 @@ public java.lang.String getSessionId() {
    * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -183,6 +208,8 @@ public java.lang.String getSessionId() { public static final int USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object userId_; /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -196,6 +223,7 @@ public java.lang.String getSessionId() {
    * 
* * string user_id = 3; + * * @return The userId. */ @java.lang.Override @@ -204,14 +232,15 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -225,16 +254,15 @@ public java.lang.String getUserId() {
    * 
* * string user_id = 3; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -245,6 +273,8 @@ public java.lang.String getUserId() { public static final int ALLOW_MISSING_IDS_FIELD_NUMBER = 4; private boolean allowMissingIds_; /** + * + * *
    * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -253,6 +283,7 @@ public java.lang.String getUserId() {
    * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ @java.lang.Override @@ -263,12 +294,15 @@ public boolean getAllowMissingIds() { public static final int DEVICE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.DeviceInfo deviceInfo_; /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ @java.lang.Override @@ -276,19 +310,26 @@ public boolean hasDeviceInfo() { return deviceInfo_ != null; } /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo getDeviceInfo() { - return deviceInfo_ == null ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_; + return deviceInfo_ == null + ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() + : deviceInfo_; } /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
@@ -302,6 +343,7 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +355,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
     }
@@ -349,12 +390,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_);
     }
     if (allowMissingIds_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, allowMissingIds_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissingIds_);
     }
     if (deviceInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getDeviceInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeviceInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -364,25 +403,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.RequestMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.RequestMetadata other = (com.google.cloud.talent.v4.RequestMetadata) obj;
+    com.google.cloud.talent.v4.RequestMetadata other =
+        (com.google.cloud.talent.v4.RequestMetadata) obj;
 
-    if (!getDomain()
-        .equals(other.getDomain())) return false;
-    if (!getSessionId()
-        .equals(other.getSessionId())) return false;
-    if (!getUserId()
-        .equals(other.getUserId())) return false;
-    if (getAllowMissingIds()
-        != other.getAllowMissingIds()) return false;
+    if (!getDomain().equals(other.getDomain())) return false;
+    if (!getSessionId().equals(other.getSessionId())) return false;
+    if (!getUserId().equals(other.getUserId())) return false;
+    if (getAllowMissingIds() != other.getAllowMissingIds()) return false;
     if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
     if (hasDeviceInfo()) {
-      if (!getDeviceInfo()
-          .equals(other.getDeviceInfo())) return false;
+      if (!getDeviceInfo().equals(other.getDeviceInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -402,8 +437,7 @@ public int hashCode() {
     hash = (37 * hash) + USER_ID_FIELD_NUMBER;
     hash = (53 * hash) + getUserId().hashCode();
     hash = (37 * hash) + ALLOW_MISSING_IDS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowMissingIds());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissingIds());
     if (hasDeviceInfo()) {
       hash = (37 * hash) + DEVICE_INFO_FIELD_NUMBER;
       hash = (53 * hash) + getDeviceInfo().hashCode();
@@ -413,97 +447,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.RequestMetadata parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.RequestMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Meta information related to the job searcher or entity
    * conducting the job search. This information is used to improve the
@@ -512,33 +553,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.RequestMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.RequestMetadata)
       com.google.cloud.talent.v4.RequestMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.RequestMetadata.class, com.google.cloud.talent.v4.RequestMetadata.Builder.class);
+              com.google.cloud.talent.v4.RequestMetadata.class,
+              com.google.cloud.talent.v4.RequestMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.RequestMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,9 +600,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -581,7 +621,8 @@ public com.google.cloud.talent.v4.RequestMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.RequestMetadata buildPartial() {
-      com.google.cloud.talent.v4.RequestMetadata result = new com.google.cloud.talent.v4.RequestMetadata(this);
+      com.google.cloud.talent.v4.RequestMetadata result =
+          new com.google.cloud.talent.v4.RequestMetadata(this);
       result.domain_ = domain_;
       result.sessionId_ = sessionId_;
       result.userId_ = userId_;
@@ -599,38 +640,39 @@ public com.google.cloud.talent.v4.RequestMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.RequestMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4.RequestMetadata)other);
+        return mergeFrom((com.google.cloud.talent.v4.RequestMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -683,39 +725,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              domain_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                domain_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              sessionId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                sessionId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              userId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                userId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              allowMissingIds_ = input.readBool();
+                break;
+              } // case 26
+            case 32:
+              {
+                allowMissingIds_ = input.readBool();
 
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getDeviceInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getDeviceInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -728,6 +774,8 @@ public Builder mergeFrom(
 
     private java.lang.Object domain_ = "";
     /**
+     *
+     *
      * 
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -743,13 +791,13 @@ public Builder mergeFrom(
      * 
* * string domain = 1; + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -758,6 +806,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -773,15 +823,14 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -789,6 +838,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -804,20 +855,22 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -833,15 +886,18 @@ public Builder setDomain(
      * 
* * string domain = 1; + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -857,16 +913,16 @@ public Builder clearDomain() {
      * 
* * string domain = 1; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -874,6 +930,8 @@ public Builder setDomainBytes( private java.lang.Object sessionId_ = ""; /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -887,13 +945,13 @@ public Builder setDomainBytes(
      * 
* * string session_id = 2; + * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -902,6 +960,8 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -915,15 +975,14 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -931,6 +990,8 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -944,20 +1005,22 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; + * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId( - java.lang.String value) { + public Builder setSessionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sessionId_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -971,15 +1034,18 @@ public Builder setSessionId(
      * 
* * string session_id = 2; + * * @return This builder for chaining. */ public Builder clearSessionId() { - + sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -993,16 +1059,16 @@ public Builder clearSessionId() {
      * 
* * string session_id = 2; + * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionId_ = value; onChanged(); return this; @@ -1010,6 +1076,8 @@ public Builder setSessionIdBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1023,13 +1091,13 @@ public Builder setSessionIdBytes(
      * 
* * string user_id = 3; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -1038,6 +1106,8 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1051,15 +1121,14 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -1067,6 +1136,8 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1080,20 +1151,22 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { + public Builder setUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userId_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1107,15 +1180,18 @@ public Builder setUserId(
      * 
* * string user_id = 3; + * * @return This builder for chaining. */ public Builder clearUserId() { - + userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1129,23 +1205,25 @@ public Builder clearUserId() {
      * 
* * string user_id = 3; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; onChanged(); return this; } - private boolean allowMissingIds_ ; + private boolean allowMissingIds_; /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1154,6 +1232,7 @@ public Builder setUserIdBytes(
      * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ @java.lang.Override @@ -1161,6 +1240,8 @@ public boolean getAllowMissingIds() { return allowMissingIds_; } /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1169,16 +1250,19 @@ public boolean getAllowMissingIds() {
      * 
* * bool allow_missing_ids = 4; + * * @param value The allowMissingIds to set. * @return This builder for chaining. */ public Builder setAllowMissingIds(boolean value) { - + allowMissingIds_ = value; onChanged(); return this; } /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1187,10 +1271,11 @@ public Builder setAllowMissingIds(boolean value) {
      * 
* * bool allow_missing_ids = 4; + * * @return This builder for chaining. */ public Builder clearAllowMissingIds() { - + allowMissingIds_ = false; onChanged(); return this; @@ -1198,36 +1283,49 @@ public Builder clearAllowMissingIds() { private com.google.cloud.talent.v4.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder> deviceInfoBuilder_; + com.google.cloud.talent.v4.DeviceInfo, + com.google.cloud.talent.v4.DeviceInfo.Builder, + com.google.cloud.talent.v4.DeviceInfoOrBuilder> + deviceInfoBuilder_; /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ public boolean hasDeviceInfo() { return deviceInfoBuilder_ != null || deviceInfo_ != null; } /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ public com.google.cloud.talent.v4.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { - return deviceInfo_ == null ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_; + return deviceInfo_ == null + ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() + : deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1249,6 +1347,8 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1256,8 +1356,7 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
      *
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
-    public Builder setDeviceInfo(
-        com.google.cloud.talent.v4.DeviceInfo.Builder builderForValue) {
+    public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo.Builder builderForValue) {
       if (deviceInfoBuilder_ == null) {
         deviceInfo_ = builderForValue.build();
         onChanged();
@@ -1268,6 +1367,8 @@ public Builder setDeviceInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1279,7 +1380,9 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       if (deviceInfoBuilder_ == null) {
         if (deviceInfo_ != null) {
           deviceInfo_ =
-            com.google.cloud.talent.v4.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.DeviceInfo.newBuilder(deviceInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           deviceInfo_ = value;
         }
@@ -1291,6 +1394,8 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1310,6 +1415,8 @@ public Builder clearDeviceInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1318,11 +1425,13 @@ public Builder clearDeviceInfo() {
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
     public com.google.cloud.talent.v4.DeviceInfo.Builder getDeviceInfoBuilder() {
-      
+
       onChanged();
       return getDeviceInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1334,11 +1443,14 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
       if (deviceInfoBuilder_ != null) {
         return deviceInfoBuilder_.getMessageOrBuilder();
       } else {
-        return deviceInfo_ == null ?
-            com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_;
+        return deviceInfo_ == null
+            ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance()
+            : deviceInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1347,21 +1459,24 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder> 
+            com.google.cloud.talent.v4.DeviceInfo,
+            com.google.cloud.talent.v4.DeviceInfo.Builder,
+            com.google.cloud.talent.v4.DeviceInfoOrBuilder>
         getDeviceInfoFieldBuilder() {
       if (deviceInfoBuilder_ == null) {
-        deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder>(
-                getDeviceInfo(),
-                getParentForChildren(),
-                isClean());
+        deviceInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.DeviceInfo,
+                com.google.cloud.talent.v4.DeviceInfo.Builder,
+                com.google.cloud.talent.v4.DeviceInfoOrBuilder>(
+                getDeviceInfo(), getParentForChildren(), isClean());
         deviceInfo_ = null;
       }
       return deviceInfoBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1371,12 +1486,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.RequestMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.RequestMetadata)
   private static final com.google.cloud.talent.v4.RequestMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.RequestMetadata();
   }
@@ -1385,27 +1500,27 @@ public static com.google.cloud.talent.v4.RequestMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RequestMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RequestMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1420,6 +1535,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.RequestMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
similarity index 86%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
index 2759d8afffa4..47d1940f75b4 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
-public interface RequestMetadataOrBuilder extends
+public interface RequestMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.RequestMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -23,10 +41,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string domain = 1; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -42,12 +63,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string domain = 1; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -61,10 +84,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string session_id = 2; + * * @return The sessionId. */ java.lang.String getSessionId(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -78,12 +104,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString - getSessionIdBytes(); + com.google.protobuf.ByteString getSessionIdBytes(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -97,10 +125,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string user_id = 3; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -114,12 +145,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string user_id = 3; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -128,31 +161,40 @@ public interface RequestMetadataOrBuilder extends
    * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ boolean getAllowMissingIds(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ boolean hasDeviceInfo(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ com.google.cloud.talent.v4.DeviceInfo getDeviceInfo(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
similarity index 65%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
index 7490544ac27a..358f9d27d96e 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
@@ -1,62 +1,84 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Additional information returned to client, such as debugging information.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ResponseMetadata} */ -public final class ResponseMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ResponseMetadata) ResponseMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResponseMetadata.newBuilder() to construct. private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResponseMetadata() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResponseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ResponseMetadata.class, com.google.cloud.talent.v4.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4.ResponseMetadata.class, + com.google.cloud.talent.v4.ResponseMetadata.Builder.class); } public static final int REQUEST_ID_FIELD_NUMBER = 1; private volatile java.lang.Object requestId_; /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The requestId. */ @java.lang.Override @@ -65,30 +87,30 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -97,6 +119,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -133,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ResponseMetadata)) { return super.equals(obj); } - com.google.cloud.talent.v4.ResponseMetadata other = (com.google.cloud.talent.v4.ResponseMetadata) obj; + com.google.cloud.talent.v4.ResponseMetadata other = + (com.google.cloud.talent.v4.ResponseMetadata) obj; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,130 +182,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ResponseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Additional information returned to client, such as debugging information.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ResponseMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ResponseMetadata) com.google.cloud.talent.v4.ResponseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ResponseMetadata.class, com.google.cloud.talent.v4.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4.ResponseMetadata.class, + com.google.cloud.talent.v4.ResponseMetadata.Builder.class); } // Construct using com.google.cloud.talent.v4.ResponseMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override @@ -314,7 +342,8 @@ public com.google.cloud.talent.v4.ResponseMetadata build() { @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata buildPartial() { - com.google.cloud.talent.v4.ResponseMetadata result = new com.google.cloud.talent.v4.ResponseMetadata(this); + com.google.cloud.talent.v4.ResponseMetadata result = + new com.google.cloud.talent.v4.ResponseMetadata(this); result.requestId_ = requestId_; onBuilt(); return result; @@ -324,38 +353,39 @@ public com.google.cloud.talent.v4.ResponseMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ResponseMetadata) { - return mergeFrom((com.google.cloud.talent.v4.ResponseMetadata)other); + return mergeFrom((com.google.cloud.talent.v4.ResponseMetadata) other); } else { super.mergeFrom(other); return this; @@ -394,17 +424,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +449,21 @@ public Builder mergeFrom( private java.lang.Object requestId_ = ""; /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -438,21 +472,22 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -460,64 +495,71 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +569,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ResponseMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ResponseMetadata) private static final com.google.cloud.talent.v4.ResponseMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ResponseMetadata(); } @@ -541,27 +583,27 @@ public static com.google.cloud.talent.v4.ResponseMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,6 +618,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ResponseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java new file mode 100644 index 000000000000..b18a8fe53259 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/common.proto + +package com.google.cloud.talent.v4; + +public interface ResponseMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ResponseMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A unique id associated with this call.
+   * This id is logged for tracking purposes.
+   * 
+ * + * string request_id = 1; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * A unique id associated with this call.
+   * This id is logged for tracking purposes.
+   * 
+ * + * string request_id = 1; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java similarity index 86% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java index cf4887acf734..52cf17728980 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The Request body of the `SearchJobs` call.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest} */ -public final class SearchJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsRequest) SearchJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchJobsRequest.newBuilder() to construct. private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; @@ -32,30 +50,33 @@ private SearchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.class, com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.class, + com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); } /** + * + * *
    * A string-represented enumeration of the job search mode. The service
    * operate differently for different modes of service.
@@ -63,9 +84,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.SearchMode}
    */
-  public enum SearchMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -75,6 +97,8 @@ public enum SearchMode
      */
     SEARCH_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -84,6 +108,8 @@ public enum SearchMode
      */
     JOB_SEARCH(1),
     /**
+     *
+     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -99,6 +125,8 @@ public enum SearchMode
     ;
 
     /**
+     *
+     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -108,6 +136,8 @@ public enum SearchMode
      */
     public static final int SEARCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -117,6 +147,8 @@ public enum SearchMode
      */
     public static final int JOB_SEARCH_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -129,7 +161,6 @@ public enum SearchMode
      */
     public static final int FEATURED_JOB_SEARCH_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -154,49 +185,49 @@ public static SearchMode valueOf(int value) {
      */
     public static SearchMode forNumber(int value) {
       switch (value) {
-        case 0: return SEARCH_MODE_UNSPECIFIED;
-        case 1: return JOB_SEARCH;
-        case 2: return FEATURED_JOB_SEARCH;
-        default: return null;
+        case 0:
+          return SEARCH_MODE_UNSPECIFIED;
+        case 1:
+          return JOB_SEARCH;
+        case 2:
+          return FEATURED_JOB_SEARCH;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        SearchMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public SearchMode findValueByNumber(int number) {
-              return SearchMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public SearchMode findValueByNumber(int number) {
+            return SearchMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final SearchMode[] VALUES = values();
 
-    public static SearchMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -214,6 +245,8 @@ private SearchMode(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -229,9 +262,10 @@ private SearchMode(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel}
    */
-  public enum DiversificationLevel
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The diversification level isn't specified.
      * 
@@ -240,6 +274,8 @@ public enum DiversificationLevel */ DIVERSIFICATION_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -250,6 +286,8 @@ public enum DiversificationLevel
      */
     DISABLED(1),
     /**
+     *
+     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -260,6 +298,8 @@ public enum DiversificationLevel
      */
     SIMPLE(2),
     /**
+     *
+     *
      * 
      * Only one job from the same company will be shown at once, other jobs
      * under same company are pushed to the end of the last page of search
@@ -270,6 +310,8 @@ public enum DiversificationLevel
      */
     ONE_PER_COMPANY(3),
     /**
+     *
+     *
      * 
      * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
      * same company to be shown at once, the other jobs under same company are
@@ -280,6 +322,8 @@ public enum DiversificationLevel
      */
     TWO_PER_COMPANY(4),
     /**
+     *
+     *
      * 
      * The result list is ordered such that somewhat similar results are pushed
      * to the end of the last page of the search results. This option is
@@ -293,6 +337,8 @@ public enum DiversificationLevel
     ;
 
     /**
+     *
+     *
      * 
      * The diversification level isn't specified.
      * 
@@ -301,6 +347,8 @@ public enum DiversificationLevel */ public static final int DIVERSIFICATION_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -311,6 +359,8 @@ public enum DiversificationLevel
      */
     public static final int DISABLED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -321,6 +371,8 @@ public enum DiversificationLevel
      */
     public static final int SIMPLE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Only one job from the same company will be shown at once, other jobs
      * under same company are pushed to the end of the last page of search
@@ -331,6 +383,8 @@ public enum DiversificationLevel
      */
     public static final int ONE_PER_COMPANY_VALUE = 3;
     /**
+     *
+     *
      * 
      * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
      * same company to be shown at once, the other jobs under same company are
@@ -341,6 +395,8 @@ public enum DiversificationLevel
      */
     public static final int TWO_PER_COMPANY_VALUE = 4;
     /**
+     *
+     *
      * 
      * The result list is ordered such that somewhat similar results are pushed
      * to the end of the last page of the search results. This option is
@@ -351,7 +407,6 @@ public enum DiversificationLevel
      */
     public static final int DIVERSIFY_BY_LOOSER_SIMILARITY_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -376,13 +431,20 @@ public static DiversificationLevel valueOf(int value) {
      */
     public static DiversificationLevel forNumber(int value) {
       switch (value) {
-        case 0: return DIVERSIFICATION_LEVEL_UNSPECIFIED;
-        case 1: return DISABLED;
-        case 2: return SIMPLE;
-        case 3: return ONE_PER_COMPANY;
-        case 4: return TWO_PER_COMPANY;
-        case 5: return DIVERSIFY_BY_LOOSER_SIMILARITY;
-        default: return null;
+        case 0:
+          return DIVERSIFICATION_LEVEL_UNSPECIFIED;
+        case 1:
+          return DISABLED;
+        case 2:
+          return SIMPLE;
+        case 3:
+          return ONE_PER_COMPANY;
+        case 4:
+          return TWO_PER_COMPANY;
+        case 5:
+          return DIVERSIFY_BY_LOOSER_SIMILARITY;
+        default:
+          return null;
       }
     }
 
@@ -390,28 +452,28 @@ public static DiversificationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DiversificationLevel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DiversificationLevel findValueByNumber(int number) {
-              return DiversificationLevel.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public DiversificationLevel findValueByNumber(int number) {
+                return DiversificationLevel.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -420,8 +482,7 @@ public DiversificationLevel findValueByNumber(int number) {
     public static DiversificationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -439,6 +500,8 @@ private DiversificationLevel(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Controls what keyword matching behavior the search has. When keyword
    * matching is enabled, a keyword match returns jobs that may not match given
@@ -458,9 +521,10 @@ private DiversificationLevel(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode}
    */
-  public enum KeywordMatchMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -470,6 +534,8 @@ public enum KeywordMatchMode
      */
     KEYWORD_MATCH_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Disables keyword matching.
      * 
@@ -478,6 +544,8 @@ public enum KeywordMatchMode */ KEYWORD_MATCH_DISABLED(1), /** + * + * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
@@ -489,6 +557,8 @@ public enum KeywordMatchMode
      */
     KEYWORD_MATCH_ALL(2),
     /**
+     *
+     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
      * 
@@ -500,6 +570,8 @@ public enum KeywordMatchMode ; /** + * + * *
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -509,6 +581,8 @@ public enum KeywordMatchMode
      */
     public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Disables keyword matching.
      * 
@@ -517,6 +591,8 @@ public enum KeywordMatchMode */ public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; /** + * + * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
@@ -528,6 +604,8 @@ public enum KeywordMatchMode
      */
     public static final int KEYWORD_MATCH_ALL_VALUE = 2;
     /**
+     *
+     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
      * 
@@ -536,7 +614,6 @@ public enum KeywordMatchMode */ public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -561,40 +638,44 @@ public static KeywordMatchMode valueOf(int value) { */ public static KeywordMatchMode forNumber(int value) { switch (value) { - case 0: return KEYWORD_MATCH_MODE_UNSPECIFIED; - case 1: return KEYWORD_MATCH_DISABLED; - case 2: return KEYWORD_MATCH_ALL; - case 3: return KEYWORD_MATCH_TITLE_ONLY; - default: return null; + case 0: + return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: + return KEYWORD_MATCH_DISABLED; + case 2: + return KEYWORD_MATCH_ALL; + case 3: + return KEYWORD_MATCH_TITLE_ONLY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - KeywordMatchMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeywordMatchMode findValueByNumber(int number) { - return KeywordMatchMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); } @@ -603,8 +684,7 @@ public KeywordMatchMode findValueByNumber(int number) { public static KeywordMatchMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -621,11 +701,14 @@ private KeywordMatchMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode) } - public interface CustomRankingInfoOrBuilder extends + public interface CustomRankingInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -633,11 +716,16 @@ public interface CustomRankingInfoOrBuilder extends
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ int getImportanceLevelValue(); /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -645,12 +733,18 @@ public interface CustomRankingInfoOrBuilder extends
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel(); /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -671,10 +765,13 @@ public interface CustomRankingInfoOrBuilder extends
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ java.lang.String getRankingExpression(); /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -695,27 +792,30 @@ public interface CustomRankingInfoOrBuilder extends
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ - com.google.protobuf.ByteString - getRankingExpressionBytes(); + com.google.protobuf.ByteString getRankingExpressionBytes(); } /** + * + * *
    * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo} */ - public static final class CustomRankingInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CustomRankingInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) CustomRankingInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomRankingInfo.newBuilder() to construct. private CustomRankingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomRankingInfo() { importanceLevel_ = 0; rankingExpression_ = ""; @@ -723,39 +823,44 @@ private CustomRankingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomRankingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); } /** + * + * *
      * The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression].
      * 
* - * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} + * Protobuf enum {@code + * google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} */ - public enum ImportanceLevel - implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value if the importance level isn't specified.
        * 
@@ -764,6 +869,8 @@ public enum ImportanceLevel */ IMPORTANCE_LEVEL_UNSPECIFIED(0), /** + * + * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -774,6 +881,8 @@ public enum ImportanceLevel
        */
       NONE(1),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -784,6 +893,8 @@ public enum ImportanceLevel
        */
       LOW(2),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -794,6 +905,8 @@ public enum ImportanceLevel
        */
       MILD(3),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -804,6 +917,8 @@ public enum ImportanceLevel
        */
       MEDIUM(4),
       /**
+       *
+       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -814,6 +929,8 @@ public enum ImportanceLevel
        */
       HIGH(5),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -827,6 +944,8 @@ public enum ImportanceLevel
       ;
 
       /**
+       *
+       *
        * 
        * Default value if the importance level isn't specified.
        * 
@@ -835,6 +954,8 @@ public enum ImportanceLevel */ public static final int IMPORTANCE_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -845,6 +966,8 @@ public enum ImportanceLevel
        */
       public static final int NONE_VALUE = 1;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -855,6 +978,8 @@ public enum ImportanceLevel
        */
       public static final int LOW_VALUE = 2;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -865,6 +990,8 @@ public enum ImportanceLevel
        */
       public static final int MILD_VALUE = 3;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -875,6 +1002,8 @@ public enum ImportanceLevel
        */
       public static final int MEDIUM_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -885,6 +1014,8 @@ public enum ImportanceLevel
        */
       public static final int HIGH_VALUE = 5;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -895,7 +1026,6 @@ public enum ImportanceLevel
        */
       public static final int EXTREME_VALUE = 6;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -920,14 +1050,22 @@ public static ImportanceLevel valueOf(int value) {
        */
       public static ImportanceLevel forNumber(int value) {
         switch (value) {
-          case 0: return IMPORTANCE_LEVEL_UNSPECIFIED;
-          case 1: return NONE;
-          case 2: return LOW;
-          case 3: return MILD;
-          case 4: return MEDIUM;
-          case 5: return HIGH;
-          case 6: return EXTREME;
-          default: return null;
+          case 0:
+            return IMPORTANCE_LEVEL_UNSPECIFIED;
+          case 1:
+            return NONE;
+          case 2:
+            return LOW;
+          case 3:
+            return MILD;
+          case 4:
+            return MEDIUM;
+          case 5:
+            return HIGH;
+          case 6:
+            return EXTREME;
+          default:
+            return null;
         }
       }
 
@@ -935,29 +1073,31 @@ public static ImportanceLevel forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ImportanceLevel> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ImportanceLevel findValueByNumber(int number) {
-                return ImportanceLevel.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public ImportanceLevel findValueByNumber(int number) {
+                  return ImportanceLevel.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ImportanceLevel[] VALUES = values();
@@ -965,8 +1105,7 @@ public ImportanceLevel findValueByNumber(int number) {
       public static ImportanceLevel valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -986,6 +1125,8 @@ private ImportanceLevel(int value) {
     public static final int IMPORTANCE_LEVEL_FIELD_NUMBER = 1;
     private int importanceLevel_;
     /**
+     *
+     *
      * 
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -993,13 +1134,19 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override public int getImportanceLevelValue() { + @java.lang.Override + public int getImportanceLevelValue() { return importanceLevel_; } /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1007,18 +1154,30 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ - @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf( + importanceLevel_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .UNRECOGNIZED + : result; } public static final int RANKING_EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object rankingExpression_; /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1039,6 +1198,7 @@ private ImportanceLevel(int value) {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ @java.lang.Override @@ -1047,14 +1207,15 @@ public java.lang.String getRankingExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; } } /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1075,16 +1236,15 @@ public java.lang.String getRankingExpression() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getRankingExpressionBytes() { + public com.google.protobuf.ByteString getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1093,6 +1253,7 @@ public java.lang.String getRankingExpression() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1104,9 +1265,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (importanceLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (importanceLevel_ + != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .IMPORTANCE_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { @@ -1121,9 +1284,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (importanceLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, importanceLevel_); + if (importanceLevel_ + != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .IMPORTANCE_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rankingExpression_); @@ -1136,16 +1301,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) obj; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other = + (com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) obj; if (importanceLevel_ != other.importanceLevel_) return false; - if (!getRankingExpression() - .equals(other.getRankingExpression())) return false; + if (!getRankingExpression().equals(other.getRankingExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1167,87 +1332,94 @@ public int hashCode() { } public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1257,39 +1429,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1301,13 +1475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + getDefaultInstanceForType() { return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance(); } @@ -1322,7 +1497,8 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo buildPartial() { - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo result = new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(this); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo result = + new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(this); result.importanceLevel_ = importanceLevel_; result.rankingExpression_ = rankingExpression_; onBuilt(); @@ -1333,46 +1509,52 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other) { - if (other == com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other) { + if (other + == com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) + return this; if (other.importanceLevel_ != 0) { setImportanceLevelValue(other.getImportanceLevelValue()); } @@ -1406,22 +1588,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - importanceLevel_ = input.readEnum(); - - break; - } // case 8 - case 18: { - rankingExpression_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + importanceLevel_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + rankingExpression_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1434,6 +1619,8 @@ public Builder mergeFrom( private int importanceLevel_ = 0; /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1441,13 +1628,19 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override public int getImportanceLevelValue() { + @java.lang.Override + public int getImportanceLevelValue() { return importanceLevel_; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1455,17 +1648,22 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for importanceLevel to set. * @return This builder for chaining. */ public Builder setImportanceLevelValue(int value) { - + importanceLevel_ = value; onChanged(); return this; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1473,16 +1671,27 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf( + importanceLevel_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .UNRECOGNIZED + : result; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1490,20 +1699,26 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Importance
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The importanceLevel to set. * @return This builder for chaining. */ - public Builder setImportanceLevel(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { + public Builder setImportanceLevel( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { if (value == null) { throw new NullPointerException(); } - + importanceLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1511,11 +1726,14 @@ public Builder setImportanceLevel(com.google.cloud.talent.v4.SearchJobsRequest.C
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearImportanceLevel() { - + importanceLevel_ = 0; onChanged(); return this; @@ -1523,6 +1741,8 @@ public Builder clearImportanceLevel() { private java.lang.Object rankingExpression_ = ""; /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1543,13 +1763,13 @@ public Builder clearImportanceLevel() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ public java.lang.String getRankingExpression() { java.lang.Object ref = rankingExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; @@ -1558,6 +1778,8 @@ public java.lang.String getRankingExpression() { } } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1578,15 +1800,14 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ - public com.google.protobuf.ByteString - getRankingExpressionBytes() { + public com.google.protobuf.ByteString getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1594,6 +1815,8 @@ public java.lang.String getRankingExpression() { } } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1614,20 +1837,22 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpression( - java.lang.String value) { + public Builder setRankingExpression(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rankingExpression_ = value; onChanged(); return this; } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1648,15 +1873,18 @@ public Builder setRankingExpression(
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRankingExpression() { - + rankingExpression_ = getDefaultInstance().getRankingExpression(); onChanged(); return this; } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1677,20 +1905,21 @@ public Builder clearRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpressionBytes( - com.google.protobuf.ByteString value) { + public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rankingExpression_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1703,41 +1932,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) - private static final com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo DEFAULT_INSTANCE; + private static final com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstance() { + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomRankingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomRankingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1749,22 +1981,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -1773,31 +2010,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1808,42 +2047,58 @@ public java.lang.String getParent() { public static final int SEARCH_MODE_FIELD_NUMBER = 2; private int searchMode_; /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override public int getSearchModeValue() { + @java.lang.Override + public int getSearchModeValue() { return searchMode_; } /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ - @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED + : result; } public static final int REQUEST_METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.RequestMetadata requestMetadata_; /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ @java.lang.Override @@ -1851,27 +2106,38 @@ public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ @java.lang.Override public com.google.cloud.talent.v4.RequestMetadata getRequestMetadata() { - return requestMetadata_ == null ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() + : requestMetadata_; } /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { @@ -1881,11 +2147,14 @@ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrB public static final int JOB_QUERY_FIELD_NUMBER = 4; private com.google.cloud.talent.v4.JobQuery jobQuery_; /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ @java.lang.Override @@ -1893,11 +2162,14 @@ public boolean hasJobQuery() { return jobQuery_ != null; } /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return The jobQuery. */ @java.lang.Override @@ -1905,6 +2177,8 @@ public com.google.cloud.talent.v4.JobQuery getJobQuery() { return jobQuery_ == null ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; } /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -1919,6 +2193,8 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { public static final int ENABLE_BROADENING_FIELD_NUMBER = 5; private boolean enableBroadening_; /** + * + * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -1927,6 +2203,7 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() {
    * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ @java.lang.Override @@ -1937,6 +2214,8 @@ public boolean getEnableBroadening() { public static final int HISTOGRAM_QUERIES_FIELD_NUMBER = 7; private java.util.List histogramQueries_; /** + * + * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2030,6 +2309,8 @@ public java.util.List getHistogramQue
     return histogramQueries_;
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2119,11 +2400,13 @@ public java.util.List getHistogramQue
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getHistogramQueriesOrBuilderList() {
     return histogramQueries_;
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2217,6 +2500,8 @@ public int getHistogramQueriesCount() {
     return histogramQueries_.size();
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2310,6 +2595,8 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
     return histogramQueries_.get(index);
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2407,35 +2694,46 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
   public static final int JOB_VIEW_FIELD_NUMBER = 8;
   private int jobView_;
   /**
+   *
+   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The jobView. */ - @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { + @java.lang.Override + public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = + com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } public static final int OFFSET_FIELD_NUMBER = 9; private int offset_; /** + * + * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -2448,6 +2746,7 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
    * 
* * int32 offset = 9; + * * @return The offset. */ @java.lang.Override @@ -2458,6 +2757,8 @@ public int getOffset() { public static final int MAX_PAGE_SIZE_FIELD_NUMBER = 10; private int maxPageSize_; /** + * + * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -2465,6 +2766,7 @@ public int getOffset() {
    * 
* * int32 max_page_size = 10; + * * @return The maxPageSize. */ @java.lang.Override @@ -2475,6 +2777,8 @@ public int getMaxPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object pageToken_; /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -2482,6 +2786,7 @@ public int getMaxPageSize() {
    * 
* * string page_token = 11; + * * @return The pageToken. */ @java.lang.Override @@ -2490,14 +2795,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -2505,16 +2811,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2525,6 +2830,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 12; private volatile java.lang.Object orderBy_; /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2577,6 +2884,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 12; + * * @return The orderBy. */ @java.lang.Override @@ -2585,14 +2893,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2645,16 +2954,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2665,6 +2973,8 @@ public java.lang.String getOrderBy() { public static final int DIVERSIFICATION_LEVEL_FIELD_NUMBER = 13; private int diversificationLevel_; /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2676,13 +2986,19 @@ public java.lang.String getOrderBy() {
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override public int getDiversificationLevelValue() { + @java.lang.Override + public int getDiversificationLevelValue() { return diversificationLevel_; } /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2694,24 +3010,37 @@ public java.lang.String getOrderBy() {
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ - @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel + getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf( + diversificationLevel_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED + : result; } public static final int CUSTOM_RANKING_INFO_FIELD_NUMBER = 14; private com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo customRankingInfo_; /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ @java.lang.Override @@ -2719,34 +3048,46 @@ public boolean hasCustomRankingInfo() { return customRankingInfo_ != null; } /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { - return customRankingInfo_ == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() + : customRankingInfo_; } /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder() { return getCustomRankingInfo(); } public static final int DISABLE_KEYWORD_MATCH_FIELD_NUMBER = 16; private boolean disableKeywordMatch_; /** + * + * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -2773,18 +3114,22 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
    * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ @java.lang.Override - @java.lang.Deprecated public boolean getDisableKeywordMatch() { + @java.lang.Deprecated + public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; private int keywordMatchMode_; /** + * + * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -2792,13 +3137,18 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override public int getKeywordMatchModeValue() { + @java.lang.Override + public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** + * + * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -2806,16 +3156,23 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ - @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2827,12 +3184,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (searchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { + if (searchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, searchMode_); } if (requestMetadata_ != null) { @@ -2862,7 +3220,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, orderBy_); } - if (diversificationLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { + if (diversificationLevel_ + != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel + .DIVERSIFICATION_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(13, diversificationLevel_); } if (customRankingInfo_ != null) { @@ -2871,7 +3232,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } - if (keywordMatchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { + if (keywordMatchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(18, keywordMatchMode_); } getUnknownFields().writeTo(output); @@ -2886,37 +3250,31 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (searchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, searchMode_); + if (searchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, searchMode_); } if (requestMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequestMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestMetadata()); } if (jobQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getJobQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getJobQuery()); } if (enableBroadening_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableBroadening_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableBroadening_); } for (int i = 0; i < histogramQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, histogramQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, histogramQueries_.get(i)); } if (jobView_ != com.google.cloud.talent.v4.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, jobView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, jobView_); } if (offset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, offset_); } if (maxPageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(10, maxPageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, maxPageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, pageToken_); @@ -2924,21 +3282,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, orderBy_); } - if (diversificationLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(13, diversificationLevel_); + if (diversificationLevel_ + != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel + .DIVERSIFICATION_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, diversificationLevel_); } if (customRankingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getCustomRankingInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getCustomRankingInfo()); } if (disableKeywordMatch_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, disableKeywordMatch_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); } - if (keywordMatchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(18, keywordMatchMode_); + if (keywordMatchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2948,47 +3308,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsRequest other = (com.google.cloud.talent.v4.SearchJobsRequest) obj; + com.google.cloud.talent.v4.SearchJobsRequest other = + (com.google.cloud.talent.v4.SearchJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (searchMode_ != other.searchMode_) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - if (!getRequestMetadata() - .equals(other.getRequestMetadata())) return false; + if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; } if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - if (!getJobQuery() - .equals(other.getJobQuery())) return false; + if (!getJobQuery().equals(other.getJobQuery())) return false; } - if (getEnableBroadening() - != other.getEnableBroadening()) return false; - if (!getHistogramQueriesList() - .equals(other.getHistogramQueriesList())) return false; + if (getEnableBroadening() != other.getEnableBroadening()) return false; + if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; if (jobView_ != other.jobView_) return false; - if (getOffset() - != other.getOffset()) return false; - if (getMaxPageSize() - != other.getMaxPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (getOffset() != other.getOffset()) return false; + if (getMaxPageSize() != other.getMaxPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (diversificationLevel_ != other.diversificationLevel_) return false; if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - if (!getCustomRankingInfo() - .equals(other.getCustomRankingInfo())) return false; + if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; } - if (getDisableKeywordMatch() - != other.getDisableKeywordMatch()) return false; + if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3014,8 +3364,7 @@ public int hashCode() { hash = (53 * hash) + getJobQuery().hashCode(); } hash = (37 * hash) + ENABLE_BROADENING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableBroadening()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableBroadening()); if (getHistogramQueriesCount() > 0) { hash = (37 * hash) + HISTOGRAM_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getHistogramQueriesList().hashCode(); @@ -3037,8 +3386,7 @@ public int hashCode() { hash = (53 * hash) + getCustomRankingInfo().hashCode(); } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableKeywordMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3046,130 +3394,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request body of the `SearchJobs` call.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsRequest) com.google.cloud.talent.v4.SearchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.class, com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.class, + com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3224,9 +3578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override @@ -3245,7 +3599,8 @@ public com.google.cloud.talent.v4.SearchJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { - com.google.cloud.talent.v4.SearchJobsRequest result = new com.google.cloud.talent.v4.SearchJobsRequest(this); + com.google.cloud.talent.v4.SearchJobsRequest result = + new com.google.cloud.talent.v4.SearchJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.searchMode_ = searchMode_; @@ -3290,38 +3645,39 @@ public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -3364,9 +3720,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest other) { histogramQueriesBuilder_ = null; histogramQueries_ = other.histogramQueries_; bitField0_ = (bitField0_ & ~0x00000001); - histogramQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHistogramQueriesFieldBuilder() : null; + histogramQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHistogramQueriesFieldBuilder() + : null; } else { histogramQueriesBuilder_.addAllMessages(other.histogramQueries_); } @@ -3427,101 +3784,111 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - searchMode_ = input.readEnum(); + break; + } // case 10 + case 16: + { + searchMode_ = input.readEnum(); - break; - } // case 16 - case 26: { - input.readMessage( - getRequestMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 16 + case 26: + { + input.readMessage(getRequestMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - input.readMessage( - getJobQueryFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getJobQueryFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 40: { - enableBroadening_ = input.readBool(); + break; + } // case 34 + case 40: + { + enableBroadening_ = input.readBool(); - break; - } // case 40 - case 58: { - com.google.cloud.talent.v4.HistogramQuery m = - input.readMessage( - com.google.cloud.talent.v4.HistogramQuery.parser(), - extensionRegistry); - if (histogramQueriesBuilder_ == null) { - ensureHistogramQueriesIsMutable(); - histogramQueries_.add(m); - } else { - histogramQueriesBuilder_.addMessage(m); - } - break; - } // case 58 - case 64: { - jobView_ = input.readEnum(); + break; + } // case 40 + case 58: + { + com.google.cloud.talent.v4.HistogramQuery m = + input.readMessage( + com.google.cloud.talent.v4.HistogramQuery.parser(), extensionRegistry); + if (histogramQueriesBuilder_ == null) { + ensureHistogramQueriesIsMutable(); + histogramQueries_.add(m); + } else { + histogramQueriesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: + { + jobView_ = input.readEnum(); - break; - } // case 64 - case 72: { - offset_ = input.readInt32(); + break; + } // case 64 + case 72: + { + offset_ = input.readInt32(); - break; - } // case 72 - case 80: { - maxPageSize_ = input.readInt32(); + break; + } // case 72 + case 80: + { + maxPageSize_ = input.readInt32(); - break; - } // case 80 - case 90: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 80 + case 90: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 90 - case 98: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 90 + case 98: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 98 - case 104: { - diversificationLevel_ = input.readEnum(); + break; + } // case 98 + case 104: + { + diversificationLevel_ = input.readEnum(); - break; - } // case 104 - case 114: { - input.readMessage( - getCustomRankingInfoFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 104 + case 114: + { + input.readMessage( + getCustomRankingInfoFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 114 - case 128: { - disableKeywordMatch_ = input.readBool(); + break; + } // case 114 + case 128: + { + disableKeywordMatch_ = input.readBool(); - break; - } // case 128 - case 144: { - keywordMatchMode_ = input.readEnum(); + break; + } // case 128 + case 144: + { + keywordMatchMode_ = input.readEnum(); - break; - } // case 144 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3531,24 +3898,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3557,22 +3929,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3580,60 +3955,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -3641,55 +4029,71 @@ public Builder setParentBytes( private int searchMode_ = 0; /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override public int getSearchModeValue() { + @java.lang.Override + public int getSearchModeValue() { return searchMode_; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @param value The enum numeric value on the wire for searchMode to set. * @return This builder for chaining. */ public Builder setSearchModeValue(int value) { - + searchMode_ = value; onChanged(); return this; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @param value The searchMode to set. * @return This builder for chaining. */ @@ -3697,22 +4101,25 @@ public Builder setSearchMode(com.google.cloud.talent.v4.SearchJobsRequest.Search if (value == null) { throw new NullPointerException(); } - + searchMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return This builder for chaining. */ public Builder clearSearchMode() { - + searchMode_ = 0; onChanged(); return this; @@ -3720,45 +4127,64 @@ public Builder clearSearchMode() { private com.google.cloud.talent.v4.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder> requestMetadataBuilder_; + com.google.cloud.talent.v4.RequestMetadata, + com.google.cloud.talent.v4.RequestMetadata.Builder, + com.google.cloud.talent.v4.RequestMetadataOrBuilder> + requestMetadataBuilder_; /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ public com.google.cloud.talent.v4.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { - return requestMetadata_ == null ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() + : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequestMetadata(com.google.cloud.talent.v4.RequestMetadata value) { if (requestMetadataBuilder_ == null) { @@ -3774,13 +4200,17 @@ public Builder setRequestMetadata(com.google.cloud.talent.v4.RequestMetadata val return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequestMetadata( com.google.cloud.talent.v4.RequestMetadata.Builder builderForValue) { @@ -3794,19 +4224,25 @@ public Builder setRequestMetadata( return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRequestMetadata(com.google.cloud.talent.v4.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = - com.google.cloud.talent.v4.RequestMetadata.newBuilder(requestMetadata_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.RequestMetadata.newBuilder(requestMetadata_) + .mergeFrom(value) + .buildPartial(); } else { requestMetadata_ = value; } @@ -3818,13 +4254,17 @@ public Builder mergeRequestMetadata(com.google.cloud.talent.v4.RequestMetadata v return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { @@ -3838,54 +4278,70 @@ public Builder clearRequestMetadata() { return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.RequestMetadata.Builder getRequestMetadataBuilder() { - + onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { - return requestMetadata_ == null ? - com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() + : requestMetadata_; } } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder> + com.google.cloud.talent.v4.RequestMetadata, + com.google.cloud.talent.v4.RequestMetadata.Builder, + com.google.cloud.talent.v4.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { - requestMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder>( - getRequestMetadata(), - getParentForChildren(), - isClean()); + requestMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.RequestMetadata, + com.google.cloud.talent.v4.RequestMetadata.Builder, + com.google.cloud.talent.v4.RequestMetadataOrBuilder>( + getRequestMetadata(), getParentForChildren(), isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; @@ -3893,34 +4349,47 @@ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrB private com.google.cloud.talent.v4.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder> jobQueryBuilder_; + com.google.cloud.talent.v4.JobQuery, + com.google.cloud.talent.v4.JobQuery.Builder, + com.google.cloud.talent.v4.JobQueryOrBuilder> + jobQueryBuilder_; /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ public boolean hasJobQuery() { return jobQueryBuilder_ != null || jobQuery_ != null; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return The jobQuery. */ public com.google.cloud.talent.v4.JobQuery getJobQuery() { if (jobQueryBuilder_ == null) { - return jobQuery_ == null ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() + : jobQuery_; } else { return jobQueryBuilder_.getMessage(); } } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3941,14 +4410,15 @@ public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery value) { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; */ - public Builder setJobQuery( - com.google.cloud.talent.v4.JobQuery.Builder builderForValue) { + public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery.Builder builderForValue) { if (jobQueryBuilder_ == null) { jobQuery_ = builderForValue.build(); onChanged(); @@ -3959,6 +4429,8 @@ public Builder setJobQuery( return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3969,7 +4441,9 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4.JobQuery value) { if (jobQueryBuilder_ == null) { if (jobQuery_ != null) { jobQuery_ = - com.google.cloud.talent.v4.JobQuery.newBuilder(jobQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.JobQuery.newBuilder(jobQuery_) + .mergeFrom(value) + .buildPartial(); } else { jobQuery_ = value; } @@ -3981,6 +4455,8 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4.JobQuery value) { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3999,6 +4475,8 @@ public Builder clearJobQuery() { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4006,11 +4484,13 @@ public Builder clearJobQuery() { * .google.cloud.talent.v4.JobQuery job_query = 4; */ public com.google.cloud.talent.v4.JobQuery.Builder getJobQueryBuilder() { - + onChanged(); return getJobQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4021,11 +4501,14 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { if (jobQueryBuilder_ != null) { return jobQueryBuilder_.getMessageOrBuilder(); } else { - return jobQuery_ == null ? - com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() + : jobQuery_; } } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4033,21 +4516,26 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { * .google.cloud.talent.v4.JobQuery job_query = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder> + com.google.cloud.talent.v4.JobQuery, + com.google.cloud.talent.v4.JobQuery.Builder, + com.google.cloud.talent.v4.JobQueryOrBuilder> getJobQueryFieldBuilder() { if (jobQueryBuilder_ == null) { - jobQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder>( - getJobQuery(), - getParentForChildren(), - isClean()); + jobQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.JobQuery, + com.google.cloud.talent.v4.JobQuery.Builder, + com.google.cloud.talent.v4.JobQueryOrBuilder>( + getJobQuery(), getParentForChildren(), isClean()); jobQuery_ = null; } return jobQueryBuilder_; } - private boolean enableBroadening_ ; + private boolean enableBroadening_; /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4056,6 +4544,7 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() {
      * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ @java.lang.Override @@ -4063,6 +4552,8 @@ public boolean getEnableBroadening() { return enableBroadening_; } /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4071,16 +4562,19 @@ public boolean getEnableBroadening() {
      * 
* * bool enable_broadening = 5; + * * @param value The enableBroadening to set. * @return This builder for chaining. */ public Builder setEnableBroadening(boolean value) { - + enableBroadening_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4089,28 +4583,36 @@ public Builder setEnableBroadening(boolean value) {
      * 
* * bool enable_broadening = 5; + * * @return This builder for chaining. */ public Builder clearEnableBroadening() { - + enableBroadening_ = false; onChanged(); return this; } private java.util.List histogramQueries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHistogramQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - histogramQueries_ = new java.util.ArrayList(histogramQueries_); + histogramQueries_ = + new java.util.ArrayList(histogramQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder> histogramQueriesBuilder_; + com.google.cloud.talent.v4.HistogramQuery, + com.google.cloud.talent.v4.HistogramQuery.Builder, + com.google.cloud.talent.v4.HistogramQueryOrBuilder> + histogramQueriesBuilder_; /** + * + * *
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4207,6 +4709,8 @@ public java.util.List getHistogramQue
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4303,6 +4807,8 @@ public int getHistogramQueriesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4399,6 +4905,8 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4487,8 +4995,7 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public Builder setHistogramQueries(
-        int index, com.google.cloud.talent.v4.HistogramQuery value) {
+    public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.HistogramQuery value) {
       if (histogramQueriesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4502,6 +5009,8 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4602,6 +5111,8 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4704,6 +5215,8 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4792,8 +5305,7 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public Builder addHistogramQueries(
-        int index, com.google.cloud.talent.v4.HistogramQuery value) {
+    public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.HistogramQuery value) {
       if (histogramQueriesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4807,6 +5319,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4907,6 +5421,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5007,6 +5523,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5099,8 +5617,7 @@ public Builder addAllHistogramQueries(
         java.lang.Iterable values) {
       if (histogramQueriesBuilder_ == null) {
         ensureHistogramQueriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, histogramQueries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueries_);
         onChanged();
       } else {
         histogramQueriesBuilder_.addAllMessages(values);
@@ -5108,6 +5625,8 @@ public Builder addAllHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5207,6 +5726,8 @@ public Builder clearHistogramQueries() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5306,6 +5827,8 @@ public Builder removeHistogramQueries(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5394,11 +5917,12 @@ public Builder removeHistogramQueries(int index) {
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuilder(int index) {
       return getHistogramQueriesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5490,11 +6014,14 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuil
     public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
         int index) {
       if (histogramQueriesBuilder_ == null) {
-        return histogramQueries_.get(index);  } else {
+        return histogramQueries_.get(index);
+      } else {
         return histogramQueriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5583,8 +6110,8 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List 
-         getHistogramQueriesOrBuilderList() {
+    public java.util.List
+        getHistogramQueriesOrBuilderList() {
       if (histogramQueriesBuilder_ != null) {
         return histogramQueriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -5592,6 +6119,8 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5681,10 +6210,12 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
     public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder() {
-      return getHistogramQueriesFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5773,12 +6304,13 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder(
-        int index) {
-      return getHistogramQueriesFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
+    public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder(int index) {
+      return getHistogramQueriesFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5867,16 +6399,22 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List 
-         getHistogramQueriesBuilderList() {
+    public java.util.List
+        getHistogramQueriesBuilderList() {
       return getHistogramQueriesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder> 
+            com.google.cloud.talent.v4.HistogramQuery,
+            com.google.cloud.talent.v4.HistogramQuery.Builder,
+            com.google.cloud.talent.v4.HistogramQueryOrBuilder>
         getHistogramQueriesFieldBuilder() {
       if (histogramQueriesBuilder_ == null) {
-        histogramQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder>(
+        histogramQueriesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.HistogramQuery,
+                com.google.cloud.talent.v4.HistogramQuery.Builder,
+                com.google.cloud.talent.v4.HistogramQueryOrBuilder>(
                 histogramQueries_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -5888,55 +6426,69 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
 
     private int jobView_ = 0;
     /**
+     *
+     *
      * 
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = + com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @param value The jobView to set. * @return This builder for chaining. */ @@ -5944,29 +6496,34 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - private int offset_ ; + private int offset_; /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -5979,6 +6536,7 @@ public Builder clearJobView() {
      * 
* * int32 offset = 9; + * * @return The offset. */ @java.lang.Override @@ -5986,6 +6544,8 @@ public int getOffset() { return offset_; } /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -5998,16 +6558,19 @@ public int getOffset() {
      * 
* * int32 offset = 9; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6020,17 +6583,20 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 9; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; } - private int maxPageSize_ ; + private int maxPageSize_; /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6038,6 +6604,7 @@ public Builder clearOffset() {
      * 
* * int32 max_page_size = 10; + * * @return The maxPageSize. */ @java.lang.Override @@ -6045,6 +6612,8 @@ public int getMaxPageSize() { return maxPageSize_; } /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6052,16 +6621,19 @@ public int getMaxPageSize() {
      * 
* * int32 max_page_size = 10; + * * @param value The maxPageSize to set. * @return This builder for chaining. */ public Builder setMaxPageSize(int value) { - + maxPageSize_ = value; onChanged(); return this; } /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6069,10 +6641,11 @@ public Builder setMaxPageSize(int value) {
      * 
* * int32 max_page_size = 10; + * * @return This builder for chaining. */ public Builder clearMaxPageSize() { - + maxPageSize_ = 0; onChanged(); return this; @@ -6080,6 +6653,8 @@ public Builder clearMaxPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6087,13 +6662,13 @@ public Builder clearMaxPageSize() {
      * 
* * string page_token = 11; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -6102,6 +6677,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6109,15 +6686,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6125,6 +6701,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6132,20 +6710,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6153,15 +6733,18 @@ public Builder setPageToken(
      * 
* * string page_token = 11; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6169,16 +6752,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 11; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -6186,6 +6769,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6238,13 +6823,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 12; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -6253,6 +6838,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6305,15 +6892,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -6321,6 +6907,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6373,20 +6961,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6439,15 +7029,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 12; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6500,16 +7093,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 12; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -6517,6 +7110,8 @@ public Builder setOrderByBytes( private int diversificationLevel_ = 0; /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6528,13 +7123,19 @@ public Builder setOrderByBytes(
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override public int getDiversificationLevelValue() { + @java.lang.Override + public int getDiversificationLevelValue() { return diversificationLevel_; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6546,17 +7147,22 @@ public Builder setOrderByBytes(
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @param value The enum numeric value on the wire for diversificationLevel to set. * @return This builder for chaining. */ public Builder setDiversificationLevelValue(int value) { - + diversificationLevel_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6568,16 +7174,26 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { + public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel + getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf( + diversificationLevel_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED + : result; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6589,20 +7205,26 @@ public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDive
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @param value The diversificationLevel to set. * @return This builder for chaining. */ - public Builder setDiversificationLevel(com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel value) { + public Builder setDiversificationLevel( + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel value) { if (value == null) { throw new NullPointerException(); } - + diversificationLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6614,11 +7236,14 @@ public Builder setDiversificationLevel(com.google.cloud.talent.v4.SearchJobsRequ
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return This builder for chaining. */ public Builder clearDiversificationLevel() { - + diversificationLevel_ = 0; onChanged(); return this; @@ -6626,44 +7251,61 @@ public Builder clearDiversificationLevel() { private com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> customRankingInfoBuilder_; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> + customRankingInfoBuilder_; /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ public boolean hasCustomRankingInfo() { return customRankingInfoBuilder_ != null || customRankingInfo_ != null; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { - return customRankingInfo_ == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() + : customRankingInfo_; } else { return customRankingInfoBuilder_.getMessage(); } } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public Builder setCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { + public Builder setCustomRankingInfo( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6677,12 +7319,15 @@ public Builder setCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ public Builder setCustomRankingInfo( com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder builderForValue) { @@ -6696,18 +7341,25 @@ public Builder setCustomRankingInfo( return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { + public Builder mergeCustomRankingInfo( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (customRankingInfo_ != null) { customRankingInfo_ = - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder(customRankingInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder( + customRankingInfo_) + .mergeFrom(value) + .buildPartial(); } else { customRankingInfo_ = value; } @@ -6719,12 +7371,15 @@ public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsReque return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ public Builder clearCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { @@ -6738,58 +7393,75 @@ public Builder clearCustomRankingInfo() { return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder getCustomRankingInfoBuilder() { - + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder + getCustomRankingInfoBuilder() { + onChanged(); return getCustomRankingInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder() { if (customRankingInfoBuilder_ != null) { return customRankingInfoBuilder_.getMessageOrBuilder(); } else { - return customRankingInfo_ == null ? - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() + : customRankingInfo_; } } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> getCustomRankingInfoFieldBuilder() { if (customRankingInfoBuilder_ == null) { - customRankingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder>( - getCustomRankingInfo(), - getParentForChildren(), - isClean()); + customRankingInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder>( + getCustomRankingInfo(), getParentForChildren(), isClean()); customRankingInfo_ = null; } return customRankingInfoBuilder_; } - private boolean disableKeywordMatch_ ; + private boolean disableKeywordMatch_; /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6816,15 +7488,19 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ @java.lang.Override - @java.lang.Deprecated public boolean getDisableKeywordMatch() { + @java.lang.Deprecated + public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6851,18 +7527,22 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDisableKeywordMatch(boolean value) { - + @java.lang.Deprecated + public Builder setDisableKeywordMatch(boolean value) { + disableKeywordMatch_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6889,12 +7569,14 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearDisableKeywordMatch() { - + @java.lang.Deprecated + public Builder clearDisableKeywordMatch() { + disableKeywordMatch_ = false; onChanged(); return this; @@ -6902,6 +7584,8 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g private int keywordMatchMode_ = 0; /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6909,13 +7593,18 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override public int getKeywordMatchModeValue() { + @java.lang.Override + public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6923,17 +7612,21 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @param value The enum numeric value on the wire for keywordMatchMode to set. * @return This builder for chaining. */ public Builder setKeywordMatchModeValue(int value) { - + keywordMatchMode_ = value; onChanged(); return this; } /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6941,16 +7634,23 @@ public Builder setKeywordMatchModeValue(int value) {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; } /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6958,20 +7658,25 @@ public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordM
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @param value The keywordMatchMode to set. * @return This builder for chaining. */ - public Builder setKeywordMatchMode(com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { + public Builder setKeywordMatchMode( + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { if (value == null) { throw new NullPointerException(); } - + keywordMatchMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6979,18 +7684,20 @@ public Builder setKeywordMatchMode(com.google.cloud.talent.v4.SearchJobsRequest.
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return This builder for chaining. */ public Builder clearKeywordMatchMode() { - + keywordMatchMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7000,12 +7707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsRequest) private static final com.google.cloud.talent.v4.SearchJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsRequest(); } @@ -7014,27 +7721,27 @@ public static com.google.cloud.talent.v4.SearchJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7049,6 +7756,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SearchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java similarity index 94% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java index 7ad20b7bcb8d..0dfbd092fa81 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java @@ -1,109 +1,162 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface SearchJobsRequestOrBuilder extends +public interface SearchJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ int getSearchModeValue(); /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ boolean hasRequestMetadata(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ com.google.cloud.talent.v4.RequestMetadata getRequestMetadata(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ boolean hasJobQuery(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return The jobQuery. */ com.google.cloud.talent.v4.JobQuery getJobQuery(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -113,6 +166,8 @@ public interface SearchJobsRequestOrBuilder extends com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder(); /** + * + * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -121,11 +176,14 @@ public interface SearchJobsRequestOrBuilder extends
    * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ boolean getEnableBroadening(); /** + * + * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -214,9 +272,10 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  java.util.List 
-      getHistogramQueriesList();
+  java.util.List getHistogramQueriesList();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -307,6 +366,8 @@ public interface SearchJobsRequestOrBuilder extends
    */
   com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index);
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -397,6 +458,8 @@ public interface SearchJobsRequestOrBuilder extends
    */
   int getHistogramQueriesCount();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -485,9 +548,11 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  java.util.List 
+  java.util.List
       getHistogramQueriesOrBuilderList();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -576,31 +641,38 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** + * + * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The jobView. */ com.google.cloud.talent.v4.JobView getJobView(); /** + * + * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -613,11 +685,14 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * int32 offset = 9; + * * @return The offset. */ int getOffset(); /** + * + * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -625,11 +700,14 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * int32 max_page_size = 10; + * * @return The maxPageSize. */ int getMaxPageSize(); /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -637,10 +715,13 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * string page_token = 11; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -648,12 +729,14 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -706,10 +789,13 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * string order_by = 12; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -762,12 +848,14 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -779,11 +867,16 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ int getDiversificationLevelValue(); /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -795,42 +888,59 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ boolean hasCustomRankingInfo(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder(); /** + * + * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -857,13 +967,17 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ - @java.lang.Deprecated boolean getDisableKeywordMatch(); + @java.lang.Deprecated + boolean getDisableKeywordMatch(); /** + * + * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -871,11 +985,15 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ int getKeywordMatchModeValue(); /** + * + * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -883,7 +1001,9 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java similarity index 77% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java index 8c4e26d5575a..1a09357dddff 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Response for SearchJob method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse} */ -public final class SearchJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse) SearchJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchJobsResponse.newBuilder() to construct. private SearchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchJobsResponse() { matchingJobs_ = java.util.Collections.emptyList(); histogramQueryResults_ = java.util.Collections.emptyList(); @@ -28,52 +46,62 @@ private SearchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.class, com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.class, + com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); } - public interface MatchingJobOrBuilder extends + public interface MatchingJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
@@ -83,28 +111,35 @@ public interface MatchingJobOrBuilder extends com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder(); /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The jobSummary. */ java.lang.String getJobSummary(); /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ - com.google.protobuf.ByteString - getJobSummaryBytes(); + com.google.protobuf.ByteString getJobSummaryBytes(); /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -112,10 +147,13 @@ public interface MatchingJobOrBuilder extends
      * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ java.lang.String getJobTitleSnippet(); /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -123,12 +161,14 @@ public interface MatchingJobOrBuilder extends
      * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ - com.google.protobuf.ByteString - getJobTitleSnippetBytes(); + com.google.protobuf.ByteString getJobTitleSnippetBytes(); /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -137,10 +177,13 @@ public interface MatchingJobOrBuilder extends
      * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ java.lang.String getSearchTextSnippet(); /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -149,32 +192,40 @@ public interface MatchingJobOrBuilder extends
      * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ - com.google.protobuf.ByteString - getSearchTextSnippetBytes(); + com.google.protobuf.ByteString getSearchTextSnippetBytes(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ boolean hasCommuteInfo(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -185,21 +236,24 @@ public interface MatchingJobOrBuilder extends
     com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.MatchingJob} */ - public static final class MatchingJob extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MatchingJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) MatchingJobOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MatchingJob.newBuilder() to construct. private MatchingJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MatchingJob() { jobSummary_ = ""; jobTitleSnippet_ = ""; @@ -208,37 +262,41 @@ private MatchingJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MatchingJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -246,11 +304,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -258,6 +319,8 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
@@ -272,12 +335,15 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private volatile java.lang.Object jobSummary_; /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The jobSummary. */ @java.lang.Override @@ -286,30 +352,30 @@ public java.lang.String getJobSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; } } /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobSummaryBytes() { + public com.google.protobuf.ByteString getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -320,6 +386,8 @@ public java.lang.String getJobSummary() { public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 3; private volatile java.lang.Object jobTitleSnippet_; /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -327,6 +395,7 @@ public java.lang.String getJobSummary() {
      * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ @java.lang.Override @@ -335,14 +404,15 @@ public java.lang.String getJobTitleSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; } } /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -350,16 +420,15 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -370,6 +439,8 @@ public java.lang.String getJobTitleSnippet() { public static final int SEARCH_TEXT_SNIPPET_FIELD_NUMBER = 4; private volatile java.lang.Object searchTextSnippet_; /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -378,6 +449,7 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ @java.lang.Override @@ -386,14 +458,15 @@ public java.lang.String getSearchTextSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; } } /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -402,16 +475,15 @@ public java.lang.String getSearchTextSnippet() {
      * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -422,12 +494,15 @@ public java.lang.String getSearchTextSnippet() { public static final int COMMUTE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commuteInfo_; /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ @java.lang.Override @@ -435,19 +510,26 @@ public boolean hasCommuteInfo() { return commuteInfo_ != null; } /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo() { - return commuteInfo_ == null ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; + return commuteInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() + : commuteInfo_; } /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -456,11 +538,13 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(
      * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
+    public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder
+        getCommuteInfoOrBuilder() {
       return getCommuteInfo();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -472,8 +556,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -499,8 +582,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSummary_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobSummary_);
@@ -512,8 +594,7 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchTextSnippet_);
       }
       if (commuteInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getCommuteInfo());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteInfo());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -523,28 +604,24 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) obj;
+      com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other =
+          (com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob()
-            .equals(other.getJob())) return false;
-      }
-      if (!getJobSummary()
-          .equals(other.getJobSummary())) return false;
-      if (!getJobTitleSnippet()
-          .equals(other.getJobTitleSnippet())) return false;
-      if (!getSearchTextSnippet()
-          .equals(other.getSearchTextSnippet())) return false;
+        if (!getJob().equals(other.getJob())) return false;
+      }
+      if (!getJobSummary().equals(other.getJobSummary())) return false;
+      if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false;
+      if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false;
       if (hasCommuteInfo() != other.hasCommuteInfo()) return false;
       if (hasCommuteInfo()) {
-        if (!getCommuteInfo()
-            .equals(other.getCommuteInfo())) return false;
+        if (!getCommuteInfo().equals(other.getCommuteInfo())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -577,87 +654,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -667,39 +751,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.MatchingJob} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -725,9 +811,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override @@ -746,7 +832,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob result = new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob(this); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob result = + new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -768,38 +855,41 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) other); } else { super.mergeFrom(other); return this; @@ -807,7 +897,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other) { - if (other == com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -852,41 +943,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - jobSummary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - jobTitleSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - searchTextSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - input.readMessage( - getCommuteInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + jobSummary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + jobTitleSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + searchTextSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + input.readMessage(getCommuteInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -899,24 +992,33 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobBuilder_; /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -927,6 +1029,8 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -947,14 +1051,15 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; */ - public Builder setJob( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -965,6 +1070,8 @@ public Builder setJob( return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -974,8 +1081,7 @@ public Builder setJob( public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = - com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -987,6 +1093,8 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1005,6 +1113,8 @@ public Builder clearJob() { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1012,11 +1122,13 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 1; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1027,11 +1139,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1039,14 +1152,17 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -1054,19 +1170,21 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobSummary_ = ""; /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return The jobSummary. */ public java.lang.String getJobSummary() { java.lang.Object ref = jobSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; @@ -1075,21 +1193,22 @@ public java.lang.String getJobSummary() { } } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ - public com.google.protobuf.ByteString - getJobSummaryBytes() { + public com.google.protobuf.ByteString getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -1097,57 +1216,64 @@ public java.lang.String getJobSummary() { } } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @param value The jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummary( - java.lang.String value) { + public Builder setJobSummary(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobSummary_ = value; onChanged(); return this; } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return This builder for chaining. */ public Builder clearJobSummary() { - + jobSummary_ = getDefaultInstance().getJobSummary(); onChanged(); return this; } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @param value The bytes for jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummaryBytes( - com.google.protobuf.ByteString value) { + public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobSummary_ = value; onChanged(); return this; @@ -1155,6 +1281,8 @@ public Builder setJobSummaryBytes( private java.lang.Object jobTitleSnippet_ = ""; /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1162,13 +1290,13 @@ public Builder setJobSummaryBytes(
        * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ public java.lang.String getJobTitleSnippet() { java.lang.Object ref = jobTitleSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; @@ -1177,6 +1305,8 @@ public java.lang.String getJobTitleSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1184,15 +1314,14 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ - public com.google.protobuf.ByteString - getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -1200,6 +1329,8 @@ public java.lang.String getJobTitleSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1207,20 +1338,22 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @param value The jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippet( - java.lang.String value) { + public Builder setJobTitleSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTitleSnippet_ = value; onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1228,15 +1361,18 @@ public Builder setJobTitleSnippet(
        * 
* * string job_title_snippet = 3; + * * @return This builder for chaining. */ public Builder clearJobTitleSnippet() { - + jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet(); onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1244,16 +1380,16 @@ public Builder clearJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @param value The bytes for jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTitleSnippet_ = value; onChanged(); return this; @@ -1261,6 +1397,8 @@ public Builder setJobTitleSnippetBytes( private java.lang.Object searchTextSnippet_ = ""; /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1269,13 +1407,13 @@ public Builder setJobTitleSnippetBytes(
        * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ public java.lang.String getSearchTextSnippet() { java.lang.Object ref = searchTextSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; @@ -1284,6 +1422,8 @@ public java.lang.String getSearchTextSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1292,15 +1432,14 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ - public com.google.protobuf.ByteString - getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -1308,6 +1447,8 @@ public java.lang.String getSearchTextSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1316,20 +1457,22 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @param value The searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippet( - java.lang.String value) { + public Builder setSearchTextSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchTextSnippet_ = value; onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1338,15 +1481,18 @@ public Builder setSearchTextSnippet(
        * 
* * string search_text_snippet = 4; + * * @return This builder for chaining. */ public Builder clearSearchTextSnippet() { - + searchTextSnippet_ = getDefaultInstance().getSearchTextSnippet(); onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1355,16 +1501,16 @@ public Builder clearSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @param value The bytes for searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchTextSnippet_ = value; onChanged(); return this; @@ -1372,36 +1518,49 @@ public Builder setSearchTextSnippetBytes( private com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> commuteInfoBuilder_; + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> + commuteInfoBuilder_; /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
        * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ public boolean hasCommuteInfo() { return commuteInfoBuilder_ != null || commuteInfo_ != null; } /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
        * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo() { if (commuteInfoBuilder_ == null) { - return commuteInfo_ == null ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; + return commuteInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() + : commuteInfo_; } else { return commuteInfoBuilder_.getMessage(); } } /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1409,7 +1568,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder setCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
+      public Builder setCommuteInfo(
+          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1423,6 +1583,8 @@ public Builder setCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.Comm
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1442,6 +1604,8 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1449,11 +1613,14 @@ public Builder setCommuteInfo(
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder mergeCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
+      public Builder mergeCommuteInfo(
+          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (commuteInfo_ != null) {
             commuteInfo_ =
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             commuteInfo_ = value;
           }
@@ -1465,6 +1632,8 @@ public Builder mergeCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.Co
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1484,6 +1653,8 @@ public Builder clearCommuteInfo() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1491,12 +1662,15 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder() {
-        
+      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder
+          getCommuteInfoBuilder() {
+
         onChanged();
         return getCommuteInfoFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1504,15 +1678,19 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder getComm
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
+      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder
+          getCommuteInfoOrBuilder() {
         if (commuteInfoBuilder_ != null) {
           return commuteInfoBuilder_.getMessageOrBuilder();
         } else {
-          return commuteInfo_ == null ?
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_;
+          return commuteInfo_ == null
+              ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()
+              : commuteInfo_;
         }
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1521,18 +1699,22 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCom
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> 
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo,
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder,
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>
           getCommuteInfoFieldBuilder() {
         if (commuteInfoBuilder_ == null) {
-          commuteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>(
-                  getCommuteInfo(),
-                  getParentForChildren(),
-                  isClean());
+          commuteInfoBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo,
+                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder,
+                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>(
+                  getCommuteInfo(), getParentForChildren(), isClean());
           commuteInfo_ = null;
         }
         return commuteInfoBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1545,12 +1727,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse.MatchingJob)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse.MatchingJob)
     private static final com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob();
     }
@@ -1559,27 +1741,28 @@ public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public MatchingJob parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public MatchingJob parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1594,32 +1777,40 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CommuteInfoOrBuilder extends
+  public interface CommuteInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ boolean hasJobLocation(); /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return The jobLocation. */ com.google.cloud.talent.v4.Location getJobLocation(); /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1629,6 +1820,8 @@ public interface CommuteInfoOrBuilder extends com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1637,10 +1830,13 @@ public interface CommuteInfoOrBuilder extends
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1649,10 +1845,13 @@ public interface CommuteInfoOrBuilder extends
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1665,57 +1864,63 @@ public interface CommuteInfoOrBuilder extends
     com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Commute details related to this job.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.CommuteInfo} */ - public static final class CommuteInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CommuteInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) CommuteInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteInfo.newBuilder() to construct. private CommuteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommuteInfo() { - } + + private CommuteInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommuteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); } public static final int JOB_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Location jobLocation_; /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ @java.lang.Override @@ -1723,18 +1928,25 @@ public boolean hasJobLocation() { return jobLocation_ != null; } /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return The jobLocation. */ @java.lang.Override public com.google.cloud.talent.v4.Location getJobLocation() { - return jobLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : jobLocation_; } /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1749,6 +1961,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1757,6 +1971,7 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() {
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -1764,6 +1979,8 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1772,13 +1989,18 @@ public boolean hasTravelDuration() {
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1794,6 +2016,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1805,8 +2028,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (jobLocation_ != null) {
         output.writeMessage(1, getJobLocation());
       }
@@ -1823,12 +2045,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (jobLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJobLocation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobLocation());
       }
       if (travelDuration_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getTravelDuration());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1838,22 +2058,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) obj;
+      com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other =
+          (com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) obj;
 
       if (hasJobLocation() != other.hasJobLocation()) return false;
       if (hasJobLocation()) {
-        if (!getJobLocation()
-            .equals(other.getJobLocation())) return false;
+        if (!getJobLocation().equals(other.getJobLocation())) return false;
       }
       if (hasTravelDuration() != other.hasTravelDuration()) return false;
       if (hasTravelDuration()) {
-        if (!getTravelDuration()
-            .equals(other.getTravelDuration())) return false;
+        if (!getTravelDuration().equals(other.getTravelDuration())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1880,87 +2099,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1970,39 +2196,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Commute details related to this job.
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.CommuteInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2022,9 +2250,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override @@ -2043,7 +2271,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo result = new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo(this); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo result = + new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo(this); if (jobLocationBuilder_ == null) { result.jobLocation_ = jobLocation_; } else { @@ -2062,38 +2291,41 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) other); } else { super.mergeFrom(other); return this; @@ -2101,7 +2333,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other) { - if (other == com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()) + return this; if (other.hasJobLocation()) { mergeJobLocation(other.getJobLocation()); } @@ -2134,26 +2367,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2166,34 +2399,47 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> jobLocationBuilder_; + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> + jobLocationBuilder_; /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ public boolean hasJobLocation() { return jobLocationBuilder_ != null || jobLocation_ != null; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return The jobLocation. */ public com.google.cloud.talent.v4.Location getJobLocation() { if (jobLocationBuilder_ == null) { - return jobLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : jobLocation_; } else { return jobLocationBuilder_.getMessage(); } } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2214,14 +2460,15 @@ public Builder setJobLocation(com.google.cloud.talent.v4.Location value) { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; */ - public Builder setJobLocation( - com.google.cloud.talent.v4.Location.Builder builderForValue) { + public Builder setJobLocation(com.google.cloud.talent.v4.Location.Builder builderForValue) { if (jobLocationBuilder_ == null) { jobLocation_ = builderForValue.build(); onChanged(); @@ -2232,6 +2479,8 @@ public Builder setJobLocation( return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2242,7 +2491,9 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4.Location value) { if (jobLocationBuilder_ == null) { if (jobLocation_ != null) { jobLocation_ = - com.google.cloud.talent.v4.Location.newBuilder(jobLocation_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Location.newBuilder(jobLocation_) + .mergeFrom(value) + .buildPartial(); } else { jobLocation_ = value; } @@ -2254,6 +2505,8 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4.Location value) { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2272,6 +2525,8 @@ public Builder clearJobLocation() { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2279,11 +2534,13 @@ public Builder clearJobLocation() { * .google.cloud.talent.v4.Location job_location = 1; */ public com.google.cloud.talent.v4.Location.Builder getJobLocationBuilder() { - + onChanged(); return getJobLocationFieldBuilder().getBuilder(); } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2294,11 +2551,14 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { if (jobLocationBuilder_ != null) { return jobLocationBuilder_.getMessageOrBuilder(); } else { - return jobLocation_ == null ? - com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : jobLocation_; } } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2306,14 +2566,17 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { * .google.cloud.talent.v4.Location job_location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> getJobLocationFieldBuilder() { if (jobLocationBuilder_ == null) { - jobLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>( - getJobLocation(), - getParentForChildren(), - isClean()); + jobLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder>( + getJobLocation(), getParentForChildren(), isClean()); jobLocation_ = null; } return jobLocationBuilder_; @@ -2321,8 +2584,13 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + travelDurationBuilder_; /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2331,12 +2599,15 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() {
        * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2345,16 +2616,21 @@ public boolean hasTravelDuration() {
        * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2378,6 +2654,8 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2387,8 +2665,7 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration travel_duration = 2;
        */
-      public Builder setTravelDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (travelDurationBuilder_ == null) {
           travelDuration_ = builderForValue.build();
           onChanged();
@@ -2399,6 +2676,8 @@ public Builder setTravelDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2412,7 +2691,9 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         if (travelDurationBuilder_ == null) {
           if (travelDuration_ != null) {
             travelDuration_ =
-              com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(travelDuration_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             travelDuration_ = value;
           }
@@ -2424,6 +2705,8 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2445,6 +2728,8 @@ public Builder clearTravelDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2455,11 +2740,13 @@ public Builder clearTravelDuration() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       public com.google.protobuf.Duration.Builder getTravelDurationBuilder() {
-        
+
         onChanged();
         return getTravelDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2473,11 +2760,14 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
         if (travelDurationBuilder_ != null) {
           return travelDurationBuilder_.getMessageOrBuilder();
         } else {
-          return travelDuration_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : travelDuration_;
+          return travelDuration_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : travelDuration_;
         }
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2488,18 +2778,22 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getTravelDurationFieldBuilder() {
         if (travelDurationBuilder_ == null) {
-          travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getTravelDuration(),
-                  getParentForChildren(),
-                  isClean());
+          travelDurationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getTravelDuration(), getParentForChildren(), isClean());
           travelDuration_ = null;
         }
         return travelDurationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2512,12 +2806,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
     private static final com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo();
     }
@@ -2526,27 +2820,28 @@ public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CommuteInfo parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CommuteInfo parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2561,12 +2856,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int MATCHING_JOBS_FIELD_NUMBER = 1;
   private java.util.List matchingJobs_;
   /**
+   *
+   *
    * 
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2574,10 +2870,13 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInsta * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List getMatchingJobsList() { + public java.util.List + getMatchingJobsList() { return matchingJobs_; } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2585,11 +2884,14 @@ public java.util.List * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsOrBuilderList() { return matchingJobs_; } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2601,6 +2903,8 @@ public int getMatchingJobsCount() { return matchingJobs_.size(); } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2612,6 +2916,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs return matchingJobs_.get(index); } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2619,14 +2925,16 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder + getMatchingJobsOrBuilder(int index) { return matchingJobs_.get(index); } public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER = 2; private java.util.List histogramQueryResults_; /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2635,10 +2943,13 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMat
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
   @java.lang.Override
-  public java.util.List getHistogramQueryResultsList() {
+  public java.util.List
+      getHistogramQueryResultsList() {
     return histogramQueryResults_;
   }
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2647,11 +2958,13 @@ public java.util.List getHistog
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getHistogramQueryResultsOrBuilderList() {
     return histogramQueryResults_;
   }
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2664,6 +2977,8 @@ public int getHistogramQueryResultsCount() {
     return histogramQueryResults_.size();
   }
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2676,6 +2991,8 @@ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(
     return histogramQueryResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2692,12 +3009,15 @@ public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQuer
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -2706,30 +3026,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -2740,6 +3060,8 @@ public java.lang.String getNextPageToken() { public static final int LOCATION_FILTERS_FIELD_NUMBER = 4; private java.util.List locationFilters_; /** + * + * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2753,6 +3075,8 @@ public java.util.List getLocationFiltersLis
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2762,11 +3086,13 @@ public java.util.List getLocationFiltersLis
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2780,6 +3106,8 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2793,6 +3121,8 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2802,20 +3132,22 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
     return locationFilters_.get(index);
   }
 
   public static final int TOTAL_SIZE_FIELD_NUMBER = 6;
   private int totalSize_;
   /**
+   *
+   *
    * 
    * Number of jobs that match the specified query.
    * Note: This size is precise only if the total is less than 100,000.
    * 
* * int32 total_size = 6; + * * @return The totalSize. */ @java.lang.Override @@ -2826,12 +3158,15 @@ public int getTotalSize() { public static final int METADATA_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2839,19 +3174,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -2867,6 +3209,8 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER = 8;
   private int broadenedQueryJobsCount_;
   /**
+   *
+   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -2878,6 +3222,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
    * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -2888,11 +3233,14 @@ public int getBroadenedQueryJobsCount() { public static final int SPELL_CORRECTION_FIELD_NUMBER = 9; private com.google.cloud.talent.v4.SpellingCorrection spellCorrection_; /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ @java.lang.Override @@ -2900,18 +3248,25 @@ public boolean hasSpellCorrection() { return spellCorrection_ != null; } /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ @java.lang.Override public com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection() { - return spellCorrection_ == null ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } /** + * + * *
    * The spell checking result, and correction.
    * 
@@ -2924,6 +3279,7 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2935,8 +3291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < matchingJobs_.size(); i++) { output.writeMessage(1, matchingJobs_.get(i)); } @@ -2971,35 +3326,30 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < matchingJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, matchingJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchingJobs_.get(i)); } for (int i = 0; i < histogramQueryResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, histogramQueryResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, histogramQueryResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, locationFilters_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalSize_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); } if (broadenedQueryJobsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, broadenedQueryJobsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, broadenedQueryJobsCount_); } if (spellCorrection_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getSpellCorrection()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSpellCorrection()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3009,34 +3359,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsResponse other = (com.google.cloud.talent.v4.SearchJobsResponse) obj; - - if (!getMatchingJobsList() - .equals(other.getMatchingJobsList())) return false; - if (!getHistogramQueryResultsList() - .equals(other.getHistogramQueryResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getLocationFiltersList() - .equals(other.getLocationFiltersList())) return false; - if (getTotalSize() - != other.getTotalSize()) return false; + com.google.cloud.talent.v4.SearchJobsResponse other = + (com.google.cloud.talent.v4.SearchJobsResponse) obj; + + if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; } - if (getBroadenedQueryJobsCount() - != other.getBroadenedQueryJobsCount()) return false; + if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - if (!getSpellCorrection() - .equals(other.getSpellCorrection())) return false; + if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3080,130 +3423,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for SearchJob method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse) com.google.cloud.talent.v4.SearchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.class, com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.class, + com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3250,9 +3599,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override @@ -3271,7 +3620,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse result = new com.google.cloud.talent.v4.SearchJobsResponse(this); + com.google.cloud.talent.v4.SearchJobsResponse result = + new com.google.cloud.talent.v4.SearchJobsResponse(this); int from_bitField0_ = bitField0_; if (matchingJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3321,38 +3671,39 @@ public com.google.cloud.talent.v4.SearchJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -3379,9 +3730,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { matchingJobsBuilder_ = null; matchingJobs_ = other.matchingJobs_; bitField0_ = (bitField0_ & ~0x00000001); - matchingJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchingJobsFieldBuilder() : null; + matchingJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMatchingJobsFieldBuilder() + : null; } else { matchingJobsBuilder_.addAllMessages(other.matchingJobs_); } @@ -3405,9 +3757,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { histogramQueryResultsBuilder_ = null; histogramQueryResults_ = other.histogramQueryResults_; bitField0_ = (bitField0_ & ~0x00000002); - histogramQueryResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHistogramQueryResultsFieldBuilder() : null; + histogramQueryResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHistogramQueryResultsFieldBuilder() + : null; } else { histogramQueryResultsBuilder_.addAllMessages(other.histogramQueryResults_); } @@ -3435,9 +3788,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000004); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationFiltersFieldBuilder() : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationFiltersFieldBuilder() + : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -3481,80 +3835,84 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob m = - input.readMessage( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.parser(), - extensionRegistry); - if (matchingJobsBuilder_ == null) { - ensureMatchingJobsIsMutable(); - matchingJobs_.add(m); - } else { - matchingJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4.HistogramQueryResult m = - input.readMessage( - com.google.cloud.talent.v4.HistogramQueryResult.parser(), - extensionRegistry); - if (histogramQueryResultsBuilder_ == null) { - ensureHistogramQueryResultsIsMutable(); - histogramQueryResults_.add(m); - } else { - histogramQueryResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob m = + input.readMessage( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.parser(), + extensionRegistry); + if (matchingJobsBuilder_ == null) { + ensureMatchingJobsIsMutable(); + matchingJobs_.add(m); + } else { + matchingJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4.HistogramQueryResult m = + input.readMessage( + com.google.cloud.talent.v4.HistogramQueryResult.parser(), + extensionRegistry); + if (histogramQueryResultsBuilder_ == null) { + ensureHistogramQueryResultsIsMutable(); + histogramQueryResults_.add(m); + } else { + histogramQueryResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - com.google.cloud.talent.v4.Location m = - input.readMessage( - com.google.cloud.talent.v4.Location.parser(), - extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 34 - case 48: { - totalSize_ = input.readInt32(); + break; + } // case 26 + case 34: + { + com.google.cloud.talent.v4.Location m = + input.readMessage( + com.google.cloud.talent.v4.Location.parser(), extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 34 + case 48: + { + totalSize_ = input.readInt32(); - break; - } // case 48 - case 58: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 48 + case 58: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 64: { - broadenedQueryJobsCount_ = input.readInt32(); + break; + } // case 58 + case 64: + { + broadenedQueryJobsCount_ = input.readInt32(); - break; - } // case 64 - case 74: { - input.readMessage( - getSpellCorrectionFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 64 + case 74: + { + input.readMessage(getSpellCorrectionFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3564,28 +3922,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List matchingJobs_ = - java.util.Collections.emptyList(); + private java.util.List + matchingJobs_ = java.util.Collections.emptyList(); + private void ensureMatchingJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - matchingJobs_ = new java.util.ArrayList(matchingJobs_); + matchingJobs_ = + new java.util.ArrayList( + matchingJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> matchingJobsBuilder_; + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + matchingJobsBuilder_; /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List getMatchingJobsList() { + public java.util.List + getMatchingJobsList() { if (matchingJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchingJobs_); } else { @@ -3593,11 +3962,14 @@ public java.util.List } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public int getMatchingJobsCount() { if (matchingJobsBuilder_ == null) { @@ -3607,11 +3979,14 @@ public int getMatchingJobsCount() { } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -3621,11 +3996,14 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder setMatchingJobs( int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { @@ -3642,14 +4020,18 @@ public Builder setMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder setMatchingJobs( - int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.set(index, builderForValue.build()); @@ -3660,13 +4042,17 @@ public Builder setMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public Builder addMatchingJobs(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { + public Builder addMatchingJobs( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { if (matchingJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3680,11 +4066,14 @@ public Builder addMatchingJobs(com.google.cloud.talent.v4.SearchJobsResponse.Mat return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { @@ -3701,11 +4090,14 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { @@ -3719,14 +4111,18 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( - int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.add(index, builderForValue.build()); @@ -3737,18 +4133,21 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addAllMatchingJobs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchingJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchingJobs_); onChanged(); } else { matchingJobsBuilder_.addAllMessages(values); @@ -3756,11 +4155,14 @@ public Builder addAllMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder clearMatchingJobs() { if (matchingJobsBuilder_ == null) { @@ -3773,11 +4175,14 @@ public Builder clearMatchingJobs() { return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder removeMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -3790,39 +4195,50 @@ public Builder removeMatchingJobs(int index) { return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder( int index) { return getMatchingJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder + getMatchingJobsOrBuilder(int index) { if (matchingJobsBuilder_ == null) { - return matchingJobs_.get(index); } else { + return matchingJobs_.get(index); + } else { return matchingJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List - getMatchingJobsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + getMatchingJobsOrBuilderList() { if (matchingJobsBuilder_ != null) { return matchingJobsBuilder_.getMessageOrBuilderList(); } else { @@ -3830,75 +4246,101 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMat } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder() { - return getMatchingJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder + addMatchingJobsBuilder() { + return getMatchingJobsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder( int index) { - return getMatchingJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); + return getMatchingJobsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List - getMatchingJobsBuilderList() { + public java.util.List + getMatchingJobsBuilderList() { return getMatchingJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsFieldBuilder() { if (matchingJobsBuilder_ == null) { - matchingJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + matchingJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>( + matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; } private java.util.List histogramQueryResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHistogramQueryResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - histogramQueryResults_ = new java.util.ArrayList(histogramQueryResults_); + histogramQueryResults_ = + new java.util.ArrayList( + histogramQueryResults_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> histogramQueryResultsBuilder_; + com.google.cloud.talent.v4.HistogramQueryResult, + com.google.cloud.talent.v4.HistogramQueryResult.Builder, + com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> + histogramQueryResultsBuilder_; /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List getHistogramQueryResultsList() { + public java.util.List + getHistogramQueryResultsList() { if (histogramQueryResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(histogramQueryResults_); } else { @@ -3906,12 +4348,15 @@ public java.util.List getHistog } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public int getHistogramQueryResultsCount() { if (histogramQueryResultsBuilder_ == null) { @@ -3921,12 +4366,15 @@ public int getHistogramQueryResultsCount() { } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -3936,12 +4384,15 @@ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults( } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult value) { @@ -3958,12 +4409,15 @@ public Builder setHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -3977,12 +4431,15 @@ public Builder setHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults(com.google.cloud.talent.v4.HistogramQueryResult value) { if (histogramQueryResultsBuilder_ == null) { @@ -3998,12 +4455,15 @@ public Builder addHistogramQueryResults(com.google.cloud.talent.v4.HistogramQuer return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult value) { @@ -4020,12 +4480,15 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4039,12 +4502,15 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4058,19 +4524,21 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addAllHistogramQueryResults( java.lang.Iterable values) { if (histogramQueryResultsBuilder_ == null) { ensureHistogramQueryResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, histogramQueryResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueryResults_); onChanged(); } else { histogramQueryResultsBuilder_.addAllMessages(values); @@ -4078,12 +4546,15 @@ public Builder addAllHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder clearHistogramQueryResults() { if (histogramQueryResultsBuilder_ == null) { @@ -4096,12 +4567,15 @@ public Builder clearHistogramQueryResults() { return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder removeHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4114,42 +4588,52 @@ public Builder removeHistogramQueryResults(int index) { return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public com.google.cloud.talent.v4.HistogramQueryResult.Builder getHistogramQueryResultsBuilder( int index) { return getHistogramQueryResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder + getHistogramQueryResultsOrBuilder(int index) { if (histogramQueryResultsBuilder_ == null) { - return histogramQueryResults_.get(index); } else { + return histogramQueryResults_.get(index); + } else { return histogramQueryResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List - getHistogramQueryResultsOrBuilderList() { + public java.util.List + getHistogramQueryResultsOrBuilderList() { if (histogramQueryResultsBuilder_ != null) { return histogramQueryResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4157,48 +4641,64 @@ public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQuer } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQueryResultsBuilder() { - return getHistogramQueryResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4.HistogramQueryResult.Builder + addHistogramQueryResultsBuilder() { + return getHistogramQueryResultsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQueryResultsBuilder( int index) { - return getHistogramQueryResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); + return getHistogramQueryResultsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List - getHistogramQueryResultsBuilderList() { + public java.util.List + getHistogramQueryResultsBuilderList() { return getHistogramQueryResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> + com.google.cloud.talent.v4.HistogramQueryResult, + com.google.cloud.talent.v4.HistogramQueryResult.Builder, + com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> getHistogramQueryResultsFieldBuilder() { if (histogramQueryResultsBuilder_ == null) { - histogramQueryResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>( + histogramQueryResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.HistogramQueryResult, + com.google.cloud.talent.v4.HistogramQueryResult.Builder, + com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>( histogramQueryResults_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4210,19 +4710,21 @@ public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQuery private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4231,21 +4733,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4253,75 +4756,89 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - locationFilters_ = new java.util.ArrayList(locationFilters_); + locationFilters_ = + new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> locationFiltersBuilder_; + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> + locationFiltersBuilder_; /** + * + * *
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4338,6 +4855,8 @@ public java.util.List getLocationFiltersLis
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4354,6 +4873,8 @@ public int getLocationFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4370,6 +4891,8 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4378,8 +4901,7 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder setLocationFilters(
-        int index, com.google.cloud.talent.v4.Location value) {
+    public Builder setLocationFilters(int index, com.google.cloud.talent.v4.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4393,6 +4915,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4413,6 +4937,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4435,6 +4961,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4443,8 +4971,7 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location value) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder addLocationFilters(
-        int index, com.google.cloud.talent.v4.Location value) {
+    public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4458,6 +4985,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4466,8 +4995,7 @@ public Builder addLocationFilters(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder addLocationFilters(
-        com.google.cloud.talent.v4.Location.Builder builderForValue) {
+    public Builder addLocationFilters(com.google.cloud.talent.v4.Location.Builder builderForValue) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
         locationFilters_.add(builderForValue.build());
@@ -4478,6 +5006,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4498,6 +5028,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4510,8 +5042,7 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -4519,6 +5050,8 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4538,6 +5071,8 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4557,6 +5092,8 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4565,11 +5102,12 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4578,14 +5116,16 @@ public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);  } else {
+        return locationFilters_.get(index);
+      } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4594,8 +5134,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public java.util.List 
-         getLocationFiltersOrBuilderList() {
+    public java.util.List
+        getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -4603,6 +5143,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4612,10 +5154,12 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
     public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.Location.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.Location.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4624,12 +5168,13 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder() {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(
-        int index) {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.Location.getDefaultInstance());
+    public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(int index) {
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.Location.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4638,16 +5183,22 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public java.util.List 
-         getLocationFiltersBuilderList() {
+    public java.util.List
+        getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
+            com.google.cloud.talent.v4.Location,
+            com.google.cloud.talent.v4.Location.Builder,
+            com.google.cloud.talent.v4.LocationOrBuilder>
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
+        locationFiltersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.Location,
+                com.google.cloud.talent.v4.Location.Builder,
+                com.google.cloud.talent.v4.LocationOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -4657,14 +5208,17 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(
       return locationFiltersBuilder_;
     }
 
-    private int totalSize_ ;
+    private int totalSize_;
     /**
+     *
+     *
      * 
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; + * * @return The totalSize. */ @java.lang.Override @@ -4672,32 +5226,38 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; + * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** + * + * *
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; + * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; @@ -4705,36 +5265,49 @@ public Builder clearTotalSize() { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4756,6 +5329,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4775,6 +5350,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4786,7 +5363,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -4798,6 +5377,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4817,6 +5398,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4825,11 +5408,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4841,11 +5426,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4854,21 +5442,26 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private int broadenedQueryJobsCount_ ;
+    private int broadenedQueryJobsCount_;
     /**
+     *
+     *
      * 
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4880,6 +5473,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -4887,6 +5481,8 @@ public int getBroadenedQueryJobsCount() { return broadenedQueryJobsCount_; } /** + * + * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4898,16 +5494,19 @@ public int getBroadenedQueryJobsCount() {
      * 
* * int32 broadened_query_jobs_count = 8; + * * @param value The broadenedQueryJobsCount to set. * @return This builder for chaining. */ public Builder setBroadenedQueryJobsCount(int value) { - + broadenedQueryJobsCount_ = value; onChanged(); return this; } /** + * + * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4919,10 +5518,11 @@ public Builder setBroadenedQueryJobsCount(int value) {
      * 
* * int32 broadened_query_jobs_count = 8; + * * @return This builder for chaining. */ public Builder clearBroadenedQueryJobsCount() { - + broadenedQueryJobsCount_ = 0; onChanged(); return this; @@ -4930,34 +5530,47 @@ public Builder clearBroadenedQueryJobsCount() { private com.google.cloud.talent.v4.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> spellCorrectionBuilder_; + com.google.cloud.talent.v4.SpellingCorrection, + com.google.cloud.talent.v4.SpellingCorrection.Builder, + com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> + spellCorrectionBuilder_; /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ public boolean hasSpellCorrection() { return spellCorrectionBuilder_ != null || spellCorrection_ != null; } /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ public com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection() { if (spellCorrectionBuilder_ == null) { - return spellCorrection_ == null ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } else { return spellCorrectionBuilder_.getMessage(); } } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -4978,6 +5591,8 @@ public Builder setSpellCorrection(com.google.cloud.talent.v4.SpellingCorrection return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -4996,6 +5611,8 @@ public Builder setSpellCorrection( return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5006,7 +5623,9 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4.SpellingCorrectio if (spellCorrectionBuilder_ == null) { if (spellCorrection_ != null) { spellCorrection_ = - com.google.cloud.talent.v4.SpellingCorrection.newBuilder(spellCorrection_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.SpellingCorrection.newBuilder(spellCorrection_) + .mergeFrom(value) + .buildPartial(); } else { spellCorrection_ = value; } @@ -5018,6 +5637,8 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4.SpellingCorrectio return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5036,6 +5657,8 @@ public Builder clearSpellCorrection() { return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5043,11 +5666,13 @@ public Builder clearSpellCorrection() { * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; */ public com.google.cloud.talent.v4.SpellingCorrection.Builder getSpellCorrectionBuilder() { - + onChanged(); return getSpellCorrectionFieldBuilder().getBuilder(); } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5058,11 +5683,14 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection if (spellCorrectionBuilder_ != null) { return spellCorrectionBuilder_.getMessageOrBuilder(); } else { - return spellCorrection_ == null ? - com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5070,21 +5698,24 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> + com.google.cloud.talent.v4.SpellingCorrection, + com.google.cloud.talent.v4.SpellingCorrection.Builder, + com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> getSpellCorrectionFieldBuilder() { if (spellCorrectionBuilder_ == null) { - spellCorrectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder>( - getSpellCorrection(), - getParentForChildren(), - isClean()); + spellCorrectionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.SpellingCorrection, + com.google.cloud.talent.v4.SpellingCorrection.Builder, + com.google.cloud.talent.v4.SpellingCorrectionOrBuilder>( + getSpellCorrection(), getParentForChildren(), isClean()); spellCorrection_ = null; } return spellCorrectionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5094,12 +5725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse) private static final com.google.cloud.talent.v4.SearchJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse(); } @@ -5108,27 +5739,27 @@ public static com.google.cloud.talent.v4.SearchJobsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5143,6 +5774,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SearchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java similarity index 88% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java index ff7f36f9b532..3767d6f48293 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface SearchJobsResponseOrBuilder extends +public interface SearchJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List - getMatchingJobsList(); + java.util.List getMatchingJobsList(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -25,6 +44,8 @@ public interface SearchJobsResponseOrBuilder extends */ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs(int index); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -33,15 +54,19 @@ public interface SearchJobsResponseOrBuilder extends */ int getMatchingJobsCount(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List + java.util.List getMatchingJobsOrBuilderList(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -52,6 +77,8 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo int index); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -59,9 +86,10 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    *
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
-  java.util.List 
-      getHistogramQueryResultsList();
+  java.util.List getHistogramQueryResultsList();
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -71,6 +99,8 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    */
   com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(int index);
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -80,6 +110,8 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    */
   int getHistogramQueryResultsCount();
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -87,9 +119,11 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    *
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
-  java.util.List 
+  java.util.List
       getHistogramQueryResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -101,28 +135,35 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
       int index);
 
   /**
+   *
+   *
    * 
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -131,9 +172,10 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  java.util.List 
-      getLocationFiltersList();
+  java.util.List getLocationFiltersList();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -144,6 +186,8 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    */
   com.google.cloud.talent.v4.Location getLocationFilters(int index);
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -154,6 +198,8 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    */
   int getLocationFiltersCount();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -162,9 +208,11 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  java.util.List 
+  java.util.List
       getLocationFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -173,41 +221,51 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Number of jobs that match the specified query.
    * Note: This size is precise only if the total is less than 100,000.
    * 
* * int32 total_size = 6; + * * @return The totalSize. */ int getTotalSize(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -218,6 +276,8 @@ com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -229,29 +289,38 @@ com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
    * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ int getBroadenedQueryJobsCount(); /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ boolean hasSpellCorrection(); /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection(); /** + * + * *
    * The spell checking result, and correction.
    * 
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java similarity index 71% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java index 9f8075ce5aa3..7cffbbe206bc 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Spell check result.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SpellingCorrection} */ -public final class SpellingCorrection extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpellingCorrection extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SpellingCorrection) SpellingCorrectionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpellingCorrection.newBuilder() to construct. private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpellingCorrection() { correctedText_ = ""; correctedHtml_ = ""; @@ -26,37 +44,41 @@ private SpellingCorrection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpellingCorrection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SpellingCorrection.class, com.google.cloud.talent.v4.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4.SpellingCorrection.class, + com.google.cloud.talent.v4.SpellingCorrection.Builder.class); } public static final int CORRECTED_FIELD_NUMBER = 1; private boolean corrected_; /** + * + * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; + * * @return The corrected. */ @java.lang.Override @@ -67,11 +89,14 @@ public boolean getCorrected() { public static final int CORRECTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object correctedText_; /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The correctedText. */ @java.lang.Override @@ -80,29 +105,29 @@ public java.lang.String getCorrectedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; } } /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ @java.lang.Override - public com.google.protobuf.ByteString - getCorrectedTextBytes() { + public com.google.protobuf.ByteString getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedText_ = b; return b; } else { @@ -113,6 +138,8 @@ public java.lang.String getCorrectedText() { public static final int CORRECTED_HTML_FIELD_NUMBER = 3; private volatile java.lang.Object correctedHtml_; /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -123,6 +150,7 @@ public java.lang.String getCorrectedText() {
    * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ @java.lang.Override @@ -131,14 +159,15 @@ public java.lang.String getCorrectedHtml() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; } } /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -149,16 +178,15 @@ public java.lang.String getCorrectedHtml() {
    * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ @java.lang.Override - public com.google.protobuf.ByteString - getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -167,6 +195,7 @@ public java.lang.String getCorrectedHtml() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (corrected_ != false) { output.writeBool(1, corrected_); } @@ -199,8 +227,7 @@ public int getSerializedSize() { size = 0; if (corrected_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, corrected_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, corrected_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correctedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, correctedText_); @@ -216,19 +243,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SpellingCorrection)) { return super.equals(obj); } - com.google.cloud.talent.v4.SpellingCorrection other = (com.google.cloud.talent.v4.SpellingCorrection) obj; + com.google.cloud.talent.v4.SpellingCorrection other = + (com.google.cloud.talent.v4.SpellingCorrection) obj; - if (getCorrected() - != other.getCorrected()) return false; - if (!getCorrectedText() - .equals(other.getCorrectedText())) return false; - if (!getCorrectedHtml() - .equals(other.getCorrectedHtml())) return false; + if (getCorrected() != other.getCorrected()) return false; + if (!getCorrectedText().equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,8 +266,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCorrected()); hash = (37 * hash) + CORRECTED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getCorrectedText().hashCode(); hash = (37 * hash) + CORRECTED_HTML_FIELD_NUMBER; @@ -252,130 +276,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.SpellingCorrection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Spell check result.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SpellingCorrection} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SpellingCorrection) com.google.cloud.talent.v4.SpellingCorrectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SpellingCorrection.class, com.google.cloud.talent.v4.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4.SpellingCorrection.class, + com.google.cloud.talent.v4.SpellingCorrection.Builder.class); } // Construct using com.google.cloud.talent.v4.SpellingCorrection.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override @@ -410,7 +440,8 @@ public com.google.cloud.talent.v4.SpellingCorrection build() { @java.lang.Override public com.google.cloud.talent.v4.SpellingCorrection buildPartial() { - com.google.cloud.talent.v4.SpellingCorrection result = new com.google.cloud.talent.v4.SpellingCorrection(this); + com.google.cloud.talent.v4.SpellingCorrection result = + new com.google.cloud.talent.v4.SpellingCorrection(this); result.corrected_ = corrected_; result.correctedText_ = correctedText_; result.correctedHtml_ = correctedHtml_; @@ -422,38 +453,39 @@ public com.google.cloud.talent.v4.SpellingCorrection buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SpellingCorrection) { - return mergeFrom((com.google.cloud.talent.v4.SpellingCorrection)other); + return mergeFrom((com.google.cloud.talent.v4.SpellingCorrection) other); } else { super.mergeFrom(other); return this; @@ -499,27 +531,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - corrected_ = input.readBool(); - - break; - } // case 8 - case 18: { - correctedText_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - correctedHtml_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + corrected_ = input.readBool(); + + break; + } // case 8 + case 18: + { + correctedText_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + correctedHtml_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,13 +566,16 @@ public Builder mergeFrom( return this; } - private boolean corrected_ ; + private boolean corrected_; /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @return The corrected. */ @java.lang.Override @@ -544,30 +583,36 @@ public boolean getCorrected() { return corrected_; } /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @param value The corrected to set. * @return This builder for chaining. */ public Builder setCorrected(boolean value) { - + corrected_ = value; onChanged(); return this; } /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @return This builder for chaining. */ public Builder clearCorrected() { - + corrected_ = false; onChanged(); return this; @@ -575,18 +620,20 @@ public Builder clearCorrected() { private java.lang.Object correctedText_ = ""; /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return The correctedText. */ public java.lang.String getCorrectedText() { java.lang.Object ref = correctedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; @@ -595,20 +642,21 @@ public java.lang.String getCorrectedText() { } } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ - public com.google.protobuf.ByteString - getCorrectedTextBytes() { + public com.google.protobuf.ByteString getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedText_ = b; return b; } else { @@ -616,54 +664,61 @@ public java.lang.String getCorrectedText() { } } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @param value The correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedText( - java.lang.String value) { + public Builder setCorrectedText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedText_ = value; onChanged(); return this; } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return This builder for chaining. */ public Builder clearCorrectedText() { - + correctedText_ = getDefaultInstance().getCorrectedText(); onChanged(); return this; } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @param value The bytes for correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedTextBytes( - com.google.protobuf.ByteString value) { + public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedText_ = value; onChanged(); return this; @@ -671,6 +726,8 @@ public Builder setCorrectedTextBytes( private java.lang.Object correctedHtml_ = ""; /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -681,13 +738,13 @@ public Builder setCorrectedTextBytes(
      * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ public java.lang.String getCorrectedHtml() { java.lang.Object ref = correctedHtml_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; @@ -696,6 +753,8 @@ public java.lang.String getCorrectedHtml() { } } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -706,15 +765,14 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ - public com.google.protobuf.ByteString - getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -722,6 +780,8 @@ public java.lang.String getCorrectedHtml() { } } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -732,20 +792,22 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @param value The correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtml( - java.lang.String value) { + public Builder setCorrectedHtml(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedHtml_ = value; onChanged(); return this; } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -756,15 +818,18 @@ public Builder setCorrectedHtml(
      * 
* * string corrected_html = 3; + * * @return This builder for chaining. */ public Builder clearCorrectedHtml() { - + correctedHtml_ = getDefaultInstance().getCorrectedHtml(); onChanged(); return this; } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -775,23 +840,23 @@ public Builder clearCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @param value The bytes for correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtmlBytes( - com.google.protobuf.ByteString value) { + public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedHtml_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SpellingCorrection) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SpellingCorrection) private static final com.google.cloud.talent.v4.SpellingCorrection DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SpellingCorrection(); } @@ -815,27 +880,27 @@ public static com.google.cloud.talent.v4.SpellingCorrection getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpellingCorrection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpellingCorrection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,6 +915,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SpellingCorrection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java similarity index 70% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java index 460680d980c6..96e411970526 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java @@ -1,43 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface SpellingCorrectionOrBuilder extends +public interface SpellingCorrectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SpellingCorrection) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; + * * @return The corrected. */ boolean getCorrected(); /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The correctedText. */ java.lang.String getCorrectedText(); /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ - com.google.protobuf.ByteString - getCorrectedTextBytes(); + com.google.protobuf.ByteString getCorrectedTextBytes(); /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -48,10 +74,13 @@ public interface SpellingCorrectionOrBuilder extends
    * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ java.lang.String getCorrectedHtml(); /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -62,8 +91,8 @@ public interface SpellingCorrectionOrBuilder extends
    * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ - com.google.protobuf.ByteString - getCorrectedHtmlBytes(); + com.google.protobuf.ByteString getCorrectedHtmlBytes(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java similarity index 70% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java index 9cef52604d00..d34feb7436f9 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant.proto package com.google.cloud.talent.v4; /** + * + * *
  * A Tenant resource represents a tenant in the service. A tenant is a group or
  * entity that shares common access with specific privileges for resources like
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Tenant}
  */
-public final class Tenant extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tenant extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Tenant)
     TenantOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tenant.newBuilder() to construct.
   private Tenant(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tenant() {
     name_ = "";
     externalId_ = "";
@@ -29,32 +47,35 @@ private Tenant() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tenant();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.TenantProto
+        .internal_static_google_cloud_talent_v4_Tenant_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
+    return com.google.cloud.talent.v4.TenantProto
+        .internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.Tenant.class, com.google.cloud.talent.v4.Tenant.Builder.class);
+            com.google.cloud.talent.v4.Tenant.class,
+            com.google.cloud.talent.v4.Tenant.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -64,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -72,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -89,16 +112,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -109,12 +131,15 @@ public java.lang.String getName() { public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ @java.lang.Override @@ -123,30 +148,30 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -155,6 +180,7 @@ public java.lang.String getExternalId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -197,17 +222,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Tenant)) { return super.equals(obj); } com.google.cloud.talent.v4.Tenant other = (com.google.cloud.talent.v4.Tenant) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getExternalId() - .equals(other.getExternalId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,97 +251,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Tenant parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Tenant parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Tenant parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.Tenant parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Tenant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Tenant parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Tenant parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Tenant parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Tenant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Tenant parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Tenant parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Tenant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Tenant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Tenant resource represents a tenant in the service. A tenant is a group or
    * entity that shares common access with specific privileges for resources like
@@ -328,33 +357,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.Tenant}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Tenant)
       com.google.cloud.talent.v4.TenantOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.TenantProto
+          .internal_static_google_cloud_talent_v4_Tenant_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
+      return com.google.cloud.talent.v4.TenantProto
+          .internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.Tenant.class, com.google.cloud.talent.v4.Tenant.Builder.class);
+              com.google.cloud.talent.v4.Tenant.class,
+              com.google.cloud.talent.v4.Tenant.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Tenant.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -366,9 +394,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.TenantProto
+          .internal_static_google_cloud_talent_v4_Tenant_descriptor;
     }
 
     @java.lang.Override
@@ -398,38 +426,39 @@ public com.google.cloud.talent.v4.Tenant buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Tenant) {
-        return mergeFrom((com.google.cloud.talent.v4.Tenant)other);
+        return mergeFrom((com.google.cloud.talent.v4.Tenant) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -472,22 +501,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              externalId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                externalId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -500,6 +532,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -509,13 +543,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -524,6 +558,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -533,15 +569,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -549,6 +584,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -558,20 +595,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -581,15 +620,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -599,16 +641,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -616,19 +658,21 @@ public Builder setNameBytes( private java.lang.Object externalId_ = ""; /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -637,21 +681,22 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -659,64 +704,71 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId( - java.lang.String value) { + public Builder setExternalId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -726,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Tenant) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Tenant) private static final com.google.cloud.talent.v4.Tenant DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Tenant(); } @@ -740,27 +792,27 @@ public static com.google.cloud.talent.v4.Tenant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tenant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tenant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -775,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Tenant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java similarity index 100% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java similarity index 66% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java index 464d16958d06..232e4cb12843 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant.proto package com.google.cloud.talent.v4; -public interface TenantOrBuilder extends +public interface TenantOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Tenant) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -17,10 +35,13 @@ public interface TenantOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -30,30 +51,35 @@ public interface TenantOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ java.lang.String getExternalId(); /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - com.google.protobuf.ByteString - getExternalIdBytes(); + com.google.protobuf.ByteString getExternalIdBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java new file mode 100644 index 000000000000..83b26d9a14e9 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant.proto + +package com.google.cloud.talent.v4; + +public final class TenantProto { + private TenantProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Tenant_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/talent/v4/tenant.proto\022\026g" + + "oogle.cloud.talent.v4\032\037google/api/field_" + + "behavior.proto\032\031google/api/resource.prot" + + "o\"v\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013external_id" + + "\030\002 \001(\tB\003\340A\002:D\352AA\n\032jobs.googleapis.com/Te" + + "nant\022#projects/{project}/tenants/{tenant" + + "}Bo\n\032com.google.cloud.talent.v4B\013TenantP" + + "rotoP\001Z * Message representing a period of time between two timestamps. *
* * Protobuf type {@code google.cloud.talent.v4.TimestampRange} */ -public final class TimestampRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.TimestampRange) TimestampRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimestampRange() { - } + + private TimestampRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimestampRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.TimestampRange.class, com.google.cloud.talent.v4.TimestampRange.Builder.class); + com.google.cloud.talent.v4.TimestampRange.class, + com.google.cloud.talent.v4.TimestampRange.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -62,11 +83,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Begin of the period (inclusive).
    * 
@@ -88,11 +114,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +129,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -112,6 +144,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * End of the period (exclusive).
    * 
@@ -124,6 +158,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -153,12 +187,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +200,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.TimestampRange)) { return super.equals(obj); } - com.google.cloud.talent.v4.TimestampRange other = (com.google.cloud.talent.v4.TimestampRange) obj; + com.google.cloud.talent.v4.TimestampRange other = + (com.google.cloud.talent.v4.TimestampRange) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,130 +240,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.TimestampRange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message representing a period of time between two timestamps.
    * 
* * Protobuf type {@code google.cloud.talent.v4.TimestampRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.TimestampRange) com.google.cloud.talent.v4.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.TimestampRange.class, com.google.cloud.talent.v4.TimestampRange.Builder.class); + com.google.cloud.talent.v4.TimestampRange.class, + com.google.cloud.talent.v4.TimestampRange.Builder.class); } // Construct using com.google.cloud.talent.v4.TimestampRange.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override @@ -373,7 +410,8 @@ public com.google.cloud.talent.v4.TimestampRange build() { @java.lang.Override public com.google.cloud.talent.v4.TimestampRange buildPartial() { - com.google.cloud.talent.v4.TimestampRange result = new com.google.cloud.talent.v4.TimestampRange(this); + com.google.cloud.talent.v4.TimestampRange result = + new com.google.cloud.talent.v4.TimestampRange(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -392,38 +430,39 @@ public com.google.cloud.talent.v4.TimestampRange buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.TimestampRange) { - return mergeFrom((com.google.cloud.talent.v4.TimestampRange)other); + return mergeFrom((com.google.cloud.talent.v4.TimestampRange) other); } else { super.mergeFrom(other); return this; @@ -464,26 +503,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,24 +534,33 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -524,6 +571,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -544,14 +593,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -562,6 +612,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -572,7 +624,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -584,6 +636,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -602,6 +656,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -609,11 +665,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -624,11 +682,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -636,14 +695,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -651,24 +713,33 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -679,6 +750,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -699,14 +772,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -717,6 +791,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -727,7 +803,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -739,6 +815,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -757,6 +835,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -764,11 +844,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -779,11 +861,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -791,21 +874,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,12 +901,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.TimestampRange) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.TimestampRange) private static final com.google.cloud.talent.v4.TimestampRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.TimestampRange(); } @@ -829,27 +915,27 @@ public static com.google.cloud.talent.v4.TimestampRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java similarity index 67% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java index fae1667a3322..775b0aeffc63 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface TimestampRangeOrBuilder extends +public interface TimestampRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.TimestampRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Begin of the period (inclusive).
    * 
@@ -35,24 +59,32 @@ public interface TimestampRangeOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * End of the period (exclusive).
    * 
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java similarity index 72% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java index 8877fdca2aa8..d2c436575a90 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java @@ -1,60 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Request for updating a specified company.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateCompanyRequest} */ -public final class UpdateCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateCompanyRequest) UpdateCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCompanyRequest.newBuilder() to construct. private UpdateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCompanyRequest() { - } + + private UpdateCompanyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateCompanyRequest.class, com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.UpdateCompanyRequest.class, + com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); } public static final int COMPANY_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Company company_; /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasCompany() { return company_ != null; } /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.cloud.talent.v4.Company getCompany() { return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { @@ -88,6 +117,8 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +128,7 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (company_ != null) {
       output.writeMessage(1, getCompany());
     }
@@ -165,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (company_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCompany());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCompany());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +215,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateCompanyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateCompanyRequest other = (com.google.cloud.talent.v4.UpdateCompanyRequest) obj;
+    com.google.cloud.talent.v4.UpdateCompanyRequest other =
+        (com.google.cloud.talent.v4.UpdateCompanyRequest) obj;
 
     if (hasCompany() != other.hasCompany()) return false;
     if (hasCompany()) {
-      if (!getCompany()
-          .equals(other.getCompany())) return false;
+      if (!getCompany().equals(other.getCompany())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +255,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateCompanyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request for updating a specified company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateCompanyRequest) com.google.cloud.talent.v4.UpdateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateCompanyRequest.class, com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.UpdateCompanyRequest.class, + com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateCompanyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override @@ -385,7 +425,8 @@ public com.google.cloud.talent.v4.UpdateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateCompanyRequest buildPartial() { - com.google.cloud.talent.v4.UpdateCompanyRequest result = new com.google.cloud.talent.v4.UpdateCompanyRequest(this); + com.google.cloud.talent.v4.UpdateCompanyRequest result = + new com.google.cloud.talent.v4.UpdateCompanyRequest(this); if (companyBuilder_ == null) { result.company_ = company_; } else { @@ -404,38 +445,39 @@ public com.google.cloud.talent.v4.UpdateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4.UpdateCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -443,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.UpdateCompanyRequest other) { - if (other == com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance()) + return this; if (other.hasCompany()) { mergeCompany(other.getCompany()); } @@ -476,26 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCompanyFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,39 +550,55 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companyBuilder_; + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> + companyBuilder_; /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ public com.google.cloud.talent.v4.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4.Company.getDefaultInstance() + : company_; } else { return companyBuilder_.getMessage(); } } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { @@ -556,14 +614,16 @@ public Builder setCompany(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompany( - com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -574,17 +634,22 @@ public Builder setCompany( return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4.Company.newBuilder(company_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Company.newBuilder(company_) + .mergeFrom(value) + .buildPartial(); } else { company_ = value; } @@ -596,11 +661,14 @@ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -614,48 +682,61 @@ public Builder clearCompany() { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null ? - com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4.Company.getDefaultInstance() + : company_; } } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( - getCompany(), - getParentForChildren(), - isClean()); + companyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder>( + getCompany(), getParentForChildren(), isClean()); company_ = null; } return companyBuilder_; @@ -663,8 +744,13 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +760,15 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +778,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +817,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +829,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +840,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +856,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +868,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +892,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +905,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +926,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +945,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +972,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateCompanyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateCompanyRequest)
   private static final com.google.cloud.talent.v4.UpdateCompanyRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateCompanyRequest();
   }
@@ -877,27 +986,27 @@ public static com.google.cloud.talent.v4.UpdateCompanyRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateCompanyRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateCompanyRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1021,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateCompanyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
index bb5a6e6af1ce..5c7bc3677d63 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateCompanyRequestOrBuilder extends
+public interface UpdateCompanyRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateCompanyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ boolean hasCompany(); /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ com.google.cloud.talent.v4.Company getCompany(); /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +73,13 @@ public interface UpdateCompanyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +89,13 @@ public interface UpdateCompanyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
index 99a4ad4f9ee7..290c287161c6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
@@ -1,60 +1,81 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Update job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateJobRequest} */ -public final class UpdateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateJobRequest) UpdateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateJobRequest() { - } + + private UpdateJobRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateJobRequest.class, com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4.UpdateJobRequest.class, + com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** + * + * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ @java.lang.Override @@ -62,11 +83,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The Job to be updated.
    * 
@@ -88,6 +114,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +125,7 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +133,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +144,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +152,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +170,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +182,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -165,12 +199,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +212,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateJobRequest other = (com.google.cloud.talent.v4.UpdateJobRequest) obj;
+    com.google.cloud.talent.v4.UpdateJobRequest other =
+        (com.google.cloud.talent.v4.UpdateJobRequest) obj;
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob()
-          .equals(other.getJob())) return false;
+      if (!getJob().equals(other.getJob())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +252,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Update job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateJobRequest) com.google.cloud.talent.v4.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateJobRequest.class, com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4.UpdateJobRequest.class, + com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override @@ -385,7 +422,8 @@ public com.google.cloud.talent.v4.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateJobRequest buildPartial() { - com.google.cloud.talent.v4.UpdateJobRequest result = new com.google.cloud.talent.v4.UpdateJobRequest(this); + com.google.cloud.talent.v4.UpdateJobRequest result = + new com.google.cloud.talent.v4.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -404,38 +442,39 @@ public com.google.cloud.talent.v4.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4.UpdateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -476,26 +515,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,24 +546,33 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -536,6 +583,8 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -556,14 +605,15 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -574,6 +624,8 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -583,8 +635,7 @@ public Builder setJob( public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = - com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -596,6 +647,8 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -614,6 +667,8 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -621,11 +676,13 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -636,11 +693,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -648,14 +706,17 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -663,8 +724,13 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +740,15 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +758,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +797,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +809,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +820,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +836,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +848,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +872,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +885,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +906,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +925,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +952,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateJobRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateJobRequest)
   private static final com.google.cloud.talent.v4.UpdateJobRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateJobRequest();
   }
@@ -877,27 +966,27 @@ public static com.google.cloud.talent.v4.UpdateJobRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateJobRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateJobRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1001,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateJobRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
similarity index 79%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
index aab8d86d434e..3e29fb29fa06 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateJobRequestOrBuilder extends
+public interface UpdateJobRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateJobRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** + * + * *
    * Required. The Job to be updated.
    * 
@@ -35,6 +59,8 @@ public interface UpdateJobRequestOrBuilder extends com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +70,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +86,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
index 5f06bc547614..140347efaeaa 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
@@ -1,60 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Request for updating a specified tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateTenantRequest} */ -public final class UpdateTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateTenantRequest) UpdateTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTenantRequest.newBuilder() to construct. private UpdateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTenantRequest() { - } + + private UpdateTenantRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateTenantRequest.class, com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4.UpdateTenantRequest.class, + com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Tenant tenant_; /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasTenant() { return tenant_ != null; } /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.cloud.talent.v4.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { @@ -88,6 +117,8 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +128,7 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tenant_ != null) {
       output.writeMessage(1, getTenant());
     }
@@ -165,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tenant_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTenant());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTenant());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +215,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateTenantRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateTenantRequest other = (com.google.cloud.talent.v4.UpdateTenantRequest) obj;
+    com.google.cloud.talent.v4.UpdateTenantRequest other =
+        (com.google.cloud.talent.v4.UpdateTenantRequest) obj;
 
     if (hasTenant() != other.hasTenant()) return false;
     if (hasTenant()) {
-      if (!getTenant()
-          .equals(other.getTenant())) return false;
+      if (!getTenant().equals(other.getTenant())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +255,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateTenantRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request for updating a specified tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateTenantRequest) com.google.cloud.talent.v4.UpdateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateTenantRequest.class, com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4.UpdateTenantRequest.class, + com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateTenantRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override @@ -385,7 +425,8 @@ public com.google.cloud.talent.v4.UpdateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateTenantRequest buildPartial() { - com.google.cloud.talent.v4.UpdateTenantRequest result = new com.google.cloud.talent.v4.UpdateTenantRequest(this); + com.google.cloud.talent.v4.UpdateTenantRequest result = + new com.google.cloud.talent.v4.UpdateTenantRequest(this); if (tenantBuilder_ == null) { result.tenant_ = tenant_; } else { @@ -404,38 +445,39 @@ public com.google.cloud.talent.v4.UpdateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4.UpdateTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -476,26 +518,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getTenantFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,24 +549,35 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantBuilder_; + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> + tenantBuilder_; /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ public com.google.cloud.talent.v4.Tenant getTenant() { @@ -536,11 +588,14 @@ public com.google.cloud.talent.v4.Tenant getTenant() { } } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { @@ -556,14 +611,16 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTenant( - com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -574,17 +631,20 @@ public Builder setTenant( return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -596,11 +656,14 @@ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -614,48 +677,59 @@ public Builder clearTenant() { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? - com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( - getTenant(), - getParentForChildren(), - isClean()); + tenantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder>( + getTenant(), getParentForChildren(), isClean()); tenant_ = null; } return tenantBuilder_; @@ -663,8 +737,13 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +753,15 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +771,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +810,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +822,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +833,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +849,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +861,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +885,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +898,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +919,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +938,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +965,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateTenantRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateTenantRequest)
   private static final com.google.cloud.talent.v4.UpdateTenantRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateTenantRequest();
   }
@@ -877,27 +979,27 @@ public static com.google.cloud.talent.v4.UpdateTenantRequest getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTenantRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTenantRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1014,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateTenantRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
index fd9fd2d7d65e..0bc467800db4 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateTenantRequestOrBuilder extends
+public interface UpdateTenantRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateTenantRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ boolean hasTenant(); /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ com.google.cloud.talent.v4.Tenant getTenant(); /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +73,13 @@ public interface UpdateTenantRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +89,13 @@ public interface UpdateTenantRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
index 804937976dbf..2a3a3732a573 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
@@ -11,9 +28,11 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.Visibility}
  */
-@java.lang.Deprecated public enum Visibility
-    implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated
+public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -22,6 +41,8 @@ */ VISIBILITY_UNSPECIFIED(0), /** + * + * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -30,6 +51,8 @@ */ ACCOUNT_ONLY(1), /** + * + * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -39,6 +62,8 @@
    */
   SHARED_WITH_GOOGLE(2),
   /**
+   *
+   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -51,6 +76,8 @@
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -59,6 +86,8 @@ */ public static final int VISIBILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -67,6 +96,8 @@ */ public static final int ACCOUNT_ONLY_VALUE = 1; /** + * + * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -76,6 +107,8 @@
    */
   public static final int SHARED_WITH_GOOGLE_VALUE = 2;
   /**
+   *
+   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -85,7 +118,6 @@
    */
   public static final int SHARED_WITH_PUBLIC_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -110,50 +142,51 @@ public static Visibility valueOf(int value) {
    */
   public static Visibility forNumber(int value) {
     switch (value) {
-      case 0: return VISIBILITY_UNSPECIFIED;
-      case 1: return ACCOUNT_ONLY;
-      case 2: return SHARED_WITH_GOOGLE;
-      case 3: return SHARED_WITH_PUBLIC;
-      default: return null;
+      case 0:
+        return VISIBILITY_UNSPECIFIED;
+      case 1:
+        return ACCOUNT_ONLY;
+      case 2:
+        return SHARED_WITH_GOOGLE;
+      case 3:
+        return SHARED_WITH_PUBLIC;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      Visibility> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Visibility findValueByNumber(int number) {
-            return Visibility.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public Visibility findValueByNumber(int number) {
+          return Visibility.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(7);
   }
 
   private static final Visibility[] VALUES = values();
 
-  public static Visibility valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -169,4 +202,3 @@ private Visibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.Visibility)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
similarity index 62%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
index cba932201150..f73e65a663d5 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Request to create a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchCreateJobsRequest} */ -public final class BatchCreateJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchCreateJobsRequest) BatchCreateJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateJobsRequest.newBuilder() to construct. private BatchCreateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -26,32 +44,35 @@ private BatchCreateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -83,17 +108,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,64 +130,84 @@ public java.lang.String getParent() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -194,8 +239,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -205,17 +249,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchCreateJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other = (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) obj; + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other = + (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,129 +282,136 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchCreateJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchCreateJobsRequest) com.google.cloud.talent.v4beta1.BatchCreateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override @@ -399,7 +449,8 @@ public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest result = new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest result = + new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -419,38 +470,39 @@ public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -481,9 +534,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -515,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,10 +604,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -559,14 +618,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -575,6 +636,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -582,16 +645,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -599,6 +663,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -606,21 +672,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -628,16 +698,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -645,40 +720,50 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -688,11 +773,15 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -702,11 +791,15 @@ public int getJobsCount() { } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -716,14 +809,17 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -737,14 +833,17 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -755,11 +854,15 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { @@ -775,14 +878,17 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -796,14 +902,17 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -814,14 +923,17 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -832,18 +944,21 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -851,11 +966,15 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -868,11 +987,15 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -885,39 +1008,50 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -925,56 +1059,69 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -984,12 +1131,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchCreateJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchCreateJobsRequest) private static final com.google.cloud.talent.v4beta1.BatchCreateJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(); } @@ -998,27 +1145,27 @@ public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1180,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java new file mode 100644 index 000000000000..4aa0e527ae78 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java @@ -0,0 +1,121 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface BatchCreateJobsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchCreateJobsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant under which the job is created.
+   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
+   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
+   * is created. For example, "projects/foo".
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the tenant under which the job is created.
+   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
+   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
+   * is created. For example, "projects/foo".
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getJobsList(); + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.talent.v4beta1.Job getJobs(int index); + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getJobsCount(); + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getJobsOrBuilderList(); + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index); +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java similarity index 68% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java index 99a4ae947c2b..5104b5ba74a8 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Batch delete jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} */ -public final class BatchDeleteJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchDeleteJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) BatchDeleteJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchDeleteJobsRequest.newBuilder() to construct. private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchDeleteJobsRequest() { parent_ = ""; filter_ = ""; @@ -26,32 +44,35 @@ private BatchDeleteJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchDeleteJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -83,17 +108,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,6 +130,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -115,6 +143,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -123,14 +152,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -142,16 +172,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -160,6 +189,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,17 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other = (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) obj; + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other = + (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -234,129 +262,136 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Batch delete jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) com.google.cloud.talent.v4beta1.BatchDeleteJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override @@ -389,7 +424,8 @@ public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest result = new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest result = + new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; onBuilt(); @@ -400,38 +436,39 @@ public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -439,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -474,22 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,6 +543,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -509,14 +552,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -525,6 +570,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -532,16 +579,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -549,6 +597,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -556,21 +606,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -578,16 +632,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -595,17 +654,19 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -613,6 +674,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -624,13 +687,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -639,6 +702,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -650,15 +715,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -666,6 +730,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -677,20 +743,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -702,15 +770,18 @@ public Builder setFilter(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -722,23 +793,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -748,12 +819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) private static final com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(); } @@ -762,27 +833,27 @@ public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -797,6 +868,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java index 1512c0dd95bc..d92e7600d773 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface BatchDeleteJobsRequestOrBuilder extends +public interface BatchDeleteJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,13 +50,17 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -45,10 +72,13 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -60,8 +90,8 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java similarity index 74% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java index 7183af8a39b7..fdc364adcb6d 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Metadata used for long running operations returned by CTS batch APIs.
  * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.BatchOperationMetadata}
  */
-public final class BatchOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchOperationMetadata)
     BatchOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchOperationMetadata.newBuilder() to construct.
   private BatchOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchOperationMetadata() {
     state_ = 0;
     stateDescription_ = "";
@@ -27,35 +45,35 @@ private BatchOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.BatchOperationMetadata.class, com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
+            com.google.cloud.talent.v4beta1.BatchOperationMetadata.class,
+            com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
   }
 
-  /**
-   * Protobuf enum {@code google.cloud.talent.v4beta1.BatchOperationMetadata.State}
-   */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  /** Protobuf enum {@code google.cloud.talent.v4beta1.BatchOperationMetadata.State} */
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -64,6 +82,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The batch operation is being prepared for processing.
      * 
@@ -72,6 +92,8 @@ public enum State */ INITIALIZING(1), /** + * + * *
      * The batch operation is actively being processed.
      * 
@@ -80,6 +102,8 @@ public enum State */ PROCESSING(2), /** + * + * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -89,6 +113,8 @@ public enum State
      */
     SUCCEEDED(3),
     /**
+     *
+     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -97,6 +123,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -106,6 +134,8 @@ public enum State
      */
     CANCELLING(5),
     /**
+     *
+     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -119,6 +149,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -127,6 +159,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The batch operation is being prepared for processing.
      * 
@@ -135,6 +169,8 @@ public enum State */ public static final int INITIALIZING_VALUE = 1; /** + * + * *
      * The batch operation is actively being processed.
      * 
@@ -143,6 +179,8 @@ public enum State */ public static final int PROCESSING_VALUE = 2; /** + * + * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -152,6 +190,8 @@ public enum State
      */
     public static final int SUCCEEDED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -160,6 +200,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -169,6 +211,8 @@ public enum State
      */
     public static final int CANCELLING_VALUE = 5;
     /**
+     *
+     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -179,7 +223,6 @@ public enum State
      */
     public static final int CANCELLED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -204,53 +247,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return INITIALIZING;
-        case 2: return PROCESSING;
-        case 3: return SUCCEEDED;
-        case 4: return FAILED;
-        case 5: return CANCELLING;
-        case 6: return CANCELLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return INITIALIZING;
+        case 2:
+          return PROCESSING;
+        case 3:
+          return SUCCEEDED;
+        case 4:
+          return FAILED;
+        case 5:
+          return CANCELLING;
+        case 6:
+          return CANCELLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -270,38 +319,52 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_;
   /**
+   *
+   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED + : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object stateDescription_; /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The stateDescription. */ @java.lang.Override @@ -310,29 +373,29 @@ public java.lang.String getStateDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; } } /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -343,11 +406,14 @@ public java.lang.String getStateDescription() { public static final int SUCCESS_COUNT_FIELD_NUMBER = 3; private int successCount_; /** + * + * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; + * * @return The successCount. */ @java.lang.Override @@ -358,11 +424,14 @@ public int getSuccessCount() { public static final int FAILURE_COUNT_FIELD_NUMBER = 4; private int failureCount_; /** + * + * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; + * * @return The failureCount. */ @java.lang.Override @@ -373,11 +442,14 @@ public int getFailureCount() { public static final int TOTAL_COUNT_FIELD_NUMBER = 5; private int totalCount_; /** + * + * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; + * * @return The totalCount. */ @java.lang.Override @@ -388,11 +460,14 @@ public int getTotalCount() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -400,11 +475,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -412,6 +490,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the batch operation is created.
    * 
@@ -426,6 +506,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -433,6 +515,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -440,6 +523,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -447,6 +532,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ @java.lang.Override @@ -454,6 +540,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -470,12 +558,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 8;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -483,12 +574,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ @java.lang.Override @@ -496,6 +590,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -509,6 +605,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -520,9 +617,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (state_ != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
@@ -555,36 +653,31 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateDescription_);
     }
     if (successCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(3, successCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successCount_);
     }
     if (failureCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, failureCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureCount_);
     }
     if (totalCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(5, totalCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCount_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -594,36 +687,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchOperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.BatchOperationMetadata other = (com.google.cloud.talent.v4beta1.BatchOperationMetadata) obj;
+    com.google.cloud.talent.v4beta1.BatchOperationMetadata other =
+        (com.google.cloud.talent.v4beta1.BatchOperationMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getStateDescription()
-        .equals(other.getStateDescription())) return false;
-    if (getSuccessCount()
-        != other.getSuccessCount()) return false;
-    if (getFailureCount()
-        != other.getFailureCount()) return false;
-    if (getTotalCount()
-        != other.getTotalCount()) return false;
+    if (!getStateDescription().equals(other.getStateDescription())) return false;
+    if (getSuccessCount() != other.getSuccessCount()) return false;
+    if (getFailureCount() != other.getFailureCount()) return false;
+    if (getTotalCount() != other.getTotalCount()) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -664,96 +751,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchOperationMetadata prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.talent.v4beta1.BatchOperationMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Metadata used for long running operations returned by CTS batch APIs.
    * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -761,33 +856,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.BatchOperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchOperationMetadata)
       com.google.cloud.talent.v4beta1.BatchOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.BatchOperationMetadata.class, com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
+              com.google.cloud.talent.v4beta1.BatchOperationMetadata.class,
+              com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.BatchOperationMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -823,9 +917,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -844,7 +938,8 @@ public com.google.cloud.talent.v4beta1.BatchOperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.BatchOperationMetadata buildPartial() {
-      com.google.cloud.talent.v4beta1.BatchOperationMetadata result = new com.google.cloud.talent.v4beta1.BatchOperationMetadata(this);
+      com.google.cloud.talent.v4beta1.BatchOperationMetadata result =
+          new com.google.cloud.talent.v4beta1.BatchOperationMetadata(this);
       result.state_ = state_;
       result.stateDescription_ = stateDescription_;
       result.successCount_ = successCount_;
@@ -873,38 +968,39 @@ public com.google.cloud.talent.v4beta1.BatchOperationMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.BatchOperationMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.BatchOperationMetadata)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.BatchOperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -912,7 +1008,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchOperationMetadata other) {
-      if (other == com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -964,58 +1061,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              stateDescription_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              successCount_ = input.readInt32();
-
-              break;
-            } // case 24
-            case 32: {
-              failureCount_ = input.readInt32();
-
-              break;
-            } // case 32
-            case 40: {
-              totalCount_ = input.readInt32();
-
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                state_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                stateDescription_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                successCount_ = input.readInt32();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                failureCount_ = input.readInt32();
+
+                break;
+              } // case 32
+            case 40:
+              {
+                totalCount_ = input.readInt32();
+
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1028,51 +1128,67 @@ public Builder mergeFrom(
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED + : result; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1080,21 +1196,24 @@ public Builder setState(com.google.cloud.talent.v4beta1.BatchOperationMetadata.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1102,18 +1221,20 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; @@ -1122,20 +1243,21 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -1143,66 +1265,76 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription( - java.lang.String value) { + public Builder setStateDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateDescription_ = value; onChanged(); return this; } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return This builder for chaining. */ public Builder clearStateDescription() { - + stateDescription_ = getDefaultInstance().getStateDescription(); onChanged(); return this; } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; onChanged(); return this; } - private int successCount_ ; + private int successCount_; /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @return The successCount. */ @java.lang.Override @@ -1210,42 +1342,51 @@ public int getSuccessCount() { return successCount_; } /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @param value The successCount to set. * @return This builder for chaining. */ public Builder setSuccessCount(int value) { - + successCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @return This builder for chaining. */ public Builder clearSuccessCount() { - + successCount_ = 0; onChanged(); return this; } - private int failureCount_ ; + private int failureCount_; /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @return The failureCount. */ @java.lang.Override @@ -1253,42 +1394,51 @@ public int getFailureCount() { return failureCount_; } /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @param value The failureCount to set. * @return This builder for chaining. */ public Builder setFailureCount(int value) { - + failureCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @return This builder for chaining. */ public Builder clearFailureCount() { - + failureCount_ = 0; onChanged(); return this; } - private int totalCount_ ; + private int totalCount_; /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @return The totalCount. */ @java.lang.Override @@ -1296,30 +1446,36 @@ public int getTotalCount() { return totalCount_; } /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { - + totalCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @return This builder for chaining. */ public Builder clearTotalCount() { - + totalCount_ = 0; onChanged(); return this; @@ -1327,34 +1483,47 @@ public Builder clearTotalCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1375,14 +1544,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1393,6 +1563,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1403,7 +1575,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1415,6 +1587,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1433,6 +1607,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1440,11 +1616,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1455,11 +1633,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1467,14 +1648,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1482,8 +1666,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1491,12 +1680,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1504,16 +1696,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1536,6 +1733,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1544,8 +1743,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 7;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1556,6 +1754,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1568,7 +1768,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1580,6 +1780,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1600,6 +1802,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1609,11 +1813,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1626,11 +1832,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1640,14 +1849,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(),
-                getParentForChildren(),
-                isClean());
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(), getParentForChildren(), isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
@@ -1655,26 +1867,35 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1685,6 +1906,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1706,6 +1929,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1713,8 +1938,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 8;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1725,6 +1949,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1736,7 +1962,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1748,6 +1974,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1767,6 +1995,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1775,11 +2005,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1791,11 +2023,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1804,21 +2037,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1828,12 +2064,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchOperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchOperationMetadata)
   private static final com.google.cloud.talent.v4beta1.BatchOperationMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchOperationMetadata();
   }
@@ -1842,27 +2078,27 @@ public static com.google.cloud.talent.v4beta1.BatchOperationMetadata getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchOperationMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchOperationMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1877,6 +2113,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.BatchOperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
similarity index 83%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
index 6c1230cb6f1a..7e5119dc36d5 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
@@ -1,100 +1,144 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface BatchOperationMetadataOrBuilder extends
+public interface BatchOperationMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchOperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The state. */ com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState(); /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The stateDescription. */ java.lang.String getStateDescription(); /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString - getStateDescriptionBytes(); + com.google.protobuf.ByteString getStateDescriptionBytes(); /** + * + * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; + * * @return The successCount. */ int getSuccessCount(); /** + * + * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; + * * @return The failureCount. */ int getFailureCount(); /** + * + * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; + * * @return The totalCount. */ int getTotalCount(); /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the batch operation is created.
    * 
@@ -104,6 +148,8 @@ public interface BatchOperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -111,10 +157,13 @@ public interface BatchOperationMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -122,10 +171,13 @@ public interface BatchOperationMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -137,26 +189,34 @@ public interface BatchOperationMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
new file mode 100644
index 000000000000..ed90f94ed8bc
--- /dev/null
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/batch.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public final class BatchProto {
+  private BatchProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\'google/cloud/talent/v4beta1/batch.prot"
+          + "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go"
+          + "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z"
+          + "Agoogle.golang.org/genproto/googleapis/c"
+          + "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
similarity index 71%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
index 2f94835fd372..94d5c38306cc 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Request to update a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchUpdateJobsRequest} */ -public final class BatchUpdateJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchUpdateJobsRequest) BatchUpdateJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateJobsRequest.newBuilder() to construct. private BatchUpdateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -26,32 +44,35 @@ private BatchUpdateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -83,17 +108,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,66 +130,87 @@ public java.lang.String getParent() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -179,6 +226,7 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -186,6 +234,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -201,6 +251,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -208,6 +259,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -230,6 +283,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -241,8 +295,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -265,12 +318,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i));
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -280,21 +331,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other = (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) obj;
+    com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other =
+        (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (!getJobsList()
-        .equals(other.getJobsList())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (!getJobsList().equals(other.getJobsList())) return false;
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -323,129 +372,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request to update a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchUpdateJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchUpdateJobsRequest) com.google.cloud.talent.v4beta1.BatchUpdateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +524,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override @@ -489,7 +545,8 @@ public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest result = new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest result = + new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -514,38 +571,39 @@ public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -553,7 +611,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -576,9 +635,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -613,37 +673,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -653,10 +714,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -664,14 +728,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -680,6 +746,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -687,16 +755,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -704,6 +773,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -711,21 +782,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -733,16 +808,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -750,40 +830,50 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -793,11 +883,15 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -807,11 +901,15 @@ public int getJobsCount() { } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -821,14 +919,17 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -842,14 +943,17 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -860,11 +964,15 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { @@ -880,14 +988,17 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -901,14 +1012,17 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -919,14 +1033,17 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -937,18 +1054,21 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -956,11 +1076,15 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -973,11 +1097,15 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -990,39 +1118,50 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1030,49 +1169,62 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -1080,8 +1232,13 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1097,12 +1254,15 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1118,16 +1278,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1158,6 +1323,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1174,8 +1341,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1186,6 +1352,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1206,7 +1374,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1218,6 +1386,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1246,6 +1416,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1263,11 +1435,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1288,11 +1462,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1310,21 +1487,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1334,12 +1514,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
   private static final com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest();
   }
@@ -1348,27 +1528,27 @@ public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchUpdateJobsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchUpdateJobsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1383,6 +1563,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
index 8c5158b822e0..3090370f05d7 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface BatchUpdateJobsRequestOrBuilder extends
+public interface BatchUpdateJobsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface BatchUpdateJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,57 +50,78 @@ public interface BatchUpdateJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.Job getJobs(int index); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getJobsCount(); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -93,10 +137,13 @@ com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -112,10 +159,13 @@ com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
index 11b614b80138..8e1090279844 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/event.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * An event issued when an end user interacts with the application that
  * implements Cloud Talent Solution. Providing this information improves the
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.ClientEvent}
  */
-public final class ClientEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ClientEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ClientEvent)
     ClientEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ClientEvent.newBuilder() to construct.
   private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ClientEvent() {
     requestId_ = "";
     eventId_ = "";
@@ -31,37 +49,41 @@ private ClientEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClientEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.EventProto
+        .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.EventProto
+        .internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.ClientEvent.class, com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
+            com.google.cloud.talent.v4beta1.ClientEvent.class,
+            com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
+
   public enum EventCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JOB_EVENT(5),
     EVENT_NOT_SET(0);
     private final int value;
+
     private EventCase(int value) {
       this.value = value;
     }
@@ -77,25 +99,29 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 5: return JOB_EVENT;
-        case 0: return EVENT_NOT_SET;
-        default: return null;
+        case 5:
+          return JOB_EVENT;
+        case 0:
+          return EVENT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase
-  getEventCase() {
-    return EventCase.forNumber(
-        eventCase_);
+  public EventCase getEventCase() {
+    return EventCase.forNumber(eventCase_);
   }
 
   public static final int REQUEST_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object requestId_;
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -103,6 +129,7 @@ public int getNumber() {
    * 
* * string request_id = 1; + * * @return The requestId. */ @java.lang.Override @@ -111,14 +138,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -126,16 +154,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -146,11 +173,14 @@ public java.lang.String getRequestId() { public static final int EVENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object eventId_; /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ @java.lang.Override @@ -159,29 +189,29 @@ public java.lang.String getEventId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } } /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventId_ = b; return b; } else { @@ -192,11 +222,15 @@ public java.lang.String getEventId() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -204,11 +238,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ @java.lang.Override @@ -216,11 +254,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -229,12 +270,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int JOB_EVENT_FIELD_NUMBER = 5; /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -242,22 +286,27 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return The jobEvent. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() { if (eventCase_ == 5) { - return (com.google.cloud.talent.v4beta1.JobEvent) event_; + return (com.google.cloud.talent.v4beta1.JobEvent) event_; } return com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance(); } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -268,7 +317,7 @@ public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() {
   @java.lang.Override
   public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder() {
     if (eventCase_ == 5) {
-       return (com.google.cloud.talent.v4beta1.JobEvent) event_;
+      return (com.google.cloud.talent.v4beta1.JobEvent) event_;
     }
     return com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance();
   }
@@ -276,12 +325,15 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
   public static final int EVENT_NOTES_FIELD_NUMBER = 9;
   private volatile java.lang.Object eventNotes_;
   /**
+   *
+   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; + * * @return The eventNotes. */ @java.lang.Override @@ -290,30 +342,30 @@ public java.lang.String getEventNotes() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; } } /** + * + * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventNotesBytes() { + public com.google.protobuf.ByteString getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -322,6 +374,7 @@ public java.lang.String getEventNotes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -366,12 +418,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (eventCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.talent.v4beta1.JobEvent) event_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.talent.v4beta1.JobEvent) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventNotes_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, eventNotes_); @@ -384,29 +436,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ClientEvent)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ClientEvent other = (com.google.cloud.talent.v4beta1.ClientEvent) obj; + com.google.cloud.talent.v4beta1.ClientEvent other = + (com.google.cloud.talent.v4beta1.ClientEvent) obj; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEventId() - .equals(other.getEventId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEventId().equals(other.getEventId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (!getEventNotes() - .equals(other.getEventNotes())) return false; + if (!getEventNotes().equals(other.getEventNotes())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - if (!getJobEvent() - .equals(other.getJobEvent())) return false; + if (!getJobEvent().equals(other.getJobEvent())) return false; break; case 0: default: @@ -445,97 +493,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ClientEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An event issued when an end user interacts with the application that
    * implements Cloud Talent Solution. Providing this information improves the
@@ -546,33 +601,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.ClientEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ClientEvent)
       com.google.cloud.talent.v4beta1.ClientEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.ClientEvent.class, com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
+              com.google.cloud.talent.v4beta1.ClientEvent.class,
+              com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.ClientEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -597,9 +651,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
     }
 
     @java.lang.Override
@@ -618,7 +672,8 @@ public com.google.cloud.talent.v4beta1.ClientEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() {
-      com.google.cloud.talent.v4beta1.ClientEvent result = new com.google.cloud.talent.v4beta1.ClientEvent(this);
+      com.google.cloud.talent.v4beta1.ClientEvent result =
+          new com.google.cloud.talent.v4beta1.ClientEvent(this);
       result.requestId_ = requestId_;
       result.eventId_ = eventId_;
       if (createTimeBuilder_ == null) {
@@ -643,38 +698,39 @@ public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.ClientEvent) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.ClientEvent)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.ClientEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -699,13 +755,15 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ClientEvent other) {
         onChanged();
       }
       switch (other.getEventCase()) {
-        case JOB_EVENT: {
-          mergeJobEvent(other.getJobEvent());
-          break;
-        }
-        case EVENT_NOT_SET: {
-          break;
-        }
+        case JOB_EVENT:
+          {
+            mergeJobEvent(other.getJobEvent());
+            break;
+          }
+        case EVENT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -733,41 +791,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              requestId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              eventId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getJobEventFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              eventCase_ = 5;
-              break;
-            } // case 42
-            case 74: {
-              eventNotes_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                requestId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                eventId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getJobEventFieldBuilder().getBuilder(), extensionRegistry);
+                eventCase_ = 5;
+                break;
+              } // case 42
+            case 74:
+              {
+                eventNotes_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -777,12 +837,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int eventCase_ = 0;
     private java.lang.Object event_;
-    public EventCase
-        getEventCase() {
-      return EventCase.forNumber(
-          eventCase_);
+
+    public EventCase getEventCase() {
+      return EventCase.forNumber(eventCase_);
     }
 
     public Builder clearEvent() {
@@ -792,9 +852,10 @@ public Builder clearEvent() {
       return this;
     }
 
-
     private java.lang.Object requestId_ = "";
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -802,13 +863,13 @@ public Builder clearEvent() {
      * 
* * string request_id = 1; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -817,6 +878,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -824,15 +887,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -840,6 +902,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -847,20 +911,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -868,15 +934,18 @@ public Builder setRequestId(
      * 
* * string request_id = 1; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -884,16 +953,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 1; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -901,18 +970,20 @@ public Builder setRequestIdBytes( private java.lang.Object eventId_ = ""; /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; @@ -921,20 +992,21 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventId_ = b; return b; } else { @@ -942,54 +1014,61 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId( - java.lang.String value) { + public Builder setEventId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEventIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -997,39 +1076,55 @@ public Builder setEventIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1045,14 +1140,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1063,17 +1160,20 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1085,11 +1185,14 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1103,62 +1206,81 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder> jobEventBuilder_; + com.google.cloud.talent.v4beta1.JobEvent, + com.google.cloud.talent.v4beta1.JobEvent.Builder, + com.google.cloud.talent.v4beta1.JobEventOrBuilder> + jobEventBuilder_; /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -1166,12 +1288,15 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return The jobEvent. */ @java.lang.Override @@ -1189,6 +1314,8 @@ public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() { } } /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1210,6 +1337,8 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1217,8 +1346,7 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
      *
      * .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      */
-    public Builder setJobEvent(
-        com.google.cloud.talent.v4beta1.JobEvent.Builder builderForValue) {
+    public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent.Builder builderForValue) {
       if (jobEventBuilder_ == null) {
         event_ = builderForValue.build();
         onChanged();
@@ -1229,6 +1357,8 @@ public Builder setJobEvent(
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1238,10 +1368,13 @@ public Builder setJobEvent(
      */
     public Builder mergeJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       if (jobEventBuilder_ == null) {
-        if (eventCase_ == 5 &&
-            event_ != com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance()) {
-          event_ = com.google.cloud.talent.v4beta1.JobEvent.newBuilder((com.google.cloud.talent.v4beta1.JobEvent) event_)
-              .mergeFrom(value).buildPartial();
+        if (eventCase_ == 5
+            && event_ != com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance()) {
+          event_ =
+              com.google.cloud.talent.v4beta1.JobEvent.newBuilder(
+                      (com.google.cloud.talent.v4beta1.JobEvent) event_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           event_ = value;
         }
@@ -1257,6 +1390,8 @@ public Builder mergeJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1281,6 +1416,8 @@ public Builder clearJobEvent() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1292,6 +1429,8 @@ public com.google.cloud.talent.v4beta1.JobEvent.Builder getJobEventBuilder() {
       return getJobEventFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1311,6 +1450,8 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1319,39 +1460,47 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
      * .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder> 
+            com.google.cloud.talent.v4beta1.JobEvent,
+            com.google.cloud.talent.v4beta1.JobEvent.Builder,
+            com.google.cloud.talent.v4beta1.JobEventOrBuilder>
         getJobEventFieldBuilder() {
       if (jobEventBuilder_ == null) {
         if (!(eventCase_ == 5)) {
           event_ = com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance();
         }
-        jobEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder>(
+        jobEventBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.JobEvent,
+                com.google.cloud.talent.v4beta1.JobEvent.Builder,
+                com.google.cloud.talent.v4beta1.JobEventOrBuilder>(
                 (com.google.cloud.talent.v4beta1.JobEvent) event_,
                 getParentForChildren(),
                 isClean());
         event_ = null;
       }
       eventCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return jobEventBuilder_;
     }
 
     private java.lang.Object eventNotes_ = "";
     /**
+     *
+     *
      * 
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @return The eventNotes. */ public java.lang.String getEventNotes() { java.lang.Object ref = eventNotes_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; @@ -1360,21 +1509,22 @@ public java.lang.String getEventNotes() { } } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ - public com.google.protobuf.ByteString - getEventNotesBytes() { + public com.google.protobuf.ByteString getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -1382,64 +1532,71 @@ public java.lang.String getEventNotes() { } } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @param value The eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotes( - java.lang.String value) { + public Builder setEventNotes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventNotes_ = value; onChanged(); return this; } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @return This builder for chaining. */ public Builder clearEventNotes() { - + eventNotes_ = getDefaultInstance().getEventNotes(); onChanged(); return this; } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @param value The bytes for eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotesBytes( - com.google.protobuf.ByteString value) { + public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventNotes_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1449,12 +1606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ClientEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ClientEvent) private static final com.google.cloud.talent.v4beta1.ClientEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ClientEvent(); } @@ -1463,27 +1620,27 @@ public static com.google.cloud.talent.v4beta1.ClientEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1498,6 +1655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ClientEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java similarity index 76% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java index bf24c0274f3c..1be2def8cd22 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; -public interface ClientEventOrBuilder extends +public interface ClientEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ClientEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -15,10 +33,13 @@ public interface ClientEventOrBuilder extends
    * 
* * string request_id = 1; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -26,79 +47,103 @@ public interface ClientEventOrBuilder extends
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ java.lang.String getEventId(); /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - com.google.protobuf.ByteString - getEventIdBytes(); + com.google.protobuf.ByteString getEventIdBytes(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ boolean hasJobEvent(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return The jobEvent. */ com.google.cloud.talent.v4beta1.JobEvent getJobEvent(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -109,26 +154,31 @@ public interface ClientEventOrBuilder extends
   com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder();
 
   /**
+   *
+   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; + * * @return The eventNotes. */ java.lang.String getEventNotes(); /** + * + * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ - com.google.protobuf.ByteString - getEventNotesBytes(); + com.google.protobuf.ByteString getEventNotesBytes(); public com.google.cloud.talent.v4beta1.ClientEvent.EventCase getEventCase(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java new file mode 100644 index 000000000000..dbe85a81e01b --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java @@ -0,0 +1,350 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/common.proto + +package com.google.cloud.talent.v4beta1; + +public final class CommonProto { + private CommonProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Location_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/talent/v4beta1/common.pro" + + "to\022\033google.cloud.talent.v4beta1\032\037google/" + + "api/field_behavior.proto\032\037google/protobu" + + "f/timestamp.proto\032\036google/protobuf/wrapp" + + "ers.proto\032\030google/type/latlng.proto\032\027goo" + + "gle/type/money.proto\032 google/type/postal" + + "_address.proto\"n\n\016TimestampRange\022.\n\nstar" + + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + + "\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001" + + "(\01622.google.cloud.talent.v4beta1.Locatio" + + "n.LocationType\0222\n\016postal_address\030\002 \001(\0132\032" + + ".google.type.PostalAddress\022$\n\007lat_lng\030\003 " + + "\001(\0132\023.google.type.LatLng\022\024\n\014radius_miles" + + "\030\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE" + + "_UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTR" + + "ATIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020" + + "\003\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_" + + "LOCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LO" + + "CALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_A" + + "DDRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001" + + " \001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(" + + "\t\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_i" + + "nfo\030\005 \001(\0132\'.google.cloud.talent.v4beta1." + + "DeviceInfo\"&\n\020ResponseMetadata\022\022\n\nreques" + + "t_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type" + + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Dev" + + "iceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDevice" + + "Type\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB" + + "\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004" + + "\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017CustomAttribute\022" + + "\025\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 " + + "\003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032\n\022keyword_searc" + + "hable\030\004 \001(\010\"W\n\022SpellingCorrection\022\021\n\tcor" + + "rected\030\001 \001(\010\022\026\n\016corrected_text\030\002 \001(\t\022\026\n\016" + + "corrected_html\030\003 \001(\t\"\246\t\n\020CompensationInf" + + "o\022P\n\007entries\030\001 \003(\0132?.google.cloud.talent" + + ".v4beta1.CompensationInfo.CompensationEn" + + "try\022p\n\"annualized_base_compensation_rang" + + "e\030\002 \001(\0132?.google.cloud.talent.v4beta1.Co" + + "mpensationInfo.CompensationRangeB\003\340A\003\022q\n" + + "#annualized_total_compensation_range\030\003 \001" + + "(\0132?.google.cloud.talent.v4beta1.Compens" + + "ationInfo.CompensationRangeB\003\340A\003\032\222\003\n\021Com" + + "pensationEntry\022L\n\004type\030\001 \001(\0162>.google.cl" + + "oud.talent.v4beta1.CompensationInfo.Comp" + + "ensationType\022L\n\004unit\030\002 \001(\0162>.google.clou" + + "d.talent.v4beta1.CompensationInfo.Compen" + + "sationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type" + + ".MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.t" + + "alent.v4beta1.CompensationInfo.Compensat" + + "ionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expec" + + "ted_units_per_year\030\006 \001(\0132\034.google.protob" + + "uf.DoubleValueB\025\n\023compensation_amount\032o\n" + + "\021CompensationRange\022,\n\020max_compensation\030\002" + + " \001(\0132\022.google.type.Money\022,\n\020min_compensa" + + "tion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compe" + + "nsationType\022!\n\035COMPENSATION_TYPE_UNSPECI" + + "FIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_B" + + "ONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017" + + "\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPE" + + "NSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035C" + + "OMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY" + + "\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n" + + "\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPEN" + + "SATION_UNIT\020\007\"\314\003\n\026BatchOperationMetadata" + + "\022H\n\005state\030\001 \001(\01629.google.cloud.talent.v4" + + "beta1.BatchOperationMetadata.State\022\031\n\021st" + + "ate_description\030\002 \001(\t\022\025\n\rsuccess_count\030\003" + + " \001(\005\022\025\n\rfailure_count\030\004 \001(\005\022\023\n\013total_cou" + + "nt\030\005 \001(\005\022/\n\013create_time\030\006 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022/\n\013update_time\030\007 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\010end_time\030\010" + + " \001(\0132\032.google.protobuf.Timestamp\"z\n\005Stat" + + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIALIZING" + + "\020\001\022\016\n\nPROCESSING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI" + + "LED\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLED\020\006*y\n\013" + + "CompanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020" + + "\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006M" + + "EDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*" + + "\342\001\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIE" + + "D\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMES" + + "TIC_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MED" + + "ICAL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_L" + + "EAVE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS" + + "\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeT" + + "ype\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIM" + + "ARY_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCA" + + "TION\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n" + + "\030ADULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATE" + + "S_OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVA" + + "LENT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOC" + + "TORAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType" + + "\022\037\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFUL" + + "L_TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022" + + "\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006" + + "INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n" + + "\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TY" + + "PE\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIE" + + "D\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n" + + "\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*" + + "\272\006\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIF" + + "IED\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADM" + + "INISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_" + + "AND_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_" + + "FASHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATI" + + "ONS\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017CO" + + "MPUTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUS" + + "TOMER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERT" + + "AINMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTD" + + "OORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCE" + + "S\020\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPA" + + "IR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUF" + + "ACTURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUN" + + "ICATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MI" + + "NING\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027" + + "\n\023PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030" + + "\022\036\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALE" + + "S_AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERIN" + + "G\020\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022" + + "!\n\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TR" + + "ANSPORTATION_AND_LOGISTICS\020\036*e\n\rPostingR" + + "egion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n" + + "\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TE" + + "LECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VISIBILITY_" + + "UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARE" + + "D_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003\032" + + "\002\030\001*q\n\020HtmlSanitization\022!\n\035HTML_SANITIZA" + + "TION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZATION_" + + "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" + + "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" + + "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" + + "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." + + "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" + + "lang.org/genproto/googleapis/cloud/talen" + + "t/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + com.google.type.MoneyProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", + }); + internal_static_google_cloud_talent_v4beta1_Location_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Location_descriptor, + new java.lang.String[] { + "LocationType", "PostalAddress", "LatLng", "RadiusMiles", + }); + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor, + new java.lang.String[] { + "Domain", "SessionId", "UserId", "AllowMissingIds", "DeviceInfo", + }); + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor, + new java.lang.String[] { + "RequestId", + }); + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor, + new java.lang.String[] { + "DeviceType", "Id", + }); + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor, + new java.lang.String[] { + "StringValues", "LongValues", "Filterable", "KeywordSearchable", + }); + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor, + new java.lang.String[] { + "Corrected", "CorrectedText", "CorrectedHtml", + }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor, + new java.lang.String[] { + "Entries", "AnnualizedBaseCompensationRange", "AnnualizedTotalCompensationRange", + }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor, + new java.lang.String[] { + "Type", + "Unit", + "Amount", + "Range", + "Description", + "ExpectedUnitsPerYear", + "CompensationAmount", + }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor = + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor, + new java.lang.String[] { + "MaxCompensation", "MinCompensation", + }); + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor, + new java.lang.String[] { + "State", + "StateDescription", + "SuccessCount", + "FailureCount", + "TotalCount", + "CreateTime", + "UpdateTime", + "EndTime", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + com.google.type.MoneyProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java similarity index 71% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java index dc657049c539..3342f74bbbf8 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Parameters needed for commute search.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CommuteFilter} */ -public final class CommuteFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CommuteFilter) CommuteFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteFilter.newBuilder() to construct. private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommuteFilter() { commuteMethod_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommuteFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CommuteFilter.class, com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); + com.google.cloud.talent.v4beta1.CommuteFilter.class, + com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); } /** + * + * *
    * The traffic density to use when calculating commute time.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic} */ - public enum RoadTraffic - implements com.google.protobuf.ProtocolMessageEnum { + public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Road traffic situation isn't specified.
      * 
@@ -66,6 +88,8 @@ public enum RoadTraffic */ ROAD_TRAFFIC_UNSPECIFIED(0), /** + * + * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -74,6 +98,8 @@ public enum RoadTraffic */ TRAFFIC_FREE(1), /** + * + * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -85,6 +111,8 @@ public enum RoadTraffic ; /** + * + * *
      * Road traffic situation isn't specified.
      * 
@@ -93,6 +121,8 @@ public enum RoadTraffic */ public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -101,6 +131,8 @@ public enum RoadTraffic */ public static final int TRAFFIC_FREE_VALUE = 1; /** + * + * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -109,7 +141,6 @@ public enum RoadTraffic */ public static final int BUSY_HOUR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,49 +165,49 @@ public static RoadTraffic valueOf(int value) { */ public static RoadTraffic forNumber(int value) { switch (value) { - case 0: return ROAD_TRAFFIC_UNSPECIFIED; - case 1: return TRAFFIC_FREE; - case 2: return BUSY_HOUR; - default: return null; + case 0: + return ROAD_TRAFFIC_UNSPECIFIED; + case 1: + return TRAFFIC_FREE; + case 2: + return BUSY_HOUR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RoadTraffic> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoadTraffic findValueByNumber(int number) { - return RoadTraffic.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoadTraffic findValueByNumber(int number) { + return RoadTraffic.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommuteFilter.getDescriptor().getEnumTypes().get(0); } private static final RoadTraffic[] VALUES = values(); - public static RoadTraffic valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,13 +226,16 @@ private RoadTraffic(int value) { private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; + public enum TrafficOptionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROAD_TRAFFIC(5), DEPARTURE_TIME(6), TRAFFICOPTION_NOT_SET(0); private final int value; + private TrafficOptionCase(int value) { this.value = value; } @@ -217,59 +251,79 @@ public static TrafficOptionCase valueOf(int value) { public static TrafficOptionCase forNumber(int value) { switch (value) { - case 5: return ROAD_TRAFFIC; - case 6: return DEPARTURE_TIME; - case 0: return TRAFFICOPTION_NOT_SET; - default: return null; + case 5: + return ROAD_TRAFFIC; + case 6: + return DEPARTURE_TIME; + case 0: + return TRAFFICOPTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TrafficOptionCase - getTrafficOptionCase() { - return TrafficOptionCase.forNumber( - trafficOptionCase_); + public TrafficOptionCase getTrafficOptionCase() { + return TrafficOptionCase.forNumber(trafficOptionCase_); } public static final int COMMUTE_METHOD_FIELD_NUMBER = 1; private int commuteMethod_; /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override public int getCommuteMethodValue() { + @java.lang.Override + public int getCommuteMethodValue() { return commuteMethod_; } /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteMethod result = com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4beta1.CommuteMethod result = + com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4beta1.CommuteMethod.UNRECOGNIZED : result; } public static final int START_COORDINATES_FIELD_NUMBER = 2; private com.google.type.LatLng startCoordinates_; /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ @java.lang.Override @@ -277,25 +331,34 @@ public boolean hasStartCoordinates() { return startCoordinates_ != null; } /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ @java.lang.Override public com.google.type.LatLng getStartCoordinates() { - return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { @@ -305,12 +368,16 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration travelDuration_; /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -318,25 +385,34 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @@ -346,6 +422,8 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER = 4; private boolean allowImpreciseAddresses_; /** + * + * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -355,6 +433,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
    * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -364,22 +443,28 @@ public boolean getAllowImpreciseAddresses() { public static final int ROAD_TRAFFIC_FIELD_NUMBER = 5; /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ public int getRoadTrafficValue() { @@ -389,25 +474,33 @@ public int getRoadTrafficValue() { return 0; } /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null + ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED + : result; } return com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 6; /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -415,6 +508,7 @@ public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic(
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -422,6 +516,8 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -429,16 +525,19 @@ public boolean hasDepartureTime() {
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ @java.lang.Override public com.google.type.TimeOfDay getDepartureTime() { if (trafficOptionCase_ == 6) { - return (com.google.type.TimeOfDay) trafficOption_; + return (com.google.type.TimeOfDay) trafficOption_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -450,12 +549,13 @@ public com.google.type.TimeOfDay getDepartureTime() {
   @java.lang.Override
   public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
     if (trafficOptionCase_ == 6) {
-       return (com.google.type.TimeOfDay) trafficOption_;
+      return (com.google.type.TimeOfDay) trafficOption_;
     }
     return com.google.type.TimeOfDay.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -467,9 +567,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (commuteMethod_ != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (commuteMethod_
+        != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
@@ -496,29 +596,28 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (commuteMethod_ != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, commuteMethod_);
+    if (commuteMethod_
+        != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartCoordinates());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartCoordinates());
     }
     if (travelDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getTravelDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTravelDuration());
     }
     if (allowImpreciseAddresses_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, allowImpreciseAddresses_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowImpreciseAddresses_);
     }
     if (trafficOptionCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, ((java.lang.Integer) trafficOption_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeEnumSize(
+              5, ((java.lang.Integer) trafficOption_));
     }
     if (trafficOptionCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.type.TimeOfDay) trafficOption_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.type.TimeOfDay) trafficOption_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -528,35 +627,31 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.CommuteFilter)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.CommuteFilter other = (com.google.cloud.talent.v4beta1.CommuteFilter) obj;
+    com.google.cloud.talent.v4beta1.CommuteFilter other =
+        (com.google.cloud.talent.v4beta1.CommuteFilter) obj;
 
     if (commuteMethod_ != other.commuteMethod_) return false;
     if (hasStartCoordinates() != other.hasStartCoordinates()) return false;
     if (hasStartCoordinates()) {
-      if (!getStartCoordinates()
-          .equals(other.getStartCoordinates())) return false;
+      if (!getStartCoordinates().equals(other.getStartCoordinates())) return false;
     }
     if (hasTravelDuration() != other.hasTravelDuration()) return false;
     if (hasTravelDuration()) {
-      if (!getTravelDuration()
-          .equals(other.getTravelDuration())) return false;
+      if (!getTravelDuration().equals(other.getTravelDuration())) return false;
     }
-    if (getAllowImpreciseAddresses()
-        != other.getAllowImpreciseAddresses()) return false;
+    if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false;
     if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false;
     switch (trafficOptionCase_) {
       case 5:
-        if (getRoadTrafficValue()
-            != other.getRoadTrafficValue()) return false;
+        if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false;
         break;
       case 6:
-        if (!getDepartureTime()
-            .equals(other.getDepartureTime())) return false;
+        if (!getDepartureTime().equals(other.getDepartureTime())) return false;
         break;
       case 0:
       default:
@@ -583,8 +678,7 @@ public int hashCode() {
       hash = (53 * hash) + getTravelDuration().hashCode();
     }
     hash = (37 * hash) + ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowImpreciseAddresses());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowImpreciseAddresses());
     switch (trafficOptionCase_) {
       case 5:
         hash = (37 * hash) + ROAD_TRAFFIC_FIELD_NUMBER;
@@ -602,130 +696,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.CommuteFilter prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Parameters needed for commute search.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CommuteFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CommuteFilter) com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CommuteFilter.class, com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); + com.google.cloud.talent.v4beta1.CommuteFilter.class, + com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -754,9 +854,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override @@ -775,7 +875,8 @@ public com.google.cloud.talent.v4beta1.CommuteFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { - com.google.cloud.talent.v4beta1.CommuteFilter result = new com.google.cloud.talent.v4beta1.CommuteFilter(this); + com.google.cloud.talent.v4beta1.CommuteFilter result = + new com.google.cloud.talent.v4beta1.CommuteFilter(this); result.commuteMethod_ = commuteMethod_; if (startCoordinatesBuilder_ == null) { result.startCoordinates_ = startCoordinates_; @@ -807,38 +908,39 @@ public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CommuteFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.CommuteFilter)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CommuteFilter) other); } else { super.mergeFrom(other); return this; @@ -860,17 +962,20 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CommuteFilter other) { setAllowImpreciseAddresses(other.getAllowImpreciseAddresses()); } switch (other.getTrafficOptionCase()) { - case ROAD_TRAFFIC: { - setRoadTrafficValue(other.getRoadTrafficValue()); - break; - } - case DEPARTURE_TIME: { - mergeDepartureTime(other.getDepartureTime()); - break; - } - case TRAFFICOPTION_NOT_SET: { - break; - } + case ROAD_TRAFFIC: + { + setRoadTrafficValue(other.getRoadTrafficValue()); + break; + } + case DEPARTURE_TIME: + { + mergeDepartureTime(other.getDepartureTime()); + break; + } + case TRAFFICOPTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -898,49 +1003,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - commuteMethod_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getStartCoordinatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - allowImpreciseAddresses_ = input.readBool(); - - break; - } // case 32 - case 40: { - int rawValue = input.readEnum(); - trafficOptionCase_ = 5; - trafficOption_ = rawValue; - break; - } // case 40 - case 50: { - input.readMessage( - getDepartureTimeFieldBuilder().getBuilder(), - extensionRegistry); - trafficOptionCase_ = 6; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + commuteMethod_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage( + getStartCoordinatesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + allowImpreciseAddresses_ = input.readBool(); + + break; + } // case 32 + case 40: + { + int rawValue = input.readEnum(); + trafficOptionCase_ = 5; + trafficOption_ = rawValue; + break; + } // case 40 + case 50: + { + input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); + trafficOptionCase_ = 6; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -950,12 +1057,12 @@ public Builder mergeFrom( } // finally return this; } + private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - public TrafficOptionCase - getTrafficOptionCase() { - return TrafficOptionCase.forNumber( - trafficOptionCase_); + + public TrafficOptionCase getTrafficOptionCase() { + return TrafficOptionCase.forNumber(trafficOptionCase_); } public Builder clearTrafficOption() { @@ -965,54 +1072,75 @@ public Builder clearTrafficOption() { return this; } - private int commuteMethod_ = 0; /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override public int getCommuteMethodValue() { + @java.lang.Override + public int getCommuteMethodValue() { return commuteMethod_; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for commuteMethod to set. * @return This builder for chaining. */ public Builder setCommuteMethodValue(int value) { - + commuteMethod_ = value; onChanged(); return this; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteMethod result = com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4beta1.CommuteMethod result = + com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4beta1.CommuteMethod.UNRECOGNIZED : result; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The commuteMethod to set. * @return This builder for chaining. */ @@ -1020,21 +1148,26 @@ public Builder setCommuteMethod(com.google.cloud.talent.v4beta1.CommuteMethod va if (value == null) { throw new NullPointerException(); } - + commuteMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearCommuteMethod() { - + commuteMethod_ = 0; onChanged(); return this; @@ -1042,42 +1175,56 @@ public Builder clearCommuteMethod() { private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + startCoordinatesBuilder_; /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ public boolean hasStartCoordinates() { return startCoordinatesBuilder_ != null || startCoordinates_ != null; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ public com.google.type.LatLng getStartCoordinates() { if (startCoordinatesBuilder_ == null) { - return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } else { return startCoordinatesBuilder_.getMessage(); } } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { @@ -1093,15 +1240,17 @@ public Builder setStartCoordinates(com.google.type.LatLng value) { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setStartCoordinates( - com.google.type.LatLng.Builder builderForValue) { + public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValue) { if (startCoordinatesBuilder_ == null) { startCoordinates_ = builderForValue.build(); onChanged(); @@ -1112,18 +1261,21 @@ public Builder setStartCoordinates( return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { if (startCoordinates_ != null) { startCoordinates_ = - com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); + com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); } else { startCoordinates_ = value; } @@ -1135,12 +1287,15 @@ public Builder mergeStartCoordinates(com.google.type.LatLng value) { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStartCoordinates() { if (startCoordinatesBuilder_ == null) { @@ -1154,51 +1309,62 @@ public Builder clearStartCoordinates() { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.LatLng.Builder getStartCoordinatesBuilder() { - + onChanged(); return getStartCoordinatesFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { if (startCoordinatesBuilder_ != null) { return startCoordinatesBuilder_.getMessageOrBuilder(); } else { - return startCoordinates_ == null ? - com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getStartCoordinatesFieldBuilder() { if (startCoordinatesBuilder_ == null) { - startCoordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getStartCoordinates(), - getParentForChildren(), - isClean()); + startCoordinatesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>( + getStartCoordinates(), getParentForChildren(), isClean()); startCoordinates_ = null; } return startCoordinatesBuilder_; @@ -1206,42 +1372,61 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + travelDurationBuilder_; /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { @@ -1257,15 +1442,18 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTravelDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) { if (travelDurationBuilder_ == null) { travelDuration_ = builderForValue.build(); onChanged(); @@ -1276,18 +1464,24 @@ public Builder setTravelDuration( return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { if (travelDuration_ != null) { travelDuration_ = - com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(travelDuration_) + .mergeFrom(value) + .buildPartial(); } else { travelDuration_ = value; } @@ -1299,12 +1493,16 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTravelDuration() { if (travelDurationBuilder_ == null) { @@ -1318,58 +1516,76 @@ public Builder clearTravelDuration() { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - + onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { if (travelDurationBuilder_ != null) { return travelDurationBuilder_.getMessageOrBuilder(); } else { - return travelDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getTravelDurationFieldBuilder() { if (travelDurationBuilder_ == null) { - travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTravelDuration(), - getParentForChildren(), - isClean()); + travelDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTravelDuration(), getParentForChildren(), isClean()); travelDuration_ = null; } return travelDurationBuilder_; } - private boolean allowImpreciseAddresses_ ; + private boolean allowImpreciseAddresses_; /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1379,6 +1595,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
      * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -1386,6 +1603,8 @@ public boolean getAllowImpreciseAddresses() { return allowImpreciseAddresses_; } /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1395,16 +1614,19 @@ public boolean getAllowImpreciseAddresses() {
      * 
* * bool allow_imprecise_addresses = 4; + * * @param value The allowImpreciseAddresses to set. * @return This builder for chaining. */ public Builder setAllowImpreciseAddresses(boolean value) { - + allowImpreciseAddresses_ = value; onChanged(); return this; } /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1414,21 +1636,25 @@ public Builder setAllowImpreciseAddresses(boolean value) {
      * 
* * bool allow_imprecise_addresses = 4; + * * @return This builder for chaining. */ public Builder clearAllowImpreciseAddresses() { - + allowImpreciseAddresses_ = false; onChanged(); return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ @java.lang.Override @@ -1436,11 +1662,14 @@ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ @java.lang.Override @@ -1451,11 +1680,14 @@ public int getRoadTrafficValue() { return 0; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @param value The enum numeric value on the wire for roadTraffic to set. * @return This builder for chaining. */ @@ -1466,29 +1698,38 @@ public Builder setRoadTrafficValue(int value) { return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null + ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED + : result; } return com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @param value The roadTraffic to set. * @return This builder for chaining. */ @@ -1502,11 +1743,14 @@ public Builder setRoadTraffic(com.google.cloud.talent.v4beta1.CommuteFilter.Road return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return This builder for chaining. */ public Builder clearRoadTraffic() { @@ -1519,8 +1763,13 @@ public Builder clearRoadTraffic() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> departureTimeBuilder_; + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + departureTimeBuilder_; /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1528,6 +1777,7 @@ public Builder clearRoadTraffic() {
      * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -1535,6 +1785,8 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1542,6 +1794,7 @@ public boolean hasDepartureTime() {
      * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ @java.lang.Override @@ -1559,6 +1812,8 @@ public com.google.type.TimeOfDay getDepartureTime() { } } /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1581,6 +1836,8 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1589,8 +1846,7 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
      *
      * .google.type.TimeOfDay departure_time = 6;
      */
-    public Builder setDepartureTime(
-        com.google.type.TimeOfDay.Builder builderForValue) {
+    public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValue) {
       if (departureTimeBuilder_ == null) {
         trafficOption_ = builderForValue.build();
         onChanged();
@@ -1601,6 +1857,8 @@ public Builder setDepartureTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1611,10 +1869,12 @@ public Builder setDepartureTime(
      */
     public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       if (departureTimeBuilder_ == null) {
-        if (trafficOptionCase_ == 6 &&
-            trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
-          trafficOption_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
-              .mergeFrom(value).buildPartial();
+        if (trafficOptionCase_ == 6
+            && trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
+          trafficOption_ =
+              com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           trafficOption_ = value;
         }
@@ -1630,6 +1890,8 @@ public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1655,6 +1917,8 @@ public Builder clearDepartureTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1667,6 +1931,8 @@ public com.google.type.TimeOfDay.Builder getDepartureTimeBuilder() {
       return getDepartureTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1687,6 +1953,8 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1696,26 +1964,30 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
      * .google.type.TimeOfDay departure_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+            com.google.type.TimeOfDay,
+            com.google.type.TimeOfDay.Builder,
+            com.google.type.TimeOfDayOrBuilder>
         getDepartureTimeFieldBuilder() {
       if (departureTimeBuilder_ == null) {
         if (!(trafficOptionCase_ == 6)) {
           trafficOption_ = com.google.type.TimeOfDay.getDefaultInstance();
         }
-        departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                (com.google.type.TimeOfDay) trafficOption_,
-                getParentForChildren(),
-                isClean());
+        departureTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.TimeOfDay,
+                com.google.type.TimeOfDay.Builder,
+                com.google.type.TimeOfDayOrBuilder>(
+                (com.google.type.TimeOfDay) trafficOption_, getParentForChildren(), isClean());
         trafficOption_ = null;
       }
       trafficOptionCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return departureTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1725,12 +1997,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CommuteFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CommuteFilter)
   private static final com.google.cloud.talent.v4beta1.CommuteFilter DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CommuteFilter();
   }
@@ -1739,27 +2011,27 @@ public static com.google.cloud.talent.v4beta1.CommuteFilter getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CommuteFilter parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CommuteFilter parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1774,6 +2046,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.CommuteFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
similarity index 78%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
index db813e68004f..69cb2fa664a2 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
@@ -1,92 +1,142 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/filters.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface CommuteFilterOrBuilder extends
+public interface CommuteFilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CommuteFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ int getCommuteMethodValue(); /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ boolean hasStartCoordinates(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ com.google.type.LatLng getStartCoordinates(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder(); /** + * + * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -96,39 +146,51 @@ public interface CommuteFilterOrBuilder extends
    * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ boolean getAllowImpreciseAddresses(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ boolean hasRoadTraffic(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ int getRoadTrafficValue(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -136,10 +198,13 @@ public interface CommuteFilterOrBuilder extends
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -147,10 +212,13 @@ public interface CommuteFilterOrBuilder extends
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ com.google.type.TimeOfDay getDepartureTime(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
index 2e6c1e1f20db..d2ac39141d31 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Method for commute.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CommuteMethod} */ -public enum CommuteMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Commute method isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum CommuteMethod */ COMMUTE_METHOD_UNSPECIFIED(0), /** + * + * *
    * Commute time is calculated based on driving time.
    * 
@@ -29,6 +49,8 @@ public enum CommuteMethod */ DRIVING(1), /** + * + * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -38,6 +60,8 @@ public enum CommuteMethod
    */
   TRANSIT(2),
   /**
+   *
+   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -46,6 +70,8 @@ public enum CommuteMethod */ WALKING(3), /** + * + * *
    * Commute time is calculated based on biking time.
    * 
@@ -57,6 +83,8 @@ public enum CommuteMethod ; /** + * + * *
    * Commute method isn't specified.
    * 
@@ -65,6 +93,8 @@ public enum CommuteMethod */ public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Commute time is calculated based on driving time.
    * 
@@ -73,6 +103,8 @@ public enum CommuteMethod */ public static final int DRIVING_VALUE = 1; /** + * + * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -82,6 +114,8 @@ public enum CommuteMethod
    */
   public static final int TRANSIT_VALUE = 2;
   /**
+   *
+   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -90,6 +124,8 @@ public enum CommuteMethod */ public static final int WALKING_VALUE = 3; /** + * + * *
    * Commute time is calculated based on biking time.
    * 
@@ -98,7 +134,6 @@ public enum CommuteMethod */ public static final int CYCLING_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -123,51 +158,53 @@ public static CommuteMethod valueOf(int value) { */ public static CommuteMethod forNumber(int value) { switch (value) { - case 0: return COMMUTE_METHOD_UNSPECIFIED; - case 1: return DRIVING; - case 2: return TRANSIT; - case 3: return WALKING; - case 4: return CYCLING; - default: return null; + case 0: + return COMMUTE_METHOD_UNSPECIFIED; + case 1: + return DRIVING; + case 2: + return TRANSIT; + case 3: + return WALKING; + case 4: + return CYCLING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CommuteMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CommuteMethod findValueByNumber(int number) { - return CommuteMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CommuteMethod findValueByNumber(int number) { + return CommuteMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(9); } private static final CommuteMethod[] VALUES = values(); - public static CommuteMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -183,4 +220,3 @@ private CommuteMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CommuteMethod) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java similarity index 75% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java index 5e5fc1054f6a..35d4d4ae0237 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * A Company resource represents a company in the service. A company is the
  * entity that owns job postings, that is, the hiring entity responsible for
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Company}
  */
-public final class Company extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Company extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Company)
     CompanyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Company.newBuilder() to construct.
   private Company(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Company() {
     name_ = "";
     displayName_ = "";
@@ -36,54 +54,64 @@ private Company() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Company();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CompanyResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CompanyResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Company.class, com.google.cloud.talent.v4beta1.Company.Builder.class);
+            com.google.cloud.talent.v4beta1.Company.class,
+            com.google.cloud.talent.v4beta1.Company.Builder.class);
   }
 
-  public interface DerivedInfoOrBuilder extends
+  public interface DerivedInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Company.DerivedInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ boolean hasHeadquartersLocation(); /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return The headquartersLocation. */ com.google.cloud.talent.v4beta1.Location getHeadquartersLocation(); /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -94,58 +122,64 @@ public interface DerivedInfoOrBuilder extends
     com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Derived details about the company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Company.DerivedInfo} */ - public static final class DerivedInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Company.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DerivedInfo() { - } + + private DerivedInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); } public static final int HEADQUARTERS_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Location headquartersLocation_; /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ @java.lang.Override @@ -153,19 +187,26 @@ public boolean hasHeadquartersLocation() { return headquartersLocation_ != null; } /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return The headquartersLocation. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location getHeadquartersLocation() { - return headquartersLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_; + return headquartersLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : headquartersLocation_; } /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -179,6 +220,7 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -190,8 +232,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (headquartersLocation_ != null) {
         output.writeMessage(1, getHeadquartersLocation());
       }
@@ -205,8 +246,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (headquartersLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getHeadquartersLocation());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeadquartersLocation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -216,17 +257,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.Company.DerivedInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.Company.DerivedInfo other = (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj;
+      com.google.cloud.talent.v4beta1.Company.DerivedInfo other =
+          (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj;
 
       if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
       if (hasHeadquartersLocation()) {
-        if (!getHeadquartersLocation()
-            .equals(other.getHeadquartersLocation())) return false;
+        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -249,87 +290,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.Company.DerivedInfo prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.Company.DerivedInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -339,39 +387,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Derived details about the company.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Company.DerivedInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Company.DerivedInfo) com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override @@ -406,7 +456,8 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { - com.google.cloud.talent.v4beta1.Company.DerivedInfo result = new com.google.cloud.talent.v4beta1.Company.DerivedInfo(this); + com.google.cloud.talent.v4beta1.Company.DerivedInfo result = + new com.google.cloud.talent.v4beta1.Company.DerivedInfo(this); if (headquartersLocationBuilder_ == null) { result.headquartersLocation_ = headquartersLocation_; } else { @@ -420,38 +471,41 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Company.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Company.DerivedInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Company.DerivedInfo) other); } else { super.mergeFrom(other); return this; @@ -459,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Company.DerivedInfo other) { - if (other == com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance()) + return this; if (other.hasHeadquartersLocation()) { mergeHeadquartersLocation(other.getHeadquartersLocation()); } @@ -489,19 +544,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getHeadquartersLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getHeadquartersLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,36 +570,49 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> headquartersLocationBuilder_; + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> + headquartersLocationBuilder_; /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ public boolean hasHeadquartersLocation() { return headquartersLocationBuilder_ != null || headquartersLocation_ != null; } /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return The headquartersLocation. */ public com.google.cloud.talent.v4beta1.Location getHeadquartersLocation() { if (headquartersLocationBuilder_ == null) { - return headquartersLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_; + return headquartersLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : headquartersLocation_; } else { return headquartersLocationBuilder_.getMessage(); } } /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -565,6 +634,8 @@ public Builder setHeadquartersLocation(com.google.cloud.talent.v4beta1.Location
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -584,6 +655,8 @@ public Builder setHeadquartersLocation(
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -595,7 +668,9 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4beta1.Locatio
         if (headquartersLocationBuilder_ == null) {
           if (headquartersLocation_ != null) {
             headquartersLocation_ =
-              com.google.cloud.talent.v4beta1.Location.newBuilder(headquartersLocation_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4beta1.Location.newBuilder(headquartersLocation_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             headquartersLocation_ = value;
           }
@@ -607,6 +682,8 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4beta1.Locatio
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -626,6 +703,8 @@ public Builder clearHeadquartersLocation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -634,11 +713,13 @@ public Builder clearHeadquartersLocation() {
        * .google.cloud.talent.v4beta1.Location headquarters_location = 1;
        */
       public com.google.cloud.talent.v4beta1.Location.Builder getHeadquartersLocationBuilder() {
-        
+
         onChanged();
         return getHeadquartersLocationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -650,11 +731,14 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
         if (headquartersLocationBuilder_ != null) {
           return headquartersLocationBuilder_.getMessageOrBuilder();
         } else {
-          return headquartersLocation_ == null ?
-              com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_;
+          return headquartersLocation_ == null
+              ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance()
+              : headquartersLocation_;
         }
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -663,18 +747,22 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
        * .google.cloud.talent.v4beta1.Location headquarters_location = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
+              com.google.cloud.talent.v4beta1.Location,
+              com.google.cloud.talent.v4beta1.Location.Builder,
+              com.google.cloud.talent.v4beta1.LocationOrBuilder>
           getHeadquartersLocationFieldBuilder() {
         if (headquartersLocationBuilder_ == null) {
-          headquartersLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
-                  getHeadquartersLocation(),
-                  getParentForChildren(),
-                  isClean());
+          headquartersLocationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4beta1.Location,
+                  com.google.cloud.talent.v4beta1.Location.Builder,
+                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+                  getHeadquartersLocation(), getParentForChildren(), isClean());
           headquartersLocation_ = null;
         }
         return headquartersLocationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -687,12 +775,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Company.DerivedInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Company.DerivedInfo)
     private static final com.google.cloud.talent.v4beta1.Company.DerivedInfo DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Company.DerivedInfo();
     }
@@ -701,27 +789,28 @@ public static com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public DerivedInfo parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public DerivedInfo parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -736,12 +825,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -754,6 +844,7 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceFor
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -762,14 +853,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -782,16 +874,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -802,11 +893,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -815,29 +909,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -848,6 +942,8 @@ public java.lang.String getDisplayName() { public static final int EXTERNAL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object externalId_; /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -855,6 +951,7 @@ public java.lang.String getDisplayName() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ @java.lang.Override @@ -863,14 +960,15 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -878,16 +976,15 @@ public java.lang.String getExternalId() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -898,33 +995,44 @@ public java.lang.String getExternalId() { public static final int SIZE_FIELD_NUMBER = 4; private int size_; /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ - @java.lang.Override public int getSizeValue() { + @java.lang.Override + public int getSizeValue() { return size_; } /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The size. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompanySize getSize() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompanySize result = com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); + com.google.cloud.talent.v4beta1.CompanySize result = + com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4beta1.CompanySize.UNRECOGNIZED : result; } public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER = 5; private volatile java.lang.Object headquartersAddress_; /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -933,6 +1041,7 @@ public java.lang.String getExternalId() {
    * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ @java.lang.Override @@ -941,14 +1050,15 @@ public java.lang.String getHeadquartersAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; } } /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -957,16 +1067,15 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -977,6 +1086,8 @@ public java.lang.String getHeadquartersAddress() { public static final int HIRING_AGENCY_FIELD_NUMBER = 6; private boolean hiringAgency_; /** + * + * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -984,6 +1095,7 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ @java.lang.Override @@ -994,6 +1106,8 @@ public boolean getHiringAgency() { public static final int EEO_TEXT_FIELD_NUMBER = 7; private volatile java.lang.Object eeoText_; /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1002,6 +1116,7 @@ public boolean getHiringAgency() {
    * 
* * string eeo_text = 7; + * * @return The eeoText. */ @java.lang.Override @@ -1010,14 +1125,15 @@ public java.lang.String getEeoText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; } } /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1026,16 +1142,15 @@ public java.lang.String getEeoText() {
    * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ @java.lang.Override - public com.google.protobuf.ByteString - getEeoTextBytes() { + public com.google.protobuf.ByteString getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eeoText_ = b; return b; } else { @@ -1046,6 +1161,8 @@ public java.lang.String getEeoText() { public static final int WEBSITE_URI_FIELD_NUMBER = 8; private volatile java.lang.Object websiteUri_; /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1053,6 +1170,7 @@ public java.lang.String getEeoText() {
    * 
* * string website_uri = 8; + * * @return The websiteUri. */ @java.lang.Override @@ -1061,14 +1179,15 @@ public java.lang.String getWebsiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; } } /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1076,16 +1195,15 @@ public java.lang.String getWebsiteUri() {
    * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebsiteUriBytes() { + public com.google.protobuf.ByteString getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -1096,12 +1214,15 @@ public java.lang.String getWebsiteUri() { public static final int CAREER_SITE_URI_FIELD_NUMBER = 9; private volatile java.lang.Object careerSiteUri_; /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ @java.lang.Override @@ -1110,30 +1231,30 @@ public java.lang.String getCareerSiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; } } /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getCareerSiteUriBytes() { + public com.google.protobuf.ByteString getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -1144,11 +1265,14 @@ public java.lang.String getCareerSiteUri() { public static final int IMAGE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object imageUri_; /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The imageUri. */ @java.lang.Override @@ -1157,29 +1281,29 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -1190,6 +1314,8 @@ public java.lang.String getImageUri() { public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_; /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1202,15 +1328,18 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_; } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1223,14 +1352,18 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated + public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1243,15 +1376,19 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated + public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1264,24 +1401,30 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } public static final int DERIVED_INFO_FIELD_NUMBER = 12; private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -1289,23 +1432,34 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -1315,6 +1469,8 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn public static final int SUSPENDED_FIELD_NUMBER = 13; private boolean suspended_; /** + * + * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -1322,6 +1478,7 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ @java.lang.Override @@ -1330,6 +1487,7 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1341,8 +1499,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1374,7 +1531,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageUri_); } for (int i = 0; i < keywordSearchableJobCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); } if (derivedInfo_ != null) { output.writeMessage(12, getDerivedInfo()); @@ -1401,15 +1559,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalId_); } if (size_ != com.google.cloud.talent.v4beta1.CompanySize.COMPANY_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, size_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headquartersAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, headquartersAddress_); } if (hiringAgency_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, hiringAgency_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hiringAgency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eeoText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eeoText_); @@ -1432,12 +1588,10 @@ public int getSerializedSize() { size += 1 * getKeywordSearchableJobCustomAttributesList().size(); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDerivedInfo()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, suspended_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1447,41 +1601,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Company)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Company other = (com.google.cloud.talent.v4beta1.Company) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getExternalId() - .equals(other.getExternalId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; if (size_ != other.size_) return false; - if (!getHeadquartersAddress() - .equals(other.getHeadquartersAddress())) return false; - if (getHiringAgency() - != other.getHiringAgency()) return false; - if (!getEeoText() - .equals(other.getEeoText())) return false; - if (!getWebsiteUri() - .equals(other.getWebsiteUri())) return false; - if (!getCareerSiteUri() - .equals(other.getCareerSiteUri())) return false; - if (!getImageUri() - .equals(other.getImageUri())) return false; + if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() != other.getHiringAgency()) return false; + if (!getEeoText().equals(other.getEeoText())) return false; + if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; if (!getKeywordSearchableJobCustomAttributesList() .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo() - .equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } - if (getSuspended() - != other.getSuspended()) return false; + if (getSuspended() != other.getSuspended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1504,8 +1647,7 @@ public int hashCode() { hash = (37 * hash) + HEADQUARTERS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getHeadquartersAddress().hashCode(); hash = (37 * hash) + HIRING_AGENCY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHiringAgency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHiringAgency()); hash = (37 * hash) + EEO_TEXT_FIELD_NUMBER; hash = (53 * hash) + getEeoText().hashCode(); hash = (37 * hash) + WEBSITE_URI_FIELD_NUMBER; @@ -1523,104 +1665,110 @@ public int hashCode() { hash = (53 * hash) + getDerivedInfo().hashCode(); } hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Company parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Company parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Company parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Company prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Company resource represents a company in the service. A company is the
    * entity that owns job postings, that is, the hiring entity responsible for
@@ -1629,33 +1777,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Company}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Company)
       com.google.cloud.talent.v4beta1.CompanyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Company.class, com.google.cloud.talent.v4beta1.Company.Builder.class);
+              com.google.cloud.talent.v4beta1.Company.class,
+              com.google.cloud.talent.v4beta1.Company.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Company.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1693,9 +1840,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
     }
 
     @java.lang.Override
@@ -1714,7 +1861,8 @@ public com.google.cloud.talent.v4beta1.Company build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.Company buildPartial() {
-      com.google.cloud.talent.v4beta1.Company result = new com.google.cloud.talent.v4beta1.Company(this);
+      com.google.cloud.talent.v4beta1.Company result =
+          new com.google.cloud.talent.v4beta1.Company(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1727,7 +1875,8 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() {
       result.careerSiteUri_ = careerSiteUri_;
       result.imageUri_ = imageUri_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView();
+        keywordSearchableJobCustomAttributes_ =
+            keywordSearchableJobCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_;
@@ -1745,38 +1894,39 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Company) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Company)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Company) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1865,80 +2015,92 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              externalId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                externalId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              size_ = input.readEnum();
+                break;
+              } // case 26
+            case 32:
+              {
+                size_ = input.readEnum();
 
-              break;
-            } // case 32
-            case 42: {
-              headquartersAddress_ = input.readStringRequireUtf8();
+                break;
+              } // case 32
+            case 42:
+              {
+                headquartersAddress_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 48: {
-              hiringAgency_ = input.readBool();
+                break;
+              } // case 42
+            case 48:
+              {
+                hiringAgency_ = input.readBool();
 
-              break;
-            } // case 48
-            case 58: {
-              eeoText_ = input.readStringRequireUtf8();
+                break;
+              } // case 48
+            case 58:
+              {
+                eeoText_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 58
-            case 66: {
-              websiteUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 58
+            case 66:
+              {
+                websiteUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 66
-            case 74: {
-              careerSiteUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 66
+            case 74:
+              {
+                careerSiteUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 74
-            case 82: {
-              imageUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 74
+            case 82:
+              {
+                imageUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 82
-            case 90: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureKeywordSearchableJobCustomAttributesIsMutable();
-              keywordSearchableJobCustomAttributes_.add(s);
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getDerivedInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 82
+            case 90:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureKeywordSearchableJobCustomAttributesIsMutable();
+                keywordSearchableJobCustomAttributes_.add(s);
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 98
-            case 104: {
-              suspended_ = input.readBool();
+                break;
+              } // case 98
+            case 104:
+              {
+                suspended_ = input.readBool();
 
-              break;
-            } // case 104
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 104
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1948,10 +2110,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1964,13 +2129,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1979,6 +2144,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1991,15 +2158,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2007,6 +2173,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2019,20 +2187,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2045,15 +2215,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2066,16 +2239,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2083,18 +2256,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2103,20 +2278,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2124,54 +2300,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2179,6 +2362,8 @@ public Builder setDisplayNameBytes( private java.lang.Object externalId_ = ""; /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2186,13 +2371,13 @@ public Builder setDisplayNameBytes(
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -2201,6 +2386,8 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2208,15 +2395,14 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -2224,6 +2410,8 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2231,20 +2419,22 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId( - java.lang.String value) { + public Builder setExternalId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2252,15 +2442,18 @@ public Builder setExternalId(
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2268,16 +2461,16 @@ public Builder clearExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -2285,51 +2478,65 @@ public Builder setExternalIdBytes( private int size_ = 0; /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ - @java.lang.Override public int getSizeValue() { + @java.lang.Override + public int getSizeValue() { return size_; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @param value The enum numeric value on the wire for size to set. * @return This builder for chaining. */ public Builder setSizeValue(int value) { - + size_ = value; onChanged(); return this; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The size. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompanySize result = com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); + com.google.cloud.talent.v4beta1.CompanySize result = + com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4beta1.CompanySize.UNRECOGNIZED : result; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @param value The size to set. * @return This builder for chaining. */ @@ -2337,21 +2544,24 @@ public Builder setSize(com.google.cloud.talent.v4beta1.CompanySize value) { if (value == null) { throw new NullPointerException(); } - + size_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0; onChanged(); return this; @@ -2359,6 +2569,8 @@ public Builder clearSize() { private java.lang.Object headquartersAddress_ = ""; /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2367,13 +2579,13 @@ public Builder clearSize() {
      * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ public java.lang.String getHeadquartersAddress() { java.lang.Object ref = headquartersAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; @@ -2382,6 +2594,8 @@ public java.lang.String getHeadquartersAddress() { } } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2390,15 +2604,14 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ - public com.google.protobuf.ByteString - getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -2406,6 +2619,8 @@ public java.lang.String getHeadquartersAddress() { } } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2414,20 +2629,22 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @param value The headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddress( - java.lang.String value) { + public Builder setHeadquartersAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + headquartersAddress_ = value; onChanged(); return this; } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2436,15 +2653,18 @@ public Builder setHeadquartersAddress(
      * 
* * string headquarters_address = 5; + * * @return This builder for chaining. */ public Builder clearHeadquartersAddress() { - + headquartersAddress_ = getDefaultInstance().getHeadquartersAddress(); onChanged(); return this; } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2453,23 +2673,25 @@ public Builder clearHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @param value The bytes for headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + headquartersAddress_ = value; onChanged(); return this; } - private boolean hiringAgency_ ; + private boolean hiringAgency_; /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2477,6 +2699,7 @@ public Builder setHeadquartersAddressBytes(
      * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ @java.lang.Override @@ -2484,6 +2707,8 @@ public boolean getHiringAgency() { return hiringAgency_; } /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2491,16 +2716,19 @@ public boolean getHiringAgency() {
      * 
* * bool hiring_agency = 6; + * * @param value The hiringAgency to set. * @return This builder for chaining. */ public Builder setHiringAgency(boolean value) { - + hiringAgency_ = value; onChanged(); return this; } /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2508,10 +2736,11 @@ public Builder setHiringAgency(boolean value) {
      * 
* * bool hiring_agency = 6; + * * @return This builder for chaining. */ public Builder clearHiringAgency() { - + hiringAgency_ = false; onChanged(); return this; @@ -2519,6 +2748,8 @@ public Builder clearHiringAgency() { private java.lang.Object eeoText_ = ""; /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2527,13 +2758,13 @@ public Builder clearHiringAgency() {
      * 
* * string eeo_text = 7; + * * @return The eeoText. */ public java.lang.String getEeoText() { java.lang.Object ref = eeoText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; @@ -2542,6 +2773,8 @@ public java.lang.String getEeoText() { } } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2550,15 +2783,14 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ - public com.google.protobuf.ByteString - getEeoTextBytes() { + public com.google.protobuf.ByteString getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eeoText_ = b; return b; } else { @@ -2566,6 +2798,8 @@ public java.lang.String getEeoText() { } } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2574,20 +2808,22 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; + * * @param value The eeoText to set. * @return This builder for chaining. */ - public Builder setEeoText( - java.lang.String value) { + public Builder setEeoText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eeoText_ = value; onChanged(); return this; } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2596,15 +2832,18 @@ public Builder setEeoText(
      * 
* * string eeo_text = 7; + * * @return This builder for chaining. */ public Builder clearEeoText() { - + eeoText_ = getDefaultInstance().getEeoText(); onChanged(); return this; } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2613,16 +2852,16 @@ public Builder clearEeoText() {
      * 
* * string eeo_text = 7; + * * @param value The bytes for eeoText to set. * @return This builder for chaining. */ - public Builder setEeoTextBytes( - com.google.protobuf.ByteString value) { + public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eeoText_ = value; onChanged(); return this; @@ -2630,6 +2869,8 @@ public Builder setEeoTextBytes( private java.lang.Object websiteUri_ = ""; /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2637,13 +2878,13 @@ public Builder setEeoTextBytes(
      * 
* * string website_uri = 8; + * * @return The websiteUri. */ public java.lang.String getWebsiteUri() { java.lang.Object ref = websiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; @@ -2652,6 +2893,8 @@ public java.lang.String getWebsiteUri() { } } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2659,15 +2902,14 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ - public com.google.protobuf.ByteString - getWebsiteUriBytes() { + public com.google.protobuf.ByteString getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -2675,6 +2917,8 @@ public java.lang.String getWebsiteUri() { } } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2682,20 +2926,22 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; + * * @param value The websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUri( - java.lang.String value) { + public Builder setWebsiteUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + websiteUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2703,15 +2949,18 @@ public Builder setWebsiteUri(
      * 
* * string website_uri = 8; + * * @return This builder for chaining. */ public Builder clearWebsiteUri() { - + websiteUri_ = getDefaultInstance().getWebsiteUri(); onChanged(); return this; } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2719,16 +2968,16 @@ public Builder clearWebsiteUri() {
      * 
* * string website_uri = 8; + * * @param value The bytes for websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUriBytes( - com.google.protobuf.ByteString value) { + public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + websiteUri_ = value; onChanged(); return this; @@ -2736,19 +2985,21 @@ public Builder setWebsiteUriBytes( private java.lang.Object careerSiteUri_ = ""; /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ public java.lang.String getCareerSiteUri() { java.lang.Object ref = careerSiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; @@ -2757,21 +3008,22 @@ public java.lang.String getCareerSiteUri() { } } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ - public com.google.protobuf.ByteString - getCareerSiteUriBytes() { + public com.google.protobuf.ByteString getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -2779,57 +3031,64 @@ public java.lang.String getCareerSiteUri() { } } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @param value The careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUri( - java.lang.String value) { + public Builder setCareerSiteUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + careerSiteUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return This builder for chaining. */ public Builder clearCareerSiteUri() { - + careerSiteUri_ = getDefaultInstance().getCareerSiteUri(); onChanged(); return this; } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @param value The bytes for careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUriBytes( - com.google.protobuf.ByteString value) { + public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + careerSiteUri_ = value; onChanged(); return this; @@ -2837,18 +3096,20 @@ public Builder setCareerSiteUriBytes( private java.lang.Object imageUri_ = ""; /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -2857,20 +3118,21 @@ public java.lang.String getImageUri() { } } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -2878,67 +3140,79 @@ public java.lang.String getImageUri() { } } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri( - java.lang.String value) { + public Builder setImageUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes( - com.google.protobuf.ByteString value) { + public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKeywordSearchableJobCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); + keywordSearchableJobCustomAttributes_ = + new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -2950,16 +3224,20 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -2971,15 +3249,20 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated + public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -2991,16 +3274,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated + public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3012,17 +3300,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3034,24 +3326,28 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index to set the value at. * @param value The keywordSearchableJobCustomAttributes to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setKeywordSearchableJobCustomAttributes( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.set(index, value); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3063,23 +3359,27 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param value The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributes( - java.lang.String value) { + @java.lang.Deprecated + public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3091,13 +3391,16 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param values The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllKeywordSearchableJobCustomAttributes( + @java.lang.Deprecated + public Builder addAllKeywordSearchableJobCustomAttributes( java.lang.Iterable values) { ensureKeywordSearchableJobCustomAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3106,6 +3409,8 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() { return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3117,18 +3422,23 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearKeywordSearchableJobCustomAttributes() { + @java.lang.Deprecated + public Builder clearKeywordSearchableJobCustomAttributes() { keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3140,18 +3450,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param value The bytes of the keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributesBytes( + @java.lang.Deprecated + public Builder addKeywordSearchableJobCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); @@ -3160,39 +3473,58 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() { private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> derivedInfoBuilder_; + com.google.cloud.talent.v4beta1.Company.DerivedInfo, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> + derivedInfoBuilder_; /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -3208,11 +3540,15 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInf return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo( com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder builderForValue) { @@ -3226,17 +3562,23 @@ public Builder setDerivedInfo( return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder(derivedInfo_) + .mergeFrom(value) + .buildPartial(); } else { derivedInfo_ = value; } @@ -3248,11 +3590,15 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedI return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -3266,55 +3612,73 @@ public Builder clearDerivedInfo() { return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null ? - com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> + com.google.cloud.talent.v4beta1.Company.DerivedInfo, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder>( - getDerivedInfo(), - getParentForChildren(), - isClean()); + derivedInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company.DerivedInfo, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder>( + getDerivedInfo(), getParentForChildren(), isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; } - private boolean suspended_ ; + private boolean suspended_; /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3322,6 +3686,7 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ @java.lang.Override @@ -3329,6 +3694,8 @@ public boolean getSuspended() { return suspended_; } /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3336,16 +3703,19 @@ public boolean getSuspended() {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The suspended to set. * @return This builder for chaining. */ public Builder setSuspended(boolean value) { - + suspended_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3353,17 +3723,18 @@ public Builder setSuspended(boolean value) {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSuspended() { - + suspended_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3373,12 +3744,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Company) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Company) private static final com.google.cloud.talent.v4beta1.Company DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Company(); } @@ -3387,27 +3758,27 @@ public static com.google.cloud.talent.v4beta1.Company getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Company parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Company parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3422,6 +3793,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Company getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java similarity index 100% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java similarity index 80% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java index 107985724e1b..cf1a85ae296c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company.proto package com.google.cloud.talent.v4beta1; -public interface CompanyOrBuilder extends +public interface CompanyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Company) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -20,10 +38,13 @@ public interface CompanyOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -36,32 +57,39 @@ public interface CompanyOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -69,10 +97,13 @@ public interface CompanyOrBuilder extends
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ java.lang.String getExternalId(); /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -80,31 +111,39 @@ public interface CompanyOrBuilder extends
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - com.google.protobuf.ByteString - getExternalIdBytes(); + com.google.protobuf.ByteString getExternalIdBytes(); /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ int getSizeValue(); /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The size. */ com.google.cloud.talent.v4beta1.CompanySize getSize(); /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -113,10 +152,13 @@ public interface CompanyOrBuilder extends
    * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ java.lang.String getHeadquartersAddress(); /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -125,12 +167,14 @@ public interface CompanyOrBuilder extends
    * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ - com.google.protobuf.ByteString - getHeadquartersAddressBytes(); + com.google.protobuf.ByteString getHeadquartersAddressBytes(); /** + * + * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -138,11 +182,14 @@ public interface CompanyOrBuilder extends
    * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ boolean getHiringAgency(); /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -151,10 +198,13 @@ public interface CompanyOrBuilder extends
    * 
* * string eeo_text = 7; + * * @return The eeoText. */ java.lang.String getEeoText(); /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -163,12 +213,14 @@ public interface CompanyOrBuilder extends
    * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ - com.google.protobuf.ByteString - getEeoTextBytes(); + com.google.protobuf.ByteString getEeoTextBytes(); /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -176,10 +228,13 @@ public interface CompanyOrBuilder extends
    * 
* * string website_uri = 8; + * * @return The websiteUri. */ java.lang.String getWebsiteUri(); /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -187,54 +242,66 @@ public interface CompanyOrBuilder extends
    * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ - com.google.protobuf.ByteString - getWebsiteUriBytes(); + com.google.protobuf.ByteString getWebsiteUriBytes(); /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ java.lang.String getCareerSiteUri(); /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ - com.google.protobuf.ByteString - getCareerSiteUriBytes(); + com.google.protobuf.ByteString getCareerSiteUriBytes(); /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The imageUri. */ java.lang.String getImageUri(); /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString - getImageUriBytes(); + com.google.protobuf.ByteString getImageUriBytes(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -247,13 +314,16 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated java.util.List - getKeywordSearchableJobCustomAttributesList(); + @java.lang.Deprecated + java.util.List getKeywordSearchableJobCustomAttributesList(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -266,12 +336,16 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated int getKeywordSearchableJobCustomAttributesCount(); + @java.lang.Deprecated + int getKeywordSearchableJobCustomAttributesCount(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -284,13 +358,17 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated java.lang.String getKeywordSearchableJobCustomAttributes(int index); + @java.lang.Deprecated + java.lang.String getKeywordSearchableJobCustomAttributes(int index); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -303,42 +381,59 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo(); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** + * + * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -346,6 +441,7 @@ public interface CompanyOrBuilder extends
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ boolean getSuspended(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java new file mode 100644 index 000000000000..1b63ab21ba97 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java @@ -0,0 +1,120 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/company.proto + +package com.google.cloud.talent.v4beta1; + +public final class CompanyResourceProto { + private CompanyResourceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Company_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/talent/v4beta1/company.pr" + + "oto\022\033google.cloud.talent.v4beta1\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032(google/cloud/talent/v4beta" + + "1/common.proto\"\200\005\n\007Company\022\014\n\004name\030\001 \001(\t" + + "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013external_" + + "id\030\003 \001(\tB\003\340A\002\0226\n\004size\030\004 \001(\0162(.google.clo" + + "ud.talent.v4beta1.CompanySize\022\034\n\024headqua" + + "rters_address\030\005 \001(\t\022\025\n\rhiring_agency\030\006 \001" + + "(\010\022\020\n\010eeo_text\030\007 \001(\t\022\023\n\013website_uri\030\010 \001(" + + "\t\022\027\n\017career_site_uri\030\t \001(\t\022\021\n\timage_uri\030" + + "\n \001(\t\0224\n(keyword_searchable_job_custom_a" + + "ttributes\030\013 \003(\tB\002\030\001\022K\n\014derived_info\030\014 \001(" + + "\01320.google.cloud.talent.v4beta1.Company." + + "DerivedInfoB\003\340A\003\022\026\n\tsuspended\030\r \001(\010B\003\340A\003" + + "\032S\n\013DerivedInfo\022D\n\025headquarters_location" + + "\030\001 \001(\0132%.google.cloud.talent.v4beta1.Loc" + + "ation:\201\001\352A~\n\033jobs.googleapis.com/Company" + + "\0227projects/{project}/tenants/{tenant}/co" + + "mpanies/{company}\022&projects/{project}/co" + + "mpanies/{company}B\202\001\n\037com.google.cloud.t" + + "alent.v4beta1B\024CompanyResourceProtoP\001ZAg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Company_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Company_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "ExternalId", + "Size", + "HeadquartersAddress", + "HiringAgency", + "EeoText", + "WebsiteUri", + "CareerSiteUri", + "ImageUri", + "KeywordSearchableJobCustomAttributes", + "DerivedInfo", + "Suspended", + }); + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Company_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor, + new java.lang.String[] { + "HeadquartersLocation", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java new file mode 100644 index 000000000000..41feb9ae8cc7 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java @@ -0,0 +1,208 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/company_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class CompanyServiceProto { + private CompanyServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/talent/v4beta1/company_se" + + "rvice.proto\022\033google.cloud.talent.v4beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032(goo" + + "gle/cloud/talent/v4beta1/common.proto\032)g" + + "oogle/cloud/talent/v4beta1/company.proto" + + "\032\033google/protobuf/empty.proto\032 google/pr" + + "otobuf/field_mask.proto\"\207\001\n\024CreateCompan" + + "yRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\022\033jobs.g" + + "oogleapis.com/Company\022:\n\007company\030\002 \001(\0132$" + + ".google.cloud.talent.v4beta1.CompanyB\003\340A" + + "\002\"F\n\021GetCompanyRequest\0221\n\004name\030\001 \001(\tB#\340A" + + "\002\372A\035\n\033jobs.googleapis.com/Company\"\203\001\n\024Up" + + "dateCompanyRequest\022:\n\007company\030\001 \001(\0132$.go" + + "ogle.cloud.talent.v4beta1.CompanyB\003\340A\002\022/" + + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMask\"I\n\024DeleteCompanyRequest\0221\n\004name\030" + + "\001 \001(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Compa" + + "ny\"\215\001\n\024ListCompaniesRequest\0223\n\006parent\030\001 " + + "\001(\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company" + + "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" + + "\031\n\021require_open_jobs\030\004 \001(\010\"\252\001\n\025ListCompa" + + "niesResponse\0227\n\tcompanies\030\001 \003(\0132$.google" + + ".cloud.talent.v4beta1.Company\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.googl" + + "e.cloud.talent.v4beta1.ResponseMetadata2" + + "\322\t\n\016CompanyService\022\343\001\n\rCreateCompany\0221.g" + + "oogle.cloud.talent.v4beta1.CreateCompany" + + "Request\032$.google.cloud.talent.v4beta1.Co" + + "mpany\"y\202\323\344\223\002b\"0/v4beta1/{parent=projects" + + "/*/tenants/*}/companies:\001*Z+\"&/v4beta1/{" + + "parent=projects/*}/companies:\001*\332A\016parent" + + ",company\022\315\001\n\nGetCompany\022..google.cloud.t" + + "alent.v4beta1.GetCompanyRequest\032$.google" + + ".cloud.talent.v4beta1.Company\"i\202\323\344\223\002\\\0220/" + + "v4beta1/{name=projects/*/tenants/*/compa" + + "nies/*}Z(\022&/v4beta1/{name=projects/*/com" + + "panies/*}\332A\004name\022\355\001\n\rUpdateCompany\0221.goo" + + "gle.cloud.talent.v4beta1.UpdateCompanyRe" + + "quest\032$.google.cloud.talent.v4beta1.Comp" + + "any\"\202\001\202\323\344\223\002r28/v4beta1/{company.name=pro" + + "jects/*/tenants/*/companies/*}:\001*Z32./v4" + + "beta1/{company.name=projects/*/companies" + + "/*}:\001*\332A\007company\022\305\001\n\rDeleteCompany\0221.goo" + + "gle.cloud.talent.v4beta1.DeleteCompanyRe" + + "quest\032\026.google.protobuf.Empty\"i\202\323\344\223\002\\*0/" + + "v4beta1/{name=projects/*/tenants/*/compa" + + "nies/*}Z(*&/v4beta1/{name=projects/*/com" + + "panies/*}\332A\004name\022\343\001\n\rListCompanies\0221.goo" + + "gle.cloud.talent.v4beta1.ListCompaniesRe" + + "quest\0322.google.cloud.talent.v4beta1.List" + + "CompaniesResponse\"k\202\323\344\223\002\\\0220/v4beta1/{par" + + "ent=projects/*/tenants/*}/companiesZ(\022&/" + + "v4beta1/{parent=projects/*}/companies\332A\006" + + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + + "/www.googleapis.com/auth/cloud-platform," + + "https://www.googleapis.com/auth/jobsB\201\001\n" + + "\037com.google.cloud.talent.v4beta1B\023Compan" + + "yServiceProtoP\001ZAgoogle.golang.org/genpr" + + "oto/googleapis/cloud/talent/v4beta1;tale" + + "nt\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor, + new java.lang.String[] { + "Parent", "Company", + }); + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor, + new java.lang.String[] { + "Company", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", "RequireOpenJobs", + }); + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor, + new java.lang.String[] { + "Companies", "NextPageToken", "Metadata", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java similarity index 72% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java index 59c4a40ecd3e..2516f3abd629 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents the size of the company.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompanySize} */ -public enum CompanySize - implements com.google.protobuf.ProtocolMessageEnum { +public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if the size isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum CompanySize */ COMPANY_SIZE_UNSPECIFIED(0), /** + * + * *
    * The company has less than 50 employees.
    * 
@@ -29,6 +49,8 @@ public enum CompanySize */ MINI(1), /** + * + * *
    * The company has between 50 and 99 employees.
    * 
@@ -37,6 +59,8 @@ public enum CompanySize */ SMALL(2), /** + * + * *
    * The company has between 100 and 499 employees.
    * 
@@ -45,6 +69,8 @@ public enum CompanySize */ SMEDIUM(3), /** + * + * *
    * The company has between 500 and 999 employees.
    * 
@@ -53,6 +79,8 @@ public enum CompanySize */ MEDIUM(4), /** + * + * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -61,6 +89,8 @@ public enum CompanySize */ BIG(5), /** + * + * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -69,6 +99,8 @@ public enum CompanySize */ BIGGER(6), /** + * + * *
    * The company has 10,000 or more employees.
    * 
@@ -80,6 +112,8 @@ public enum CompanySize ; /** + * + * *
    * Default value if the size isn't specified.
    * 
@@ -88,6 +122,8 @@ public enum CompanySize */ public static final int COMPANY_SIZE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The company has less than 50 employees.
    * 
@@ -96,6 +132,8 @@ public enum CompanySize */ public static final int MINI_VALUE = 1; /** + * + * *
    * The company has between 50 and 99 employees.
    * 
@@ -104,6 +142,8 @@ public enum CompanySize */ public static final int SMALL_VALUE = 2; /** + * + * *
    * The company has between 100 and 499 employees.
    * 
@@ -112,6 +152,8 @@ public enum CompanySize */ public static final int SMEDIUM_VALUE = 3; /** + * + * *
    * The company has between 500 and 999 employees.
    * 
@@ -120,6 +162,8 @@ public enum CompanySize */ public static final int MEDIUM_VALUE = 4; /** + * + * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -128,6 +172,8 @@ public enum CompanySize */ public static final int BIG_VALUE = 5; /** + * + * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -136,6 +182,8 @@ public enum CompanySize */ public static final int BIGGER_VALUE = 6; /** + * + * *
    * The company has 10,000 or more employees.
    * 
@@ -144,7 +192,6 @@ public enum CompanySize */ public static final int GIANT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static CompanySize valueOf(int value) { */ public static CompanySize forNumber(int value) { switch (value) { - case 0: return COMPANY_SIZE_UNSPECIFIED; - case 1: return MINI; - case 2: return SMALL; - case 3: return SMEDIUM; - case 4: return MEDIUM; - case 5: return BIG; - case 6: return BIGGER; - case 7: return GIANT; - default: return null; + case 0: + return COMPANY_SIZE_UNSPECIFIED; + case 1: + return MINI; + case 2: + return SMALL; + case 3: + return SMEDIUM; + case 4: + return MEDIUM; + case 5: + return BIG; + case 6: + return BIGGER; + case 7: + return GIANT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompanySize> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompanySize findValueByNumber(int number) { - return CompanySize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompanySize findValueByNumber(int number) { + return CompanySize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final CompanySize[] VALUES = values(); - public static CompanySize valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CompanySize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private CompanySize(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CompanySize) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java similarity index 67% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java index 6677ead94614..8ef1a3485600 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Filter on job compensation type and amount.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationFilter} */ -public final class CompensationFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompensationFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationFilter) CompensationFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationFilter.newBuilder() to construct. private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); @@ -26,39 +44,43 @@ private CompensationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationFilter.class, com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); + com.google.cloud.talent.v4beta1.CompensationFilter.class, + com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); } /** + * + * *
    * Specify the type of filtering.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationFilter.FilterType} */ - public enum FilterType - implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -67,6 +89,8 @@ public enum FilterType */ FILTER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -80,6 +104,8 @@ public enum FilterType
      */
     UNIT_ONLY(1),
     /**
+     *
+     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -96,6 +122,8 @@ public enum FilterType
      */
     UNIT_AND_AMOUNT(2),
     /**
+     *
+     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -105,6 +133,8 @@ public enum FilterType
      */
     ANNUALIZED_BASE_AMOUNT(3),
     /**
+     *
+     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -117,6 +147,8 @@ public enum FilterType
     ;
 
     /**
+     *
+     *
      * 
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -125,6 +157,8 @@ public enum FilterType */ public static final int FILTER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -138,6 +172,8 @@ public enum FilterType
      */
     public static final int UNIT_ONLY_VALUE = 1;
     /**
+     *
+     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -154,6 +190,8 @@ public enum FilterType
      */
     public static final int UNIT_AND_AMOUNT_VALUE = 2;
     /**
+     *
+     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -163,6 +201,8 @@ public enum FilterType
      */
     public static final int ANNUALIZED_BASE_AMOUNT_VALUE = 3;
     /**
+     *
+     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -172,7 +212,6 @@ public enum FilterType
      */
     public static final int ANNUALIZED_TOTAL_AMOUNT_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -197,51 +236,55 @@ public static FilterType valueOf(int value) {
      */
     public static FilterType forNumber(int value) {
       switch (value) {
-        case 0: return FILTER_TYPE_UNSPECIFIED;
-        case 1: return UNIT_ONLY;
-        case 2: return UNIT_AND_AMOUNT;
-        case 3: return ANNUALIZED_BASE_AMOUNT;
-        case 4: return ANNUALIZED_TOTAL_AMOUNT;
-        default: return null;
+        case 0:
+          return FILTER_TYPE_UNSPECIFIED;
+        case 1:
+          return UNIT_ONLY;
+        case 2:
+          return UNIT_AND_AMOUNT;
+        case 3:
+          return ANNUALIZED_BASE_AMOUNT;
+        case 4:
+          return ANNUALIZED_TOTAL_AMOUNT;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        FilterType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FilterType findValueByNumber(int number) {
-              return FilterType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public FilterType findValueByNumber(int number) {
+            return FilterType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompensationFilter.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompensationFilter.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final FilterType[] VALUES = values();
 
-    public static FilterType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FilterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -261,63 +304,96 @@ private FilterType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED + : result; } public static final int UNITS_FIELD_NUMBER = 2; private java.util.List units_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> units_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> + units_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>() { - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert(java.lang.Integer from) { + java.lang.Integer, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ @java.lang.Override - public java.util.List getUnitsList() { + public java.util.List + getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>(units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>( + units_, units_converter_); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ @java.lang.Override @@ -325,12 +401,17 @@ public int getUnitsCount() { return units_.size(); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ @@ -339,26 +420,35 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit return units_converter_.convert(units_.get(index)); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ @java.lang.Override - public java.util.List - getUnitsValueList() { + public java.util.List getUnitsValueList() { return units_; } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -366,16 +456,20 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit public int getUnitsValue(int index) { return units_.get(index); } + private int unitsMemoizedSerializedSize; public static final int RANGE_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ @java.lang.Override @@ -383,18 +477,25 @@ public boolean hasRange() { return range_ != null; } /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { - return range_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() + : range_; } /** + * + * *
    * Compensation range.
    * 
@@ -402,19 +503,23 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { return getRange(); } public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER = 4; private boolean includeJobsWithUnspecifiedCompensationRange_; /** + * + * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -423,6 +528,7 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,10 +540,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (type_ != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (getUnitsList().size() > 0) { @@ -462,29 +569,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; for (int i = 0; i < units_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(units_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(units_.get(i)); } size += dataSize; - if (!getUnitsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }unitsMemoizedSerializedSize = dataSize; + if (!getUnitsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + unitsMemoizedSerializedSize = dataSize; } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRange()); } if (includeJobsWithUnspecifiedCompensationRange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, includeJobsWithUnspecifiedCompensationRange_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, includeJobsWithUnspecifiedCompensationRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -494,19 +602,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompensationFilter other = (com.google.cloud.talent.v4beta1.CompensationFilter) obj; + com.google.cloud.talent.v4beta1.CompensationFilter other = + (com.google.cloud.talent.v4beta1.CompensationFilter) obj; if (type_ != other.type_) return false; if (!units_.equals(other.units_)) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange() - .equals(other.getRange())) return false; + if (!getRange().equals(other.getRange())) return false; } if (getIncludeJobsWithUnspecifiedCompensationRange() != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; @@ -532,137 +640,145 @@ public int hashCode() { hash = (53 * hash) + getRange().hashCode(); } hash = (37 * hash) + INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeJobsWithUnspecifiedCompensationRange()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean( + getIncludeJobsWithUnspecifiedCompensationRange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Filter on job compensation type and amount.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationFilter) com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationFilter.class, com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); + com.google.cloud.talent.v4beta1.CompensationFilter.class, + com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,9 +798,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override @@ -703,7 +819,8 @@ public com.google.cloud.talent.v4beta1.CompensationFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { - com.google.cloud.talent.v4beta1.CompensationFilter result = new com.google.cloud.talent.v4beta1.CompensationFilter(this); + com.google.cloud.talent.v4beta1.CompensationFilter result = + new com.google.cloud.talent.v4beta1.CompensationFilter(this); int from_bitField0_ = bitField0_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { @@ -716,7 +833,8 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { } else { result.range_ = rangeBuilder_.build(); } - result.includeJobsWithUnspecifiedCompensationRange_ = includeJobsWithUnspecifiedCompensationRange_; + result.includeJobsWithUnspecifiedCompensationRange_ = + includeJobsWithUnspecifiedCompensationRange_; onBuilt(); return result; } @@ -725,38 +843,39 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationFilter)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationFilter) other); } else { super.mergeFrom(other); return this; @@ -764,7 +883,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationFilter other) { - if (other == com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -782,7 +902,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationFilter othe mergeRange(other.getRange()); } if (other.getIncludeJobsWithUnspecifiedCompensationRange() != false) { - setIncludeJobsWithUnspecifiedCompensationRange(other.getIncludeJobsWithUnspecifiedCompensationRange()); + setIncludeJobsWithUnspecifiedCompensationRange( + other.getIncludeJobsWithUnspecifiedCompensationRange()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -810,46 +931,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); - - break; - } // case 8 - case 16: { - int tmpRaw = input.readEnum(); - ensureUnitsIsMutable(); - units_.add(tmpRaw); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { + type_ = input.readEnum(); + + break; + } // case 8 + case 16: + { int tmpRaw = input.readEnum(); ensureUnitsIsMutable(); units_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: { - input.readMessage( - getRangeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureUnitsIsMutable(); + units_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: + { + input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); + + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -859,55 +984,80 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int type_ = 0; /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -915,28 +1065,33 @@ public Builder setType(com.google.cloud.talent.v4beta1.CompensationFilter.Filter if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private java.util.List units_ = - java.util.Collections.emptyList(); + private java.util.List units_ = java.util.Collections.emptyList(); + private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); @@ -944,37 +1099,54 @@ private void ensureUnitsIsMutable() { } } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ - public java.util.List getUnitsList() { + public java.util.List + getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>(units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>( + units_, units_converter_); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ public int getUnitsCount() { return units_.size(); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ @@ -982,12 +1154,17 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit return units_converter_.convert(units_.get(index)); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The units to set. * @return This builder for chaining. @@ -1003,16 +1180,22 @@ public Builder setUnits( return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The units to add. * @return This builder for chaining. */ - public Builder addUnits(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { + public Builder addUnits( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { if (value == null) { throw new NullPointerException(); } @@ -1022,17 +1205,24 @@ public Builder addUnits(com.google.cloud.talent.v4beta1.CompensationInfo.Compens return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The units to add. * @return This builder for chaining. */ public Builder addAllUnits( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> + values) { ensureUnitsIsMutable(); for (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value : values) { units_.add(value.getNumber()); @@ -1041,12 +1231,17 @@ public Builder addAllUnits( return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearUnits() { @@ -1056,25 +1251,34 @@ public Builder clearUnits() { return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ - public java.util.List - getUnitsValueList() { + public java.util.List getUnitsValueList() { return java.util.Collections.unmodifiableList(units_); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -1082,30 +1286,39 @@ public int getUnitsValue(int index) { return units_.get(index); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ - public Builder setUnitsValue( - int index, int value) { + public Builder setUnitsValue(int index, int value) { ensureUnitsIsMutable(); units_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for units to add. * @return This builder for chaining. */ @@ -1116,17 +1329,21 @@ public Builder addUnitsValue(int value) { return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for units to add. * @return This builder for chaining. */ - public Builder addAllUnitsValue( - java.lang.Iterable values) { + public Builder addAllUnitsValue(java.lang.Iterable values) { ensureUnitsIsMutable(); for (int value : values) { units_.add(value); @@ -1137,41 +1354,56 @@ public Builder addAllUnitsValue( private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + rangeBuilder_; /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { - return range_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : range_; } else { return rangeBuilder_.getMessage(); } } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1185,6 +1417,8 @@ public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compens return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1192,7 +1426,8 @@ public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compens * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + builderForValue) { if (rangeBuilder_ == null) { range_ = builderForValue.build(); onChanged(); @@ -1203,17 +1438,22 @@ public Builder setRange( return this; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (range_ != null) { range_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(range_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(range_) + .mergeFrom(value) + .buildPartial(); } else { range_ = value; } @@ -1225,6 +1465,8 @@ public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compe return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1243,33 +1485,43 @@ public Builder clearRange() { return this; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + getRangeBuilder() { + onChanged(); return getRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { - return range_ == null ? - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : range_; } } /** + * + * *
      * Compensation range.
      * 
@@ -1277,27 +1529,33 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getRange(), - getParentForChildren(), - isClean()); + rangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getRange(), getParentForChildren(), isClean()); range_ = null; } return rangeBuilder_; } - private boolean includeJobsWithUnspecifiedCompensationRange_ ; + private boolean includeJobsWithUnspecifiedCompensationRange_; /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -1305,39 +1563,45 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { return includeJobsWithUnspecifiedCompensationRange_; } /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @param value The includeJobsWithUnspecifiedCompensationRange to set. * @return This builder for chaining. */ public Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value) { - + includeJobsWithUnspecifiedCompensationRange_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return This builder for chaining. */ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { - + includeJobsWithUnspecifiedCompensationRange_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1347,12 +1611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationFilter) private static final com.google.cloud.talent.v4beta1.CompensationFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationFilter(); } @@ -1361,27 +1625,27 @@ public static com.google.cloud.talent.v4beta1.CompensationFilter getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,6 +1660,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompensationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java similarity index 63% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java index d05d091b50ca..f08780f6e696 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java @@ -1,104 +1,162 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface CompensationFilterOrBuilder extends +public interface CompensationFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ java.util.List getUnitsList(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ int getUnitsCount(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnits(int index); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ - java.util.List - getUnitsValueList(); + java.util.List getUnitsValueList(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ int getUnitsValue(int index); /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange(); /** + * + * *
    * Compensation range.
    * 
@@ -108,12 +166,15 @@ public interface CompensationFilterOrBuilder extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** + * + * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ boolean getIncludeJobsWithUnspecifiedCompensationRange(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java similarity index 73% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java index a5e9a07d3ced..76155aa807ef 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java @@ -1,54 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Job compensation details.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo} */ -public final class CompensationInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompensationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo) CompensationInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationInfo.newBuilder() to construct. private CompensationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompensationInfo() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.class, com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.class, + com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); } /** + * + * *
    * The type of compensation.
    * For compensation amounts specified in non-monetary amounts,
@@ -67,9 +88,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationType}
    */
-  public enum CompensationType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -78,6 +100,8 @@ public enum CompensationType */ COMPENSATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -89,6 +113,8 @@ public enum CompensationType
      */
     BASE(1),
     /**
+     *
+     *
      * 
      * Bonus.
      * 
@@ -97,6 +123,8 @@ public enum CompensationType */ BONUS(2), /** + * + * *
      * Signing bonus.
      * 
@@ -105,6 +133,8 @@ public enum CompensationType */ SIGNING_BONUS(3), /** + * + * *
      * Equity.
      * 
@@ -113,6 +143,8 @@ public enum CompensationType */ EQUITY(4), /** + * + * *
      * Profit sharing.
      * 
@@ -121,6 +153,8 @@ public enum CompensationType */ PROFIT_SHARING(5), /** + * + * *
      * Commission.
      * 
@@ -129,6 +163,8 @@ public enum CompensationType */ COMMISSIONS(6), /** + * + * *
      * Tips.
      * 
@@ -137,6 +173,8 @@ public enum CompensationType */ TIPS(7), /** + * + * *
      * Other compensation type.
      * 
@@ -148,6 +186,8 @@ public enum CompensationType ; /** + * + * *
      * Default value.
      * 
@@ -156,6 +196,8 @@ public enum CompensationType */ public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -167,6 +209,8 @@ public enum CompensationType
      */
     public static final int BASE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Bonus.
      * 
@@ -175,6 +219,8 @@ public enum CompensationType */ public static final int BONUS_VALUE = 2; /** + * + * *
      * Signing bonus.
      * 
@@ -183,6 +229,8 @@ public enum CompensationType */ public static final int SIGNING_BONUS_VALUE = 3; /** + * + * *
      * Equity.
      * 
@@ -191,6 +239,8 @@ public enum CompensationType */ public static final int EQUITY_VALUE = 4; /** + * + * *
      * Profit sharing.
      * 
@@ -199,6 +249,8 @@ public enum CompensationType */ public static final int PROFIT_SHARING_VALUE = 5; /** + * + * *
      * Commission.
      * 
@@ -207,6 +259,8 @@ public enum CompensationType */ public static final int COMMISSIONS_VALUE = 6; /** + * + * *
      * Tips.
      * 
@@ -215,6 +269,8 @@ public enum CompensationType */ public static final int TIPS_VALUE = 7; /** + * + * *
      * Other compensation type.
      * 
@@ -223,7 +279,6 @@ public enum CompensationType */ public static final int OTHER_COMPENSATION_TYPE_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -248,45 +303,54 @@ public static CompensationType valueOf(int value) { */ public static CompensationType forNumber(int value) { switch (value) { - case 0: return COMPENSATION_TYPE_UNSPECIFIED; - case 1: return BASE; - case 2: return BONUS; - case 3: return SIGNING_BONUS; - case 4: return EQUITY; - case 5: return PROFIT_SHARING; - case 6: return COMMISSIONS; - case 7: return TIPS; - case 8: return OTHER_COMPENSATION_TYPE; - default: return null; + case 0: + return COMPENSATION_TYPE_UNSPECIFIED; + case 1: + return BASE; + case 2: + return BONUS; + case 3: + return SIGNING_BONUS; + case 4: + return EQUITY; + case 5: + return PROFIT_SHARING; + case 6: + return COMMISSIONS; + case 7: + return TIPS; + case 8: + return OTHER_COMPENSATION_TYPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompensationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationType findValueByNumber(int number) { - return CompensationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationType findValueByNumber(int number) { + return CompensationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CompensationInfo.getDescriptor().getEnumTypes().get(0); } @@ -295,8 +359,7 @@ public CompensationType findValueByNumber(int number) { public static CompensationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -314,15 +377,18 @@ private CompensationType(int value) { } /** + * + * *
    * Pay frequency.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit} */ - public enum CompensationUnit - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -331,6 +397,8 @@ public enum CompensationUnit */ COMPENSATION_UNIT_UNSPECIFIED(0), /** + * + * *
      * Hourly.
      * 
@@ -339,6 +407,8 @@ public enum CompensationUnit */ HOURLY(1), /** + * + * *
      * Daily.
      * 
@@ -347,6 +417,8 @@ public enum CompensationUnit */ DAILY(2), /** + * + * *
      * Weekly
      * 
@@ -355,6 +427,8 @@ public enum CompensationUnit */ WEEKLY(3), /** + * + * *
      * Monthly.
      * 
@@ -363,6 +437,8 @@ public enum CompensationUnit */ MONTHLY(4), /** + * + * *
      * Yearly.
      * 
@@ -371,6 +447,8 @@ public enum CompensationUnit */ YEARLY(5), /** + * + * *
      * One time.
      * 
@@ -379,6 +457,8 @@ public enum CompensationUnit */ ONE_TIME(6), /** + * + * *
      * Other compensation units.
      * 
@@ -390,6 +470,8 @@ public enum CompensationUnit ; /** + * + * *
      * Default value.
      * 
@@ -398,6 +480,8 @@ public enum CompensationUnit */ public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Hourly.
      * 
@@ -406,6 +490,8 @@ public enum CompensationUnit */ public static final int HOURLY_VALUE = 1; /** + * + * *
      * Daily.
      * 
@@ -414,6 +500,8 @@ public enum CompensationUnit */ public static final int DAILY_VALUE = 2; /** + * + * *
      * Weekly
      * 
@@ -422,6 +510,8 @@ public enum CompensationUnit */ public static final int WEEKLY_VALUE = 3; /** + * + * *
      * Monthly.
      * 
@@ -430,6 +520,8 @@ public enum CompensationUnit */ public static final int MONTHLY_VALUE = 4; /** + * + * *
      * Yearly.
      * 
@@ -438,6 +530,8 @@ public enum CompensationUnit */ public static final int YEARLY_VALUE = 5; /** + * + * *
      * One time.
      * 
@@ -446,6 +540,8 @@ public enum CompensationUnit */ public static final int ONE_TIME_VALUE = 6; /** + * + * *
      * Other compensation units.
      * 
@@ -454,7 +550,6 @@ public enum CompensationUnit */ public static final int OTHER_COMPENSATION_UNIT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -479,44 +574,52 @@ public static CompensationUnit valueOf(int value) { */ public static CompensationUnit forNumber(int value) { switch (value) { - case 0: return COMPENSATION_UNIT_UNSPECIFIED; - case 1: return HOURLY; - case 2: return DAILY; - case 3: return WEEKLY; - case 4: return MONTHLY; - case 5: return YEARLY; - case 6: return ONE_TIME; - case 7: return OTHER_COMPENSATION_UNIT; - default: return null; + case 0: + return COMPENSATION_UNIT_UNSPECIFIED; + case 1: + return HOURLY; + case 2: + return DAILY; + case 3: + return WEEKLY; + case 4: + return MONTHLY; + case 5: + return YEARLY; + case 6: + return ONE_TIME; + case 7: + return OTHER_COMPENSATION_UNIT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompensationUnit> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationUnit findValueByNumber(int number) { - return CompensationUnit.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationUnit findValueByNumber(int number) { + return CompensationUnit.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CompensationInfo.getDescriptor().getEnumTypes().get(1); } @@ -525,8 +628,7 @@ public CompensationUnit findValueByNumber(int number) { public static CompensationUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -543,71 +645,92 @@ private CompensationUnit(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit) } - public interface CompensationEntryOrBuilder extends + public interface CompensationEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The type. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType(); /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ int getUnitValue(); /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit(); /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ boolean hasAmount(); /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return The amount. */ com.google.type.Money getAmount(); /** + * + * *
      * Compensation amount.
      * 
@@ -617,24 +740,32 @@ public interface CompensationEntryOrBuilder extends com.google.type.MoneyOrBuilder getAmountOrBuilder(); /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange(); /** + * + * *
      * Compensation range.
      * 
@@ -644,6 +775,8 @@ public interface CompensationEntryOrBuilder extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -651,10 +784,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -662,12 +798,14 @@ public interface CompensationEntryOrBuilder extends
      * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -680,10 +818,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ boolean hasExpectedUnitsPerYear(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -696,10 +837,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ com.google.protobuf.DoubleValue getExpectedUnitsPerYear(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -715,9 +859,12 @@ public interface CompensationEntryOrBuilder extends
      */
     com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder();
 
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase();
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.CompensationAmountCase
+        getCompensationAmountCase();
   }
   /**
+   *
+   *
    * 
    * A compensation entry that represents one component of compensation, such
    * as base pay, bonus, or other compensation type.
@@ -730,15 +877,16 @@ public interface CompensationEntryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry}
    */
-  public static final class CompensationEntry extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class CompensationEntry extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
       CompensationEntryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use CompensationEntry.newBuilder() to construct.
     private CompensationEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private CompensationEntry() {
       type_ = 0;
       unit_ = 0;
@@ -747,38 +895,42 @@ private CompensationEntry() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CompensationEntry();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
+              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class,
+              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
     }
 
     private int compensationAmountCase_ = 0;
     private java.lang.Object compensationAmount_;
+
     public enum CompensationAmountCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AMOUNT(3),
       RANGE(4),
       COMPENSATIONAMOUNT_NOT_SET(0);
       private final int value;
+
       private CompensationAmountCase(int value) {
         this.value = value;
       }
@@ -794,88 +946,116 @@ public static CompensationAmountCase valueOf(int value) {
 
       public static CompensationAmountCase forNumber(int value) {
         switch (value) {
-          case 3: return AMOUNT;
-          case 4: return RANGE;
-          case 0: return COMPENSATIONAMOUNT_NOT_SET;
-          default: return null;
+          case 3:
+            return AMOUNT;
+          case 4:
+            return RANGE;
+          case 0:
+            return COMPENSATIONAMOUNT_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public CompensationAmountCase
-    getCompensationAmountCase() {
-      return CompensationAmountCase.forNumber(
-          compensationAmountCase_);
+    public CompensationAmountCase getCompensationAmountCase() {
+      return CompensationAmountCase.forNumber(compensationAmountCase_);
     }
 
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
+     *
+     *
      * 
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED + : result; } public static final int UNIT_FIELD_NUMBER = 2; private int unit_; /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override public int getUnitValue() { + @java.lang.Override + public int getUnitValue() { return unit_; } /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } public static final int AMOUNT_FIELD_NUMBER = 3; /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ @java.lang.Override @@ -883,21 +1063,26 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return The amount. */ @java.lang.Override public com.google.type.Money getAmount() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } /** + * + * *
      * Compensation amount.
      * 
@@ -907,18 +1092,21 @@ public com.google.type.Money getAmount() { @java.lang.Override public com.google.type.MoneyOrBuilder getAmountOrBuilder() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } public static final int RANGE_FIELD_NUMBER = 4; /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -926,21 +1114,28 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } /** + * + * *
      * Compensation range.
      * 
@@ -948,16 +1143,21 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -965,6 +1165,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
      * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -973,14 +1174,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -988,16 +1190,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1008,6 +1209,8 @@ public java.lang.String getDescription() { public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER = 6; private com.google.protobuf.DoubleValue expectedUnitsPerYear_; /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1020,6 +1223,7 @@ public java.lang.String getDescription() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ @java.lang.Override @@ -1027,6 +1231,8 @@ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYear_ != null; } /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1039,13 +1245,18 @@ public boolean hasExpectedUnitsPerYear() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ @java.lang.Override public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { - return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null + ? com.google.protobuf.DoubleValue.getDefaultInstance() + : expectedUnitsPerYear_; } /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1065,6 +1276,7 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1076,19 +1288,27 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      if (type_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      if (type_
+          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType
+              .COMPENSATION_TYPE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(1, type_);
       }
-      if (unit_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
+      if (unit_
+          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
+              .COMPENSATION_UNIT_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
         output.writeMessage(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        output.writeMessage(4, (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_);
+        output.writeMessage(
+            4,
+            (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
+                compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
@@ -1105,28 +1325,36 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, type_);
-      }
-      if (unit_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(2, unit_);
+      if (type_
+          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType
+              .COMPENSATION_TYPE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+      }
+      if (unit_
+          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
+              .COMPENSATION_UNIT_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, (com.google.type.Money) compensationAmount_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                4,
+                (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
+                    compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
       }
       if (expectedUnitsPerYear_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, getExpectedUnitsPerYear());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpectedUnitsPerYear());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1136,31 +1364,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;
+      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other =
+          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;
 
       if (type_ != other.type_) return false;
       if (unit_ != other.unit_) return false;
-      if (!getDescription()
-          .equals(other.getDescription())) return false;
+      if (!getDescription().equals(other.getDescription())) return false;
       if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
       if (hasExpectedUnitsPerYear()) {
-        if (!getExpectedUnitsPerYear()
-            .equals(other.getExpectedUnitsPerYear())) return false;
+        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
       }
       if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
       switch (compensationAmountCase_) {
         case 3:
-          if (!getAmount()
-              .equals(other.getAmount())) return false;
+          if (!getAmount().equals(other.getAmount())) return false;
           break;
         case 4:
-          if (!getRange()
-              .equals(other.getRange())) return false;
+          if (!getRange().equals(other.getRange())) return false;
           break;
         case 0:
         default:
@@ -1204,87 +1429,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1294,6 +1527,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A compensation entry that represents one component of compensation, such
      * as base pay, bonus, or other compensation type.
@@ -1306,33 +1541,34 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
         com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.talent.v4beta1.CommonProto
+            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
+        return com.google.cloud.talent.v4beta1.CommonProto
+            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
+                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class,
+                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
       }
 
-      // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1360,14 +1596,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.talent.v4beta1.CommonProto
+            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
-        return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance();
+      public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+          getDefaultInstanceForType() {
+        return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1381,7 +1619,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry build(
 
       @java.lang.Override
       public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildPartial() {
-        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry result = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry(this);
+        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry result =
+            new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry(this);
         result.type_ = type_;
         result.unit_ = unit_;
         if (compensationAmountCase_ == 3) {
@@ -1413,46 +1652,53 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildP
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) {
-          return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)other);
+          return mergeFrom(
+              (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other) {
-        if (other == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other) {
+        if (other
+            == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+                .getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -1467,17 +1713,20 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.Compen
           mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
         }
         switch (other.getCompensationAmountCase()) {
-          case AMOUNT: {
-            mergeAmount(other.getAmount());
-            break;
-          }
-          case RANGE: {
-            mergeRange(other.getRange());
-            break;
-          }
-          case COMPENSATIONAMOUNT_NOT_SET: {
-            break;
-          }
+          case AMOUNT:
+            {
+              mergeAmount(other.getAmount());
+              break;
+            }
+          case RANGE:
+            {
+              mergeRange(other.getRange());
+              break;
+            }
+          case COMPENSATIONAMOUNT_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1500,53 +1749,55 @@ public Builder mergeFrom(
         try {
           boolean done = false;
           while (!done) {
-            int tag = input.readTag();
-            switch (tag) {
-              case 0:
-                done = true;
-                break;
-              case 8: {
-                type_ = input.readEnum();
-
-                break;
-              } // case 8
-              case 16: {
-                unit_ = input.readEnum();
-
-                break;
-              } // case 16
-              case 26: {
-                input.readMessage(
-                    getAmountFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                compensationAmountCase_ = 3;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getRangeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                compensationAmountCase_ = 4;
-                break;
-              } // case 34
-              case 42: {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-              case 50: {
-                input.readMessage(
-                    getExpectedUnitsPerYearFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 50
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
+            int tag = input.readTag();
+            switch (tag) {
+              case 0:
+                done = true;
                 break;
-              } // default:
+              case 8:
+                {
+                  type_ = input.readEnum();
+
+                  break;
+                } // case 8
+              case 16:
+                {
+                  unit_ = input.readEnum();
+
+                  break;
+                } // case 16
+              case 26:
+                {
+                  input.readMessage(getAmountFieldBuilder().getBuilder(), extensionRegistry);
+                  compensationAmountCase_ = 3;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
+                  compensationAmountCase_ = 4;
+                  break;
+                } // case 34
+              case 42:
+                {
+                  description_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 42
+              case 50:
+                {
+                  input.readMessage(
+                      getExpectedUnitsPerYearFieldBuilder().getBuilder(), extensionRegistry);
+
+                  break;
+                } // case 50
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1556,12 +1807,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int compensationAmountCase_ = 0;
       private java.lang.Object compensationAmount_;
-      public CompensationAmountCase
-          getCompensationAmountCase() {
-        return CompensationAmountCase.forNumber(
-            compensationAmountCase_);
+
+      public CompensationAmountCase getCompensationAmountCase() {
+        return CompensationAmountCase.forNumber(compensationAmountCase_);
       }
 
       public Builder clearCompensationAmount() {
@@ -1571,81 +1822,100 @@ public Builder clearCompensationAmount() {
         return this;
       }
 
-
       private int type_ = 0;
       /**
+       *
+       *
        * 
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED + : result; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType value) { + public Builder setType( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1653,91 +1923,115 @@ public Builder clearType() { private int unit_ = 0; /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override public int getUnitValue() { + @java.lang.Override + public int getUnitValue() { return unit_; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @param value The enum numeric value on the wire for unit to set. * @return This builder for chaining. */ public Builder setUnitValue(int value) { - + unit_ = value; onChanged(); return this; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { + public Builder setUnit( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { if (value == null) { throw new NullPointerException(); } - + unit_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> amountBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + amountBuilder_; /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ @java.lang.Override @@ -1745,11 +2039,14 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; + * * @return The amount. */ @java.lang.Override @@ -1767,6 +2064,8 @@ public com.google.type.Money getAmount() { } } /** + * + * *
        * Compensation amount.
        * 
@@ -1787,14 +2086,15 @@ public Builder setAmount(com.google.type.Money value) { return this; } /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; */ - public Builder setAmount( - com.google.type.Money.Builder builderForValue) { + public Builder setAmount(com.google.type.Money.Builder builderForValue) { if (amountBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -1805,6 +2105,8 @@ public Builder setAmount( return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1813,10 +2115,12 @@ public Builder setAmount( */ public Builder mergeAmount(com.google.type.Money value) { if (amountBuilder_ == null) { - if (compensationAmountCase_ == 3 && - compensationAmount_ != com.google.type.Money.getDefaultInstance()) { - compensationAmount_ = com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) - .mergeFrom(value).buildPartial(); + if (compensationAmountCase_ == 3 + && compensationAmount_ != com.google.type.Money.getDefaultInstance()) { + compensationAmount_ = + com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) + .mergeFrom(value) + .buildPartial(); } else { compensationAmount_ = value; } @@ -1832,6 +2136,8 @@ public Builder mergeAmount(com.google.type.Money value) { return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1855,6 +2161,8 @@ public Builder clearAmount() { return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1865,6 +2173,8 @@ public com.google.type.Money.Builder getAmountBuilder() { return getAmountFieldBuilder().getBuilder(); } /** + * + * *
        * Compensation amount.
        * 
@@ -1883,6 +2193,8 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { } } /** + * + * *
        * Compensation amount.
        * 
@@ -1890,32 +2202,40 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { * .google.type.Money amount = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { if (!(compensationAmountCase_ == 3)) { compensationAmount_ = com.google.type.Money.getDefaultInstance(); } - amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - (com.google.type.Money) compensationAmount_, - getParentForChildren(), - isClean()); + amountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + (com.google.type.Money) compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 3; - onChanged();; + onChanged(); + ; return amountBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + rangeBuilder_; /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -1923,35 +2243,44 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } else { if (compensationAmountCase_ == 4) { return rangeBuilder_.getMessage(); } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1965,6 +2294,8 @@ public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compens return this; } /** + * + * *
        * Compensation range.
        * 
@@ -1972,7 +2303,8 @@ public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compens * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + builderForValue) { if (rangeBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -1983,18 +2315,27 @@ public Builder setRange( return this; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { - if (compensationAmountCase_ == 4 && - compensationAmount_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance()) { - compensationAmount_ = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_) - .mergeFrom(value).buildPartial(); + if (compensationAmountCase_ == 4 + && compensationAmount_ + != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance()) { + compensationAmount_ = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( + (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_) + .mergeFrom(value) + .buildPartial(); } else { compensationAmount_ = value; } @@ -2010,6 +2351,8 @@ public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compe return this; } /** + * + * *
        * Compensation range.
        * 
@@ -2033,16 +2376,21 @@ public Builder clearRange() { return this; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getRangeBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + getRangeBuilder() { return getRangeFieldBuilder().getBuilder(); } /** + * + * *
        * Compensation range.
        * 
@@ -2050,17 +2398,22 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builde * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if ((compensationAmountCase_ == 4) && (rangeBuilder_ != null)) { return rangeBuilder_.getMessageOrBuilder(); } else { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } } /** + * + * *
        * Compensation range.
        * 
@@ -2068,26 +2421,37 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { if (!(compensationAmountCase_ == 4)) { - compensationAmount_ = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + compensationAmount_ = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } - rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_, + rangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 4; - onChanged();; + onChanged(); + ; return rangeBuilder_; } private java.lang.Object description_ = ""; /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2095,13 +2459,13 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
        * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2110,6 +2474,8 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2117,15 +2483,14 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2133,6 +2498,8 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2140,20 +2507,22 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2161,15 +2530,18 @@ public Builder setDescription(
        * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2177,16 +2549,16 @@ public Builder clearDescription() {
        * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2194,8 +2566,13 @@ public Builder setDescriptionBytes( private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> expectedUnitsPerYearBuilder_; + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> + expectedUnitsPerYearBuilder_; /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2208,12 +2585,15 @@ public Builder setDescriptionBytes(
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYearBuilder_ != null || expectedUnitsPerYear_ != null; } /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2226,16 +2606,21 @@ public boolean hasExpectedUnitsPerYear() {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { if (expectedUnitsPerYearBuilder_ == null) { - return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null + ? com.google.protobuf.DoubleValue.getDefaultInstance() + : expectedUnitsPerYear_; } else { return expectedUnitsPerYearBuilder_.getMessage(); } } /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2263,6 +2648,8 @@ public Builder setExpectedUnitsPerYear(com.google.protobuf.DoubleValue value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2288,6 +2675,8 @@ public Builder setExpectedUnitsPerYear(
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2305,7 +2694,9 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         if (expectedUnitsPerYearBuilder_ == null) {
           if (expectedUnitsPerYear_ != null) {
             expectedUnitsPerYear_ =
-              com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_).mergeFrom(value).buildPartial();
+                com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             expectedUnitsPerYear_ = value;
           }
@@ -2317,6 +2708,8 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2342,6 +2735,8 @@ public Builder clearExpectedUnitsPerYear() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2356,11 +2751,13 @@ public Builder clearExpectedUnitsPerYear() {
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       public com.google.protobuf.DoubleValue.Builder getExpectedUnitsPerYearBuilder() {
-        
+
         onChanged();
         return getExpectedUnitsPerYearFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2378,11 +2775,14 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
         if (expectedUnitsPerYearBuilder_ != null) {
           return expectedUnitsPerYearBuilder_.getMessageOrBuilder();
         } else {
-          return expectedUnitsPerYear_ == null ?
-              com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_;
+          return expectedUnitsPerYear_ == null
+              ? com.google.protobuf.DoubleValue.getDefaultInstance()
+              : expectedUnitsPerYear_;
         }
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2397,18 +2797,22 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> 
+              com.google.protobuf.DoubleValue,
+              com.google.protobuf.DoubleValue.Builder,
+              com.google.protobuf.DoubleValueOrBuilder>
           getExpectedUnitsPerYearFieldBuilder() {
         if (expectedUnitsPerYearBuilder_ == null) {
-          expectedUnitsPerYearBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
-                  getExpectedUnitsPerYear(),
-                  getParentForChildren(),
-                  isClean());
+          expectedUnitsPerYearBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.DoubleValue,
+                  com.google.protobuf.DoubleValue.Builder,
+                  com.google.protobuf.DoubleValueOrBuilder>(
+                  getExpectedUnitsPerYear(), getParentForChildren(), isClean());
           expectedUnitsPerYear_ = null;
         }
         return expectedUnitsPerYearBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2421,41 +2825,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
-    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry();
     }
 
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompensationEntry parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompensationEntry parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2467,17 +2874,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CompensationRangeOrBuilder extends
+  public interface CompensationRangeOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2486,10 +2896,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ boolean hasMaxCompensation(); /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2498,10 +2911,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ com.google.type.Money getMaxCompensation(); /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2514,6 +2930,8 @@ public interface CompensationRangeOrBuilder extends
     com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder();
 
     /**
+     *
+     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2521,10 +2939,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ boolean hasMinCompensation(); /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2532,10 +2953,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ com.google.type.Money getMinCompensation(); /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2547,52 +2971,57 @@ public interface CompensationRangeOrBuilder extends
     com.google.type.MoneyOrBuilder getMinCompensationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Compensation range.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationRange} */ - public static final class CompensationRange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompensationRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) CompensationRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationRange.newBuilder() to construct. private CompensationRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationRange() { - } + + private CompensationRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); } public static final int MAX_COMPENSATION_FIELD_NUMBER = 2; private com.google.type.Money maxCompensation_; /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2601,6 +3030,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ @java.lang.Override @@ -2608,6 +3038,8 @@ public boolean hasMaxCompensation() { return maxCompensation_ != null; } /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2616,13 +3048,18 @@ public boolean hasMaxCompensation() {
      * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ @java.lang.Override public com.google.type.Money getMaxCompensation() { - return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; + return maxCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : maxCompensation_; } /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2640,6 +3077,8 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
     public static final int MIN_COMPENSATION_FIELD_NUMBER = 1;
     private com.google.type.Money minCompensation_;
     /**
+     *
+     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2647,6 +3086,7 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
      * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ @java.lang.Override @@ -2654,6 +3094,8 @@ public boolean hasMinCompensation() { return minCompensation_ != null; } /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2661,13 +3103,18 @@ public boolean hasMinCompensation() {
      * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ @java.lang.Override public com.google.type.Money getMinCompensation() { - return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; + return minCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : minCompensation_; } /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2682,6 +3129,7 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2693,8 +3141,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (minCompensation_ != null) {
         output.writeMessage(1, getMinCompensation());
       }
@@ -2711,12 +3158,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (minCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getMinCompensation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinCompensation());
       }
       if (maxCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getMaxCompensation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxCompensation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2726,22 +3171,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj;
+      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other =
+          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj;
 
       if (hasMaxCompensation() != other.hasMaxCompensation()) return false;
       if (hasMaxCompensation()) {
-        if (!getMaxCompensation()
-            .equals(other.getMaxCompensation())) return false;
+        if (!getMaxCompensation().equals(other.getMaxCompensation())) return false;
       }
       if (hasMinCompensation() != other.hasMinCompensation()) return false;
       if (hasMinCompensation()) {
-        if (!getMinCompensation()
-            .equals(other.getMinCompensation())) return false;
+        if (!getMinCompensation().equals(other.getMinCompensation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2768,87 +3212,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2858,39 +3310,42 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Compensation range.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); } - // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2910,14 +3365,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } @java.lang.Override @@ -2931,7 +3388,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange build( @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildPartial() { - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange result = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange(this); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange result = + new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange(this); if (maxCompensationBuilder_ == null) { result.maxCompensation_ = maxCompensation_; } else { @@ -2950,46 +3408,53 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)other); + return mergeFrom( + (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other) { - if (other == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other) { + if (other + == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance()) return this; if (other.hasMaxCompensation()) { mergeMaxCompensation(other.getMaxCompensation()); } @@ -3022,26 +3487,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMinCompensationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getMaxCompensationFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage( + getMinCompensationFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: + { + input.readMessage( + getMaxCompensationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3054,8 +3520,11 @@ public Builder mergeFrom( private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + maxCompensationBuilder_; /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3064,12 +3533,15 @@ public Builder mergeFrom(
        * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ public boolean hasMaxCompensation() { return maxCompensationBuilder_ != null || maxCompensation_ != null; } /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3078,16 +3550,21 @@ public boolean hasMaxCompensation() {
        * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ public com.google.type.Money getMaxCompensation() { if (maxCompensationBuilder_ == null) { - return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; + return maxCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : maxCompensation_; } else { return maxCompensationBuilder_.getMessage(); } } /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3111,6 +3588,8 @@ public Builder setMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3120,8 +3599,7 @@ public Builder setMaxCompensation(com.google.type.Money value) {
        *
        * .google.type.Money max_compensation = 2;
        */
-      public Builder setMaxCompensation(
-          com.google.type.Money.Builder builderForValue) {
+      public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue) {
         if (maxCompensationBuilder_ == null) {
           maxCompensation_ = builderForValue.build();
           onChanged();
@@ -3132,6 +3610,8 @@ public Builder setMaxCompensation(
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3145,7 +3625,7 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         if (maxCompensationBuilder_ == null) {
           if (maxCompensation_ != null) {
             maxCompensation_ =
-              com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
+                com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
           } else {
             maxCompensation_ = value;
           }
@@ -3157,6 +3637,8 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3178,6 +3660,8 @@ public Builder clearMaxCompensation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3188,11 +3672,13 @@ public Builder clearMaxCompensation() {
        * .google.type.Money max_compensation = 2;
        */
       public com.google.type.Money.Builder getMaxCompensationBuilder() {
-        
+
         onChanged();
         return getMaxCompensationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3206,11 +3692,14 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
         if (maxCompensationBuilder_ != null) {
           return maxCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return maxCompensation_ == null ?
-              com.google.type.Money.getDefaultInstance() : maxCompensation_;
+          return maxCompensation_ == null
+              ? com.google.type.Money.getDefaultInstance()
+              : maxCompensation_;
         }
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3221,14 +3710,15 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * .google.type.Money max_compensation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
           getMaxCompensationFieldBuilder() {
         if (maxCompensationBuilder_ == null) {
-          maxCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                  getMaxCompensation(),
-                  getParentForChildren(),
-                  isClean());
+          maxCompensationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Money,
+                  com.google.type.Money.Builder,
+                  com.google.type.MoneyOrBuilder>(
+                  getMaxCompensation(), getParentForChildren(), isClean());
           maxCompensation_ = null;
         }
         return maxCompensationBuilder_;
@@ -3236,8 +3726,11 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
 
       private com.google.type.Money minCompensation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_;
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          minCompensationBuilder_;
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3245,12 +3738,15 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ public boolean hasMinCompensation() { return minCompensationBuilder_ != null || minCompensation_ != null; } /** + * + * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3258,16 +3754,21 @@ public boolean hasMinCompensation() {
        * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ public com.google.type.Money getMinCompensation() { if (minCompensationBuilder_ == null) { - return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; + return minCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : minCompensation_; } else { return minCompensationBuilder_.getMessage(); } } /** + * + * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3290,6 +3791,8 @@ public Builder setMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3298,8 +3801,7 @@ public Builder setMinCompensation(com.google.type.Money value) {
        *
        * .google.type.Money min_compensation = 1;
        */
-      public Builder setMinCompensation(
-          com.google.type.Money.Builder builderForValue) {
+      public Builder setMinCompensation(com.google.type.Money.Builder builderForValue) {
         if (minCompensationBuilder_ == null) {
           minCompensation_ = builderForValue.build();
           onChanged();
@@ -3310,6 +3812,8 @@ public Builder setMinCompensation(
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3322,7 +3826,7 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         if (minCompensationBuilder_ == null) {
           if (minCompensation_ != null) {
             minCompensation_ =
-              com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
+                com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
           } else {
             minCompensation_ = value;
           }
@@ -3334,6 +3838,8 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3354,6 +3860,8 @@ public Builder clearMinCompensation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3363,11 +3871,13 @@ public Builder clearMinCompensation() {
        * .google.type.Money min_compensation = 1;
        */
       public com.google.type.Money.Builder getMinCompensationBuilder() {
-        
+
         onChanged();
         return getMinCompensationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3380,11 +3890,14 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
         if (minCompensationBuilder_ != null) {
           return minCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return minCompensation_ == null ?
-              com.google.type.Money.getDefaultInstance() : minCompensation_;
+          return minCompensation_ == null
+              ? com.google.type.Money.getDefaultInstance()
+              : minCompensation_;
         }
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3394,18 +3907,20 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
        * .google.type.Money min_compensation = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
           getMinCompensationFieldBuilder() {
         if (minCompensationBuilder_ == null) {
-          minCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                  getMinCompensation(),
-                  getParentForChildren(),
-                  isClean());
+          minCompensationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Money,
+                  com.google.type.Money.Builder,
+                  com.google.type.MoneyOrBuilder>(
+                  getMinCompensation(), getParentForChildren(), isClean());
           minCompensation_ = null;
         }
         return minCompensationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3418,41 +3933,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
-    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange();
     }
 
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompensationRange parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompensationRange parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3464,15 +3982,18 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
-  private java.util.List entries_;
+  private java.util.List
+      entries_;
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3480,13 +4001,17 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDef
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ @java.lang.Override - public java.util.List getEntriesList() { + public java.util.List + getEntriesList() { return entries_; } /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -3494,14 +4019,18 @@ public java.util.List
    *
-   * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1;
+   * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>
       getEntriesOrBuilderList() {
     return entries_;
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3509,13 +4038,16 @@ public java.util.List
    *
-   * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1;
+   * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1;
+   * 
    */
   @java.lang.Override
   public int getEntriesCount() {
     return entries_.size();
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3523,13 +4055,16 @@ public int getEntriesCount() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index) { return entries_.get(index); } /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -3537,17 +4072,21 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder + getEntriesOrBuilder(int index) { return entries_.get(index); } public static final int ANNUALIZED_BASE_COMPENSATION_RANGE_FIELD_NUMBER = 2; - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedBaseCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + annualizedBaseCompensationRange_; /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3555,7 +4094,10 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuild
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ @java.lang.Override @@ -3563,6 +4105,8 @@ public boolean hasAnnualizedBaseCompensationRange() { return annualizedBaseCompensationRange_ != null; } /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3570,14 +4114,22 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange() { + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedBaseCompensationRange_; } /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3585,16 +4137,22 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnn
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder() { return getAnnualizedBaseCompensationRange(); } public static final int ANNUALIZED_TOTAL_COMPENSATION_RANGE_FIELD_NUMBER = 3; - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + annualizedTotalCompensationRange_; /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3602,7 +4160,10 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ @java.lang.Override @@ -3610,6 +4171,8 @@ public boolean hasAnnualizedTotalCompensationRange() { return annualizedTotalCompensationRange_ != null; } /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3617,14 +4180,22 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange() { + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedTotalCompensationRange_; } /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3632,14 +4203,18 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnn
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder() { return getAnnualizedTotalCompensationRange(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3651,8 +4226,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -3672,16 +4246,17 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); } if (annualizedBaseCompensationRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnnualizedBaseCompensationRange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getAnnualizedBaseCompensationRange()); } if (annualizedTotalCompensationRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAnnualizedTotalCompensationRange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getAnnualizedTotalCompensationRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3691,21 +4266,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompensationInfo other = (com.google.cloud.talent.v4beta1.CompensationInfo) obj; + com.google.cloud.talent.v4beta1.CompensationInfo other = + (com.google.cloud.talent.v4beta1.CompensationInfo) obj; - if (!getEntriesList() - .equals(other.getEntriesList())) return false; - if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) return false; + if (!getEntriesList().equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) + return false; if (hasAnnualizedBaseCompensationRange()) { - if (!getAnnualizedBaseCompensationRange() - .equals(other.getAnnualizedBaseCompensationRange())) return false; + if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) + return false; } - if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) return false; + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) + return false; if (hasAnnualizedTotalCompensationRange()) { if (!getAnnualizedTotalCompensationRange() .equals(other.getAnnualizedTotalCompensationRange())) return false; @@ -3738,130 +4315,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Job compensation details.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo) com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.class, com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.class, + com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3888,9 +4471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override @@ -3909,7 +4492,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { - com.google.cloud.talent.v4beta1.CompensationInfo result = new com.google.cloud.talent.v4beta1.CompensationInfo(this); + com.google.cloud.talent.v4beta1.CompensationInfo result = + new com.google.cloud.talent.v4beta1.CompensationInfo(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3938,38 +4522,39 @@ public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo) other); } else { super.mergeFrom(other); return this; @@ -3977,7 +4562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo other) { - if (other == com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()) + return this; if (entriesBuilder_ == null) { if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { @@ -3996,9 +4582,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo other) entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntriesFieldBuilder() : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntriesFieldBuilder() + : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -4036,39 +4623,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry m = - input.readMessage( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry m = + input.readMessage( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage( + getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage( + getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4078,21 +4669,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List entries_ = - java.util.Collections.emptyList(); + private java.util.List + entries_ = java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = new java.util.ArrayList(entries_); + entries_ = + new java.util.ArrayList< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry>(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> entriesBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + entriesBuilder_; /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4100,9 +4700,11 @@ private void ensureEntriesIsMutable() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public java.util.List getEntriesList() { + public java.util.List + getEntriesList() { if (entriesBuilder_ == null) { return java.util.Collections.unmodifiableList(entries_); } else { @@ -4110,6 +4712,8 @@ public java.util.List * Job compensation information. * At most one entry can be of type @@ -4117,7 +4721,8 @@ public java.util.List * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public int getEntriesCount() { if (entriesBuilder_ == null) { @@ -4127,6 +4732,8 @@ public int getEntriesCount() { } } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4134,9 +4741,11 @@ public int getEntriesCount() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries( + int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { @@ -4144,6 +4753,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt } } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4151,7 +4762,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder setEntries( int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { @@ -4168,6 +4780,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4175,10 +4789,13 @@ public Builder setEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder setEntries( - int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); @@ -4189,6 +4806,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4196,9 +4815,11 @@ public Builder setEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public Builder addEntries(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { + public Builder addEntries( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4212,6 +4833,8 @@ public Builder addEntries(com.google.cloud.talent.v4beta1.CompensationInfo.Compe return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4219,7 +4842,8 @@ public Builder addEntries(com.google.cloud.talent.v4beta1.CompensationInfo.Compe
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder addEntries( int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { @@ -4236,6 +4860,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4243,10 +4869,12 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder addEntries( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); @@ -4257,6 +4885,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4264,10 +4894,13 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder addEntries( - int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); @@ -4278,6 +4911,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4285,14 +4920,16 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder addAllEntries( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry> + values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -4300,6 +4937,8 @@ public Builder addAllEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4307,7 +4946,8 @@ public Builder addAllEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder clearEntries() { if (entriesBuilder_ == null) { @@ -4320,6 +4960,8 @@ public Builder clearEntries() { return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4327,7 +4969,8 @@ public Builder clearEntries() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { @@ -4340,6 +4983,8 @@ public Builder removeEntries(int index) { return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4347,13 +4992,16 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder getEntriesBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + getEntriesBuilder(int index) { return getEntriesFieldBuilder().getBuilder(index); } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4361,16 +5009,20 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builde
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder + getEntriesOrBuilder(int index) { if (entriesBuilder_ == null) { - return entries_.get(index); } else { + return entries_.get(index); + } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4378,10 +5030,12 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuild
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -4389,6 +5043,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuild } } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4396,13 +5052,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuild
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + addEntriesBuilder() { + return getEntriesFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry + .getDefaultInstance()); } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4410,14 +5072,20 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builde
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder addEntriesBuilder( - int index) { - return getEntriesFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + addEntriesBuilder(int index) { + return getEntriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry + .getDefaultInstance()); } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4425,31 +5093,42 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builde
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public java.util.List - getEntriesBuilderList() { + public java.util.List< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder> + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( - entries_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( + entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedBaseCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + annualizedBaseCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> annualizedBaseCompensationRangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + annualizedBaseCompensationRangeBuilder_; /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4457,13 +5136,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builde
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ public boolean hasAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRangeBuilder_ != null || annualizedBaseCompensationRange_ != null; + return annualizedBaseCompensationRangeBuilder_ != null + || annualizedBaseCompensationRange_ != null; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4471,17 +5156,26 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { - return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : annualizedBaseCompensationRange_; } else { return annualizedBaseCompensationRangeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4489,9 +5183,12 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnn
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedBaseCompensationRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4505,6 +5202,8 @@ public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4512,10 +5211,13 @@ public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + builderForValue) { if (annualizedBaseCompensationRangeBuilder_ == null) { annualizedBaseCompensationRange_ = builderForValue.build(); onChanged(); @@ -4526,6 +5228,8 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4533,13 +5237,19 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedBaseCompensationRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (annualizedBaseCompensationRange_ != null) { annualizedBaseCompensationRange_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(annualizedBaseCompensationRange_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( + annualizedBaseCompensationRange_) + .mergeFrom(value) + .buildPartial(); } else { annualizedBaseCompensationRange_ = value; } @@ -4551,6 +5261,8 @@ public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4be return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4558,7 +5270,9 @@ public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4be
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { @@ -4572,6 +5286,8 @@ public Builder clearAnnualizedBaseCompensationRange() { return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4579,14 +5295,19 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + getAnnualizedBaseCompensationRangeBuilder() { + onChanged(); return getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4594,17 +5315,24 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builde
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder() { if (annualizedBaseCompensationRangeBuilder_ != null) { return annualizedBaseCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedBaseCompensationRange_ == null ? - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : annualizedBaseCompensationRange_; } } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4612,26 +5340,37 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedBaseCompensationRangeFieldBuilder() { if (annualizedBaseCompensationRangeBuilder_ == null) { - annualizedBaseCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedBaseCompensationRange(), - getParentForChildren(), - isClean()); + annualizedBaseCompensationRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedBaseCompensationRange(), getParentForChildren(), isClean()); annualizedBaseCompensationRange_ = null; } return annualizedBaseCompensationRangeBuilder_; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> annualizedTotalCompensationRangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + annualizedTotalCompensationRangeBuilder_; /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4639,13 +5378,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ public boolean hasAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRangeBuilder_ != null || annualizedTotalCompensationRange_ != null; + return annualizedTotalCompensationRangeBuilder_ != null + || annualizedTotalCompensationRange_ != null; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4653,17 +5398,26 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { - return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : annualizedTotalCompensationRange_; } else { return annualizedTotalCompensationRangeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4671,9 +5425,12 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnn
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedTotalCompensationRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4687,6 +5444,8 @@ public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4bet return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4694,10 +5453,13 @@ public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4bet
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + builderForValue) { if (annualizedTotalCompensationRangeBuilder_ == null) { annualizedTotalCompensationRange_ = builderForValue.build(); onChanged(); @@ -4708,6 +5470,8 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4715,13 +5479,19 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedTotalCompensationRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (annualizedTotalCompensationRange_ != null) { annualizedTotalCompensationRange_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(annualizedTotalCompensationRange_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( + annualizedTotalCompensationRange_) + .mergeFrom(value) + .buildPartial(); } else { annualizedTotalCompensationRange_ = value; } @@ -4733,6 +5503,8 @@ public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4b return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4740,7 +5512,9 @@ public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4b
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { @@ -4754,6 +5528,8 @@ public Builder clearAnnualizedTotalCompensationRange() { return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4761,14 +5537,19 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + getAnnualizedTotalCompensationRangeBuilder() { + onChanged(); return getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4776,17 +5557,24 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builde
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder() { if (annualizedTotalCompensationRangeBuilder_ != null) { return annualizedTotalCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedTotalCompensationRange_ == null ? - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : annualizedTotalCompensationRange_; } } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4794,24 +5582,29 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedTotalCompensationRangeFieldBuilder() { if (annualizedTotalCompensationRangeBuilder_ == null) { - annualizedTotalCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedTotalCompensationRange(), - getParentForChildren(), - isClean()); + annualizedTotalCompensationRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedTotalCompensationRange(), getParentForChildren(), isClean()); annualizedTotalCompensationRange_ = null; } return annualizedTotalCompensationRangeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4821,12 +5614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo) private static final com.google.cloud.talent.v4beta1.CompensationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo(); } @@ -4835,27 +5628,27 @@ public static com.google.cloud.talent.v4beta1.CompensationInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4870,6 +5663,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompensationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java similarity index 71% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java index 1dd2c1f244e5..791b425ff47b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface CompensationInfoOrBuilder extends +public interface CompensationInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -15,11 +33,14 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - java.util.List + java.util.List getEntriesList(); /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -27,10 +48,13 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index); /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -38,10 +62,13 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ int getEntriesCount(); /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -49,11 +76,15 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> getEntriesOrBuilderList(); /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -61,12 +92,15 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( int index); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -74,11 +108,16 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ boolean hasAnnualizedBaseCompensationRange(); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -86,11 +125,17 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange(); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -98,11 +143,16 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -110,11 +160,16 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ boolean hasAnnualizedTotalCompensationRange(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -122,11 +177,17 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -134,7 +195,10 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java similarity index 74% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java index 34eae73659d8..c013de0bb15b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Auto-complete parameters.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryRequest} */ -public final class CompleteQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryRequest) CompleteQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteQueryRequest.newBuilder() to construct. private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteQueryRequest() { parent_ = ""; query_ = ""; @@ -30,39 +48,43 @@ private CompleteQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, + com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); } /** + * + * *
    * Enum to specify the scope of completion.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope} */ - public enum CompletionScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -71,6 +93,8 @@ public enum CompletionScope */ COMPLETION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -79,6 +103,8 @@ public enum CompletionScope */ TENANT(1), /** + * + * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -91,6 +117,8 @@ public enum CompletionScope
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -99,6 +127,8 @@ public enum CompletionScope */ public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -107,6 +137,8 @@ public enum CompletionScope */ public static final int TENANT_VALUE = 1; /** + * + * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -116,7 +148,6 @@ public enum CompletionScope
      */
     public static final int PUBLIC_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -141,40 +172,45 @@ public static CompletionScope valueOf(int value) {
      */
     public static CompletionScope forNumber(int value) {
       switch (value) {
-        case 0: return COMPLETION_SCOPE_UNSPECIFIED;
-        case 1: return TENANT;
-        case 2: return PUBLIC;
-        default: return null;
+        case 0:
+          return COMPLETION_SCOPE_UNSPECIFIED;
+        case 1:
+          return TENANT;
+        case 2:
+          return PUBLIC;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CompletionScope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CompletionScope findValueByNumber(int number) {
-              return CompletionScope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public CompletionScope findValueByNumber(int number) {
+                return CompletionScope.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final CompletionScope[] VALUES = values();
@@ -182,8 +218,7 @@ public CompletionScope findValueByNumber(int number) {
     public static CompletionScope valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -201,15 +236,18 @@ private CompletionScope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Enum to specify auto-completion topics.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType} */ - public enum CompletionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -218,6 +256,8 @@ public enum CompletionType */ COMPLETION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -228,6 +268,8 @@ public enum CompletionType
      */
     JOB_TITLE(1),
     /**
+     *
+     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -239,6 +281,8 @@ public enum CompletionType
      */
     COMPANY_NAME(2),
     /**
+     *
+     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -253,6 +297,8 @@ public enum CompletionType
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -261,6 +307,8 @@ public enum CompletionType */ public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -271,6 +319,8 @@ public enum CompletionType
      */
     public static final int JOB_TITLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -282,6 +332,8 @@ public enum CompletionType
      */
     public static final int COMPANY_NAME_VALUE = 2;
     /**
+     *
+     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -293,7 +345,6 @@ public enum CompletionType
      */
     public static final int COMBINED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,50 +369,53 @@ public static CompletionType valueOf(int value) {
      */
     public static CompletionType forNumber(int value) {
       switch (value) {
-        case 0: return COMPLETION_TYPE_UNSPECIFIED;
-        case 1: return JOB_TITLE;
-        case 2: return COMPANY_NAME;
-        case 3: return COMBINED;
-        default: return null;
+        case 0:
+          return COMPLETION_TYPE_UNSPECIFIED;
+        case 1:
+          return JOB_TITLE;
+        case 2:
+          return COMPANY_NAME;
+        case 3:
+          return COMBINED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CompletionType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CompletionType findValueByNumber(int number) {
-              return CompletionType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public CompletionType findValueByNumber(int number) {
+            return CompletionType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final CompletionType[] VALUES = values();
 
-    public static CompletionType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -381,6 +435,8 @@ private CompletionType(int value) {
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -389,7 +445,10 @@ private CompletionType(int value) {
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -398,14 +457,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -414,17 +474,18 @@ public java.lang.String getParent() {
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -435,12 +496,15 @@ public java.lang.String getParent() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -449,30 +513,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -483,6 +547,8 @@ public java.lang.String getQuery() { public static final int LANGUAGE_CODES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList languageCodes_; /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -492,13 +558,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_; } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -508,12 +576,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -523,6 +594,7 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -530,6 +602,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -539,23 +613,26 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ @java.lang.Override @@ -566,6 +643,8 @@ public int getPageSize() { public static final int COMPANY_FIELD_NUMBER = 5; private volatile java.lang.Object company_; /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -576,6 +655,7 @@ public int getPageSize() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ @java.lang.Override @@ -584,14 +664,15 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -602,16 +683,15 @@ public java.lang.String getCompany() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -622,58 +702,81 @@ public java.lang.String getCompany() { public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED + : result; } public static final int TYPE_FIELD_NUMBER = 7; private int type_; /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -685,8 +788,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -702,10 +804,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_); } - if (scope_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { + if (scope_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope + .COMPLETION_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, scope_); } - if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, type_); } getUnknownFields().writeTo(output); @@ -732,19 +840,22 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_); } - if (scope_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, scope_); + if (scope_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope + .COMPLETION_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); } - if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + if (type_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -754,23 +865,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompleteQueryRequest other = (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getLanguageCodesList() - .equals(other.getLanguageCodesList())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getCompany() - .equals(other.getCompany())) return false; + com.google.cloud.talent.v4beta1.CompleteQueryRequest other = + (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getCompany().equals(other.getCompany())) return false; if (scope_ != other.scope_) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -806,129 +913,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Auto-complete parameters.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryRequest) com.google.cloud.talent.v4beta1.CompleteQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, + com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompleteQueryRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -950,9 +1063,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override @@ -971,7 +1084,8 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryRequest result = new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this); + com.google.cloud.talent.v4beta1.CompleteQueryRequest result = + new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.query_ = query_; @@ -992,38 +1106,39 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -1031,7 +1146,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryRequest other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1089,48 +1205,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - query_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: { - company_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: { - scope_ = input.readEnum(); - - break; - } // case 48 - case 56: { - type_ = input.readEnum(); - - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + query_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: + { + company_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: + { + scope_ = input.readEnum(); + + break; + } // case 48 + case 56: + { + type_ = input.readEnum(); + + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1140,10 +1264,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1152,14 +1279,16 @@ public Builder mergeFrom(
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1168,6 +1297,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1176,16 +1307,17 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1193,6 +1325,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1201,21 +1335,25 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1224,16 +1362,21 @@ public Builder setParent(
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1242,17 +1385,19 @@ public Builder clearParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1260,19 +1405,21 @@ public Builder setParentBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1281,21 +1428,22 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1303,70 +1451,81 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1376,13 +1535,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1392,12 +1553,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1407,6 +1571,7 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1414,6 +1579,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1423,14 +1590,16 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1440,21 +1609,23 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; + * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes( - int index, java.lang.String value) { + public Builder setLanguageCodes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1464,20 +1635,22 @@ public Builder setLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes( - java.lang.String value) { + public Builder addLanguageCodes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1487,18 +1660,19 @@ public Builder addLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes( - java.lang.Iterable values) { + public Builder addAllLanguageCodes(java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1508,6 +1682,7 @@ public Builder addAllLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -1517,6 +1692,8 @@ public Builder clearLanguageCodes() { return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1526,29 +1703,32 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 3; + * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ @java.lang.Override @@ -1556,32 +1736,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1589,6 +1775,8 @@ public Builder clearPageSize() { private java.lang.Object company_ = ""; /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1599,13 +1787,13 @@ public Builder clearPageSize() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -1614,6 +1802,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1624,15 +1814,14 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -1640,6 +1829,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1650,20 +1841,22 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany( - java.lang.String value) { + public Builder setCompany(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1674,15 +1867,18 @@ public Builder setCompany(
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1693,16 +1889,16 @@ public Builder clearCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -1710,73 +1906,93 @@ public Builder setCompanyBytes( private int scope_ = 0; /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED + : result; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope value) { + public Builder setScope( + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -1784,80 +2000,100 @@ public Builder clearScope() { private int type_ = 0; /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { + public Builder setType( + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1867,12 +2103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryRequest) private static final com.google.cloud.talent.v4beta1.CompleteQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryRequest(); } @@ -1881,27 +2117,27 @@ public static com.google.cloud.talent.v4beta1.CompleteQueryRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1916,6 +2152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompleteQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java index 7e7c803dd86d..7fc0e9f12929 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; -public interface CompleteQueryRequestOrBuilder extends +public interface CompleteQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -16,11 +34,16 @@ public interface CompleteQueryRequestOrBuilder extends
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -29,35 +52,44 @@ public interface CompleteQueryRequestOrBuilder extends
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -67,11 +99,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - java.util.List - getLanguageCodesList(); + java.util.List getLanguageCodesList(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -81,10 +115,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -94,11 +131,14 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -108,24 +148,29 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString - getLanguageCodesBytes(int index); + com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** + * + * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -136,10 +181,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ java.lang.String getCompany(); /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -150,45 +198,57 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ - com.google.protobuf.ByteString - getCompanyBytes(); + com.google.protobuf.ByteString getCompanyBytes(); /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope(); /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java index 6fefa2eaa188..6c31498eaccb 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java @@ -1,134 +1,173 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Response of auto-complete query.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse} */ -public final class CompleteQueryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryResponse) CompleteQueryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteQueryResponse.newBuilder() to construct. private CompleteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteQueryResponse() { completionResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); } - public interface CompletionResultOrBuilder extends + public interface CompletionResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ java.lang.String getSuggestion(); /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString - getSuggestionBytes(); + com.google.protobuf.ByteString getSuggestionBytes(); /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType(); /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The imageUri. */ java.lang.String getImageUri(); /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString - getImageUriBytes(); + com.google.protobuf.ByteString getImageUriBytes(); } /** + * + * *
    * Resource that represents completion results.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult} */ - public static final class CompletionResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompletionResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) CompletionResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompletionResult.newBuilder() to construct. private CompletionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompletionResult() { suggestion_ = ""; type_ = 0; @@ -137,37 +176,41 @@ private CompletionResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompletionResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; private volatile java.lang.Object suggestion_; /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ @java.lang.Override @@ -176,29 +219,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -209,39 +252,53 @@ public java.lang.String getSuggestion() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } public static final int IMAGE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object imageUri_; /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The imageUri. */ @java.lang.Override @@ -250,30 +307,30 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -282,6 +339,7 @@ public java.lang.String getImageUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,12 +351,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } - if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { @@ -316,9 +376,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } - if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageUri_); @@ -331,18 +393,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)) { + if (!(obj + instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = + (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; - if (!getSuggestion() - .equals(other.getSuggestion())) return false; + if (!getSuggestion().equals(other.getSuggestion())) return false; if (type_ != other.type_) return false; - if (!getImageUri() - .equals(other.getImageUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,87 +428,95 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -456,39 +526,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Resource that represents completion results.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + .class); } - // Construct using com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,19 +576,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance(); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult build() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = buildPartial(); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -523,7 +600,8 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(this); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = + new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(this); result.suggestion_ = suggestion_; result.type_ = type_; result.imageUri_ = imageUri_; @@ -535,46 +613,54 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)other); + if (other + instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) { + return mergeFrom( + (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other) { + if (other + == com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; onChanged(); @@ -612,27 +698,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - suggestion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - - break; - } // case 16 - case 26: { - imageUri_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + suggestion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + imageUri_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -645,18 +735,20 @@ public Builder mergeFrom( private java.lang.Object suggestion_ = ""; /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -665,20 +757,21 @@ public java.lang.String getSuggestion() { } } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -686,54 +779,61 @@ public java.lang.String getSuggestion() { } } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion( - java.lang.String value) { + public Builder setSuggestion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); return this; } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes( - com.google.protobuf.ByteString value) { + public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); return this; @@ -741,73 +841,93 @@ public Builder setSuggestionBytes( private int type_ = 0; /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { + public Builder setType( + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -815,19 +935,21 @@ public Builder clearType() { private java.lang.Object imageUri_ = ""; /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -836,21 +958,22 @@ public java.lang.String getImageUri() { } } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -858,61 +981,69 @@ public java.lang.String getImageUri() { } } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri( - java.lang.String value) { + public Builder setImageUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes( - com.google.protobuf.ByteString value) { + public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -925,41 +1056,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) - private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult DEFAULT_INSTANCE; + private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(); + DEFAULT_INSTANCE = + new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompletionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompletionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,81 +1106,108 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int COMPLETION_RESULTS_FIELD_NUMBER = 1; - private java.util.List completionResults_; + private java.util.List + completionResults_; /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public java.util.List getCompletionResultsList() { + public java.util.List + getCompletionResultsList() { return completionResults_; } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList() { return completionResults_; } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override public int getCompletionResultsCount() { return completionResults_.size(); } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getCompletionResults(int index) { return completionResults_.get(index); } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index) { return completionResults_.get(index); } public static final int METADATA_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1053,19 +1215,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -1079,6 +1248,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1090,8 +1260,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < completionResults_.size(); i++) {
       output.writeMessage(1, completionResults_.get(i));
     }
@@ -1108,12 +1277,11 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < completionResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, completionResults_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, completionResults_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1123,19 +1291,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.CompleteQueryResponse other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj;
+    com.google.cloud.talent.v4beta1.CompleteQueryResponse other =
+        (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj;
 
-    if (!getCompletionResultsList()
-        .equals(other.getCompletionResultsList())) return false;
+    if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1162,129 +1329,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.talent.v4beta1.CompleteQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response of auto-complete query.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryResponse) com.google.cloud.talent.v4beta1.CompleteQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompleteQueryResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1305,9 +1479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override @@ -1326,7 +1500,8 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse result = new com.google.cloud.talent.v4beta1.CompleteQueryResponse(this); + com.google.cloud.talent.v4beta1.CompleteQueryResponse result = + new com.google.cloud.talent.v4beta1.CompleteQueryResponse(this); int from_bitField0_ = bitField0_; if (completionResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1350,38 +1525,39 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse) other); } else { super.mergeFrom(other); return this; @@ -1389,7 +1565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance()) + return this; if (completionResultsBuilder_ == null) { if (!other.completionResults_.isEmpty()) { if (completionResults_.isEmpty()) { @@ -1408,9 +1585,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse o completionResultsBuilder_ = null; completionResults_ = other.completionResults_; bitField0_ = (bitField0_ & ~0x00000001); - completionResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompletionResultsFieldBuilder() : null; + completionResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompletionResultsFieldBuilder() + : null; } else { completionResultsBuilder_.addAllMessages(other.completionResults_); } @@ -1445,32 +1623,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult m = - input.readMessage( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.parser(), - extensionRegistry); - if (completionResultsBuilder_ == null) { - ensureCompletionResultsIsMutable(); - completionResults_.add(m); - } else { - completionResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult m = + input.readMessage( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .parser(), + extensionRegistry); + if (completionResultsBuilder_ == null) { + ensureCompletionResultsIsMutable(); + completionResults_.add(m); + } else { + completionResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1480,28 +1660,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List completionResults_ = - java.util.Collections.emptyList(); + private java.util.List + completionResults_ = java.util.Collections.emptyList(); + private void ensureCompletionResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - completionResults_ = new java.util.ArrayList(completionResults_); + completionResults_ = + new java.util.ArrayList< + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult>( + completionResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> completionResultsBuilder_; + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + completionResultsBuilder_; /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List getCompletionResultsList() { + public java.util.List + getCompletionResultsList() { if (completionResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(completionResults_); } else { @@ -1509,11 +1702,15 @@ public java.util.List * Results of the matching job/company candidates. *
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public int getCompletionResultsCount() { if (completionResultsBuilder_ == null) { @@ -1523,13 +1720,18 @@ public int getCompletionResultsCount() { } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getCompletionResults(int index) { if (completionResultsBuilder_ == null) { return completionResults_.get(index); } else { @@ -1537,11 +1739,15 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult ge } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder setCompletionResults( int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { @@ -1558,14 +1764,20 @@ public Builder setCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder setCompletionResults( - int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.set(index, builderForValue.build()); @@ -1576,13 +1788,18 @@ public Builder setCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public Builder addCompletionResults(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { + public Builder addCompletionResults( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { if (completionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1596,11 +1813,15 @@ public Builder addCompletionResults(com.google.cloud.talent.v4beta1.CompleteQuer return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { @@ -1617,14 +1838,19 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(builderForValue.build()); @@ -1635,14 +1861,20 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( - int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(index, builderForValue.build()); @@ -1653,18 +1885,23 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addAllCompletionResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult> + values) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, completionResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completionResults_); onChanged(); } else { completionResultsBuilder_.addAllMessages(values); @@ -1672,11 +1909,15 @@ public Builder addAllCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder clearCompletionResults() { if (completionResultsBuilder_ == null) { @@ -1689,11 +1930,15 @@ public Builder clearCompletionResults() { return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder removeCompletionResults(int index) { if (completionResultsBuilder_ == null) { @@ -1706,39 +1951,54 @@ public Builder removeCompletionResults(int index) { return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + getCompletionResultsBuilder(int index) { return getCompletionResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index) { if (completionResultsBuilder_ == null) { - return completionResults_.get(index); } else { + return completionResults_.get(index); + } else { return completionResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List - getCompletionResultsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + getCompletionResultsOrBuilderList() { if (completionResultsBuilder_ != null) { return completionResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1746,45 +2006,70 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrB } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder() { - return getCompletionResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + addCompletionResultsBuilder() { + return getCompletionResultsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .getDefaultInstance()); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder( - int index) { - return getCompletionResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + addCompletionResultsBuilder(int index) { + return getCompletionResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .getDefaultInstance()); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List - getCompletionResultsBuilderList() { + public java.util.List< + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder> + getCompletionResultsBuilderList() { return getCompletionResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsFieldBuilder() { if (completionResultsBuilder_ == null) { - completionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( + completionResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1796,36 +2081,49 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Bu private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1847,6 +2145,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1866,6 +2166,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1877,7 +2179,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1889,6 +2193,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1908,6 +2214,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1916,11 +2224,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1932,11 +2242,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1945,21 +2258,24 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1969,12 +2285,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryResponse)
   private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryResponse();
   }
@@ -1983,27 +2299,27 @@ public static com.google.cloud.talent.v4beta1.CompleteQueryResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CompleteQueryResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CompleteQueryResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2018,6 +2334,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.CompleteQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
similarity index 54%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
index 96a27c0ade3d..1dbfeca0f11c 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
@@ -1,77 +1,123 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/completion_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface CompleteQueryResponseOrBuilder extends
+public interface CompleteQueryResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - java.util.List + java.util.List getCompletionResultsList(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults( + int index); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ int getCompletionResultsCount(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
new file mode 100644
index 000000000000..3580295427ad
--- /dev/null
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
@@ -0,0 +1,145 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/completion_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public final class CompletionServiceProto {
+  private CompletionServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n4google/cloud/talent/v4beta1/completion"
+          + "_service.proto\022\033google.cloud.talent.v4be"
+          + "ta1\032\034google/api/annotations.proto\032\027googl"
+          + "e/api/client.proto\032\037google/api/field_beh"
+          + "avior.proto\032\031google/api/resource.proto\032("
+          + "google/cloud/talent/v4beta1/common.proto"
+          + "\"\223\004\n\024CompleteQueryRequest\0223\n\006parent\030\001 \001("
+          + "\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022\022"
+          + "\n\005query\030\002 \001(\tB\003\340A\002\022\026\n\016language_codes\030\003 \003"
+          + "(\t\022\026\n\tpage_size\030\004 \001(\005B\003\340A\002\0221\n\007company\030\005 "
+          + "\001(\tB \372A\035\n\033jobs.googleapis.com/Company\022P\n"
+          + "\005scope\030\006 \001(\0162A.google.cloud.talent.v4bet"
+          + "a1.CompleteQueryRequest.CompletionScope\022"
+          + "N\n\004type\030\007 \001(\0162@.google.cloud.talent.v4be"
+          + "ta1.CompleteQueryRequest.CompletionType\""
+          + "K\n\017CompletionScope\022 \n\034COMPLETION_SCOPE_U"
+          + "NSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016"
+          + "CompletionType\022\037\n\033COMPLETION_TYPE_UNSPEC"
+          + "IFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002"
+          + "\022\014\n\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse"
+          + "\022_\n\022completion_results\030\001 \003(\0132C.google.cl"
+          + "oud.talent.v4beta1.CompleteQueryResponse"
+          + ".CompletionResult\022?\n\010metadata\030\002 \001(\0132-.go"
+          + "ogle.cloud.talent.v4beta1.ResponseMetada"
+          + "ta\032\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 "
+          + "\001(\t\022N\n\004type\030\002 \001(\0162@.google.cloud.talent."
+          + "v4beta1.CompleteQueryRequest.CompletionT"
+          + "ype\022\021\n\timage_uri\030\003 \001(\t2\325\002\n\nCompletion\022\330\001"
+          + "\n\rCompleteQuery\0221.google.cloud.talent.v4"
+          + "beta1.CompleteQueryRequest\0322.google.clou"
+          + "d.talent.v4beta1.CompleteQueryResponse\"`"
+          + "\202\323\344\223\002Z\022//v4beta1/{parent=projects/*/tena"
+          + "nts/*}:completeZ\'\022%/v4beta1/{parent=proj"
+          + "ects/*}:complete\032l\312A\023jobs.googleapis.com"
+          + "\322AShttps://www.googleapis.com/auth/cloud"
+          + "-platform,https://www.googleapis.com/aut"
+          + "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet"
+          + "a1B\026CompletionServiceProtoP\001ZAgoogle.gol"
+          + "ang.org/genproto/googleapis/cloud/talent"
+          + "/v4beta1;talent\242\002\003CTSb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(),
+            });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type",
+            });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor,
+            new java.lang.String[] {
+              "CompletionResults", "Metadata",
+            });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor =
+        internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor,
+            new java.lang.String[] {
+              "Suggestion", "Type", "ImageUri",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.talent.v4beta1.CommonProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
similarity index 63%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
index 29b1143ad456..0b278a03521a 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/event_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * The report event request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateClientEventRequest} */ -public final class CreateClientEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClientEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateClientEventRequest) CreateClientEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClientEventRequest.newBuilder() to construct. private CreateClientEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClientEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClientEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, + com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -82,17 +107,18 @@ public java.lang.String getParent() {
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,12 +129,17 @@ public java.lang.String getParent() { public static final int CLIENT_EVENT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ @java.lang.Override @@ -116,25 +147,36 @@ public boolean hasClientEvent() { return clientEvent_ != null; } /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ClientEvent getClientEvent() { - return clientEvent_ == null ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() + : clientEvent_; } /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder() { @@ -142,6 +184,7 @@ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +196,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -174,8 +216,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (clientEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getClientEvent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientEvent()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,19 +226,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateClientEventRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateClientEventRequest other = (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; + com.google.cloud.talent.v4beta1.CreateClientEventRequest other = + (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - if (!getClientEvent() - .equals(other.getClientEvent())) return false; + if (!getClientEvent().equals(other.getClientEvent())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,129 +262,136 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateClientEventRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.CreateClientEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The report event request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateClientEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateClientEventRequest) com.google.cloud.talent.v4beta1.CreateClientEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, + com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateClientEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override @@ -381,7 +428,8 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateClientEventRequest result = new com.google.cloud.talent.v4beta1.CreateClientEventRequest(this); + com.google.cloud.talent.v4beta1.CreateClientEventRequest result = + new com.google.cloud.talent.v4beta1.CreateClientEventRequest(this); result.parent_ = parent_; if (clientEventBuilder_ == null) { result.clientEvent_ = clientEvent_; @@ -396,38 +444,39 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateClientEventRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateClientEventRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateClientEventRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +484,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateClientEventRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -469,24 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getClientEventFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getClientEventFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -499,6 +550,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -506,14 +559,16 @@ public Builder mergeFrom(
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -522,6 +577,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -529,16 +586,17 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -546,6 +604,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -553,21 +613,25 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -575,16 +639,21 @@ public Builder setParent(
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -592,17 +661,19 @@ public Builder clearParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -610,42 +681,61 @@ public Builder setParentBytes( private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder> clientEventBuilder_; + com.google.cloud.talent.v4beta1.ClientEvent, + com.google.cloud.talent.v4beta1.ClientEvent.Builder, + com.google.cloud.talent.v4beta1.ClientEventOrBuilder> + clientEventBuilder_; /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ public boolean hasClientEvent() { return clientEventBuilder_ != null || clientEvent_ != null; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ public com.google.cloud.talent.v4beta1.ClientEvent getClientEvent() { if (clientEventBuilder_ == null) { - return clientEvent_ == null ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() + : clientEvent_; } else { return clientEventBuilder_.getMessage(); } } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) { if (clientEventBuilder_ == null) { @@ -661,12 +751,16 @@ public Builder setClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setClientEvent( com.google.cloud.talent.v4beta1.ClientEvent.Builder builderForValue) { @@ -680,18 +774,24 @@ public Builder setClientEvent( return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) { if (clientEventBuilder_ == null) { if (clientEvent_ != null) { clientEvent_ = - com.google.cloud.talent.v4beta1.ClientEvent.newBuilder(clientEvent_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.ClientEvent.newBuilder(clientEvent_) + .mergeFrom(value) + .buildPartial(); } else { clientEvent_ = value; } @@ -703,12 +803,16 @@ public Builder mergeClientEvent(com.google.cloud.talent.v4beta1.ClientEvent valu return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearClientEvent() { if (clientEventBuilder_ == null) { @@ -722,58 +826,74 @@ public Builder clearClientEvent() { return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.ClientEvent.Builder getClientEventBuilder() { - + onChanged(); return getClientEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder() { if (clientEventBuilder_ != null) { return clientEventBuilder_.getMessageOrBuilder(); } else { - return clientEvent_ == null ? - com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() + : clientEvent_; } } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder> + com.google.cloud.talent.v4beta1.ClientEvent, + com.google.cloud.talent.v4beta1.ClientEvent.Builder, + com.google.cloud.talent.v4beta1.ClientEventOrBuilder> getClientEventFieldBuilder() { if (clientEventBuilder_ == null) { - clientEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder>( - getClientEvent(), - getParentForChildren(), - isClean()); + clientEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.ClientEvent, + com.google.cloud.talent.v4beta1.ClientEvent.Builder, + com.google.cloud.talent.v4beta1.ClientEventOrBuilder>( + getClientEvent(), getParentForChildren(), isClean()); clientEvent_ = null; } return clientEventBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,12 +903,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateClientEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateClientEventRequest) private static final com.google.cloud.talent.v4beta1.CreateClientEventRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateClientEventRequest(); } @@ -797,27 +917,27 @@ public static com.google.cloud.talent.v4beta1.CreateClientEventRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClientEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClientEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,6 +952,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateClientEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java index aed1052e582d..6e2e3d9c3e26 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateClientEventRequestOrBuilder extends +public interface CreateClientEventRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateClientEventRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -15,11 +33,16 @@ public interface CreateClientEventRequestOrBuilder extends
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -27,39 +50,55 @@ public interface CreateClientEventRequestOrBuilder extends
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ boolean hasClientEvent(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ com.google.cloud.talent.v4beta1.ClientEvent getClientEvent(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java similarity index 63% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java index 63e7830509aa..3a01983324c1 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The Request of the CreateCompany method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateCompanyRequest} */ -public final class CreateCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateCompanyRequest) CreateCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCompanyRequest.newBuilder() to construct. private CreateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCompanyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, + com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -82,17 +107,18 @@ public java.lang.String getParent() {
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +129,16 @@ public java.lang.String getParent() { public static final int COMPANY_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Company company_; /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ @java.lang.Override @@ -115,23 +146,34 @@ public boolean hasCompany() { return company_ != null; } /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company getCompany() { - return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @@ -139,6 +181,7 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -171,8 +213,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (company_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCompany()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompany()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,19 +223,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateCompanyRequest other = (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; + com.google.cloud.talent.v4beta1.CreateCompanyRequest other = + (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - if (!getCompany() - .equals(other.getCompany())) return false; + if (!getCompany().equals(other.getCompany())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -219,129 +259,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request of the CreateCompany method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateCompanyRequest) com.google.cloud.talent.v4beta1.CreateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, + com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateCompanyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override @@ -378,7 +424,8 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateCompanyRequest result = new com.google.cloud.talent.v4beta1.CreateCompanyRequest(this); + com.google.cloud.talent.v4beta1.CreateCompanyRequest result = + new com.google.cloud.talent.v4beta1.CreateCompanyRequest(this); result.parent_ = parent_; if (companyBuilder_ == null) { result.company_ = company_; @@ -393,38 +440,39 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +480,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -466,24 +515,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getCompanyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,6 +546,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -503,14 +555,16 @@ public Builder mergeFrom(
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,6 +573,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -526,16 +582,17 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -543,6 +600,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -550,21 +609,25 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -572,16 +635,21 @@ public Builder setParent(
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -589,17 +657,19 @@ public Builder clearParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -607,39 +677,58 @@ public Builder setParentBytes( private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companyBuilder_; + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> + companyBuilder_; /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ public com.google.cloud.talent.v4beta1.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } else { return companyBuilder_.getMessage(); } } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { @@ -655,14 +744,17 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompany( - com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -673,17 +765,23 @@ public Builder setCompany( return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4beta1.Company.newBuilder(company_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Company.newBuilder(company_) + .mergeFrom(value) + .buildPartial(); } else { company_ = value; } @@ -695,11 +793,15 @@ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -713,55 +815,71 @@ public Builder clearCompany() { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null ? - com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - getCompany(), - getParentForChildren(), - isClean()); + companyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + getCompany(), getParentForChildren(), isClean()); company_ = null; } return companyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -771,12 +889,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateCompanyRequest) private static final com.google.cloud.talent.v4beta1.CreateCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateCompanyRequest(); } @@ -785,27 +903,27 @@ public static com.google.cloud.talent.v4beta1.CreateCompanyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -820,6 +938,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java index 958278518b0e..9d8ebf909be7 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateCompanyRequestOrBuilder extends +public interface CreateCompanyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateCompanyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -15,11 +33,16 @@ public interface CreateCompanyRequestOrBuilder extends
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -27,36 +50,52 @@ public interface CreateCompanyRequestOrBuilder extends
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ boolean hasCompany(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ com.google.cloud.talent.v4beta1.Company getCompany(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java index f7ae73206358..12700fd398fe 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Create job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateJobRequest} */ -public final class CreateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateJobRequest) CreateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateJobRequest.class, com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateJobRequest.class, + com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -82,17 +107,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +129,15 @@ public java.lang.String getParent() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Job job_; /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ @java.lang.Override @@ -115,11 +145,15 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ @java.lang.Override @@ -127,11 +161,14 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @@ -139,6 +176,7 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -171,8 +208,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,19 +218,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateJobRequest other = (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; + com.google.cloud.talent.v4beta1.CreateJobRequest other = + (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -218,130 +253,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateJobRequest) com.google.cloud.talent.v4beta1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateJobRequest.class, com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateJobRequest.class, + com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override @@ -378,7 +419,8 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateJobRequest result = new com.google.cloud.talent.v4beta1.CreateJobRequest(this); + com.google.cloud.talent.v4beta1.CreateJobRequest result = + new com.google.cloud.talent.v4beta1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -393,38 +435,39 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +475,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -466,24 +510,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,6 +541,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -503,14 +550,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,6 +568,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -526,16 +577,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -543,6 +595,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -550,21 +604,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -572,16 +630,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -589,17 +652,19 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -607,24 +672,35 @@ public Builder setParentBytes( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -635,11 +711,14 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { @@ -655,14 +734,16 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJob( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -673,17 +754,20 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -695,11 +779,14 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -713,55 +800,66 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -771,12 +869,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateJobRequest) private static final com.google.cloud.talent.v4beta1.CreateJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateJobRequest(); } @@ -785,27 +883,27 @@ public static com.google.cloud.talent.v4beta1.CreateJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -820,6 +918,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java index 9a41f0619a5a..2713e432a75c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateJobRequestOrBuilder extends +public interface CreateJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface CreateJobRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,36 +50,49 @@ public interface CreateJobRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java similarity index 62% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java index cac7205f4e00..1aaab0f75c51 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The Request of the CreateTenant method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateTenantRequest} */ -public final class CreateTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateTenantRequest) CreateTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTenantRequest.newBuilder() to construct. private CreateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTenantRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateTenantRequest.class, com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateTenantRequest.class, + com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,15 @@ public java.lang.String getParent() { public static final int TENANT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Tenant tenant_; /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ @java.lang.Override @@ -113,11 +143,15 @@ public boolean hasTenant() { return tenant_ != null; } /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ @java.lang.Override @@ -125,11 +159,14 @@ public com.google.cloud.talent.v4beta1.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @@ -137,6 +174,7 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tenant_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTenant()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTenant()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +216,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateTenantRequest other = (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; + com.google.cloud.talent.v4beta1.CreateTenantRequest other = + (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - if (!getTenant() - .equals(other.getTenant())) return false; + if (!getTenant().equals(other.getTenant())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -217,129 +252,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request of the CreateTenant method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateTenantRequest) com.google.cloud.talent.v4beta1.CreateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateTenantRequest.class, com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateTenantRequest.class, + com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateTenantRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override @@ -376,7 +417,8 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateTenantRequest result = new com.google.cloud.talent.v4beta1.CreateTenantRequest(this); + com.google.cloud.talent.v4beta1.CreateTenantRequest result = + new com.google.cloud.talent.v4beta1.CreateTenantRequest(this); result.parent_ = parent_; if (tenantBuilder_ == null) { result.tenant_ = tenant_; @@ -391,38 +433,39 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -430,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -464,24 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getTenantFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,20 +539,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -516,22 +565,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -539,60 +591,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -600,39 +665,58 @@ public Builder setParentBytes( private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantBuilder_; + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> + tenantBuilder_; /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ public com.google.cloud.talent.v4beta1.Tenant getTenant() { if (tenantBuilder_ == null) { - return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null + ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() + : tenant_; } else { return tenantBuilder_.getMessage(); } } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { @@ -648,14 +732,17 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTenant( - com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -666,17 +753,23 @@ public Builder setTenant( return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_) + .mergeFrom(value) + .buildPartial(); } else { tenant_ = value; } @@ -688,11 +781,15 @@ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -706,55 +803,71 @@ public Builder clearTenant() { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null + ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() + : tenant_; } } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( - getTenant(), - getParentForChildren(), - isClean()); + tenantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder>( + getTenant(), getParentForChildren(), isClean()); tenant_ = null; } return tenantBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateTenantRequest) private static final com.google.cloud.talent.v4beta1.CreateTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateTenantRequest(); } @@ -778,27 +891,27 @@ public static com.google.cloud.talent.v4beta1.CreateTenantRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +926,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java index 424c9479c231..85efb9675bce 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java @@ -1,60 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateTenantRequestOrBuilder extends +public interface CreateTenantRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateTenantRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ boolean hasTenant(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ com.google.cloud.talent.v4beta1.Tenant getTenant(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java index b63142b1ff8b..7b477a792761 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Custom attribute values that are either filterable or non-filterable.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CustomAttribute} */ -public final class CustomAttribute extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CustomAttribute) CustomAttributeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomAttribute.newBuilder() to construct. private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; longValues_ = emptyLongList(); @@ -26,32 +44,35 @@ private CustomAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CustomAttribute.class, com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); + com.google.cloud.talent.v4beta1.CustomAttribute.class, + com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); } public static final int STRING_VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList stringValues_; /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -64,13 +85,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList - getStringValuesList() { + public com.google.protobuf.ProtocolStringList getStringValuesList() { return stringValues_; } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -83,12 +106,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -101,6 +127,7 @@ public int getStringValuesCount() {
    * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -108,6 +135,8 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -120,17 +149,19 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString - getStringValuesBytes(int index) { + public com.google.protobuf.ByteString getStringValuesBytes(int index) { return stringValues_.getByteString(index); } public static final int LONG_VALUES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList longValues_; /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -139,14 +170,16 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ @java.lang.Override - public java.util.List - getLongValuesList() { + public java.util.List getLongValuesList() { return longValues_; } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -155,12 +188,15 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -169,17 +205,21 @@ public int getLongValuesCount() {
    * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ public long getLongValues(int index) { return longValues_.getLong(index); } + private int longValuesMemoizedSerializedSize = -1; public static final int FILTERABLE_FIELD_NUMBER = 3; private boolean filterable_; /** + * + * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -188,6 +228,7 @@ public long getLongValues(int index) {
    * 
* * bool filterable = 3; + * * @return The filterable. */ @java.lang.Override @@ -198,6 +239,8 @@ public boolean getFilterable() { public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER = 4; private boolean keywordSearchable_; /** + * + * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -206,6 +249,7 @@ public boolean getFilterable() {
    * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ @java.lang.Override @@ -214,6 +258,7 @@ public boolean getKeywordSearchable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stringValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValues_.getRaw(i)); @@ -264,24 +308,21 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt64SizeNoTag(longValues_.getLong(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } longValuesMemoizedSerializedSize = dataSize; } if (filterable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, filterable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterable_); } if (keywordSearchable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, keywordSearchable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, keywordSearchable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,21 +332,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CustomAttribute)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CustomAttribute other = (com.google.cloud.talent.v4beta1.CustomAttribute) obj; - - if (!getStringValuesList() - .equals(other.getStringValuesList())) return false; - if (!getLongValuesList() - .equals(other.getLongValuesList())) return false; - if (getFilterable() - != other.getFilterable()) return false; - if (getKeywordSearchable() - != other.getKeywordSearchable()) return false; + com.google.cloud.talent.v4beta1.CustomAttribute other = + (com.google.cloud.talent.v4beta1.CustomAttribute) obj; + + if (!getStringValuesList().equals(other.getStringValuesList())) return false; + if (!getLongValuesList().equals(other.getLongValuesList())) return false; + if (getFilterable() != other.getFilterable()) return false; + if (getKeywordSearchable() != other.getKeywordSearchable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,140 +364,144 @@ public int hashCode() { hash = (53 * hash) + getLongValuesList().hashCode(); } hash = (37 * hash) + FILTERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFilterable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterable()); hash = (37 * hash) + KEYWORD_SEARCHABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getKeywordSearchable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeywordSearchable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CustomAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Custom attribute values that are either filterable or non-filterable.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CustomAttribute} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CustomAttribute) com.google.cloud.talent.v4beta1.CustomAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CustomAttribute.class, com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); + com.google.cloud.talent.v4beta1.CustomAttribute.class, + com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CustomAttribute.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override @@ -496,7 +538,8 @@ public com.google.cloud.talent.v4beta1.CustomAttribute build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { - com.google.cloud.talent.v4beta1.CustomAttribute result = new com.google.cloud.talent.v4beta1.CustomAttribute(this); + com.google.cloud.talent.v4beta1.CustomAttribute result = + new com.google.cloud.talent.v4beta1.CustomAttribute(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); @@ -518,38 +561,39 @@ public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CustomAttribute) { - return mergeFrom((com.google.cloud.talent.v4beta1.CustomAttribute)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CustomAttribute) other); } else { super.mergeFrom(other); return this; @@ -557,7 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CustomAttribute other) { - if (other == com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance()) + return this; if (!other.stringValues_.isEmpty()) { if (stringValues_.isEmpty()) { stringValues_ = other.stringValues_; @@ -610,44 +655,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureStringValuesIsMutable(); - stringValues_.add(s); - break; - } // case 10 - case 16: { - long v = input.readInt64(); - ensureLongValuesIsMutable(); - longValues_.addLong(v); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureLongValuesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - longValues_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 18 - case 24: { - filterable_ = input.readBool(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureStringValuesIsMutable(); + stringValues_.add(s); + break; + } // case 10 + case 16: + { + long v = input.readInt64(); + ensureLongValuesIsMutable(); + longValues_.addLong(v); + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureLongValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + longValues_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 18 + case 24: + { + filterable_ = input.readBool(); - break; - } // case 24 - case 32: { - keywordSearchable_ = input.readBool(); + break; + } // case 24 + case 32: + { + keywordSearchable_ = input.readBool(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,16 +708,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList stringValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureStringValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -679,13 +735,15 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList - getStringValuesList() { + public com.google.protobuf.ProtocolStringList getStringValuesList() { return stringValues_.getUnmodifiableView(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -698,12 +756,15 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -716,6 +777,7 @@ public int getStringValuesCount() {
      * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -723,6 +785,8 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -735,14 +799,16 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString - getStringValuesBytes(int index) { + public com.google.protobuf.ByteString getStringValuesBytes(int index) { return stringValues_.getByteString(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -755,21 +821,23 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; + * * @param index The index to set the value at. * @param value The stringValues to set. * @return This builder for chaining. */ - public Builder setStringValues( - int index, java.lang.String value) { + public Builder setStringValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.set(index, value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -782,20 +850,22 @@ public Builder setStringValues(
      * 
* * repeated string string_values = 1; + * * @param value The stringValues to add. * @return This builder for chaining. */ - public Builder addStringValues( - java.lang.String value) { + public Builder addStringValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -808,18 +878,19 @@ public Builder addStringValues(
      * 
* * repeated string string_values = 1; + * * @param values The stringValues to add. * @return This builder for chaining. */ - public Builder addAllStringValues( - java.lang.Iterable values) { + public Builder addAllStringValues(java.lang.Iterable values) { ensureStringValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stringValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stringValues_); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -832,6 +903,7 @@ public Builder addAllStringValues(
      * 
* * repeated string string_values = 1; + * * @return This builder for chaining. */ public Builder clearStringValues() { @@ -841,6 +913,8 @@ public Builder clearStringValues() { return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -853,15 +927,15 @@ public Builder clearStringValues() {
      * 
* * repeated string string_values = 1; + * * @param value The bytes of the stringValues to add. * @return This builder for chaining. */ - public Builder addStringValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); @@ -869,13 +943,16 @@ public Builder addStringValuesBytes( } private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); + private void ensureLongValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -884,14 +961,17 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ - public java.util.List - getLongValuesList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(longValues_) : longValues_; + public java.util.List getLongValuesList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(longValues_) + : longValues_; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -900,12 +980,15 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -914,6 +997,7 @@ public int getLongValuesCount() {
      * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ @@ -921,6 +1005,8 @@ public long getLongValues(int index) { return longValues_.getLong(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -929,18 +1015,20 @@ public long getLongValues(int index) {
      * 
* * repeated int64 long_values = 2; + * * @param index The index to set the value at. * @param value The longValues to set. * @return This builder for chaining. */ - public Builder setLongValues( - int index, long value) { + public Builder setLongValues(int index, long value) { ensureLongValuesIsMutable(); longValues_.setLong(index, value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -949,6 +1037,7 @@ public Builder setLongValues(
      * 
* * repeated int64 long_values = 2; + * * @param value The longValues to add. * @return This builder for chaining. */ @@ -959,6 +1048,8 @@ public Builder addLongValues(long value) { return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -967,18 +1058,19 @@ public Builder addLongValues(long value) {
      * 
* * repeated int64 long_values = 2; + * * @param values The longValues to add. * @return This builder for chaining. */ - public Builder addAllLongValues( - java.lang.Iterable values) { + public Builder addAllLongValues(java.lang.Iterable values) { ensureLongValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, longValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, longValues_); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -987,6 +1079,7 @@ public Builder addAllLongValues(
      * 
* * repeated int64 long_values = 2; + * * @return This builder for chaining. */ public Builder clearLongValues() { @@ -996,8 +1089,10 @@ public Builder clearLongValues() { return this; } - private boolean filterable_ ; + private boolean filterable_; /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1006,6 +1101,7 @@ public Builder clearLongValues() {
      * 
* * bool filterable = 3; + * * @return The filterable. */ @java.lang.Override @@ -1013,6 +1109,8 @@ public boolean getFilterable() { return filterable_; } /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1021,16 +1119,19 @@ public boolean getFilterable() {
      * 
* * bool filterable = 3; + * * @param value The filterable to set. * @return This builder for chaining. */ public Builder setFilterable(boolean value) { - + filterable_ = value; onChanged(); return this; } /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1039,17 +1140,20 @@ public Builder setFilterable(boolean value) {
      * 
* * bool filterable = 3; + * * @return This builder for chaining. */ public Builder clearFilterable() { - + filterable_ = false; onChanged(); return this; } - private boolean keywordSearchable_ ; + private boolean keywordSearchable_; /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1058,6 +1162,7 @@ public Builder clearFilterable() {
      * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ @java.lang.Override @@ -1065,6 +1170,8 @@ public boolean getKeywordSearchable() { return keywordSearchable_; } /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1073,16 +1180,19 @@ public boolean getKeywordSearchable() {
      * 
* * bool keyword_searchable = 4; + * * @param value The keywordSearchable to set. * @return This builder for chaining. */ public Builder setKeywordSearchable(boolean value) { - + keywordSearchable_ = value; onChanged(); return this; } /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1091,17 +1201,18 @@ public Builder setKeywordSearchable(boolean value) {
      * 
* * bool keyword_searchable = 4; + * * @return This builder for chaining. */ public Builder clearKeywordSearchable() { - + keywordSearchable_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,12 +1222,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CustomAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CustomAttribute) private static final com.google.cloud.talent.v4beta1.CustomAttribute DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CustomAttribute(); } @@ -1125,27 +1236,27 @@ public static com.google.cloud.talent.v4beta1.CustomAttribute getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,6 +1271,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CustomAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java similarity index 87% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java index 8a54c664071f..9a1302e5db3b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface CustomAttributeOrBuilder extends +public interface CustomAttributeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CustomAttribute) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -20,11 +38,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - java.util.List - getStringValuesList(); + java.util.List getStringValuesList(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -37,10 +57,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ int getStringValuesCount(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -53,11 +76,14 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ java.lang.String getStringValues(int index); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -70,13 +96,15 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - com.google.protobuf.ByteString - getStringValuesBytes(int index); + com.google.protobuf.ByteString getStringValuesBytes(int index); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -85,10 +113,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ java.util.List getLongValuesList(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -97,10 +128,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ int getLongValuesCount(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -109,12 +143,15 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ long getLongValues(int index); /** + * + * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -123,11 +160,14 @@ public interface CustomAttributeOrBuilder extends
    * 
* * bool filterable = 3; + * * @return The filterable. */ boolean getFilterable(); /** + * + * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -136,6 +176,7 @@ public interface CustomAttributeOrBuilder extends
    * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ boolean getKeywordSearchable(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java similarity index 81% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java index ab7cc30ff6a6..0e72a3fcae2a 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Educational degree level defined in International Standard Classification
  * of Education (ISCED).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.DegreeType}
  */
-public enum DegreeType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -24,6 +42,8 @@ public enum DegreeType
    */
   DEGREE_TYPE_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -34,6 +54,8 @@ public enum DegreeType
    */
   PRIMARY_EDUCATION(1),
   /**
+   *
+   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -45,6 +67,8 @@ public enum DegreeType
    */
   LOWER_SECONDARY_EDUCATION(2),
   /**
+   *
+   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -57,6 +81,8 @@ public enum DegreeType
    */
   UPPER_SECONDARY_EDUCATION(3),
   /**
+   *
+   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -68,6 +94,8 @@ public enum DegreeType
    */
   ADULT_REMEDIAL_EDUCATION(4),
   /**
+   *
+   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -79,6 +107,8 @@ public enum DegreeType
    */
   ASSOCIATES_OR_EQUIVALENT(5),
   /**
+   *
+   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -89,6 +119,8 @@ public enum DegreeType
    */
   BACHELORS_OR_EQUIVALENT(6),
   /**
+   *
+   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -99,6 +131,8 @@ public enum DegreeType
    */
   MASTERS_OR_EQUIVALENT(7),
   /**
+   *
+   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -113,6 +147,8 @@ public enum DegreeType
   ;
 
   /**
+   *
+   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -123,6 +159,8 @@ public enum DegreeType
    */
   public static final int DEGREE_TYPE_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -133,6 +171,8 @@ public enum DegreeType
    */
   public static final int PRIMARY_EDUCATION_VALUE = 1;
   /**
+   *
+   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -144,6 +184,8 @@ public enum DegreeType
    */
   public static final int LOWER_SECONDARY_EDUCATION_VALUE = 2;
   /**
+   *
+   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -156,6 +198,8 @@ public enum DegreeType
    */
   public static final int UPPER_SECONDARY_EDUCATION_VALUE = 3;
   /**
+   *
+   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -167,6 +211,8 @@ public enum DegreeType
    */
   public static final int ADULT_REMEDIAL_EDUCATION_VALUE = 4;
   /**
+   *
+   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -178,6 +224,8 @@ public enum DegreeType
    */
   public static final int ASSOCIATES_OR_EQUIVALENT_VALUE = 5;
   /**
+   *
+   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -188,6 +236,8 @@ public enum DegreeType
    */
   public static final int BACHELORS_OR_EQUIVALENT_VALUE = 6;
   /**
+   *
+   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -198,6 +248,8 @@ public enum DegreeType
    */
   public static final int MASTERS_OR_EQUIVALENT_VALUE = 7;
   /**
+   *
+   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -209,7 +261,6 @@ public enum DegreeType
    */
   public static final int DOCTORAL_OR_EQUIVALENT_VALUE = 8;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -234,55 +285,61 @@ public static DegreeType valueOf(int value) {
    */
   public static DegreeType forNumber(int value) {
     switch (value) {
-      case 0: return DEGREE_TYPE_UNSPECIFIED;
-      case 1: return PRIMARY_EDUCATION;
-      case 2: return LOWER_SECONDARY_EDUCATION;
-      case 3: return UPPER_SECONDARY_EDUCATION;
-      case 4: return ADULT_REMEDIAL_EDUCATION;
-      case 5: return ASSOCIATES_OR_EQUIVALENT;
-      case 6: return BACHELORS_OR_EQUIVALENT;
-      case 7: return MASTERS_OR_EQUIVALENT;
-      case 8: return DOCTORAL_OR_EQUIVALENT;
-      default: return null;
+      case 0:
+        return DEGREE_TYPE_UNSPECIFIED;
+      case 1:
+        return PRIMARY_EDUCATION;
+      case 2:
+        return LOWER_SECONDARY_EDUCATION;
+      case 3:
+        return UPPER_SECONDARY_EDUCATION;
+      case 4:
+        return ADULT_REMEDIAL_EDUCATION;
+      case 5:
+        return ASSOCIATES_OR_EQUIVALENT;
+      case 6:
+        return BACHELORS_OR_EQUIVALENT;
+      case 7:
+        return MASTERS_OR_EQUIVALENT;
+      case 8:
+        return DOCTORAL_OR_EQUIVALENT;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      DegreeType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DegreeType findValueByNumber(int number) {
-            return DegreeType.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public DegreeType findValueByNumber(int number) {
+          return DegreeType.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DegreeType[] VALUES = values();
 
-  public static DegreeType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DegreeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -298,4 +355,3 @@ private DegreeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.DegreeType)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
similarity index 65%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
index f07be11354ce..30cc735734c7 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Request to delete a company.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteCompanyRequest} */ -public final class DeleteCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteCompanyRequest) DeleteCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCompanyRequest.newBuilder() to construct. private DeleteCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -86,17 +111,18 @@ public java.lang.String getName() {
    * example, "projects/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; + com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = + (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -169,129 +195,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteCompanyRequest) com.google.cloud.talent.v4beta1.DeleteCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteCompanyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override @@ -322,7 +354,8 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteCompanyRequest result = new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(this); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest result = + new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -332,38 +365,39 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -402,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,6 +462,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -434,14 +473,16 @@ public Builder mergeFrom(
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,6 +491,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -459,16 +502,17 @@ public java.lang.String getName() {
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +520,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -485,21 +531,25 @@ public java.lang.String getName() {
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -509,16 +559,21 @@ public Builder setName(
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -528,24 +583,26 @@ public Builder clearName() {
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest) private static final com.google.cloud.talent.v4beta1.DeleteCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(); } @@ -569,27 +626,27 @@ public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java index 0a0dab559ffa..ddfbf7a80814 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface DeleteCompanyRequestOrBuilder extends +public interface DeleteCompanyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteCompanyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -17,11 +35,16 @@ public interface DeleteCompanyRequestOrBuilder extends
    * example, "projects/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -31,9 +54,11 @@ public interface DeleteCompanyRequestOrBuilder extends
    * example, "projects/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java similarity index 64% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java index b005f8975f28..ef497c7d888d 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Delete job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteJobRequest} */ -public final class DeleteJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteJobRequest) DeleteJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteJobRequest.class, com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteJobRequest.class, + com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -86,17 +111,18 @@ public java.lang.String getName() {
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteJobRequest other = (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; + com.google.cloud.talent.v4beta1.DeleteJobRequest other = + (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,130 +194,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteJobRequest) com.google.cloud.talent.v4beta1.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteJobRequest.class, com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteJobRequest.class, + com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteJobRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override @@ -322,7 +354,8 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteJobRequest result = new com.google.cloud.talent.v4beta1.DeleteJobRequest(this); + com.google.cloud.talent.v4beta1.DeleteJobRequest result = + new com.google.cloud.talent.v4beta1.DeleteJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -332,38 +365,39 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteJobRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -402,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,6 +462,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -434,14 +473,16 @@ public Builder mergeFrom(
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,6 +491,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -459,16 +502,17 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +520,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -485,21 +531,25 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -509,16 +559,21 @@ public Builder setName(
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -528,24 +583,26 @@ public Builder clearName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteJobRequest) private static final com.google.cloud.talent.v4beta1.DeleteJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteJobRequest(); } @@ -569,27 +626,27 @@ public static com.google.cloud.talent.v4beta1.DeleteJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java index 017cd593e192..ff441ebae65b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface DeleteJobRequestOrBuilder extends +public interface DeleteJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -17,11 +35,16 @@ public interface DeleteJobRequestOrBuilder extends
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -31,9 +54,11 @@ public interface DeleteJobRequestOrBuilder extends
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java similarity index 62% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java index d51c2f5fde45..1f0c0d6fe994 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Request to delete a tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteTenantRequest} */ -public final class DeleteTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteTenantRequest) DeleteTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTenantRequest.newBuilder() to construct. private DeleteTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, + com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteTenantRequest other = (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; + com.google.cloud.talent.v4beta1.DeleteTenantRequest other = + (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,129 +189,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteTenantRequest) com.google.cloud.talent.v4beta1.DeleteTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, + com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteTenantRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteTenantRequest result = new com.google.cloud.talent.v4beta1.DeleteTenantRequest(this); + com.google.cloud.talent.v4beta1.DeleteTenantRequest result = + new com.google.cloud.talent.v4beta1.DeleteTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -365,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -396,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +456,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +482,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,67 +508,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteTenantRequest) private static final com.google.cloud.talent.v4beta1.DeleteTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteTenantRequest(); } @@ -548,27 +605,27 @@ public static com.google.cloud.talent.v4beta1.DeleteTenantRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java new file mode 100644 index 000000000000..c002bac0b0b4 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface DeleteTenantRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java similarity index 68% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java index 0c82a6c193c1..0523a79ba467 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Device information collected from the job seeker, candidate, or
  * other entity conducting the job search. Providing this information improves
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.DeviceInfo}
  */
-public final class DeviceInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeviceInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeviceInfo)
     DeviceInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeviceInfo.newBuilder() to construct.
   private DeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeviceInfo() {
     deviceType_ = 0;
     id_ = "";
@@ -28,39 +46,43 @@ private DeviceInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeviceInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.DeviceInfo.class, com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
+            com.google.cloud.talent.v4beta1.DeviceInfo.class,
+            com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enumeration describing an API access portal and exposure mechanism.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.DeviceInfo.DeviceType} */ - public enum DeviceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The device type isn't specified.
      * 
@@ -69,6 +91,8 @@ public enum DeviceType */ DEVICE_TYPE_UNSPECIFIED(0), /** + * + * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -78,6 +102,8 @@ public enum DeviceType
      */
     WEB(1),
     /**
+     *
+     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -87,6 +113,8 @@ public enum DeviceType
      */
     MOBILE_WEB(2),
     /**
+     *
+     *
      * 
      * An Android device native application.
      * 
@@ -95,6 +123,8 @@ public enum DeviceType */ ANDROID(3), /** + * + * *
      * An iOS device native application.
      * 
@@ -103,6 +133,8 @@ public enum DeviceType */ IOS(4), /** + * + * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -112,6 +144,8 @@ public enum DeviceType
      */
     BOT(5),
     /**
+     *
+     *
      * 
      * Other devices types.
      * 
@@ -123,6 +157,8 @@ public enum DeviceType ; /** + * + * *
      * The device type isn't specified.
      * 
@@ -131,6 +167,8 @@ public enum DeviceType */ public static final int DEVICE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -140,6 +178,8 @@ public enum DeviceType
      */
     public static final int WEB_VALUE = 1;
     /**
+     *
+     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -149,6 +189,8 @@ public enum DeviceType
      */
     public static final int MOBILE_WEB_VALUE = 2;
     /**
+     *
+     *
      * 
      * An Android device native application.
      * 
@@ -157,6 +199,8 @@ public enum DeviceType */ public static final int ANDROID_VALUE = 3; /** + * + * *
      * An iOS device native application.
      * 
@@ -165,6 +209,8 @@ public enum DeviceType */ public static final int IOS_VALUE = 4; /** + * + * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -174,6 +220,8 @@ public enum DeviceType
      */
     public static final int BOT_VALUE = 5;
     /**
+     *
+     *
      * 
      * Other devices types.
      * 
@@ -182,7 +230,6 @@ public enum DeviceType */ public static final int OTHER_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,53 +254,57 @@ public static DeviceType valueOf(int value) { */ public static DeviceType forNumber(int value) { switch (value) { - case 0: return DEVICE_TYPE_UNSPECIFIED; - case 1: return WEB; - case 2: return MOBILE_WEB; - case 3: return ANDROID; - case 4: return IOS; - case 5: return BOT; - case 6: return OTHER; - default: return null; + case 0: + return DEVICE_TYPE_UNSPECIFIED; + case 1: + return WEB; + case 2: + return MOBILE_WEB; + case 3: + return ANDROID; + case 4: + return IOS; + case 5: + return BOT; + case 6: + return OTHER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DeviceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeviceType findValueByNumber(int number) { - return DeviceType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final DeviceType[] VALUES = values(); - public static DeviceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -273,39 +324,53 @@ private DeviceType(int value) { public static final int DEVICE_TYPE_FIELD_NUMBER = 1; private int deviceType_; /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override public int getDeviceTypeValue() { + @java.lang.Override + public int getDeviceTypeValue() { return deviceType_; } /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null + ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED + : result; } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -314,30 +379,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -346,6 +411,7 @@ public java.lang.String getId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,9 +423,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (deviceType_ != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (deviceType_ + != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { @@ -374,9 +441,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (deviceType_ != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, deviceType_); + if (deviceType_ + != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); @@ -389,16 +457,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeviceInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeviceInfo other = (com.google.cloud.talent.v4beta1.DeviceInfo) obj; + com.google.cloud.talent.v4beta1.DeviceInfo other = + (com.google.cloud.talent.v4beta1.DeviceInfo) obj; if (deviceType_ != other.deviceType_) return false; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -419,97 +487,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeviceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Device information collected from the job seeker, candidate, or
    * other entity conducting the job search. Providing this information improves
@@ -518,33 +593,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.DeviceInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeviceInfo)
       com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.DeviceInfo.class, com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
+              com.google.cloud.talent.v4beta1.DeviceInfo.class,
+              com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -556,9 +630,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
@@ -577,7 +651,8 @@ public com.google.cloud.talent.v4beta1.DeviceInfo build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() {
-      com.google.cloud.talent.v4beta1.DeviceInfo result = new com.google.cloud.talent.v4beta1.DeviceInfo(this);
+      com.google.cloud.talent.v4beta1.DeviceInfo result =
+          new com.google.cloud.talent.v4beta1.DeviceInfo(this);
       result.deviceType_ = deviceType_;
       result.id_ = id_;
       onBuilt();
@@ -588,38 +663,39 @@ public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.DeviceInfo) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.DeviceInfo)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.DeviceInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -661,22 +737,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              deviceType_ = input.readEnum();
+            case 8:
+              {
+                deviceType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              id_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                id_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -689,51 +768,67 @@ public Builder mergeFrom(
 
     private int deviceType_ = 0;
     /**
+     *
+     *
      * 
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override public int getDeviceTypeValue() { + @java.lang.Override + public int getDeviceTypeValue() { return deviceType_; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @param value The enum numeric value on the wire for deviceType to set. * @return This builder for chaining. */ public Builder setDeviceTypeValue(int value) { - + deviceType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null + ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @param value The deviceType to set. * @return This builder for chaining. */ @@ -741,21 +836,24 @@ public Builder setDeviceType(com.google.cloud.talent.v4beta1.DeviceInfo.DeviceTy if (value == null) { throw new NullPointerException(); } - + deviceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return This builder for chaining. */ public Builder clearDeviceType() { - + deviceType_ = 0; onChanged(); return this; @@ -763,19 +861,21 @@ public Builder clearDeviceType() { private java.lang.Object id_ = ""; /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -784,21 +884,22 @@ public java.lang.String getId() { } } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -806,64 +907,71 @@ public java.lang.String getId() { } } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -873,12 +981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeviceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeviceInfo) private static final com.google.cloud.talent.v4beta1.DeviceInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeviceInfo(); } @@ -887,27 +995,27 @@ public static com.google.cloud.talent.v4beta1.DeviceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeviceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeviceInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeviceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java index 4117afcead67..d723c94a14d9 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java @@ -1,50 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface DeviceInfoOrBuilder extends +public interface DeviceInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeviceInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ int getDeviceTypeValue(); /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType(); /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java index 281274bdd173..010200f29ed8 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents the employment type of a job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.EmploymentType} */ -public enum EmploymentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value if the employment type isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum EmploymentType */ EMPLOYMENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -30,6 +50,8 @@ public enum EmploymentType
    */
   FULL_TIME(1),
   /**
+   *
+   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -39,6 +61,8 @@ public enum EmploymentType
    */
   PART_TIME(2),
   /**
+   *
+   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -48,6 +72,8 @@ public enum EmploymentType
    */
   CONTRACTOR(3),
   /**
+   *
+   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -59,6 +85,8 @@ public enum EmploymentType
    */
   CONTRACT_TO_HIRE(4),
   /**
+   *
+   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -68,6 +96,8 @@ public enum EmploymentType
    */
   TEMPORARY(5),
   /**
+   *
+   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -78,6 +108,8 @@ public enum EmploymentType
    */
   INTERN(6),
   /**
+   *
+   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -87,6 +119,8 @@ public enum EmploymentType
    */
   VOLUNTEER(7),
   /**
+   *
+   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -96,6 +130,8 @@ public enum EmploymentType
    */
   PER_DIEM(8),
   /**
+   *
+   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -106,6 +142,8 @@ public enum EmploymentType
    */
   FLY_IN_FLY_OUT(9),
   /**
+   *
+   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -117,6 +155,8 @@ public enum EmploymentType ; /** + * + * *
    * The default value if the employment type isn't specified.
    * 
@@ -125,6 +165,8 @@ public enum EmploymentType */ public static final int EMPLOYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -134,6 +176,8 @@ public enum EmploymentType
    */
   public static final int FULL_TIME_VALUE = 1;
   /**
+   *
+   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -143,6 +187,8 @@ public enum EmploymentType
    */
   public static final int PART_TIME_VALUE = 2;
   /**
+   *
+   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -152,6 +198,8 @@ public enum EmploymentType
    */
   public static final int CONTRACTOR_VALUE = 3;
   /**
+   *
+   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -163,6 +211,8 @@ public enum EmploymentType
    */
   public static final int CONTRACT_TO_HIRE_VALUE = 4;
   /**
+   *
+   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -172,6 +222,8 @@ public enum EmploymentType
    */
   public static final int TEMPORARY_VALUE = 5;
   /**
+   *
+   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -182,6 +234,8 @@ public enum EmploymentType
    */
   public static final int INTERN_VALUE = 6;
   /**
+   *
+   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -191,6 +245,8 @@ public enum EmploymentType
    */
   public static final int VOLUNTEER_VALUE = 7;
   /**
+   *
+   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -200,6 +256,8 @@ public enum EmploymentType
    */
   public static final int PER_DIEM_VALUE = 8;
   /**
+   *
+   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -210,6 +268,8 @@ public enum EmploymentType
    */
   public static final int FLY_IN_FLY_OUT_VALUE = 9;
   /**
+   *
+   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -218,7 +278,6 @@ public enum EmploymentType */ public static final int OTHER_EMPLOYMENT_TYPE_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -243,57 +302,65 @@ public static EmploymentType valueOf(int value) { */ public static EmploymentType forNumber(int value) { switch (value) { - case 0: return EMPLOYMENT_TYPE_UNSPECIFIED; - case 1: return FULL_TIME; - case 2: return PART_TIME; - case 3: return CONTRACTOR; - case 4: return CONTRACT_TO_HIRE; - case 5: return TEMPORARY; - case 6: return INTERN; - case 7: return VOLUNTEER; - case 8: return PER_DIEM; - case 9: return FLY_IN_FLY_OUT; - case 10: return OTHER_EMPLOYMENT_TYPE; - default: return null; + case 0: + return EMPLOYMENT_TYPE_UNSPECIFIED; + case 1: + return FULL_TIME; + case 2: + return PART_TIME; + case 3: + return CONTRACTOR; + case 4: + return CONTRACT_TO_HIRE; + case 5: + return TEMPORARY; + case 6: + return INTERN; + case 7: + return VOLUNTEER; + case 8: + return PER_DIEM; + case 9: + return FLY_IN_FLY_OUT; + case 10: + return OTHER_EMPLOYMENT_TYPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EmploymentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EmploymentType findValueByNumber(int number) { - return EmploymentType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EmploymentType findValueByNumber(int number) { + return EmploymentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(3); } private static final EmploymentType[] VALUES = values(); - public static EmploymentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EmploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -309,4 +376,3 @@ private EmploymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.EmploymentType) } - diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java new file mode 100644 index 000000000000..9bf3bda85a3d --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java @@ -0,0 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/event.proto + +package com.google.cloud.talent.v4beta1; + +public final class EventProto { + private EventProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/talent/v4beta1/event.prot" + + "o\022\033google.cloud.talent.v4beta1\032\037google/a" + + "pi/field_behavior.proto\032\037google/protobuf" + + "/timestamp.proto\"\310\001\n\013ClientEvent\022\022\n\nrequ" + + "est_id\030\001 \001(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013c" + + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\002\022:\n\tjob_event\030\005 \001(\0132%.google.cl" + + "oud.talent.v4beta1.JobEventH\000\022\023\n\013event_n" + + "otes\030\t \001(\tB\007\n\005event\"\366\003\n\010JobEvent\022E\n\004type" + + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Job" + + "Event.JobEventTypeB\003\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340" + + "A\002\022\017\n\007profile\030\003 \001(\t\"\376\002\n\014JobEventType\022\036\n\032" + + "JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSI" + + "ON\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APP" + + "LICATION_START\020\004\022\026\n\022APPLICATION_FINISH\020\005" + + "\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n\024AP" + + "PLICATION_REDIRECT\020\007\022!\n\035APPLICATION_STAR" + + "T_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRECT_" + + "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" + + "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" + + "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" + + "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" + + "\nEventProtoP\001ZAgoogle.golang.org/genprot" + + "o/googleapis/cloud/talent/v4beta1;talent" + + "\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor, + new java.lang.String[] { + "RequestId", "EventId", "CreateTime", "JobEvent", "EventNotes", "Event", + }); + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor, + new java.lang.String[] { + "Type", "Jobs", "Profile", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java new file mode 100644 index 000000000000..9aeec3907ff9 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java @@ -0,0 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/event_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class EventServiceProto { + private EventServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/talent/v4beta1/event_serv" + + "ice.proto\022\033google.cloud.talent.v4beta1\032\034" + + "google/api/annotations.proto\032\027google/api" + + "/client.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\'googl" + + "e/cloud/talent/v4beta1/event.proto\"\224\001\n\030C" + + "reateClientEventRequest\0223\n\006parent\030\001 \001(\tB" + + "#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022C\n\014" + + "client_event\030\002 \001(\0132(.google.cloud.talent" + + ".v4beta1.ClientEventB\003\340A\0022\372\002\n\014EventServi" + + "ce\022\373\001\n\021CreateClientEvent\0225.google.cloud." + + "talent.v4beta1.CreateClientEventRequest\032" + + "(.google.cloud.talent.v4beta1.ClientEven" + + "t\"\204\001\202\323\344\223\002h\"3/v4beta1/{parent=projects/*/" + + "tenants/*}/clientEvents:\001*Z.\")/v4beta1/{" + + "parent=projects/*}/clientEvents:\001*\332A\023par" + + "ent,client_event\032l\312A\023jobs.googleapis.com" + + "\322AShttps://www.googleapis.com/auth/cloud" + + "-platform,https://www.googleapis.com/aut" + + "h/jobsB\177\n\037com.google.cloud.talent.v4beta" + + "1B\021EventServiceProtoP\001ZAgoogle.golang.or" + + "g/genproto/googleapis/cloud/talent/v4bet" + + "a1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.EventProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor, + new java.lang.String[] { + "Parent", "ClientEvent", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.EventProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java new file mode 100644 index 000000000000..63e204fdce09 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java @@ -0,0 +1,194 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/filters.proto + +package com.google.cloud.talent.v4beta1; + +public final class FiltersProto { + private FiltersProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/talent/v4beta1/filters.pr" + + "oto\022\033google.cloud.talent.v4beta1\032\037google" + + "/api/field_behavior.proto\032(google/cloud/" + + "talent/v4beta1/common.proto\032\036google/prot" + + "obuf/duration.proto\032\030google/type/latlng." + + "proto\032\033google/type/timeofday.proto\"\200\005\n\010J" + + "obQuery\022\r\n\005query\030\001 \001(\t\022\033\n\023query_language" + + "_code\030\016 \001(\t\022\021\n\tcompanies\030\002 \003(\t\022E\n\020locati" + + "on_filters\030\003 \003(\0132+.google.cloud.talent.v" + + "4beta1.LocationFilter\022@\n\016job_categories\030" + + "\004 \003(\0162(.google.cloud.talent.v4beta1.JobC" + + "ategory\022B\n\016commute_filter\030\005 \001(\0132*.google" + + ".cloud.talent.v4beta1.CommuteFilter\022\035\n\025c" + + "ompany_display_names\030\006 \003(\t\022L\n\023compensati" + + "on_filter\030\007 \001(\0132/.google.cloud.talent.v4" + + "beta1.CompensationFilter\022\037\n\027custom_attri" + + "bute_filter\030\010 \001(\t\022\033\n\023disable_spell_check" + + "\030\t \001(\010\022E\n\020employment_types\030\n \003(\0162+.googl" + + "e.cloud.talent.v4beta1.EmploymentType\022\026\n" + + "\016language_codes\030\013 \003(\t\022G\n\022publish_time_ra" + + "nge\030\014 \001(\0132+.google.cloud.talent.v4beta1." + + "TimestampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\203\003" + + "\n\016LocationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013reg" + + "ion_code\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google" + + ".type.LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022" + + "a\n\026telecommute_preference\030\005 \001(\0162A.google" + + ".cloud.talent.v4beta1.LocationFilter.Tel" + + "ecommutePreference\022\017\n\007negated\030\006 \001(\010\"\225\001\n\025" + + "TelecommutePreference\022&\n\"TELECOMMUTE_PRE" + + "FERENCE_UNSPECIFIED\020\000\022\034\n\024TELECOMMUTE_EXC" + + "LUDED\020\001\032\002\010\001\022\027\n\023TELECOMMUTE_ALLOWED\020\002\022\035\n\031" + + "TELECOMMUTE_JOBS_EXCLUDED\020\003\"\312\003\n\022Compensa" + + "tionFilter\022M\n\004type\030\001 \001(\0162:.google.cloud." + + "talent.v4beta1.CompensationFilter.Filter" + + "TypeB\003\340A\002\022R\n\005units\030\002 \003(\0162>.google.cloud." + + "talent.v4beta1.CompensationInfo.Compensa" + + "tionUnitB\003\340A\002\022N\n\005range\030\003 \001(\0132?.google.cl" + + "oud.talent.v4beta1.CompensationInfo.Comp" + + "ensationRange\0228\n0include_jobs_with_unspe" + + "cified_compensation_range\030\004 \001(\010\"\206\001\n\nFilt" + + "erType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n\tU" + + "NIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANNUA" + + "LIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTAL_" + + "AMOUNT\020\004\"\313\003\n\rCommuteFilter\022G\n\016commute_me" + + "thod\030\001 \001(\0162*.google.cloud.talent.v4beta1" + + ".CommuteMethodB\003\340A\002\0223\n\021start_coordinates" + + "\030\002 \001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017trav" + + "el_duration\030\003 \001(\0132\031.google.protobuf.Dura" + + "tionB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004" + + " \001(\010\022N\n\014road_traffic\030\005 \001(\01626.google.clou" + + "d.talent.v4beta1.CommuteFilter.RoadTraff" + + "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" + + "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" + + "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" + + "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" + + "ogle.cloud.talent.v4beta1B\014FiltersProtoP" + + "\001ZAgoogle.golang.org/genproto/googleapis" + + "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor, + new java.lang.String[] { + "Query", + "QueryLanguageCode", + "Companies", + "LocationFilters", + "JobCategories", + "CommuteFilter", + "CompanyDisplayNames", + "CompensationFilter", + "CustomAttributeFilter", + "DisableSpellCheck", + "EmploymentTypes", + "LanguageCodes", + "PublishTimeRange", + "ExcludedJobs", + }); + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor, + new java.lang.String[] { + "Address", + "RegionCode", + "LatLng", + "DistanceInMiles", + "TelecommutePreference", + "Negated", + }); + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor, + new java.lang.String[] { + "Type", "Units", "Range", "IncludeJobsWithUnspecifiedCompensationRange", + }); + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor, + new java.lang.String[] { + "CommuteMethod", + "StartCoordinates", + "TravelDuration", + "AllowImpreciseAddresses", + "RoadTraffic", + "DepartureTime", + "TrafficOption", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java index d471a20719f4..d384369e9a71 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Request for getting a company by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetCompanyRequest} */ -public final class GetCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetCompanyRequest) GetCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCompanyRequest.newBuilder() to construct. private GetCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetCompanyRequest.class, com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetCompanyRequest.class, + com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/api-test-project/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -86,17 +111,18 @@ public java.lang.String getName() {
    * example, "projects/api-test-project/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetCompanyRequest other = (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; + com.google.cloud.talent.v4beta1.GetCompanyRequest other = + (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -169,129 +195,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for getting a company by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetCompanyRequest) com.google.cloud.talent.v4beta1.GetCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetCompanyRequest.class, com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetCompanyRequest.class, + com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetCompanyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override @@ -322,7 +354,8 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetCompanyRequest result = new com.google.cloud.talent.v4beta1.GetCompanyRequest(this); + com.google.cloud.talent.v4beta1.GetCompanyRequest result = + new com.google.cloud.talent.v4beta1.GetCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -332,38 +365,39 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.GetCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -402,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,6 +462,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -434,14 +473,16 @@ public Builder mergeFrom(
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,6 +491,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -459,16 +502,17 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +520,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -485,21 +531,25 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -509,16 +559,21 @@ public Builder setName(
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -528,24 +583,26 @@ public Builder clearName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetCompanyRequest) private static final com.google.cloud.talent.v4beta1.GetCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetCompanyRequest(); } @@ -569,27 +626,27 @@ public static com.google.cloud.talent.v4beta1.GetCompanyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java index 3a8a56e7aeef..dae7329e9b4e 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface GetCompanyRequestOrBuilder extends +public interface GetCompanyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetCompanyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -17,11 +35,16 @@ public interface GetCompanyRequestOrBuilder extends
    * example, "projects/api-test-project/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -31,9 +54,11 @@ public interface GetCompanyRequestOrBuilder extends
    * example, "projects/api-test-project/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java similarity index 64% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java index 775d81b8b0cd..941e441a4012 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetJobRequest} */ -public final class GetJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetJobRequest) GetJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetJobRequest.class, com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetJobRequest.class, + com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -86,17 +111,18 @@ public java.lang.String getName() {
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetJobRequest other = (com.google.cloud.talent.v4beta1.GetJobRequest) obj; + com.google.cloud.talent.v4beta1.GetJobRequest other = + (com.google.cloud.talent.v4beta1.GetJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,130 +194,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetJobRequest) com.google.cloud.talent.v4beta1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetJobRequest.class, com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetJobRequest.class, + com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override @@ -322,7 +354,8 @@ public com.google.cloud.talent.v4beta1.GetJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetJobRequest result = new com.google.cloud.talent.v4beta1.GetJobRequest(this); + com.google.cloud.talent.v4beta1.GetJobRequest result = + new com.google.cloud.talent.v4beta1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -332,38 +365,39 @@ public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetJobRequest) other); } else { super.mergeFrom(other); return this; @@ -402,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,6 +461,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -434,14 +472,16 @@ public Builder mergeFrom(
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,6 +490,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -459,16 +501,17 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +519,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -485,21 +530,25 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -509,16 +558,21 @@ public Builder setName(
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -528,24 +582,26 @@ public Builder clearName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetJobRequest) private static final com.google.cloud.talent.v4beta1.GetJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetJobRequest(); } @@ -569,27 +625,27 @@ public static com.google.cloud.talent.v4beta1.GetJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +660,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java index e3a789068a5a..9c20b03e4b69 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface GetJobRequestOrBuilder extends +public interface GetJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -17,11 +35,16 @@ public interface GetJobRequestOrBuilder extends
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -31,9 +54,11 @@ public interface GetJobRequestOrBuilder extends
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java similarity index 62% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java index 335a40231447..dc3d1907304c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Request for getting a tenant by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest} */ -public final class GetTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetTenantRequest) GetTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTenantRequest.newBuilder() to construct. private GetTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetTenantRequest.class, com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetTenantRequest.class, + com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetTenantRequest other = (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; + com.google.cloud.talent.v4beta1.GetTenantRequest other = + (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for getting a tenant by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetTenantRequest) com.google.cloud.talent.v4beta1.GetTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetTenantRequest.class, com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetTenantRequest.class, + com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetTenantRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetTenantRequest result = new com.google.cloud.talent.v4beta1.GetTenantRequest(this); + com.google.cloud.talent.v4beta1.GetTenantRequest result = + new com.google.cloud.talent.v4beta1.GetTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -365,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.GetTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -396,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +456,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +482,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,67 +508,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetTenantRequest) private static final com.google.cloud.talent.v4beta1.GetTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetTenantRequest(); } @@ -548,27 +605,27 @@ public static com.google.cloud.talent.v4beta1.GetTenantRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java new file mode 100644 index 000000000000..7fb3e7cb4811 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface GetTenantRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java new file mode 100644 index 000000000000..c036e0f5d115 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/histogram.proto + +package com.google.cloud.talent.v4beta1; + +public final class HistogramProto { + private HistogramProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/talent/v4beta1/histogram." + + "proto\022\033google.cloud.talent.v4beta1\")\n\016Hi" + + "stogramQuery\022\027\n\017histogram_query\030\001 \001(\t\"\266\001" + + "\n\024HistogramQueryResult\022\027\n\017histogram_quer" + + "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" + + "d.talent.v4beta1.HistogramQueryResult.Hi" + + "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" + + "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor, + new java.lang.String[] { + "HistogramQuery", + }); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor, + new java.lang.String[] { + "HistogramQuery", "Histogram", + }); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java similarity index 69% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java index 216804e4f60e..dd6c694716e5 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The histogram request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQuery} */ -public final class HistogramQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HistogramQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.HistogramQuery) HistogramQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HistogramQuery.newBuilder() to construct. private HistogramQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HistogramQuery() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HistogramQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQuery.class, com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQuery.class, + com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** + * + * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ @java.lang.Override @@ -67,14 +89,15 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** + * + * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -83,16 +106,15 @@ public java.lang.String getHistogramQuery() {
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -101,6 +123,7 @@ public java.lang.String getHistogramQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_); } @@ -137,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.HistogramQuery)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.HistogramQuery other = (com.google.cloud.talent.v4beta1.HistogramQuery) obj; + com.google.cloud.talent.v4beta1.HistogramQuery other = + (com.google.cloud.talent.v4beta1.HistogramQuery) obj; - if (!getHistogramQuery() - .equals(other.getHistogramQuery())) return false; + if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +186,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.HistogramQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The histogram request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.HistogramQuery) com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQuery.class, com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQuery.class, + com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.HistogramQuery.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override @@ -318,7 +346,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery build() { @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { - com.google.cloud.talent.v4beta1.HistogramQuery result = new com.google.cloud.talent.v4beta1.HistogramQuery(this); + com.google.cloud.talent.v4beta1.HistogramQuery result = + new com.google.cloud.talent.v4beta1.HistogramQuery(this); result.histogramQuery_ = histogramQuery_; onBuilt(); return result; @@ -328,38 +357,39 @@ public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.HistogramQuery) { - return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQuery)other); + return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQuery) other); } else { super.mergeFrom(other); return this; @@ -398,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +453,8 @@ public Builder mergeFrom( private java.lang.Object histogramQuery_ = ""; /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -429,13 +463,13 @@ public Builder mergeFrom(
      * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -444,6 +478,8 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -452,15 +488,14 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -468,6 +503,8 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -476,20 +513,22 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery( - java.lang.String value) { + public Builder setHistogramQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -498,15 +537,18 @@ public Builder setHistogramQuery(
      * 
* * string histogram_query = 1; + * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -515,23 +557,23 @@ public Builder clearHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +583,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.HistogramQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.HistogramQuery) private static final com.google.cloud.talent.v4beta1.HistogramQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.HistogramQuery(); } @@ -555,27 +597,27 @@ public static com.google.cloud.talent.v4beta1.HistogramQuery getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HistogramQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HistogramQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +632,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.HistogramQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java similarity index 64% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java index 2b6d25a54ccb..5f6869b8e4fe 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; -public interface HistogramQueryOrBuilder extends +public interface HistogramQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.HistogramQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -16,10 +34,13 @@ public interface HistogramQueryOrBuilder extends
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** + * + * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -28,8 +49,8 @@ public interface HistogramQueryOrBuilder extends
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString - getHistogramQueryBytes(); + com.google.protobuf.ByteString getHistogramQueryBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java similarity index 66% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java index 582bf0b6587b..6ac148470011 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java @@ -1,73 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Histogram result that matches [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in searches.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQueryResult} */ -public final class HistogramQueryResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HistogramQueryResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.HistogramQueryResult) HistogramQueryResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HistogramQueryResult.newBuilder() to construct. private HistogramQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HistogramQueryResult() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HistogramQueryResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQueryResult.class, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQueryResult.class, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ @java.lang.Override @@ -76,29 +97,29 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -107,24 +128,23 @@ public java.lang.String getHistogramQuery() { } public static final int HISTOGRAM_FIELD_NUMBER = 2; + private static final class HistogramDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> histogram_; - private com.google.protobuf.MapField - internalGetHistogram() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + + private com.google.protobuf.MapField histogram_; + + private com.google.protobuf.MapField internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } @@ -133,6 +153,8 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** + * + * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -146,22 +168,22 @@ public int getHistogramCount() {
    *
    * map<string, int64> histogram = 2;
    */
-
   @java.lang.Override
-  public boolean containsHistogram(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHistogram(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHistogram().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHistogramMap()} instead.
-   */
+  /** Use {@link #getHistogramMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHistogram() {
     return getHistogramMap();
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -176,11 +198,12 @@ public java.util.Map getHistogram() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
   public java.util.Map getHistogramMap() {
     return internalGetHistogram().getMap();
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -195,16 +218,16 @@ public java.util.Map getHistogramMap() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
-  public long getHistogramOrDefault(
-      java.lang.String key,
-      long defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHistogram().getMap();
+  public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHistogram().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -219,12 +242,11 @@ public long getHistogramOrDefault(
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
-  public long getHistogramOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHistogram().getMap();
+  public long getHistogramOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHistogram().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -232,6 +254,7 @@ public long getHistogramOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -243,17 +266,12 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHistogram(),
-        HistogramDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHistogram(), HistogramDefaultEntryHolder.defaultEntry, 2);
     getUnknownFields().writeTo(output);
   }
 
@@ -266,15 +284,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, histogramQuery_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHistogram().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      histogram__ = HistogramDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, histogram__);
+    for (java.util.Map.Entry entry :
+        internalGetHistogram().getMap().entrySet()) {
+      com.google.protobuf.MapEntry histogram__ =
+          HistogramDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, histogram__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,17 +302,16 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.HistogramQueryResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.HistogramQueryResult other = (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj;
+    com.google.cloud.talent.v4beta1.HistogramQueryResult other =
+        (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj;
 
-    if (!getHistogramQuery()
-        .equals(other.getHistogramQuery())) return false;
-    if (!internalGetHistogram().equals(
-        other.internalGetHistogram())) return false;
+    if (!getHistogramQuery().equals(other.getHistogramQuery())) return false;
+    if (!internalGetHistogram().equals(other.internalGetHistogram())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -318,151 +335,155 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.HistogramQueryResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Histogram result that matches [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in searches.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQueryResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.HistogramQueryResult) com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQueryResult.class, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQueryResult.class, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.HistogramQueryResult.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @java.lang.Override @@ -494,7 +515,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult build() { @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { - com.google.cloud.talent.v4beta1.HistogramQueryResult result = new com.google.cloud.talent.v4beta1.HistogramQueryResult(this); + com.google.cloud.talent.v4beta1.HistogramQueryResult result = + new com.google.cloud.talent.v4beta1.HistogramQueryResult(this); int from_bitField0_ = bitField0_; result.histogramQuery_ = histogramQuery_; result.histogram_ = internalGetHistogram(); @@ -507,38 +529,39 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.HistogramQueryResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQueryResult)other); + return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQueryResult) other); } else { super.mergeFrom(other); return this; @@ -546,13 +569,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.HistogramQueryResult other) { - if (other == com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()) + return this; if (!other.getHistogramQuery().isEmpty()) { histogramQuery_ = other.histogramQuery_; onChanged(); } - internalGetMutableHistogram().mergeFrom( - other.internalGetHistogram()); + internalGetMutableHistogram().mergeFrom(other.internalGetHistogram()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -579,25 +602,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - histogram__ = input.readMessage( - HistogramDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableHistogram().getMutableMap().put( - histogram__.getKey(), histogram__.getValue()); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry histogram__ = + input.readMessage( + HistogramDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableHistogram() + .getMutableMap() + .put(histogram__.getKey(), histogram__.getValue()); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,22 +635,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object histogramQuery_ = ""; /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -631,20 +662,21 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -652,75 +684,82 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery( - java.lang.String value) { + public Builder setHistogramQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> histogram_; - private com.google.protobuf.MapField - internalGetHistogram() { + private com.google.protobuf.MapField histogram_; + + private com.google.protobuf.MapField internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } + private com.google.protobuf.MapField - internalGetMutableHistogram() { - onChanged();; + internalGetMutableHistogram() { + onChanged(); + ; if (histogram_ == null) { - histogram_ = com.google.protobuf.MapField.newMapField( - HistogramDefaultEntryHolder.defaultEntry); + histogram_ = + com.google.protobuf.MapField.newMapField(HistogramDefaultEntryHolder.defaultEntry); } if (!histogram_.isMutable()) { histogram_ = histogram_.copy(); @@ -732,6 +771,8 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** + * + * *
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -745,22 +786,22 @@ public int getHistogramCount() {
      *
      * map<string, int64> histogram = 2;
      */
-
     @java.lang.Override
-    public boolean containsHistogram(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHistogram(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHistogram().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHistogramMap()} instead.
-     */
+    /** Use {@link #getHistogramMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHistogram() {
       return getHistogramMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -775,11 +816,12 @@ public java.util.Map getHistogram() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
     public java.util.Map getHistogramMap() {
       return internalGetHistogram().getMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -794,16 +836,16 @@ public java.util.Map getHistogramMap() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
-    public long getHistogramOrDefault(
-        java.lang.String key,
-        long defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHistogram().getMap();
+    public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHistogram().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -818,12 +860,11 @@ public long getHistogramOrDefault(
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
-    public long getHistogramOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHistogram().getMap();
+    public long getHistogramOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHistogram().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -831,11 +872,12 @@ public long getHistogramOrThrow(
     }
 
     public Builder clearHistogram() {
-      internalGetMutableHistogram().getMutableMap()
-          .clear();
+      internalGetMutableHistogram().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -849,23 +891,21 @@ public Builder clearHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-
-    public Builder removeHistogram(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHistogram().getMutableMap()
-          .remove(key);
+    public Builder removeHistogram(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHistogram().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHistogram() {
+    public java.util.Map getMutableHistogram() {
       return internalGetMutableHistogram().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -879,16 +919,17 @@ public Builder removeHistogram(
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putHistogram(
-        java.lang.String key,
-        long value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      
-      internalGetMutableHistogram().getMutableMap()
-          .put(key, value);
+    public Builder putHistogram(java.lang.String key, long value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+
+      internalGetMutableHistogram().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -902,16 +943,13 @@ public Builder putHistogram(
      *
      * map<string, int64> histogram = 2;
      */
-
-    public Builder putAllHistogram(
-        java.util.Map values) {
-      internalGetMutableHistogram().getMutableMap()
-          .putAll(values);
+    public Builder putAllHistogram(java.util.Map values) {
+      internalGetMutableHistogram().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -921,12 +959,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.HistogramQueryResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.HistogramQueryResult)
   private static final com.google.cloud.talent.v4beta1.HistogramQueryResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.HistogramQueryResult();
   }
@@ -935,27 +973,27 @@ public static com.google.cloud.talent.v4beta1.HistogramQueryResult getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HistogramQueryResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HistogramQueryResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -970,6 +1008,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.HistogramQueryResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
index 35045e571b0f..1aebca305fb1 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
@@ -1,33 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/histogram.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface HistogramQueryResultOrBuilder extends
+public interface HistogramQueryResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.HistogramQueryResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString - getHistogramQueryBytes(); + com.google.protobuf.ByteString getHistogramQueryBytes(); /** + * + * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -43,6 +66,8 @@ public interface HistogramQueryResultOrBuilder extends
    */
   int getHistogramCount();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -56,15 +81,13 @@ public interface HistogramQueryResultOrBuilder extends
    *
    * map<string, int64> histogram = 2;
    */
-  boolean containsHistogram(
-      java.lang.String key);
-  /**
-   * Use {@link #getHistogramMap()} instead.
-   */
+  boolean containsHistogram(java.lang.String key);
+  /** Use {@link #getHistogramMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHistogram();
+  java.util.Map getHistogram();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -78,9 +101,10 @@ boolean containsHistogram(
    *
    * map<string, int64> histogram = 2;
    */
-  java.util.Map
-  getHistogramMap();
+  java.util.Map getHistogramMap();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -94,11 +118,10 @@ boolean containsHistogram(
    *
    * map<string, int64> histogram = 2;
    */
-
-  long getHistogramOrDefault(
-      java.lang.String key,
-      long defaultValue);
+  long getHistogramOrDefault(java.lang.String key, long defaultValue);
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -112,7 +135,5 @@ long getHistogramOrDefault(
    *
    * map<string, int64> histogram = 2;
    */
-
-  long getHistogramOrThrow(
-      java.lang.String key);
+  long getHistogramOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
similarity index 68%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
index 63c0406d239b..1ba1e845509d 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Option for HTML content sanitization on user input fields, for example, job
  * description. By setting this option, user can determine whether and how
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.HtmlSanitization}
  */
-public enum HtmlSanitization
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -23,6 +41,8 @@ public enum HtmlSanitization */ HTML_SANITIZATION_UNSPECIFIED(0), /** + * + * *
    * Disables sanitization on HTML input.
    * 
@@ -31,6 +51,8 @@ public enum HtmlSanitization */ HTML_SANITIZATION_DISABLED(1), /** + * + * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -43,6 +65,8 @@ public enum HtmlSanitization
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -51,6 +75,8 @@ public enum HtmlSanitization */ public static final int HTML_SANITIZATION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Disables sanitization on HTML input.
    * 
@@ -59,6 +85,8 @@ public enum HtmlSanitization */ public static final int HTML_SANITIZATION_DISABLED_VALUE = 1; /** + * + * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -68,7 +96,6 @@ public enum HtmlSanitization
    */
   public static final int SIMPLE_FORMATTING_ONLY_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,49 +120,49 @@ public static HtmlSanitization valueOf(int value) {
    */
   public static HtmlSanitization forNumber(int value) {
     switch (value) {
-      case 0: return HTML_SANITIZATION_UNSPECIFIED;
-      case 1: return HTML_SANITIZATION_DISABLED;
-      case 2: return SIMPLE_FORMATTING_ONLY;
-      default: return null;
+      case 0:
+        return HTML_SANITIZATION_UNSPECIFIED;
+      case 1:
+        return HTML_SANITIZATION_DISABLED;
+      case 2:
+        return SIMPLE_FORMATTING_ONLY;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      HtmlSanitization> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public HtmlSanitization findValueByNumber(int number) {
-            return HtmlSanitization.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public HtmlSanitization findValueByNumber(int number) {
+          return HtmlSanitization.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(8);
   }
 
   private static final HtmlSanitization[] VALUES = values();
 
-  public static HtmlSanitization valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static HtmlSanitization valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -151,4 +178,3 @@ private HtmlSanitization(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.HtmlSanitization)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
similarity index 80%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
index 62250d83d94b..eb75c3c3d5dc 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * A Job resource represents a job posting (also referred to as a "job listing"
  * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Job}
  */
-public final class Job extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Job extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job)
     JobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Job() {
     name_ = "";
     company_ = "";
@@ -44,46 +62,49 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.JobResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 10:
         return internalGetCustomAttributes();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.JobResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Job.class, com.google.cloud.talent.v4beta1.Job.Builder.class);
+            com.google.cloud.talent.v4beta1.Job.class,
+            com.google.cloud.talent.v4beta1.Job.Builder.class);
   }
 
-  public interface ApplicationInfoOrBuilder extends
+  public interface ApplicationInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ApplicationInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -91,11 +112,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - java.util.List - getEmailsList(); + java.util.List getEmailsList(); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -103,10 +126,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @return The count of emails. */ int getEmailsCount(); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -114,11 +140,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ java.lang.String getEmails(int index); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -126,13 +155,15 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - com.google.protobuf.ByteString - getEmailsBytes(int index); + com.google.protobuf.ByteString getEmailsBytes(int index); /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -142,10 +173,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * string instruction = 2; + * * @return The instruction. */ java.lang.String getInstruction(); /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -155,12 +189,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * string instruction = 2; + * * @return The bytes for instruction. */ - com.google.protobuf.ByteString - getInstructionBytes(); + com.google.protobuf.ByteString getInstructionBytes(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -168,11 +204,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -180,10 +218,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -191,11 +232,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -203,28 +247,31 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); } /** + * + * *
    * Application related details of a job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo} */ - public static final class ApplicationInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo) ApplicationInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplicationInfo.newBuilder() to construct. private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ApplicationInfo() { emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; instruction_ = ""; @@ -233,32 +280,35 @@ private ApplicationInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApplicationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); } public static final int EMAILS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList emails_; /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -266,13 +316,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList - getEmailsList() { + public com.google.protobuf.ProtocolStringList getEmailsList() { return emails_; } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -280,12 +332,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string emails = 1; + * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -293,6 +348,7 @@ public int getEmailsCount() {
      * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -300,6 +356,8 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -307,17 +365,19 @@ public java.lang.String getEmails(int index) {
      * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString - getEmailsBytes(int index) { + public com.google.protobuf.ByteString getEmailsBytes(int index) { return emails_.getByteString(index); } public static final int INSTRUCTION_FIELD_NUMBER = 2; private volatile java.lang.Object instruction_; /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -327,6 +387,7 @@ public java.lang.String getEmails(int index) {
      * 
* * string instruction = 2; + * * @return The instruction. */ @java.lang.Override @@ -335,14 +396,15 @@ public java.lang.String getInstruction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; } } /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -352,16 +414,15 @@ public java.lang.String getInstruction() {
      * 
* * string instruction = 2; + * * @return The bytes for instruction. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstructionBytes() { + public com.google.protobuf.ByteString getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instruction_ = b; return b; } else { @@ -372,6 +433,8 @@ public java.lang.String getInstruction() { public static final int URIS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uris_; /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -379,13 +442,15 @@ public java.lang.String getInstruction() {
      * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -393,12 +458,15 @@ public java.lang.String getInstruction() {
      * 
* * repeated string uris = 3; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -406,6 +474,7 @@ public int getUrisCount() {
      * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -413,6 +482,8 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -420,15 +491,16 @@ public java.lang.String getUris(int index) {
      * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,8 +512,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < emails_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i)); } @@ -487,19 +558,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; + com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = + (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; - if (!getEmailsList() - .equals(other.getEmailsList())) return false; - if (!getInstruction() - .equals(other.getInstruction())) return false; - if (!getUrisList() - .equals(other.getUrisList())) return false; + if (!getEmailsList().equals(other.getEmailsList())) return false; + if (!getInstruction().equals(other.getInstruction())) return false; + if (!getUrisList().equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -527,87 +596,94 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -617,39 +693,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Application related details of a job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo) com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -663,9 +741,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override @@ -684,7 +762,8 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { - com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = + new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); @@ -705,38 +784,41 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo) other); } else { super.mergeFrom(other); return this; @@ -744,7 +826,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ApplicationInfo other) { - if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()) + return this; if (!other.emails_.isEmpty()) { if (emails_.isEmpty()) { emails_ = other.emails_; @@ -795,29 +878,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmailsIsMutable(); - emails_.add(s); - break; - } // case 10 - case 18: { - instruction_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmailsIsMutable(); + emails_.add(s); + break; + } // case 10 + case 18: + { + instruction_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -827,16 +914,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList emails_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEmailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -844,13 +936,15 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList - getEmailsList() { + public com.google.protobuf.ProtocolStringList getEmailsList() { return emails_.getUnmodifiableView(); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -858,12 +952,15 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; + * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -871,6 +968,7 @@ public int getEmailsCount() {
        * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -878,6 +976,8 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -885,14 +985,16 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString - getEmailsBytes(int index) { + public com.google.protobuf.ByteString getEmailsBytes(int index) { return emails_.getByteString(index); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -900,21 +1002,23 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; + * * @param index The index to set the value at. * @param value The emails to set. * @return This builder for chaining. */ - public Builder setEmails( - int index, java.lang.String value) { + public Builder setEmails(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.set(index, value); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -922,20 +1026,22 @@ public Builder setEmails(
        * 
* * repeated string emails = 1; + * * @param value The emails to add. * @return This builder for chaining. */ - public Builder addEmails( - java.lang.String value) { + public Builder addEmails(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.add(value); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -943,18 +1049,19 @@ public Builder addEmails(
        * 
* * repeated string emails = 1; + * * @param values The emails to add. * @return This builder for chaining. */ - public Builder addAllEmails( - java.lang.Iterable values) { + public Builder addAllEmails(java.lang.Iterable values) { ensureEmailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, emails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -962,6 +1069,7 @@ public Builder addAllEmails(
        * 
* * repeated string emails = 1; + * * @return This builder for chaining. */ public Builder clearEmails() { @@ -971,6 +1079,8 @@ public Builder clearEmails() { return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -978,15 +1088,15 @@ public Builder clearEmails() {
        * 
* * repeated string emails = 1; + * * @param value The bytes of the emails to add. * @return This builder for chaining. */ - public Builder addEmailsBytes( - com.google.protobuf.ByteString value) { + public Builder addEmailsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEmailsIsMutable(); emails_.add(value); onChanged(); @@ -995,6 +1105,8 @@ public Builder addEmailsBytes( private java.lang.Object instruction_ = ""; /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1004,13 +1116,13 @@ public Builder addEmailsBytes(
        * 
* * string instruction = 2; + * * @return The instruction. */ public java.lang.String getInstruction() { java.lang.Object ref = instruction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; @@ -1019,6 +1131,8 @@ public java.lang.String getInstruction() { } } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1028,15 +1142,14 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; + * * @return The bytes for instruction. */ - public com.google.protobuf.ByteString - getInstructionBytes() { + public com.google.protobuf.ByteString getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instruction_ = b; return b; } else { @@ -1044,6 +1157,8 @@ public java.lang.String getInstruction() { } } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1053,20 +1168,22 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; + * * @param value The instruction to set. * @return This builder for chaining. */ - public Builder setInstruction( - java.lang.String value) { + public Builder setInstruction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instruction_ = value; onChanged(); return this; } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1076,15 +1193,18 @@ public Builder setInstruction(
        * 
* * string instruction = 2; + * * @return This builder for chaining. */ public Builder clearInstruction() { - + instruction_ = getDefaultInstance().getInstruction(); onChanged(); return this; } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1094,29 +1214,33 @@ public Builder clearInstruction() {
        * 
* * string instruction = 2; + * * @param value The bytes for instruction to set. * @return This builder for chaining. */ - public Builder setInstructionBytes( - com.google.protobuf.ByteString value) { + public Builder setInstructionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instruction_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1124,13 +1248,15 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1138,12 +1264,15 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1151,6 +1280,7 @@ public int getUrisCount() {
        * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -1158,6 +1288,8 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1165,14 +1297,16 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1180,21 +1314,23 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1202,20 +1338,22 @@ public Builder setUris(
        * 
* * repeated string uris = 3; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1223,18 +1361,19 @@ public Builder addUris(
        * 
* * repeated string uris = 3; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1242,6 +1381,7 @@ public Builder addAllUris(
        * 
* * repeated string uris = 3; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -1251,6 +1391,8 @@ public Builder clearUris() { return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1258,20 +1400,21 @@ public Builder clearUris() {
        * 
* * repeated string uris = 3; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1284,12 +1427,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo) private static final com.google.cloud.talent.v4beta1.Job.ApplicationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(); } @@ -1298,27 +1441,28 @@ public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplicationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplicationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1333,14 +1477,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DerivedInfoOrBuilder extends + public interface DerivedInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.DerivedInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1349,9 +1495,10 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    java.util.List 
-        getLocationsList();
+    java.util.List getLocationsList();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1362,6 +1509,8 @@ public interface DerivedInfoOrBuilder extends
      */
     com.google.cloud.talent.v4beta1.Location getLocations(int index);
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1372,6 +1521,8 @@ public interface DerivedInfoOrBuilder extends
      */
     int getLocationsCount();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1380,9 +1531,11 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    java.util.List 
+    java.util.List
         getLocationsOrBuilderList();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1391,74 +1544,90 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
-        int index);
+    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List - getJobCategoriesValueList(); + java.util.List getJobCategoriesValueList(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); } /** + * + * *
    * Derived details about the job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo} */ - public static final class DerivedInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DerivedInfo() { locations_ = java.util.Collections.emptyList(); jobCategories_ = java.util.Collections.emptyList(); @@ -1466,32 +1635,35 @@ private DerivedInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** + * + * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1505,6 +1677,8 @@ public java.util.List getLocationsList
       return locations_;
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1514,11 +1688,13 @@ public java.util.List getLocationsList
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getLocationsOrBuilderList() {
       return locations_;
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1532,6 +1708,8 @@ public int getLocationsCount() {
       return locations_.size();
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1545,6 +1723,8 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
       return locations_.get(index);
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1554,42 +1734,52 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
       return locations_.get(index);
     }
 
     public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
     private java.util.List jobCategories_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory> jobCategories_converter_ =
+            java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
+        jobCategories_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
               public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.talent.v4beta1.JobCategory result = com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
-                return result == null ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED : result;
+                com.google.cloud.talent.v4beta1.JobCategory result =
+                    com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
+                return result == null
+                    ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ @java.lang.Override @@ -1597,11 +1787,14 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -1610,24 +1803,29 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return jobCategories_; } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -1635,9 +1833,11 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } + private int jobCategoriesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1649,8 +1849,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); @@ -1672,20 +1871,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobCategoriesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1695,15 +1894,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.DerivedInfo other = (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; + com.google.cloud.talent.v4beta1.Job.DerivedInfo other = + (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1730,87 +1929,93 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.DerivedInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1820,39 +2025,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Derived details about the job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.DerivedInfo) com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1869,9 +2076,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override @@ -1890,7 +2097,8 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { - com.google.cloud.talent.v4beta1.Job.DerivedInfo result = new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); + com.google.cloud.talent.v4beta1.Job.DerivedInfo result = + new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1914,38 +2122,41 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo) other); } else { super.mergeFrom(other); return this; @@ -1953,7 +2164,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) { - if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()) + return this; if (locationsBuilder_ == null) { if (!other.locations_.isEmpty()) { if (locations_.isEmpty()) { @@ -1972,9 +2184,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); - locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationsFieldBuilder() : null; + locationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationsFieldBuilder() + : null; } else { locationsBuilder_.addAllMessages(other.locations_); } @@ -2016,42 +2229,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.Location m = - input.readMessage( - com.google.cloud.talent.v4beta1.Location.parser(), - extensionRegistry); - if (locationsBuilder_ == null) { - ensureLocationsIsMutable(); - locations_.add(m); - } else { - locationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 24: { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + com.google.cloud.talent.v4beta1.Location m = + input.readMessage( + com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry); + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(m); + } else { + locationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 24: + { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2061,21 +2277,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List locations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - locations_ = new java.util.ArrayList(locations_); + locations_ = + new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> locationsBuilder_; + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> + locationsBuilder_; /** + * + * *
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2092,6 +2316,8 @@ public java.util.List getLocationsList
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2108,6 +2334,8 @@ public int getLocationsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2124,6 +2352,8 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2132,8 +2362,7 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public Builder setLocations(
-          int index, com.google.cloud.talent.v4beta1.Location value) {
+      public Builder setLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2147,6 +2376,8 @@ public Builder setLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2167,6 +2398,8 @@ public Builder setLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2189,6 +2422,8 @@ public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2197,8 +2432,7 @@ public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public Builder addLocations(
-          int index, com.google.cloud.talent.v4beta1.Location value) {
+      public Builder addLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2212,6 +2446,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2232,6 +2468,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2252,6 +2490,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2264,8 +2504,7 @@ public Builder addAllLocations(
           java.lang.Iterable values) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, locations_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
           onChanged();
         } else {
           locationsBuilder_.addAllMessages(values);
@@ -2273,6 +2512,8 @@ public Builder addAllLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2292,6 +2533,8 @@ public Builder clearLocations() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2311,6 +2554,8 @@ public Builder removeLocations(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2319,11 +2564,12 @@ public Builder removeLocations(int index) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(
-          int index) {
+      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(int index) {
         return getLocationsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2332,14 +2578,16 @@ public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
-          int index) {
+      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
         if (locationsBuilder_ == null) {
-          return locations_.get(index);  } else {
+          return locations_.get(index);
+        } else {
           return locationsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2348,8 +2596,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public java.util.List 
-           getLocationsOrBuilderList() {
+      public java.util.List
+          getLocationsOrBuilderList() {
         if (locationsBuilder_ != null) {
           return locationsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2357,6 +2605,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2366,10 +2616,12 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
       public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
-        return getLocationsFieldBuilder().addBuilder(
-            com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+        return getLocationsFieldBuilder()
+            .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2378,12 +2630,13 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(
-          int index) {
-        return getLocationsFieldBuilder().addBuilder(
-            index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int index) {
+        return getLocationsFieldBuilder()
+            .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2392,27 +2645,30 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public java.util.List 
-           getLocationsBuilderList() {
+      public java.util.List
+          getLocationsBuilderList() {
         return getLocationsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
+              com.google.cloud.talent.v4beta1.Location,
+              com.google.cloud.talent.v4beta1.Location.Builder,
+              com.google.cloud.talent.v4beta1.LocationOrBuilder>
           getLocationsFieldBuilder() {
         if (locationsBuilder_ == null) {
-          locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
-                  locations_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          locationsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.talent.v4beta1.Location,
+                  com.google.cloud.talent.v4beta1.Location.Builder,
+                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           locations_ = null;
         }
         return locationsBuilder_;
       }
 
-      private java.util.List jobCategories_ =
-        java.util.Collections.emptyList();
+      private java.util.List jobCategories_ = java.util.Collections.emptyList();
+
       private void ensureJobCategoriesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2420,34 +2676,44 @@ private void ensureJobCategoriesIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2455,11 +2721,14 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. @@ -2475,11 +2744,14 @@ public Builder setJobCategories( return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2493,11 +2765,14 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2511,11 +2786,14 @@ public Builder addAllJobCategories( return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2525,23 +2803,28 @@ public Builder clearJobCategories() { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2549,28 +2832,33 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue( - int index, int value) { + public Builder setJobCategoriesValue(int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -2581,16 +2869,18 @@ public Builder addJobCategoriesValue(int value) { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue( - java.lang.Iterable values) { + public Builder addAllJobCategoriesValue(java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -2598,6 +2888,7 @@ public Builder addAllJobCategoriesValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2610,41 +2901,42 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.DerivedInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.DerivedInfo) private static final com.google.cloud.talent.v4beta1.Job.DerivedInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.DerivedInfo(); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DerivedInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DerivedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2659,25 +2951,30 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ProcessingOptionsOrBuilder extends + public interface ProcessingOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ProcessingOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ boolean getDisableStreetAddressResolution(); /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2691,10 +2988,13 @@ public interface ProcessingOptionsOrBuilder extends
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ int getHtmlSanitizationValue(); /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2708,64 +3008,72 @@ public interface ProcessingOptionsOrBuilder extends
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization(); } /** + * + * *
    * Options for job processing.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions} */ - public static final class ProcessingOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions) ProcessingOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessingOptions.newBuilder() to construct. private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProcessingOptions() { htmlSanitization_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProcessingOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); } public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1; private boolean disableStreetAddressResolution_; /** + * + * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -2776,6 +3084,8 @@ public boolean getDisableStreetAddressResolution() { public static final int HTML_SANITIZATION_FIELD_NUMBER = 2; private int htmlSanitization_; /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2789,12 +3099,16 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override public int getHtmlSanitizationValue() { + @java.lang.Override + public int getHtmlSanitizationValue() { return htmlSanitization_; } /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2808,15 +3122,21 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.HtmlSanitization result = com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); - return result == null ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.HtmlSanitization result = + com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); + return result == null + ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2828,12 +3148,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disableStreetAddressResolution_ != false) { output.writeBool(1, disableStreetAddressResolution_); } - if (htmlSanitization_ != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { + if (htmlSanitization_ + != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, htmlSanitization_); } getUnknownFields().writeTo(output); @@ -2846,12 +3167,14 @@ public int getSerializedSize() { size = 0; if (disableStreetAddressResolution_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disableStreetAddressResolution_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, disableStreetAddressResolution_); } - if (htmlSanitization_ != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, htmlSanitization_); + if (htmlSanitization_ + != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2861,15 +3184,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; + com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = + (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; - if (getDisableStreetAddressResolution() - != other.getDisableStreetAddressResolution()) return false; + if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) + return false; if (htmlSanitization_ != other.htmlSanitization_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2883,8 +3207,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableStreetAddressResolution()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution()); hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER; hash = (53 * hash) + htmlSanitization_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -2893,87 +3218,94 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2983,39 +3315,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options for job processing.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions) com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3027,9 +3361,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override @@ -3048,7 +3382,8 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { - com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = + new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this); result.disableStreetAddressResolution_ = disableStreetAddressResolution_; result.htmlSanitization_ = htmlSanitization_; onBuilt(); @@ -3059,38 +3394,41 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions) other); } else { super.mergeFrom(other); return this; @@ -3098,7 +3436,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ProcessingOptions other) { - if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()) + return this; if (other.getDisableStreetAddressResolution() != false) { setDisableStreetAddressResolution(other.getDisableStreetAddressResolution()); } @@ -3131,22 +3470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disableStreetAddressResolution_ = input.readBool(); - - break; - } // case 8 - case 16: { - htmlSanitization_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disableStreetAddressResolution_ = input.readBool(); + + break; + } // case 8 + case 16: + { + htmlSanitization_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3157,14 +3499,17 @@ public Builder mergeFrom( return this; } - private boolean disableStreetAddressResolution_ ; + private boolean disableStreetAddressResolution_; /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3172,32 +3517,38 @@ public boolean getDisableStreetAddressResolution() { return disableStreetAddressResolution_; } /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @param value The disableStreetAddressResolution to set. * @return This builder for chaining. */ public Builder setDisableStreetAddressResolution(boolean value) { - + disableStreetAddressResolution_ = value; onChanged(); return this; } /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @return This builder for chaining. */ public Builder clearDisableStreetAddressResolution() { - + disableStreetAddressResolution_ = false; onChanged(); return this; @@ -3205,6 +3556,8 @@ public Builder clearDisableStreetAddressResolution() { private int htmlSanitization_ = 0; /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3218,12 +3571,16 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override public int getHtmlSanitizationValue() { + @java.lang.Override + public int getHtmlSanitizationValue() { return htmlSanitization_; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3237,16 +3594,19 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @param value The enum numeric value on the wire for htmlSanitization to set. * @return This builder for chaining. */ public Builder setHtmlSanitizationValue(int value) { - + htmlSanitization_ = value; onChanged(); return this; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3260,15 +3620,21 @@ public Builder setHtmlSanitizationValue(int value) {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ @java.lang.Override public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.HtmlSanitization result = com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); - return result == null ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.HtmlSanitization result = + com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); + return result == null + ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED + : result; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3282,6 +3648,7 @@ public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @param value The htmlSanitization to set. * @return This builder for chaining. */ @@ -3289,12 +3656,14 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitizat if (value == null) { throw new NullPointerException(); } - + htmlSanitization_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3308,14 +3677,16 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitizat
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return This builder for chaining. */ public Builder clearHtmlSanitization() { - + htmlSanitization_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3328,12 +3699,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions) private static final com.google.cloud.talent.v4beta1.Job.ProcessingOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(); } @@ -3342,27 +3713,28 @@ public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessingOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessingOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3377,12 +3749,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3397,6 +3770,7 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceF
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -3405,14 +3779,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3427,16 +3802,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3447,6 +3821,8 @@ public java.lang.String getName() { public static final int COMPANY_FIELD_NUMBER = 2; private volatile java.lang.Object company_; /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3456,7 +3832,10 @@ public java.lang.String getName() {
    * example, "projects/foo/companies/bar".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ @java.lang.Override @@ -3465,14 +3844,15 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3482,17 +3862,18 @@ public java.lang.String getCompany() {
    * example, "projects/foo/companies/bar".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -3503,6 +3884,8 @@ public java.lang.String getCompany() { public static final int REQUISITION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requisitionId_; /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3513,6 +3896,7 @@ public java.lang.String getCompany() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ @java.lang.Override @@ -3521,14 +3905,15 @@ public java.lang.String getRequisitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; } } /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3539,16 +3924,15 @@ public java.lang.String getRequisitionId() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequisitionIdBytes() { + public com.google.protobuf.ByteString getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -3559,12 +3943,15 @@ public java.lang.String getRequisitionId() { public static final int TITLE_FIELD_NUMBER = 4; private volatile java.lang.Object title_; /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ @java.lang.Override @@ -3573,30 +3960,30 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -3607,6 +3994,8 @@ public java.lang.String getTitle() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3619,6 +4008,7 @@ public java.lang.String getTitle() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ @java.lang.Override @@ -3627,14 +4017,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3647,16 +4038,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3667,6 +4057,8 @@ public java.lang.String getDescription() { public static final int ADDRESSES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList addresses_; /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3684,13 +4076,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList - getAddressesList() { + public com.google.protobuf.ProtocolStringList getAddressesList() { return addresses_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3708,12 +4102,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3731,6 +4128,7 @@ public int getAddressesCount() {
    * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -3738,6 +4136,8 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3755,22 +4155,25 @@ public java.lang.String getAddresses(int index) {
    * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString - getAddressesBytes(int index) { + public com.google.protobuf.ByteString getAddressesBytes(int index) { return addresses_.getByteString(index); } public static final int APPLICATION_INFO_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ @java.lang.Override @@ -3778,18 +4181,25 @@ public boolean hasApplicationInfo() { return applicationInfo_ != null; } /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() { - return applicationInfo_ == null ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } /** + * + * *
    * Job application information.
    * 
@@ -3797,41 +4207,53 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder + getApplicationInfoOrBuilder() { return getApplicationInfo(); } public static final int JOB_BENEFITS_FIELD_NUMBER = 8; private java.util.List jobBenefits_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit> jobBenefits_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit> + jobBenefits_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>() { public com.google.cloud.talent.v4beta1.JobBenefit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobBenefit result = com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.JobBenefit result = + com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED + : result; } }; /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ @java.lang.Override public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>( + jobBenefits_, jobBenefits_converter_); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ @java.lang.Override @@ -3839,11 +4261,14 @@ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -3852,24 +4277,29 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ @java.lang.Override - public java.util.List - getJobBenefitsValueList() { + public java.util.List getJobBenefitsValueList() { return jobBenefits_; } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -3877,17 +4307,21 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } + private int jobBenefitsMemoizedSerializedSize; public static final int COMPENSATION_INFO_FIELD_NUMBER = 9; private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ @java.lang.Override @@ -3895,19 +4329,26 @@ public boolean hasCompensationInfo() { return compensationInfo_ != null; } /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() { - return compensationInfo_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_; + return compensationInfo_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() + : compensationInfo_; } /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -3921,21 +4362,29 @@ public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensation
   }
 
   public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;
+
   private static final class CustomAttributesDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> defaultEntry =
+            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
+                .
+                    newDefaultInstance(
+                        com.google.cloud.talent.v4beta1.JobResourceProto
+                            .internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor,
+                        com.google.protobuf.WireFormat.FieldType.STRING,
+                        "",
+                        com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                        com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
   }
+
+  private com.google.protobuf.MapField<
+          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+      customAttributes_;
+
   private com.google.protobuf.MapField<
-      java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> customAttributes_;
-  private com.google.protobuf.MapField
-  internalGetCustomAttributes() {
+          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+      internalGetCustomAttributes() {
     if (customAttributes_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomAttributesDefaultEntryHolder.defaultEntry);
@@ -3947,6 +4396,8 @@ public int getCustomAttributesCount() {
     return internalGetCustomAttributes().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -3960,24 +4411,26 @@ public int getCustomAttributesCount() {
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - @java.lang.Override - public boolean containsCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCustomAttributes().getMap().containsKey(key); } - /** - * Use {@link #getCustomAttributesMap()} instead. - */ + /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCustomAttributes() { + public java.util.Map + getCustomAttributes() { return getCustomAttributesMap(); } /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -3991,14 +4444,17 @@ public java.util.Map
    *
-   * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+   * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+   * 
    */
   @java.lang.Override
-
-  public java.util.Map getCustomAttributesMap() {
+  public java.util.Map
+      getCustomAttributesMap() {
     return internalGetCustomAttributes().getMap();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4012,19 +4468,22 @@ public java.util.Map
    *
-   * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+   * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+   * 
    */
   @java.lang.Override
-
   public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
-      java.lang.String key,
-      com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4038,13 +4497,15 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -4056,34 +4517,45 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThro public static final int DEGREE_TYPES_FIELD_NUMBER = 11; private java.util.List degreeTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType> degreeTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType> + degreeTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>() { public com.google.cloud.talent.v4beta1.DegreeType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DegreeType result = com.google.cloud.talent.v4beta1.DegreeType.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.DegreeType result = + com.google.cloud.talent.v4beta1.DegreeType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ @java.lang.Override public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>( + degreeTypes_, degreeTypes_converter_); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ @java.lang.Override @@ -4091,11 +4563,14 @@ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -4104,24 +4579,29 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ @java.lang.Override - public java.util.List - getDegreeTypesValueList() { + public java.util.List getDegreeTypesValueList() { return degreeTypes_; } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -4129,11 +4609,14 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } + private int degreeTypesMemoizedSerializedSize; public static final int DEPARTMENT_FIELD_NUMBER = 12; private volatile java.lang.Object department_; /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -4141,6 +4624,7 @@ public int getDegreeTypesValue(int index) {
    * 
* * string department = 12; + * * @return The department. */ @java.lang.Override @@ -4149,14 +4633,15 @@ public java.lang.String getDepartment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; } } /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -4164,16 +4649,15 @@ public java.lang.String getDepartment() {
    * 
* * string department = 12; + * * @return The bytes for department. */ @java.lang.Override - public com.google.protobuf.ByteString - getDepartmentBytes() { + public com.google.protobuf.ByteString getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); department_ = b; return b; } else { @@ -4184,16 +4668,22 @@ public java.lang.String getDepartment() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> + employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() { public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.EmploymentType result = com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.EmploymentType result = + com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4201,14 +4691,18 @@ public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4216,6 +4710,7 @@ public java.util.List getEmploym
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ @java.lang.Override @@ -4223,6 +4718,8 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4230,6 +4727,7 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4238,6 +4736,8 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4245,14 +4745,16 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return employmentTypes_; } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4260,6 +4762,7 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4267,11 +4770,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } + private int employmentTypesMemoizedSerializedSize; public static final int INCENTIVES_FIELD_NUMBER = 14; private volatile java.lang.Object incentives_; /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4279,6 +4785,7 @@ public int getEmploymentTypesValue(int index) {
    * 
* * string incentives = 14; + * * @return The incentives. */ @java.lang.Override @@ -4287,14 +4794,15 @@ public java.lang.String getIncentives() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; } } /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4302,16 +4810,15 @@ public java.lang.String getIncentives() {
    * 
* * string incentives = 14; + * * @return The bytes for incentives. */ @java.lang.Override - public com.google.protobuf.ByteString - getIncentivesBytes() { + public com.google.protobuf.ByteString getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incentives_ = b; return b; } else { @@ -4322,6 +4829,8 @@ public java.lang.String getIncentives() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object languageCode_; /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4335,6 +4844,7 @@ public java.lang.String getIncentives() {
    * 
* * string language_code = 15; + * * @return The languageCode. */ @java.lang.Override @@ -4343,14 +4853,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4364,16 +4875,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4384,33 +4894,44 @@ public java.lang.String getLanguageCode() { public static final int JOB_LEVEL_FIELD_NUMBER = 16; private int jobLevel_; /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override public int getJobLevelValue() { + @java.lang.Override + public int getJobLevelValue() { return jobLevel_; } /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The jobLevel. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobLevel result = com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4beta1.JobLevel result = + com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result; } public static final int PROMOTION_VALUE_FIELD_NUMBER = 17; private int promotionValue_; /** + * + * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -4421,6 +4942,7 @@ public java.lang.String getLanguageCode() {
    * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ @java.lang.Override @@ -4431,6 +4953,8 @@ public int getPromotionValue() { public static final int QUALIFICATIONS_FIELD_NUMBER = 18; private volatile java.lang.Object qualifications_; /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4441,6 +4965,7 @@ public int getPromotionValue() {
    * 
* * string qualifications = 18; + * * @return The qualifications. */ @java.lang.Override @@ -4449,14 +4974,15 @@ public java.lang.String getQualifications() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; } } /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4467,16 +4993,15 @@ public java.lang.String getQualifications() {
    * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ @java.lang.Override - public com.google.protobuf.ByteString - getQualificationsBytes() { + public com.google.protobuf.ByteString getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); qualifications_ = b; return b; } else { @@ -4487,6 +5012,8 @@ public java.lang.String getQualifications() { public static final int RESPONSIBILITIES_FIELD_NUMBER = 19; private volatile java.lang.Object responsibilities_; /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -4497,6 +5024,7 @@ public java.lang.String getQualifications() {
    * 
* * string responsibilities = 19; + * * @return The responsibilities. */ @java.lang.Override @@ -4505,14 +5033,15 @@ public java.lang.String getResponsibilities() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; } } /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -4523,16 +5052,15 @@ public java.lang.String getResponsibilities() {
    * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ @java.lang.Override - public com.google.protobuf.ByteString - getResponsibilitiesBytes() { + public com.google.protobuf.ByteString getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -4543,6 +5071,8 @@ public java.lang.String getResponsibilities() { public static final int POSTING_REGION_FIELD_NUMBER = 20; private int postingRegion_; /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -4554,12 +5084,16 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override public int getPostingRegionValue() { + @java.lang.Override + public int getPostingRegionValue() { return postingRegion_; } /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -4571,17 +5105,22 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The postingRegion. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.PostingRegion result = com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4beta1.PostingRegion result = + com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result; } public static final int VISIBILITY_FIELD_NUMBER = 21; private int visibility_; /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -4589,14 +5128,19 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { + @java.lang.Override + @java.lang.Deprecated + public int getVisibilityValue() { return visibility_; } /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -4604,25 +5148,32 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Visibility result = com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4beta1.Visibility result = + com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result; } public static final int JOB_START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp jobStartTime_; /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ @java.lang.Override @@ -4630,19 +5181,26 @@ public boolean hasJobStartTime() { return jobStartTime_ != null; } /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobStartTime() { - return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; + return jobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobStartTime_; } /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -4658,12 +5216,15 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
   public static final int JOB_END_TIME_FIELD_NUMBER = 23;
   private com.google.protobuf.Timestamp jobEndTime_;
   /**
+   *
+   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ @java.lang.Override @@ -4671,12 +5232,15 @@ public boolean hasJobEndTime() { return jobEndTime_ != null; } /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ @java.lang.Override @@ -4684,6 +5248,8 @@ public com.google.protobuf.Timestamp getJobEndTime() { return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -4699,6 +5265,8 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
   public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
   private com.google.protobuf.Timestamp postingPublishTime_;
   /**
+   *
+   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4706,6 +5274,7 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ @java.lang.Override @@ -4713,6 +5282,8 @@ public boolean hasPostingPublishTime() { return postingPublishTime_ != null; } /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4720,13 +5291,18 @@ public boolean hasPostingPublishTime() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingPublishTime() { - return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; + return postingPublishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingPublishTime_; } /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4743,6 +5319,8 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
   public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
   private com.google.protobuf.Timestamp postingExpireTime_;
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4782,6 +5360,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ @java.lang.Override @@ -4789,6 +5368,8 @@ public boolean hasPostingExpireTime() { return postingExpireTime_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4828,13 +5409,18 @@ public boolean hasPostingExpireTime() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingExpireTime() { - return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; + return postingExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingExpireTime_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4883,11 +5469,16 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
   public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
   private com.google.protobuf.Timestamp postingCreateTime_;
   /**
+   *
+   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ @java.lang.Override @@ -4895,23 +5486,34 @@ public boolean hasPostingCreateTime() { return postingCreateTime_ != null; } /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingCreateTime() { - return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { @@ -4921,11 +5523,16 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp postingUpdateTime_; /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ @java.lang.Override @@ -4933,23 +5540,34 @@ public boolean hasPostingUpdateTime() { return postingUpdateTime_ != null; } /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingUpdateTime() { - return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { @@ -4959,11 +5577,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28; private volatile java.lang.Object companyDisplayName_; /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ @java.lang.Override @@ -4972,29 +5593,29 @@ public java.lang.String getCompanyDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; } } /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -5005,11 +5626,16 @@ public java.lang.String getCompanyDisplayName() { public static final int DERIVED_INFO_FIELD_NUMBER = 29; private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -5017,23 +5643,34 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -5043,11 +5680,14 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30; private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ @java.lang.Override @@ -5055,18 +5695,25 @@ public boolean hasProcessingOptions() { return processingOptions_ != null; } /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() { - return processingOptions_ == null ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } /** + * + * *
    * Options for job processing.
    * 
@@ -5074,11 +5721,13 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOption * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder + getProcessingOptionsOrBuilder() { return getProcessingOptions(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5090,8 +5739,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -5124,12 +5772,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (compensationInfo_ != null) { output.writeMessage(9, getCompensationInfo()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetCustomAttributes(), - CustomAttributesDefaultEntryHolder.defaultEntry, - 10); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10); if (getDegreeTypesList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize); @@ -5165,10 +5809,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_); } - if (postingRegion_ != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + if (postingRegion_ + != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { output.writeEnum(20, postingRegion_); } - if (visibility_ != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { + if (visibility_ + != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { output.writeEnum(21, visibility_); } if (jobStartTime_ != null) { @@ -5231,46 +5877,46 @@ public int getSerializedSize() { size += 1 * getAddressesList().size(); } if (applicationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getApplicationInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo()); } { int dataSize = 0; for (int i = 0; i < jobBenefits_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobBenefits_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i)); } size += dataSize; - if (!getJobBenefitsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobBenefitsMemoizedSerializedSize = dataSize; + if (!getJobBenefitsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobBenefitsMemoizedSerializedSize = dataSize; } if (compensationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getCompensationInfo()); - } - for (java.util.Map.Entry entry - : internalGetCustomAttributes().getMap().entrySet()) { - com.google.protobuf.MapEntry - customAttributes__ = CustomAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, customAttributes__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo()); + } + for (java.util.Map.Entry + entry : internalGetCustomAttributes().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> + customAttributes__ = + CustomAttributesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__); } { int dataSize = 0; for (int i = 0; i < degreeTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(degreeTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i)); } size += dataSize; - if (!getDegreeTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }degreeTypesMemoizedSerializedSize = dataSize; + if (!getDegreeTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + degreeTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_); @@ -5278,14 +5924,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + employmentTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incentives_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_); @@ -5294,12 +5941,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_); } if (jobLevel_ != com.google.cloud.talent.v4beta1.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, jobLevel_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_); } if (promotionValue_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(17, promotionValue_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qualifications_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_); @@ -5307,48 +5952,40 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_); } - if (postingRegion_ != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(20, postingRegion_); + if (postingRegion_ + != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_); } - if (visibility_ != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(21, visibility_); + if (visibility_ + != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_); } if (jobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getJobStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime()); } if (jobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getJobEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime()); } if (postingPublishTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getPostingPublishTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime()); } if (postingExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getPostingExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime()); } if (postingCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getPostingCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime()); } if (postingUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getPostingUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(companyDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo()); } if (processingOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getProcessingOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5358,96 +5995,72 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Job other = (com.google.cloud.talent.v4beta1.Job) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCompany() - .equals(other.getCompany())) return false; - if (!getRequisitionId() - .equals(other.getRequisitionId())) return false; - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getAddressesList() - .equals(other.getAddressesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getCompany().equals(other.getCompany())) return false; + if (!getRequisitionId().equals(other.getRequisitionId())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAddressesList().equals(other.getAddressesList())) return false; if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - if (!getApplicationInfo() - .equals(other.getApplicationInfo())) return false; + if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; } if (!jobBenefits_.equals(other.jobBenefits_)) return false; if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - if (!getCompensationInfo() - .equals(other.getCompensationInfo())) return false; + if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; } - if (!internalGetCustomAttributes().equals( - other.internalGetCustomAttributes())) return false; + if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; if (!degreeTypes_.equals(other.degreeTypes_)) return false; - if (!getDepartment() - .equals(other.getDepartment())) return false; + if (!getDepartment().equals(other.getDepartment())) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getIncentives() - .equals(other.getIncentives())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getIncentives().equals(other.getIncentives())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (jobLevel_ != other.jobLevel_) return false; - if (getPromotionValue() - != other.getPromotionValue()) return false; - if (!getQualifications() - .equals(other.getQualifications())) return false; - if (!getResponsibilities() - .equals(other.getResponsibilities())) return false; + if (getPromotionValue() != other.getPromotionValue()) return false; + if (!getQualifications().equals(other.getQualifications())) return false; + if (!getResponsibilities().equals(other.getResponsibilities())) return false; if (postingRegion_ != other.postingRegion_) return false; if (visibility_ != other.visibility_) return false; if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - if (!getJobStartTime() - .equals(other.getJobStartTime())) return false; + if (!getJobStartTime().equals(other.getJobStartTime())) return false; } if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - if (!getJobEndTime() - .equals(other.getJobEndTime())) return false; + if (!getJobEndTime().equals(other.getJobEndTime())) return false; } if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - if (!getPostingPublishTime() - .equals(other.getPostingPublishTime())) return false; + if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; } if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - if (!getPostingExpireTime() - .equals(other.getPostingExpireTime())) return false; + if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; } if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - if (!getPostingCreateTime() - .equals(other.getPostingCreateTime())) return false; + if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; } if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - if (!getPostingUpdateTime() - .equals(other.getPostingUpdateTime())) return false; + if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; } - if (!getCompanyDisplayName() - .equals(other.getCompanyDisplayName())) return false; + if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo() - .equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - if (!getProcessingOptions() - .equals(other.getProcessingOptions())) return false; + if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5555,97 +6168,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Job parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4beta1.Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Job resource represents a job posting (also referred to as a "job listing"
    * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
@@ -5654,55 +6273,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Job}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job)
       com.google.cloud.talent.v4beta1.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.JobResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 10:
           return internalGetCustomAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 10:
           return internalGetMutableCustomAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.JobResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Job.class, com.google.cloud.talent.v4beta1.Job.Builder.class);
+              com.google.cloud.talent.v4beta1.Job.class,
+              com.google.cloud.talent.v4beta1.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Job.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5809,9 +6425,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.JobResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
     }
 
     @java.lang.Override
@@ -5927,38 +6543,39 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Job) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Job)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Job) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6013,8 +6630,7 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job other) {
       if (other.hasCompensationInfo()) {
         mergeCompensationInfo(other.getCompensationInfo());
       }
-      internalGetMutableCustomAttributes().mergeFrom(
-          other.internalGetCustomAttributes());
+      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
       if (!other.degreeTypes_.isEmpty()) {
         if (degreeTypes_.isEmpty()) {
           degreeTypes_ = other.degreeTypes_;
@@ -6121,222 +6737,246 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              company_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                company_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              requisitionId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                requisitionId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              title_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                title_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAddressesIsMutable();
-              addresses_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getApplicationInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAddressesIsMutable();
+                addresses_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getApplicationInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 58
-            case 64: {
-              int tmpRaw = input.readEnum();
-              ensureJobBenefitsIsMutable();
-              jobBenefits_.add(tmpRaw);
-              break;
-            } // case 64
-            case 66: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 58
+            case 64:
+              {
                 int tmpRaw = input.readEnum();
                 ensureJobBenefitsIsMutable();
                 jobBenefits_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getCompensationInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 64
+            case 66:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureJobBenefitsIsMutable();
+                  jobBenefits_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getCompensationInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 74
-            case 82: {
-              com.google.protobuf.MapEntry
-              customAttributes__ = input.readMessage(
-                  CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableCustomAttributes().getMutableMap().put(
-                  customAttributes__.getKey(), customAttributes__.getValue());
-              break;
-            } // case 82
-            case 88: {
-              int tmpRaw = input.readEnum();
-              ensureDegreeTypesIsMutable();
-              degreeTypes_.add(tmpRaw);
-              break;
-            } // case 88
-            case 90: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 74
+            case 82:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+                    customAttributes__ =
+                        input.readMessage(
+                            CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableCustomAttributes()
+                    .getMutableMap()
+                    .put(customAttributes__.getKey(), customAttributes__.getValue());
+                break;
+              } // case 82
+            case 88:
+              {
                 int tmpRaw = input.readEnum();
                 ensureDegreeTypesIsMutable();
                 degreeTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 90
-            case 98: {
-              department_ = input.readStringRequireUtf8();
+                break;
+              } // case 88
+            case 90:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureDegreeTypesIsMutable();
+                  degreeTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 90
+            case 98:
+              {
+                department_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 98
-            case 104: {
-              int tmpRaw = input.readEnum();
-              ensureEmploymentTypesIsMutable();
-              employmentTypes_.add(tmpRaw);
-              break;
-            } // case 104
-            case 106: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 98
+            case 104:
+              {
                 int tmpRaw = input.readEnum();
                 ensureEmploymentTypesIsMutable();
                 employmentTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 106
-            case 114: {
-              incentives_ = input.readStringRequireUtf8();
+                break;
+              } // case 104
+            case 106:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureEmploymentTypesIsMutable();
+                  employmentTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 106
+            case 114:
+              {
+                incentives_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 114
-            case 122: {
-              languageCode_ = input.readStringRequireUtf8();
+                break;
+              } // case 114
+            case 122:
+              {
+                languageCode_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 122
-            case 128: {
-              jobLevel_ = input.readEnum();
+                break;
+              } // case 122
+            case 128:
+              {
+                jobLevel_ = input.readEnum();
 
-              break;
-            } // case 128
-            case 136: {
-              promotionValue_ = input.readInt32();
+                break;
+              } // case 128
+            case 136:
+              {
+                promotionValue_ = input.readInt32();
 
-              break;
-            } // case 136
-            case 146: {
-              qualifications_ = input.readStringRequireUtf8();
+                break;
+              } // case 136
+            case 146:
+              {
+                qualifications_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 146
-            case 154: {
-              responsibilities_ = input.readStringRequireUtf8();
+                break;
+              } // case 146
+            case 154:
+              {
+                responsibilities_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 154
-            case 160: {
-              postingRegion_ = input.readEnum();
+                break;
+              } // case 154
+            case 160:
+              {
+                postingRegion_ = input.readEnum();
 
-              break;
-            } // case 160
-            case 168: {
-              visibility_ = input.readEnum();
+                break;
+              } // case 160
+            case 168:
+              {
+                visibility_ = input.readEnum();
 
-              break;
-            } // case 168
-            case 178: {
-              input.readMessage(
-                  getJobStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 168
+            case 178:
+              {
+                input.readMessage(getJobStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getJobEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(getJobEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 186
-            case 194: {
-              input.readMessage(
-                  getPostingPublishTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 186
+            case 194:
+              {
+                input.readMessage(
+                    getPostingPublishTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 194
-            case 202: {
-              input.readMessage(
-                  getPostingExpireTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 194
+            case 202:
+              {
+                input.readMessage(
+                    getPostingExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 202
-            case 210: {
-              input.readMessage(
-                  getPostingCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 202
+            case 210:
+              {
+                input.readMessage(
+                    getPostingCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 210
-            case 218: {
-              input.readMessage(
-                  getPostingUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 210
+            case 218:
+              {
+                input.readMessage(
+                    getPostingUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 218
-            case 226: {
-              companyDisplayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 218
+            case 226:
+              {
+                companyDisplayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 226
-            case 234: {
-              input.readMessage(
-                  getDerivedInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 226
+            case 234:
+              {
+                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 234
-            case 242: {
-              input.readMessage(
-                  getProcessingOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 234
+            case 242:
+              {
+                input.readMessage(
+                    getProcessingOptionsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 242
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 242
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6346,10 +6986,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6364,13 +7007,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6379,6 +7022,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6393,15 +7038,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6409,6 +7053,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6423,20 +7069,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6451,15 +7099,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6474,16 +7125,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6491,6 +7142,8 @@ public Builder setNameBytes( private java.lang.Object company_ = ""; /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6500,14 +7153,16 @@ public Builder setNameBytes(
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -6516,6 +7171,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6525,16 +7182,17 @@ public java.lang.String getCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -6542,6 +7200,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6551,21 +7211,25 @@ public java.lang.String getCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany( - java.lang.String value) { + public Builder setCompany(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6575,16 +7239,21 @@ public Builder setCompany(
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6594,17 +7263,19 @@ public Builder clearCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -6612,6 +7283,8 @@ public Builder setCompanyBytes( private java.lang.Object requisitionId_ = ""; /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6622,13 +7295,13 @@ public Builder setCompanyBytes(
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ public java.lang.String getRequisitionId() { java.lang.Object ref = requisitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; @@ -6637,6 +7310,8 @@ public java.lang.String getRequisitionId() { } } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6647,15 +7322,14 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ - public com.google.protobuf.ByteString - getRequisitionIdBytes() { + public com.google.protobuf.ByteString getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -6663,6 +7337,8 @@ public java.lang.String getRequisitionId() { } } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6673,20 +7349,22 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionId( - java.lang.String value) { + public Builder setRequisitionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requisitionId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6697,15 +7375,18 @@ public Builder setRequisitionId(
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRequisitionId() { - + requisitionId_ = getDefaultInstance().getRequisitionId(); onChanged(); return this; } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6716,16 +7397,16 @@ public Builder clearRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requisitionId_ = value; onChanged(); return this; @@ -6733,19 +7414,21 @@ public Builder setRequisitionIdBytes( private java.lang.Object title_ = ""; /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -6754,21 +7437,22 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -6776,57 +7460,64 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -6834,6 +7525,8 @@ public Builder setTitleBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6846,13 +7539,13 @@ public Builder setTitleBytes(
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6861,6 +7554,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6873,15 +7568,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -6889,6 +7583,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6901,20 +7597,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6927,15 +7625,18 @@ public Builder setDescription(
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6948,29 +7649,33 @@ public Builder clearDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -6988,13 +7693,15 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList - getAddressesList() { + public com.google.protobuf.ProtocolStringList getAddressesList() { return addresses_.getUnmodifiableView(); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7012,12 +7719,15 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7035,6 +7745,7 @@ public int getAddressesCount() {
      * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -7042,6 +7753,8 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7059,14 +7772,16 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString - getAddressesBytes(int index) { + public com.google.protobuf.ByteString getAddressesBytes(int index) { return addresses_.getByteString(index); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7084,21 +7799,23 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; + * * @param index The index to set the value at. * @param value The addresses to set. * @return This builder for chaining. */ - public Builder setAddresses( - int index, java.lang.String value) { + public Builder setAddresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.set(index, value); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7116,20 +7833,22 @@ public Builder setAddresses(
      * 
* * repeated string addresses = 6; + * * @param value The addresses to add. * @return This builder for chaining. */ - public Builder addAddresses( - java.lang.String value) { + public Builder addAddresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.add(value); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7147,18 +7866,19 @@ public Builder addAddresses(
      * 
* * repeated string addresses = 6; + * * @param values The addresses to add. * @return This builder for chaining. */ - public Builder addAllAddresses( - java.lang.Iterable values) { + public Builder addAllAddresses(java.lang.Iterable values) { ensureAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7176,6 +7896,7 @@ public Builder addAllAddresses(
      * 
* * repeated string addresses = 6; + * * @return This builder for chaining. */ public Builder clearAddresses() { @@ -7185,6 +7906,8 @@ public Builder clearAddresses() { return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7202,15 +7925,15 @@ public Builder clearAddresses() {
      * 
* * repeated string addresses = 6; + * * @param value The bytes of the addresses to add. * @return This builder for chaining. */ - public Builder addAddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addAddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAddressesIsMutable(); addresses_.add(value); onChanged(); @@ -7219,34 +7942,47 @@ public Builder addAddressesBytes( private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> applicationInfoBuilder_; + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> + applicationInfoBuilder_; /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ public boolean hasApplicationInfo() { return applicationInfoBuilder_ != null || applicationInfo_ != null; } /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() { if (applicationInfoBuilder_ == null) { - return applicationInfo_ == null ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } else { return applicationInfoBuilder_.getMessage(); } } /** + * + * *
      * Job application information.
      * 
@@ -7267,6 +8003,8 @@ public Builder setApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicatio return this; } /** + * + * *
      * Job application information.
      * 
@@ -7285,6 +8023,8 @@ public Builder setApplicationInfo( return this; } /** + * + * *
      * Job application information.
      * 
@@ -7295,7 +8035,9 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicat if (applicationInfoBuilder_ == null) { if (applicationInfo_ != null) { applicationInfo_ = - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_) + .mergeFrom(value) + .buildPartial(); } else { applicationInfo_ = value; } @@ -7307,6 +8049,8 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicat return this; } /** + * + * *
      * Job application information.
      * 
@@ -7325,6 +8069,8 @@ public Builder clearApplicationInfo() { return this; } /** + * + * *
      * Job application information.
      * 
@@ -7332,26 +8078,32 @@ public Builder clearApplicationInfo() { * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder getApplicationInfoBuilder() { - + onChanged(); return getApplicationInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ - public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder + getApplicationInfoOrBuilder() { if (applicationInfoBuilder_ != null) { return applicationInfoBuilder_.getMessageOrBuilder(); } else { - return applicationInfo_ == null ? - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } } /** + * + * *
      * Job application information.
      * 
@@ -7359,21 +8111,24 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicati * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> getApplicationInfoFieldBuilder() { if (applicationInfoBuilder_ == null) { - applicationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>( - getApplicationInfo(), - getParentForChildren(), - isClean()); + applicationInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>( + getApplicationInfo(), getParentForChildren(), isClean()); applicationInfo_ = null; } return applicationInfoBuilder_; } - private java.util.List jobBenefits_ = - java.util.Collections.emptyList(); + private java.util.List jobBenefits_ = java.util.Collections.emptyList(); + private void ensureJobBenefitsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); @@ -7381,34 +8136,44 @@ private void ensureJobBenefitsIsMutable() { } } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>( + jobBenefits_, jobBenefits_converter_); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -7416,17 +8181,19 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index to set the value at. * @param value The jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefits( - int index, com.google.cloud.talent.v4beta1.JobBenefit value) { + public Builder setJobBenefits(int index, com.google.cloud.talent.v4beta1.JobBenefit value) { if (value == null) { throw new NullPointerException(); } @@ -7436,11 +8203,14 @@ public Builder setJobBenefits( return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param value The jobBenefits to add. * @return This builder for chaining. */ @@ -7454,11 +8224,14 @@ public Builder addJobBenefits(com.google.cloud.talent.v4beta1.JobBenefit value) return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param values The jobBenefits to add. * @return This builder for chaining. */ @@ -7472,11 +8245,14 @@ public Builder addAllJobBenefits( return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return This builder for chaining. */ public Builder clearJobBenefits() { @@ -7486,23 +8262,28 @@ public Builder clearJobBenefits() { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - public java.util.List - getJobBenefitsValueList() { + public java.util.List getJobBenefitsValueList() { return java.util.Collections.unmodifiableList(jobBenefits_); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -7510,28 +8291,33 @@ public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefitsValue( - int index, int value) { + public Builder setJobBenefitsValue(int index, int value) { ensureJobBenefitsIsMutable(); jobBenefits_.set(index, value); onChanged(); return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param value The enum numeric value on the wire for jobBenefits to add. * @return This builder for chaining. */ @@ -7542,16 +8328,18 @@ public Builder addJobBenefitsValue(int value) { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param values The enum numeric values on the wire for jobBenefits to add. * @return This builder for chaining. */ - public Builder addAllJobBenefitsValue( - java.lang.Iterable values) { + public Builder addAllJobBenefitsValue(java.lang.Iterable values) { ensureJobBenefitsIsMutable(); for (int value : values) { jobBenefits_.add(value); @@ -7562,36 +8350,49 @@ public Builder addAllJobBenefitsValue( private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> compensationInfoBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo, + com.google.cloud.talent.v4beta1.CompensationInfo.Builder, + com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> + compensationInfoBuilder_; /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ public boolean hasCompensationInfo() { return compensationInfoBuilder_ != null || compensationInfo_ != null; } /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() { if (compensationInfoBuilder_ == null) { - return compensationInfo_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_; + return compensationInfo_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() + : compensationInfo_; } else { return compensationInfoBuilder_.getMessage(); } } /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7613,6 +8414,8 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4beta1.CompensationI
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7632,6 +8435,8 @@ public Builder setCompensationInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7643,7 +8448,9 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
       if (compensationInfoBuilder_ == null) {
         if (compensationInfo_ != null) {
           compensationInfo_ =
-            com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           compensationInfo_ = value;
         }
@@ -7655,6 +8462,8 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7674,6 +8483,8 @@ public Builder clearCompensationInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7682,11 +8493,13 @@ public Builder clearCompensationInfo() {
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
     public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationInfoBuilder() {
-      
+
       onChanged();
       return getCompensationInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7694,15 +8507,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationI
      *
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
-    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder() {
+    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder
+        getCompensationInfoOrBuilder() {
       if (compensationInfoBuilder_ != null) {
         return compensationInfoBuilder_.getMessageOrBuilder();
       } else {
-        return compensationInfo_ == null ?
-            com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_;
+        return compensationInfo_ == null
+            ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()
+            : compensationInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7711,35 +8528,45 @@ public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensation
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> 
+            com.google.cloud.talent.v4beta1.CompensationInfo,
+            com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
+            com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>
         getCompensationInfoFieldBuilder() {
       if (compensationInfoBuilder_ == null) {
-        compensationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
-                getCompensationInfo(),
-                getParentForChildren(),
-                isClean());
+        compensationInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.CompensationInfo,
+                com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
+                com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
+                getCompensationInfo(), getParentForChildren(), isClean());
         compensationInfo_ = null;
       }
       return compensationInfoBuilder_;
     }
 
     private com.google.protobuf.MapField<
-        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> customAttributes_;
-    private com.google.protobuf.MapField
-    internalGetCustomAttributes() {
+            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+        customAttributes_;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+        internalGetCustomAttributes() {
       if (customAttributes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       return customAttributes_;
     }
-    private com.google.protobuf.MapField
-    internalGetMutableCustomAttributes() {
-      onChanged();;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+        internalGetMutableCustomAttributes() {
+      onChanged();
+      ;
       if (customAttributes_ == null) {
-        customAttributes_ = com.google.protobuf.MapField.newMapField(
-            CustomAttributesDefaultEntryHolder.defaultEntry);
+        customAttributes_ =
+            com.google.protobuf.MapField.newMapField(
+                CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       if (!customAttributes_.isMutable()) {
         customAttributes_ = customAttributes_.copy();
@@ -7751,6 +8578,8 @@ public int getCustomAttributesCount() {
       return internalGetCustomAttributes().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7764,24 +8593,26 @@ public int getCustomAttributesCount() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - @java.lang.Override - public boolean containsCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCustomAttributes().getMap().containsKey(key); } - /** - * Use {@link #getCustomAttributesMap()} instead. - */ + /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCustomAttributes() { + public java.util.Map + getCustomAttributes() { return getCustomAttributesMap(); } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7795,14 +8626,17 @@ public java.util.Map
      *
-     * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+     * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+     * 
      */
     @java.lang.Override
-
-    public java.util.Map getCustomAttributesMap() {
+    public java.util.Map
+        getCustomAttributesMap() {
       return internalGetCustomAttributes().getMap();
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7816,19 +8650,22 @@ public java.util.Map
      *
-     * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+     * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+     * 
      */
     @java.lang.Override
-
     public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
-        java.lang.String key,
-        com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetCustomAttributes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7842,13 +8679,15 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -7858,11 +8697,12 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThro } public Builder clearCustomAttributes() { - internalGetMutableCustomAttributes().getMutableMap() - .clear(); + internalGetMutableCustomAttributes().getMutableMap().clear(); return this; } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7876,25 +8716,25 @@ public Builder clearCustomAttributes() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - - public Builder removeCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableCustomAttributes().getMutableMap() - .remove(key); + public Builder removeCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableCustomAttributes().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableCustomAttributes() { + getMutableCustomAttributes() { return internalGetMutableCustomAttributes().getMutableMap(); } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7908,21 +8748,24 @@ public Builder removeCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ public Builder putCustomAttributes( - java.lang.String key, - com.google.cloud.talent.v4beta1.CustomAttribute value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableCustomAttributes().getMutableMap() - .put(key, value); + internalGetMutableCustomAttributes().getMutableMap().put(key, value); return this; } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7936,18 +8779,17 @@ public Builder putCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - public Builder putAllCustomAttributes( java.util.Map values) { - internalGetMutableCustomAttributes().getMutableMap() - .putAll(values); + internalGetMutableCustomAttributes().getMutableMap().putAll(values); return this; } - private java.util.List degreeTypes_ = - java.util.Collections.emptyList(); + private java.util.List degreeTypes_ = java.util.Collections.emptyList(); + private void ensureDegreeTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); @@ -7955,34 +8797,44 @@ private void ensureDegreeTypesIsMutable() { } } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>( + degreeTypes_, degreeTypes_converter_); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -7990,17 +8842,19 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index to set the value at. * @param value The degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypes( - int index, com.google.cloud.talent.v4beta1.DegreeType value) { + public Builder setDegreeTypes(int index, com.google.cloud.talent.v4beta1.DegreeType value) { if (value == null) { throw new NullPointerException(); } @@ -8010,11 +8864,14 @@ public Builder setDegreeTypes( return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param value The degreeTypes to add. * @return This builder for chaining. */ @@ -8028,11 +8885,14 @@ public Builder addDegreeTypes(com.google.cloud.talent.v4beta1.DegreeType value) return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param values The degreeTypes to add. * @return This builder for chaining. */ @@ -8046,11 +8906,14 @@ public Builder addAllDegreeTypes( return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return This builder for chaining. */ public Builder clearDegreeTypes() { @@ -8060,23 +8923,28 @@ public Builder clearDegreeTypes() { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - public java.util.List - getDegreeTypesValueList() { + public java.util.List getDegreeTypesValueList() { return java.util.Collections.unmodifiableList(degreeTypes_); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -8084,28 +8952,33 @@ public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypesValue( - int index, int value) { + public Builder setDegreeTypesValue(int index, int value) { ensureDegreeTypesIsMutable(); degreeTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param value The enum numeric value on the wire for degreeTypes to add. * @return This builder for chaining. */ @@ -8116,16 +8989,18 @@ public Builder addDegreeTypesValue(int value) { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param values The enum numeric values on the wire for degreeTypes to add. * @return This builder for chaining. */ - public Builder addAllDegreeTypesValue( - java.lang.Iterable values) { + public Builder addAllDegreeTypesValue(java.lang.Iterable values) { ensureDegreeTypesIsMutable(); for (int value : values) { degreeTypes_.add(value); @@ -8136,6 +9011,8 @@ public Builder addAllDegreeTypesValue( private java.lang.Object department_ = ""; /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8143,13 +9020,13 @@ public Builder addAllDegreeTypesValue(
      * 
* * string department = 12; + * * @return The department. */ public java.lang.String getDepartment() { java.lang.Object ref = department_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; @@ -8158,6 +9035,8 @@ public java.lang.String getDepartment() { } } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8165,15 +9044,14 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; + * * @return The bytes for department. */ - public com.google.protobuf.ByteString - getDepartmentBytes() { + public com.google.protobuf.ByteString getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); department_ = b; return b; } else { @@ -8181,6 +9059,8 @@ public java.lang.String getDepartment() { } } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8188,20 +9068,22 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; + * * @param value The department to set. * @return This builder for chaining. */ - public Builder setDepartment( - java.lang.String value) { + public Builder setDepartment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + department_ = value; onChanged(); return this; } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8209,15 +9091,18 @@ public Builder setDepartment(
      * 
* * string department = 12; + * * @return This builder for chaining. */ public Builder clearDepartment() { - + department_ = getDefaultInstance().getDepartment(); onChanged(); return this; } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8225,23 +9110,23 @@ public Builder clearDepartment() {
      * 
* * string department = 12; + * * @param value The bytes for department to set. * @return This builder for chaining. */ - public Builder setDepartmentBytes( - com.google.protobuf.ByteString value) { + public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + department_ = value; onChanged(); return this; } - private java.util.List employmentTypes_ = - java.util.Collections.emptyList(); + private java.util.List employmentTypes_ = java.util.Collections.emptyList(); + private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -8249,6 +9134,8 @@ private void ensureEmploymentTypesIsMutable() { } } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8256,13 +9143,17 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8270,12 +9161,15 @@ public java.util.List getEmploym
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8283,6 +9177,7 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -8290,6 +9185,8 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8297,6 +9194,7 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. @@ -8312,6 +9210,8 @@ public Builder setEmploymentTypes( return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8319,6 +9219,7 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -8332,6 +9233,8 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8339,6 +9242,7 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -8352,6 +9256,8 @@ public Builder addAllEmploymentTypes( return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8359,6 +9265,7 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -8368,6 +9275,8 @@ public Builder clearEmploymentTypes() { return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8375,13 +9284,15 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8389,6 +9300,7 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -8396,6 +9308,8 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8403,18 +9317,20 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue( - int index, int value) { + public Builder setEmploymentTypesValue(int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8422,6 +9338,7 @@ public Builder setEmploymentTypesValue(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -8432,6 +9349,8 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8439,11 +9358,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue( - java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -8454,6 +9373,8 @@ public Builder addAllEmploymentTypesValue( private java.lang.Object incentives_ = ""; /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8461,13 +9382,13 @@ public Builder addAllEmploymentTypesValue(
      * 
* * string incentives = 14; + * * @return The incentives. */ public java.lang.String getIncentives() { java.lang.Object ref = incentives_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; @@ -8476,6 +9397,8 @@ public java.lang.String getIncentives() { } } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8483,15 +9406,14 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; + * * @return The bytes for incentives. */ - public com.google.protobuf.ByteString - getIncentivesBytes() { + public com.google.protobuf.ByteString getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incentives_ = b; return b; } else { @@ -8499,6 +9421,8 @@ public java.lang.String getIncentives() { } } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8506,20 +9430,22 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; + * * @param value The incentives to set. * @return This builder for chaining. */ - public Builder setIncentives( - java.lang.String value) { + public Builder setIncentives(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incentives_ = value; onChanged(); return this; } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8527,15 +9453,18 @@ public Builder setIncentives(
      * 
* * string incentives = 14; + * * @return This builder for chaining. */ public Builder clearIncentives() { - + incentives_ = getDefaultInstance().getIncentives(); onChanged(); return this; } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8543,16 +9472,16 @@ public Builder clearIncentives() {
      * 
* * string incentives = 14; + * * @param value The bytes for incentives to set. * @return This builder for chaining. */ - public Builder setIncentivesBytes( - com.google.protobuf.ByteString value) { + public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incentives_ = value; onChanged(); return this; @@ -8560,6 +9489,8 @@ public Builder setIncentivesBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8573,13 +9504,13 @@ public Builder setIncentivesBytes(
      * 
* * string language_code = 15; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -8588,6 +9519,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8601,15 +9534,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -8617,6 +9549,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8630,20 +9564,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8657,15 +9593,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 15; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8679,16 +9618,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 15; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -8696,51 +9635,65 @@ public Builder setLanguageCodeBytes( private int jobLevel_ = 0; /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override public int getJobLevelValue() { + @java.lang.Override + public int getJobLevelValue() { return jobLevel_; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @param value The enum numeric value on the wire for jobLevel to set. * @return This builder for chaining. */ public Builder setJobLevelValue(int value) { - + jobLevel_ = value; onChanged(); return this; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The jobLevel. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobLevel result = com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4beta1.JobLevel result = + com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @param value The jobLevel to set. * @return This builder for chaining. */ @@ -8748,28 +9701,33 @@ public Builder setJobLevel(com.google.cloud.talent.v4beta1.JobLevel value) { if (value == null) { throw new NullPointerException(); } - + jobLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return This builder for chaining. */ public Builder clearJobLevel() { - + jobLevel_ = 0; onChanged(); return this; } - private int promotionValue_ ; + private int promotionValue_; /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8780,6 +9738,7 @@ public Builder clearJobLevel() {
      * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ @java.lang.Override @@ -8787,6 +9746,8 @@ public int getPromotionValue() { return promotionValue_; } /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8797,16 +9758,19 @@ public int getPromotionValue() {
      * 
* * int32 promotion_value = 17; + * * @param value The promotionValue to set. * @return This builder for chaining. */ public Builder setPromotionValue(int value) { - + promotionValue_ = value; onChanged(); return this; } /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8817,10 +9781,11 @@ public Builder setPromotionValue(int value) {
      * 
* * int32 promotion_value = 17; + * * @return This builder for chaining. */ public Builder clearPromotionValue() { - + promotionValue_ = 0; onChanged(); return this; @@ -8828,6 +9793,8 @@ public Builder clearPromotionValue() { private java.lang.Object qualifications_ = ""; /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8838,13 +9805,13 @@ public Builder clearPromotionValue() {
      * 
* * string qualifications = 18; + * * @return The qualifications. */ public java.lang.String getQualifications() { java.lang.Object ref = qualifications_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; @@ -8853,6 +9820,8 @@ public java.lang.String getQualifications() { } } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8863,15 +9832,14 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ - public com.google.protobuf.ByteString - getQualificationsBytes() { + public com.google.protobuf.ByteString getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); qualifications_ = b; return b; } else { @@ -8879,6 +9847,8 @@ public java.lang.String getQualifications() { } } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8889,20 +9859,22 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; + * * @param value The qualifications to set. * @return This builder for chaining. */ - public Builder setQualifications( - java.lang.String value) { + public Builder setQualifications(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + qualifications_ = value; onChanged(); return this; } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8913,15 +9885,18 @@ public Builder setQualifications(
      * 
* * string qualifications = 18; + * * @return This builder for chaining. */ public Builder clearQualifications() { - + qualifications_ = getDefaultInstance().getQualifications(); onChanged(); return this; } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8932,16 +9907,16 @@ public Builder clearQualifications() {
      * 
* * string qualifications = 18; + * * @param value The bytes for qualifications to set. * @return This builder for chaining. */ - public Builder setQualificationsBytes( - com.google.protobuf.ByteString value) { + public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + qualifications_ = value; onChanged(); return this; @@ -8949,6 +9924,8 @@ public Builder setQualificationsBytes( private java.lang.Object responsibilities_ = ""; /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -8959,13 +9936,13 @@ public Builder setQualificationsBytes(
      * 
* * string responsibilities = 19; + * * @return The responsibilities. */ public java.lang.String getResponsibilities() { java.lang.Object ref = responsibilities_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; @@ -8974,6 +9951,8 @@ public java.lang.String getResponsibilities() { } } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -8984,15 +9963,14 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ - public com.google.protobuf.ByteString - getResponsibilitiesBytes() { + public com.google.protobuf.ByteString getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -9000,6 +9978,8 @@ public java.lang.String getResponsibilities() { } } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9010,20 +9990,22 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; + * * @param value The responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilities( - java.lang.String value) { + public Builder setResponsibilities(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responsibilities_ = value; onChanged(); return this; } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9034,15 +10016,18 @@ public Builder setResponsibilities(
      * 
* * string responsibilities = 19; + * * @return This builder for chaining. */ public Builder clearResponsibilities() { - + responsibilities_ = getDefaultInstance().getResponsibilities(); onChanged(); return this; } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9053,16 +10038,16 @@ public Builder clearResponsibilities() {
      * 
* * string responsibilities = 19; + * * @param value The bytes for responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilitiesBytes( - com.google.protobuf.ByteString value) { + public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responsibilities_ = value; onChanged(); return this; @@ -9070,6 +10055,8 @@ public Builder setResponsibilitiesBytes( private int postingRegion_ = 0; /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9081,12 +10068,16 @@ public Builder setResponsibilitiesBytes(
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override public int getPostingRegionValue() { + @java.lang.Override + public int getPostingRegionValue() { return postingRegion_; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9098,16 +10089,19 @@ public Builder setResponsibilitiesBytes(
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @param value The enum numeric value on the wire for postingRegion to set. * @return This builder for chaining. */ public Builder setPostingRegionValue(int value) { - + postingRegion_ = value; onChanged(); return this; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9119,15 +10113,19 @@ public Builder setPostingRegionValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The postingRegion. */ @java.lang.Override public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.PostingRegion result = com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4beta1.PostingRegion result = + com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9139,6 +10137,7 @@ public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @param value The postingRegion to set. * @return This builder for chaining. */ @@ -9146,12 +10145,14 @@ public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion va if (value == null) { throw new NullPointerException(); } - + postingRegion_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9163,10 +10164,11 @@ public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion va
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return This builder for chaining. */ public Builder clearPostingRegion() { - + postingRegion_ = 0; onChanged(); return this; @@ -9174,6 +10176,8 @@ public Builder clearPostingRegion() { private int visibility_ = 0; /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9181,14 +10185,19 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { + @java.lang.Override + @java.lang.Deprecated + public int getVisibilityValue() { return visibility_; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9196,18 +10205,22 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @param value The enum numeric value on the wire for visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setVisibilityValue(int value) { - + @java.lang.Deprecated + public Builder setVisibilityValue(int value) { + visibility_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9215,17 +10228,22 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { + @java.lang.Deprecated + public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Visibility result = com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4beta1.Visibility result = + com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9233,21 +10251,25 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @param value The visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { + @java.lang.Deprecated + public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { if (value == null) { throw new NullPointerException(); } - + visibility_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9255,12 +10277,14 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearVisibility() { - + @java.lang.Deprecated + public Builder clearVisibility() { + visibility_ = 0; onChanged(); return this; @@ -9268,36 +10292,49 @@ public Builder clearPostingRegion() { private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + jobStartTimeBuilder_; /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ public boolean hasJobStartTime() { return jobStartTimeBuilder_ != null || jobStartTime_ != null; } /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ public com.google.protobuf.Timestamp getJobStartTime() { if (jobStartTimeBuilder_ == null) { - return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; + return jobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobStartTime_; } else { return jobStartTimeBuilder_.getMessage(); } } /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9319,6 +10356,8 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9326,8 +10365,7 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_start_time = 22;
      */
-    public Builder setJobStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobStartTimeBuilder_ == null) {
         jobStartTime_ = builderForValue.build();
         onChanged();
@@ -9338,6 +10376,8 @@ public Builder setJobStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9349,7 +10389,9 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       if (jobStartTimeBuilder_ == null) {
         if (jobStartTime_ != null) {
           jobStartTime_ =
-            com.google.protobuf.Timestamp.newBuilder(jobStartTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           jobStartTime_ = value;
         }
@@ -9361,6 +10403,8 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9380,6 +10424,8 @@ public Builder clearJobStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9388,11 +10434,13 @@ public Builder clearJobStartTime() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {
-      
+
       onChanged();
       return getJobStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9404,11 +10452,14 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
       if (jobStartTimeBuilder_ != null) {
         return jobStartTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobStartTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_;
+        return jobStartTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : jobStartTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9417,14 +10468,17 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getJobStartTimeFieldBuilder() {
       if (jobStartTimeBuilder_ == null) {
-        jobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getJobStartTime(),
-                getParentForChildren(),
-                isClean());
+        jobStartTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getJobStartTime(), getParentForChildren(), isClean());
         jobStartTime_ = null;
       }
       return jobStartTimeBuilder_;
@@ -9432,36 +10486,49 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp jobEndTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobEndTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        jobEndTimeBuilder_;
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ public boolean hasJobEndTime() { return jobEndTimeBuilder_ != null || jobEndTime_ != null; } /** + * + * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ public com.google.protobuf.Timestamp getJobEndTime() { if (jobEndTimeBuilder_ == null) { - return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; + return jobEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobEndTime_; } else { return jobEndTimeBuilder_.getMessage(); } } /** + * + * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9483,6 +10550,8 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9490,8 +10559,7 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_end_time = 23;
      */
-    public Builder setJobEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobEndTimeBuilder_ == null) {
         jobEndTime_ = builderForValue.build();
         onChanged();
@@ -9502,6 +10570,8 @@ public Builder setJobEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9513,7 +10583,7 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       if (jobEndTimeBuilder_ == null) {
         if (jobEndTime_ != null) {
           jobEndTime_ =
-            com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
         } else {
           jobEndTime_ = value;
         }
@@ -9525,6 +10595,8 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9544,6 +10616,8 @@ public Builder clearJobEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9552,11 +10626,13 @@ public Builder clearJobEndTime() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {
-      
+
       onChanged();
       return getJobEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9568,11 +10644,14 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
       if (jobEndTimeBuilder_ != null) {
         return jobEndTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobEndTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
+        return jobEndTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : jobEndTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9581,14 +10660,17 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getJobEndTimeFieldBuilder() {
       if (jobEndTimeBuilder_ == null) {
-        jobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getJobEndTime(),
-                getParentForChildren(),
-                isClean());
+        jobEndTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getJobEndTime(), getParentForChildren(), isClean());
         jobEndTime_ = null;
       }
       return jobEndTimeBuilder_;
@@ -9596,8 +10678,13 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingPublishTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingPublishTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingPublishTimeBuilder_;
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9605,12 +10692,15 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ public boolean hasPostingPublishTime() { return postingPublishTimeBuilder_ != null || postingPublishTime_ != null; } /** + * + * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9618,16 +10708,21 @@ public boolean hasPostingPublishTime() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ public com.google.protobuf.Timestamp getPostingPublishTime() { if (postingPublishTimeBuilder_ == null) { - return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; + return postingPublishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingPublishTime_; } else { return postingPublishTimeBuilder_.getMessage(); } } /** + * + * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9650,6 +10745,8 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9658,8 +10755,7 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
-    public Builder setPostingPublishTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingPublishTimeBuilder_ == null) {
         postingPublishTime_ = builderForValue.build();
         onChanged();
@@ -9670,6 +10766,8 @@ public Builder setPostingPublishTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9682,7 +10780,9 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       if (postingPublishTimeBuilder_ == null) {
         if (postingPublishTime_ != null) {
           postingPublishTime_ =
-            com.google.protobuf.Timestamp.newBuilder(postingPublishTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postingPublishTime_ = value;
         }
@@ -9694,6 +10794,8 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9714,6 +10816,8 @@ public Builder clearPostingPublishTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9723,11 +10827,13 @@ public Builder clearPostingPublishTime() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {
-      
+
       onChanged();
       return getPostingPublishTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9740,11 +10846,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
       if (postingPublishTimeBuilder_ != null) {
         return postingPublishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingPublishTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_;
+        return postingPublishTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : postingPublishTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9754,14 +10863,17 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getPostingPublishTimeFieldBuilder() {
       if (postingPublishTimeBuilder_ == null) {
-        postingPublishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPostingPublishTime(),
-                getParentForChildren(),
-                isClean());
+        postingPublishTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPostingPublishTime(), getParentForChildren(), isClean());
         postingPublishTime_ = null;
       }
       return postingPublishTimeBuilder_;
@@ -9769,8 +10881,13 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingExpireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingExpireTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingExpireTimeBuilder_;
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9810,12 +10927,15 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ public boolean hasPostingExpireTime() { return postingExpireTimeBuilder_ != null || postingExpireTime_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9855,16 +10975,21 @@ public boolean hasPostingExpireTime() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ public com.google.protobuf.Timestamp getPostingExpireTime() { if (postingExpireTimeBuilder_ == null) { - return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; + return postingExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingExpireTime_; } else { return postingExpireTimeBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9919,6 +11044,8 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9959,8 +11086,7 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
-    public Builder setPostingExpireTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingExpireTimeBuilder_ == null) {
         postingExpireTime_ = builderForValue.build();
         onChanged();
@@ -9971,6 +11097,8 @@ public Builder setPostingExpireTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10015,7 +11143,9 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       if (postingExpireTimeBuilder_ == null) {
         if (postingExpireTime_ != null) {
           postingExpireTime_ =
-            com.google.protobuf.Timestamp.newBuilder(postingExpireTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postingExpireTime_ = value;
         }
@@ -10027,6 +11157,8 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10079,6 +11211,8 @@ public Builder clearPostingExpireTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10120,11 +11254,13 @@ public Builder clearPostingExpireTime() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
-      
+
       onChanged();
       return getPostingExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10169,11 +11305,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
       if (postingExpireTimeBuilder_ != null) {
         return postingExpireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingExpireTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_;
+        return postingExpireTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : postingExpireTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10215,14 +11354,17 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getPostingExpireTimeFieldBuilder() {
       if (postingExpireTimeBuilder_ == null) {
-        postingExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPostingExpireTime(),
-                getParentForChildren(),
-                isClean());
+        postingExpireTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPostingExpireTime(), getParentForChildren(), isClean());
         postingExpireTime_ = null;
       }
       return postingExpireTimeBuilder_;
@@ -10230,39 +11372,58 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingCreateTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingCreateTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ public boolean hasPostingCreateTime() { return postingCreateTimeBuilder_ != null || postingCreateTime_ != null; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ public com.google.protobuf.Timestamp getPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { - return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } else { return postingCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { @@ -10278,14 +11439,17 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostingCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (postingCreateTimeBuilder_ == null) { postingCreateTime_ = builderForValue.build(); onChanged(); @@ -10296,17 +11460,23 @@ public Builder setPostingCreateTime( return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { if (postingCreateTime_ != null) { postingCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { postingCreateTime_ = value; } @@ -10318,11 +11488,15 @@ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { @@ -10336,48 +11510,64 @@ public Builder clearPostingCreateTime() { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() { - + onChanged(); return getPostingCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { if (postingCreateTimeBuilder_ != null) { return postingCreateTimeBuilder_.getMessageOrBuilder(); } else { - return postingCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getPostingCreateTimeFieldBuilder() { if (postingCreateTimeBuilder_ == null) { - postingCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPostingCreateTime(), - getParentForChildren(), - isClean()); + postingCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPostingCreateTime(), getParentForChildren(), isClean()); postingCreateTime_ = null; } return postingCreateTimeBuilder_; @@ -10385,39 +11575,58 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + postingUpdateTimeBuilder_; /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ public boolean hasPostingUpdateTime() { return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ public com.google.protobuf.Timestamp getPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { - return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } else { return postingUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { @@ -10433,14 +11642,17 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostingUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (postingUpdateTimeBuilder_ == null) { postingUpdateTime_ = builderForValue.build(); onChanged(); @@ -10451,17 +11663,23 @@ public Builder setPostingUpdateTime( return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { if (postingUpdateTime_ != null) { postingUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { postingUpdateTime_ = value; } @@ -10473,11 +11691,15 @@ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { @@ -10491,48 +11713,64 @@ public Builder clearPostingUpdateTime() { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() { - + onChanged(); return getPostingUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { if (postingUpdateTimeBuilder_ != null) { return postingUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return postingUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getPostingUpdateTimeFieldBuilder() { if (postingUpdateTimeBuilder_ == null) { - postingUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPostingUpdateTime(), - getParentForChildren(), - isClean()); + postingUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPostingUpdateTime(), getParentForChildren(), isClean()); postingUpdateTime_ = null; } return postingUpdateTimeBuilder_; @@ -10540,18 +11778,20 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { private java.lang.Object companyDisplayName_ = ""; /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ public java.lang.String getCompanyDisplayName() { java.lang.Object ref = companyDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; @@ -10560,20 +11800,21 @@ public java.lang.String getCompanyDisplayName() { } } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ - public com.google.protobuf.ByteString - getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -10581,54 +11822,61 @@ public java.lang.String getCompanyDisplayName() { } } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayName( - java.lang.String value) { + public Builder setCompanyDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + companyDisplayName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCompanyDisplayName() { - + companyDisplayName_ = getDefaultInstance().getCompanyDisplayName(); onChanged(); return this; } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + companyDisplayName_ = value; onChanged(); return this; @@ -10636,39 +11884,58 @@ public Builder setCompanyDisplayNameBytes( private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> derivedInfoBuilder_; + com.google.cloud.talent.v4beta1.Job.DerivedInfo, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> + derivedInfoBuilder_; /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -10684,11 +11951,15 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo va return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo( com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder builderForValue) { @@ -10702,17 +11973,23 @@ public Builder setDerivedInfo( return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_) + .mergeFrom(value) + .buildPartial(); } else { derivedInfo_ = value; } @@ -10724,11 +12001,15 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -10742,48 +12023,64 @@ public Builder clearDerivedInfo() { return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null ? - com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> + com.google.cloud.talent.v4beta1.Job.DerivedInfo, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>( - getDerivedInfo(), - getParentForChildren(), - isClean()); + derivedInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.DerivedInfo, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>( + getDerivedInfo(), getParentForChildren(), isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; @@ -10791,41 +12088,55 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> processingOptionsBuilder_; + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> + processingOptionsBuilder_; /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ public boolean hasProcessingOptions() { return processingOptionsBuilder_ != null || processingOptions_ != null; } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() { if (processingOptionsBuilder_ == null) { - return processingOptions_ == null ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } else { return processingOptionsBuilder_.getMessage(); } } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public Builder setProcessingOptions(com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { + public Builder setProcessingOptions( + com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { if (processingOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10839,6 +12150,8 @@ public Builder setProcessingOptions(com.google.cloud.talent.v4beta1.Job.Processi return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10857,17 +12170,22 @@ public Builder setProcessingOptions( return this; } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public Builder mergeProcessingOptions(com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { + public Builder mergeProcessingOptions( + com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { if (processingOptionsBuilder_ == null) { if (processingOptions_ != null) { processingOptions_ = - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_) + .mergeFrom(value) + .buildPartial(); } else { processingOptions_ = value; } @@ -10879,6 +12197,8 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4beta1.Job.Proces return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10897,33 +12217,42 @@ public Builder clearProcessingOptions() { return this; } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder getProcessingOptionsBuilder() { - + public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder + getProcessingOptionsBuilder() { + onChanged(); return getProcessingOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder + getProcessingOptionsOrBuilder() { if (processingOptionsBuilder_ != null) { return processingOptionsBuilder_.getMessageOrBuilder(); } else { - return processingOptions_ == null ? - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } } /** + * + * *
      * Options for job processing.
      * 
@@ -10931,21 +12260,24 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcess * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> getProcessingOptionsFieldBuilder() { if (processingOptionsBuilder_ == null) { - processingOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>( - getProcessingOptions(), - getParentForChildren(), - isClean()); + processingOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>( + getProcessingOptions(), getParentForChildren(), isClean()); processingOptions_ = null; } return processingOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10955,12 +12287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job) private static final com.google.cloud.talent.v4beta1.Job DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job(); } @@ -10969,27 +12301,27 @@ public static com.google.cloud.talent.v4beta1.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11004,6 +12336,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java similarity index 76% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java index 40a05c0e30fe..8a7b2867cb81 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents employee benefits included with the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.JobBenefit} */ -public enum JobBenefit - implements com.google.protobuf.ProtocolMessageEnum { +public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if the type isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum JobBenefit */ JOB_BENEFIT_UNSPECIFIED(0), /** + * + * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -30,6 +50,8 @@ public enum JobBenefit
    */
   CHILD_CARE(1),
   /**
+   *
+   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -39,6 +61,8 @@ public enum JobBenefit
    */
   DENTAL(2),
   /**
+   *
+   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -47,6 +71,8 @@ public enum JobBenefit */ DOMESTIC_PARTNER(3), /** + * + * *
    * The job allows for a flexible work schedule.
    * 
@@ -55,6 +81,8 @@ public enum JobBenefit */ FLEXIBLE_HOURS(4), /** + * + * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -63,6 +91,8 @@ public enum JobBenefit */ MEDICAL(5), /** + * + * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -72,6 +102,8 @@ public enum JobBenefit
    */
   LIFE_INSURANCE(6),
   /**
+   *
+   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -81,6 +113,8 @@ public enum JobBenefit
    */
   PARENTAL_LEAVE(7),
   /**
+   *
+   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -90,6 +124,8 @@ public enum JobBenefit
    */
   RETIREMENT_PLAN(8),
   /**
+   *
+   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -98,6 +134,8 @@ public enum JobBenefit */ SICK_DAYS(9), /** + * + * *
    * The job includes paid time off for vacation.
    * 
@@ -106,6 +144,8 @@ public enum JobBenefit */ VACATION(10), /** + * + * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -118,6 +158,8 @@ public enum JobBenefit
   ;
 
   /**
+   *
+   *
    * 
    * Default value if the type isn't specified.
    * 
@@ -126,6 +168,8 @@ public enum JobBenefit */ public static final int JOB_BENEFIT_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -135,6 +179,8 @@ public enum JobBenefit
    */
   public static final int CHILD_CARE_VALUE = 1;
   /**
+   *
+   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -144,6 +190,8 @@ public enum JobBenefit
    */
   public static final int DENTAL_VALUE = 2;
   /**
+   *
+   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -152,6 +200,8 @@ public enum JobBenefit */ public static final int DOMESTIC_PARTNER_VALUE = 3; /** + * + * *
    * The job allows for a flexible work schedule.
    * 
@@ -160,6 +210,8 @@ public enum JobBenefit */ public static final int FLEXIBLE_HOURS_VALUE = 4; /** + * + * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -168,6 +220,8 @@ public enum JobBenefit */ public static final int MEDICAL_VALUE = 5; /** + * + * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -177,6 +231,8 @@ public enum JobBenefit
    */
   public static final int LIFE_INSURANCE_VALUE = 6;
   /**
+   *
+   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -186,6 +242,8 @@ public enum JobBenefit
    */
   public static final int PARENTAL_LEAVE_VALUE = 7;
   /**
+   *
+   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -195,6 +253,8 @@ public enum JobBenefit
    */
   public static final int RETIREMENT_PLAN_VALUE = 8;
   /**
+   *
+   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -203,6 +263,8 @@ public enum JobBenefit */ public static final int SICK_DAYS_VALUE = 9; /** + * + * *
    * The job includes paid time off for vacation.
    * 
@@ -211,6 +273,8 @@ public enum JobBenefit */ public static final int VACATION_VALUE = 10; /** + * + * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -220,7 +284,6 @@ public enum JobBenefit
    */
   public static final int VISION_VALUE = 11;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -245,58 +308,67 @@ public static JobBenefit valueOf(int value) {
    */
   public static JobBenefit forNumber(int value) {
     switch (value) {
-      case 0: return JOB_BENEFIT_UNSPECIFIED;
-      case 1: return CHILD_CARE;
-      case 2: return DENTAL;
-      case 3: return DOMESTIC_PARTNER;
-      case 4: return FLEXIBLE_HOURS;
-      case 5: return MEDICAL;
-      case 6: return LIFE_INSURANCE;
-      case 7: return PARENTAL_LEAVE;
-      case 8: return RETIREMENT_PLAN;
-      case 9: return SICK_DAYS;
-      case 10: return VACATION;
-      case 11: return VISION;
-      default: return null;
+      case 0:
+        return JOB_BENEFIT_UNSPECIFIED;
+      case 1:
+        return CHILD_CARE;
+      case 2:
+        return DENTAL;
+      case 3:
+        return DOMESTIC_PARTNER;
+      case 4:
+        return FLEXIBLE_HOURS;
+      case 5:
+        return MEDICAL;
+      case 6:
+        return LIFE_INSURANCE;
+      case 7:
+        return PARENTAL_LEAVE;
+      case 8:
+        return RETIREMENT_PLAN;
+      case 9:
+        return SICK_DAYS;
+      case 10:
+        return VACATION;
+      case 11:
+        return VISION;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      JobBenefit> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobBenefit findValueByNumber(int number) {
-            return JobBenefit.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public JobBenefit findValueByNumber(int number) {
+          return JobBenefit.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final JobBenefit[] VALUES = values();
 
-  public static JobBenefit valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static JobBenefit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -312,4 +384,3 @@ private JobBenefit(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobBenefit)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
similarity index 79%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
index 6f404cf5df65..a842a2873d97 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * An enum that represents the categorization or primary focus of specific
  * role. This value is different than the "industry" associated with a role,
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.JobCategory}
  */
-public enum JobCategory
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default value if the category isn't specified.
    * 
@@ -23,6 +41,8 @@ public enum JobCategory */ JOB_CATEGORY_UNSPECIFIED(0), /** + * + * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -31,6 +51,8 @@ public enum JobCategory */ ACCOUNTING_AND_FINANCE(1), /** + * + * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -39,6 +61,8 @@ public enum JobCategory */ ADMINISTRATIVE_AND_OFFICE(2), /** + * + * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -47,6 +71,8 @@ public enum JobCategory */ ADVERTISING_AND_MARKETING(3), /** + * + * *
    * An animal care job, such as Veterinarian.
    * 
@@ -55,6 +81,8 @@ public enum JobCategory */ ANIMAL_CARE(4), /** + * + * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -63,6 +91,8 @@ public enum JobCategory */ ART_FASHION_AND_DESIGN(5), /** + * + * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -71,6 +101,8 @@ public enum JobCategory */ BUSINESS_OPERATIONS(6), /** + * + * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -79,6 +111,8 @@ public enum JobCategory */ CLEANING_AND_FACILITIES(7), /** + * + * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -87,6 +121,8 @@ public enum JobCategory */ COMPUTER_AND_IT(8), /** + * + * *
    * A construction job, such as General Laborer.
    * 
@@ -95,6 +131,8 @@ public enum JobCategory */ CONSTRUCTION(9), /** + * + * *
    * A customer service job, such s Cashier.
    * 
@@ -103,6 +141,8 @@ public enum JobCategory */ CUSTOMER_SERVICE(10), /** + * + * *
    * An education job, such as School Teacher.
    * 
@@ -111,6 +151,8 @@ public enum JobCategory */ EDUCATION(11), /** + * + * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -119,6 +161,8 @@ public enum JobCategory */ ENTERTAINMENT_AND_TRAVEL(12), /** + * + * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -127,6 +171,8 @@ public enum JobCategory */ FARMING_AND_OUTDOORS(13), /** + * + * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -135,6 +181,8 @@ public enum JobCategory */ HEALTHCARE(14), /** + * + * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -143,6 +191,8 @@ public enum JobCategory */ HUMAN_RESOURCES(15), /** + * + * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -151,6 +201,8 @@ public enum JobCategory */ INSTALLATION_MAINTENANCE_AND_REPAIR(16), /** + * + * *
    * A legal job, such as Law Clerk.
    * 
@@ -159,6 +211,8 @@ public enum JobCategory */ LEGAL(17), /** + * + * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -168,6 +222,8 @@ public enum JobCategory
    */
   MANAGEMENT(18),
   /**
+   *
+   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -176,6 +232,8 @@ public enum JobCategory */ MANUFACTURING_AND_WAREHOUSE(19), /** + * + * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -184,6 +242,8 @@ public enum JobCategory */ MEDIA_COMMUNICATIONS_AND_WRITING(20), /** + * + * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -192,6 +252,8 @@ public enum JobCategory */ OIL_GAS_AND_MINING(21), /** + * + * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -200,6 +262,8 @@ public enum JobCategory */ PERSONAL_CARE_AND_SERVICES(22), /** + * + * *
    * A protective services job, such as Security Guard.
    * 
@@ -208,6 +272,8 @@ public enum JobCategory */ PROTECTIVE_SERVICES(23), /** + * + * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -216,6 +282,8 @@ public enum JobCategory */ REAL_ESTATE(24), /** + * + * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -224,6 +292,8 @@ public enum JobCategory */ RESTAURANT_AND_HOSPITALITY(25), /** + * + * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -232,6 +302,8 @@ public enum JobCategory */ SALES_AND_RETAIL(26), /** + * + * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -240,6 +312,8 @@ public enum JobCategory */ SCIENCE_AND_ENGINEERING(27), /** + * + * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -248,6 +322,8 @@ public enum JobCategory */ SOCIAL_SERVICES_AND_NON_PROFIT(28), /** + * + * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -256,6 +332,8 @@ public enum JobCategory */ SPORTS_FITNESS_AND_RECREATION(29), /** + * + * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -267,6 +345,8 @@ public enum JobCategory ; /** + * + * *
    * The default value if the category isn't specified.
    * 
@@ -275,6 +355,8 @@ public enum JobCategory */ public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -283,6 +365,8 @@ public enum JobCategory */ public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; /** + * + * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -291,6 +375,8 @@ public enum JobCategory */ public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; /** + * + * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -299,6 +385,8 @@ public enum JobCategory */ public static final int ADVERTISING_AND_MARKETING_VALUE = 3; /** + * + * *
    * An animal care job, such as Veterinarian.
    * 
@@ -307,6 +395,8 @@ public enum JobCategory */ public static final int ANIMAL_CARE_VALUE = 4; /** + * + * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -315,6 +405,8 @@ public enum JobCategory */ public static final int ART_FASHION_AND_DESIGN_VALUE = 5; /** + * + * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -323,6 +415,8 @@ public enum JobCategory */ public static final int BUSINESS_OPERATIONS_VALUE = 6; /** + * + * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -331,6 +425,8 @@ public enum JobCategory */ public static final int CLEANING_AND_FACILITIES_VALUE = 7; /** + * + * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -339,6 +435,8 @@ public enum JobCategory */ public static final int COMPUTER_AND_IT_VALUE = 8; /** + * + * *
    * A construction job, such as General Laborer.
    * 
@@ -347,6 +445,8 @@ public enum JobCategory */ public static final int CONSTRUCTION_VALUE = 9; /** + * + * *
    * A customer service job, such s Cashier.
    * 
@@ -355,6 +455,8 @@ public enum JobCategory */ public static final int CUSTOMER_SERVICE_VALUE = 10; /** + * + * *
    * An education job, such as School Teacher.
    * 
@@ -363,6 +465,8 @@ public enum JobCategory */ public static final int EDUCATION_VALUE = 11; /** + * + * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -371,6 +475,8 @@ public enum JobCategory */ public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; /** + * + * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -379,6 +485,8 @@ public enum JobCategory */ public static final int FARMING_AND_OUTDOORS_VALUE = 13; /** + * + * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -387,6 +495,8 @@ public enum JobCategory */ public static final int HEALTHCARE_VALUE = 14; /** + * + * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -395,6 +505,8 @@ public enum JobCategory */ public static final int HUMAN_RESOURCES_VALUE = 15; /** + * + * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -403,6 +515,8 @@ public enum JobCategory */ public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; /** + * + * *
    * A legal job, such as Law Clerk.
    * 
@@ -411,6 +525,8 @@ public enum JobCategory */ public static final int LEGAL_VALUE = 17; /** + * + * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -420,6 +536,8 @@ public enum JobCategory
    */
   public static final int MANAGEMENT_VALUE = 18;
   /**
+   *
+   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -428,6 +546,8 @@ public enum JobCategory */ public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; /** + * + * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -436,6 +556,8 @@ public enum JobCategory */ public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; /** + * + * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -444,6 +566,8 @@ public enum JobCategory */ public static final int OIL_GAS_AND_MINING_VALUE = 21; /** + * + * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -452,6 +576,8 @@ public enum JobCategory */ public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; /** + * + * *
    * A protective services job, such as Security Guard.
    * 
@@ -460,6 +586,8 @@ public enum JobCategory */ public static final int PROTECTIVE_SERVICES_VALUE = 23; /** + * + * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -468,6 +596,8 @@ public enum JobCategory */ public static final int REAL_ESTATE_VALUE = 24; /** + * + * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -476,6 +606,8 @@ public enum JobCategory */ public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; /** + * + * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -484,6 +616,8 @@ public enum JobCategory */ public static final int SALES_AND_RETAIL_VALUE = 26; /** + * + * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -492,6 +626,8 @@ public enum JobCategory */ public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; /** + * + * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -500,6 +636,8 @@ public enum JobCategory */ public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; /** + * + * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -508,6 +646,8 @@ public enum JobCategory */ public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; /** + * + * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -516,7 +656,6 @@ public enum JobCategory */ public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -541,77 +680,105 @@ public static JobCategory valueOf(int value) { */ public static JobCategory forNumber(int value) { switch (value) { - case 0: return JOB_CATEGORY_UNSPECIFIED; - case 1: return ACCOUNTING_AND_FINANCE; - case 2: return ADMINISTRATIVE_AND_OFFICE; - case 3: return ADVERTISING_AND_MARKETING; - case 4: return ANIMAL_CARE; - case 5: return ART_FASHION_AND_DESIGN; - case 6: return BUSINESS_OPERATIONS; - case 7: return CLEANING_AND_FACILITIES; - case 8: return COMPUTER_AND_IT; - case 9: return CONSTRUCTION; - case 10: return CUSTOMER_SERVICE; - case 11: return EDUCATION; - case 12: return ENTERTAINMENT_AND_TRAVEL; - case 13: return FARMING_AND_OUTDOORS; - case 14: return HEALTHCARE; - case 15: return HUMAN_RESOURCES; - case 16: return INSTALLATION_MAINTENANCE_AND_REPAIR; - case 17: return LEGAL; - case 18: return MANAGEMENT; - case 19: return MANUFACTURING_AND_WAREHOUSE; - case 20: return MEDIA_COMMUNICATIONS_AND_WRITING; - case 21: return OIL_GAS_AND_MINING; - case 22: return PERSONAL_CARE_AND_SERVICES; - case 23: return PROTECTIVE_SERVICES; - case 24: return REAL_ESTATE; - case 25: return RESTAURANT_AND_HOSPITALITY; - case 26: return SALES_AND_RETAIL; - case 27: return SCIENCE_AND_ENGINEERING; - case 28: return SOCIAL_SERVICES_AND_NON_PROFIT; - case 29: return SPORTS_FITNESS_AND_RECREATION; - case 30: return TRANSPORTATION_AND_LOGISTICS; - default: return null; + case 0: + return JOB_CATEGORY_UNSPECIFIED; + case 1: + return ACCOUNTING_AND_FINANCE; + case 2: + return ADMINISTRATIVE_AND_OFFICE; + case 3: + return ADVERTISING_AND_MARKETING; + case 4: + return ANIMAL_CARE; + case 5: + return ART_FASHION_AND_DESIGN; + case 6: + return BUSINESS_OPERATIONS; + case 7: + return CLEANING_AND_FACILITIES; + case 8: + return COMPUTER_AND_IT; + case 9: + return CONSTRUCTION; + case 10: + return CUSTOMER_SERVICE; + case 11: + return EDUCATION; + case 12: + return ENTERTAINMENT_AND_TRAVEL; + case 13: + return FARMING_AND_OUTDOORS; + case 14: + return HEALTHCARE; + case 15: + return HUMAN_RESOURCES; + case 16: + return INSTALLATION_MAINTENANCE_AND_REPAIR; + case 17: + return LEGAL; + case 18: + return MANAGEMENT; + case 19: + return MANUFACTURING_AND_WAREHOUSE; + case 20: + return MEDIA_COMMUNICATIONS_AND_WRITING; + case 21: + return OIL_GAS_AND_MINING; + case 22: + return PERSONAL_CARE_AND_SERVICES; + case 23: + return PROTECTIVE_SERVICES; + case 24: + return REAL_ESTATE; + case 25: + return RESTAURANT_AND_HOSPITALITY; + case 26: + return SALES_AND_RETAIL; + case 27: + return SCIENCE_AND_ENGINEERING; + case 28: + return SOCIAL_SERVICES_AND_NON_PROFIT; + case 29: + return SPORTS_FITNESS_AND_RECREATION; + case 30: + return TRANSPORTATION_AND_LOGISTICS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobCategory findValueByNumber(int number) { - return JobCategory.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobCategory findValueByNumber(int number) { + return JobCategory.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(5); } private static final JobCategory[] VALUES = values(); - public static JobCategory valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -627,4 +794,3 @@ private JobCategory(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobCategory) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java index 86df01b76dea..c7a3b5f85e00 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An event issued when a job seeker interacts with the application that
  * implements Cloud Talent Solution.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.JobEvent}
  */
-public final class JobEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobEvent)
     JobEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobEvent() {
     type_ = 0;
     jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28,30 +46,33 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.EventProto
+        .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.EventProto
+        .internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.JobEvent.class, com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
+            com.google.cloud.talent.v4beta1.JobEvent.class,
+            com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enumeration of an event attributed to the behavior of the end user,
    * such as a job seeker.
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.JobEvent.JobEventType}
    */
-  public enum JobEventType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -70,6 +92,8 @@ public enum JobEventType */ JOB_EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -81,6 +105,8 @@ public enum JobEventType
      */
     IMPRESSION(1),
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -93,6 +119,8 @@ public enum JobEventType
      */
     VIEW(2),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -103,6 +131,8 @@ public enum JobEventType
      */
     VIEW_REDIRECT(3),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -112,6 +142,8 @@ public enum JobEventType
      */
     APPLICATION_START(4),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -121,6 +153,8 @@ public enum JobEventType
      */
     APPLICATION_FINISH(5),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -134,6 +168,8 @@ public enum JobEventType
      */
     APPLICATION_QUICK_SUBMISSION(6),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -144,6 +180,8 @@ public enum JobEventType
      */
     APPLICATION_REDIRECT(7),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -155,6 +193,8 @@ public enum JobEventType
      */
     APPLICATION_START_FROM_SEARCH(8),
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -169,6 +209,8 @@ public enum JobEventType
      */
     APPLICATION_REDIRECT_FROM_SEARCH(9),
     /**
+     *
+     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -179,6 +221,8 @@ public enum JobEventType
      */
     APPLICATION_COMPANY_SUBMIT(10),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -188,6 +232,8 @@ public enum JobEventType
      */
     BOOKMARK(11),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -198,6 +244,8 @@ public enum JobEventType
      */
     NOTIFICATION(12),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -210,6 +258,8 @@ public enum JobEventType
      */
     HIRED(13),
     /**
+     *
+     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -220,6 +270,8 @@ public enum JobEventType
      */
     SENT_CV(14),
     /**
+     *
+     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -235,6 +287,8 @@ public enum JobEventType
     ;
 
     /**
+     *
+     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -243,6 +297,8 @@ public enum JobEventType */ public static final int JOB_EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -254,6 +310,8 @@ public enum JobEventType
      */
     public static final int IMPRESSION_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -266,6 +324,8 @@ public enum JobEventType
      */
     public static final int VIEW_VALUE = 2;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -276,6 +336,8 @@ public enum JobEventType
      */
     public static final int VIEW_REDIRECT_VALUE = 3;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -285,6 +347,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_START_VALUE = 4;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -294,6 +358,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_FINISH_VALUE = 5;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -307,6 +373,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_QUICK_SUBMISSION_VALUE = 6;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -317,6 +385,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_REDIRECT_VALUE = 7;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -328,6 +398,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_START_FROM_SEARCH_VALUE = 8;
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -342,6 +414,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_REDIRECT_FROM_SEARCH_VALUE = 9;
     /**
+     *
+     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -352,6 +426,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_COMPANY_SUBMIT_VALUE = 10;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -361,6 +437,8 @@ public enum JobEventType
      */
     public static final int BOOKMARK_VALUE = 11;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -371,6 +449,8 @@ public enum JobEventType
      */
     public static final int NOTIFICATION_VALUE = 12;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -383,6 +463,8 @@ public enum JobEventType
      */
     public static final int HIRED_VALUE = 13;
     /**
+     *
+     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -393,6 +475,8 @@ public enum JobEventType
      */
     public static final int SENT_CV_VALUE = 14;
     /**
+     *
+     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -405,7 +489,6 @@ public enum JobEventType
      */
     public static final int INTERVIEW_GRANTED_VALUE = 15;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -430,62 +513,75 @@ public static JobEventType valueOf(int value) {
      */
     public static JobEventType forNumber(int value) {
       switch (value) {
-        case 0: return JOB_EVENT_TYPE_UNSPECIFIED;
-        case 1: return IMPRESSION;
-        case 2: return VIEW;
-        case 3: return VIEW_REDIRECT;
-        case 4: return APPLICATION_START;
-        case 5: return APPLICATION_FINISH;
-        case 6: return APPLICATION_QUICK_SUBMISSION;
-        case 7: return APPLICATION_REDIRECT;
-        case 8: return APPLICATION_START_FROM_SEARCH;
-        case 9: return APPLICATION_REDIRECT_FROM_SEARCH;
-        case 10: return APPLICATION_COMPANY_SUBMIT;
-        case 11: return BOOKMARK;
-        case 12: return NOTIFICATION;
-        case 13: return HIRED;
-        case 14: return SENT_CV;
-        case 15: return INTERVIEW_GRANTED;
-        default: return null;
+        case 0:
+          return JOB_EVENT_TYPE_UNSPECIFIED;
+        case 1:
+          return IMPRESSION;
+        case 2:
+          return VIEW;
+        case 3:
+          return VIEW_REDIRECT;
+        case 4:
+          return APPLICATION_START;
+        case 5:
+          return APPLICATION_FINISH;
+        case 6:
+          return APPLICATION_QUICK_SUBMISSION;
+        case 7:
+          return APPLICATION_REDIRECT;
+        case 8:
+          return APPLICATION_START_FROM_SEARCH;
+        case 9:
+          return APPLICATION_REDIRECT_FROM_SEARCH;
+        case 10:
+          return APPLICATION_COMPANY_SUBMIT;
+        case 11:
+          return BOOKMARK;
+        case 12:
+          return NOTIFICATION;
+        case 13:
+          return HIRED;
+        case 14:
+          return SENT_CV;
+        case 15:
+          return INTERVIEW_GRANTED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        JobEventType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public JobEventType findValueByNumber(int number) {
-              return JobEventType.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public JobEventType findValueByNumber(int number) {
+            return JobEventType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4beta1.JobEvent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobEventType[] VALUES = values();
 
-    public static JobEventType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -505,33 +601,50 @@ private JobEventType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = + com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED + : result; } public static final int JOBS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList jobs_; /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -544,13 +657,15 @@ private JobEventType(int value) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_; } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -563,12 +678,15 @@ private JobEventType(int value) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -581,6 +699,7 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -588,6 +707,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -600,17 +721,19 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } public static final int PROFILE_FIELD_NUMBER = 3; private volatile java.lang.Object profile_; /** + * + * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -619,6 +742,7 @@ public java.lang.String getJobs(int index) {
    * 
* * string profile = 3; + * * @return The profile. */ @java.lang.Override @@ -627,14 +751,15 @@ public java.lang.String getProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profile_ = s; return s; } } /** + * + * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -643,16 +768,15 @@ public java.lang.String getProfile() {
    * 
* * string profile = 3; + * * @return The bytes for profile. */ @java.lang.Override - public com.google.protobuf.ByteString - getProfileBytes() { + public com.google.protobuf.ByteString getProfileBytes() { java.lang.Object ref = profile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); profile_ = b; return b; } else { @@ -661,6 +785,7 @@ public java.lang.String getProfile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -672,9 +797,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < jobs_.size(); i++) { @@ -692,9 +818,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; @@ -715,7 +842,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobEvent)) { return super.equals(obj); @@ -723,10 +850,8 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.JobEvent other = (com.google.cloud.talent.v4beta1.JobEvent) obj; if (type_ != other.type_) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; - if (!getProfile() - .equals(other.getProfile())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; + if (!getProfile().equals(other.getProfile())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -751,97 +876,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -849,33 +981,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.JobEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobEvent)
       com.google.cloud.talent.v4beta1.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.JobEvent.class, com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
+              com.google.cloud.talent.v4beta1.JobEvent.class,
+              com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.JobEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -889,9 +1020,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -910,7 +1041,8 @@ public com.google.cloud.talent.v4beta1.JobEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.JobEvent buildPartial() {
-      com.google.cloud.talent.v4beta1.JobEvent result = new com.google.cloud.talent.v4beta1.JobEvent(this);
+      com.google.cloud.talent.v4beta1.JobEvent result =
+          new com.google.cloud.talent.v4beta1.JobEvent(this);
       int from_bitField0_ = bitField0_;
       result.type_ = type_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -927,38 +1059,39 @@ public com.google.cloud.talent.v4beta1.JobEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.JobEvent) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.JobEvent)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.JobEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1010,28 +1143,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              type_ = input.readEnum();
+            case 8:
+              {
+                type_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureJobsIsMutable();
-              jobs_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              profile_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureJobsIsMutable();
+                jobs_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                profile_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1041,55 +1178,80 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = + com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1097,34 +1259,43 @@ public Builder setType(com.google.cloud.talent.v4beta1.JobEvent.JobEventType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList jobs_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1137,13 +1308,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_.getUnmodifiableView(); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1156,12 +1329,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1174,6 +1350,7 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1181,6 +1358,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1193,14 +1372,16 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1213,21 +1394,23 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs( - int index, java.lang.String value) { + public Builder setJobs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1240,20 +1423,22 @@ public Builder setJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs( - java.lang.String value) { + public Builder addJobs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1266,18 +1451,19 @@ public Builder addJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1290,6 +1476,7 @@ public Builder addAllJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobs() { @@ -1299,6 +1486,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1311,15 +1500,15 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes( - com.google.protobuf.ByteString value) { + public Builder addJobsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); onChanged(); @@ -1328,6 +1517,8 @@ public Builder addJobsBytes( private java.lang.Object profile_ = ""; /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1336,13 +1527,13 @@ public Builder addJobsBytes(
      * 
* * string profile = 3; + * * @return The profile. */ public java.lang.String getProfile() { java.lang.Object ref = profile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profile_ = s; return s; @@ -1351,6 +1542,8 @@ public java.lang.String getProfile() { } } /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1359,15 +1552,14 @@ public java.lang.String getProfile() {
      * 
* * string profile = 3; + * * @return The bytes for profile. */ - public com.google.protobuf.ByteString - getProfileBytes() { + public com.google.protobuf.ByteString getProfileBytes() { java.lang.Object ref = profile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); profile_ = b; return b; } else { @@ -1375,6 +1567,8 @@ public java.lang.String getProfile() { } } /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1383,20 +1577,22 @@ public java.lang.String getProfile() {
      * 
* * string profile = 3; + * * @param value The profile to set. * @return This builder for chaining. */ - public Builder setProfile( - java.lang.String value) { + public Builder setProfile(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + profile_ = value; onChanged(); return this; } /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1405,15 +1601,18 @@ public Builder setProfile(
      * 
* * string profile = 3; + * * @return This builder for chaining. */ public Builder clearProfile() { - + profile_ = getDefaultInstance().getProfile(); onChanged(); return this; } /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1422,23 +1621,23 @@ public Builder clearProfile() {
      * 
* * string profile = 3; + * * @param value The bytes for profile to set. * @return This builder for chaining. */ - public Builder setProfileBytes( - com.google.protobuf.ByteString value) { + public Builder setProfileBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + profile_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1448,12 +1647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobEvent) private static final com.google.cloud.talent.v4beta1.JobEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobEvent(); } @@ -1462,27 +1661,27 @@ public static com.google.cloud.talent.v4beta1.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1497,6 +1696,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java similarity index 79% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java index e14f941b5dbe..4636c41a58cc 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java @@ -1,32 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; -public interface JobEventOrBuilder extends +public interface JobEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -39,11 +67,13 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -56,10 +86,13 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ int getJobsCount(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -72,11 +105,14 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -89,13 +125,15 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString - getJobsBytes(int index); + com.google.protobuf.ByteString getJobsBytes(int index); /** + * + * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -104,10 +142,13 @@ public interface JobEventOrBuilder extends
    * 
* * string profile = 3; + * * @return The profile. */ java.lang.String getProfile(); /** + * + * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -116,8 +157,8 @@ public interface JobEventOrBuilder extends
    * 
* * string profile = 3; + * * @return The bytes for profile. */ - com.google.protobuf.ByteString - getProfileBytes(); + com.google.protobuf.ByteString getProfileBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java similarity index 72% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java index 81941111809f..d6a1f7de47fd 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents the required experience level required for the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.JobLevel} */ -public enum JobLevel - implements com.google.protobuf.ProtocolMessageEnum { +public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value if the level isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum JobLevel */ JOB_LEVEL_UNSPECIFIED(0), /** + * + * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -30,6 +50,8 @@ public enum JobLevel
    */
   ENTRY_LEVEL(1),
   /**
+   *
+   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -39,6 +61,8 @@ public enum JobLevel
    */
   EXPERIENCED(2),
   /**
+   *
+   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -47,6 +71,8 @@ public enum JobLevel */ MANAGER(3), /** + * + * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -55,6 +81,8 @@ public enum JobLevel */ DIRECTOR(4), /** + * + * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -66,6 +94,8 @@ public enum JobLevel ; /** + * + * *
    * The default value if the level isn't specified.
    * 
@@ -74,6 +104,8 @@ public enum JobLevel */ public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -83,6 +115,8 @@ public enum JobLevel
    */
   public static final int ENTRY_LEVEL_VALUE = 1;
   /**
+   *
+   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -92,6 +126,8 @@ public enum JobLevel
    */
   public static final int EXPERIENCED_VALUE = 2;
   /**
+   *
+   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -100,6 +136,8 @@ public enum JobLevel */ public static final int MANAGER_VALUE = 3; /** + * + * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -108,6 +146,8 @@ public enum JobLevel */ public static final int DIRECTOR_VALUE = 4; /** + * + * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -116,7 +156,6 @@ public enum JobLevel */ public static final int EXECUTIVE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -141,52 +180,55 @@ public static JobLevel valueOf(int value) { */ public static JobLevel forNumber(int value) { switch (value) { - case 0: return JOB_LEVEL_UNSPECIFIED; - case 1: return ENTRY_LEVEL; - case 2: return EXPERIENCED; - case 3: return MANAGER; - case 4: return DIRECTOR; - case 5: return EXECUTIVE; - default: return null; + case 0: + return JOB_LEVEL_UNSPECIFIED; + case 1: + return ENTRY_LEVEL; + case 2: + return EXPERIENCED; + case 3: + return MANAGER; + case 4: + return DIRECTOR; + case 5: + return EXECUTIVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobLevel findValueByNumber(int number) { - return JobLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobLevel findValueByNumber(int number) { + return JobLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(4); } private static final JobLevel[] VALUES = values(); - public static JobLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -202,4 +244,3 @@ private JobLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobLevel) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java similarity index 100% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java similarity index 73% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java index 48e3f19e513c..c79c769bfd05 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
  * [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
@@ -12,49 +29,54 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult}
  */
-public final class JobOperationResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobOperationResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobOperationResult)
     JobOperationResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobOperationResult.newBuilder() to construct.
   private JobOperationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobOperationResult() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobOperationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.JobServiceProto
+        .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.JobServiceProto
+        .internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.JobOperationResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
+            com.google.cloud.talent.v4beta1.JobOperationResult.class,
+            com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
   }
 
-  public interface JobResultOrBuilder extends
+  public interface JobResultOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -63,10 +85,13 @@ public interface JobResultOrBuilder extends
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -75,10 +100,13 @@ public interface JobResultOrBuilder extends
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -91,26 +119,34 @@ public interface JobResultOrBuilder extends
     com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder();
 
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -121,52 +157,57 @@ public interface JobResultOrBuilder extends
     com.google.rpc.StatusOrBuilder getStatusOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Mutation result of a job.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult.JobResult} */ - public static final class JobResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class JobResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobOperationResult.JobResult) JobResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobResult.newBuilder() to construct. private JobResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobResult() { - } + + private JobResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JobResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -175,6 +216,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -182,6 +224,8 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -190,6 +234,7 @@ public boolean hasJob() {
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -197,6 +242,8 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -214,12 +261,15 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
     public static final int STATUS_FIELD_NUMBER = 2;
     private com.google.rpc.Status status_;
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -227,12 +277,15 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -240,6 +293,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -253,6 +308,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -264,8 +320,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -282,12 +337,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
       }
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getStatus());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -297,22 +350,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.JobOperationResult.JobResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other = (com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) obj;
+      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other =
+          (com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob()
-            .equals(other.getJob())) return false;
+        if (!getJob().equals(other.getJob())) return false;
       }
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus()
-            .equals(other.getStatus())) return false;
+        if (!getStatus().equals(other.getStatus())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -339,87 +391,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -429,39 +488,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Mutation result of a job.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult.JobResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobOperationResult.JobResult) com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,13 +542,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult + getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance(); } @@ -502,7 +564,8 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult build() { @java.lang.Override public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult buildPartial() { - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult result = new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult(this); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult result = + new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -521,38 +584,41 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult.JobResult)other); + return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) other); } else { super.mergeFrom(other); return this; @@ -560,7 +626,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other) { - if (other == com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()) return this; + if (other + == com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -593,26 +661,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getStatusFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -625,8 +692,13 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -635,12 +707,15 @@ public Builder mergeFrom(
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -649,6 +724,7 @@ public boolean hasJob() {
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -659,6 +735,8 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** + * + * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -682,6 +760,8 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -691,8 +771,7 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
        *
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
-      public Builder setJob(
-          com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+      public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
         if (jobBuilder_ == null) {
           job_ = builderForValue.build();
           onChanged();
@@ -703,6 +782,8 @@ public Builder setJob(
         return this;
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -716,7 +797,9 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
         if (jobBuilder_ == null) {
           if (job_ != null) {
             job_ =
-              com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4beta1.Job.newBuilder(job_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             job_ = value;
           }
@@ -728,6 +811,8 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -749,6 +834,8 @@ public Builder clearJob() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -759,11 +846,13 @@ public Builder clearJob() {
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
       public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() {
-        
+
         onChanged();
         return getJobFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -777,11 +866,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
         if (jobBuilder_ != null) {
           return jobBuilder_.getMessageOrBuilder();
         } else {
-          return job_ == null ?
-              com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
+          return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
         }
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -792,14 +882,17 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> 
+              com.google.cloud.talent.v4beta1.Job,
+              com.google.cloud.talent.v4beta1.Job.Builder,
+              com.google.cloud.talent.v4beta1.JobOrBuilder>
           getJobFieldBuilder() {
         if (jobBuilder_ == null) {
-          jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>(
-                  getJob(),
-                  getParentForChildren(),
-                  isClean());
+          jobBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4beta1.Job,
+                  com.google.cloud.talent.v4beta1.Job.Builder,
+                  com.google.cloud.talent.v4beta1.JobOrBuilder>(
+                  getJob(), getParentForChildren(), isClean());
           job_ = null;
         }
         return jobBuilder_;
@@ -807,26 +900,33 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
 
       private com.google.rpc.Status status_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+          statusBuilder_;
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
        * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
        * 
* * .google.rpc.Status status = 2; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -837,6 +937,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -858,6 +960,8 @@ public Builder setStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -865,8 +969,7 @@ public Builder setStatus(com.google.rpc.Status value) {
        *
        * .google.rpc.Status status = 2;
        */
-      public Builder setStatus(
-          com.google.rpc.Status.Builder builderForValue) {
+      public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
         if (statusBuilder_ == null) {
           status_ = builderForValue.build();
           onChanged();
@@ -877,6 +980,8 @@ public Builder setStatus(
         return this;
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -887,8 +992,7 @@ public Builder setStatus(
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
           if (status_ != null) {
-            status_ =
-              com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+            status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
           } else {
             status_ = value;
           }
@@ -900,6 +1004,8 @@ public Builder mergeStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -919,6 +1025,8 @@ public Builder clearStatus() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -927,11 +1035,13 @@ public Builder clearStatus() {
        * .google.rpc.Status status = 2;
        */
       public com.google.rpc.Status.Builder getStatusBuilder() {
-        
+
         onChanged();
         return getStatusFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -943,11 +1053,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
         if (statusBuilder_ != null) {
           return statusBuilder_.getMessageOrBuilder();
         } else {
-          return status_ == null ?
-              com.google.rpc.Status.getDefaultInstance() : status_;
+          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
         }
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -956,18 +1067,19 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        * .google.rpc.Status status = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
           getStatusFieldBuilder() {
         if (statusBuilder_ == null) {
-          statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                  getStatus(),
-                  getParentForChildren(),
-                  isClean());
+          statusBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.rpc.Status,
+                  com.google.rpc.Status.Builder,
+                  com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
           status_ = null;
         }
         return statusBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -980,41 +1092,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
-    private static final com.google.cloud.talent.v4beta1.JobOperationResult.JobResult DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult();
     }
 
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public JobResult parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public JobResult parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1026,78 +1141,96 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override - public java.util.List getJobResultsList() { + public java.util.List + getJobResultsList() { return jobResults_; } /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> getJobResultsOrBuilderList() { return jobResults_; } /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override public int getJobResultsCount() { return jobResults_.size(); } /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index) { return jobResults_.get(index); } /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder + getJobResultsOrBuilder(int index) { return jobResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1109,8 +1242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < jobResults_.size(); i++) { output.writeMessage(1, jobResults_.get(i)); } @@ -1124,8 +1256,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, jobResults_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1135,15 +1266,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobOperationResult)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.JobOperationResult other = (com.google.cloud.talent.v4beta1.JobOperationResult) obj; + com.google.cloud.talent.v4beta1.JobOperationResult other = + (com.google.cloud.talent.v4beta1.JobOperationResult) obj; - if (!getJobResultsList() - .equals(other.getJobResultsList())) return false; + if (!getJobResultsList().equals(other.getJobResultsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1165,96 +1296,103 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobOperationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
    * [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
@@ -1263,33 +1401,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobOperationResult)
       com.google.cloud.talent.v4beta1.JobOperationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.JobServiceProto
+          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.JobServiceProto
+          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.JobOperationResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
+              com.google.cloud.talent.v4beta1.JobOperationResult.class,
+              com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.JobOperationResult.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1304,9 +1441,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.JobServiceProto
+          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
     }
 
     @java.lang.Override
@@ -1325,7 +1462,8 @@ public com.google.cloud.talent.v4beta1.JobOperationResult build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.JobOperationResult buildPartial() {
-      com.google.cloud.talent.v4beta1.JobOperationResult result = new com.google.cloud.talent.v4beta1.JobOperationResult(this);
+      com.google.cloud.talent.v4beta1.JobOperationResult result =
+          new com.google.cloud.talent.v4beta1.JobOperationResult(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1344,38 +1482,39 @@ public com.google.cloud.talent.v4beta1.JobOperationResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.JobOperationResult) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1383,7 +1522,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult other) {
-      if (other == com.google.cloud.talent.v4beta1.JobOperationResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4beta1.JobOperationResult.getDefaultInstance())
+        return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -1402,9 +1542,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getJobResultsFieldBuilder() : null;
+            jobResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getJobResultsFieldBuilder()
+                    : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -1436,25 +1577,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.talent.v4beta1.JobOperationResult.JobResult m =
-                  input.readMessage(
-                      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.parser(),
-                      extensionRegistry);
-              if (jobResultsBuilder_ == null) {
-                ensureJobResultsIsMutable();
-                jobResults_.add(m);
-              } else {
-                jobResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.talent.v4beta1.JobOperationResult.JobResult m =
+                    input.readMessage(
+                        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.parser(),
+                        extensionRegistry);
+                if (jobResultsBuilder_ == null) {
+                  ensureJobResultsIsMutable();
+                  jobResults_.add(m);
+                } else {
+                  jobResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1464,29 +1607,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List jobResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        jobResults_ = java.util.Collections.emptyList();
+
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        jobResults_ = new java.util.ArrayList(jobResults_);
+        jobResults_ =
+            new java.util.ArrayList(
+                jobResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> jobResultsBuilder_;
+            com.google.cloud.talent.v4beta1.JobOperationResult.JobResult,
+            com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder,
+            com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>
+        jobResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public java.util.List getJobResultsList() { + public java.util.List + getJobResultsList() { if (jobResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(jobResults_); } else { @@ -1494,12 +1648,15 @@ public java.util.List * List of job mutation results from a batch mutate operation. It can change * until operation status is FINISHED, FAILED or CANCELLED. *
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public int getJobResultsCount() { if (jobResultsBuilder_ == null) { @@ -1509,12 +1666,15 @@ public int getJobResultsCount() { } } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index) { if (jobResultsBuilder_ == null) { @@ -1524,12 +1684,15 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResult } } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder setJobResults( int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { @@ -1546,15 +1709,19 @@ public Builder setJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder setJobResults( - int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); jobResults_.set(index, builderForValue.build()); @@ -1565,14 +1732,18 @@ public Builder setJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public Builder addJobResults(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { + public Builder addJobResults( + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { if (jobResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1586,12 +1757,15 @@ public Builder addJobResults(com.google.cloud.talent.v4beta1.JobOperationResult. return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder addJobResults( int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { @@ -1608,12 +1782,15 @@ public Builder addJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder addJobResults( com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { @@ -1627,15 +1804,19 @@ public Builder addJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder addJobResults( - int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); jobResults_.add(index, builderForValue.build()); @@ -1646,19 +1827,22 @@ public Builder addJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder addAllJobResults( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_); onChanged(); } else { jobResultsBuilder_.addAllMessages(values); @@ -1666,12 +1850,15 @@ public Builder addAllJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder clearJobResults() { if (jobResultsBuilder_ == null) { @@ -1684,12 +1871,15 @@ public Builder clearJobResults() { return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder removeJobResults(int index) { if (jobResultsBuilder_ == null) { @@ -1702,42 +1892,53 @@ public Builder removeJobResults(int index) { return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder getJobResultsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder + getJobResultsBuilder(int index) { return getJobResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder + getJobResultsOrBuilder(int index) { if (jobResultsBuilder_ == null) { - return jobResults_.get(index); } else { + return jobResults_.get(index); + } else { return jobResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public java.util.List - getJobResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> + getJobResultsOrBuilderList() { if (jobResultsBuilder_ != null) { return jobResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1745,59 +1946,75 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder get } } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder addJobResultsBuilder() { - return getJobResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder + addJobResultsBuilder() { + return getJobResultsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder addJobResultsBuilder( - int index) { - return getJobResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder + addJobResultsBuilder(int index) { + return getJobResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public java.util.List - getJobResultsBuilderList() { + public java.util.List + getJobResultsBuilderList() { return getJobResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> getJobResultsFieldBuilder() { if (jobResultsBuilder_ == null) { - jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>( - jobResults_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>( + jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobResults_ = null; } return jobResultsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1807,12 +2024,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobOperationResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobOperationResult) private static final com.google.cloud.talent.v4beta1.JobOperationResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobOperationResult(); } @@ -1821,27 +2038,27 @@ public static com.google.cloud.talent.v4beta1.JobOperationResult getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobOperationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobOperationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1856,6 +2073,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobOperationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java index 059dda3272f9..213ed5f5aa39 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java @@ -1,57 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface JobOperationResultOrBuilder extends +public interface JobOperationResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobOperationResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - java.util.List - getJobResultsList(); + java.util.List getJobResultsList(); /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index); /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ int getJobResultsCount(); /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - java.util.List + java.util.List getJobResultsOrBuilderList(); /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( int index); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java similarity index 90% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java index b161568826c6..65c621323f8c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job.proto package com.google.cloud.talent.v4beta1; -public interface JobOrBuilder extends +public interface JobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -22,10 +40,13 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -40,12 +61,14 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -55,11 +78,16 @@ public interface JobOrBuilder extends
    * example, "projects/foo/companies/bar".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ java.lang.String getCompany(); /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -69,13 +97,17 @@ public interface JobOrBuilder extends
    * example, "projects/foo/companies/bar".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ - com.google.protobuf.ByteString - getCompanyBytes(); + com.google.protobuf.ByteString getCompanyBytes(); /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -86,10 +118,13 @@ public interface JobOrBuilder extends
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ java.lang.String getRequisitionId(); /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -100,34 +135,41 @@ public interface JobOrBuilder extends
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ - com.google.protobuf.ByteString - getRequisitionIdBytes(); + com.google.protobuf.ByteString getRequisitionIdBytes(); /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -140,10 +182,13 @@ public interface JobOrBuilder extends
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -156,12 +201,14 @@ public interface JobOrBuilder extends
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -179,11 +226,13 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - java.util.List - getAddressesList(); + java.util.List getAddressesList(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -201,10 +250,13 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ int getAddressesCount(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -222,11 +274,14 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ java.lang.String getAddresses(int index); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -244,31 +299,39 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - com.google.protobuf.ByteString - getAddressesBytes(int index); + com.google.protobuf.ByteString getAddressesBytes(int index); /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ boolean hasApplicationInfo(); /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo(); /** + * + * *
    * Job application information.
    * 
@@ -278,75 +341,97 @@ public interface JobOrBuilder extends com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ java.util.List getJobBenefitsList(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ int getJobBenefitsCount(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - java.util.List - getJobBenefitsValueList(); + java.util.List getJobBenefitsValueList(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ int getJobBenefitsValue(int index); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ boolean hasCompensationInfo(); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo(); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -357,6 +442,8 @@ public interface JobOrBuilder extends
   com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -370,10 +457,13 @@ public interface JobOrBuilder extends
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ int getCustomAttributesCount(); /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -387,17 +477,17 @@ public interface JobOrBuilder extends
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - */ - boolean containsCustomAttributes( - java.lang.String key); - /** - * Use {@link #getCustomAttributesMap()} instead. + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ + boolean containsCustomAttributes(java.lang.String key); + /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map - getCustomAttributes(); + getCustomAttributes(); /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -411,11 +501,14 @@ boolean containsCustomAttributes(
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ java.util.Map - getCustomAttributesMap(); + getCustomAttributesMap(); /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -429,15 +522,18 @@ boolean containsCustomAttributes(
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ /* nullable */ -com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( + com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.talent.v4beta1.CustomAttribute defaultValue); + com.google.cloud.talent.v4beta1.CustomAttribute defaultValue); /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -451,62 +547,77 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - - com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( - java.lang.String key); + com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(java.lang.String key); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ java.util.List getDegreeTypesList(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ int getDegreeTypesCount(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - java.util.List - getDegreeTypesValueList(); + java.util.List getDegreeTypesValueList(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ int getDegreeTypesValue(int index); /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -514,10 +625,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string department = 12; + * * @return The department. */ java.lang.String getDepartment(); /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -525,12 +639,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string department = 12; + * * @return The bytes for department. */ - com.google.protobuf.ByteString - getDepartmentBytes(); + com.google.protobuf.ByteString getDepartmentBytes(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -538,10 +654,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -549,10 +668,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -560,11 +682,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -572,11 +697,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List - getEmploymentTypesValueList(); + java.util.List getEmploymentTypesValueList(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -584,12 +711,15 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -597,10 +727,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string incentives = 14; + * * @return The incentives. */ java.lang.String getIncentives(); /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -608,12 +741,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string incentives = 14; + * * @return The bytes for incentives. */ - com.google.protobuf.ByteString - getIncentivesBytes(); + com.google.protobuf.ByteString getIncentivesBytes(); /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -627,10 +762,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string language_code = 15; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -644,31 +782,39 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ int getJobLevelValue(); /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The jobLevel. */ com.google.cloud.talent.v4beta1.JobLevel getJobLevel(); /** + * + * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -679,11 +825,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ int getPromotionValue(); /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -694,10 +843,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string qualifications = 18; + * * @return The qualifications. */ java.lang.String getQualifications(); /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -708,12 +860,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ - com.google.protobuf.ByteString - getQualificationsBytes(); + com.google.protobuf.ByteString getQualificationsBytes(); /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -724,10 +878,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string responsibilities = 19; + * * @return The responsibilities. */ java.lang.String getResponsibilities(); /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -738,12 +895,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ - com.google.protobuf.ByteString - getResponsibilitiesBytes(); + com.google.protobuf.ByteString getResponsibilitiesBytes(); /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -755,10 +914,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ int getPostingRegionValue(); /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -770,11 +932,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The postingRegion. */ com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion(); /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -782,12 +947,16 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Deprecated int getVisibilityValue(); + @java.lang.Deprecated + int getVisibilityValue(); /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -795,33 +964,43 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ - @java.lang.Deprecated com.google.cloud.talent.v4beta1.Visibility getVisibility(); + @java.lang.Deprecated + com.google.cloud.talent.v4beta1.Visibility getVisibility(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ boolean hasJobStartTime(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ com.google.protobuf.Timestamp getJobStartTime(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -832,26 +1011,34 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ boolean hasJobEndTime(); /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ com.google.protobuf.Timestamp getJobEndTime(); /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -862,6 +1049,8 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -869,10 +1058,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ boolean hasPostingPublishTime(); /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -880,10 +1072,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ com.google.protobuf.Timestamp getPostingPublishTime(); /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -895,6 +1090,8 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -934,10 +1131,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ boolean hasPostingExpireTime(); /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -977,10 +1177,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ com.google.protobuf.Timestamp getPostingExpireTime(); /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1024,125 +1227,180 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ boolean hasPostingCreateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ com.google.protobuf.Timestamp getPostingCreateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ boolean hasPostingUpdateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ com.google.protobuf.Timestamp getPostingUpdateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ java.lang.String getCompanyDisplayName(); /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ - com.google.protobuf.ByteString - getCompanyDisplayNameBytes(); + com.google.protobuf.ByteString getCompanyDisplayNameBytes(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ boolean hasProcessingOptions(); /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions(); /** + * + * *
    * Options for job processing.
    * 
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java similarity index 85% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java index 661ee23c84bf..9b86a69f74d1 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The query required to perform a search query.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobQuery} */ -public final class JobQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobQuery) JobQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobQuery.newBuilder() to construct. private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JobQuery() { query_ = ""; queryLanguageCode_ = ""; @@ -34,32 +52,35 @@ private JobQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JobQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobQuery.class, com.google.cloud.talent.v4beta1.JobQuery.Builder.class); + com.google.cloud.talent.v4beta1.JobQuery.class, + com.google.cloud.talent.v4beta1.JobQuery.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -67,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string query = 1; + * * @return The query. */ @java.lang.Override @@ -75,14 +97,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -90,16 +113,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 1; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -110,6 +132,8 @@ public java.lang.String getQuery() { public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object queryLanguageCode_; /** + * + * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -121,6 +145,7 @@ public java.lang.String getQuery() {
    * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ @java.lang.Override @@ -129,14 +154,15 @@ public java.lang.String getQueryLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; } } /** + * + * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -148,16 +174,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -168,6 +193,8 @@ public java.lang.String getQueryLanguageCode() { public static final int COMPANIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companies_; /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -183,13 +210,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList - getCompaniesList() { + public com.google.protobuf.ProtocolStringList getCompaniesList() { return companies_; } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -205,12 +234,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * repeated string companies = 2; + * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -226,6 +258,7 @@ public int getCompaniesCount() {
    * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -233,6 +266,8 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -248,17 +283,19 @@ public java.lang.String getCompanies(int index) {
    * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString - getCompaniesBytes(int index) { + public com.google.protobuf.ByteString getCompaniesBytes(int index) { return companies_.getByteString(index); } public static final int LOCATION_FILTERS_FIELD_NUMBER = 3; private java.util.List locationFilters_; /** + * + * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -278,6 +315,8 @@ public java.util.List getLocatio
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -293,11 +332,13 @@ public java.util.List getLocatio
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -317,6 +358,8 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -336,6 +379,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind
     return locationFilters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -359,16 +404,22 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
   public static final int JOB_CATEGORIES_FIELD_NUMBER = 4;
   private java.util.List jobCategories_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory> jobCategories_converter_ =
+          java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
+      jobCategories_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
             public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4beta1.JobCategory result = com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
-              return result == null ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED : result;
+              com.google.cloud.talent.v4beta1.JobCategory result =
+                  com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
+              return result == null
+                  ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
+                  : result;
             }
           };
   /**
+   *
+   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -378,14 +429,18 @@ public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer fro
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -395,6 +450,7 @@ public java.util.List getJobCategor
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ @java.lang.Override @@ -402,6 +458,8 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -411,6 +469,7 @@ public int getJobCategoriesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -419,6 +478,8 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -428,14 +489,16 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return jobCategories_; } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -445,6 +508,7 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -452,11 +516,14 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } + private int jobCategoriesMemoizedSerializedSize; public static final int COMMUTE_FILTER_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -466,6 +533,7 @@ public int getJobCategoriesValue(int index) {
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ @java.lang.Override @@ -473,6 +541,8 @@ public boolean hasCommuteFilter() { return commuteFilter_ != null; } /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -482,13 +552,18 @@ public boolean hasCommuteFilter() {
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter() { - return commuteFilter_ == null ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_; + return commuteFilter_ == null + ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() + : commuteFilter_; } /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -507,6 +582,8 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
   public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList companyDisplayNames_;
   /**
+   *
+   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -530,13 +607,15 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
    * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList - getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { return companyDisplayNames_; } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -560,12 +639,15 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
    * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -589,6 +671,7 @@ public int getCompanyDisplayNamesCount() {
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -596,6 +679,8 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -619,17 +704,19 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } public static final int COMPENSATION_FILTER_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -639,6 +726,7 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ @java.lang.Override @@ -646,6 +734,8 @@ public boolean hasCompensationFilter() { return compensationFilter_ != null; } /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -655,13 +745,18 @@ public boolean hasCompensationFilter() {
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter() { - return compensationFilter_ == null ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_; + return compensationFilter_ == null + ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() + : compensationFilter_; } /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -673,13 +768,16 @@ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(
    * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder() {
+  public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder
+      getCompensationFilterOrBuilder() {
     return getCompensationFilter();
   }
 
   public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER = 8;
   private volatile java.lang.Object customAttributeFilter_;
   /**
+   *
+   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -701,6 +799,7 @@ public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensati
    * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ @java.lang.Override @@ -709,14 +808,15 @@ public java.lang.String getCustomAttributeFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; } } /** + * + * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -738,16 +838,15 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -758,6 +857,8 @@ public java.lang.String getCustomAttributeFilter() { public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER = 9; private boolean disableSpellCheck_; /** + * + * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -766,6 +867,7 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ @java.lang.Override @@ -776,16 +878,22 @@ public boolean getDisableSpellCheck() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 10; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> + employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() { public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.EmploymentType result = com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.EmploymentType result = + com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -796,14 +904,18 @@ public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -814,6 +926,7 @@ public java.util.List getEmploym
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ @java.lang.Override @@ -821,6 +934,8 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -831,6 +946,7 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -839,6 +955,8 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -849,14 +967,16 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return employmentTypes_; } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -867,6 +987,7 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -874,11 +995,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } + private int employmentTypesMemoizedSerializedSize; public static final int LANGUAGE_CODES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList languageCodes_; /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -891,13 +1015,15 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_; } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -910,12 +1036,15 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -928,6 +1057,7 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -935,6 +1065,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -947,23 +1079,26 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER = 12; private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ @java.lang.Override @@ -971,19 +1106,26 @@ public boolean hasPublishTimeRange() { return publishTimeRange_ != null; } /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ @java.lang.Override public com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange() { - return publishTimeRange_ == null ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_; + return publishTimeRange_ == null + ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() + : publishTimeRange_; } /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -999,37 +1141,45 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
   public static final int EXCLUDED_JOBS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList excludedJobs_;
   /**
+   *
+   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList - getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList getExcludedJobsList() { return excludedJobs_; } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -1037,21 +1187,24 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString - getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1063,8 +1216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); @@ -1137,24 +1289,23 @@ public int getSerializedSize() { size += 1 * getCompaniesList().size(); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobCategoriesMemoizedSerializedSize = dataSize; } if (commuteFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCommuteFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteFilter()); } { int dataSize = 0; @@ -1165,27 +1316,26 @@ public int getSerializedSize() { size += 1 * getCompanyDisplayNamesList().size(); } if (compensationFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCompensationFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompensationFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customAttributeFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customAttributeFilter_); } if (disableSpellCheck_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, disableSpellCheck_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableSpellCheck_); } { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + employmentTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -1196,8 +1346,7 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (publishTimeRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getPublishTimeRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getPublishTimeRange()); } { int dataSize = 0; @@ -1218,48 +1367,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobQuery)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.JobQuery other = (com.google.cloud.talent.v4beta1.JobQuery) obj; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getQueryLanguageCode() - .equals(other.getQueryLanguageCode())) return false; - if (!getCompaniesList() - .equals(other.getCompaniesList())) return false; - if (!getLocationFiltersList() - .equals(other.getLocationFiltersList())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getQueryLanguageCode().equals(other.getQueryLanguageCode())) return false; + if (!getCompaniesList().equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - if (!getCommuteFilter() - .equals(other.getCommuteFilter())) return false; + if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; } - if (!getCompanyDisplayNamesList() - .equals(other.getCompanyDisplayNamesList())) return false; + if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - if (!getCompensationFilter() - .equals(other.getCompensationFilter())) return false; + if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; } - if (!getCustomAttributeFilter() - .equals(other.getCustomAttributeFilter())) return false; - if (getDisableSpellCheck() - != other.getDisableSpellCheck()) return false; + if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getLanguageCodesList() - .equals(other.getLanguageCodesList())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - if (!getPublishTimeRange() - .equals(other.getPublishTimeRange())) return false; + if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; } - if (!getExcludedJobsList() - .equals(other.getExcludedJobsList())) return false; + if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1302,8 +1439,7 @@ public int hashCode() { hash = (37 * hash) + CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER; hash = (53 * hash) + getCustomAttributeFilter().hashCode(); hash = (37 * hash) + DISABLE_SPELL_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableSpellCheck()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableSpellCheck()); if (getEmploymentTypesCount() > 0) { hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER; hash = (53 * hash) + employmentTypes_.hashCode(); @@ -1325,130 +1461,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The query required to perform a search query.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobQuery) com.google.cloud.talent.v4beta1.JobQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobQuery.class, com.google.cloud.talent.v4beta1.JobQuery.Builder.class); + com.google.cloud.talent.v4beta1.JobQuery.class, + com.google.cloud.talent.v4beta1.JobQuery.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.JobQuery.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1501,9 +1643,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override @@ -1522,7 +1664,8 @@ public com.google.cloud.talent.v4beta1.JobQuery build() { @java.lang.Override public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { - com.google.cloud.talent.v4beta1.JobQuery result = new com.google.cloud.talent.v4beta1.JobQuery(this); + com.google.cloud.talent.v4beta1.JobQuery result = + new com.google.cloud.talent.v4beta1.JobQuery(this); int from_bitField0_ = bitField0_; result.query_ = query_; result.queryLanguageCode_ = queryLanguageCode_; @@ -1590,38 +1733,39 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.JobQuery) { - return mergeFrom((com.google.cloud.talent.v4beta1.JobQuery)other); + return mergeFrom((com.google.cloud.talent.v4beta1.JobQuery) other); } else { super.mergeFrom(other); return this; @@ -1666,9 +1810,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobQuery other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000002); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationFiltersFieldBuilder() : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationFiltersFieldBuilder() + : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -1766,124 +1911,136 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - query_ = input.readStringRequireUtf8(); + case 10: + { + query_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompaniesIsMutable(); - companies_.add(s); - break; - } // case 18 - case 26: { - com.google.cloud.talent.v4beta1.LocationFilter m = - input.readMessage( - com.google.cloud.talent.v4beta1.LocationFilter.parser(), - extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - break; - } // case 32 - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompaniesIsMutable(); + companies_.add(s); + break; + } // case 18 + case 26: + { + com.google.cloud.talent.v4beta1.LocationFilter m = + input.readMessage( + com.google.cloud.talent.v4beta1.LocationFilter.parser(), extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: { - input.readMessage( - getCommuteFilterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 32 + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: + { + input.readMessage(getCommuteFilterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompanyDisplayNamesIsMutable(); - companyDisplayNames_.add(s); - break; - } // case 50 - case 58: { - input.readMessage( - getCompensationFilterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompanyDisplayNamesIsMutable(); + companyDisplayNames_.add(s); + break; + } // case 50 + case 58: + { + input.readMessage( + getCompensationFilterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 66: { - customAttributeFilter_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: + { + customAttributeFilter_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 72: { - disableSpellCheck_ = input.readBool(); + break; + } // case 66 + case 72: + { + disableSpellCheck_ = input.readBool(); - break; - } // case 72 - case 80: { - int tmpRaw = input.readEnum(); - ensureEmploymentTypesIsMutable(); - employmentTypes_.add(tmpRaw); - break; - } // case 80 - case 82: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 72 + case 80: + { int tmpRaw = input.readEnum(); ensureEmploymentTypesIsMutable(); employmentTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 82 - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 90 - case 98: { - input.readMessage( - getPublishTimeRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 80 + case 82: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEmploymentTypesIsMutable(); + employmentTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 82 + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 90 + case 98: + { + input.readMessage( + getPublishTimeRangeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludedJobsIsMutable(); - excludedJobs_.add(s); - break; - } // case 106 - case 114: { - queryLanguageCode_ = input.readStringRequireUtf8(); + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedJobsIsMutable(); + excludedJobs_.add(s); + break; + } // case 106 + case 114: + { + queryLanguageCode_ = input.readStringRequireUtf8(); - break; - } // case 114 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 114 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1893,10 +2050,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object query_ = ""; /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1904,13 +2064,13 @@ public Builder mergeFrom(
      * 
* * string query = 1; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1919,6 +2079,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1926,15 +2088,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1942,6 +2103,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1949,20 +2112,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1970,15 +2135,18 @@ public Builder setQuery(
      * 
* * string query = 1; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1986,16 +2154,16 @@ public Builder clearQuery() {
      * 
* * string query = 1; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -2003,6 +2171,8 @@ public Builder setQueryBytes( private java.lang.Object queryLanguageCode_ = ""; /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2014,13 +2184,13 @@ public Builder setQueryBytes(
      * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ public java.lang.String getQueryLanguageCode() { java.lang.Object ref = queryLanguageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; @@ -2029,6 +2199,8 @@ public java.lang.String getQueryLanguageCode() { } } /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2040,15 +2212,14 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ - public com.google.protobuf.ByteString - getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -2056,6 +2227,8 @@ public java.lang.String getQueryLanguageCode() { } } /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2067,20 +2240,22 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @param value The queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCode( - java.lang.String value) { + public Builder setQueryLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryLanguageCode_ = value; onChanged(); return this; } /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2092,15 +2267,18 @@ public Builder setQueryLanguageCode(
      * 
* * string query_language_code = 14; + * * @return This builder for chaining. */ public Builder clearQueryLanguageCode() { - + queryLanguageCode_ = getDefaultInstance().getQueryLanguageCode(); onChanged(); return this; } /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2112,29 +2290,33 @@ public Builder clearQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @param value The bytes for queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryLanguageCode_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList companies_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList companies_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2150,13 +2332,15 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList - getCompaniesList() { + public com.google.protobuf.ProtocolStringList getCompaniesList() { return companies_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2172,12 +2356,15 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; + * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2193,6 +2380,7 @@ public int getCompaniesCount() {
      * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -2200,6 +2388,8 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2215,14 +2405,16 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString - getCompaniesBytes(int index) { + public com.google.protobuf.ByteString getCompaniesBytes(int index) { return companies_.getByteString(index); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2238,21 +2430,23 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; + * * @param index The index to set the value at. * @param value The companies to set. * @return This builder for chaining. */ - public Builder setCompanies( - int index, java.lang.String value) { + public Builder setCompanies(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2268,20 +2462,22 @@ public Builder setCompanies(
      * 
* * repeated string companies = 2; + * * @param value The companies to add. * @return This builder for chaining. */ - public Builder addCompanies( - java.lang.String value) { + public Builder addCompanies(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2297,18 +2493,19 @@ public Builder addCompanies(
      * 
* * repeated string companies = 2; + * * @param values The companies to add. * @return This builder for chaining. */ - public Builder addAllCompanies( - java.lang.Iterable values) { + public Builder addAllCompanies(java.lang.Iterable values) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2324,6 +2521,7 @@ public Builder addAllCompanies(
      * 
* * repeated string companies = 2; + * * @return This builder for chaining. */ public Builder clearCompanies() { @@ -2333,6 +2531,8 @@ public Builder clearCompanies() { return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2348,15 +2548,15 @@ public Builder clearCompanies() {
      * 
* * repeated string companies = 2; + * * @param value The bytes of the companies to add. * @return This builder for chaining. */ - public Builder addCompaniesBytes( - com.google.protobuf.ByteString value) { + public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompaniesIsMutable(); companies_.add(value); onChanged(); @@ -2364,18 +2564,26 @@ public Builder addCompaniesBytes( } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - locationFilters_ = new java.util.ArrayList(locationFilters_); + locationFilters_ = + new java.util.ArrayList( + locationFilters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> locationFiltersBuilder_; + com.google.cloud.talent.v4beta1.LocationFilter, + com.google.cloud.talent.v4beta1.LocationFilter.Builder, + com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> + locationFiltersBuilder_; /** + * + * *
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2398,6 +2606,8 @@ public java.util.List getLocatio
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2420,6 +2630,8 @@ public int getLocationFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2442,6 +2654,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2471,6 +2685,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2497,6 +2713,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2525,6 +2743,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.LocationFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2554,6 +2774,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2580,6 +2802,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2606,6 +2830,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2624,8 +2850,7 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -2633,6 +2858,8 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2658,6 +2885,8 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2683,6 +2912,8 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2702,6 +2933,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2719,11 +2952,14 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters
     public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);  } else {
+        return locationFilters_.get(index);
+      } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2738,8 +2974,8 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
      *
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
-    public java.util.List 
-         getLocationFiltersOrBuilderList() {
+    public java.util.List
+        getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2747,6 +2983,8 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2762,10 +3000,12 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
     public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2782,10 +3022,12 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
      */
     public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFiltersBuilder(
         int index) {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2800,16 +3042,22 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
      *
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
-    public java.util.List 
-         getLocationFiltersBuilderList() {
+    public java.util.List
+        getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> 
+            com.google.cloud.talent.v4beta1.LocationFilter,
+            com.google.cloud.talent.v4beta1.LocationFilter.Builder,
+            com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>(
+        locationFiltersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.LocationFilter,
+                com.google.cloud.talent.v4beta1.LocationFilter.Builder,
+                com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2819,8 +3067,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
       return locationFiltersBuilder_;
     }
 
-    private java.util.List jobCategories_ =
-      java.util.Collections.emptyList();
+    private java.util.List jobCategories_ = java.util.Collections.emptyList();
+
     private void ensureJobCategoriesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2828,6 +3076,8 @@ private void ensureJobCategoriesIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2837,13 +3087,17 @@ private void ensureJobCategoriesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2853,12 +3107,15 @@ public java.util.List getJobCategor
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2868,6 +3125,7 @@ public int getJobCategoriesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2875,6 +3133,8 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2884,12 +3144,12 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories( - int index, com.google.cloud.talent.v4beta1.JobCategory value) { + public Builder setJobCategories(int index, com.google.cloud.talent.v4beta1.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2899,6 +3159,8 @@ public Builder setJobCategories( return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2908,6 +3170,7 @@ public Builder setJobCategories(
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2921,6 +3184,8 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2930,6 +3195,7 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2943,6 +3209,8 @@ public Builder addAllJobCategories( return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2952,6 +3220,7 @@ public Builder addAllJobCategories(
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2961,6 +3230,8 @@ public Builder clearJobCategories() { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2970,13 +3241,15 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2986,6 +3259,7 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2993,6 +3267,8 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3002,18 +3278,20 @@ public int getJobCategoriesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue( - int index, int value) { + public Builder setJobCategoriesValue(int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3023,6 +3301,7 @@ public Builder setJobCategoriesValue(
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -3033,6 +3312,8 @@ public Builder addJobCategoriesValue(int value) { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3042,11 +3323,11 @@ public Builder addJobCategoriesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue( - java.lang.Iterable values) { + public Builder addAllJobCategoriesValue(java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -3057,8 +3338,13 @@ public Builder addAllJobCategoriesValue( private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> commuteFilterBuilder_; + com.google.cloud.talent.v4beta1.CommuteFilter, + com.google.cloud.talent.v4beta1.CommuteFilter.Builder, + com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> + commuteFilterBuilder_; /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3068,12 +3354,15 @@ public Builder addAllJobCategoriesValue(
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ public boolean hasCommuteFilter() { return commuteFilterBuilder_ != null || commuteFilter_ != null; } /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3083,16 +3372,21 @@ public boolean hasCommuteFilter() {
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ public com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter() { if (commuteFilterBuilder_ == null) { - return commuteFilter_ == null ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_; + return commuteFilter_ == null + ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() + : commuteFilter_; } else { return commuteFilterBuilder_.getMessage(); } } /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3117,6 +3411,8 @@ public Builder setCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter va
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3139,6 +3435,8 @@ public Builder setCommuteFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3153,7 +3451,9 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter
       if (commuteFilterBuilder_ == null) {
         if (commuteFilter_ != null) {
           commuteFilter_ =
-            com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder(commuteFilter_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder(commuteFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           commuteFilter_ = value;
         }
@@ -3165,6 +3465,8 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3187,6 +3489,8 @@ public Builder clearCommuteFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3198,11 +3502,13 @@ public Builder clearCommuteFilter() {
      * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
      */
     public com.google.cloud.talent.v4beta1.CommuteFilter.Builder getCommuteFilterBuilder() {
-      
+
       onChanged();
       return getCommuteFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3217,11 +3523,14 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
       if (commuteFilterBuilder_ != null) {
         return commuteFilterBuilder_.getMessageOrBuilder();
       } else {
-        return commuteFilter_ == null ?
-            com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_;
+        return commuteFilter_ == null
+            ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance()
+            : commuteFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3233,27 +3542,34 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
      * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> 
+            com.google.cloud.talent.v4beta1.CommuteFilter,
+            com.google.cloud.talent.v4beta1.CommuteFilter.Builder,
+            com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>
         getCommuteFilterFieldBuilder() {
       if (commuteFilterBuilder_ == null) {
-        commuteFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>(
-                getCommuteFilter(),
-                getParentForChildren(),
-                isClean());
+        commuteFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.CommuteFilter,
+                com.google.cloud.talent.v4beta1.CommuteFilter.Builder,
+                com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>(
+                getCommuteFilter(), getParentForChildren(), isClean());
         commuteFilter_ = null;
       }
       return commuteFilterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList companyDisplayNames_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureCompanyDisplayNamesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3277,13 +3593,15 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList - getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { return companyDisplayNames_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3307,12 +3625,15 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3336,6 +3657,7 @@ public int getCompanyDisplayNamesCount() {
      * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -3343,6 +3665,8 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3366,14 +3690,16 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3397,21 +3723,23 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; + * * @param index The index to set the value at. * @param value The companyDisplayNames to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNames( - int index, java.lang.String value) { + public Builder setCompanyDisplayNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3435,20 +3763,22 @@ public Builder setCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @param value The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNames( - java.lang.String value) { + public Builder addCompanyDisplayNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3472,18 +3802,19 @@ public Builder addCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @param values The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addAllCompanyDisplayNames( - java.lang.Iterable values) { + public Builder addAllCompanyDisplayNames(java.lang.Iterable values) { ensureCompanyDisplayNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companyDisplayNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companyDisplayNames_); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3507,6 +3838,7 @@ public Builder addAllCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @return This builder for chaining. */ public Builder clearCompanyDisplayNames() { @@ -3516,6 +3848,8 @@ public Builder clearCompanyDisplayNames() { return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3539,15 +3873,15 @@ public Builder clearCompanyDisplayNames() {
      * 
* * repeated string company_display_names = 6; + * * @param value The bytes of the companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); @@ -3556,8 +3890,13 @@ public Builder addCompanyDisplayNamesBytes( private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> compensationFilterBuilder_; + com.google.cloud.talent.v4beta1.CompensationFilter, + com.google.cloud.talent.v4beta1.CompensationFilter.Builder, + com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> + compensationFilterBuilder_; /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3567,12 +3906,15 @@ public Builder addCompanyDisplayNamesBytes(
      * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ public boolean hasCompensationFilter() { return compensationFilterBuilder_ != null || compensationFilter_ != null; } /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3582,16 +3924,21 @@ public boolean hasCompensationFilter() {
      * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter() { if (compensationFilterBuilder_ == null) { - return compensationFilter_ == null ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_; + return compensationFilter_ == null + ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() + : compensationFilter_; } else { return compensationFilterBuilder_.getMessage(); } } /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3616,6 +3963,8 @@ public Builder setCompensationFilter(com.google.cloud.talent.v4beta1.Compensatio
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3638,6 +3987,8 @@ public Builder setCompensationFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3648,11 +3999,14 @@ public Builder setCompensationFilter(
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public Builder mergeCompensationFilter(com.google.cloud.talent.v4beta1.CompensationFilter value) {
+    public Builder mergeCompensationFilter(
+        com.google.cloud.talent.v4beta1.CompensationFilter value) {
       if (compensationFilterBuilder_ == null) {
         if (compensationFilter_ != null) {
           compensationFilter_ =
-            com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder(compensationFilter_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder(compensationFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           compensationFilter_ = value;
         }
@@ -3664,6 +4018,8 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4beta1.Compensat
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3686,6 +4042,8 @@ public Builder clearCompensationFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3696,12 +4054,15 @@ public Builder clearCompensationFilter() {
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public com.google.cloud.talent.v4beta1.CompensationFilter.Builder getCompensationFilterBuilder() {
-      
+    public com.google.cloud.talent.v4beta1.CompensationFilter.Builder
+        getCompensationFilterBuilder() {
+
       onChanged();
       return getCompensationFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3712,15 +4073,19 @@ public com.google.cloud.talent.v4beta1.CompensationFilter.Builder getCompensatio
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder() {
+    public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder
+        getCompensationFilterOrBuilder() {
       if (compensationFilterBuilder_ != null) {
         return compensationFilterBuilder_.getMessageOrBuilder();
       } else {
-        return compensationFilter_ == null ?
-            com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_;
+        return compensationFilter_ == null
+            ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()
+            : compensationFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3732,14 +4097,17 @@ public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensati
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> 
+            com.google.cloud.talent.v4beta1.CompensationFilter,
+            com.google.cloud.talent.v4beta1.CompensationFilter.Builder,
+            com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>
         getCompensationFilterFieldBuilder() {
       if (compensationFilterBuilder_ == null) {
-        compensationFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>(
-                getCompensationFilter(),
-                getParentForChildren(),
-                isClean());
+        compensationFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.CompensationFilter,
+                com.google.cloud.talent.v4beta1.CompensationFilter.Builder,
+                com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>(
+                getCompensationFilter(), getParentForChildren(), isClean());
         compensationFilter_ = null;
       }
       return compensationFilterBuilder_;
@@ -3747,6 +4115,8 @@ public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensati
 
     private java.lang.Object customAttributeFilter_ = "";
     /**
+     *
+     *
      * 
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3768,13 +4138,13 @@ public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensati
      * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ public java.lang.String getCustomAttributeFilter() { java.lang.Object ref = customAttributeFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; @@ -3783,6 +4153,8 @@ public java.lang.String getCustomAttributeFilter() { } } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3804,15 +4176,14 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ - public com.google.protobuf.ByteString - getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -3820,6 +4191,8 @@ public java.lang.String getCustomAttributeFilter() { } } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3841,20 +4214,22 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @param value The customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilter( - java.lang.String value) { + public Builder setCustomAttributeFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customAttributeFilter_ = value; onChanged(); return this; } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3876,15 +4251,18 @@ public Builder setCustomAttributeFilter(
      * 
* * string custom_attribute_filter = 8; + * * @return This builder for chaining. */ public Builder clearCustomAttributeFilter() { - + customAttributeFilter_ = getDefaultInstance().getCustomAttributeFilter(); onChanged(); return this; } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3906,23 +4284,25 @@ public Builder clearCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @param value The bytes for customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customAttributeFilter_ = value; onChanged(); return this; } - private boolean disableSpellCheck_ ; + private boolean disableSpellCheck_; /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3931,6 +4311,7 @@ public Builder setCustomAttributeFilterBytes(
      * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ @java.lang.Override @@ -3938,6 +4319,8 @@ public boolean getDisableSpellCheck() { return disableSpellCheck_; } /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3946,16 +4329,19 @@ public boolean getDisableSpellCheck() {
      * 
* * bool disable_spell_check = 9; + * * @param value The disableSpellCheck to set. * @return This builder for chaining. */ public Builder setDisableSpellCheck(boolean value) { - + disableSpellCheck_ = value; onChanged(); return this; } /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3964,17 +4350,18 @@ public Builder setDisableSpellCheck(boolean value) {
      * 
* * bool disable_spell_check = 9; + * * @return This builder for chaining. */ public Builder clearDisableSpellCheck() { - + disableSpellCheck_ = false; onChanged(); return this; } - private java.util.List employmentTypes_ = - java.util.Collections.emptyList(); + private java.util.List employmentTypes_ = java.util.Collections.emptyList(); + private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -3982,6 +4369,8 @@ private void ensureEmploymentTypesIsMutable() { } } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -3992,13 +4381,17 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4009,12 +4402,15 @@ public java.util.List getEmploym
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4025,6 +4421,7 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4032,6 +4429,8 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4042,6 +4441,7 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. @@ -4057,6 +4457,8 @@ public Builder setEmploymentTypes( return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4067,6 +4469,7 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -4080,6 +4483,8 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4090,6 +4495,7 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -4103,6 +4509,8 @@ public Builder addAllEmploymentTypes( return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4113,6 +4521,7 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -4122,6 +4531,8 @@ public Builder clearEmploymentTypes() { return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4132,13 +4543,15 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4149,6 +4562,7 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4156,6 +4570,8 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4166,18 +4582,20 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue( - int index, int value) { + public Builder setEmploymentTypesValue(int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4188,6 +4606,7 @@ public Builder setEmploymentTypesValue(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -4198,6 +4617,8 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4208,11 +4629,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue( - java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -4221,14 +4642,18 @@ public Builder addAllEmploymentTypesValue( return this; } - private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4241,13 +4666,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4260,12 +4687,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4278,6 +4708,7 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -4285,6 +4716,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4297,14 +4730,16 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4317,21 +4752,23 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; + * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes( - int index, java.lang.String value) { + public Builder setLanguageCodes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4344,20 +4781,22 @@ public Builder setLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes( - java.lang.String value) { + public Builder addLanguageCodes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4370,18 +4809,19 @@ public Builder addLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes( - java.lang.Iterable values) { + public Builder addAllLanguageCodes(java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4394,6 +4834,7 @@ public Builder addAllLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -4403,6 +4844,8 @@ public Builder clearLanguageCodes() { return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4415,15 +4858,15 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 11; + * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); @@ -4432,36 +4875,49 @@ public Builder addLanguageCodesBytes( private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> publishTimeRangeBuilder_; + com.google.cloud.talent.v4beta1.TimestampRange, + com.google.cloud.talent.v4beta1.TimestampRange.Builder, + com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> + publishTimeRangeBuilder_; /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ public boolean hasPublishTimeRange() { return publishTimeRangeBuilder_ != null || publishTimeRange_ != null; } /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ public com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange() { if (publishTimeRangeBuilder_ == null) { - return publishTimeRange_ == null ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_; + return publishTimeRange_ == null + ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() + : publishTimeRange_; } else { return publishTimeRangeBuilder_.getMessage(); } } /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4483,6 +4939,8 @@ public Builder setPublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRang
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4502,6 +4960,8 @@ public Builder setPublishTimeRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4513,7 +4973,9 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRa
       if (publishTimeRangeBuilder_ == null) {
         if (publishTimeRange_ != null) {
           publishTimeRange_ =
-            com.google.cloud.talent.v4beta1.TimestampRange.newBuilder(publishTimeRange_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.TimestampRange.newBuilder(publishTimeRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           publishTimeRange_ = value;
         }
@@ -4525,6 +4987,8 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRa
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4544,6 +5008,8 @@ public Builder clearPublishTimeRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4552,11 +5018,13 @@ public Builder clearPublishTimeRange() {
      * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
      */
     public com.google.cloud.talent.v4beta1.TimestampRange.Builder getPublishTimeRangeBuilder() {
-      
+
       onChanged();
       return getPublishTimeRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4568,11 +5036,14 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
       if (publishTimeRangeBuilder_ != null) {
         return publishTimeRangeBuilder_.getMessageOrBuilder();
       } else {
-        return publishTimeRange_ == null ?
-            com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_;
+        return publishTimeRange_ == null
+            ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance()
+            : publishTimeRange_;
       }
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4581,58 +5052,71 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
      * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> 
+            com.google.cloud.talent.v4beta1.TimestampRange,
+            com.google.cloud.talent.v4beta1.TimestampRange.Builder,
+            com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>
         getPublishTimeRangeFieldBuilder() {
       if (publishTimeRangeBuilder_ == null) {
-        publishTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>(
-                getPublishTimeRange(),
-                getParentForChildren(),
-                isClean());
+        publishTimeRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.TimestampRange,
+                com.google.cloud.talent.v4beta1.TimestampRange.Builder,
+                com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>(
+                getPublishTimeRange(), getParentForChildren(), isClean());
         publishTimeRange_ = null;
       }
       return publishTimeRangeBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList excludedJobs_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureExcludedJobsIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_);
         bitField0_ |= 0x00000040;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList - getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList getExcludedJobsList() { return excludedJobs_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -4640,85 +5124,95 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString - getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index to set the value at. * @param value The excludedJobs to set. * @return This builder for chaining. */ - public Builder setExcludedJobs( - int index, java.lang.String value) { + public Builder setExcludedJobs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param value The excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobs( - java.lang.String value) { + public Builder addExcludedJobs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param values The excludedJobs to add. * @return This builder for chaining. */ - public Builder addAllExcludedJobs( - java.lang.Iterable values) { + public Builder addAllExcludedJobs(java.lang.Iterable values) { ensureExcludedJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludedJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedJobs_); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return This builder for chaining. */ public Builder clearExcludedJobs() { @@ -4728,29 +5222,31 @@ public Builder clearExcludedJobs() { return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param value The bytes of the excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobsBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4760,12 +5256,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobQuery) private static final com.google.cloud.talent.v4beta1.JobQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobQuery(); } @@ -4774,27 +5270,27 @@ public static com.google.cloud.talent.v4beta1.JobQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4809,6 +5305,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java similarity index 93% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java index 3e418b3128a9..2036ea0028aa 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface JobQueryOrBuilder extends +public interface JobQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -15,10 +33,13 @@ public interface JobQueryOrBuilder extends
    * 
* * string query = 1; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -26,12 +47,14 @@ public interface JobQueryOrBuilder extends
    * 
* * string query = 1; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -43,10 +66,13 @@ public interface JobQueryOrBuilder extends
    * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ java.lang.String getQueryLanguageCode(); /** + * + * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -58,12 +84,14 @@ public interface JobQueryOrBuilder extends
    * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ - com.google.protobuf.ByteString - getQueryLanguageCodeBytes(); + com.google.protobuf.ByteString getQueryLanguageCodeBytes(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -79,11 +107,13 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - java.util.List - getCompaniesList(); + java.util.List getCompaniesList(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -99,10 +129,13 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @return The count of companies. */ int getCompaniesCount(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -118,11 +151,14 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ java.lang.String getCompanies(int index); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -138,13 +174,15 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - com.google.protobuf.ByteString - getCompaniesBytes(int index); + com.google.protobuf.ByteString getCompaniesBytes(int index); /** + * + * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -159,9 +197,10 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  java.util.List 
-      getLocationFiltersList();
+  java.util.List getLocationFiltersList();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -178,6 +217,8 @@ public interface JobQueryOrBuilder extends
    */
   com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int index);
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -194,6 +235,8 @@ public interface JobQueryOrBuilder extends
    */
   int getLocationFiltersCount();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -208,9 +251,11 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  java.util.List 
+  java.util.List
       getLocationFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -225,10 +270,11 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(
-      int index);
+  com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -238,10 +284,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -251,10 +300,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -264,11 +316,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -278,11 +333,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List - getJobCategoriesValueList(); + java.util.List getJobCategoriesValueList(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -292,12 +349,15 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -307,10 +367,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ boolean hasCommuteFilter(); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -320,10 +383,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter(); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -337,6 +403,8 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
   com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -360,11 +428,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - java.util.List - getCompanyDisplayNamesList(); + java.util.List getCompanyDisplayNamesList(); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -388,10 +458,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ int getCompanyDisplayNamesCount(); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -415,11 +488,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ java.lang.String getCompanyDisplayNames(int index); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -443,13 +519,15 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index); + com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -459,10 +537,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ boolean hasCompensationFilter(); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -472,10 +553,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -489,6 +573,8 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
   com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -510,10 +596,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ java.lang.String getCustomAttributeFilter(); /** + * + * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -535,12 +624,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ - com.google.protobuf.ByteString - getCustomAttributeFilterBytes(); + com.google.protobuf.ByteString getCustomAttributeFilterBytes(); /** + * + * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -549,11 +640,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ boolean getDisableSpellCheck(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -564,10 +658,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -578,10 +675,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -592,11 +692,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -607,11 +710,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List - getEmploymentTypesValueList(); + java.util.List getEmploymentTypesValueList(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -622,12 +727,15 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -640,11 +748,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - java.util.List - getLanguageCodesList(); + java.util.List getLanguageCodesList(); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -657,10 +767,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -673,11 +786,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -690,33 +806,41 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString - getLanguageCodesBytes(int index); + com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ boolean hasPublishTimeRange(); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange(); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -727,47 +851,57 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
   com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - java.util.List - getExcludedJobsList(); + java.util.List getExcludedJobsList(); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ int getExcludedJobsCount(); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ java.lang.String getExcludedJobs(int index); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - com.google.protobuf.ByteString - getExcludedJobsBytes(int index); + com.google.protobuf.ByteString getExcludedJobsBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java new file mode 100644 index 000000000000..8985ac656fd0 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java @@ -0,0 +1,211 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job.proto + +package com.google.cloud.talent.v4beta1; + +public final class JobResourceProto { + private JobResourceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n%google/cloud/talent/v4beta1/job.proto\022" + + "\033google.cloud.talent.v4beta1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032(google/cloud/talent/v4beta1/co" + + "mmon.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\340\017\n\003Job\022\014\n\004name\030\001 \001(\t\0224\n\007company\030\002 \001" + + "(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Company\022" + + "\033\n\016requisition_id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 " + + "\001(\tB\003\340A\002\022\030\n\013description\030\005 \001(\tB\003\340A\002\022\021\n\tad" + + "dresses\030\006 \003(\t\022J\n\020application_info\030\007 \001(\0132" + + "0.google.cloud.talent.v4beta1.Job.Applic" + + "ationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.google" + + ".cloud.talent.v4beta1.JobBenefit\022H\n\021comp" + + "ensation_info\030\t \001(\0132-.google.cloud.talen" + + "t.v4beta1.CompensationInfo\022Q\n\021custom_att" + + "ributes\030\n \003(\01326.google.cloud.talent.v4be" + + "ta1.Job.CustomAttributesEntry\022=\n\014degree_" + + "types\030\013 \003(\0162\'.google.cloud.talent.v4beta" + + "1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020empl" + + "oyment_types\030\r \003(\0162+.google.cloud.talent" + + ".v4beta1.EmploymentType\022\022\n\nincentives\030\016 " + + "\001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_level\030" + + "\020 \001(\0162%.google.cloud.talent.v4beta1.JobL" + + "evel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qualifi" + + "cations\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022" + + "B\n\016posting_region\030\024 \001(\0162*.google.cloud.t" + + "alent.v4beta1.PostingRegion\022?\n\nvisibilit" + + "y\030\025 \001(\0162\'.google.cloud.talent.v4beta1.Vi" + + "sibilityB\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\0220\n\014job_end_time" + + "\030\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024po" + + "sting_publish_time\030\030 \001(\0132\032.google.protob" + + "uf.Timestamp\0227\n\023posting_expire_time\030\031 \001(" + + "\0132\032.google.protobuf.Timestamp\022<\n\023posting" + + "_create_time\030\032 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022<\n\023posting_update_time\030\033 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022!\n\024com" + + "pany_display_name\030\034 \001(\tB\003\340A\003\022G\n\014derived_" + + "info\030\035 \001(\0132,.google.cloud.talent.v4beta1" + + ".Job.DerivedInfoB\003\340A\003\022N\n\022processing_opti" + + "ons\030\036 \001(\01322.google.cloud.talent.v4beta1." + + "Job.ProcessingOptions\032D\n\017ApplicationInfo" + + "\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 \001(\t\022\014\n" + + "\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tlocations" + + "\030\001 \003(\0132%.google.cloud.talent.v4beta1.Loc" + + "ation\022@\n\016job_categories\030\003 \003(\0162(.google.c" + + "loud.talent.v4beta1.JobCategory\032\210\001\n\021Proc" + + "essingOptions\022)\n!disable_street_address_" + + "resolution\030\001 \001(\010\022H\n\021html_sanitization\030\002 " + + "\001(\0162-.google.cloud.talent.v4beta1.HtmlSa" + + "nitization\032e\n\025CustomAttributesEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.t" + + "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" + + "jobs.googleapis.com/Job\022.projects/{proje" + + "ct}/tenants/{tenant}/jobs/{job}\022\035project" + + "s/{project}/jobs/{job}B~\n\037com.google.clo" + + "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Job_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_descriptor, + new java.lang.String[] { + "Name", + "Company", + "RequisitionId", + "Title", + "Description", + "Addresses", + "ApplicationInfo", + "JobBenefits", + "CompensationInfo", + "CustomAttributes", + "DegreeTypes", + "Department", + "EmploymentTypes", + "Incentives", + "LanguageCode", + "JobLevel", + "PromotionValue", + "Qualifications", + "Responsibilities", + "PostingRegion", + "Visibility", + "JobStartTime", + "JobEndTime", + "PostingPublishTime", + "PostingExpireTime", + "PostingCreateTime", + "PostingUpdateTime", + "CompanyDisplayName", + "DerivedInfo", + "ProcessingOptions", + }); + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor, + new java.lang.String[] { + "Emails", "Instruction", "Uris", + }); + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor, + new java.lang.String[] { + "Locations", "JobCategories", + }); + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor, + new java.lang.String[] { + "DisableStreetAddressResolution", "HtmlSanitization", + }); + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java new file mode 100644 index 000000000000..e513814b921c --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java @@ -0,0 +1,479 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class JobServiceProto { + private JobServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/talent/v4beta1/job_servic" + + "e.proto\022\033google.cloud.talent.v4beta1\032\034go" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032(google/" + + "cloud/talent/v4beta1/common.proto\032)googl" + + "e/cloud/talent/v4beta1/filters.proto\032+go" + + "ogle/cloud/talent/v4beta1/histogram.prot" + + "o\032%google/cloud/talent/v4beta1/job.proto" + + "\032#google/longrunning/operations.proto\032\036g" + + "oogle/protobuf/duration.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\027google/rpc/status.proto\"w\n" + + "\020CreateJobRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A" + + "\031\022\027jobs.googleapis.com/Job\0222\n\003job\030\002 \001(\0132" + + " .google.cloud.talent.v4beta1.JobB\003\340A\002\">" + + "\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027j" + + "obs.googleapis.com/Job\"w\n\020UpdateJobReque" + + "st\0222\n\003job\030\001 \001(\0132 .google.cloud.talent.v4" + + "beta1.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" + + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" + + "is.com/Job\"^\n\026BatchDeleteJobsRequest\022/\n\006" + + "parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.co" + + "m/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\"\266\001\n\017ListJobsR" + + "equest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.goo" + + "gleapis.com/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\n" + + "page_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010j" + + "ob_view\030\005 \001(\0162$.google.cloud.talent.v4be" + + "ta1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs" + + "\030\001 \003(\0132 .google.cloud.talent.v4beta1.Job" + + "\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 " + + "\001(\0132-.google.cloud.talent.v4beta1.Respon" + + "seMetadata\"\273\013\n\021SearchJobsRequest\022/\n\006pare" + + "nt\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Jo" + + "b\022N\n\013search_mode\030\002 \001(\01629.google.cloud.ta" + + "lent.v4beta1.SearchJobsRequest.SearchMod" + + "e\022K\n\020request_metadata\030\003 \001(\0132,.google.clo" + + "ud.talent.v4beta1.RequestMetadataB\003\340A\002\0228" + + "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." + + "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " + + "\001(\010\022\'\n\033require_precise_result_size\030\006 \001(\010" + + "B\002\030\001\022F\n\021histogram_queries\030\007 \003(\0132+.google" + + ".cloud.talent.v4beta1.HistogramQuery\0226\n\010" + + "job_view\030\010 \001(\0162$.google.cloud.talent.v4b" + + "eta1.JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_siz" + + "e\030\n \001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030" + + "\014 \001(\t\022b\n\025diversification_level\030\r \001(\0162C.g" + + "oogle.cloud.talent.v4beta1.SearchJobsReq" + + "uest.DiversificationLevel\022]\n\023custom_rank" + + "ing_info\030\016 \001(\0132@.google.cloud.talent.v4b" + + "eta1.SearchJobsRequest.CustomRankingInfo" + + "\022\035\n\025disable_keyword_match\030\020 \001(\010\022[\n\022keywo" + + "rd_match_mode\030\022 \001(\0162?.google.cloud.talen" + + "t.v4beta1.SearchJobsRequest.KeywordMatch" + + "Mode\032\232\002\n\021CustomRankingInfo\022o\n\020importance" + + "_level\030\001 \001(\0162P.google.cloud.talent.v4bet" + + "a1.SearchJobsRequest.CustomRankingInfo.I" + + "mportanceLevelB\003\340A\002\022\037\n\022ranking_expressio" + + "n\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLevel\022 \n\034IMPOR" + + "TANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003L" + + "OW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007" + + "EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SEARCH_MODE_U" + + "NSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED" + + "_JOB_SEARCH\020\002\"W\n\024DiversificationLevel\022%\n" + + "!DIVERSIFICATION_LEVEL_UNSPECIFIED\020\000\022\014\n\010" + + "DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\207\001\n\020KeywordMatchM" + + "ode\022\"\n\036KEYWORD_MATCH_MODE_UNSPECIFIED\020\000\022" + + "\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n\021KEYWORD_M" + + "ATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TITLE_ONLY\020\003" + + "\"\327\006\n\022SearchJobsResponse\022R\n\rmatching_jobs" + + "\030\001 \003(\0132;.google.cloud.talent.v4beta1.Sea" + + "rchJobsResponse.MatchingJob\022R\n\027histogram" + + "_query_results\030\002 \003(\01321.google.cloud.tale" + + "nt.v4beta1.HistogramQueryResult\022\027\n\017next_" + + "page_token\030\003 \001(\t\022?\n\020location_filters\030\004 \003" + + "(\0132%.google.cloud.talent.v4beta1.Locatio" + + "n\022\034\n\024estimated_total_size\030\005 \001(\005\022\022\n\ntotal" + + "_size\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.c" + + "loud.talent.v4beta1.ResponseMetadata\022\"\n\032" + + "broadened_query_jobs_count\030\010 \001(\005\022I\n\020spel" + + "l_correction\030\t \001(\0132/.google.cloud.talent" + + ".v4beta1.SpellingCorrection\032\334\001\n\013Matching" + + "Job\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v" + + "4beta1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_t" + + "itle_snippet\030\003 \001(\t\022\033\n\023search_text_snippe" + + "t\030\004 \001(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.c" + + "loud.talent.v4beta1.SearchJobsResponse.C" + + "ommuteInfo\032~\n\013CommuteInfo\022;\n\014job_locatio" + + "n\030\001 \001(\0132%.google.cloud.talent.v4beta1.Lo" + + "cation\0222\n\017travel_duration\030\002 \001(\0132\031.google" + + ".protobuf.Duration\"~\n\026BatchCreateJobsReq" + + "uest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googl" + + "eapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .google.clo" + + "ud.talent.v4beta1.JobB\003\340A\002\"\257\001\n\026BatchUpda" + + "teJobsRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027j" + + "obs.googleapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .g" + + "oogle.cloud.talent.v4beta1.JobB\003\340A\002\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "Mask\"\304\001\n\022JobOperationResult\022N\n\013job_resul" + + "ts\030\001 \003(\01329.google.cloud.talent.v4beta1.J" + + "obOperationResult.JobResult\032^\n\tJobResult" + + "\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v4be" + + "ta1.Job\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + + "tus*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" + + "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" + + "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" + + "L\020\0042\316\022\n\nJobService\022\311\001\n\tCreateJob\022-.googl" + + "e.cloud.talent.v4beta1.CreateJobRequest\032" + + " .google.cloud.talent.v4beta1.Job\"k\202\323\344\223\002" + + "X\"+/v4beta1/{parent=projects/*/tenants/*" + + "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" + + "}/jobs:\001*\332A\nparent,job\022\233\002\n\017BatchCreateJo" + + "bs\0223.google.cloud.talent.v4beta1.BatchCr" + + "eateJobsRequest\032\035.google.longrunning.Ope" + + "ration\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projec" + + "ts/*/tenants/*}/jobs:batchCreate:\001*Z2\"-/" + + "v4beta1/{parent=projects/*}/jobs:batchCr" + + "eate:\001*\332A\013parent,jobs\312A,\n\022JobOperationRe" + + "sult\022\026BatchOperationMetadata\022\267\001\n\006GetJob\022" + + "*.google.cloud.talent.v4beta1.GetJobRequ" + + "est\032 .google.cloud.talent.v4beta1.Job\"_\202" + + "\323\344\223\002R\022+/v4beta1/{name=projects/*/tenants" + + "/*/jobs/*}Z#\022!/v4beta1/{name=projects/*/" + + "jobs/*}\332A\004name\022\312\001\n\tUpdateJob\022-.google.cl" + + "oud.talent.v4beta1.UpdateJobRequest\032 .go" + + "ogle.cloud.talent.v4beta1.Job\"l\202\323\344\223\002`2//" + + "v4beta1/{job.name=projects/*/tenants/*/j" + + "obs/*}:\001*Z*2%/v4beta1/{job.name=projects" + + "/*/jobs/*}:\001*\332A\003job\022\233\002\n\017BatchUpdateJobs\022" + + "3.google.cloud.talent.v4beta1.BatchUpdat" + + "eJobsRequest\032\035.google.longrunning.Operat" + + "ion\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projects/" + + "*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/v4b" + + "eta1/{parent=projects/*}/jobs:batchUpdat" + + "e:\001*\332A\013parent,jobs\312A,\n\022JobOperationResul" + + "t\022\026BatchOperationMetadata\022\263\001\n\tDeleteJob\022" + + "-.google.cloud.talent.v4beta1.DeleteJobR" + + "equest\032\026.google.protobuf.Empty\"_\202\323\344\223\002R*+" + + "/v4beta1/{name=projects/*/tenants/*/jobs" + + "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}" + + "\332A\004name\022\344\001\n\017BatchDeleteJobs\0223.google.clo" + + "ud.talent.v4beta1.BatchDeleteJobsRequest" + + "\032\026.google.protobuf.Empty\"\203\001\202\323\344\223\002m\"7/v4be" + + "ta1/{parent=projects/*/tenants/*}/jobs:b" + + "atchDelete:\001*Z/\"-/v4beta1/{parent=projec" + + "ts/*}/jobs:batchDelete\332A\rparent,filter\022\321" + + "\001\n\010ListJobs\022,.google.cloud.talent.v4beta" + + "1.ListJobsRequest\032-.google.cloud.talent." + + "v4beta1.ListJobsResponse\"h\202\323\344\223\002R\022+/v4bet" + + "a1/{parent=projects/*/tenants/*}/jobsZ#\022" + + "!/v4beta1/{parent=projects/*}/jobs\332A\rpar" + + "ent,filter\022\333\001\n\nSearchJobs\022..google.cloud" + + ".talent.v4beta1.SearchJobsRequest\032/.goog" + + "le.cloud.talent.v4beta1.SearchJobsRespon" + + "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/" + + "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p" + + "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea" + + "rchJobsForAlert\022..google.cloud.talent.v4" + + "beta1.SearchJobsRequest\032/.google.cloud.t" + + "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v" + + "\":/v4beta1/{parent=projects/*/tenants/*}" + + "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par" + + "ent=projects/*}/jobs:searchForAlert:\001*\032l" + + "\312A\023jobs.googleapis.com\322AShttps://www.goo" + + "gleapis.com/auth/cloud-platform,https://" + + "www.googleapis.com/auth/jobsB}\n\037com.goog" + + "le.cloud.talent.v4beta1B\017JobServiceProto" + + "P\001ZAgoogle.golang.org/genproto/googleapi" + + "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), + com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor, + new java.lang.String[] { + "Parent", "Job", + }); + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor, + new java.lang.String[] { + "Job", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", + }); + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageToken", "PageSize", "JobView", + }); + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor, + new java.lang.String[] { + "Jobs", "NextPageToken", "Metadata", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor, + new java.lang.String[] { + "Parent", + "SearchMode", + "RequestMetadata", + "JobQuery", + "EnableBroadening", + "RequirePreciseResultSize", + "HistogramQueries", + "JobView", + "Offset", + "PageSize", + "PageToken", + "OrderBy", + "DiversificationLevel", + "CustomRankingInfo", + "DisableKeywordMatch", + "KeywordMatchMode", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor, + new java.lang.String[] { + "ImportanceLevel", "RankingExpression", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor, + new java.lang.String[] { + "MatchingJobs", + "HistogramQueryResults", + "NextPageToken", + "LocationFilters", + "EstimatedTotalSize", + "TotalSize", + "Metadata", + "BroadenedQueryJobsCount", + "SpellCorrection", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor, + new java.lang.String[] { + "Job", "JobSummary", "JobTitleSnippet", "SearchTextSnippet", "CommuteInfo", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor, + new java.lang.String[] { + "JobLocation", "TravelDuration", + }); + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Jobs", + }); + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Jobs", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor, + new java.lang.String[] { + "JobResults", + }); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor = + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor, + new java.lang.String[] { + "Job", "Status", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); + com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java similarity index 79% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java index 7d4adaa7b35e..93c93013c8cf 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that specifies the job attributes that are returned in the
  * [MatchingJob.job][google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.job] or
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.JobView}
  */
-public enum JobView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -23,6 +41,8 @@ public enum JobView */ JOB_VIEW_UNSPECIFIED(0), /** + * + * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
@@ -32,6 +52,8 @@ public enum JobView
    */
   JOB_VIEW_ID_ONLY(1),
   /**
+   *
+   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -42,6 +64,8 @@ public enum JobView
    */
   JOB_VIEW_MINIMAL(2),
   /**
+   *
+   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -53,6 +77,8 @@ public enum JobView
    */
   JOB_VIEW_SMALL(3),
   /**
+   *
+   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -64,6 +90,8 @@ public enum JobView ; /** + * + * *
    * Default value.
    * 
@@ -72,6 +100,8 @@ public enum JobView */ public static final int JOB_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
@@ -81,6 +111,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_ID_ONLY_VALUE = 1;
   /**
+   *
+   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -91,6 +123,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_MINIMAL_VALUE = 2;
   /**
+   *
+   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -102,6 +136,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_SMALL_VALUE = 3;
   /**
+   *
+   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -110,7 +146,6 @@ public enum JobView */ public static final int JOB_VIEW_FULL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,51 +170,53 @@ public static JobView valueOf(int value) { */ public static JobView forNumber(int value) { switch (value) { - case 0: return JOB_VIEW_UNSPECIFIED; - case 1: return JOB_VIEW_ID_ONLY; - case 2: return JOB_VIEW_MINIMAL; - case 3: return JOB_VIEW_SMALL; - case 4: return JOB_VIEW_FULL; - default: return null; + case 0: + return JOB_VIEW_UNSPECIFIED; + case 1: + return JOB_VIEW_ID_ONLY; + case 2: + return JOB_VIEW_MINIMAL; + case 3: + return JOB_VIEW_SMALL; + case 4: + return JOB_VIEW_FULL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobView findValueByNumber(int number) { - return JobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobView findValueByNumber(int number) { + return JobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor().getEnumTypes().get(0); } private static final JobView[] VALUES = values(); - public static JobView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,4 +232,3 @@ private JobView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobView) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java similarity index 69% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java index 0eb47dabb17a..832939b0ca63 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * List companies for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesRequest} */ -public final class ListCompaniesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompaniesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListCompaniesRequest) ListCompaniesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompaniesRequest.newBuilder() to construct. private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,32 +44,35 @@ private ListCompaniesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompaniesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, + com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -85,17 +110,18 @@ public java.lang.String getParent() {
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,11 +132,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -119,29 +148,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -152,12 +181,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -168,6 +200,8 @@ public int getPageSize() { public static final int REQUIRE_OPEN_JOBS_FIELD_NUMBER = 4; private boolean requireOpenJobs_; /** + * + * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -176,6 +210,7 @@ public int getPageSize() {
    * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ @java.lang.Override @@ -184,6 +219,7 @@ public boolean getRequireOpenJobs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,8 +231,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,12 +260,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (requireOpenJobs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, requireOpenJobs_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, requireOpenJobs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -240,21 +273,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListCompaniesRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListCompaniesRequest other = (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; + com.google.cloud.talent.v4beta1.ListCompaniesRequest other = + (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (getRequireOpenJobs() - != other.getRequireOpenJobs()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,137 +303,142 @@ public int hashCode() { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + REQUIRE_OPEN_JOBS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequireOpenJobs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireOpenJobs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListCompaniesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List companies for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListCompaniesRequest) com.google.cloud.talent.v4beta1.ListCompaniesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, + com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListCompaniesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override @@ -440,7 +475,8 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListCompaniesRequest result = new com.google.cloud.talent.v4beta1.ListCompaniesRequest(this); + com.google.cloud.talent.v4beta1.ListCompaniesRequest result = + new com.google.cloud.talent.v4beta1.ListCompaniesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -453,38 +489,39 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListCompaniesRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesRequest) other); } else { super.mergeFrom(other); return this; @@ -492,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -533,32 +571,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 32: { - requireOpenJobs_ = input.readBool(); + break; + } // case 24 + case 32: + { + requireOpenJobs_ = input.readBool(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,6 +614,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -579,14 +624,16 @@ public Builder mergeFrom(
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -595,6 +642,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -603,16 +652,17 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -620,6 +670,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -628,21 +680,25 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -651,16 +707,21 @@ public Builder setParent(
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -669,17 +730,19 @@ public Builder clearParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -687,18 +750,20 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -707,20 +772,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -728,67 +794,77 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -796,39 +872,47 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - private boolean requireOpenJobs_ ; + private boolean requireOpenJobs_; /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -837,6 +921,7 @@ public Builder clearPageSize() {
      * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ @java.lang.Override @@ -844,6 +929,8 @@ public boolean getRequireOpenJobs() { return requireOpenJobs_; } /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -852,16 +939,19 @@ public boolean getRequireOpenJobs() {
      * 
* * bool require_open_jobs = 4; + * * @param value The requireOpenJobs to set. * @return This builder for chaining. */ public Builder setRequireOpenJobs(boolean value) { - + requireOpenJobs_ = value; onChanged(); return this; } /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -870,17 +960,18 @@ public Builder setRequireOpenJobs(boolean value) {
      * 
* * bool require_open_jobs = 4; + * * @return This builder for chaining. */ public Builder clearRequireOpenJobs() { - + requireOpenJobs_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -890,12 +981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListCompaniesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesRequest) private static final com.google.cloud.talent.v4beta1.ListCompaniesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListCompaniesRequest(); } @@ -904,27 +995,27 @@ public static com.google.cloud.talent.v4beta1.ListCompaniesRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompaniesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompaniesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -939,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListCompaniesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java index 43ab2850f2ca..096d1bbaa8ff 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface ListCompaniesRequestOrBuilder extends +public interface ListCompaniesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListCompaniesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -16,11 +34,16 @@ public interface ListCompaniesRequestOrBuilder extends
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -29,44 +52,56 @@ public interface ListCompaniesRequestOrBuilder extends
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -75,6 +110,7 @@ public interface ListCompaniesRequestOrBuilder extends
    * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ boolean getRequireOpenJobs(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java similarity index 72% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java index edcee578f028..26c3309e8620 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The List companies response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesResponse} */ -public final class ListCompaniesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompaniesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListCompaniesResponse) ListCompaniesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompaniesResponse.newBuilder() to construct. private ListCompaniesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompaniesResponse() { companies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListCompaniesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompaniesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, + com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); } public static final int COMPANIES_FIELD_NUMBER = 1; private java.util.List companies_; /** + * + * *
    * Companies for the current client.
    * 
@@ -63,6 +84,8 @@ public java.util.List getCompaniesList( return companies_; } /** + * + * *
    * Companies for the current client.
    * 
@@ -70,11 +93,13 @@ public java.util.List getCompaniesList( * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompaniesOrBuilderList() { return companies_; } /** + * + * *
    * Companies for the current client.
    * 
@@ -86,6 +111,8 @@ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
    * Companies for the current client.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { return companies_.get(index); } /** + * + * *
    * Companies for the current client.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index) { return companies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -158,12 +189,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -171,19 +205,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -197,6 +238,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,8 +250,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < companies_.size(); i++) {
       output.writeMessage(1, companies_.get(i));
     }
@@ -229,15 +270,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < companies_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, companies_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, companies_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,21 +286,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListCompaniesResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListCompaniesResponse other = (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj;
+    com.google.cloud.talent.v4beta1.ListCompaniesResponse other =
+        (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj;
 
-    if (!getCompaniesList()
-        .equals(other.getCompaniesList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getCompaniesList().equals(other.getCompaniesList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -290,129 +327,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListCompaniesResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.talent.v4beta1.ListCompaniesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The List companies response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListCompaniesResponse) com.google.cloud.talent.v4beta1.ListCompaniesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, + com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListCompaniesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override @@ -456,7 +500,8 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListCompaniesResponse result = new com.google.cloud.talent.v4beta1.ListCompaniesResponse(this); + com.google.cloud.talent.v4beta1.ListCompaniesResponse result = + new com.google.cloud.talent.v4beta1.ListCompaniesResponse(this); int from_bitField0_ = bitField0_; if (companiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +526,39 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListCompaniesResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesResponse) other); } else { super.mergeFrom(other); return this; @@ -520,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance()) + return this; if (companiesBuilder_ == null) { if (!other.companies_.isEmpty()) { if (companies_.isEmpty()) { @@ -539,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesResponse o companiesBuilder_ = null; companies_ = other.companies_; bitField0_ = (bitField0_ & ~0x00000001); - companiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompaniesFieldBuilder() : null; + companiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompaniesFieldBuilder() + : null; } else { companiesBuilder_.addAllMessages(other.companies_); } @@ -580,37 +628,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.Company m = - input.readMessage( - com.google.cloud.talent.v4beta1.Company.parser(), - extensionRegistry); - if (companiesBuilder_ == null) { - ensureCompaniesIsMutable(); - companies_.add(m); - } else { - companiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4beta1.Company m = + input.readMessage( + com.google.cloud.talent.v4beta1.Company.parser(), extensionRegistry); + if (companiesBuilder_ == null) { + ensureCompaniesIsMutable(); + companies_.add(m); + } else { + companiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +669,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List companies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companiesBuilder_; + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> + companiesBuilder_; /** + * + * *
      * Companies for the current client.
      * 
@@ -649,6 +705,8 @@ public java.util.List getCompaniesList( } } /** + * + * *
      * Companies for the current client.
      * 
@@ -663,6 +721,8 @@ public int getCompaniesCount() { } } /** + * + * *
      * Companies for the current client.
      * 
@@ -677,14 +737,15 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { } } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder setCompanies( - int index, com.google.cloud.talent.v4beta1.Company value) { + public Builder setCompanies(int index, com.google.cloud.talent.v4beta1.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +759,8 @@ public Builder setCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -716,6 +779,8 @@ public Builder setCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -736,14 +801,15 @@ public Builder addCompanies(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder addCompanies( - int index, com.google.cloud.talent.v4beta1.Company value) { + public Builder addCompanies(int index, com.google.cloud.talent.v4beta1.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,14 +823,15 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder addCompanies( - com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder addCompanies(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); companies_.add(builderForValue.build()); @@ -775,6 +842,8 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -793,6 +862,8 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -803,8 +874,7 @@ public Builder addAllCompanies( java.lang.Iterable values) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); onChanged(); } else { companiesBuilder_.addAllMessages(values); @@ -812,6 +882,8 @@ public Builder addAllCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -829,6 +901,8 @@ public Builder clearCompanies() { return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -846,39 +920,44 @@ public Builder removeCompanies(int index) { return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.Company.Builder getCompaniesBuilder( - int index) { + public com.google.cloud.talent.v4beta1.Company.Builder getCompaniesBuilder(int index) { return getCompaniesFieldBuilder().getBuilder(index); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index) { if (companiesBuilder_ == null) { - return companies_.get(index); } else { + return companies_.get(index); + } else { return companiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public java.util.List - getCompaniesOrBuilderList() { + public java.util.List + getCompaniesOrBuilderList() { if (companiesBuilder_ != null) { return companiesBuilder_.getMessageOrBuilderList(); } else { @@ -886,6 +965,8 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( } } /** + * + * *
      * Companies for the current client.
      * 
@@ -893,42 +974,48 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder() { - return getCompaniesFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); + return getCompaniesFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder( - int index) { - return getCompaniesFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder(int index) { + return getCompaniesFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public java.util.List - getCompaniesBuilderList() { + public java.util.List + getCompaniesBuilderList() { return getCompaniesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompaniesFieldBuilder() { if (companiesBuilder_ == null) { - companiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - companies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + companiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); companies_ = null; } return companiesBuilder_; @@ -936,18 +1023,20 @@ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -956,20 +1045,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -977,54 +1067,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1032,36 +1129,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1083,6 +1193,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1102,6 +1214,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1113,7 +1227,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1125,6 +1241,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1144,6 +1262,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1152,11 +1272,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1168,11 +1290,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1181,21 +1306,24 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1205,12 +1333,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
   private static final com.google.cloud.talent.v4beta1.ListCompaniesResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListCompaniesResponse();
   }
@@ -1219,27 +1347,27 @@ public static com.google.cloud.talent.v4beta1.ListCompaniesResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListCompaniesResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListCompaniesResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1382,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListCompaniesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
index 833e6f8a0c9c..86c1666558af 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListCompaniesResponseOrBuilder extends
+public interface ListCompaniesResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListCompaniesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - java.util.List - getCompaniesList(); + java.util.List getCompaniesList(); /** + * + * *
    * Companies for the current client.
    * 
@@ -25,6 +44,8 @@ public interface ListCompaniesResponseOrBuilder extends */ com.google.cloud.talent.v4beta1.Company getCompanies(int index); /** + * + * *
    * Companies for the current client.
    * 
@@ -33,65 +54,81 @@ public interface ListCompaniesResponseOrBuilder extends */ int getCompaniesCount(); /** + * + * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - java.util.List + java.util.List getCompaniesOrBuilderList(); /** + * + * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( - int index); + com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
index 1c5e06c955bf..3300d0382f9f 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsRequest} */ -public final class ListJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListJobsRequest) ListJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsRequest() { parent_ = ""; filter_ = ""; @@ -28,32 +46,35 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsRequest.class, com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsRequest.class, + com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -61,7 +82,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -70,14 +94,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -85,17 +110,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,6 +132,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -127,6 +155,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -135,14 +164,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -164,16 +194,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -184,11 +213,14 @@ public java.lang.String getFilter() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -197,29 +229,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -230,6 +262,8 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -238,6 +272,7 @@ public java.lang.String getPageToken() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -248,6 +283,8 @@ public int getPageSize() { public static final int JOB_VIEW_FIELD_NUMBER = 5; private int jobView_; /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -255,12 +292,16 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -268,15 +309,19 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The jobView. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = + com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,8 +333,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -324,12 +368,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (jobView_ != com.google.cloud.talent.v4beta1.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, jobView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, jobView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,21 +381,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListJobsRequest other = (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + com.google.cloud.talent.v4beta1.ListJobsRequest other = + (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (jobView_ != other.jobView_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -381,130 +420,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListJobsRequest) com.google.cloud.talent.v4beta1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsRequest.class, com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsRequest.class, + com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override @@ -543,7 +588,8 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListJobsRequest result = new com.google.cloud.talent.v4beta1.ListJobsRequest(this); + com.google.cloud.talent.v4beta1.ListJobsRequest result = + new com.google.cloud.talent.v4beta1.ListJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageToken_ = pageToken_; @@ -557,38 +603,39 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -596,7 +643,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,37 +689,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 40: { - jobView_ = input.readEnum(); + break; + } // case 32 + case 40: + { + jobView_ = input.readEnum(); - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -684,6 +738,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -691,14 +747,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -707,6 +765,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -714,16 +774,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -731,6 +792,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -738,21 +801,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -760,16 +827,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -777,17 +849,19 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -795,6 +869,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -816,13 +892,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -831,6 +907,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -852,15 +930,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -868,6 +945,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -889,20 +968,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -924,15 +1005,18 @@ public Builder setFilter(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -954,16 +1038,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -971,18 +1055,20 @@ public Builder setFilterBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -991,20 +1077,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1012,61 +1099,70 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1075,6 +1171,7 @@ public Builder setPageTokenBytes(
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1082,6 +1179,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1090,16 +1189,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1108,10 +1210,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1119,6 +1222,8 @@ public Builder clearPageSize() { private int jobView_ = 0; /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1126,12 +1231,16 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1139,16 +1248,19 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1156,15 +1268,19 @@ public Builder setJobViewValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = + com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1172,6 +1288,7 @@ public com.google.cloud.talent.v4beta1.JobView getJobView() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @param value The jobView to set. * @return This builder for chaining. */ @@ -1179,12 +1296,14 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1192,17 +1311,18 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1212,12 +1332,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListJobsRequest) private static final com.google.cloud.talent.v4beta1.ListJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListJobsRequest(); } @@ -1226,27 +1346,27 @@ public static com.google.cloud.talent.v4beta1.ListJobsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,6 +1381,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java index 7ddddf3afde0..e69c59d4f373 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface ListJobsRequestOrBuilder extends +public interface ListJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface ListJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,13 +50,17 @@ public interface ListJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -55,10 +82,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -80,32 +110,39 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -114,11 +151,14 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -126,10 +166,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -137,6 +180,7 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The jobView. */ com.google.cloud.talent.v4beta1.JobView getJobView(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java similarity index 73% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java index f73a0801cec4..29ac567dc666 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsResponse} */ -public final class ListJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListJobsResponse) ListJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsResponse.class, com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsResponse.class, + com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** + * + * *
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -65,6 +86,8 @@ public java.util.List getJobsList() {
     return jobs_;
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -74,11 +97,13 @@ public java.util.List getJobsList() {
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getJobsOrBuilderList() {
     return jobs_;
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -92,6 +117,8 @@ public int getJobsCount() {
     return jobs_.size();
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -105,6 +132,8 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
     return jobs_.get(index);
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -114,19 +143,21 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) {
     return jobs_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -135,29 +166,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -181,19 +215,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -207,6 +248,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -218,8 +260,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobs_.size(); i++) {
       output.writeMessage(1, jobs_.get(i));
     }
@@ -239,15 +280,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -257,21 +296,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListJobsResponse other = (com.google.cloud.talent.v4beta1.ListJobsResponse) obj;
+    com.google.cloud.talent.v4beta1.ListJobsResponse other =
+        (com.google.cloud.talent.v4beta1.ListJobsResponse) obj;
 
-    if (!getJobsList()
-        .equals(other.getJobsList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getJobsList().equals(other.getJobsList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -299,130 +336,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * List jobs response.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListJobsResponse) com.google.cloud.talent.v4beta1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsResponse.class, com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsResponse.class, + com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListJobsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override @@ -466,7 +509,8 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListJobsResponse result = new com.google.cloud.talent.v4beta1.ListJobsResponse(this); + com.google.cloud.talent.v4beta1.ListJobsResponse result = + new com.google.cloud.talent.v4beta1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -491,38 +535,39 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -530,7 +575,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance()) + return this; if (jobsBuilder_ == null) { if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { @@ -549,9 +595,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsResponse other) jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -590,37 +637,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -630,21 +678,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -661,6 +716,8 @@ public java.util.List getJobsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -677,6 +734,8 @@ public int getJobsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -693,6 +752,8 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -701,8 +762,7 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder setJobs(
-        int index, com.google.cloud.talent.v4beta1.Job value) {
+    public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,6 +776,8 @@ public Builder setJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -724,8 +786,7 @@ public Builder setJobs(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder setJobs(
-        int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.set(index, builderForValue.build());
@@ -736,6 +797,8 @@ public Builder setJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -758,6 +821,8 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -766,8 +831,7 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(
-        int index, com.google.cloud.talent.v4beta1.Job value) {
+    public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -781,6 +845,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -789,8 +855,7 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(
-        com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(builderForValue.build());
@@ -801,6 +866,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -809,8 +876,7 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(
-        int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(index, builderForValue.build());
@@ -821,6 +887,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -833,8 +901,7 @@ public Builder addAllJobs(
         java.lang.Iterable values) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_);
         onChanged();
       } else {
         jobsBuilder_.addAllMessages(values);
@@ -842,6 +909,8 @@ public Builder addAllJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -861,6 +930,8 @@ public Builder clearJobs() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -880,6 +951,8 @@ public Builder removeJobs(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -888,11 +961,12 @@ public Builder removeJobs(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) {
       return getJobsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -901,14 +975,16 @@ public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) {
       if (jobsBuilder_ == null) {
-        return jobs_.get(index);  } else {
+        return jobs_.get(index);
+      } else {
         return jobsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -917,8 +993,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public java.util.List 
-         getJobsOrBuilderList() {
+    public java.util.List
+        getJobsOrBuilderList() {
       if (jobsBuilder_ != null) {
         return jobsBuilder_.getMessageOrBuilderList();
       } else {
@@ -926,6 +1002,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -935,10 +1013,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
     public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() {
-      return getJobsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
+      return getJobsFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -947,12 +1027,13 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
-        int index) {
-      return getJobsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
+    public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) {
+      return getJobsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -961,20 +1042,22 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public java.util.List 
-         getJobsBuilderList() {
+    public java.util.List getJobsBuilderList() {
       return getJobsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> 
+            com.google.cloud.talent.v4beta1.Job,
+            com.google.cloud.talent.v4beta1.Job.Builder,
+            com.google.cloud.talent.v4beta1.JobOrBuilder>
         getJobsFieldBuilder() {
       if (jobsBuilder_ == null) {
-        jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>(
-                jobs_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.Job,
+                com.google.cloud.talent.v4beta1.Job.Builder,
+                com.google.cloud.talent.v4beta1.JobOrBuilder>(
+                jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobs_ = null;
       }
       return jobsBuilder_;
@@ -982,18 +1065,20 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1002,20 +1087,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,54 +1109,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1078,36 +1171,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1129,6 +1235,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1148,6 +1256,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1159,7 +1269,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1171,6 +1283,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1190,6 +1304,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1198,11 +1314,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1214,11 +1332,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1227,21 +1348,24 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1251,12 +1375,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListJobsResponse)
   private static final com.google.cloud.talent.v4beta1.ListJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListJobsResponse();
   }
@@ -1265,27 +1389,27 @@ public static com.google.cloud.talent.v4beta1.ListJobsResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1300,6 +1424,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
index 2510362a948d..87828719eaf9 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListJobsResponseOrBuilder extends
+public interface ListJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -16,9 +34,10 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  java.util.List 
-      getJobsList();
+  java.util.List getJobsList();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -29,6 +48,8 @@ public interface ListJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4beta1.Job getJobs(int index);
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -39,6 +60,8 @@ public interface ListJobsResponseOrBuilder extends
    */
   int getJobsCount();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -47,9 +70,10 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  java.util.List 
-      getJobsOrBuilderList();
+  java.util.List getJobsOrBuilderList();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -58,50 +82,62 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
similarity index 66%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
index 6c56c0036282..ffe0578c83e4 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * List tenants for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsRequest} */ -public final class ListTenantsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTenantsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListTenantsRequest) ListTenantsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTenantsRequest.newBuilder() to construct. private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,45 @@ private ListTenantsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTenantsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsRequest.class, com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsRequest.class, + com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -115,29 +144,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -148,12 +177,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -162,6 +194,7 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -200,8 +232,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,19 +242,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListTenantsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListTenantsRequest other = (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; + com.google.cloud.talent.v4beta1.ListTenantsRequest other = + (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -247,129 +276,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListTenantsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List tenants for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListTenantsRequest) com.google.cloud.talent.v4beta1.ListTenantsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsRequest.class, com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsRequest.class, + com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListTenantsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override @@ -404,7 +439,8 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListTenantsRequest result = new com.google.cloud.talent.v4beta1.ListTenantsRequest(this); + com.google.cloud.talent.v4beta1.ListTenantsRequest result = + new com.google.cloud.talent.v4beta1.ListTenantsRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -416,38 +452,39 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListTenantsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsRequest) other); } else { super.mergeFrom(other); return this; @@ -455,7 +492,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -493,27 +531,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -526,20 +568,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -548,22 +594,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -571,60 +620,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -632,18 +694,20 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -652,20 +716,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -673,67 +738,77 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -741,39 +816,45 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,12 +864,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListTenantsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListTenantsRequest) private static final com.google.cloud.talent.v4beta1.ListTenantsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListTenantsRequest(); } @@ -797,27 +878,27 @@ public static com.google.cloud.talent.v4beta1.ListTenantsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTenantsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTenantsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,6 +913,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListTenantsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java index a0142ebe9a5d..4d7c89a12ac6 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java @@ -1,63 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; -public interface ListTenantsRequestOrBuilder extends +public interface ListTenantsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListTenantsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java similarity index 72% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java index 2c4dcbc255e4..6f225bf4fe47 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The List tenants response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsResponse} */ -public final class ListTenantsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTenantsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListTenantsResponse) ListTenantsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTenantsResponse.newBuilder() to construct. private ListTenantsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTenantsResponse() { tenants_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListTenantsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTenantsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsResponse.class, com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsResponse.class, + com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); } public static final int TENANTS_FIELD_NUMBER = 1; private java.util.List tenants_; /** + * + * *
    * Tenants for the current client.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTenantsList() { return tenants_; } /** + * + * *
    * Tenants for the current client.
    * 
@@ -70,11 +93,13 @@ public java.util.List getTenantsList() { * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTenantsOrBuilderList() { return tenants_; } /** + * + * *
    * Tenants for the current client.
    * 
@@ -86,6 +111,8 @@ public int getTenantsCount() { return tenants_.size(); } /** + * + * *
    * Tenants for the current client.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { return tenants_.get(index); } /** + * + * *
    * Tenants for the current client.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index) { return tenants_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -158,12 +189,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -171,19 +205,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -197,6 +238,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,8 +250,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < tenants_.size(); i++) {
       output.writeMessage(1, tenants_.get(i));
     }
@@ -229,15 +270,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < tenants_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, tenants_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tenants_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,21 +286,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListTenantsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListTenantsResponse other = (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj;
+    com.google.cloud.talent.v4beta1.ListTenantsResponse other =
+        (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj;
 
-    if (!getTenantsList()
-        .equals(other.getTenantsList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getTenantsList().equals(other.getTenantsList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -290,129 +327,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListTenantsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The List tenants response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListTenantsResponse) com.google.cloud.talent.v4beta1.ListTenantsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsResponse.class, com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsResponse.class, + com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListTenantsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override @@ -456,7 +499,8 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListTenantsResponse result = new com.google.cloud.talent.v4beta1.ListTenantsResponse(this); + com.google.cloud.talent.v4beta1.ListTenantsResponse result = + new com.google.cloud.talent.v4beta1.ListTenantsResponse(this); int from_bitField0_ = bitField0_; if (tenantsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +525,39 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListTenantsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsResponse) other); } else { super.mergeFrom(other); return this; @@ -520,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance()) + return this; if (tenantsBuilder_ == null) { if (!other.tenants_.isEmpty()) { if (tenants_.isEmpty()) { @@ -539,9 +585,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsResponse oth tenantsBuilder_ = null; tenants_ = other.tenants_; bitField0_ = (bitField0_ & ~0x00000001); - tenantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTenantsFieldBuilder() : null; + tenantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTenantsFieldBuilder() + : null; } else { tenantsBuilder_.addAllMessages(other.tenants_); } @@ -580,37 +627,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.Tenant m = - input.readMessage( - com.google.cloud.talent.v4beta1.Tenant.parser(), - extensionRegistry); - if (tenantsBuilder_ == null) { - ensureTenantsIsMutable(); - tenants_.add(m); - } else { - tenantsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4beta1.Tenant m = + input.readMessage( + com.google.cloud.talent.v4beta1.Tenant.parser(), extensionRegistry); + if (tenantsBuilder_ == null) { + ensureTenantsIsMutable(); + tenants_.add(m); + } else { + tenantsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +668,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List tenants_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTenantsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantsBuilder_; + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> + tenantsBuilder_; /** + * + * *
      * Tenants for the current client.
      * 
@@ -649,6 +704,8 @@ public java.util.List getTenantsList() { } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -663,6 +720,8 @@ public int getTenantsCount() { } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -677,14 +736,15 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { } } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder setTenants( - int index, com.google.cloud.talent.v4beta1.Tenant value) { + public Builder setTenants(int index, com.google.cloud.talent.v4beta1.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +758,8 @@ public Builder setTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -716,6 +778,8 @@ public Builder setTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -736,14 +800,15 @@ public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder addTenants( - int index, com.google.cloud.talent.v4beta1.Tenant value) { + public Builder addTenants(int index, com.google.cloud.talent.v4beta1.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,14 +822,15 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder addTenants( - com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); tenants_.add(builderForValue.build()); @@ -775,6 +841,8 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -793,6 +861,8 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -803,8 +873,7 @@ public Builder addAllTenants( java.lang.Iterable values) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tenants_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tenants_); onChanged(); } else { tenantsBuilder_.addAllMessages(values); @@ -812,6 +881,8 @@ public Builder addAllTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -829,6 +900,8 @@ public Builder clearTenants() { return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -846,39 +919,44 @@ public Builder removeTenants(int index) { return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantsBuilder(int index) { return getTenantsFieldBuilder().getBuilder(index); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index) { if (tenantsBuilder_ == null) { - return tenants_.get(index); } else { + return tenants_.get(index); + } else { return tenantsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public java.util.List - getTenantsOrBuilderList() { + public java.util.List + getTenantsOrBuilderList() { if (tenantsBuilder_ != null) { return tenantsBuilder_.getMessageOrBuilderList(); } else { @@ -886,6 +964,8 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -893,42 +973,47 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder() { - return getTenantsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); + return getTenantsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder( - int index) { - return getTenantsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder(int index) { + return getTenantsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public java.util.List - getTenantsBuilderList() { + public java.util.List getTenantsBuilderList() { return getTenantsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantsFieldBuilder() { if (tenantsBuilder_ == null) { - tenantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( - tenants_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tenantsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder>( + tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tenants_ = null; } return tenantsBuilder_; @@ -936,18 +1021,20 @@ public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -956,20 +1043,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -977,54 +1065,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1032,36 +1127,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1083,6 +1191,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1102,6 +1212,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1113,7 +1225,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1125,6 +1239,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1144,6 +1260,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1152,11 +1270,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1168,11 +1288,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1181,21 +1304,24 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1205,12 +1331,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListTenantsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListTenantsResponse)
   private static final com.google.cloud.talent.v4beta1.ListTenantsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListTenantsResponse();
   }
@@ -1219,27 +1345,27 @@ public static com.google.cloud.talent.v4beta1.ListTenantsResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListTenantsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListTenantsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1380,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListTenantsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
index 3890d1fc12d0..f85274fe444f 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListTenantsResponseOrBuilder extends
+public interface ListTenantsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListTenantsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - java.util.List - getTenantsList(); + java.util.List getTenantsList(); /** + * + * *
    * Tenants for the current client.
    * 
@@ -25,6 +44,8 @@ public interface ListTenantsResponseOrBuilder extends */ com.google.cloud.talent.v4beta1.Tenant getTenants(int index); /** + * + * *
    * Tenants for the current client.
    * 
@@ -33,65 +54,81 @@ public interface ListTenantsResponseOrBuilder extends */ int getTenantsCount(); /** + * + * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - java.util.List + java.util.List getTenantsOrBuilderList(); /** + * + * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( - int index); + com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
similarity index 75%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
index 6c2432747876..df25288ace66 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
@@ -1,63 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * A resource that represents a location with full geographic information.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Location} */ -public final class Location extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Location extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Location) LocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Location() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Location.class, com.google.cloud.talent.v4beta1.Location.Builder.class); + com.google.cloud.talent.v4beta1.Location.class, + com.google.cloud.talent.v4beta1.Location.Builder.class); } /** + * + * *
    * An enum which represents the type of a location.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.Location.LocationType} */ - public enum LocationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value if the type isn't specified.
      * 
@@ -66,6 +88,8 @@ public enum LocationType */ LOCATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * A country level location.
      * 
@@ -74,6 +98,8 @@ public enum LocationType */ COUNTRY(1), /** + * + * *
      * A state or equivalent level location.
      * 
@@ -82,6 +108,8 @@ public enum LocationType */ ADMINISTRATIVE_AREA(2), /** + * + * *
      * A county or equivalent level location.
      * 
@@ -90,6 +118,8 @@ public enum LocationType */ SUB_ADMINISTRATIVE_AREA(3), /** + * + * *
      * A city or equivalent level location.
      * 
@@ -98,6 +128,8 @@ public enum LocationType */ LOCALITY(4), /** + * + * *
      * A postal code level location.
      * 
@@ -106,6 +138,8 @@ public enum LocationType */ POSTAL_CODE(5), /** + * + * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -118,6 +152,8 @@ public enum LocationType
      */
     SUB_LOCALITY(6),
     /**
+     *
+     *
      * 
      * A district or equivalent level location.
      * 
@@ -126,6 +162,8 @@ public enum LocationType */ SUB_LOCALITY_1(7), /** + * + * *
      * A smaller district or equivalent level display.
      * 
@@ -134,6 +172,8 @@ public enum LocationType */ SUB_LOCALITY_2(8), /** + * + * *
      * A neighborhood level location.
      * 
@@ -142,6 +182,8 @@ public enum LocationType */ NEIGHBORHOOD(9), /** + * + * *
      * A street address level location.
      * 
@@ -153,6 +195,8 @@ public enum LocationType ; /** + * + * *
      * Default value if the type isn't specified.
      * 
@@ -161,6 +205,8 @@ public enum LocationType */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A country level location.
      * 
@@ -169,6 +215,8 @@ public enum LocationType */ public static final int COUNTRY_VALUE = 1; /** + * + * *
      * A state or equivalent level location.
      * 
@@ -177,6 +225,8 @@ public enum LocationType */ public static final int ADMINISTRATIVE_AREA_VALUE = 2; /** + * + * *
      * A county or equivalent level location.
      * 
@@ -185,6 +235,8 @@ public enum LocationType */ public static final int SUB_ADMINISTRATIVE_AREA_VALUE = 3; /** + * + * *
      * A city or equivalent level location.
      * 
@@ -193,6 +245,8 @@ public enum LocationType */ public static final int LOCALITY_VALUE = 4; /** + * + * *
      * A postal code level location.
      * 
@@ -201,6 +255,8 @@ public enum LocationType */ public static final int POSTAL_CODE_VALUE = 5; /** + * + * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -213,6 +269,8 @@ public enum LocationType
      */
     public static final int SUB_LOCALITY_VALUE = 6;
     /**
+     *
+     *
      * 
      * A district or equivalent level location.
      * 
@@ -221,6 +279,8 @@ public enum LocationType */ public static final int SUB_LOCALITY_1_VALUE = 7; /** + * + * *
      * A smaller district or equivalent level display.
      * 
@@ -229,6 +289,8 @@ public enum LocationType */ public static final int SUB_LOCALITY_2_VALUE = 8; /** + * + * *
      * A neighborhood level location.
      * 
@@ -237,6 +299,8 @@ public enum LocationType */ public static final int NEIGHBORHOOD_VALUE = 9; /** + * + * *
      * A street address level location.
      * 
@@ -245,7 +309,6 @@ public enum LocationType */ public static final int STREET_ADDRESS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -270,57 +333,65 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: return LOCATION_TYPE_UNSPECIFIED; - case 1: return COUNTRY; - case 2: return ADMINISTRATIVE_AREA; - case 3: return SUB_ADMINISTRATIVE_AREA; - case 4: return LOCALITY; - case 5: return POSTAL_CODE; - case 6: return SUB_LOCALITY; - case 7: return SUB_LOCALITY_1; - case 8: return SUB_LOCALITY_2; - case 9: return NEIGHBORHOOD; - case 10: return STREET_ADDRESS; - default: return null; + case 0: + return LOCATION_TYPE_UNSPECIFIED; + case 1: + return COUNTRY; + case 2: + return ADMINISTRATIVE_AREA; + case 3: + return SUB_ADMINISTRATIVE_AREA; + case 4: + return LOCALITY; + case 5: + return POSTAL_CODE; + case 6: + return SUB_LOCALITY; + case 7: + return SUB_LOCALITY_1; + case 8: + return SUB_LOCALITY_2; + case 9: + return NEIGHBORHOOD; + case 10: + return STREET_ADDRESS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LocationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -340,6 +411,8 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_; /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -348,12 +421,16 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -362,17 +439,24 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The locationType. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Location.LocationType result = com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); - return result == null ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.Location.LocationType result = + com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); + return result == null + ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED + : result; } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 2; private com.google.type.PostalAddress postalAddress_; /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -381,6 +465,7 @@ private LocationType(int value) {
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -388,6 +473,8 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -396,13 +483,18 @@ public boolean hasPostalAddress() {
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -420,11 +512,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
   public static final int LAT_LNG_FIELD_NUMBER = 3;
   private com.google.type.LatLng latLng_;
   /**
+   *
+   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -432,11 +527,14 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ @java.lang.Override @@ -444,6 +542,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
@@ -458,6 +558,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int RADIUS_MILES_FIELD_NUMBER = 4; private double radiusMiles_; /** + * + * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -468,6 +570,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ @java.lang.Override @@ -476,6 +579,7 @@ public double getRadiusMiles() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -487,9 +591,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (locationType_ != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (locationType_ + != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, locationType_); } if (postalAddress_ != null) { @@ -510,21 +615,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, locationType_); + if (locationType_ + != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostalAddress()); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(radiusMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, radiusMiles_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, radiusMiles_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -534,7 +637,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Location)) { return super.equals(obj); @@ -544,17 +647,14 @@ public boolean equals(final java.lang.Object obj) { if (locationType_ != other.locationType_) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress() - .equals(other.getPostalAddress())) return false; + if (!getPostalAddress().equals(other.getPostalAddress())) return false; } if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng() - .equals(other.getLatLng())) return false; + if (!getLatLng().equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getRadiusMiles()) - != java.lang.Double.doubleToLongBits( - other.getRadiusMiles())) return false; + != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -577,137 +677,145 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + RADIUS_MILES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRadiusMiles())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRadiusMiles())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Location parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource that represents a location with full geographic information.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Location} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Location) com.google.cloud.talent.v4beta1.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Location.class, com.google.cloud.talent.v4beta1.Location.Builder.class); + com.google.cloud.talent.v4beta1.Location.class, + com.google.cloud.talent.v4beta1.Location.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Location.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -731,9 +839,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override @@ -752,7 +860,8 @@ public com.google.cloud.talent.v4beta1.Location build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Location buildPartial() { - com.google.cloud.talent.v4beta1.Location result = new com.google.cloud.talent.v4beta1.Location(this); + com.google.cloud.talent.v4beta1.Location result = + new com.google.cloud.talent.v4beta1.Location(this); result.locationType_ = locationType_; if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; @@ -773,38 +882,39 @@ public com.google.cloud.talent.v4beta1.Location buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Location) { - return mergeFrom((com.google.cloud.talent.v4beta1.Location)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Location) other); } else { super.mergeFrom(other); return this; @@ -851,36 +961,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - locationType_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getPostalAddressFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 33: { - radiusMiles_ = input.readDouble(); - - break; - } // case 33 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + locationType_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 33: + { + radiusMiles_ = input.readDouble(); + + break; + } // case 33 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -893,6 +1004,8 @@ public Builder mergeFrom( private int locationType_ = 0; /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -901,12 +1014,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -915,16 +1032,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ public Builder setLocationTypeValue(int value) { - + locationType_ = value; onChanged(); return this; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -933,15 +1053,21 @@ public Builder setLocationTypeValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The locationType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Location.LocationType result = com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); - return result == null ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.Location.LocationType result = + com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); + return result == null + ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -950,6 +1076,7 @@ public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @param value The locationType to set. * @return This builder for chaining. */ @@ -957,12 +1084,14 @@ public Builder setLocationType(com.google.cloud.talent.v4beta1.Location.Location if (value == null) { throw new NullPointerException(); } - + locationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -971,10 +1100,11 @@ public Builder setLocationType(com.google.cloud.talent.v4beta1.Location.Location
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return This builder for chaining. */ public Builder clearLocationType() { - + locationType_ = 0; onChanged(); return this; @@ -982,8 +1112,13 @@ public Builder clearLocationType() { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + postalAddressBuilder_; /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -992,12 +1127,15 @@ public Builder clearLocationType() {
      * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1006,16 +1144,21 @@ public boolean hasPostalAddress() {
      * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1039,6 +1182,8 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1048,8 +1193,7 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
      *
      * .google.type.PostalAddress postal_address = 2;
      */
-    public Builder setPostalAddress(
-        com.google.type.PostalAddress.Builder builderForValue) {
+    public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) {
       if (postalAddressBuilder_ == null) {
         postalAddress_ = builderForValue.build();
         onChanged();
@@ -1060,6 +1204,8 @@ public Builder setPostalAddress(
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1073,7 +1219,9 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       if (postalAddressBuilder_ == null) {
         if (postalAddress_ != null) {
           postalAddress_ =
-            com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial();
+              com.google.type.PostalAddress.newBuilder(postalAddress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postalAddress_ = value;
         }
@@ -1085,6 +1233,8 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1106,6 +1256,8 @@ public Builder clearPostalAddress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1116,11 +1268,13 @@ public Builder clearPostalAddress() {
      * .google.type.PostalAddress postal_address = 2;
      */
     public com.google.type.PostalAddress.Builder getPostalAddressBuilder() {
-      
+
       onChanged();
       return getPostalAddressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1134,11 +1288,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
       if (postalAddressBuilder_ != null) {
         return postalAddressBuilder_.getMessageOrBuilder();
       } else {
-        return postalAddress_ == null ?
-            com.google.type.PostalAddress.getDefaultInstance() : postalAddress_;
+        return postalAddress_ == null
+            ? com.google.type.PostalAddress.getDefaultInstance()
+            : postalAddress_;
       }
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1149,14 +1306,17 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
      * .google.type.PostalAddress postal_address = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> 
+            com.google.type.PostalAddress,
+            com.google.type.PostalAddress.Builder,
+            com.google.type.PostalAddressOrBuilder>
         getPostalAddressFieldBuilder() {
       if (postalAddressBuilder_ == null) {
-        postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>(
-                getPostalAddress(),
-                getParentForChildren(),
-                isClean());
+        postalAddressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.PostalAddress,
+                com.google.type.PostalAddress.Builder,
+                com.google.type.PostalAddressOrBuilder>(
+                getPostalAddress(), getParentForChildren(), isClean());
         postalAddress_ = null;
       }
       return postalAddressBuilder_;
@@ -1164,24 +1324,31 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
 
     private com.google.type.LatLng latLng_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_;
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        latLngBuilder_;
     /**
+     *
+     *
      * 
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1192,6 +1359,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1212,14 +1381,15 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; */ - public Builder setLatLng( - com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -1230,6 +1400,8 @@ public Builder setLatLng( return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1239,8 +1411,7 @@ public Builder setLatLng( public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = - com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -1252,6 +1423,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1270,6 +1443,8 @@ public Builder clearLatLng() { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1277,11 +1452,13 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 3; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1292,11 +1469,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? - com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1304,21 +1482,23 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getLatLng(), - getParentForChildren(), - isClean()); + latLngBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); latLng_ = null; } return latLngBuilder_; } - private double radiusMiles_ ; + private double radiusMiles_; /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1329,6 +1509,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ @java.lang.Override @@ -1336,6 +1517,8 @@ public double getRadiusMiles() { return radiusMiles_; } /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1346,16 +1529,19 @@ public double getRadiusMiles() {
      * 
* * double radius_miles = 4; + * * @param value The radiusMiles to set. * @return This builder for chaining. */ public Builder setRadiusMiles(double value) { - + radiusMiles_ = value; onChanged(); return this; } /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1366,17 +1552,18 @@ public Builder setRadiusMiles(double value) {
      * 
* * double radius_miles = 4; + * * @return This builder for chaining. */ public Builder clearRadiusMiles() { - + radiusMiles_ = 0D; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1386,12 +1573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Location) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Location) private static final com.google.cloud.talent.v4beta1.Location DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Location(); } @@ -1400,27 +1587,27 @@ public static com.google.cloud.talent.v4beta1.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1435,6 +1622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java index 1b33e78e344c..eeabbd6d6d1c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Geographic region of the search.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.LocationFilter} */ -public final class LocationFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.LocationFilter) LocationFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LocationFilter.newBuilder() to construct. private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LocationFilter() { address_ = ""; regionCode_ = ""; @@ -27,39 +45,43 @@ private LocationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LocationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.LocationFilter.class, com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); + com.google.cloud.talent.v4beta1.LocationFilter.class, + com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); } /** + * + * *
    * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference} */ - public enum TelecommutePreference - implements com.google.protobuf.ProtocolMessageEnum { + public enum TelecommutePreference implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -68,6 +90,8 @@ public enum TelecommutePreference */ TELECOMMUTE_PREFERENCE_UNSPECIFIED(0), /** + * + * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -78,6 +102,8 @@ public enum TelecommutePreference
     @java.lang.Deprecated
     TELECOMMUTE_EXCLUDED(1),
     /**
+     *
+     *
      * 
      * Allow telecommute jobs.
      * 
@@ -86,6 +112,8 @@ public enum TelecommutePreference */ TELECOMMUTE_ALLOWED(2), /** + * + * *
      * Exclude telecommute jobs.
      * 
@@ -97,6 +125,8 @@ public enum TelecommutePreference ; /** + * + * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -105,6 +135,8 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_PREFERENCE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -114,6 +146,8 @@ public enum TelecommutePreference
      */
     @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Allow telecommute jobs.
      * 
@@ -122,6 +156,8 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; /** + * + * *
      * Exclude telecommute jobs.
      * 
@@ -130,7 +166,6 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -155,11 +190,16 @@ public static TelecommutePreference valueOf(int value) { */ public static TelecommutePreference forNumber(int value) { switch (value) { - case 0: return TELECOMMUTE_PREFERENCE_UNSPECIFIED; - case 1: return TELECOMMUTE_EXCLUDED; - case 2: return TELECOMMUTE_ALLOWED; - case 3: return TELECOMMUTE_JOBS_EXCLUDED; - default: return null; + case 0: + return TELECOMMUTE_PREFERENCE_UNSPECIFIED; + case 1: + return TELECOMMUTE_EXCLUDED; + case 2: + return TELECOMMUTE_ALLOWED; + case 3: + return TELECOMMUTE_JOBS_EXCLUDED; + default: + return null; } } @@ -167,28 +207,28 @@ public static TelecommutePreference forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TelecommutePreference> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TelecommutePreference findValueByNumber(int number) { - return TelecommutePreference.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TelecommutePreference findValueByNumber(int number) { + return TelecommutePreference.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.LocationFilter.getDescriptor().getEnumTypes().get(0); } @@ -197,8 +237,7 @@ public TelecommutePreference findValueByNumber(int number) { public static TelecommutePreference valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -218,11 +257,14 @@ private TelecommutePreference(int value) { public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The address. */ @java.lang.Override @@ -231,29 +273,29 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -264,6 +306,8 @@ public java.lang.String getAddress() { public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -280,6 +324,7 @@ public java.lang.String getAddress() {
    * 
* * string region_code = 2; + * * @return The regionCode. */ @java.lang.Override @@ -288,14 +333,15 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -312,16 +358,15 @@ public java.lang.String getRegionCode() {
    * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -332,12 +377,15 @@ public java.lang.String getRegionCode() { public static final int LAT_LNG_FIELD_NUMBER = 3; private com.google.type.LatLng latLng_; /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -345,12 +393,15 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ @java.lang.Override @@ -358,6 +409,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -373,6 +426,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
   public static final int DISTANCE_IN_MILES_FIELD_NUMBER = 4;
   private double distanceInMiles_;
   /**
+   *
+   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -380,6 +435,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ @java.lang.Override @@ -390,6 +446,8 @@ public double getDistanceInMiles() { public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER = 5; private int telecommutePreference_; /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -411,13 +469,19 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override public int getTelecommutePreferenceValue() { + @java.lang.Override + public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -439,24 +503,36 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference + getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); - return result == null ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf( + telecommutePreference_); + return result == null + ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED + : result; } public static final int NEGATED_FIELD_NUMBER = 6; private boolean negated_; /** + * + * *
    * Whether to apply negation to the filter so profiles matching the filter
    * are excluded.
    * 
* * bool negated = 6; + * * @return The negated. */ @java.lang.Override @@ -465,6 +541,7 @@ public boolean getNegated() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -476,8 +553,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -490,7 +566,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { output.writeDouble(4, distanceInMiles_); } - if (telecommutePreference_ != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { + if (telecommutePreference_ + != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference + .TELECOMMUTE_PREFERENCE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, telecommutePreference_); } if (negated_ != false) { @@ -512,20 +591,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, distanceInMiles_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, distanceInMiles_); } - if (telecommutePreference_ != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, telecommutePreference_); + if (telecommutePreference_ + != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference + .TELECOMMUTE_PREFERENCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, telecommutePreference_); } if (negated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, negated_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, negated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -535,28 +613,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.LocationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.LocationFilter other = (com.google.cloud.talent.v4beta1.LocationFilter) obj; + com.google.cloud.talent.v4beta1.LocationFilter other = + (com.google.cloud.talent.v4beta1.LocationFilter) obj; - if (!getAddress() - .equals(other.getAddress())) return false; - if (!getRegionCode() - .equals(other.getRegionCode())) return false; + if (!getAddress().equals(other.getAddress())) return false; + if (!getRegionCode().equals(other.getRegionCode())) return false; if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng() - .equals(other.getLatLng())) return false; + if (!getLatLng().equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - != java.lang.Double.doubleToLongBits( - other.getDistanceInMiles())) return false; + != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; if (telecommutePreference_ != other.telecommutePreference_) return false; - if (getNegated() - != other.getNegated()) return false; + if (getNegated() != other.getNegated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -577,142 +651,149 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + DISTANCE_IN_MILES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistanceInMiles())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistanceInMiles())); hash = (37 * hash) + TELECOMMUTE_PREFERENCE_FIELD_NUMBER; hash = (53 * hash) + telecommutePreference_; hash = (37 * hash) + NEGATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNegated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.LocationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Geographic region of the search.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.LocationFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.LocationFilter) com.google.cloud.talent.v4beta1.LocationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.LocationFilter.class, com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); + com.google.cloud.talent.v4beta1.LocationFilter.class, + com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.LocationFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -736,9 +817,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override @@ -757,7 +838,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { - com.google.cloud.talent.v4beta1.LocationFilter result = new com.google.cloud.talent.v4beta1.LocationFilter(this); + com.google.cloud.talent.v4beta1.LocationFilter result = + new com.google.cloud.talent.v4beta1.LocationFilter(this); result.address_ = address_; result.regionCode_ = regionCode_; if (latLngBuilder_ == null) { @@ -776,38 +858,39 @@ public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.LocationFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.LocationFilter)other); + return mergeFrom((com.google.cloud.talent.v4beta1.LocationFilter) other); } else { super.mergeFrom(other); return this; @@ -862,44 +945,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - address_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 33: { - distanceInMiles_ = input.readDouble(); - - break; - } // case 33 - case 40: { - telecommutePreference_ = input.readEnum(); - - break; - } // case 40 - case 48: { - negated_ = input.readBool(); - - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + address_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + regionCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 33: + { + distanceInMiles_ = input.readDouble(); + + break; + } // case 33 + case 40: + { + telecommutePreference_ = input.readEnum(); + + break; + } // case 40 + case 48: + { + negated_ = input.readBool(); + + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -912,18 +1000,20 @@ public Builder mergeFrom( private java.lang.Object address_ = ""; /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -932,20 +1022,21 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return The bytes for address. */ - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -953,54 +1044,61 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress( - java.lang.String value) { + public Builder setAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + address_ = value; onChanged(); return this; } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return This builder for chaining. */ public Builder clearAddress() { - + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + address_ = value; onChanged(); return this; @@ -1008,6 +1106,8 @@ public Builder setAddressBytes( private java.lang.Object regionCode_ = ""; /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1024,13 +1124,13 @@ public Builder setAddressBytes(
      * 
* * string region_code = 2; + * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1039,6 +1139,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1055,15 +1157,14 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1071,6 +1172,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1087,20 +1190,22 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode( - java.lang.String value) { + public Builder setRegionCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1117,15 +1222,18 @@ public Builder setRegionCode(
      * 
* * string region_code = 2; + * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1142,16 +1250,16 @@ public Builder clearRegionCode() {
      * 
* * string region_code = 2; + * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; @@ -1159,26 +1267,33 @@ public Builder setRegionCodeBytes( private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + latLngBuilder_; /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1189,6 +1304,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1210,6 +1327,8 @@ public Builder setLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1217,8 +1336,7 @@ public Builder setLatLng(com.google.type.LatLng value) {
      *
      * .google.type.LatLng lat_lng = 3;
      */
-    public Builder setLatLng(
-        com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
       if (latLngBuilder_ == null) {
         latLng_ = builderForValue.build();
         onChanged();
@@ -1229,6 +1347,8 @@ public Builder setLatLng(
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1239,8 +1359,7 @@ public Builder setLatLng(
     public Builder mergeLatLng(com.google.type.LatLng value) {
       if (latLngBuilder_ == null) {
         if (latLng_ != null) {
-          latLng_ =
-            com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
+          latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
         } else {
           latLng_ = value;
         }
@@ -1252,6 +1371,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1271,6 +1392,8 @@ public Builder clearLatLng() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1279,11 +1402,13 @@ public Builder clearLatLng() {
      * .google.type.LatLng lat_lng = 3;
      */
     public com.google.type.LatLng.Builder getLatLngBuilder() {
-      
+
       onChanged();
       return getLatLngFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1295,11 +1420,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
       if (latLngBuilder_ != null) {
         return latLngBuilder_.getMessageOrBuilder();
       } else {
-        return latLng_ == null ?
-            com.google.type.LatLng.getDefaultInstance() : latLng_;
+        return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_;
       }
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1308,21 +1434,23 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * .google.type.LatLng lat_lng = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
         getLatLngFieldBuilder() {
       if (latLngBuilder_ == null) {
-        latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
-                getLatLng(),
-                getParentForChildren(),
-                isClean());
+        latLngBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.LatLng,
+                com.google.type.LatLng.Builder,
+                com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean());
         latLng_ = null;
       }
       return latLngBuilder_;
     }
 
-    private double distanceInMiles_ ;
+    private double distanceInMiles_;
     /**
+     *
+     *
      * 
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1330,6 +1458,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ @java.lang.Override @@ -1337,6 +1466,8 @@ public double getDistanceInMiles() { return distanceInMiles_; } /** + * + * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1344,16 +1475,19 @@ public double getDistanceInMiles() {
      * 
* * double distance_in_miles = 4; + * * @param value The distanceInMiles to set. * @return This builder for chaining. */ public Builder setDistanceInMiles(double value) { - + distanceInMiles_ = value; onChanged(); return this; } /** + * + * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1361,10 +1495,11 @@ public Builder setDistanceInMiles(double value) {
      * 
* * double distance_in_miles = 4; + * * @return This builder for chaining. */ public Builder clearDistanceInMiles() { - + distanceInMiles_ = 0D; onChanged(); return this; @@ -1372,6 +1507,8 @@ public Builder clearDistanceInMiles() { private int telecommutePreference_ = 0; /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1393,13 +1530,19 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override public int getTelecommutePreferenceValue() { + @java.lang.Override + public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1421,17 +1564,22 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @param value The enum numeric value on the wire for telecommutePreference to set. * @return This builder for chaining. */ public Builder setTelecommutePreferenceValue(int value) { - + telecommutePreference_ = value; onChanged(); return this; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1453,16 +1601,26 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference() { + public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference + getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); - return result == null ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf( + telecommutePreference_); + return result == null + ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED + : result; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1484,20 +1642,26 @@ public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getT
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @param value The telecommutePreference to set. * @return This builder for chaining. */ - public Builder setTelecommutePreference(com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference value) { + public Builder setTelecommutePreference( + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference value) { if (value == null) { throw new NullPointerException(); } - + telecommutePreference_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1519,24 +1683,30 @@ public Builder setTelecommutePreference(com.google.cloud.talent.v4beta1.Location
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return This builder for chaining. */ public Builder clearTelecommutePreference() { - + telecommutePreference_ = 0; onChanged(); return this; } - private boolean negated_ ; + private boolean negated_; /** + * + * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; + * * @return The negated. */ @java.lang.Override @@ -1544,39 +1714,45 @@ public boolean getNegated() { return negated_; } /** + * + * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; + * * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { - + negated_ = value; onChanged(); return this; } /** + * + * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; + * * @return This builder for chaining. */ public Builder clearNegated() { - + negated_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1586,12 +1762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.LocationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.LocationFilter) private static final com.google.cloud.talent.v4beta1.LocationFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.LocationFilter(); } @@ -1600,27 +1776,27 @@ public static com.google.cloud.talent.v4beta1.LocationFilter getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1635,6 +1811,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.LocationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java similarity index 86% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java index ca480203c29d..503bb48fd1c6 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface LocationFilterOrBuilder extends +public interface LocationFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.LocationFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The address. */ java.lang.String getAddress(); /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The bytes for address. */ - com.google.protobuf.ByteString - getAddressBytes(); + com.google.protobuf.ByteString getAddressBytes(); /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -44,10 +67,13 @@ public interface LocationFilterOrBuilder extends
    * 
* * string region_code = 2; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -64,32 +90,40 @@ public interface LocationFilterOrBuilder extends
    * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -100,6 +134,8 @@ public interface LocationFilterOrBuilder extends
   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
 
   /**
+   *
+   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -107,11 +143,14 @@ public interface LocationFilterOrBuilder extends
    * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ double getDistanceInMiles(); /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -133,11 +172,16 @@ public interface LocationFilterOrBuilder extends
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ int getTelecommutePreferenceValue(); /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -159,18 +203,24 @@ public interface LocationFilterOrBuilder extends
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference(); /** + * + * *
    * Whether to apply negation to the filter so profiles matching the filter
    * are excluded.
    * 
* * bool negated = 6; + * * @return The negated. */ boolean getNegated(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java similarity index 83% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java index f0c7568fd6bd..b19aaa08e413 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface LocationOrBuilder extends +public interface LocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Location) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -16,10 +34,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -28,11 +49,14 @@ public interface LocationOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The locationType. */ com.google.cloud.talent.v4beta1.Location.LocationType getLocationType(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -41,10 +65,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -53,10 +80,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -69,24 +99,32 @@ public interface LocationOrBuilder extends
   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
 
   /**
+   *
+   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
@@ -96,6 +134,8 @@ public interface LocationOrBuilder extends com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** + * + * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -106,6 +146,7 @@ public interface LocationOrBuilder extends
    * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ double getRadiusMiles(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java index 7e448fd561d0..9880ffb14916 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents the job posting region. In most cases, job postings
  * don't need to specify a region. If a region is given, jobs are
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.PostingRegion}
  */
-public enum PostingRegion
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
@@ -24,6 +42,8 @@ public enum PostingRegion
    */
   POSTING_REGION_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
@@ -39,6 +59,8 @@ public enum PostingRegion
    */
   ADMINISTRATIVE_AREA(1),
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
@@ -50,6 +72,8 @@ public enum PostingRegion
    */
   NATION(2),
   /**
+   *
+   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -63,6 +87,8 @@ public enum PostingRegion
   ;
 
   /**
+   *
+   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
@@ -72,6 +98,8 @@ public enum PostingRegion
    */
   public static final int POSTING_REGION_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
@@ -87,6 +115,8 @@ public enum PostingRegion
    */
   public static final int ADMINISTRATIVE_AREA_VALUE = 1;
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
@@ -98,6 +128,8 @@ public enum PostingRegion
    */
   public static final int NATION_VALUE = 2;
   /**
+   *
+   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -108,7 +140,6 @@ public enum PostingRegion
    */
   public static final int TELECOMMUTE_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -133,50 +164,51 @@ public static PostingRegion valueOf(int value) {
    */
   public static PostingRegion forNumber(int value) {
     switch (value) {
-      case 0: return POSTING_REGION_UNSPECIFIED;
-      case 1: return ADMINISTRATIVE_AREA;
-      case 2: return NATION;
-      case 3: return TELECOMMUTE;
-      default: return null;
+      case 0:
+        return POSTING_REGION_UNSPECIFIED;
+      case 1:
+        return ADMINISTRATIVE_AREA;
+      case 2:
+        return NATION;
+      case 3:
+        return TELECOMMUTE;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      PostingRegion> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PostingRegion findValueByNumber(int number) {
-            return PostingRegion.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public PostingRegion findValueByNumber(int number) {
+          return PostingRegion.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(6);
   }
 
   private static final PostingRegion[] VALUES = values();
 
-  public static PostingRegion valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PostingRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -192,4 +224,3 @@ private PostingRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.PostingRegion)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
similarity index 78%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
index 888f4c52ddae..a6cbf2f2c285 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Meta information related to the job searcher or entity
  * conducting the job search. This information is used to improve the
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.RequestMetadata}
  */
-public final class RequestMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.RequestMetadata)
     RequestMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RequestMetadata.newBuilder() to construct.
   private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RequestMetadata() {
     domain_ = "";
     sessionId_ = "";
@@ -29,32 +47,35 @@ private RequestMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.RequestMetadata.class, com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
+            com.google.cloud.talent.v4beta1.RequestMetadata.class,
+            com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 1;
   private volatile java.lang.Object domain_;
   /**
+   *
+   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -70,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * string domain = 1; + * * @return The domain. */ @java.lang.Override @@ -78,14 +100,15 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -101,16 +124,15 @@ public java.lang.String getDomain() {
    * 
* * string domain = 1; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -121,6 +143,8 @@ public java.lang.String getDomain() { public static final int SESSION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sessionId_; /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -134,6 +158,7 @@ public java.lang.String getDomain() {
    * 
* * string session_id = 2; + * * @return The sessionId. */ @java.lang.Override @@ -142,14 +167,15 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -163,16 +189,15 @@ public java.lang.String getSessionId() {
    * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -183,6 +208,8 @@ public java.lang.String getSessionId() { public static final int USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object userId_; /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -196,6 +223,7 @@ public java.lang.String getSessionId() {
    * 
* * string user_id = 3; + * * @return The userId. */ @java.lang.Override @@ -204,14 +232,15 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -225,16 +254,15 @@ public java.lang.String getUserId() {
    * 
* * string user_id = 3; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -245,6 +273,8 @@ public java.lang.String getUserId() { public static final int ALLOW_MISSING_IDS_FIELD_NUMBER = 4; private boolean allowMissingIds_; /** + * + * *
    * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -253,6 +283,7 @@ public java.lang.String getUserId() {
    * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ @java.lang.Override @@ -263,12 +294,15 @@ public boolean getAllowMissingIds() { public static final int DEVICE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ @java.lang.Override @@ -276,19 +310,26 @@ public boolean hasDeviceInfo() { return deviceInfo_ != null; } /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo() { - return deviceInfo_ == null ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_; + return deviceInfo_ == null + ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() + : deviceInfo_; } /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
@@ -302,6 +343,7 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +355,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
     }
@@ -349,12 +390,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_);
     }
     if (allowMissingIds_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, allowMissingIds_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissingIds_);
     }
     if (deviceInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getDeviceInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeviceInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -364,25 +403,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.RequestMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.RequestMetadata other = (com.google.cloud.talent.v4beta1.RequestMetadata) obj;
+    com.google.cloud.talent.v4beta1.RequestMetadata other =
+        (com.google.cloud.talent.v4beta1.RequestMetadata) obj;
 
-    if (!getDomain()
-        .equals(other.getDomain())) return false;
-    if (!getSessionId()
-        .equals(other.getSessionId())) return false;
-    if (!getUserId()
-        .equals(other.getUserId())) return false;
-    if (getAllowMissingIds()
-        != other.getAllowMissingIds()) return false;
+    if (!getDomain().equals(other.getDomain())) return false;
+    if (!getSessionId().equals(other.getSessionId())) return false;
+    if (!getUserId().equals(other.getUserId())) return false;
+    if (getAllowMissingIds() != other.getAllowMissingIds()) return false;
     if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
     if (hasDeviceInfo()) {
-      if (!getDeviceInfo()
-          .equals(other.getDeviceInfo())) return false;
+      if (!getDeviceInfo().equals(other.getDeviceInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -402,8 +437,7 @@ public int hashCode() {
     hash = (37 * hash) + USER_ID_FIELD_NUMBER;
     hash = (53 * hash) + getUserId().hashCode();
     hash = (37 * hash) + ALLOW_MISSING_IDS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowMissingIds());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissingIds());
     if (hasDeviceInfo()) {
       hash = (37 * hash) + DEVICE_INFO_FIELD_NUMBER;
       hash = (53 * hash) + getDeviceInfo().hashCode();
@@ -413,97 +447,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.RequestMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Meta information related to the job searcher or entity
    * conducting the job search. This information is used to improve the
@@ -512,33 +553,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.RequestMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.RequestMetadata)
       com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.RequestMetadata.class, com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
+              com.google.cloud.talent.v4beta1.RequestMetadata.class,
+              com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,9 +600,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -581,7 +621,8 @@ public com.google.cloud.talent.v4beta1.RequestMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() {
-      com.google.cloud.talent.v4beta1.RequestMetadata result = new com.google.cloud.talent.v4beta1.RequestMetadata(this);
+      com.google.cloud.talent.v4beta1.RequestMetadata result =
+          new com.google.cloud.talent.v4beta1.RequestMetadata(this);
       result.domain_ = domain_;
       result.sessionId_ = sessionId_;
       result.userId_ = userId_;
@@ -599,38 +640,39 @@ public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.RequestMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.RequestMetadata)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.RequestMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -638,7 +680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.RequestMetadata other) {
-      if (other == com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance())
+        return this;
       if (!other.getDomain().isEmpty()) {
         domain_ = other.domain_;
         onChanged();
@@ -683,39 +726,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              domain_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                domain_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              sessionId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                sessionId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              userId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                userId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              allowMissingIds_ = input.readBool();
+                break;
+              } // case 26
+            case 32:
+              {
+                allowMissingIds_ = input.readBool();
 
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getDeviceInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getDeviceInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -728,6 +775,8 @@ public Builder mergeFrom(
 
     private java.lang.Object domain_ = "";
     /**
+     *
+     *
      * 
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -743,13 +792,13 @@ public Builder mergeFrom(
      * 
* * string domain = 1; + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -758,6 +807,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -773,15 +824,14 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -789,6 +839,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -804,20 +856,22 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -833,15 +887,18 @@ public Builder setDomain(
      * 
* * string domain = 1; + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -857,16 +914,16 @@ public Builder clearDomain() {
      * 
* * string domain = 1; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -874,6 +931,8 @@ public Builder setDomainBytes( private java.lang.Object sessionId_ = ""; /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -887,13 +946,13 @@ public Builder setDomainBytes(
      * 
* * string session_id = 2; + * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -902,6 +961,8 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -915,15 +976,14 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -931,6 +991,8 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -944,20 +1006,22 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; + * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId( - java.lang.String value) { + public Builder setSessionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sessionId_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -971,15 +1035,18 @@ public Builder setSessionId(
      * 
* * string session_id = 2; + * * @return This builder for chaining. */ public Builder clearSessionId() { - + sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -993,16 +1060,16 @@ public Builder clearSessionId() {
      * 
* * string session_id = 2; + * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionId_ = value; onChanged(); return this; @@ -1010,6 +1077,8 @@ public Builder setSessionIdBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1023,13 +1092,13 @@ public Builder setSessionIdBytes(
      * 
* * string user_id = 3; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -1038,6 +1107,8 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1051,15 +1122,14 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -1067,6 +1137,8 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1080,20 +1152,22 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { + public Builder setUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userId_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1107,15 +1181,18 @@ public Builder setUserId(
      * 
* * string user_id = 3; + * * @return This builder for chaining. */ public Builder clearUserId() { - + userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1129,23 +1206,25 @@ public Builder clearUserId() {
      * 
* * string user_id = 3; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; onChanged(); return this; } - private boolean allowMissingIds_ ; + private boolean allowMissingIds_; /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1154,6 +1233,7 @@ public Builder setUserIdBytes(
      * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ @java.lang.Override @@ -1161,6 +1241,8 @@ public boolean getAllowMissingIds() { return allowMissingIds_; } /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1169,16 +1251,19 @@ public boolean getAllowMissingIds() {
      * 
* * bool allow_missing_ids = 4; + * * @param value The allowMissingIds to set. * @return This builder for chaining. */ public Builder setAllowMissingIds(boolean value) { - + allowMissingIds_ = value; onChanged(); return this; } /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1187,10 +1272,11 @@ public Builder setAllowMissingIds(boolean value) {
      * 
* * bool allow_missing_ids = 4; + * * @return This builder for chaining. */ public Builder clearAllowMissingIds() { - + allowMissingIds_ = false; onChanged(); return this; @@ -1198,36 +1284,49 @@ public Builder clearAllowMissingIds() { private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> deviceInfoBuilder_; + com.google.cloud.talent.v4beta1.DeviceInfo, + com.google.cloud.talent.v4beta1.DeviceInfo.Builder, + com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> + deviceInfoBuilder_; /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ public boolean hasDeviceInfo() { return deviceInfoBuilder_ != null || deviceInfo_ != null; } /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ public com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { - return deviceInfo_ == null ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_; + return deviceInfo_ == null + ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() + : deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1249,6 +1348,8 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1268,6 +1369,8 @@ public Builder setDeviceInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1279,7 +1382,9 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value)
       if (deviceInfoBuilder_ == null) {
         if (deviceInfo_ != null) {
           deviceInfo_ =
-            com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder(deviceInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           deviceInfo_ = value;
         }
@@ -1291,6 +1396,8 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1310,6 +1417,8 @@ public Builder clearDeviceInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1318,11 +1427,13 @@ public Builder clearDeviceInfo() {
      * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5;
      */
     public com.google.cloud.talent.v4beta1.DeviceInfo.Builder getDeviceInfoBuilder() {
-      
+
       onChanged();
       return getDeviceInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1334,11 +1445,14 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
       if (deviceInfoBuilder_ != null) {
         return deviceInfoBuilder_.getMessageOrBuilder();
       } else {
-        return deviceInfo_ == null ?
-            com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_;
+        return deviceInfo_ == null
+            ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance()
+            : deviceInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1347,21 +1461,24 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
      * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> 
+            com.google.cloud.talent.v4beta1.DeviceInfo,
+            com.google.cloud.talent.v4beta1.DeviceInfo.Builder,
+            com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>
         getDeviceInfoFieldBuilder() {
       if (deviceInfoBuilder_ == null) {
-        deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>(
-                getDeviceInfo(),
-                getParentForChildren(),
-                isClean());
+        deviceInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.DeviceInfo,
+                com.google.cloud.talent.v4beta1.DeviceInfo.Builder,
+                com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>(
+                getDeviceInfo(), getParentForChildren(), isClean());
         deviceInfo_ = null;
       }
       return deviceInfoBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1371,12 +1488,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.RequestMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.RequestMetadata)
   private static final com.google.cloud.talent.v4beta1.RequestMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.RequestMetadata();
   }
@@ -1385,27 +1502,27 @@ public static com.google.cloud.talent.v4beta1.RequestMetadata getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RequestMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RequestMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1420,6 +1537,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.RequestMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
similarity index 87%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
index f114b91a946a..bca38bf8c511 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface RequestMetadataOrBuilder extends
+public interface RequestMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.RequestMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -23,10 +41,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string domain = 1; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -42,12 +63,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string domain = 1; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -61,10 +84,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string session_id = 2; + * * @return The sessionId. */ java.lang.String getSessionId(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -78,12 +104,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString - getSessionIdBytes(); + com.google.protobuf.ByteString getSessionIdBytes(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -97,10 +125,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string user_id = 3; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -114,12 +145,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string user_id = 3; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -128,31 +161,40 @@ public interface RequestMetadataOrBuilder extends
    * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ boolean getAllowMissingIds(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ boolean hasDeviceInfo(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
similarity index 65%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
index b3e3aafa1e37..7c86c93f1c3b 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
@@ -1,62 +1,84 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Additional information returned to client, such as debugging information.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ResponseMetadata} */ -public final class ResponseMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ResponseMetadata) ResponseMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResponseMetadata.newBuilder() to construct. private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResponseMetadata() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResponseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ResponseMetadata.class, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4beta1.ResponseMetadata.class, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); } public static final int REQUEST_ID_FIELD_NUMBER = 1; private volatile java.lang.Object requestId_; /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The requestId. */ @java.lang.Override @@ -65,30 +87,30 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -97,6 +119,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -133,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ResponseMetadata)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ResponseMetadata other = (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; + com.google.cloud.talent.v4beta1.ResponseMetadata other = + (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,130 +182,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ResponseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Additional information returned to client, such as debugging information.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ResponseMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ResponseMetadata) com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ResponseMetadata.class, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4beta1.ResponseMetadata.class, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override @@ -314,7 +342,8 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { - com.google.cloud.talent.v4beta1.ResponseMetadata result = new com.google.cloud.talent.v4beta1.ResponseMetadata(this); + com.google.cloud.talent.v4beta1.ResponseMetadata result = + new com.google.cloud.talent.v4beta1.ResponseMetadata(this); result.requestId_ = requestId_; onBuilt(); return result; @@ -324,38 +353,39 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ResponseMetadata) { - return mergeFrom((com.google.cloud.talent.v4beta1.ResponseMetadata)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ResponseMetadata) other); } else { super.mergeFrom(other); return this; @@ -363,7 +393,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ResponseMetadata other) { - if (other == com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()) + return this; if (!other.getRequestId().isEmpty()) { requestId_ = other.requestId_; onChanged(); @@ -394,17 +425,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +450,21 @@ public Builder mergeFrom( private java.lang.Object requestId_ = ""; /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -438,21 +473,22 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -460,64 +496,71 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +570,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ResponseMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ResponseMetadata) private static final com.google.cloud.talent.v4beta1.ResponseMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ResponseMetadata(); } @@ -541,27 +584,27 @@ public static com.google.cloud.talent.v4beta1.ResponseMetadata getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,6 +619,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ResponseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java similarity index 50% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java index eaf1c9869787..45601997b428 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface ResponseMetadataOrBuilder extends +public interface ResponseMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ResponseMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java similarity index 85% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java index 7f374b34ad34..12fb92160926 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The Request body of the `SearchJobs` call.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest} */ -public final class SearchJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsRequest) SearchJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchJobsRequest.newBuilder() to construct. private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; @@ -32,30 +50,33 @@ private SearchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); } /** + * + * *
    * A string-represented enumeration of the job search mode. The service
    * operate differently for different modes of service.
@@ -63,9 +84,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode}
    */
-  public enum SearchMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -75,6 +97,8 @@ public enum SearchMode
      */
     SEARCH_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -84,6 +108,8 @@ public enum SearchMode
      */
     JOB_SEARCH(1),
     /**
+     *
+     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -99,6 +125,8 @@ public enum SearchMode
     ;
 
     /**
+     *
+     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -108,6 +136,8 @@ public enum SearchMode
      */
     public static final int SEARCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -117,6 +147,8 @@ public enum SearchMode
      */
     public static final int JOB_SEARCH_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -129,7 +161,6 @@ public enum SearchMode
      */
     public static final int FEATURED_JOB_SEARCH_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -154,49 +185,51 @@ public static SearchMode valueOf(int value) {
      */
     public static SearchMode forNumber(int value) {
       switch (value) {
-        case 0: return SEARCH_MODE_UNSPECIFIED;
-        case 1: return JOB_SEARCH;
-        case 2: return FEATURED_JOB_SEARCH;
-        default: return null;
+        case 0:
+          return SEARCH_MODE_UNSPECIFIED;
+        case 1:
+          return JOB_SEARCH;
+        case 2:
+          return FEATURED_JOB_SEARCH;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        SearchMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public SearchMode findValueByNumber(int number) {
-              return SearchMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public SearchMode findValueByNumber(int number) {
+            return SearchMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final SearchMode[] VALUES = values();
 
-    public static SearchMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -214,6 +247,8 @@ private SearchMode(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -225,9 +260,10 @@ private SearchMode(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel}
    */
-  public enum DiversificationLevel
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The diversification level isn't specified.
      * 
@@ -236,6 +272,8 @@ public enum DiversificationLevel */ DIVERSIFICATION_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -246,6 +284,8 @@ public enum DiversificationLevel
      */
     DISABLED(1),
     /**
+     *
+     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -262,6 +302,8 @@ public enum DiversificationLevel
     ;
 
     /**
+     *
+     *
      * 
      * The diversification level isn't specified.
      * 
@@ -270,6 +312,8 @@ public enum DiversificationLevel */ public static final int DIVERSIFICATION_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -280,6 +324,8 @@ public enum DiversificationLevel
      */
     public static final int DISABLED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -293,7 +339,6 @@ public enum DiversificationLevel
      */
     public static final int SIMPLE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,10 +363,14 @@ public static DiversificationLevel valueOf(int value) {
      */
     public static DiversificationLevel forNumber(int value) {
       switch (value) {
-        case 0: return DIVERSIFICATION_LEVEL_UNSPECIFIED;
-        case 1: return DISABLED;
-        case 2: return SIMPLE;
-        default: return null;
+        case 0:
+          return DIVERSIFICATION_LEVEL_UNSPECIFIED;
+        case 1:
+          return DISABLED;
+        case 2:
+          return SIMPLE;
+        default:
+          return null;
       }
     }
 
@@ -329,29 +378,31 @@ public static DiversificationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DiversificationLevel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DiversificationLevel findValueByNumber(int number) {
-              return DiversificationLevel.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public DiversificationLevel findValueByNumber(int number) {
+                return DiversificationLevel.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final DiversificationLevel[] VALUES = values();
@@ -359,8 +410,7 @@ public DiversificationLevel findValueByNumber(int number) {
     public static DiversificationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -378,6 +428,8 @@ private DiversificationLevel(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Controls what keyword matching behavior the search has. When keyword
    * matching is enabled, a keyword match returns jobs that may not match given
@@ -397,9 +449,10 @@ private DiversificationLevel(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode}
    */
-  public enum KeywordMatchMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -409,6 +462,8 @@ public enum KeywordMatchMode
      */
     KEYWORD_MATCH_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Disables keyword matching.
      * 
@@ -417,6 +472,8 @@ public enum KeywordMatchMode */ KEYWORD_MATCH_DISABLED(1), /** + * + * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
      * [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
@@ -428,6 +485,8 @@ public enum KeywordMatchMode
      */
     KEYWORD_MATCH_ALL(2),
     /**
+     *
+     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
      * 
@@ -439,6 +498,8 @@ public enum KeywordMatchMode ; /** + * + * *
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -448,6 +509,8 @@ public enum KeywordMatchMode
      */
     public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Disables keyword matching.
      * 
@@ -456,6 +519,8 @@ public enum KeywordMatchMode */ public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; /** + * + * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
      * [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
@@ -467,6 +532,8 @@ public enum KeywordMatchMode
      */
     public static final int KEYWORD_MATCH_ALL_VALUE = 2;
     /**
+     *
+     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
      * 
@@ -475,7 +542,6 @@ public enum KeywordMatchMode */ public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -500,41 +566,47 @@ public static KeywordMatchMode valueOf(int value) { */ public static KeywordMatchMode forNumber(int value) { switch (value) { - case 0: return KEYWORD_MATCH_MODE_UNSPECIFIED; - case 1: return KEYWORD_MATCH_DISABLED; - case 2: return KEYWORD_MATCH_ALL; - case 3: return KEYWORD_MATCH_TITLE_ONLY; - default: return null; + case 0: + return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: + return KEYWORD_MATCH_DISABLED; + case 2: + return KEYWORD_MATCH_ALL; + case 3: + return KEYWORD_MATCH_TITLE_ONLY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - KeywordMatchMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeywordMatchMode findValueByNumber(int number) { - return KeywordMatchMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor() + .getEnumTypes() + .get(2); } private static final KeywordMatchMode[] VALUES = values(); @@ -542,8 +614,7 @@ public KeywordMatchMode findValueByNumber(int number) { public static KeywordMatchMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -560,11 +631,14 @@ private KeywordMatchMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode) } - public interface CustomRankingInfoOrBuilder extends + public interface CustomRankingInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -572,11 +646,16 @@ public interface CustomRankingInfoOrBuilder extends
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ int getImportanceLevelValue(); /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -584,12 +663,18 @@ public interface CustomRankingInfoOrBuilder extends
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel(); /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -610,10 +695,13 @@ public interface CustomRankingInfoOrBuilder extends
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ java.lang.String getRankingExpression(); /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -634,27 +722,30 @@ public interface CustomRankingInfoOrBuilder extends
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ - com.google.protobuf.ByteString - getRankingExpressionBytes(); + com.google.protobuf.ByteString getRankingExpressionBytes(); } /** + * + * *
    * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo} */ - public static final class CustomRankingInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CustomRankingInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) CustomRankingInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomRankingInfo.newBuilder() to construct. private CustomRankingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomRankingInfo() { importanceLevel_ = 0; rankingExpression_ = ""; @@ -662,39 +753,44 @@ private CustomRankingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomRankingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); } /** + * + * *
      * The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression].
      * 
* - * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} + * Protobuf enum {@code + * google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} */ - public enum ImportanceLevel - implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value if the importance level isn't specified.
        * 
@@ -703,6 +799,8 @@ public enum ImportanceLevel */ IMPORTANCE_LEVEL_UNSPECIFIED(0), /** + * + * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -713,6 +811,8 @@ public enum ImportanceLevel
        */
       NONE(1),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -723,6 +823,8 @@ public enum ImportanceLevel
        */
       LOW(2),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -733,6 +835,8 @@ public enum ImportanceLevel
        */
       MILD(3),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -743,6 +847,8 @@ public enum ImportanceLevel
        */
       MEDIUM(4),
       /**
+       *
+       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -753,6 +859,8 @@ public enum ImportanceLevel
        */
       HIGH(5),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -766,6 +874,8 @@ public enum ImportanceLevel
       ;
 
       /**
+       *
+       *
        * 
        * Default value if the importance level isn't specified.
        * 
@@ -774,6 +884,8 @@ public enum ImportanceLevel */ public static final int IMPORTANCE_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -784,6 +896,8 @@ public enum ImportanceLevel
        */
       public static final int NONE_VALUE = 1;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -794,6 +908,8 @@ public enum ImportanceLevel
        */
       public static final int LOW_VALUE = 2;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -804,6 +920,8 @@ public enum ImportanceLevel
        */
       public static final int MILD_VALUE = 3;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -814,6 +932,8 @@ public enum ImportanceLevel
        */
       public static final int MEDIUM_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -824,6 +944,8 @@ public enum ImportanceLevel
        */
       public static final int HIGH_VALUE = 5;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -834,7 +956,6 @@ public enum ImportanceLevel
        */
       public static final int EXTREME_VALUE = 6;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -859,14 +980,22 @@ public static ImportanceLevel valueOf(int value) {
        */
       public static ImportanceLevel forNumber(int value) {
         switch (value) {
-          case 0: return IMPORTANCE_LEVEL_UNSPECIFIED;
-          case 1: return NONE;
-          case 2: return LOW;
-          case 3: return MILD;
-          case 4: return MEDIUM;
-          case 5: return HIGH;
-          case 6: return EXTREME;
-          default: return null;
+          case 0:
+            return IMPORTANCE_LEVEL_UNSPECIFIED;
+          case 1:
+            return NONE;
+          case 2:
+            return LOW;
+          case 3:
+            return MILD;
+          case 4:
+            return MEDIUM;
+          case 5:
+            return HIGH;
+          case 6:
+            return EXTREME;
+          default:
+            return null;
         }
       }
 
@@ -874,29 +1003,31 @@ public static ImportanceLevel forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ImportanceLevel> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ImportanceLevel findValueByNumber(int number) {
-                return ImportanceLevel.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public ImportanceLevel findValueByNumber(int number) {
+                  return ImportanceLevel.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ImportanceLevel[] VALUES = values();
@@ -904,8 +1035,7 @@ public ImportanceLevel findValueByNumber(int number) {
       public static ImportanceLevel valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -925,6 +1055,8 @@ private ImportanceLevel(int value) {
     public static final int IMPORTANCE_LEVEL_FIELD_NUMBER = 1;
     private int importanceLevel_;
     /**
+     *
+     *
      * 
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -932,13 +1064,19 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override public int getImportanceLevelValue() { + @java.lang.Override + public int getImportanceLevelValue() { return importanceLevel_; } /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -946,18 +1084,30 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .valueOf(importanceLevel_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .UNRECOGNIZED + : result; } public static final int RANKING_EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object rankingExpression_; /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -978,6 +1128,7 @@ private ImportanceLevel(int value) {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ @java.lang.Override @@ -986,14 +1137,15 @@ public java.lang.String getRankingExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; } } /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1014,16 +1166,15 @@ public java.lang.String getRankingExpression() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getRankingExpressionBytes() { + public com.google.protobuf.ByteString getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1032,6 +1183,7 @@ public java.lang.String getRankingExpression() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1043,9 +1195,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (importanceLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (importanceLevel_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .IMPORTANCE_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { @@ -1060,9 +1214,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (importanceLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, importanceLevel_); + if (importanceLevel_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .IMPORTANCE_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rankingExpression_); @@ -1075,16 +1231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = + (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; if (importanceLevel_ != other.importanceLevel_) return false; - if (!getRankingExpression() - .equals(other.getRankingExpression())) return false; + if (!getRankingExpression().equals(other.getRankingExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1106,87 +1262,95 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1196,39 +1360,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); } - // Construct using com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1240,14 +1407,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance(); + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + .getDefaultInstance(); } @java.lang.Override @@ -1261,7 +1430,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo result = new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(this); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo result = + new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(this); result.importanceLevel_ = importanceLevel_; result.rankingExpression_ = rankingExpression_; onBuilt(); @@ -1272,46 +1442,53 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo)other); + return mergeFrom( + (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other) { + if (other + == com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + .getDefaultInstance()) return this; if (other.importanceLevel_ != 0) { setImportanceLevelValue(other.getImportanceLevelValue()); } @@ -1345,22 +1522,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - importanceLevel_ = input.readEnum(); - - break; - } // case 8 - case 18: { - rankingExpression_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + importanceLevel_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + rankingExpression_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1373,6 +1553,8 @@ public Builder mergeFrom( private int importanceLevel_ = 0; /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1380,13 +1562,19 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override public int getImportanceLevelValue() { + @java.lang.Override + public int getImportanceLevelValue() { return importanceLevel_; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1394,17 +1582,22 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for importanceLevel to set. * @return This builder for chaining. */ public Builder setImportanceLevelValue(int value) { - + importanceLevel_ = value; onChanged(); return this; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1412,16 +1605,27 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .valueOf(importanceLevel_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .UNRECOGNIZED + : result; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1429,20 +1633,27 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Impor
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The importanceLevel to set. * @return This builder for chaining. */ - public Builder setImportanceLevel(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { + public Builder setImportanceLevel( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + value) { if (value == null) { throw new NullPointerException(); } - + importanceLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1450,11 +1661,14 @@ public Builder setImportanceLevel(com.google.cloud.talent.v4beta1.SearchJobsRequ
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearImportanceLevel() { - + importanceLevel_ = 0; onChanged(); return this; @@ -1462,6 +1676,8 @@ public Builder clearImportanceLevel() { private java.lang.Object rankingExpression_ = ""; /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1482,13 +1698,13 @@ public Builder clearImportanceLevel() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ public java.lang.String getRankingExpression() { java.lang.Object ref = rankingExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; @@ -1497,6 +1713,8 @@ public java.lang.String getRankingExpression() { } } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1517,15 +1735,14 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ - public com.google.protobuf.ByteString - getRankingExpressionBytes() { + public com.google.protobuf.ByteString getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1533,6 +1750,8 @@ public java.lang.String getRankingExpression() { } } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1553,20 +1772,22 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpression( - java.lang.String value) { + public Builder setRankingExpression(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rankingExpression_ = value; onChanged(); return this; } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1587,15 +1808,18 @@ public Builder setRankingExpression(
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRankingExpression() { - + rankingExpression_ = getDefaultInstance().getRankingExpression(); onChanged(); return this; } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1616,20 +1840,21 @@ public Builder clearRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpressionBytes( - com.google.protobuf.ByteString value) { + public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rankingExpression_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1642,41 +1867,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) - private static final com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo DEFAULT_INSTANCE; + private static final com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomRankingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomRankingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1688,15 +1916,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -1704,7 +1934,10 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDe
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -1713,14 +1946,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -1728,17 +1962,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1749,42 +1984,58 @@ public java.lang.String getParent() { public static final int SEARCH_MODE_FIELD_NUMBER = 2; private int searchMode_; /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override public int getSearchModeValue() { + @java.lang.Override + public int getSearchModeValue() { return searchMode_; } /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED + : result; } public static final int REQUEST_METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ @java.lang.Override @@ -1792,27 +2043,38 @@ public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata() { - return requestMetadata_ == null ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() + : requestMetadata_; } /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { @@ -1822,11 +2084,14 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada public static final int JOB_QUERY_FIELD_NUMBER = 4; private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ @java.lang.Override @@ -1834,18 +2099,25 @@ public boolean hasJobQuery() { return jobQuery_ != null; } /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return The jobQuery. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobQuery getJobQuery() { - return jobQuery_ == null ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() + : jobQuery_; } /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -1860,6 +2132,8 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() public static final int ENABLE_BROADENING_FIELD_NUMBER = 5; private boolean enableBroadening_; /** + * + * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -1868,6 +2142,7 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder()
    * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ @java.lang.Override @@ -1878,23 +2153,29 @@ public boolean getEnableBroadening() { public static final int REQUIRE_PRECISE_RESULT_SIZE_FIELD_NUMBER = 6; private boolean requirePreciseResultSize_; /** + * + * *
    * This field is deprecated.
    * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ @java.lang.Override - @java.lang.Deprecated public boolean getRequirePreciseResultSize() { + @java.lang.Deprecated + public boolean getRequirePreciseResultSize() { return requirePreciseResultSize_; } public static final int HISTOGRAM_QUERIES_FIELD_NUMBER = 7; private java.util.List histogramQueries_; /** + * + * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -1988,6 +2269,8 @@ public java.util.List getHistogr
     return histogramQueries_;
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2077,11 +2360,13 @@ public java.util.List getHistogr
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getHistogramQueriesOrBuilderList() {
     return histogramQueries_;
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2175,6 +2460,8 @@ public int getHistogramQueriesCount() {
     return histogramQueries_.size();
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2268,6 +2555,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
     return histogramQueries_.get(index);
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2365,35 +2654,46 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
   public static final int JOB_VIEW_FIELD_NUMBER = 8;
   private int jobView_;
   /**
+   *
+   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The jobView. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = + com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } public static final int OFFSET_FIELD_NUMBER = 9; private int offset_; /** + * + * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -2406,6 +2706,7 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
    * 
* * int32 offset = 9; + * * @return The offset. */ @java.lang.Override @@ -2416,6 +2717,8 @@ public int getOffset() { public static final int PAGE_SIZE_FIELD_NUMBER = 10; private int pageSize_; /** + * + * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -2423,6 +2726,7 @@ public int getOffset() {
    * 
* * int32 page_size = 10; + * * @return The pageSize. */ @java.lang.Override @@ -2433,6 +2737,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object pageToken_; /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -2440,6 +2746,7 @@ public int getPageSize() {
    * 
* * string page_token = 11; + * * @return The pageToken. */ @java.lang.Override @@ -2448,14 +2755,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -2463,16 +2771,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2483,6 +2790,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 12; private volatile java.lang.Object orderBy_; /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2535,6 +2844,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 12; + * * @return The orderBy. */ @java.lang.Override @@ -2543,14 +2853,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2603,16 +2914,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2623,6 +2933,8 @@ public java.lang.String getOrderBy() { public static final int DIVERSIFICATION_LEVEL_FIELD_NUMBER = 13; private int diversificationLevel_; /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2634,13 +2946,19 @@ public java.lang.String getOrderBy() {
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override public int getDiversificationLevelValue() { + @java.lang.Override + public int getDiversificationLevelValue() { return diversificationLevel_; } /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2652,24 +2970,38 @@ public java.lang.String getOrderBy() {
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel + getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf( + diversificationLevel_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED + : result; } public static final int CUSTOM_RANKING_INFO_FIELD_NUMBER = 14; private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ @java.lang.Override @@ -2677,34 +3009,49 @@ public boolean hasCustomRankingInfo() { return customRankingInfo_ != null; } /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { - return customRankingInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getCustomRankingInfo() { + return customRankingInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() + : customRankingInfo_; } /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder() { return getCustomRankingInfo(); } public static final int DISABLE_KEYWORD_MATCH_FIELD_NUMBER = 16; private boolean disableKeywordMatch_; /** + * + * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -2731,6 +3078,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuil
    * 
* * bool disable_keyword_match = 16; + * * @return The disableKeywordMatch. */ @java.lang.Override @@ -2741,35 +3089,50 @@ public boolean getDisableKeywordMatch() { public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; private int keywordMatchMode_; /** + * + * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override public int getKeywordMatchModeValue() { + @java.lang.Override + public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** + * + * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf( + keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2781,12 +3144,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (searchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { + if (searchMode_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, searchMode_); } if (requestMetadata_ != null) { @@ -2819,7 +3183,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, orderBy_); } - if (diversificationLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { + if (diversificationLevel_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel + .DIVERSIFICATION_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(13, diversificationLevel_); } if (customRankingInfo_ != null) { @@ -2828,7 +3195,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } - if (keywordMatchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { + if (keywordMatchMode_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(18, keywordMatchMode_); } getUnknownFields().writeTo(output); @@ -2843,41 +3213,34 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (searchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, searchMode_); + if (searchMode_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, searchMode_); } if (requestMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequestMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestMetadata()); } if (jobQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getJobQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getJobQuery()); } if (enableBroadening_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableBroadening_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableBroadening_); } if (requirePreciseResultSize_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requirePreciseResultSize_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requirePreciseResultSize_); } for (int i = 0; i < histogramQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, histogramQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, histogramQueries_.get(i)); } if (jobView_ != com.google.cloud.talent.v4beta1.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, jobView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, jobView_); } if (offset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, offset_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(10, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, pageToken_); @@ -2885,21 +3248,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, orderBy_); } - if (diversificationLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(13, diversificationLevel_); + if (diversificationLevel_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel + .DIVERSIFICATION_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, diversificationLevel_); } if (customRankingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getCustomRankingInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getCustomRankingInfo()); } if (disableKeywordMatch_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, disableKeywordMatch_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); } - if (keywordMatchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(18, keywordMatchMode_); + if (keywordMatchMode_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2909,49 +3274,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsRequest other = (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; + com.google.cloud.talent.v4beta1.SearchJobsRequest other = + (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (searchMode_ != other.searchMode_) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - if (!getRequestMetadata() - .equals(other.getRequestMetadata())) return false; + if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; } if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - if (!getJobQuery() - .equals(other.getJobQuery())) return false; - } - if (getEnableBroadening() - != other.getEnableBroadening()) return false; - if (getRequirePreciseResultSize() - != other.getRequirePreciseResultSize()) return false; - if (!getHistogramQueriesList() - .equals(other.getHistogramQueriesList())) return false; + if (!getJobQuery().equals(other.getJobQuery())) return false; + } + if (getEnableBroadening() != other.getEnableBroadening()) return false; + if (getRequirePreciseResultSize() != other.getRequirePreciseResultSize()) return false; + if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; if (jobView_ != other.jobView_) return false; - if (getOffset() - != other.getOffset()) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (getOffset() != other.getOffset()) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (diversificationLevel_ != other.diversificationLevel_) return false; if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - if (!getCustomRankingInfo() - .equals(other.getCustomRankingInfo())) return false; + if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; } - if (getDisableKeywordMatch() - != other.getDisableKeywordMatch()) return false; + if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2977,11 +3331,9 @@ public int hashCode() { hash = (53 * hash) + getJobQuery().hashCode(); } hash = (37 * hash) + ENABLE_BROADENING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableBroadening()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableBroadening()); hash = (37 * hash) + REQUIRE_PRECISE_RESULT_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequirePreciseResultSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequirePreciseResultSize()); if (getHistogramQueriesCount() > 0) { hash = (37 * hash) + HISTOGRAM_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getHistogramQueriesList().hashCode(); @@ -3003,8 +3355,7 @@ public int hashCode() { hash = (53 * hash) + getCustomRankingInfo().hashCode(); } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableKeywordMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3013,129 +3364,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request body of the `SearchJobs` call.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsRequest) com.google.cloud.talent.v4beta1.SearchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3192,9 +3549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override @@ -3213,7 +3570,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsRequest result = new com.google.cloud.talent.v4beta1.SearchJobsRequest(this); + com.google.cloud.talent.v4beta1.SearchJobsRequest result = + new com.google.cloud.talent.v4beta1.SearchJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.searchMode_ = searchMode_; @@ -3259,38 +3617,39 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -3298,7 +3657,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -3336,9 +3696,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest other histogramQueriesBuilder_ = null; histogramQueries_ = other.histogramQueries_; bitField0_ = (bitField0_ & ~0x00000001); - histogramQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHistogramQueriesFieldBuilder() : null; + histogramQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHistogramQueriesFieldBuilder() + : null; } else { histogramQueriesBuilder_.addAllMessages(other.histogramQueries_); } @@ -3399,106 +3760,117 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - searchMode_ = input.readEnum(); + break; + } // case 10 + case 16: + { + searchMode_ = input.readEnum(); - break; - } // case 16 - case 26: { - input.readMessage( - getRequestMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 16 + case 26: + { + input.readMessage(getRequestMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - input.readMessage( - getJobQueryFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getJobQueryFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 40: { - enableBroadening_ = input.readBool(); + break; + } // case 34 + case 40: + { + enableBroadening_ = input.readBool(); - break; - } // case 40 - case 48: { - requirePreciseResultSize_ = input.readBool(); + break; + } // case 40 + case 48: + { + requirePreciseResultSize_ = input.readBool(); - break; - } // case 48 - case 58: { - com.google.cloud.talent.v4beta1.HistogramQuery m = - input.readMessage( - com.google.cloud.talent.v4beta1.HistogramQuery.parser(), - extensionRegistry); - if (histogramQueriesBuilder_ == null) { - ensureHistogramQueriesIsMutable(); - histogramQueries_.add(m); - } else { - histogramQueriesBuilder_.addMessage(m); - } - break; - } // case 58 - case 64: { - jobView_ = input.readEnum(); + break; + } // case 48 + case 58: + { + com.google.cloud.talent.v4beta1.HistogramQuery m = + input.readMessage( + com.google.cloud.talent.v4beta1.HistogramQuery.parser(), extensionRegistry); + if (histogramQueriesBuilder_ == null) { + ensureHistogramQueriesIsMutable(); + histogramQueries_.add(m); + } else { + histogramQueriesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: + { + jobView_ = input.readEnum(); - break; - } // case 64 - case 72: { - offset_ = input.readInt32(); + break; + } // case 64 + case 72: + { + offset_ = input.readInt32(); - break; - } // case 72 - case 80: { - pageSize_ = input.readInt32(); + break; + } // case 72 + case 80: + { + pageSize_ = input.readInt32(); - break; - } // case 80 - case 90: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 80 + case 90: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 90 - case 98: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 90 + case 98: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 98 - case 104: { - diversificationLevel_ = input.readEnum(); + break; + } // case 98 + case 104: + { + diversificationLevel_ = input.readEnum(); - break; - } // case 104 - case 114: { - input.readMessage( - getCustomRankingInfoFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 104 + case 114: + { + input.readMessage( + getCustomRankingInfoFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 114 - case 128: { - disableKeywordMatch_ = input.readBool(); + break; + } // case 114 + case 128: + { + disableKeywordMatch_ = input.readBool(); - break; - } // case 128 - case 144: { - keywordMatchMode_ = input.readEnum(); + break; + } // case 128 + case 144: + { + keywordMatchMode_ = input.readEnum(); - break; - } // case 144 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3508,10 +3880,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3519,14 +3894,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3535,6 +3912,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3542,16 +3921,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3559,6 +3939,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3566,21 +3948,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3588,16 +3974,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3605,17 +3996,19 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -3623,78 +4016,98 @@ public Builder setParentBytes( private int searchMode_ = 0; /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override public int getSearchModeValue() { + @java.lang.Override + public int getSearchModeValue() { return searchMode_; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @param value The enum numeric value on the wire for searchMode to set. * @return This builder for chaining. */ public Builder setSearchModeValue(int value) { - + searchMode_ = value; onChanged(); return this; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @param value The searchMode to set. * @return This builder for chaining. */ - public Builder setSearchMode(com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode value) { + public Builder setSearchMode( + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode value) { if (value == null) { throw new NullPointerException(); } - + searchMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return This builder for chaining. */ public Builder clearSearchMode() { - + searchMode_ = 0; onChanged(); return this; @@ -3702,45 +4115,64 @@ public Builder clearSearchMode() { private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> requestMetadataBuilder_; + com.google.cloud.talent.v4beta1.RequestMetadata, + com.google.cloud.talent.v4beta1.RequestMetadata.Builder, + com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> + requestMetadataBuilder_; /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ public com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { - return requestMetadata_ == null ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() + : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadata value) { if (requestMetadataBuilder_ == null) { @@ -3756,13 +4188,17 @@ public Builder setRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadat return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequestMetadata( com.google.cloud.talent.v4beta1.RequestMetadata.Builder builderForValue) { @@ -3776,19 +4212,25 @@ public Builder setRequestMetadata( return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = - com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder(requestMetadata_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder(requestMetadata_) + .mergeFrom(value) + .buildPartial(); } else { requestMetadata_ = value; } @@ -3800,13 +4242,17 @@ public Builder mergeRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetad return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { @@ -3820,54 +4266,70 @@ public Builder clearRequestMetadata() { return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.RequestMetadata.Builder getRequestMetadataBuilder() { - + onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { - return requestMetadata_ == null ? - com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() + : requestMetadata_; } } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> + com.google.cloud.talent.v4beta1.RequestMetadata, + com.google.cloud.talent.v4beta1.RequestMetadata.Builder, + com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { - requestMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder>( - getRequestMetadata(), - getParentForChildren(), - isClean()); + requestMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.RequestMetadata, + com.google.cloud.talent.v4beta1.RequestMetadata.Builder, + com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder>( + getRequestMetadata(), getParentForChildren(), isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; @@ -3875,34 +4337,47 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder> jobQueryBuilder_; + com.google.cloud.talent.v4beta1.JobQuery, + com.google.cloud.talent.v4beta1.JobQuery.Builder, + com.google.cloud.talent.v4beta1.JobQueryOrBuilder> + jobQueryBuilder_; /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ public boolean hasJobQuery() { return jobQueryBuilder_ != null || jobQuery_ != null; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return The jobQuery. */ public com.google.cloud.talent.v4beta1.JobQuery getJobQuery() { if (jobQueryBuilder_ == null) { - return jobQuery_ == null ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() + : jobQuery_; } else { return jobQueryBuilder_.getMessage(); } } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3923,14 +4398,15 @@ public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ - public Builder setJobQuery( - com.google.cloud.talent.v4beta1.JobQuery.Builder builderForValue) { + public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery.Builder builderForValue) { if (jobQueryBuilder_ == null) { jobQuery_ = builderForValue.build(); onChanged(); @@ -3941,6 +4417,8 @@ public Builder setJobQuery( return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3951,7 +4429,9 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { if (jobQueryBuilder_ == null) { if (jobQuery_ != null) { jobQuery_ = - com.google.cloud.talent.v4beta1.JobQuery.newBuilder(jobQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.JobQuery.newBuilder(jobQuery_) + .mergeFrom(value) + .buildPartial(); } else { jobQuery_ = value; } @@ -3963,6 +4443,8 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3981,6 +4463,8 @@ public Builder clearJobQuery() { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3988,11 +4472,13 @@ public Builder clearJobQuery() { * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ public com.google.cloud.talent.v4beta1.JobQuery.Builder getJobQueryBuilder() { - + onChanged(); return getJobQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4003,11 +4489,14 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() if (jobQueryBuilder_ != null) { return jobQueryBuilder_.getMessageOrBuilder(); } else { - return jobQuery_ == null ? - com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() + : jobQuery_; } } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4015,21 +4504,26 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder> + com.google.cloud.talent.v4beta1.JobQuery, + com.google.cloud.talent.v4beta1.JobQuery.Builder, + com.google.cloud.talent.v4beta1.JobQueryOrBuilder> getJobQueryFieldBuilder() { if (jobQueryBuilder_ == null) { - jobQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder>( - getJobQuery(), - getParentForChildren(), - isClean()); + jobQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.JobQuery, + com.google.cloud.talent.v4beta1.JobQuery.Builder, + com.google.cloud.talent.v4beta1.JobQueryOrBuilder>( + getJobQuery(), getParentForChildren(), isClean()); jobQuery_ = null; } return jobQueryBuilder_; } - private boolean enableBroadening_ ; + private boolean enableBroadening_; /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4038,6 +4532,7 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder()
      * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ @java.lang.Override @@ -4045,6 +4540,8 @@ public boolean getEnableBroadening() { return enableBroadening_; } /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4053,16 +4550,19 @@ public boolean getEnableBroadening() {
      * 
* * bool enable_broadening = 5; + * * @param value The enableBroadening to set. * @return This builder for chaining. */ public Builder setEnableBroadening(boolean value) { - + enableBroadening_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4071,77 +4571,98 @@ public Builder setEnableBroadening(boolean value) {
      * 
* * bool enable_broadening = 5; + * * @return This builder for chaining. */ public Builder clearEnableBroadening() { - + enableBroadening_ = false; onChanged(); return this; } - private boolean requirePreciseResultSize_ ; + private boolean requirePreciseResultSize_; /** + * + * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ @java.lang.Override - @java.lang.Deprecated public boolean getRequirePreciseResultSize() { + @java.lang.Deprecated + public boolean getRequirePreciseResultSize() { return requirePreciseResultSize_; } /** + * + * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @param value The requirePreciseResultSize to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setRequirePreciseResultSize(boolean value) { - + @java.lang.Deprecated + public Builder setRequirePreciseResultSize(boolean value) { + requirePreciseResultSize_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearRequirePreciseResultSize() { - + @java.lang.Deprecated + public Builder clearRequirePreciseResultSize() { + requirePreciseResultSize_ = false; onChanged(); return this; } private java.util.List histogramQueries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHistogramQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - histogramQueries_ = new java.util.ArrayList(histogramQueries_); + histogramQueries_ = + new java.util.ArrayList( + histogramQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> histogramQueriesBuilder_; + com.google.cloud.talent.v4beta1.HistogramQuery, + com.google.cloud.talent.v4beta1.HistogramQuery.Builder, + com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> + histogramQueriesBuilder_; /** + * + * *
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4230,7 +4751,8 @@ private void ensureHistogramQueriesIsMutable() {
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List getHistogramQueriesList() {
+    public java.util.List
+        getHistogramQueriesList() {
       if (histogramQueriesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(histogramQueries_);
       } else {
@@ -4238,6 +4760,8 @@ public java.util.List getHistogr
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4334,6 +4858,8 @@ public int getHistogramQueriesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4430,6 +4956,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4533,6 +5061,8 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4633,6 +5163,8 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4735,6 +5267,8 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4beta1.HistogramQuer
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4838,6 +5372,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4938,6 +5474,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5038,6 +5576,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5130,8 +5670,7 @@ public Builder addAllHistogramQueries(
         java.lang.Iterable values) {
       if (histogramQueriesBuilder_ == null) {
         ensureHistogramQueriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, histogramQueries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueries_);
         onChanged();
       } else {
         histogramQueriesBuilder_.addAllMessages(values);
@@ -5139,6 +5678,8 @@ public Builder addAllHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5238,6 +5779,8 @@ public Builder clearHistogramQueries() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5337,6 +5880,8 @@ public Builder removeHistogramQueries(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5430,6 +5975,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
       return getHistogramQueriesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5521,11 +6068,14 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
     public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
         int index) {
       if (histogramQueriesBuilder_ == null) {
-        return histogramQueries_.get(index);  } else {
+        return histogramQueries_.get(index);
+      } else {
         return histogramQueriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5614,8 +6164,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List 
-         getHistogramQueriesOrBuilderList() {
+    public java.util.List
+        getHistogramQueriesOrBuilderList() {
       if (histogramQueriesBuilder_ != null) {
         return histogramQueriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -5623,6 +6173,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5712,10 +6264,12 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
     public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQueriesBuilder() {
-      return getHistogramQueriesFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5806,10 +6360,12 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      */
     public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQueriesBuilder(
         int index) {
-      return getHistogramQueriesFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5898,16 +6454,22 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List 
-         getHistogramQueriesBuilderList() {
+    public java.util.List
+        getHistogramQueriesBuilderList() {
       return getHistogramQueriesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> 
+            com.google.cloud.talent.v4beta1.HistogramQuery,
+            com.google.cloud.talent.v4beta1.HistogramQuery.Builder,
+            com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>
         getHistogramQueriesFieldBuilder() {
       if (histogramQueriesBuilder_ == null) {
-        histogramQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>(
+        histogramQueriesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.HistogramQuery,
+                com.google.cloud.talent.v4beta1.HistogramQuery.Builder,
+                com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>(
                 histogramQueries_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -5919,55 +6481,69 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
 
     private int jobView_ = 0;
     /**
+     *
+     *
      * 
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = + com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @param value The jobView to set. * @return This builder for chaining. */ @@ -5975,29 +6551,34 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - private int offset_ ; + private int offset_; /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6010,6 +6591,7 @@ public Builder clearJobView() {
      * 
* * int32 offset = 9; + * * @return The offset. */ @java.lang.Override @@ -6017,6 +6599,8 @@ public int getOffset() { return offset_; } /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6029,16 +6613,19 @@ public int getOffset() {
      * 
* * int32 offset = 9; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6051,17 +6638,20 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 9; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6069,6 +6659,7 @@ public Builder clearOffset() {
      * 
* * int32 page_size = 10; + * * @return The pageSize. */ @java.lang.Override @@ -6076,6 +6667,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6083,16 +6676,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 10; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6100,10 +6696,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 10; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -6111,6 +6708,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6118,13 +6717,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 11; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -6133,6 +6732,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6140,15 +6741,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6156,6 +6756,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6163,20 +6765,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6184,15 +6788,18 @@ public Builder setPageToken(
      * 
* * string page_token = 11; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6200,16 +6807,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 11; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -6217,6 +6824,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6269,13 +6878,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 12; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -6284,6 +6893,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6336,15 +6947,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -6352,6 +6962,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6404,20 +7016,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6470,15 +7084,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 12; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6531,16 +7148,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 12; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -6548,6 +7165,8 @@ public Builder setOrderByBytes( private int diversificationLevel_ = 0; /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6559,13 +7178,19 @@ public Builder setOrderByBytes(
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override public int getDiversificationLevelValue() { + @java.lang.Override + public int getDiversificationLevelValue() { return diversificationLevel_; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6577,17 +7202,22 @@ public Builder setOrderByBytes(
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @param value The enum numeric value on the wire for diversificationLevel to set. * @return This builder for chaining. */ public Builder setDiversificationLevelValue(int value) { - + diversificationLevel_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6599,16 +7229,26 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel + getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf( + diversificationLevel_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED + : result; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6620,20 +7260,26 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel ge
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @param value The diversificationLevel to set. * @return This builder for chaining. */ - public Builder setDiversificationLevel(com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel value) { + public Builder setDiversificationLevel( + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel value) { if (value == null) { throw new NullPointerException(); } - + diversificationLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6645,11 +7291,14 @@ public Builder setDiversificationLevel(com.google.cloud.talent.v4beta1.SearchJob
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return This builder for chaining. */ public Builder clearDiversificationLevel() { - + diversificationLevel_ = 0; onChanged(); return this; @@ -6657,44 +7306,66 @@ public Builder clearDiversificationLevel() { private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> customRankingInfoBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> + customRankingInfoBuilder_; /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ public boolean hasCustomRankingInfo() { return customRankingInfoBuilder_ != null || customRankingInfo_ != null; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { - return customRankingInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + .getDefaultInstance() + : customRankingInfo_; } else { return customRankingInfoBuilder_.getMessage(); } } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public Builder setCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { + public Builder setCustomRankingInfo( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6708,15 +7379,20 @@ public Builder setCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRe return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ public Builder setCustomRankingInfo( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder builderForValue) { + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder + builderForValue) { if (customRankingInfoBuilder_ == null) { customRankingInfo_ = builderForValue.build(); onChanged(); @@ -6727,18 +7403,26 @@ public Builder setCustomRankingInfo( return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { + public Builder mergeCustomRankingInfo( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (customRankingInfo_ != null) { customRankingInfo_ = - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder(customRankingInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder( + customRankingInfo_) + .mergeFrom(value) + .buildPartial(); } else { customRankingInfo_ = value; } @@ -6750,12 +7434,16 @@ public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobs return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ public Builder clearCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { @@ -6769,58 +7457,79 @@ public Builder clearCustomRankingInfo() { return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder getCustomRankingInfoBuilder() { - + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder + getCustomRankingInfoBuilder() { + onChanged(); return getCustomRankingInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder() { if (customRankingInfoBuilder_ != null) { return customRankingInfoBuilder_.getMessageOrBuilder(); } else { - return customRankingInfo_ == null ? - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + .getDefaultInstance() + : customRankingInfo_; } } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> getCustomRankingInfoFieldBuilder() { if (customRankingInfoBuilder_ == null) { - customRankingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder>( - getCustomRankingInfo(), - getParentForChildren(), - isClean()); + customRankingInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder>( + getCustomRankingInfo(), getParentForChildren(), isClean()); customRankingInfo_ = null; } return customRankingInfoBuilder_; } - private boolean disableKeywordMatch_ ; + private boolean disableKeywordMatch_; /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6847,6 +7556,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuil
      * 
* * bool disable_keyword_match = 16; + * * @return The disableKeywordMatch. */ @java.lang.Override @@ -6854,6 +7564,8 @@ public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6880,16 +7592,19 @@ public boolean getDisableKeywordMatch() {
      * 
* * bool disable_keyword_match = 16; + * * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ public Builder setDisableKeywordMatch(boolean value) { - + disableKeywordMatch_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6916,10 +7631,11 @@ public Builder setDisableKeywordMatch(boolean value) {
      * 
* * bool disable_keyword_match = 16; + * * @return This builder for chaining. */ public Builder clearDisableKeywordMatch() { - + disableKeywordMatch_ = false; onChanged(); return this; @@ -6927,90 +7643,122 @@ public Builder clearDisableKeywordMatch() { private int keywordMatchMode_ = 0; /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override public int getKeywordMatchModeValue() { + @java.lang.Override + public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @param value The enum numeric value on the wire for keywordMatchMode to set. * @return This builder for chaining. */ public Builder setKeywordMatchModeValue(int value) { - + keywordMatchMode_ = value; onChanged(); return this; } /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode + getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf( + keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; } /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @param value The keywordMatchMode to set. * @return This builder for chaining. */ - public Builder setKeywordMatchMode(com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode value) { + public Builder setKeywordMatchMode( + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode value) { if (value == null) { throw new NullPointerException(); } - + keywordMatchMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return This builder for chaining. */ public Builder clearKeywordMatchMode() { - + keywordMatchMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7020,12 +7768,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsRequest) private static final com.google.cloud.talent.v4beta1.SearchJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsRequest(); } @@ -7034,27 +7782,27 @@ public static com.google.cloud.talent.v4beta1.SearchJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7069,6 +7817,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SearchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java similarity index 94% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java index 4eba164b8194..07bee1444e37 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface SearchJobsRequestOrBuilder extends +public interface SearchJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface SearchJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,85 +50,115 @@ public interface SearchJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ int getSearchModeValue(); /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ boolean hasRequestMetadata(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ boolean hasJobQuery(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return The jobQuery. */ com.google.cloud.talent.v4beta1.JobQuery getJobQuery(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -115,6 +168,8 @@ public interface SearchJobsRequestOrBuilder extends com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder(); /** + * + * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -123,23 +178,30 @@ public interface SearchJobsRequestOrBuilder extends
    * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ boolean getEnableBroadening(); /** + * + * *
    * This field is deprecated.
    * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ - @java.lang.Deprecated boolean getRequirePreciseResultSize(); + @java.lang.Deprecated + boolean getRequirePreciseResultSize(); /** + * + * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -228,9 +290,10 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  java.util.List 
-      getHistogramQueriesList();
+  java.util.List getHistogramQueriesList();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -321,6 +384,8 @@ public interface SearchJobsRequestOrBuilder extends
    */
   com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int index);
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -411,6 +476,8 @@ public interface SearchJobsRequestOrBuilder extends
    */
   int getHistogramQueriesCount();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -499,9 +566,11 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  java.util.List 
+  java.util.List
       getHistogramQueriesOrBuilderList();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -590,31 +659,38 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
-      int index);
+  com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** + * + * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The jobView. */ com.google.cloud.talent.v4beta1.JobView getJobView(); /** + * + * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -627,11 +703,14 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * int32 offset = 9; + * * @return The offset. */ int getOffset(); /** + * + * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -639,11 +718,14 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * int32 page_size = 10; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -651,10 +733,13 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * string page_token = 11; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -662,12 +747,14 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -720,10 +807,13 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * string order_by = 12; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -776,12 +866,14 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -793,11 +885,16 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ int getDiversificationLevelValue(); /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -809,42 +906,62 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ boolean hasCustomRankingInfo(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder(); /** + * + * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -871,29 +988,38 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * bool disable_keyword_match = 16; + * * @return The disableKeywordMatch. */ boolean getDisableKeywordMatch(); /** + * + * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ int getKeywordMatchModeValue(); /** + * + * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java similarity index 76% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java index bf9524f20de1..a1b8bb557b13 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Response for SearchJob method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse} */ -public final class SearchJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse) SearchJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchJobsResponse.newBuilder() to construct. private SearchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchJobsResponse() { matchingJobs_ = java.util.Collections.emptyList(); histogramQueryResults_ = java.util.Collections.emptyList(); @@ -28,52 +46,62 @@ private SearchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); } - public interface MatchingJobOrBuilder extends + public interface MatchingJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
@@ -83,28 +111,35 @@ public interface MatchingJobOrBuilder extends com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The jobSummary. */ java.lang.String getJobSummary(); /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ - com.google.protobuf.ByteString - getJobSummaryBytes(); + com.google.protobuf.ByteString getJobSummaryBytes(); /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -112,10 +147,13 @@ public interface MatchingJobOrBuilder extends
      * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ java.lang.String getJobTitleSnippet(); /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -123,12 +161,14 @@ public interface MatchingJobOrBuilder extends
      * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ - com.google.protobuf.ByteString - getJobTitleSnippetBytes(); + com.google.protobuf.ByteString getJobTitleSnippetBytes(); /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -137,10 +177,13 @@ public interface MatchingJobOrBuilder extends
      * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ java.lang.String getSearchTextSnippet(); /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -149,32 +192,40 @@ public interface MatchingJobOrBuilder extends
      * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ - com.google.protobuf.ByteString - getSearchTextSnippetBytes(); + com.google.protobuf.ByteString getSearchTextSnippetBytes(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ boolean hasCommuteInfo(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -182,24 +233,28 @@ public interface MatchingJobOrBuilder extends
      *
      * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
-    com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder();
+    com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
+        getCommuteInfoOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob} */ - public static final class MatchingJob extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MatchingJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) MatchingJobOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MatchingJob.newBuilder() to construct. private MatchingJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MatchingJob() { jobSummary_ = ""; jobTitleSnippet_ = ""; @@ -208,37 +263,41 @@ private MatchingJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MatchingJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -246,11 +305,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -258,6 +320,8 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
@@ -272,12 +336,15 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private volatile java.lang.Object jobSummary_; /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The jobSummary. */ @java.lang.Override @@ -286,30 +353,30 @@ public java.lang.String getJobSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; } } /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobSummaryBytes() { + public com.google.protobuf.ByteString getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -320,6 +387,8 @@ public java.lang.String getJobSummary() { public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 3; private volatile java.lang.Object jobTitleSnippet_; /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -327,6 +396,7 @@ public java.lang.String getJobSummary() {
      * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ @java.lang.Override @@ -335,14 +405,15 @@ public java.lang.String getJobTitleSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; } } /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -350,16 +421,15 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -370,6 +440,8 @@ public java.lang.String getJobTitleSnippet() { public static final int SEARCH_TEXT_SNIPPET_FIELD_NUMBER = 4; private volatile java.lang.Object searchTextSnippet_; /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -378,6 +450,7 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ @java.lang.Override @@ -386,14 +459,15 @@ public java.lang.String getSearchTextSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; } } /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -402,16 +476,15 @@ public java.lang.String getSearchTextSnippet() {
      * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -422,12 +495,15 @@ public java.lang.String getSearchTextSnippet() { public static final int COMMUTE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ @java.lang.Override @@ -435,19 +511,26 @@ public boolean hasCommuteInfo() { return commuteInfo_ != null; } /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo() { - return commuteInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; + return commuteInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() + : commuteInfo_; } /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -456,11 +539,13 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommute
      * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
+        getCommuteInfoOrBuilder() {
       return getCommuteInfo();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -472,8 +557,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -499,8 +583,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSummary_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobSummary_);
@@ -512,8 +595,7 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchTextSnippet_);
       }
       if (commuteInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getCommuteInfo());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteInfo());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -523,28 +605,24 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj;
+      com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other =
+          (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob()
-            .equals(other.getJob())) return false;
-      }
-      if (!getJobSummary()
-          .equals(other.getJobSummary())) return false;
-      if (!getJobTitleSnippet()
-          .equals(other.getJobTitleSnippet())) return false;
-      if (!getSearchTextSnippet()
-          .equals(other.getSearchTextSnippet())) return false;
+        if (!getJob().equals(other.getJob())) return false;
+      }
+      if (!getJobSummary().equals(other.getJobSummary())) return false;
+      if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false;
+      if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false;
       if (hasCommuteInfo() != other.hasCommuteInfo()) return false;
       if (hasCommuteInfo()) {
-        if (!getCommuteInfo()
-            .equals(other.getCommuteInfo())) return false;
+        if (!getCommuteInfo().equals(other.getCommuteInfo())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -577,87 +655,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -667,39 +752,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -725,13 +812,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob + getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance(); } @@ -746,7 +834,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob result = new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob result = + new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -768,46 +857,52 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other) { + if (other + == com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -852,41 +947,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - jobSummary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - jobTitleSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - searchTextSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - input.readMessage( - getCommuteInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + jobSummary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + jobTitleSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + searchTextSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + input.readMessage(getCommuteInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -899,24 +996,33 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -927,6 +1033,8 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -947,14 +1055,15 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; */ - public Builder setJob( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -965,6 +1074,8 @@ public Builder setJob( return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -975,7 +1086,9 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_) + .mergeFrom(value) + .buildPartial(); } else { job_ = value; } @@ -987,6 +1100,8 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1005,6 +1120,8 @@ public Builder clearJob() { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1012,11 +1129,13 @@ public Builder clearJob() { * .google.cloud.talent.v4beta1.Job job = 1; */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1027,11 +1146,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1039,14 +1159,17 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4beta1.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -1054,19 +1177,21 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobSummary_ = ""; /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return The jobSummary. */ public java.lang.String getJobSummary() { java.lang.Object ref = jobSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; @@ -1075,21 +1200,22 @@ public java.lang.String getJobSummary() { } } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ - public com.google.protobuf.ByteString - getJobSummaryBytes() { + public com.google.protobuf.ByteString getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -1097,57 +1223,64 @@ public java.lang.String getJobSummary() { } } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @param value The jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummary( - java.lang.String value) { + public Builder setJobSummary(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobSummary_ = value; onChanged(); return this; } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return This builder for chaining. */ public Builder clearJobSummary() { - + jobSummary_ = getDefaultInstance().getJobSummary(); onChanged(); return this; } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @param value The bytes for jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummaryBytes( - com.google.protobuf.ByteString value) { + public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobSummary_ = value; onChanged(); return this; @@ -1155,6 +1288,8 @@ public Builder setJobSummaryBytes( private java.lang.Object jobTitleSnippet_ = ""; /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1162,13 +1297,13 @@ public Builder setJobSummaryBytes(
        * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ public java.lang.String getJobTitleSnippet() { java.lang.Object ref = jobTitleSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; @@ -1177,6 +1312,8 @@ public java.lang.String getJobTitleSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1184,15 +1321,14 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ - public com.google.protobuf.ByteString - getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -1200,6 +1336,8 @@ public java.lang.String getJobTitleSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1207,20 +1345,22 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @param value The jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippet( - java.lang.String value) { + public Builder setJobTitleSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTitleSnippet_ = value; onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1228,15 +1368,18 @@ public Builder setJobTitleSnippet(
        * 
* * string job_title_snippet = 3; + * * @return This builder for chaining. */ public Builder clearJobTitleSnippet() { - + jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet(); onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1244,16 +1387,16 @@ public Builder clearJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @param value The bytes for jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTitleSnippet_ = value; onChanged(); return this; @@ -1261,6 +1404,8 @@ public Builder setJobTitleSnippetBytes( private java.lang.Object searchTextSnippet_ = ""; /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1269,13 +1414,13 @@ public Builder setJobTitleSnippetBytes(
        * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ public java.lang.String getSearchTextSnippet() { java.lang.Object ref = searchTextSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; @@ -1284,6 +1429,8 @@ public java.lang.String getSearchTextSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1292,15 +1439,14 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ - public com.google.protobuf.ByteString - getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -1308,6 +1454,8 @@ public java.lang.String getSearchTextSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1316,20 +1464,22 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @param value The searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippet( - java.lang.String value) { + public Builder setSearchTextSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchTextSnippet_ = value; onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1338,15 +1488,18 @@ public Builder setSearchTextSnippet(
        * 
* * string search_text_snippet = 4; + * * @return This builder for chaining. */ public Builder clearSearchTextSnippet() { - + searchTextSnippet_ = getDefaultInstance().getSearchTextSnippet(); onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1355,16 +1508,16 @@ public Builder clearSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @param value The bytes for searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchTextSnippet_ = value; onChanged(); return this; @@ -1372,36 +1525,49 @@ public Builder setSearchTextSnippetBytes( private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> commuteInfoBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> + commuteInfoBuilder_; /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
        * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ public boolean hasCommuteInfo() { return commuteInfoBuilder_ != null || commuteInfo_ != null; } /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
        * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo() { if (commuteInfoBuilder_ == null) { - return commuteInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; + return commuteInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() + : commuteInfo_; } else { return commuteInfoBuilder_.getMessage(); } } /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1409,7 +1575,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommute
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder setCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
+      public Builder setCommuteInfo(
+          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1423,6 +1590,8 @@ public Builder setCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1442,6 +1611,8 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1449,11 +1620,15 @@ public Builder setCommuteInfo(
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder mergeCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
+      public Builder mergeCommuteInfo(
+          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (commuteInfo_ != null) {
             commuteInfo_ =
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder(
+                        commuteInfo_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             commuteInfo_ = value;
           }
@@ -1465,6 +1640,8 @@ public Builder mergeCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsRespon
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1484,6 +1661,8 @@ public Builder clearCommuteInfo() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1491,12 +1670,15 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder() {
-        
+      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder
+          getCommuteInfoBuilder() {
+
         onChanged();
         return getCommuteInfoFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1504,15 +1686,19 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder ge
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
+      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
+          getCommuteInfoOrBuilder() {
         if (commuteInfoBuilder_ != null) {
           return commuteInfoBuilder_.getMessageOrBuilder();
         } else {
-          return commuteInfo_ == null ?
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_;
+          return commuteInfo_ == null
+              ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()
+              : commuteInfo_;
         }
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1521,18 +1707,22 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder g
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> 
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo,
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder,
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>
           getCommuteInfoFieldBuilder() {
         if (commuteInfoBuilder_ == null) {
-          commuteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>(
-                  getCommuteInfo(),
-                  getParentForChildren(),
-                  isClean());
+          commuteInfoBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo,
+                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder,
+                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>(
+                  getCommuteInfo(), getParentForChildren(), isClean());
           commuteInfo_ = null;
         }
         return commuteInfoBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1545,41 +1735,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)
-    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob();
     }
 
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public MatchingJob parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public MatchingJob parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1591,35 +1784,44 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CommuteInfoOrBuilder extends
+  public interface CommuteInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ boolean hasJobLocation(); /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return The jobLocation. */ com.google.cloud.talent.v4beta1.Location getJobLocation(); /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1629,6 +1831,8 @@ public interface CommuteInfoOrBuilder extends com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1637,10 +1841,13 @@ public interface CommuteInfoOrBuilder extends
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1649,10 +1856,13 @@ public interface CommuteInfoOrBuilder extends
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1665,57 +1875,63 @@ public interface CommuteInfoOrBuilder extends
     com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Commute details related to this job.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo} */ - public static final class CommuteInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CommuteInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) CommuteInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteInfo.newBuilder() to construct. private CommuteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommuteInfo() { - } + + private CommuteInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommuteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); } public static final int JOB_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Location jobLocation_; /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ @java.lang.Override @@ -1723,18 +1939,25 @@ public boolean hasJobLocation() { return jobLocation_ != null; } /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return The jobLocation. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location getJobLocation() { - return jobLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : jobLocation_; } /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1749,6 +1972,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1757,6 +1982,7 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -1764,6 +1990,8 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1772,13 +2000,18 @@ public boolean hasTravelDuration() {
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1794,6 +2027,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1805,8 +2039,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (jobLocation_ != null) {
         output.writeMessage(1, getJobLocation());
       }
@@ -1823,12 +2056,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (jobLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJobLocation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobLocation());
       }
       if (travelDuration_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getTravelDuration());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1838,22 +2069,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj;
+      com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other =
+          (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj;
 
       if (hasJobLocation() != other.hasJobLocation()) return false;
       if (hasJobLocation()) {
-        if (!getJobLocation()
-            .equals(other.getJobLocation())) return false;
+        if (!getJobLocation().equals(other.getJobLocation())) return false;
       }
       if (hasTravelDuration() != other.hasTravelDuration()) return false;
       if (hasTravelDuration()) {
-        if (!getTravelDuration()
-            .equals(other.getTravelDuration())) return false;
+        if (!getTravelDuration().equals(other.getTravelDuration())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1880,87 +2110,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1970,39 +2207,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Commute details related to this job.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2022,13 +2261,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo + getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance(); } @@ -2043,7 +2283,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo result = new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo result = + new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo(this); if (jobLocationBuilder_ == null) { result.jobLocation_ = jobLocation_; } else { @@ -2062,46 +2303,52 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other) { + if (other + == com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()) + return this; if (other.hasJobLocation()) { mergeJobLocation(other.getJobLocation()); } @@ -2134,26 +2381,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2166,34 +2413,47 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> jobLocationBuilder_; + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> + jobLocationBuilder_; /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ public boolean hasJobLocation() { return jobLocationBuilder_ != null || jobLocation_ != null; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return The jobLocation. */ public com.google.cloud.talent.v4beta1.Location getJobLocation() { if (jobLocationBuilder_ == null) { - return jobLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : jobLocation_; } else { return jobLocationBuilder_.getMessage(); } } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2214,6 +2474,8 @@ public Builder setJobLocation(com.google.cloud.talent.v4beta1.Location value) { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2232,6 +2494,8 @@ public Builder setJobLocation( return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2242,7 +2506,9 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4beta1.Location value) if (jobLocationBuilder_ == null) { if (jobLocation_ != null) { jobLocation_ = - com.google.cloud.talent.v4beta1.Location.newBuilder(jobLocation_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Location.newBuilder(jobLocation_) + .mergeFrom(value) + .buildPartial(); } else { jobLocation_ = value; } @@ -2254,6 +2520,8 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4beta1.Location value) return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2272,6 +2540,8 @@ public Builder clearJobLocation() { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2279,11 +2549,13 @@ public Builder clearJobLocation() { * .google.cloud.talent.v4beta1.Location job_location = 1; */ public com.google.cloud.talent.v4beta1.Location.Builder getJobLocationBuilder() { - + onChanged(); return getJobLocationFieldBuilder().getBuilder(); } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2294,11 +2566,14 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder if (jobLocationBuilder_ != null) { return jobLocationBuilder_.getMessageOrBuilder(); } else { - return jobLocation_ == null ? - com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : jobLocation_; } } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2306,14 +2581,17 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder * .google.cloud.talent.v4beta1.Location job_location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> getJobLocationFieldBuilder() { if (jobLocationBuilder_ == null) { - jobLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>( - getJobLocation(), - getParentForChildren(), - isClean()); + jobLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder>( + getJobLocation(), getParentForChildren(), isClean()); jobLocation_ = null; } return jobLocationBuilder_; @@ -2321,8 +2599,13 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + travelDurationBuilder_; /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2331,12 +2614,15 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder
        * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2345,16 +2631,21 @@ public boolean hasTravelDuration() {
        * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2378,6 +2669,8 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2387,8 +2680,7 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration travel_duration = 2;
        */
-      public Builder setTravelDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (travelDurationBuilder_ == null) {
           travelDuration_ = builderForValue.build();
           onChanged();
@@ -2399,6 +2691,8 @@ public Builder setTravelDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2412,7 +2706,9 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         if (travelDurationBuilder_ == null) {
           if (travelDuration_ != null) {
             travelDuration_ =
-              com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(travelDuration_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             travelDuration_ = value;
           }
@@ -2424,6 +2720,8 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2445,6 +2743,8 @@ public Builder clearTravelDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2455,11 +2755,13 @@ public Builder clearTravelDuration() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       public com.google.protobuf.Duration.Builder getTravelDurationBuilder() {
-        
+
         onChanged();
         return getTravelDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2473,11 +2775,14 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
         if (travelDurationBuilder_ != null) {
           return travelDurationBuilder_.getMessageOrBuilder();
         } else {
-          return travelDuration_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : travelDuration_;
+          return travelDuration_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : travelDuration_;
         }
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2488,18 +2793,22 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getTravelDurationFieldBuilder() {
         if (travelDurationBuilder_ == null) {
-          travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getTravelDuration(),
-                  getParentForChildren(),
-                  isClean());
+          travelDurationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getTravelDuration(), getParentForChildren(), isClean());
           travelDuration_ = null;
         }
         return travelDurationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2512,41 +2821,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
-    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo();
     }
 
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CommuteInfo parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CommuteInfo parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2558,146 +2870,184 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int MATCHING_JOBS_FIELD_NUMBER = 1;
-  private java.util.List matchingJobs_;
+  private java.util.List
+      matchingJobs_;
   /**
+   *
+   *
    * 
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override - public java.util.List getMatchingJobsList() { + public java.util.List + getMatchingJobsList() { return matchingJobs_; } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsOrBuilderList() { return matchingJobs_; } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override public int getMatchingJobsCount() { return matchingJobs_.size(); } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { return matchingJobs_.get(index); } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder + getMatchingJobsOrBuilder(int index) { return matchingJobs_.get(index); } public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER = 2; - private java.util.List histogramQueryResults_; + private java.util.List + histogramQueryResults_; /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override - public java.util.List getHistogramQueryResultsList() { + public java.util.List + getHistogramQueryResultsList() { return histogramQueryResults_; } /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List getHistogramQueryResultsOrBuilderList() { return histogramQueryResults_; } /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override public int getHistogramQueryResultsCount() { return histogramQueryResults_.size(); } /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index) { return histogramQueryResults_.get(index); } /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder + getHistogramQueryResultsOrBuilder(int index) { return histogramQueryResults_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -2706,30 +3056,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -2740,6 +3090,8 @@ public java.lang.String getNextPageToken() { public static final int LOCATION_FILTERS_FIELD_NUMBER = 4; private java.util.List locationFilters_; /** + * + * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2753,6 +3105,8 @@ public java.util.List getLocationFilte
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2762,11 +3116,13 @@ public java.util.List getLocationFilte
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2780,6 +3136,8 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2793,6 +3151,8 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2802,14 +3162,15 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
     return locationFilters_.get(index);
   }
 
   public static final int ESTIMATED_TOTAL_SIZE_FIELD_NUMBER = 5;
   private int estimatedTotalSize_;
   /**
+   *
+   *
    * 
    * An estimation of the number of jobs that match the specified query.
    * This number isn't guaranteed to be accurate. For accurate results,
@@ -2817,6 +3178,7 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
    * 
* * int32 estimated_total_size = 5; + * * @return The estimatedTotalSize. */ @java.lang.Override @@ -2827,11 +3189,14 @@ public int getEstimatedTotalSize() { public static final int TOTAL_SIZE_FIELD_NUMBER = 6; private int totalSize_; /** + * + * *
    * The precise result count with limit 100,000.
    * 
* * int32 total_size = 6; + * * @return The totalSize. */ @java.lang.Override @@ -2842,12 +3207,15 @@ public int getTotalSize() { public static final int METADATA_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2855,19 +3223,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -2883,6 +3258,8 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER = 8;
   private int broadenedQueryJobsCount_;
   /**
+   *
+   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -2894,6 +3271,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
    * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -2904,11 +3282,14 @@ public int getBroadenedQueryJobsCount() { public static final int SPELL_CORRECTION_FIELD_NUMBER = 9; private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ @java.lang.Override @@ -2916,18 +3297,25 @@ public boolean hasSpellCorrection() { return spellCorrection_ != null; } /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection() { - return spellCorrection_ == null ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } /** + * + * *
    * The spell checking result, and correction.
    * 
@@ -2940,6 +3328,7 @@ public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorre } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2951,8 +3340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < matchingJobs_.size(); i++) { output.writeMessage(1, matchingJobs_.get(i)); } @@ -2990,39 +3378,33 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < matchingJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, matchingJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchingJobs_.get(i)); } for (int i = 0; i < histogramQueryResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, histogramQueryResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, histogramQueryResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, locationFilters_.get(i)); } if (estimatedTotalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, estimatedTotalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, estimatedTotalSize_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalSize_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); } if (broadenedQueryJobsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, broadenedQueryJobsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, broadenedQueryJobsCount_); } if (spellCorrection_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getSpellCorrection()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSpellCorrection()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3032,36 +3414,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsResponse other = (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; - - if (!getMatchingJobsList() - .equals(other.getMatchingJobsList())) return false; - if (!getHistogramQueryResultsList() - .equals(other.getHistogramQueryResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getLocationFiltersList() - .equals(other.getLocationFiltersList())) return false; - if (getEstimatedTotalSize() - != other.getEstimatedTotalSize()) return false; - if (getTotalSize() - != other.getTotalSize()) return false; + com.google.cloud.talent.v4beta1.SearchJobsResponse other = + (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; + + if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (getEstimatedTotalSize() != other.getEstimatedTotalSize()) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; } - if (getBroadenedQueryJobsCount() - != other.getBroadenedQueryJobsCount()) return false; + if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - if (!getSpellCorrection() - .equals(other.getSpellCorrection())) return false; + if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3108,129 +3482,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for SearchJob method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse) com.google.cloud.talent.v4beta1.SearchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3279,9 +3659,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override @@ -3300,7 +3680,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse result = new com.google.cloud.talent.v4beta1.SearchJobsResponse(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse result = + new com.google.cloud.talent.v4beta1.SearchJobsResponse(this); int from_bitField0_ = bitField0_; if (matchingJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3351,38 +3732,39 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -3390,7 +3772,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance()) + return this; if (matchingJobsBuilder_ == null) { if (!other.matchingJobs_.isEmpty()) { if (matchingJobs_.isEmpty()) { @@ -3409,9 +3792,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe matchingJobsBuilder_ = null; matchingJobs_ = other.matchingJobs_; bitField0_ = (bitField0_ & ~0x00000001); - matchingJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchingJobsFieldBuilder() : null; + matchingJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMatchingJobsFieldBuilder() + : null; } else { matchingJobsBuilder_.addAllMessages(other.matchingJobs_); } @@ -3435,9 +3819,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe histogramQueryResultsBuilder_ = null; histogramQueryResults_ = other.histogramQueryResults_; bitField0_ = (bitField0_ & ~0x00000002); - histogramQueryResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHistogramQueryResultsFieldBuilder() : null; + histogramQueryResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHistogramQueryResultsFieldBuilder() + : null; } else { histogramQueryResultsBuilder_.addAllMessages(other.histogramQueryResults_); } @@ -3465,9 +3850,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000004); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationFiltersFieldBuilder() : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationFiltersFieldBuilder() + : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -3514,85 +3900,90 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob m = - input.readMessage( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.parser(), - extensionRegistry); - if (matchingJobsBuilder_ == null) { - ensureMatchingJobsIsMutable(); - matchingJobs_.add(m); - } else { - matchingJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4beta1.HistogramQueryResult m = - input.readMessage( - com.google.cloud.talent.v4beta1.HistogramQueryResult.parser(), - extensionRegistry); - if (histogramQueryResultsBuilder_ == null) { - ensureHistogramQueryResultsIsMutable(); - histogramQueryResults_.add(m); - } else { - histogramQueryResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob m = + input.readMessage( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.parser(), + extensionRegistry); + if (matchingJobsBuilder_ == null) { + ensureMatchingJobsIsMutable(); + matchingJobs_.add(m); + } else { + matchingJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4beta1.HistogramQueryResult m = + input.readMessage( + com.google.cloud.talent.v4beta1.HistogramQueryResult.parser(), + extensionRegistry); + if (histogramQueryResultsBuilder_ == null) { + ensureHistogramQueryResultsIsMutable(); + histogramQueryResults_.add(m); + } else { + histogramQueryResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - com.google.cloud.talent.v4beta1.Location m = - input.readMessage( - com.google.cloud.talent.v4beta1.Location.parser(), - extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: { - estimatedTotalSize_ = input.readInt32(); + break; + } // case 26 + case 34: + { + com.google.cloud.talent.v4beta1.Location m = + input.readMessage( + com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: + { + estimatedTotalSize_ = input.readInt32(); - break; - } // case 40 - case 48: { - totalSize_ = input.readInt32(); + break; + } // case 40 + case 48: + { + totalSize_ = input.readInt32(); - break; - } // case 48 - case 58: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 48 + case 58: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 64: { - broadenedQueryJobsCount_ = input.readInt32(); + break; + } // case 58 + case 64: + { + broadenedQueryJobsCount_ = input.readInt32(); - break; - } // case 64 - case 74: { - input.readMessage( - getSpellCorrectionFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 64 + case 74: + { + input.readMessage(getSpellCorrectionFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3602,28 +3993,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List matchingJobs_ = - java.util.Collections.emptyList(); + private java.util.List + matchingJobs_ = java.util.Collections.emptyList(); + private void ensureMatchingJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - matchingJobs_ = new java.util.ArrayList(matchingJobs_); + matchingJobs_ = + new java.util.ArrayList( + matchingJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> matchingJobsBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + matchingJobsBuilder_; /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List getMatchingJobsList() { + public java.util.List + getMatchingJobsList() { if (matchingJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchingJobs_); } else { @@ -3631,11 +4033,14 @@ public java.util.List * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. *
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public int getMatchingJobsCount() { if (matchingJobsBuilder_ == null) { @@ -3645,13 +4050,17 @@ public int getMatchingJobsCount() { } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs( + int index) { if (matchingJobsBuilder_ == null) { return matchingJobs_.get(index); } else { @@ -3659,11 +4068,14 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchin } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder setMatchingJobs( int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { @@ -3680,14 +4092,18 @@ public Builder setMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder setMatchingJobs( - int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.set(index, builderForValue.build()); @@ -3698,13 +4114,17 @@ public Builder setMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public Builder addMatchingJobs(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { + public Builder addMatchingJobs( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { if (matchingJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3718,11 +4138,14 @@ public Builder addMatchingJobs(com.google.cloud.talent.v4beta1.SearchJobsRespons return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { @@ -3739,11 +4162,14 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { @@ -3757,14 +4183,18 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( - int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.add(index, builderForValue.build()); @@ -3775,18 +4205,21 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addAllMatchingJobs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchingJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchingJobs_); onChanged(); } else { matchingJobsBuilder_.addAllMessages(values); @@ -3794,11 +4227,14 @@ public Builder addAllMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder clearMatchingJobs() { if (matchingJobsBuilder_ == null) { @@ -3811,11 +4247,14 @@ public Builder clearMatchingJobs() { return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder removeMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -3828,39 +4267,50 @@ public Builder removeMatchingJobs(int index) { return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder + getMatchingJobsBuilder(int index) { return getMatchingJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder + getMatchingJobsOrBuilder(int index) { if (matchingJobsBuilder_ == null) { - return matchingJobs_.get(index); } else { + return matchingJobs_.get(index); + } else { return matchingJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List - getMatchingJobsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + getMatchingJobsOrBuilderList() { if (matchingJobsBuilder_ != null) { return matchingJobsBuilder_.getMessageOrBuilderList(); } else { @@ -3868,75 +4318,101 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder g } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder() { - return getMatchingJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder + addMatchingJobsBuilder() { + return getMatchingJobsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder( - int index) { - return getMatchingJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder + addMatchingJobsBuilder(int index) { + return getMatchingJobsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List - getMatchingJobsBuilderList() { + public java.util.List + getMatchingJobsBuilderList() { return getMatchingJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsFieldBuilder() { if (matchingJobsBuilder_ == null) { - matchingJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + matchingJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( + matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; } - private java.util.List histogramQueryResults_ = - java.util.Collections.emptyList(); + private java.util.List + histogramQueryResults_ = java.util.Collections.emptyList(); + private void ensureHistogramQueryResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - histogramQueryResults_ = new java.util.ArrayList(histogramQueryResults_); + histogramQueryResults_ = + new java.util.ArrayList( + histogramQueryResults_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> histogramQueryResultsBuilder_; + com.google.cloud.talent.v4beta1.HistogramQueryResult, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, + com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> + histogramQueryResultsBuilder_; /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List getHistogramQueryResultsList() { + public java.util.List + getHistogramQueryResultsList() { if (histogramQueryResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(histogramQueryResults_); } else { @@ -3944,12 +4420,15 @@ public java.util.List getH } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public int getHistogramQueryResultsCount() { if (histogramQueryResultsBuilder_ == null) { @@ -3959,14 +4438,18 @@ public int getHistogramQueryResultsCount() { } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults( + int index) { if (histogramQueryResultsBuilder_ == null) { return histogramQueryResults_.get(index); } else { @@ -3974,12 +4457,15 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryRes } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult value) { @@ -3996,12 +4482,15 @@ public Builder setHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4015,14 +4504,18 @@ public Builder setHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public Builder addHistogramQueryResults(com.google.cloud.talent.v4beta1.HistogramQueryResult value) { + public Builder addHistogramQueryResults( + com.google.cloud.talent.v4beta1.HistogramQueryResult value) { if (histogramQueryResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4036,12 +4529,15 @@ public Builder addHistogramQueryResults(com.google.cloud.talent.v4beta1.Histogra return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult value) { @@ -4058,12 +4554,15 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4077,12 +4576,15 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4096,19 +4598,21 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addAllHistogramQueryResults( java.lang.Iterable values) { if (histogramQueryResultsBuilder_ == null) { ensureHistogramQueryResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, histogramQueryResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueryResults_); onChanged(); } else { histogramQueryResultsBuilder_.addAllMessages(values); @@ -4116,12 +4620,15 @@ public Builder addAllHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder clearHistogramQueryResults() { if (histogramQueryResultsBuilder_ == null) { @@ -4134,12 +4641,15 @@ public Builder clearHistogramQueryResults() { return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder removeHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4152,42 +4662,52 @@ public Builder removeHistogramQueryResults(int index) { return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder getHistogramQueryResultsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder + getHistogramQueryResultsBuilder(int index) { return getHistogramQueryResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder + getHistogramQueryResultsOrBuilder(int index) { if (histogramQueryResultsBuilder_ == null) { - return histogramQueryResults_.get(index); } else { + return histogramQueryResults_.get(index); + } else { return histogramQueryResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List - getHistogramQueryResultsOrBuilderList() { + public java.util.List + getHistogramQueryResultsOrBuilderList() { if (histogramQueryResultsBuilder_ != null) { return histogramQueryResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4195,48 +4715,65 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogra } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogramQueryResultsBuilder() { - return getHistogramQueryResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder + addHistogramQueryResultsBuilder() { + return getHistogramQueryResultsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogramQueryResultsBuilder( - int index) { - return getHistogramQueryResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder + addHistogramQueryResultsBuilder(int index) { + return getHistogramQueryResultsFieldBuilder() + .addBuilder( + index, com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List - getHistogramQueryResultsBuilderList() { + public java.util.List + getHistogramQueryResultsBuilderList() { return getHistogramQueryResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> + com.google.cloud.talent.v4beta1.HistogramQueryResult, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, + com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> getHistogramQueryResultsFieldBuilder() { if (histogramQueryResultsBuilder_ == null) { - histogramQueryResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( + histogramQueryResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.HistogramQueryResult, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, + com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( histogramQueryResults_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4248,19 +4785,21 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogram private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4269,21 +4808,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4291,75 +4831,89 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - locationFilters_ = new java.util.ArrayList(locationFilters_); + locationFilters_ = + new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> locationFiltersBuilder_; + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> + locationFiltersBuilder_; /** + * + * *
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4376,6 +4930,8 @@ public java.util.List getLocationFilte
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4392,6 +4948,8 @@ public int getLocationFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4408,6 +4966,8 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4416,8 +4976,7 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public Builder setLocationFilters(
-        int index, com.google.cloud.talent.v4beta1.Location value) {
+    public Builder setLocationFilters(int index, com.google.cloud.talent.v4beta1.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4431,6 +4990,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4451,6 +5012,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4473,6 +5036,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.Location value
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4481,8 +5046,7 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.Location value
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public Builder addLocationFilters(
-        int index, com.google.cloud.talent.v4beta1.Location value) {
+    public Builder addLocationFilters(int index, com.google.cloud.talent.v4beta1.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4496,6 +5060,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4516,6 +5082,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4536,6 +5104,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4548,8 +5118,7 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -4557,6 +5126,8 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4576,6 +5147,8 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4595,6 +5168,8 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4603,11 +5178,12 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilder(
-        int index) {
+    public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilder(int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4619,11 +5195,14 @@ public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilde
     public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);  } else {
+        return locationFilters_.get(index);
+      } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4632,8 +5211,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public java.util.List 
-         getLocationFiltersOrBuilderList() {
+    public java.util.List
+        getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -4641,6 +5220,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4650,10 +5231,12 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
     public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4662,12 +5245,13 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder(
-        int index) {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+    public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder(int index) {
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4676,16 +5260,22 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public java.util.List 
-         getLocationFiltersBuilderList() {
+    public java.util.List
+        getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
+            com.google.cloud.talent.v4beta1.Location,
+            com.google.cloud.talent.v4beta1.Location.Builder,
+            com.google.cloud.talent.v4beta1.LocationOrBuilder>
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+        locationFiltersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.Location,
+                com.google.cloud.talent.v4beta1.Location.Builder,
+                com.google.cloud.talent.v4beta1.LocationOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -4695,8 +5285,10 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
       return locationFiltersBuilder_;
     }
 
-    private int estimatedTotalSize_ ;
+    private int estimatedTotalSize_;
     /**
+     *
+     *
      * 
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -4704,6 +5296,7 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      * 
* * int32 estimated_total_size = 5; + * * @return The estimatedTotalSize. */ @java.lang.Override @@ -4711,6 +5304,8 @@ public int getEstimatedTotalSize() { return estimatedTotalSize_; } /** + * + * *
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -4718,16 +5313,19 @@ public int getEstimatedTotalSize() {
      * 
* * int32 estimated_total_size = 5; + * * @param value The estimatedTotalSize to set. * @return This builder for chaining. */ public Builder setEstimatedTotalSize(int value) { - + estimatedTotalSize_ = value; onChanged(); return this; } /** + * + * *
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -4735,22 +5333,26 @@ public Builder setEstimatedTotalSize(int value) {
      * 
* * int32 estimated_total_size = 5; + * * @return This builder for chaining. */ public Builder clearEstimatedTotalSize() { - + estimatedTotalSize_ = 0; onChanged(); return this; } - private int totalSize_ ; + private int totalSize_; /** + * + * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; + * * @return The totalSize. */ @java.lang.Override @@ -4758,30 +5360,36 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; + * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** + * + * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; + * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; @@ -4789,36 +5397,49 @@ public Builder clearTotalSize() { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4840,6 +5461,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4859,6 +5482,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4870,7 +5495,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -4882,6 +5509,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4901,6 +5530,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4909,11 +5540,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4925,11 +5558,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4938,21 +5574,26 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private int broadenedQueryJobsCount_ ;
+    private int broadenedQueryJobsCount_;
     /**
+     *
+     *
      * 
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4964,6 +5605,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -4971,6 +5613,8 @@ public int getBroadenedQueryJobsCount() { return broadenedQueryJobsCount_; } /** + * + * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4982,16 +5626,19 @@ public int getBroadenedQueryJobsCount() {
      * 
* * int32 broadened_query_jobs_count = 8; + * * @param value The broadenedQueryJobsCount to set. * @return This builder for chaining. */ public Builder setBroadenedQueryJobsCount(int value) { - + broadenedQueryJobsCount_ = value; onChanged(); return this; } /** + * + * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5003,10 +5650,11 @@ public Builder setBroadenedQueryJobsCount(int value) {
      * 
* * int32 broadened_query_jobs_count = 8; + * * @return This builder for chaining. */ public Builder clearBroadenedQueryJobsCount() { - + broadenedQueryJobsCount_ = 0; onChanged(); return this; @@ -5014,34 +5662,47 @@ public Builder clearBroadenedQueryJobsCount() { private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> spellCorrectionBuilder_; + com.google.cloud.talent.v4beta1.SpellingCorrection, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, + com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> + spellCorrectionBuilder_; /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ public boolean hasSpellCorrection() { return spellCorrectionBuilder_ != null || spellCorrection_ != null; } /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ public com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection() { if (spellCorrectionBuilder_ == null) { - return spellCorrection_ == null ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } else { return spellCorrectionBuilder_.getMessage(); } } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5062,6 +5723,8 @@ public Builder setSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorrec return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5080,6 +5743,8 @@ public Builder setSpellCorrection( return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5090,7 +5755,9 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorr if (spellCorrectionBuilder_ == null) { if (spellCorrection_ != null) { spellCorrection_ = - com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder(spellCorrection_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder(spellCorrection_) + .mergeFrom(value) + .buildPartial(); } else { spellCorrection_ = value; } @@ -5102,6 +5769,8 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorr return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5120,6 +5789,8 @@ public Builder clearSpellCorrection() { return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5127,26 +5798,32 @@ public Builder clearSpellCorrection() { * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ public com.google.cloud.talent.v4beta1.SpellingCorrection.Builder getSpellCorrectionBuilder() { - + onChanged(); return getSpellCorrectionFieldBuilder().getBuilder(); } /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ - public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder() { + public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder + getSpellCorrectionOrBuilder() { if (spellCorrectionBuilder_ != null) { return spellCorrectionBuilder_.getMessageOrBuilder(); } else { - return spellCorrection_ == null ? - com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5154,21 +5831,24 @@ public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorre * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> + com.google.cloud.talent.v4beta1.SpellingCorrection, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, + com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> getSpellCorrectionFieldBuilder() { if (spellCorrectionBuilder_ == null) { - spellCorrectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder>( - getSpellCorrection(), - getParentForChildren(), - isClean()); + spellCorrectionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.SpellingCorrection, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, + com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder>( + getSpellCorrection(), getParentForChildren(), isClean()); spellCorrection_ = null; } return spellCorrectionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5178,12 +5858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse) private static final com.google.cloud.talent.v4beta1.SearchJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse(); } @@ -5192,27 +5872,27 @@ public static com.google.cloud.talent.v4beta1.SearchJobsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5227,6 +5907,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SearchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java similarity index 85% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java index c0cf4d300fda..d63f49648e9b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java @@ -1,128 +1,181 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface SearchJobsResponseOrBuilder extends +public interface SearchJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - java.util.List + java.util.List getMatchingJobsList(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ int getMatchingJobsCount(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - java.util.List + java.util.List getMatchingJobsOrBuilderList(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( int index); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - java.util.List + java.util.List getHistogramQueryResultsList(); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ int getHistogramQueryResultsCount(); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - java.util.List + java.util.List getHistogramQueryResultsOrBuilderList(); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( int index); /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -131,9 +184,10 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  java.util.List 
-      getLocationFiltersList();
+  java.util.List getLocationFiltersList();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -144,6 +198,8 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    */
   com.google.cloud.talent.v4beta1.Location getLocationFilters(int index);
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -154,6 +210,8 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    */
   int getLocationFiltersCount();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -162,9 +220,11 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  java.util.List 
+  java.util.List
       getLocationFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -173,10 +233,11 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
-      int index);
+  com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * An estimation of the number of jobs that match the specified query.
    * This number isn't guaranteed to be accurate. For accurate results,
@@ -184,41 +245,53 @@ com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
    * 
* * int32 estimated_total_size = 5; + * * @return The estimatedTotalSize. */ int getEstimatedTotalSize(); /** + * + * *
    * The precise result count with limit 100,000.
    * 
* * int32 total_size = 6; + * * @return The totalSize. */ int getTotalSize(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -229,6 +302,8 @@ com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -240,29 +315,38 @@ com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
    * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ int getBroadenedQueryJobsCount(); /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ boolean hasSpellCorrection(); /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection(); /** + * + * *
    * The spell checking result, and correction.
    * 
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java similarity index 71% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java index 8146b4382e69..f139abd15133 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Spell check result.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SpellingCorrection} */ -public final class SpellingCorrection extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpellingCorrection extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SpellingCorrection) SpellingCorrectionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpellingCorrection.newBuilder() to construct. private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpellingCorrection() { correctedText_ = ""; correctedHtml_ = ""; @@ -26,37 +44,41 @@ private SpellingCorrection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpellingCorrection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SpellingCorrection.class, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4beta1.SpellingCorrection.class, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); } public static final int CORRECTED_FIELD_NUMBER = 1; private boolean corrected_; /** + * + * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; + * * @return The corrected. */ @java.lang.Override @@ -67,11 +89,14 @@ public boolean getCorrected() { public static final int CORRECTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object correctedText_; /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The correctedText. */ @java.lang.Override @@ -80,29 +105,29 @@ public java.lang.String getCorrectedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; } } /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ @java.lang.Override - public com.google.protobuf.ByteString - getCorrectedTextBytes() { + public com.google.protobuf.ByteString getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedText_ = b; return b; } else { @@ -113,6 +138,8 @@ public java.lang.String getCorrectedText() { public static final int CORRECTED_HTML_FIELD_NUMBER = 3; private volatile java.lang.Object correctedHtml_; /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -123,6 +150,7 @@ public java.lang.String getCorrectedText() {
    * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ @java.lang.Override @@ -131,14 +159,15 @@ public java.lang.String getCorrectedHtml() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; } } /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -149,16 +178,15 @@ public java.lang.String getCorrectedHtml() {
    * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ @java.lang.Override - public com.google.protobuf.ByteString - getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -167,6 +195,7 @@ public java.lang.String getCorrectedHtml() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (corrected_ != false) { output.writeBool(1, corrected_); } @@ -199,8 +227,7 @@ public int getSerializedSize() { size = 0; if (corrected_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, corrected_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, corrected_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correctedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, correctedText_); @@ -216,19 +243,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SpellingCorrection)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SpellingCorrection other = (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; + com.google.cloud.talent.v4beta1.SpellingCorrection other = + (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; - if (getCorrected() - != other.getCorrected()) return false; - if (!getCorrectedText() - .equals(other.getCorrectedText())) return false; - if (!getCorrectedHtml() - .equals(other.getCorrectedHtml())) return false; + if (getCorrected() != other.getCorrected()) return false; + if (!getCorrectedText().equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,8 +266,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCorrected()); hash = (37 * hash) + CORRECTED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getCorrectedText().hashCode(); hash = (37 * hash) + CORRECTED_HTML_FIELD_NUMBER; @@ -253,129 +277,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.SpellingCorrection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Spell check result.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SpellingCorrection} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SpellingCorrection) com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SpellingCorrection.class, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4beta1.SpellingCorrection.class, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override @@ -410,7 +440,8 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { - com.google.cloud.talent.v4beta1.SpellingCorrection result = new com.google.cloud.talent.v4beta1.SpellingCorrection(this); + com.google.cloud.talent.v4beta1.SpellingCorrection result = + new com.google.cloud.talent.v4beta1.SpellingCorrection(this); result.corrected_ = corrected_; result.correctedText_ = correctedText_; result.correctedHtml_ = correctedHtml_; @@ -422,38 +453,39 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SpellingCorrection) { - return mergeFrom((com.google.cloud.talent.v4beta1.SpellingCorrection)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SpellingCorrection) other); } else { super.mergeFrom(other); return this; @@ -461,7 +493,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SpellingCorrection other) { - if (other == com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance()) + return this; if (other.getCorrected() != false) { setCorrected(other.getCorrected()); } @@ -499,27 +532,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - corrected_ = input.readBool(); - - break; - } // case 8 - case 18: { - correctedText_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - correctedHtml_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + corrected_ = input.readBool(); + + break; + } // case 8 + case 18: + { + correctedText_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + correctedHtml_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,13 +567,16 @@ public Builder mergeFrom( return this; } - private boolean corrected_ ; + private boolean corrected_; /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @return The corrected. */ @java.lang.Override @@ -544,30 +584,36 @@ public boolean getCorrected() { return corrected_; } /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @param value The corrected to set. * @return This builder for chaining. */ public Builder setCorrected(boolean value) { - + corrected_ = value; onChanged(); return this; } /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @return This builder for chaining. */ public Builder clearCorrected() { - + corrected_ = false; onChanged(); return this; @@ -575,18 +621,20 @@ public Builder clearCorrected() { private java.lang.Object correctedText_ = ""; /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return The correctedText. */ public java.lang.String getCorrectedText() { java.lang.Object ref = correctedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; @@ -595,20 +643,21 @@ public java.lang.String getCorrectedText() { } } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ - public com.google.protobuf.ByteString - getCorrectedTextBytes() { + public com.google.protobuf.ByteString getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedText_ = b; return b; } else { @@ -616,54 +665,61 @@ public java.lang.String getCorrectedText() { } } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @param value The correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedText( - java.lang.String value) { + public Builder setCorrectedText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedText_ = value; onChanged(); return this; } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return This builder for chaining. */ public Builder clearCorrectedText() { - + correctedText_ = getDefaultInstance().getCorrectedText(); onChanged(); return this; } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @param value The bytes for correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedTextBytes( - com.google.protobuf.ByteString value) { + public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedText_ = value; onChanged(); return this; @@ -671,6 +727,8 @@ public Builder setCorrectedTextBytes( private java.lang.Object correctedHtml_ = ""; /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -681,13 +739,13 @@ public Builder setCorrectedTextBytes(
      * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ public java.lang.String getCorrectedHtml() { java.lang.Object ref = correctedHtml_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; @@ -696,6 +754,8 @@ public java.lang.String getCorrectedHtml() { } } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -706,15 +766,14 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ - public com.google.protobuf.ByteString - getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -722,6 +781,8 @@ public java.lang.String getCorrectedHtml() { } } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -732,20 +793,22 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @param value The correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtml( - java.lang.String value) { + public Builder setCorrectedHtml(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedHtml_ = value; onChanged(); return this; } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -756,15 +819,18 @@ public Builder setCorrectedHtml(
      * 
* * string corrected_html = 3; + * * @return This builder for chaining. */ public Builder clearCorrectedHtml() { - + correctedHtml_ = getDefaultInstance().getCorrectedHtml(); onChanged(); return this; } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -775,23 +841,23 @@ public Builder clearCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @param value The bytes for correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtmlBytes( - com.google.protobuf.ByteString value) { + public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedHtml_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SpellingCorrection) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SpellingCorrection) private static final com.google.cloud.talent.v4beta1.SpellingCorrection DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SpellingCorrection(); } @@ -815,27 +881,27 @@ public static com.google.cloud.talent.v4beta1.SpellingCorrection getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpellingCorrection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpellingCorrection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,6 +916,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SpellingCorrection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java similarity index 70% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java index 566923fcb56b..480b7df7b017 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java @@ -1,43 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface SpellingCorrectionOrBuilder extends +public interface SpellingCorrectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SpellingCorrection) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; + * * @return The corrected. */ boolean getCorrected(); /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The correctedText. */ java.lang.String getCorrectedText(); /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ - com.google.protobuf.ByteString - getCorrectedTextBytes(); + com.google.protobuf.ByteString getCorrectedTextBytes(); /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -48,10 +74,13 @@ public interface SpellingCorrectionOrBuilder extends
    * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ java.lang.String getCorrectedHtml(); /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -62,8 +91,8 @@ public interface SpellingCorrectionOrBuilder extends
    * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ - com.google.protobuf.ByteString - getCorrectedHtmlBytes(); + com.google.protobuf.ByteString getCorrectedHtmlBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java similarity index 76% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java index 0bc9a4537f45..cf1f2a4bfe03 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * A Tenant resource represents a tenant in the service. A tenant is a group or
  * entity that shares common access with specific privileges for resources like
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Tenant}
  */
-public final class Tenant extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tenant extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Tenant)
     TenantOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tenant.newBuilder() to construct.
   private Tenant(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tenant() {
     name_ = "";
     externalId_ = "";
@@ -31,39 +49,43 @@ private Tenant() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tenant();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.TenantResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.TenantResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Tenant.class, com.google.cloud.talent.v4beta1.Tenant.Builder.class);
+            com.google.cloud.talent.v4beta1.Tenant.class,
+            com.google.cloud.talent.v4beta1.Tenant.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Enum that represents how user data owned by the tenant is used.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.Tenant.DataUsageType} */ - public enum DataUsageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -72,6 +94,8 @@ public enum DataUsageType */ DATA_USAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Data owned by this tenant is used to improve search/recommendation
      * quality across tenants.
@@ -81,6 +105,8 @@ public enum DataUsageType
      */
     AGGREGATED(1),
     /**
+     *
+     *
      * 
      * Data owned by this tenant is used to improve search/recommendation
      * quality for this tenant only.
@@ -93,6 +119,8 @@ public enum DataUsageType
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -101,6 +129,8 @@ public enum DataUsageType */ public static final int DATA_USAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data owned by this tenant is used to improve search/recommendation
      * quality across tenants.
@@ -110,6 +140,8 @@ public enum DataUsageType
      */
     public static final int AGGREGATED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Data owned by this tenant is used to improve search/recommendation
      * quality for this tenant only.
@@ -119,7 +151,6 @@ public enum DataUsageType
      */
     public static final int ISOLATED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -144,49 +175,49 @@ public static DataUsageType valueOf(int value) {
      */
     public static DataUsageType forNumber(int value) {
       switch (value) {
-        case 0: return DATA_USAGE_TYPE_UNSPECIFIED;
-        case 1: return AGGREGATED;
-        case 2: return ISOLATED;
-        default: return null;
+        case 0:
+          return DATA_USAGE_TYPE_UNSPECIFIED;
+        case 1:
+          return AGGREGATED;
+        case 2:
+          return ISOLATED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DataUsageType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DataUsageType findValueByNumber(int number) {
-              return DataUsageType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DataUsageType findValueByNumber(int number) {
+            return DataUsageType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4beta1.Tenant.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DataUsageType[] VALUES = values();
 
-    public static DataUsageType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DataUsageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -206,6 +237,8 @@ private DataUsageType(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -215,6 +248,7 @@ private DataUsageType(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -223,14 +257,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -240,16 +275,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -260,12 +294,15 @@ public java.lang.String getName() { public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ @java.lang.Override @@ -274,30 +311,30 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -308,6 +345,8 @@ public java.lang.String getExternalId() { public static final int USAGE_TYPE_FIELD_NUMBER = 3; private int usageType_; /** + * + * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -315,12 +354,16 @@ public java.lang.String getExternalId() {
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The enum numeric value on the wire for usageType. */ - @java.lang.Override public int getUsageTypeValue() { + @java.lang.Override + public int getUsageTypeValue() { return usageType_; } /** + * + * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -328,17 +371,24 @@ public java.lang.String getExternalId() {
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The usageType. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); - return result == null ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = + com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); + return result == null + ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED + : result; } public static final int KEYWORD_SEARCHABLE_PROFILE_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_; /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -349,13 +399,15 @@ public java.lang.String getExternalId() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return A list containing the keywordSearchableProfileCustomAttributes. */ - public com.google.protobuf.ProtocolStringList - getKeywordSearchableProfileCustomAttributesList() { + public com.google.protobuf.ProtocolStringList getKeywordSearchableProfileCustomAttributesList() { return keywordSearchableProfileCustomAttributes_; } /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -366,12 +418,15 @@ public java.lang.String getExternalId() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return The count of keywordSearchableProfileCustomAttributes. */ public int getKeywordSearchableProfileCustomAttributesCount() { return keywordSearchableProfileCustomAttributes_.size(); } /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -382,6 +437,7 @@ public int getKeywordSearchableProfileCustomAttributesCount() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ @@ -389,6 +445,8 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) { return keywordSearchableProfileCustomAttributes_.get(index); } /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -399,15 +457,17 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - public com.google.protobuf.ByteString - getKeywordSearchableProfileCustomAttributesBytes(int index) { + public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes( + int index) { return keywordSearchableProfileCustomAttributes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -419,19 +479,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, externalId_); } - if (usageType_ != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED.getNumber()) { + if (usageType_ + != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, usageType_); } for (int i = 0; i < keywordSearchableProfileCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keywordSearchableProfileCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, keywordSearchableProfileCustomAttributes_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -448,9 +510,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, externalId_); } - if (usageType_ != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, usageType_); + if (usageType_ + != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, usageType_); } { int dataSize = 0; @@ -468,17 +531,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Tenant)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Tenant other = (com.google.cloud.talent.v4beta1.Tenant) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getExternalId() - .equals(other.getExternalId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; if (usageType_ != other.usageType_) return false; if (!getKeywordSearchableProfileCustomAttributesList() .equals(other.getKeywordSearchableProfileCustomAttributesList())) return false; @@ -508,97 +569,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Tenant parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Tenant parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Tenant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Tenant resource represents a tenant in the service. A tenant is a group or
    * entity that shares common access with specific privileges for resources like
@@ -608,33 +676,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Tenant}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Tenant)
       com.google.cloud.talent.v4beta1.TenantOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.TenantResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.TenantResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Tenant.class, com.google.cloud.talent.v4beta1.Tenant.Builder.class);
+              com.google.cloud.talent.v4beta1.Tenant.class,
+              com.google.cloud.talent.v4beta1.Tenant.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Tenant.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -650,9 +717,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.TenantResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
     }
 
     @java.lang.Override
@@ -671,13 +738,15 @@ public com.google.cloud.talent.v4beta1.Tenant build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.Tenant buildPartial() {
-      com.google.cloud.talent.v4beta1.Tenant result = new com.google.cloud.talent.v4beta1.Tenant(this);
+      com.google.cloud.talent.v4beta1.Tenant result =
+          new com.google.cloud.talent.v4beta1.Tenant(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.externalId_ = externalId_;
       result.usageType_ = usageType_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableProfileCustomAttributes_ = keywordSearchableProfileCustomAttributes_.getUnmodifiableView();
+        keywordSearchableProfileCustomAttributes_ =
+            keywordSearchableProfileCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableProfileCustomAttributes_ = keywordSearchableProfileCustomAttributes_;
@@ -689,38 +758,39 @@ public com.google.cloud.talent.v4beta1.Tenant buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Tenant) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Tenant)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Tenant) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -742,11 +812,13 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Tenant other) {
       }
       if (!other.keywordSearchableProfileCustomAttributes_.isEmpty()) {
         if (keywordSearchableProfileCustomAttributes_.isEmpty()) {
-          keywordSearchableProfileCustomAttributes_ = other.keywordSearchableProfileCustomAttributes_;
+          keywordSearchableProfileCustomAttributes_ =
+              other.keywordSearchableProfileCustomAttributes_;
           bitField0_ = (bitField0_ & ~0x00000001);
         } else {
           ensureKeywordSearchableProfileCustomAttributesIsMutable();
-          keywordSearchableProfileCustomAttributes_.addAll(other.keywordSearchableProfileCustomAttributes_);
+          keywordSearchableProfileCustomAttributes_.addAll(
+              other.keywordSearchableProfileCustomAttributes_);
         }
         onChanged();
       }
@@ -776,33 +848,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              externalId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              usageType_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureKeywordSearchableProfileCustomAttributesIsMutable();
-              keywordSearchableProfileCustomAttributes_.add(s);
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                externalId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                usageType_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureKeywordSearchableProfileCustomAttributesIsMutable();
+                keywordSearchableProfileCustomAttributes_.add(s);
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -812,10 +889,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -825,13 +905,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -840,6 +920,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -849,15 +931,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -865,6 +946,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -874,20 +957,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -897,15 +982,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -915,16 +1003,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -932,19 +1020,21 @@ public Builder setNameBytes( private java.lang.Object externalId_ = ""; /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -953,21 +1043,22 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -975,57 +1066,64 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId( - java.lang.String value) { + public Builder setExternalId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -1033,6 +1131,8 @@ public Builder setExternalIdBytes( private int usageType_ = 0; /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1040,12 +1140,16 @@ public Builder setExternalIdBytes(
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The enum numeric value on the wire for usageType. */ - @java.lang.Override public int getUsageTypeValue() { + @java.lang.Override + public int getUsageTypeValue() { return usageType_; } /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1053,16 +1157,19 @@ public Builder setExternalIdBytes(
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @param value The enum numeric value on the wire for usageType to set. * @return This builder for chaining. */ public Builder setUsageTypeValue(int value) { - + usageType_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1070,15 +1177,21 @@ public Builder setUsageTypeValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The usageType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); - return result == null ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = + com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); + return result == null + ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1086,6 +1199,7 @@ public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @param value The usageType to set. * @return This builder for chaining. */ @@ -1093,12 +1207,14 @@ public Builder setUsageType(com.google.cloud.talent.v4beta1.Tenant.DataUsageType if (value == null) { throw new NullPointerException(); } - + usageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1106,23 +1222,29 @@ public Builder setUsageType(com.google.cloud.talent.v4beta1.Tenant.DataUsageType
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return This builder for chaining. */ public Builder clearUsageType() { - + usageType_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKeywordSearchableProfileCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableProfileCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableProfileCustomAttributes_); + keywordSearchableProfileCustomAttributes_ = + new com.google.protobuf.LazyStringArrayList(keywordSearchableProfileCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1133,6 +1255,7 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return A list containing the keywordSearchableProfileCustomAttributes. */ public com.google.protobuf.ProtocolStringList @@ -1140,6 +1263,8 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() { return keywordSearchableProfileCustomAttributes_.getUnmodifiableView(); } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1150,12 +1275,15 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return The count of keywordSearchableProfileCustomAttributes. */ public int getKeywordSearchableProfileCustomAttributesCount() { return keywordSearchableProfileCustomAttributes_.size(); } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1166,6 +1294,7 @@ public int getKeywordSearchableProfileCustomAttributesCount() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ @@ -1173,6 +1302,8 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) { return keywordSearchableProfileCustomAttributes_.get(index); } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1183,14 +1314,17 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - public com.google.protobuf.ByteString - getKeywordSearchableProfileCustomAttributesBytes(int index) { + public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes( + int index) { return keywordSearchableProfileCustomAttributes_.getByteString(index); } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1201,21 +1335,23 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index to set the value at. * @param value The keywordSearchableProfileCustomAttributes to set. * @return This builder for chaining. */ - public Builder setKeywordSearchableProfileCustomAttributes( - int index, java.lang.String value) { + public Builder setKeywordSearchableProfileCustomAttributes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableProfileCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1226,20 +1362,22 @@ public Builder setKeywordSearchableProfileCustomAttributes(
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param value The keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableProfileCustomAttributes( - java.lang.String value) { + public Builder addKeywordSearchableProfileCustomAttributes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableProfileCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1250,6 +1388,7 @@ public Builder addKeywordSearchableProfileCustomAttributes(
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param values The keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ @@ -1262,6 +1401,8 @@ public Builder addAllKeywordSearchableProfileCustomAttributes( return this; } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1272,6 +1413,7 @@ public Builder addAllKeywordSearchableProfileCustomAttributes(
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return This builder for chaining. */ public Builder clearKeywordSearchableProfileCustomAttributes() { @@ -1281,6 +1423,8 @@ public Builder clearKeywordSearchableProfileCustomAttributes() { return this; } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1291,23 +1435,24 @@ public Builder clearKeywordSearchableProfileCustomAttributes() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param value The bytes of the keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ public Builder addKeywordSearchableProfileCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1317,12 +1462,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Tenant) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Tenant) private static final com.google.cloud.talent.v4beta1.Tenant DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Tenant(); } @@ -1331,27 +1476,27 @@ public static com.google.cloud.talent.v4beta1.Tenant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tenant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tenant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1366,6 +1511,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Tenant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java similarity index 100% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java similarity index 83% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java index dd77b8ebddae..3e742a8d0842 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant.proto package com.google.cloud.talent.v4beta1; -public interface TenantOrBuilder extends +public interface TenantOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Tenant) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -17,10 +35,13 @@ public interface TenantOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -30,34 +51,41 @@ public interface TenantOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ java.lang.String getExternalId(); /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - com.google.protobuf.ByteString - getExternalIdBytes(); + com.google.protobuf.ByteString getExternalIdBytes(); /** + * + * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -65,10 +93,13 @@ public interface TenantOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The enum numeric value on the wire for usageType. */ int getUsageTypeValue(); /** + * + * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -76,11 +107,14 @@ public interface TenantOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The usageType. */ com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType(); /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -91,11 +125,13 @@ public interface TenantOrBuilder extends
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return A list containing the keywordSearchableProfileCustomAttributes. */ - java.util.List - getKeywordSearchableProfileCustomAttributesList(); + java.util.List getKeywordSearchableProfileCustomAttributesList(); /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -106,10 +142,13 @@ public interface TenantOrBuilder extends
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return The count of keywordSearchableProfileCustomAttributes. */ int getKeywordSearchableProfileCustomAttributesCount(); /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -120,11 +159,14 @@ public interface TenantOrBuilder extends
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ java.lang.String getKeywordSearchableProfileCustomAttributes(int index); /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -135,9 +177,9 @@ public interface TenantOrBuilder extends
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - com.google.protobuf.ByteString - getKeywordSearchableProfileCustomAttributesBytes(int index); + com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java new file mode 100644 index 000000000000..5b0067852a43 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java @@ -0,0 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant.proto + +package com.google.cloud.talent.v4beta1; + +public final class TenantResourceProto { + private TenantResourceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/talent/v4beta1/tenant.pro" + + "to\022\033google.cloud.talent.v4beta1\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\"\303\002\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013" + + "external_id\030\002 \001(\tB\003\340A\002\022E\n\nusage_type\030\003 \001" + + "(\01621.google.cloud.talent.v4beta1.Tenant." + + "DataUsageType\0224\n,keyword_searchable_prof" + + "ile_custom_attributes\030\004 \003(\t\"N\n\rDataUsage" + + "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" + + "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" + + "oogleapis.com/Tenant\022#projects/{project}" + + "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" + + "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor, + new java.lang.String[] { + "Name", "ExternalId", "UsageType", "KeywordSearchableProfileCustomAttributes", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java new file mode 100644 index 000000000000..9f97b7d7ba06 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java @@ -0,0 +1,200 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class TenantServiceProto { + private TenantServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/talent/v4beta1/tenant_ser" + + "vice.proto\022\033google.cloud.talent.v4beta1\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032(goog" + + "le/cloud/talent/v4beta1/common.proto\032(go" + + "ogle/cloud/talent/v4beta1/tenant.proto\032\033" + + "google/protobuf/empty.proto\032 google/prot" + + "obuf/field_mask.proto\"\224\001\n\023CreateTenantRe" + + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + + "urcemanager.googleapis.com/Project\0228\n\006te" + + "nant\030\002 \001(\0132#.google.cloud.talent.v4beta1" + + ".TenantB\003\340A\002\"D\n\020GetTenantRequest\0220\n\004name" + + "\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/Tena" + + "nt\"\200\001\n\023UpdateTenantRequest\0228\n\006tenant\030\001 \001" + + "(\0132#.google.cloud.talent.v4beta1.TenantB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"G\n\023DeleteTenantRequest\0220\n\004" + + "name\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/" + + "Tenant\"\200\001\n\022ListTenantsRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + + "leapis.com/Project\022\022\n\npage_token\030\002 \001(\t\022\021" + + "\n\tpage_size\030\003 \001(\005\"\245\001\n\023ListTenantsRespons" + + "e\0224\n\007tenants\030\001 \003(\0132#.google.cloud.talent" + + ".v4beta1.Tenant\022\027\n\017next_page_token\030\002 \001(\t" + + "\022?\n\010metadata\030\003 \001(\0132-.google.cloud.talent" + + ".v4beta1.ResponseMetadata2\240\007\n\rTenantServ" + + "ice\022\246\001\n\014CreateTenant\0220.google.cloud.tale" + + "nt.v4beta1.CreateTenantRequest\032#.google." + + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\002)\"$/v4" + + "beta1/{parent=projects/*}/tenants:\001*\332A\rp" + + "arent,tenant\022\224\001\n\tGetTenant\022-.google.clou" + + "d.talent.v4beta1.GetTenantRequest\032#.goog" + + "le.cloud.talent.v4beta1.Tenant\"3\202\323\344\223\002&\022$" + + "/v4beta1/{name=projects/*/tenants/*}\332A\004n" + + "ame\022\246\001\n\014UpdateTenant\0220.google.cloud.tale" + + "nt.v4beta1.UpdateTenantRequest\032#.google." + + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\00202+/v4" + + "beta1/{tenant.name=projects/*/tenants/*}" + + ":\001*\332A\006tenant\022\215\001\n\014DeleteTenant\0220.google.c" + + "loud.talent.v4beta1.DeleteTenantRequest\032" + + "\026.google.protobuf.Empty\"3\202\323\344\223\002&*$/v4beta" + + "1/{name=projects/*/tenants/*}\332A\004name\022\247\001\n" + + "\013ListTenants\022/.google.cloud.talent.v4bet" + + "a1.ListTenantsRequest\0320.google.cloud.tal" + + "ent.v4beta1.ListTenantsResponse\"5\202\323\344\223\002&\022" + + "$/v4beta1/{parent=projects/*}/tenants\332A\006" + + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + + "/www.googleapis.com/auth/cloud-platform," + + "https://www.googleapis.com/auth/jobsB\200\001\n" + + "\037com.google.cloud.talent.v4beta1B\022Tenant" + + "ServiceProtoP\001ZAgoogle.golang.org/genpro" + + "to/googleapis/cloud/talent/v4beta1;talen" + + "t\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor, + new java.lang.String[] { + "Parent", "Tenant", + }); + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor, + new java.lang.String[] { + "Tenant", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", + }); + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor, + new java.lang.String[] { + "Tenants", "NextPageToken", "Metadata", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java similarity index 70% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java index f0f1e9762e33..b740f4ebfc45 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Message representing a period of time between two timestamps.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.TimestampRange} */ -public final class TimestampRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.TimestampRange) TimestampRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimestampRange() { - } + + private TimestampRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimestampRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.TimestampRange.class, com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); + com.google.cloud.talent.v4beta1.TimestampRange.class, + com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -62,11 +83,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Begin of the period (inclusive).
    * 
@@ -88,11 +114,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +129,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -112,6 +144,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * End of the period (exclusive).
    * 
@@ -124,6 +158,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -153,12 +187,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +200,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.TimestampRange)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.TimestampRange other = (com.google.cloud.talent.v4beta1.TimestampRange) obj; + com.google.cloud.talent.v4beta1.TimestampRange other = + (com.google.cloud.talent.v4beta1.TimestampRange) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,130 +240,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message representing a period of time between two timestamps.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.TimestampRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.TimestampRange) com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.TimestampRange.class, com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); + com.google.cloud.talent.v4beta1.TimestampRange.class, + com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.TimestampRange.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override @@ -373,7 +410,8 @@ public com.google.cloud.talent.v4beta1.TimestampRange build() { @java.lang.Override public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { - com.google.cloud.talent.v4beta1.TimestampRange result = new com.google.cloud.talent.v4beta1.TimestampRange(this); + com.google.cloud.talent.v4beta1.TimestampRange result = + new com.google.cloud.talent.v4beta1.TimestampRange(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -392,38 +430,39 @@ public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.TimestampRange) { - return mergeFrom((com.google.cloud.talent.v4beta1.TimestampRange)other); + return mergeFrom((com.google.cloud.talent.v4beta1.TimestampRange) other); } else { super.mergeFrom(other); return this; @@ -464,26 +503,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,24 +534,33 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -524,6 +571,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -544,14 +593,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -562,6 +612,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -572,7 +624,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -584,6 +636,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -602,6 +656,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -609,11 +665,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -624,11 +682,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -636,14 +695,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -651,24 +713,33 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -679,6 +750,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -699,14 +772,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -717,6 +791,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -727,7 +803,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -739,6 +815,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -757,6 +835,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -764,11 +844,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -779,11 +861,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -791,21 +874,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,12 +901,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.TimestampRange) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.TimestampRange) private static final com.google.cloud.talent.v4beta1.TimestampRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.TimestampRange(); } @@ -829,27 +915,27 @@ public static com.google.cloud.talent.v4beta1.TimestampRange getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java similarity index 67% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java index 2b17343b561b..022cab467503 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface TimestampRangeOrBuilder extends +public interface TimestampRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.TimestampRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Begin of the period (inclusive).
    * 
@@ -35,24 +59,32 @@ public interface TimestampRangeOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * End of the period (exclusive).
    * 
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java similarity index 70% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java index 52cccfa9f47a..81d90150e8f5 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Request for updating a specified company.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateCompanyRequest} */ -public final class UpdateCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateCompanyRequest) UpdateCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCompanyRequest.newBuilder() to construct. private UpdateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCompanyRequest() { - } + + private UpdateCompanyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); } public static final int COMPANY_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Company company_; /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ @java.lang.Override @@ -62,23 +85,34 @@ public boolean hasCompany() { return company_ != null; } /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company getCompany() { - return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @@ -88,6 +122,8 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +133,7 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +141,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +152,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +160,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +190,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (company_ != null) {
       output.writeMessage(1, getCompany());
     }
@@ -165,12 +207,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (company_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCompany());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCompany());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +220,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateCompanyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateCompanyRequest other = (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateCompanyRequest other =
+        (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj;
 
     if (hasCompany() != other.hasCompany()) return false;
     if (hasCompany()) {
-      if (!getCompany()
-          .equals(other.getCompany())) return false;
+      if (!getCompany().equals(other.getCompany())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -222,129 +261,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateCompanyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request for updating a specified company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateCompanyRequest) com.google.cloud.talent.v4beta1.UpdateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateCompanyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override @@ -385,7 +430,8 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateCompanyRequest result = new com.google.cloud.talent.v4beta1.UpdateCompanyRequest(this); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest result = + new com.google.cloud.talent.v4beta1.UpdateCompanyRequest(this); if (companyBuilder_ == null) { result.company_ = company_; } else { @@ -404,38 +450,39 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -443,7 +490,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance()) + return this; if (other.hasCompany()) { mergeCompany(other.getCompany()); } @@ -476,26 +524,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCompanyFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,39 +555,58 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companyBuilder_; + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> + companyBuilder_; /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ public com.google.cloud.talent.v4beta1.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } else { return companyBuilder_.getMessage(); } } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { @@ -556,14 +622,17 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompany( - com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -574,17 +643,23 @@ public Builder setCompany( return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4beta1.Company.newBuilder(company_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Company.newBuilder(company_) + .mergeFrom(value) + .buildPartial(); } else { company_ = value; } @@ -596,11 +671,15 @@ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -614,48 +693,64 @@ public Builder clearCompany() { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null ? - com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - getCompany(), - getParentForChildren(), - isClean()); + companyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + getCompany(), getParentForChildren(), isClean()); company_ = null; } return companyBuilder_; @@ -663,8 +758,13 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +774,15 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +792,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +831,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +843,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +854,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +870,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +882,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +906,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +919,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +940,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +959,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +986,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateCompanyRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateCompanyRequest();
   }
@@ -877,27 +1000,27 @@ public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateCompanyRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateCompanyRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1035,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateCompanyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
similarity index 71%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
index c94437daeb0f..113d3ea2fbd3 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
@@ -1,40 +1,72 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateCompanyRequestOrBuilder extends
+public interface UpdateCompanyRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateCompanyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ boolean hasCompany(); /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ com.google.cloud.talent.v4beta1.Company getCompany(); /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +76,13 @@ public interface UpdateCompanyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +92,13 @@ public interface UpdateCompanyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
index 608a99990fdb..bd5480d5f891 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
@@ -1,60 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Update job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateJobRequest} */ -public final class UpdateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateJobRequest) UpdateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateJobRequest() { - } + + private UpdateJobRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateJobRequest.class, com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateJobRequest.class, + com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @@ -88,6 +117,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +128,7 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -165,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +215,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateJobRequest other = (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateJobRequest other =
+        (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj;
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob()
-          .equals(other.getJob())) return false;
+      if (!getJob().equals(other.getJob())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +255,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Update job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateJobRequest) com.google.cloud.talent.v4beta1.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateJobRequest.class, com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateJobRequest.class, + com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override @@ -385,7 +425,8 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateJobRequest result = new com.google.cloud.talent.v4beta1.UpdateJobRequest(this); + com.google.cloud.talent.v4beta1.UpdateJobRequest result = + new com.google.cloud.talent.v4beta1.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -404,38 +445,39 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -443,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -476,26 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,24 +550,35 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -536,11 +589,14 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { @@ -556,14 +612,16 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJob( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -574,17 +632,20 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -596,11 +657,14 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -614,48 +678,59 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -663,8 +738,13 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +754,15 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +772,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +811,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +823,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +834,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +850,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +862,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +886,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +899,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +920,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +939,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +966,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateJobRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateJobRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateJobRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateJobRequest();
   }
@@ -877,27 +980,27 @@ public static com.google.cloud.talent.v4beta1.UpdateJobRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateJobRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateJobRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1015,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateJobRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
index 6dc2e597804f..d495bee0edc2 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateJobRequestOrBuilder extends
+public interface UpdateJobRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateJobRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +73,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +89,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
index 19d2d7582f6d..175fd399e727 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
@@ -1,60 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Request for updating a specified tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateTenantRequest} */ -public final class UpdateTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateTenantRequest) UpdateTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTenantRequest.newBuilder() to construct. private UpdateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTenantRequest() { - } + + private UpdateTenantRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, + com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Tenant tenant_; /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasTenant() { return tenant_ != null; } /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.cloud.talent.v4beta1.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @@ -88,6 +117,8 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +128,7 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tenant_ != null) {
       output.writeMessage(1, getTenant());
     }
@@ -165,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tenant_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTenant());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTenant());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +215,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateTenantRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateTenantRequest other = (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateTenantRequest other =
+        (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj;
 
     if (hasTenant() != other.hasTenant()) return false;
     if (hasTenant()) {
-      if (!getTenant()
-          .equals(other.getTenant())) return false;
+      if (!getTenant().equals(other.getTenant())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -222,129 +256,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateTenantRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request for updating a specified tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateTenantRequest) com.google.cloud.talent.v4beta1.UpdateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, + com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateTenantRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override @@ -385,7 +425,8 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateTenantRequest result = new com.google.cloud.talent.v4beta1.UpdateTenantRequest(this); + com.google.cloud.talent.v4beta1.UpdateTenantRequest result = + new com.google.cloud.talent.v4beta1.UpdateTenantRequest(this); if (tenantBuilder_ == null) { result.tenant_ = tenant_; } else { @@ -404,38 +445,39 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -443,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance()) + return this; if (other.hasTenant()) { mergeTenant(other.getTenant()); } @@ -476,26 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getTenantFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,39 +550,58 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantBuilder_; + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> + tenantBuilder_; /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ public com.google.cloud.talent.v4beta1.Tenant getTenant() { if (tenantBuilder_ == null) { - return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null + ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() + : tenant_; } else { return tenantBuilder_.getMessage(); } } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { @@ -556,14 +617,17 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTenant( - com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -574,17 +638,23 @@ public Builder setTenant( return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_) + .mergeFrom(value) + .buildPartial(); } else { tenant_ = value; } @@ -596,11 +666,15 @@ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -614,48 +688,64 @@ public Builder clearTenant() { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null + ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() + : tenant_; } } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( - getTenant(), - getParentForChildren(), - isClean()); + tenantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder>( + getTenant(), getParentForChildren(), isClean()); tenant_ = null; } return tenantBuilder_; @@ -663,8 +753,13 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +769,15 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +787,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +826,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +838,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +849,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +865,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +877,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +901,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +914,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +935,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +954,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +981,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateTenantRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateTenantRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateTenantRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateTenantRequest();
   }
@@ -877,27 +995,27 @@ public static com.google.cloud.talent.v4beta1.UpdateTenantRequest getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTenantRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTenantRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateTenantRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
index 9827ae393633..aa10337362cf 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateTenantRequestOrBuilder extends
+public interface UpdateTenantRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateTenantRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ boolean hasTenant(); /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ com.google.cloud.talent.v4beta1.Tenant getTenant(); /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +73,13 @@ public interface UpdateTenantRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +89,13 @@ public interface UpdateTenantRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
index c16dca5e463e..880679a9c968 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
@@ -11,9 +28,11 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.Visibility}
  */
-@java.lang.Deprecated public enum Visibility
-    implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated
+public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -22,6 +41,8 @@ */ VISIBILITY_UNSPECIFIED(0), /** + * + * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -30,6 +51,8 @@ */ ACCOUNT_ONLY(1), /** + * + * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -39,6 +62,8 @@
    */
   SHARED_WITH_GOOGLE(2),
   /**
+   *
+   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -51,6 +76,8 @@
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -59,6 +86,8 @@ */ public static final int VISIBILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -67,6 +96,8 @@ */ public static final int ACCOUNT_ONLY_VALUE = 1; /** + * + * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -76,6 +107,8 @@
    */
   public static final int SHARED_WITH_GOOGLE_VALUE = 2;
   /**
+   *
+   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -85,7 +118,6 @@
    */
   public static final int SHARED_WITH_PUBLIC_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -110,50 +142,51 @@ public static Visibility valueOf(int value) {
    */
   public static Visibility forNumber(int value) {
     switch (value) {
-      case 0: return VISIBILITY_UNSPECIFIED;
-      case 1: return ACCOUNT_ONLY;
-      case 2: return SHARED_WITH_GOOGLE;
-      case 3: return SHARED_WITH_PUBLIC;
-      default: return null;
+      case 0:
+        return VISIBILITY_UNSPECIFIED;
+      case 1:
+        return ACCOUNT_ONLY;
+      case 2:
+        return SHARED_WITH_GOOGLE;
+      case 3:
+        return SHARED_WITH_PUBLIC;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      Visibility> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Visibility findValueByNumber(int number) {
-            return Visibility.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public Visibility findValueByNumber(int number) {
+          return Visibility.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(7);
   }
 
   private static final Visibility[] VALUES = values();
 
-  public static Visibility valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -169,4 +202,3 @@ private Visibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.Visibility)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
deleted file mode 100644
index 64026ce5e838..000000000000
--- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
+++ /dev/null
@@ -1,651 +0,0 @@
-package com.google.cloud.talent.v4;
-
-import static io.grpc.MethodDescriptor.generateFullMethodName;
-
-/**
- * 
- * A service that handles company management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4/company_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompanyServiceGrpc { - - private CompanyServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4.CompanyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompany", - requestType = com.google.cloud.talent.v4.CreateCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCompanyMethod() { - io.grpc.MethodDescriptor getCreateCompanyMethod; - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - CompanyServiceGrpc.getCreateCompanyMethod = getCreateCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("CreateCompany")) - .build(); - } - } - } - return getCreateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompany", - requestType = com.google.cloud.talent.v4.GetCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCompanyMethod() { - io.grpc.MethodDescriptor getGetCompanyMethod; - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - CompanyServiceGrpc.getGetCompanyMethod = getGetCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) - .build(); - } - } - } - return getGetCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", - requestType = com.google.cloud.talent.v4.UpdateCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCompanyMethod() { - io.grpc.MethodDescriptor getUpdateCompanyMethod; - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - CompanyServiceGrpc.getUpdateCompanyMethod = getUpdateCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) - .build(); - } - } - } - return getUpdateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", - requestType = com.google.cloud.talent.v4.DeleteCompanyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCompanyMethod() { - io.grpc.MethodDescriptor getDeleteCompanyMethod; - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - CompanyServiceGrpc.getDeleteCompanyMethod = getDeleteCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) - .build(); - } - } - } - return getDeleteCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCompaniesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompanies", - requestType = com.google.cloud.talent.v4.ListCompaniesRequest.class, - responseType = com.google.cloud.talent.v4.ListCompaniesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCompaniesMethod() { - io.grpc.MethodDescriptor getListCompaniesMethod; - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - CompanyServiceGrpc.getListCompaniesMethod = getListCompaniesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("ListCompanies")) - .build(); - } - } - } - return getListCompaniesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static CompanyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - }; - return CompanyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompanyServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - }; - return CompanyServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CompanyServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - }; - return CompanyServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static abstract class CompanyServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompanyMethod(), responseObserver); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany(com.google.cloud.talent.v4.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyMethod(), responseObserver); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCompanyMethod(), responseObserver); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompaniesMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateCompanyRequest, - com.google.cloud.talent.v4.Company>( - this, METHODID_CREATE_COMPANY))) - .addMethod( - getGetCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetCompanyRequest, - com.google.cloud.talent.v4.Company>( - this, METHODID_GET_COMPANY))) - .addMethod( - getUpdateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateCompanyRequest, - com.google.cloud.talent.v4.Company>( - this, METHODID_UPDATE_COMPANY))) - .addMethod( - getDeleteCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteCompanyRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_COMPANY))) - .addMethod( - getListCompaniesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse>( - this, METHODID_LIST_COMPANIES))) - .build(); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceStub extends io.grpc.stub.AbstractAsyncStub { - private CompanyServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany(com.google.cloud.talent.v4.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CompanyServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.cloud.talent.v4.Company createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.cloud.talent.v4.Company getCompany(com.google.cloud.talent.v4.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public com.google.cloud.talent.v4.Company updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.protobuf.Empty deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4.ListCompaniesResponse listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompaniesMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private CompanyServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCompany( - com.google.cloud.talent.v4.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCompany( - com.google.cloud.talent.v4.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCompany( - com.google.cloud.talent.v4.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCompany( - com.google.cloud.talent.v4.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCompanies( - com.google.cloud.talent.v4.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_COMPANY = 0; - private static final int METHODID_GET_COMPANY = 1; - private static final int METHODID_UPDATE_COMPANY = 2; - private static final int METHODID_DELETE_COMPANY = 3; - private static final int METHODID_LIST_COMPANIES = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompanyServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_COMPANY: - serviceImpl.createCompany((com.google.cloud.talent.v4.CreateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_COMPANY: - serviceImpl.getCompany((com.google.cloud.talent.v4.GetCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_COMPANY: - serviceImpl.updateCompany((com.google.cloud.talent.v4.UpdateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_COMPANY: - serviceImpl.deleteCompany((com.google.cloud.talent.v4.DeleteCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPANIES: - serviceImpl.listCompanies((com.google.cloud.talent.v4.ListCompaniesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompanyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CompanyService"); - } - } - - private static final class CompanyServiceFileDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier { - CompanyServiceFileDescriptorSupplier() {} - } - - private static final class CompanyServiceMethodDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompanyServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompanyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) - .addMethod(getCreateCompanyMethod()) - .addMethod(getGetCompanyMethod()) - .addMethod(getUpdateCompanyMethod()) - .addMethod(getDeleteCompanyMethod()) - .addMethod(getListCompaniesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java deleted file mode 100644 index 1cd8a445db47..000000000000 --- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java +++ /dev/null @@ -1,647 +0,0 @@ -package com.google.cloud.talent.v4; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * A service that handles tenant management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4/tenant_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TenantServiceGrpc { - - private TenantServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4.TenantService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTenant", - requestType = com.google.cloud.talent.v4.CreateTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTenantMethod() { - io.grpc.MethodDescriptor getCreateTenantMethod; - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - TenantServiceGrpc.getCreateTenantMethod = getCreateTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("CreateTenant")) - .build(); - } - } - } - return getCreateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTenant", - requestType = com.google.cloud.talent.v4.GetTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTenantMethod() { - io.grpc.MethodDescriptor getGetTenantMethod; - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - TenantServiceGrpc.getGetTenantMethod = getGetTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) - .build(); - } - } - } - return getGetTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", - requestType = com.google.cloud.talent.v4.UpdateTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTenantMethod() { - io.grpc.MethodDescriptor getUpdateTenantMethod; - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - TenantServiceGrpc.getUpdateTenantMethod = getUpdateTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("UpdateTenant")) - .build(); - } - } - } - return getUpdateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", - requestType = com.google.cloud.talent.v4.DeleteTenantRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTenantMethod() { - io.grpc.MethodDescriptor getDeleteTenantMethod; - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - TenantServiceGrpc.getDeleteTenantMethod = getDeleteTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("DeleteTenant")) - .build(); - } - } - } - return getDeleteTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTenantsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTenants", - requestType = com.google.cloud.talent.v4.ListTenantsRequest.class, - responseType = com.google.cloud.talent.v4.ListTenantsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTenantsMethod() { - io.grpc.MethodDescriptor getListTenantsMethod; - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - TenantServiceGrpc.getListTenantsMethod = getListTenantsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListTenantsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListTenantsResponse.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) - .build(); - } - } - } - return getListTenantsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static TenantServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - }; - return TenantServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TenantServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - }; - return TenantServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static TenantServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - }; - return TenantServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static abstract class TenantServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant(com.google.cloud.talent.v4.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTenantMethod(), responseObserver); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant(com.google.cloud.talent.v4.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTenantMethod(), responseObserver); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTenantMethod(), responseObserver); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants(com.google.cloud.talent.v4.ListTenantsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTenantsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateTenantRequest, - com.google.cloud.talent.v4.Tenant>( - this, METHODID_CREATE_TENANT))) - .addMethod( - getGetTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetTenantRequest, - com.google.cloud.talent.v4.Tenant>( - this, METHODID_GET_TENANT))) - .addMethod( - getUpdateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateTenantRequest, - com.google.cloud.talent.v4.Tenant>( - this, METHODID_UPDATE_TENANT))) - .addMethod( - getDeleteTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteTenantRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TENANT))) - .addMethod( - getListTenantsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse>( - this, METHODID_LIST_TENANTS))) - .build(); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceStub extends io.grpc.stub.AbstractAsyncStub { - private TenantServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant(com.google.cloud.talent.v4.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant(com.google.cloud.talent.v4.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants(com.google.cloud.talent.v4.ListTenantsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private TenantServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant createTenant(com.google.cloud.talent.v4.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant getTenant(com.google.cloud.talent.v4.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.protobuf.Empty deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4.ListTenantsResponse listTenants(com.google.cloud.talent.v4.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTenantsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private TenantServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTenant( - com.google.cloud.talent.v4.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTenant( - com.google.cloud.talent.v4.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTenant( - com.google.cloud.talent.v4.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTenant( - com.google.cloud.talent.v4.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTenants( - com.google.cloud.talent.v4.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TENANT = 0; - private static final int METHODID_GET_TENANT = 1; - private static final int METHODID_UPDATE_TENANT = 2; - private static final int METHODID_DELETE_TENANT = 3; - private static final int METHODID_LIST_TENANTS = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TenantServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TENANT: - serviceImpl.createTenant((com.google.cloud.talent.v4.CreateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TENANT: - serviceImpl.getTenant((com.google.cloud.talent.v4.GetTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TENANT: - serviceImpl.updateTenant((com.google.cloud.talent.v4.UpdateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TENANT: - serviceImpl.deleteTenant((com.google.cloud.talent.v4.DeleteTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TENANTS: - serviceImpl.listTenants((com.google.cloud.talent.v4.ListTenantsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TenantServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TenantService"); - } - } - - private static final class TenantServiceFileDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier { - TenantServiceFileDescriptorSupplier() {} - } - - private static final class TenantServiceMethodDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TenantServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TenantServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) - .addMethod(getCreateTenantMethod()) - .addMethod(getGetTenantMethod()) - .addMethod(getUpdateTenantMethod()) - .addMethod(getDeleteTenantMethod()) - .addMethod(getListTenantsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java deleted file mode 100644 index ebea9649ff4d..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java +++ /dev/null @@ -1,307 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/common.proto - -package com.google.cloud.talent.v4; - -public final class CommonProto { - private CommonProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_TimestampRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_Location_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_RequestMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_DeviceInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/talent/v4/common.proto\022\026g" + - "oogle.cloud.talent.v4\032\037google/api/field_" + - "behavior.proto\032\037google/protobuf/timestam" + - "p.proto\032\036google/protobuf/wrappers.proto\032" + - "\030google/type/latlng.proto\032\027google/type/m" + - "oney.proto\032 google/type/postal_address.p" + - "roto\"n\n\016TimestampRange\022.\n\nstart_time\030\001 \001" + - "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + - "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"\262\003\n" + - "\010Location\022D\n\rlocation_type\030\001 \001(\0162-.googl" + - "e.cloud.talent.v4.Location.LocationType\022" + - "2\n\016postal_address\030\002 \001(\0132\032.google.type.Po" + - "stalAddress\022$\n\007lat_lng\030\003 \001(\0132\023.google.ty" + - "pe.LatLng\022\024\n\014radius_miles\030\004 \001(\001\"\357\001\n\014Loca" + - "tionType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020\000\022" + - "\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATIVE_AREA\020\002\022\033\n" + - "\027SUB_ADMINISTRATIVE_AREA\020\003\022\014\n\010LOCALITY\020\004" + - "\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOCALITY\020\006\022\022\n\016S" + - "UB_LOCALITY_1\020\007\022\022\n\016SUB_LOCALITY_2\020\010\022\020\n\014N" + - "EIGHBORHOOD\020\t\022\022\n\016STREET_ADDRESS\020\n\"\232\001\n\017Re" + - "questMetadata\022\016\n\006domain\030\001 \001(\t\022\022\n\nsession" + - "_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031\n\021allow_miss" + - "ing_ids\030\004 \001(\010\0227\n\013device_info\030\005 \001(\0132\".goo" + - "gle.cloud.talent.v4.DeviceInfo\"&\n\020Respon" + - "seMetadata\022\022\n\nrequest_id\030\001 \001(\t\"\312\001\n\nDevic" + - "eInfo\022B\n\013device_type\030\001 \001(\0162-.google.clou" + - "d.talent.v4.DeviceInfo.DeviceType\022\n\n\002id\030" + - "\002 \001(\t\"l\n\nDeviceType\022\033\n\027DEVICE_TYPE_UNSPE" + - "CIFIED\020\000\022\007\n\003WEB\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007AND" + - "ROID\020\003\022\007\n\003IOS\020\004\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017C" + - "ustomAttribute\022\025\n\rstring_values\030\001 \003(\t\022\023\n" + - "\013long_values\030\002 \003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032" + - "\n\022keyword_searchable\030\004 \001(\010\"W\n\022SpellingCo" + - "rrection\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected" + - "_text\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\210\t\n\020" + - "CompensationInfo\022K\n\007entries\030\001 \003(\0132:.goog" + - "le.cloud.talent.v4.CompensationInfo.Comp" + - "ensationEntry\022k\n\"annualized_base_compens" + - "ation_range\030\002 \001(\0132:.google.cloud.talent." + - "v4.CompensationInfo.CompensationRangeB\003\340" + - "A\003\022l\n#annualized_total_compensation_rang" + - "e\030\003 \001(\0132:.google.cloud.talent.v4.Compens" + - "ationInfo.CompensationRangeB\003\340A\003\032\203\003\n\021Com" + - "pensationEntry\022G\n\004type\030\001 \001(\01629.google.cl" + - "oud.talent.v4.CompensationInfo.Compensat" + - "ionType\022G\n\004unit\030\002 \001(\01629.google.cloud.tal" + - "ent.v4.CompensationInfo.CompensationUnit" + - "\022$\n\006amount\030\003 \001(\0132\022.google.type.MoneyH\000\022K" + - "\n\005range\030\004 \001(\0132:.google.cloud.talent.v4.C" + - "ompensationInfo.CompensationRangeH\000\022\023\n\013d" + - "escription\030\005 \001(\t\022=\n\027expected_units_per_y" + - "ear\030\006 \001(\0132\034.google.protobuf.DoubleValueB" + - "\025\n\023compensation_amount\032o\n\021CompensationRa" + - "nge\022,\n\020max_compensation\030\002 \001(\0132\022.google.t" + - "ype.Money\022,\n\020min_compensation\030\001 \001(\0132\022.go" + - "ogle.type.Money\"\265\001\n\020CompensationType\022!\n\035" + - "COMPENSATION_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020" + - "\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BONUS\020\003\022\n\n\006EQUIT" + - "Y\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n\013COMMISSIONS\020\006" + - "\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPENSATION_TYPE\020\010\"" + - "\234\001\n\020CompensationUnit\022!\n\035COMPENSATION_UNI" + - "T_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020\002\022\n" + - "\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\022\014\n\010O" + - "NE_TIME\020\006\022\033\n\027OTHER_COMPENSATION_UNIT\020\007\"\307" + - "\003\n\026BatchOperationMetadata\022C\n\005state\030\001 \001(\016" + - "24.google.cloud.talent.v4.BatchOperation" + - "Metadata.State\022\031\n\021state_description\030\002 \001(" + - "\t\022\025\n\rsuccess_count\030\003 \001(\005\022\025\n\rfailure_coun" + - "t\030\004 \001(\005\022\023\n\013total_count\030\005 \001(\005\022/\n\013create_t" + - "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022/\n" + - "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" + - "estamp\022,\n\010end_time\030\010 \001(\0132\032.google.protob" + - "uf.Timestamp\"z\n\005State\022\025\n\021STATE_UNSPECIFI" + - "ED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022\r" + - "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\016\n\nCANCELLING\020" + - "\005\022\r\n\tCANCELLED\020\006*y\n\013CompanySize\022\034\n\030COMPA" + - "NY_SIZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL" + - "\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006" + - "BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JO" + - "B_BENEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022" + - "\n\n\006DENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLE" + - "XIBLE_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSUR" + - "ANCE\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT" + - "_PLAN\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006" + - "VISION\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_U" + - "NSPECIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031L" + - "OWER_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECO" + - "NDARY_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUC" + - "ATION\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n" + - "\027BACHELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR" + - "_EQUIVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020" + - "\010*\334\001\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_" + - "UNSPECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIM" + - "E\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020" + - "\004\022\r\n\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEE" + - "R\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n" + - "\025OTHER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025" + - "JOB_LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001" + - "\022\017\n\013EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECT" + - "OR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030J" + - "OB_CATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_" + - "AND_FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFI" + - "CE\020\002\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013A" + - "NIMAL_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005" + - "\022\027\n\023BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AN" + - "D_FACILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014C" + - "ONSTRUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tE" + - "DUCATION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014" + - "\022\030\n\024FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE" + - "\020\016\022\023\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_" + - "MAINTENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nM" + - "ANAGEMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOU" + - "SE\020\023\022$\n MEDIA_COMMUNICATIONS_AND_WRITING" + - "\020\024\022\026\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_C" + - "ARE_AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICE" + - "S\020\027\022\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_H" + - "OSPITALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SC" + - "IENCE_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVIC" + - "ES_AND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AN" + - "D_RECREATION\020\035\022 \n\034TRANSPORTATION_AND_LOG" + - "ISTICS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REG" + - "ION_UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA" + - "\020\001\022\n\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisib" + - "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACC" + - "OUNT_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022S" + - "HARED_WITH_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitizat" + - "ion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036" + - "\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE" + - "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" + - "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" + - "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" + - "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" + - "oud.talent.v4B\013CommonProtoP\001Z23/v4/{company.name=projects/*/te" + - "nants/*/companies/*}:\007company\332A\023company," + - "update_mask\022\221\001\n\rDeleteCompany\022,.google.c" + - "loud.talent.v4.DeleteCompanyRequest\032\026.go" + - "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v4/{name=p" + - "rojects/*/tenants/*/companies/*}\332A\004name\022" + - "\252\001\n\rListCompanies\022,.google.cloud.talent." + - "v4.ListCompaniesRequest\032-.google.cloud.t" + - "alent.v4.ListCompaniesResponse\"<\202\323\344\223\002-\022+" + - "/v4/{parent=projects/*/tenants/*}/compan" + - "ies\332A\006parent\032l\312A\023jobs.googleapis.com\322ASh" + - "ttps://www.googleapis.com/auth/cloud-pla" + - "tform,https://www.googleapis.com/auth/jo" + - "bsBw\n\032com.google.cloud.talent.v4B\023Compan" + - "yServiceProtoP\001Z.google.cloud.talent.v4.CompleteQuer" + - "yResponse.CompletionResult\022:\n\010metadata\030\002" + - " \001(\0132(.google.cloud.talent.v4.ResponseMe" + - "tadata\032\204\001\n\020CompletionResult\022\022\n\nsuggestio" + - "n\030\001 \001(\t\022I\n\004type\030\002 \001(\0162;.google.cloud.tal" + - "ent.v4.CompleteQueryRequest.CompletionTy" + - "pe\022\021\n\timage_uri\030\003 \001(\t2\242\002\n\nCompletion\022\245\001\n" + - "\rCompleteQuery\022,.google.cloud.talent.v4." + - "CompleteQueryRequest\032-.google.cloud.tale" + - "nt.v4.CompleteQueryResponse\"7\202\323\344\223\0021\022//v4" + - "/{tenant=projects/*/tenants/*}:completeQ" + - "uery\032l\312A\023jobs.googleapis.com\322AShttps://w" + - "ww.googleapis.com/auth/cloud-platform,ht" + - "tps://www.googleapis.com/auth/jobsBz\n\032co" + - "m.google.cloud.talent.v4B\026CompletionServ" + - "iceProtoP\001Z - * Required. The resource name of the company to be deleted. - * The format is - * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/foo/tenants/bar/companies/baz". - *
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the company to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
-   * example, "projects/foo/tenants/bar/companies/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java deleted file mode 100644 index cd4e7e2e728e..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/job_service.proto - -package com.google.cloud.talent.v4; - -public interface DeleteJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the job to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the job to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java deleted file mode 100644 index 2fc07df36afe..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant_service.proto - -package com.google.cloud.talent.v4; - -public interface DeleteTenantRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java deleted file mode 100644 index f6ffb0fb3b5d..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java +++ /dev/null @@ -1,89 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/event.proto - -package com.google.cloud.talent.v4; - -public final class EventProto { - private EventProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_ClientEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_JobEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/talent/v4/event.proto\022\026go" + - "ogle.cloud.talent.v4\032\037google/api/field_b" + - "ehavior.proto\032\037google/protobuf/timestamp" + - ".proto\"\303\001\n\013ClientEvent\022\022\n\nrequest_id\030\001 \001" + - "(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013create_time" + - "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + - "5\n\tjob_event\030\005 \001(\0132 .google.cloud.talent" + - ".v4.JobEventH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005e" + - "vent\"\340\003\n\010JobEvent\022@\n\004type\030\001 \001(\0162-.google" + - ".cloud.talent.v4.JobEvent.JobEventTypeB\003" + - "\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340A\002\"\376\002\n\014JobEventType\022" + - "\036\n\032JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE" + - "SSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021" + - "APPLICATION_START\020\004\022\026\n\022APPLICATION_FINIS" + - "H\020\005\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n" + - "\024APPLICATION_REDIRECT\020\007\022!\n\035APPLICATION_S" + - "TART_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRE" + - "CT_FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_" + - "SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014" + - "\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GR" + - "ANTED\020\017Bn\n\032com.google.cloud.talent.v4B\nE" + - "ventProtoP\001Z\n\014client_event\030\002 \001" + - "(\0132#.google.cloud.talent.v4.ClientEventB" + - "\003\340A\0022\305\002\n\014EventService\022\306\001\n\021CreateClientEv" + - "ent\0220.google.cloud.talent.v4.CreateClien" + - "tEventRequest\032#.google.cloud.talent.v4.C" + - "lientEvent\"Z\202\323\344\223\002>\"./v4/{parent=projects" + - "/*/tenants/*}/clientEvents:\014client_event" + - "\332A\023parent,client_event\032l\312A\023jobs.googleap" + - "is.com\322AShttps://www.googleapis.com/auth" + - "/cloud-platform,https://www.googleapis.c" + - "om/auth/jobsBu\n\032com.google.cloud.talent." + - "v4B\021EventServiceProtoP\001Z - * Required. The resource name of the company to be retrieved. - * The format is - * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/api-test-project/tenants/foo/companies/bar". - *
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the company to be retrieved.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
-   * example, "projects/api-test-project/tenants/foo/companies/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java deleted file mode 100644 index ba7c61ed366f..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/job_service.proto - -package com.google.cloud.talent.v4; - -public interface GetJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the job to retrieve.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the job to retrieve.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java deleted file mode 100644 index 2d4022936340..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant_service.proto - -package com.google.cloud.talent.v4; - -public interface GetTenantRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java deleted file mode 100644 index c4baba96311b..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java +++ /dev/null @@ -1,78 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/histogram.proto - -package com.google.cloud.talent.v4; - -public final class HistogramProto { - private HistogramProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/talent/v4/histogram.proto" + - "\022\026google.cloud.talent.v4\")\n\016HistogramQue" + - "ry\022\027\n\017histogram_query\030\001 \001(\t\"\261\001\n\024Histogra" + - "mQueryResult\022\027\n\017histogram_query\030\001 \001(\t\022N\n" + - "\thistogram\030\002 \003(\0132;.google.cloud.talent.v" + - "4.HistogramQueryResult.HistogramEntry\0320\n" + - "\016HistogramEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + - "\001(\003:\0028\001Br\n\032com.google.cloud.talent.v4B\016H" + - "istogramProtoP\001Z\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372" + - "A\031\n\027jobs.googleapis.com/Job\"r\n\020UpdateJob" + - "Request\022-\n\003job\030\001 \001(\0132\033.google.cloud.tale" + - "nt.v4.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + - "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" + - "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" + - "is.com/Job\"\261\001\n\017ListJobsRequest\022/\n\006parent" + - "\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022" + - "\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\npage_token\030\003 \001(\t" + - "\022\021\n\tpage_size\030\004 \001(\005\0221\n\010job_view\030\005 \001(\0162\037." + - "google.cloud.talent.v4.JobView\"\222\001\n\020ListJ" + - "obsResponse\022)\n\004jobs\030\001 \003(\0132\033.google.cloud" + - ".talent.v4.Job\022\027\n\017next_page_token\030\002 \001(\t\022" + - ":\n\010metadata\030\003 \001(\0132(.google.cloud.talent." + - "v4.ResponseMetadata\"\274\013\n\021SearchJobsReques" + - "t\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleap" + - "is.com/Job\022I\n\013search_mode\030\002 \001(\01624.google" + - ".cloud.talent.v4.SearchJobsRequest.Searc" + - "hMode\022F\n\020request_metadata\030\003 \001(\0132\'.google" + - ".cloud.talent.v4.RequestMetadataB\003\340A\002\0223\n" + - "\tjob_query\030\004 \001(\0132 .google.cloud.talent.v" + - "4.JobQuery\022\031\n\021enable_broadening\030\005 \001(\010\022A\n" + - "\021histogram_queries\030\007 \003(\0132&.google.cloud." + - "talent.v4.HistogramQuery\0221\n\010job_view\030\010 \001" + - "(\0162\037.google.cloud.talent.v4.JobView\022\016\n\006o" + - "ffset\030\t \001(\005\022\025\n\rmax_page_size\030\n \001(\005\022\022\n\npa" + - "ge_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t\022]\n\025dive" + - "rsification_level\030\r \001(\0162>.google.cloud.t" + - "alent.v4.SearchJobsRequest.Diversificati" + - "onLevel\022X\n\023custom_ranking_info\030\016 \001(\0132;.g" + - "oogle.cloud.talent.v4.SearchJobsRequest." + - "CustomRankingInfo\022!\n\025disable_keyword_mat" + - "ch\030\020 \001(\010B\002\030\001\022V\n\022keyword_match_mode\030\022 \001(\016" + - "2:.google.cloud.talent.v4.SearchJobsRequ" + - "est.KeywordMatchMode\032\225\002\n\021CustomRankingIn" + - "fo\022j\n\020importance_level\030\001 \001(\0162K.google.cl" + - "oud.talent.v4.SearchJobsRequest.CustomRa" + - "nkingInfo.ImportanceLevelB\003\340A\002\022\037\n\022rankin" + - "g_expression\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLev" + - "el\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004" + - "NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n" + - "\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SE" + - "ARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022" + - "\027\n\023FEATURED_JOB_SEARCH\020\002\"\245\001\n\024Diversifica" + - "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE" + - "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\022\023\n\017ON" + - "E_PER_COMPANY\020\003\022\023\n\017TWO_PER_COMPANY\020\004\022\"\n\036" + - "DIVERSIFY_BY_LOOSER_SIMILARITY\020\005\"\207\001\n\020Key" + - "wordMatchMode\022\"\n\036KEYWORD_MATCH_MODE_UNSP" + - "ECIFIED\020\000\022\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n" + - "\021KEYWORD_MATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TI" + - "TLE_ONLY\020\003\"\221\006\n\022SearchJobsResponse\022M\n\rmat" + - "ching_jobs\030\001 \003(\01326.google.cloud.talent.v" + - "4.SearchJobsResponse.MatchingJob\022M\n\027hist" + - "ogram_query_results\030\002 \003(\0132,.google.cloud" + - ".talent.v4.HistogramQueryResult\022\027\n\017next_" + - "page_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003" + - "(\0132 .google.cloud.talent.v4.Location\022\022\n\n" + - "total_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.goo" + - "gle.cloud.talent.v4.ResponseMetadata\022\"\n\032" + - "broadened_query_jobs_count\030\010 \001(\005\022D\n\020spel" + - "l_correction\030\t \001(\0132*.google.cloud.talent" + - ".v4.SpellingCorrection\032\322\001\n\013MatchingJob\022(" + - "\n\003job\030\001 \001(\0132\033.google.cloud.talent.v4.Job" + - "\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snipp" + - "et\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n" + - "\014commute_info\030\005 \001(\01326.google.cloud.talen" + - "t.v4.SearchJobsResponse.CommuteInfo\032y\n\013C" + - "ommuteInfo\0226\n\014job_location\030\001 \001(\0132 .googl" + - "e.cloud.talent.v4.Location\0222\n\017travel_dur" + - "ation\030\002 \001(\0132\031.google.protobuf.Duration\"y" + - "\n\026BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\t" + - "B\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004job" + - "s\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A" + - "\002\"\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001" + - " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n" + - "\004jobs\030\002 \003(\0132\033.google.cloud.talent.v4.Job" + - "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + - "obuf.FieldMask\"y\n\026BatchDeleteJobsRequest" + - "\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapi" + - "s.com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.g" + - "oogleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 " + - "\001(\0132\033.google.cloud.talent.v4.Job\022\"\n\006stat" + - "us\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCre" + - "ateJobsResponse\0226\n\013job_results\030\001 \003(\0132!.g" + - "oogle.cloud.talent.v4.JobResult\"Q\n\027Batch" + - "UpdateJobsResponse\0226\n\013job_results\030\001 \003(\0132" + - "!.google.cloud.talent.v4.JobResult\"Q\n\027Ba" + - "tchDeleteJobsResponse\0226\n\013job_results\030\001 \003" + - "(\0132!.google.cloud.talent.v4.JobResult*v\n" + - "\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JO" + - "B_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022" + - "\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016" + - "\n\nJobService\022\224\001\n\tCreateJob\022(.google.clou" + - "d.talent.v4.CreateJobRequest\032\033.google.cl" + - "oud.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=p" + - "rojects/*/tenants/*}/jobs:\003job\332A\nparent," + - "job\022\341\001\n\017BatchCreateJobs\022..google.cloud.t" + - "alent.v4.BatchCreateJobsRequest\032\035.google" + - ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par" + - "ent=projects/*/tenants/*}/jobs:batchCrea" + - "te:\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsR" + - "esponse\022\026BatchOperationMetadata\022\203\001\n\006GetJ" + - "ob\022%.google.cloud.talent.v4.GetJobReques" + - "t\032\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&" + - "/v4/{name=projects/*/tenants/*/jobs/*}\332A" + - "\004name\022\235\001\n\tUpdateJob\022(.google.cloud.talen" + - "t.v4.UpdateJobRequest\032\033.google.cloud.tal" + - "ent.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projec" + - "ts/*/tenants/*/jobs/*}:\003job\332A\017job,update" + - "_mask\022\341\001\n\017BatchUpdateJobs\022..google.cloud" + - ".talent.v4.BatchUpdateJobsRequest\032\035.goog" + - "le.longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{p" + - "arent=projects/*/tenants/*}/jobs:batchUp" + - "date:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJob" + - "sResponse\022\026BatchOperationMetadata\022\204\001\n\tDe" + - "leteJob\022(.google.cloud.talent.v4.DeleteJ" + - "obRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002" + - "(*&/v4/{name=projects/*/tenants/*/jobs/*" + - "}\332A\004name\022\343\001\n\017BatchDeleteJobs\022..google.cl" + - "oud.talent.v4.BatchDeleteJobsRequest\032\035.g" + - "oogle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v" + - "4/{parent=projects/*/tenants/*}/jobs:bat" + - "chDelete:\001*\332A\014parent,names\312A1\n\027BatchDele" + - "teJobsResponse\022\026BatchOperationMetadata\022\235" + - "\001\n\010ListJobs\022\'.google.cloud.talent.v4.Lis" + - "tJobsRequest\032(.google.cloud.talent.v4.Li" + - "stJobsResponse\">\202\323\344\223\002(\022&/v4/{parent=proj" + - "ects/*/tenants/*}/jobs\332A\rparent,filter\022\235" + - "\001\n\nSearchJobs\022).google.cloud.talent.v4.S" + - "earchJobsRequest\032*.google.cloud.talent.v" + - "4.SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{paren" + - "t=projects/*/tenants/*}/jobs:search:\001*\022\255" + - "\001\n\022SearchJobsForAlert\022).google.cloud.tal" + - "ent.v4.SearchJobsRequest\032*.google.cloud." + - "talent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v" + - "4/{parent=projects/*/tenants/*}/jobs:sea" + - "rchForAlert:\001*\032l\312A\023jobs.googleapis.com\322A" + - "Shttps://www.googleapis.com/auth/cloud-p" + - "latform,https://www.googleapis.com/auth/" + - "jobsBs\n\032com.google.cloud.talent.v4B\017JobS" + - "erviceProtoP\001Z - * A unique id associated with this call. - * This id is logged for tracking purposes. - *
- * - * string request_id = 1; - * @return The requestId. - */ - java.lang.String getRequestId(); - /** - *
-   * A unique id associated with this call.
-   * This id is logged for tracking purposes.
-   * 
- * - * string request_id = 1; - * @return The bytes for requestId. - */ - com.google.protobuf.ByteString - getRequestIdBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java deleted file mode 100644 index 9e5bfef61cea..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant.proto - -package com.google.cloud.talent.v4; - -public final class TenantProto { - private TenantProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_Tenant_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/talent/v4/tenant.proto\022\026g" + - "oogle.cloud.talent.v4\032\037google/api/field_" + - "behavior.proto\032\031google/api/resource.prot" + - "o\"v\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013external_id" + - "\030\002 \001(\tB\003\340A\002:D\352AA\n\032jobs.googleapis.com/Te" + - "nant\022#projects/{project}/tenants/{tenant" + - "}Bo\n\032com.google.cloud.talent.v4B\013TenantP" + - "rotoP\001Z - * A service that handles company management, including CRUD and enumeration. - *
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/company_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompanyServiceGrpc { - - private CompanyServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.CompanyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompany", - requestType = com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCompanyMethod() { - io.grpc.MethodDescriptor getCreateCompanyMethod; - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - CompanyServiceGrpc.getCreateCompanyMethod = getCreateCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("CreateCompany")) - .build(); - } - } - } - return getCreateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompany", - requestType = com.google.cloud.talent.v4beta1.GetCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCompanyMethod() { - io.grpc.MethodDescriptor getGetCompanyMethod; - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - CompanyServiceGrpc.getGetCompanyMethod = getGetCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) - .build(); - } - } - } - return getGetCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", - requestType = com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCompanyMethod() { - io.grpc.MethodDescriptor getUpdateCompanyMethod; - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - CompanyServiceGrpc.getUpdateCompanyMethod = getUpdateCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) - .build(); - } - } - } - return getUpdateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", - requestType = com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCompanyMethod() { - io.grpc.MethodDescriptor getDeleteCompanyMethod; - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - CompanyServiceGrpc.getDeleteCompanyMethod = getDeleteCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) - .build(); - } - } - } - return getDeleteCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCompaniesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompanies", - requestType = com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCompaniesMethod() { - io.grpc.MethodDescriptor getListCompaniesMethod; - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - CompanyServiceGrpc.getListCompaniesMethod = getListCompaniesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("ListCompanies")) - .build(); - } - } - } - return getListCompaniesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static CompanyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - }; - return CompanyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompanyServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - }; - return CompanyServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CompanyServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - }; - return CompanyServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static abstract class CompanyServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompanyMethod(), responseObserver); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyMethod(), responseObserver); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCompanyMethod(), responseObserver); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompaniesMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company>( - this, METHODID_CREATE_COMPANY))) - .addMethod( - getGetCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company>( - this, METHODID_GET_COMPANY))) - .addMethod( - getUpdateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company>( - this, METHODID_UPDATE_COMPANY))) - .addMethod( - getDeleteCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_COMPANY))) - .addMethod( - getListCompaniesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse>( - this, METHODID_LIST_COMPANIES))) - .build(); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceStub extends io.grpc.stub.AbstractAsyncStub { - private CompanyServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CompanyServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.protobuf.Empty deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListCompaniesResponse listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompaniesMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private CompanyServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCompany( - com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCompany( - com.google.cloud.talent.v4beta1.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCompany( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCompany( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCompanies( - com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_COMPANY = 0; - private static final int METHODID_GET_COMPANY = 1; - private static final int METHODID_UPDATE_COMPANY = 2; - private static final int METHODID_DELETE_COMPANY = 3; - private static final int METHODID_LIST_COMPANIES = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompanyServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_COMPANY: - serviceImpl.createCompany((com.google.cloud.talent.v4beta1.CreateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_COMPANY: - serviceImpl.getCompany((com.google.cloud.talent.v4beta1.GetCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_COMPANY: - serviceImpl.updateCompany((com.google.cloud.talent.v4beta1.UpdateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_COMPANY: - serviceImpl.deleteCompany((com.google.cloud.talent.v4beta1.DeleteCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPANIES: - serviceImpl.listCompanies((com.google.cloud.talent.v4beta1.ListCompaniesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompanyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CompanyService"); - } - } - - private static final class CompanyServiceFileDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier { - CompanyServiceFileDescriptorSupplier() {} - } - - private static final class CompanyServiceMethodDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompanyServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompanyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) - .addMethod(getCreateCompanyMethod()) - .addMethod(getGetCompanyMethod()) - .addMethod(getUpdateCompanyMethod()) - .addMethod(getDeleteCompanyMethod()) - .addMethod(getListCompaniesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java deleted file mode 100644 index 4b22e20c0607..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java +++ /dev/null @@ -1,307 +0,0 @@ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * A service handles auto completion.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompletionGrpc { - - private CompletionGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.Completion"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCompleteQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", - requestType = com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, - responseType = com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCompleteQueryMethod() { - io.grpc.MethodDescriptor getCompleteQueryMethod; - if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - synchronized (CompletionGrpc.class) { - if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - CompletionGrpc.getCompleteQueryMethod = getCompleteQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) - .build(); - } - } - } - return getCompleteQueryMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static CompletionStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - }; - return CompletionStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompletionBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - }; - return CompletionBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CompletionFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - }; - return CompletionFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service handles auto completion.
-   * 
- */ - public static abstract class CompletionImplBase implements io.grpc.BindableService { - - /** - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public void completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteQueryMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCompleteQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse>( - this, METHODID_COMPLETE_QUERY))) - .build(); - } - } - - /** - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { - private CompletionStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - - /** - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public void completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CompletionBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - - /** - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteQueryMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionFutureStub extends io.grpc.stub.AbstractFutureStub { - private CompletionFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - - /** - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture completeQuery( - com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_COMPLETE_QUERY = 0; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompletionImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompletionImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_COMPLETE_QUERY: - serviceImpl.completeQuery((com.google.cloud.talent.v4beta1.CompleteQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompletionBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Completion"); - } - } - - private static final class CompletionFileDescriptorSupplier - extends CompletionBaseDescriptorSupplier { - CompletionFileDescriptorSupplier() {} - } - - private static final class CompletionMethodDescriptorSupplier - extends CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompletionMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompletionGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) - .addMethod(getCompleteQueryMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java deleted file mode 100644 index 98e485ab9043..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java +++ /dev/null @@ -1,1145 +0,0 @@ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * A service handles job management, including job CRUD, enumeration and search.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/job_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class JobServiceGrpc { - - private JobServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.JobService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJob", - requestType = com.google.cloud.talent.v4beta1.CreateJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateJobMethod() { - io.grpc.MethodDescriptor getCreateJobMethod; - if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - JobServiceGrpc.getCreateJobMethod = getCreateJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) - .build(); - } - } - } - return getCreateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCreateJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", - requestType = com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateJobsMethod() { - io.grpc.MethodDescriptor getBatchCreateJobsMethod; - if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - JobServiceGrpc.getBatchCreateJobsMethod = getBatchCreateJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) - .build(); - } - } - } - return getBatchCreateJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJob", - requestType = com.google.cloud.talent.v4beta1.GetJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJobMethod() { - io.grpc.MethodDescriptor getGetJobMethod; - if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - JobServiceGrpc.getGetJobMethod = getGetJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) - .build(); - } - } - } - return getGetJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateJob", - requestType = com.google.cloud.talent.v4beta1.UpdateJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateJobMethod() { - io.grpc.MethodDescriptor getUpdateJobMethod; - if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - JobServiceGrpc.getUpdateJobMethod = getUpdateJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) - .build(); - } - } - } - return getUpdateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchUpdateJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", - requestType = com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchUpdateJobsMethod() { - io.grpc.MethodDescriptor getBatchUpdateJobsMethod; - if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - JobServiceGrpc.getBatchUpdateJobsMethod = getBatchUpdateJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) - .build(); - } - } - } - return getBatchUpdateJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJob", - requestType = com.google.cloud.talent.v4beta1.DeleteJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteJobMethod() { - io.grpc.MethodDescriptor getDeleteJobMethod; - if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - JobServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) - .build(); - } - } - } - return getDeleteJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchDeleteJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", - requestType = com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchDeleteJobsMethod() { - io.grpc.MethodDescriptor getBatchDeleteJobsMethod; - if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - JobServiceGrpc.getBatchDeleteJobsMethod = getBatchDeleteJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) - .build(); - } - } - } - return getBatchDeleteJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobs", - requestType = com.google.cloud.talent.v4beta1.ListJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListJobsMethod() { - io.grpc.MethodDescriptor getListJobsMethod; - if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - JobServiceGrpc.getListJobsMethod = getListJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) - .build(); - } - } - } - return getListJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchJobs", - requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchJobsMethod() { - io.grpc.MethodDescriptor getSearchJobsMethod; - if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - JobServiceGrpc.getSearchJobsMethod = getSearchJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) - .build(); - } - } - } - return getSearchJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchJobsForAlertMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", - requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchJobsForAlertMethod() { - io.grpc.MethodDescriptor getSearchJobsForAlertMethod; - if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - JobServiceGrpc.getSearchJobsForAlertMethod = getSearchJobsForAlertMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) - .build(); - } - } - } - return getSearchJobsForAlertMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static JobServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - }; - return JobServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static JobServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - }; - return JobServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static JobServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - }; - return JobServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static abstract class JobServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); - } - - /** - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public void batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateJobsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public void getJob(com.google.cloud.talent.v4beta1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); - } - - /** - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public void updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); - } - - /** - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public void batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateJobsMethod(), responseObserver); - } - - /** - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); - } - - /** - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public void batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteJobsMethod(), responseObserver); - } - - /** - *
-     * Lists jobs by filter.
-     * 
- */ - public void listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsForAlertMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateJobRequest, - com.google.cloud.talent.v4beta1.Job>( - this, METHODID_CREATE_JOB))) - .addMethod( - getBatchCreateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_CREATE_JOBS))) - .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetJobRequest, - com.google.cloud.talent.v4beta1.Job>( - this, METHODID_GET_JOB))) - .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateJobRequest, - com.google.cloud.talent.v4beta1.Job>( - this, METHODID_UPDATE_JOB))) - .addMethod( - getBatchUpdateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_UPDATE_JOBS))) - .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteJobRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) - .addMethod( - getBatchDeleteJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, - com.google.protobuf.Empty>( - this, METHODID_BATCH_DELETE_JOBS))) - .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse>( - this, METHODID_LIST_JOBS))) - .addMethod( - getSearchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS))) - .addMethod( - getSearchJobsForAlertMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS_FOR_ALERT))) - .build(); - } - } - - /** - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { - private JobServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public void batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public void getJob(com.google.cloud.talent.v4beta1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public void updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public void batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public void batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists jobs by filter.
-     * 
- */ - public void listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private JobServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public com.google.longrunning.Operation batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job getJob(com.google.cloud.talent.v4beta1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public com.google.longrunning.Operation batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.protobuf.Empty deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists jobs by filter.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private JobServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createJob( - com.google.cloud.talent.v4beta1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCreateJobs( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getJob( - com.google.cloud.talent.v4beta1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateJob( - com.google.cloud.talent.v4beta1.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchUpdateJobs( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchDeleteJobs( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists jobs by filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listJobs( - com.google.cloud.talent.v4beta1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchJobs( - com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchJobsForAlert( - com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_JOB = 0; - private static final int METHODID_BATCH_CREATE_JOBS = 1; - private static final int METHODID_GET_JOB = 2; - private static final int METHODID_UPDATE_JOB = 3; - private static final int METHODID_BATCH_UPDATE_JOBS = 4; - private static final int METHODID_DELETE_JOB = 5; - private static final int METHODID_BATCH_DELETE_JOBS = 6; - private static final int METHODID_LIST_JOBS = 7; - private static final int METHODID_SEARCH_JOBS = 8; - private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 9; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final JobServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(JobServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_JOB: - serviceImpl.createJob((com.google.cloud.talent.v4beta1.CreateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_JOBS: - serviceImpl.batchCreateJobs((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JOB: - serviceImpl.getJob((com.google.cloud.talent.v4beta1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_JOB: - serviceImpl.updateJob((com.google.cloud.talent.v4beta1.UpdateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_UPDATE_JOBS: - serviceImpl.batchUpdateJobs((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_JOB: - serviceImpl.deleteJob((com.google.cloud.talent.v4beta1.DeleteJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_JOBS: - serviceImpl.batchDeleteJobs((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOBS: - serviceImpl.listJobs((com.google.cloud.talent.v4beta1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_JOBS: - serviceImpl.searchJobs((com.google.cloud.talent.v4beta1.SearchJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_JOBS_FOR_ALERT: - serviceImpl.searchJobsForAlert((com.google.cloud.talent.v4beta1.SearchJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class JobServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - JobServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("JobService"); - } - } - - private static final class JobServiceFileDescriptorSupplier - extends JobServiceBaseDescriptorSupplier { - JobServiceFileDescriptorSupplier() {} - } - - private static final class JobServiceMethodDescriptorSupplier - extends JobServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - JobServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (JobServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new JobServiceFileDescriptorSupplier()) - .addMethod(getCreateJobMethod()) - .addMethod(getBatchCreateJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getBatchUpdateJobsMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getBatchDeleteJobsMethod()) - .addMethod(getListJobsMethod()) - .addMethod(getSearchJobsMethod()) - .addMethod(getSearchJobsForAlertMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java deleted file mode 100644 index 008a5c2bc577..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java +++ /dev/null @@ -1,647 +0,0 @@ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * A service that handles tenant management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TenantServiceGrpc { - - private TenantServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.TenantService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTenant", - requestType = com.google.cloud.talent.v4beta1.CreateTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTenantMethod() { - io.grpc.MethodDescriptor getCreateTenantMethod; - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - TenantServiceGrpc.getCreateTenantMethod = getCreateTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("CreateTenant")) - .build(); - } - } - } - return getCreateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTenant", - requestType = com.google.cloud.talent.v4beta1.GetTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTenantMethod() { - io.grpc.MethodDescriptor getGetTenantMethod; - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - TenantServiceGrpc.getGetTenantMethod = getGetTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) - .build(); - } - } - } - return getGetTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", - requestType = com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTenantMethod() { - io.grpc.MethodDescriptor getUpdateTenantMethod; - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - TenantServiceGrpc.getUpdateTenantMethod = getUpdateTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("UpdateTenant")) - .build(); - } - } - } - return getUpdateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", - requestType = com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTenantMethod() { - io.grpc.MethodDescriptor getDeleteTenantMethod; - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - TenantServiceGrpc.getDeleteTenantMethod = getDeleteTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("DeleteTenant")) - .build(); - } - } - } - return getDeleteTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTenantsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTenants", - requestType = com.google.cloud.talent.v4beta1.ListTenantsRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListTenantsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTenantsMethod() { - io.grpc.MethodDescriptor getListTenantsMethod; - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - TenantServiceGrpc.getListTenantsMethod = getListTenantsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) - .build(); - } - } - } - return getListTenantsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static TenantServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - }; - return TenantServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TenantServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - }; - return TenantServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static TenantServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - }; - return TenantServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static abstract class TenantServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTenantMethod(), responseObserver); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTenantMethod(), responseObserver); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTenantMethod(), responseObserver); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTenantsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>( - this, METHODID_CREATE_TENANT))) - .addMethod( - getGetTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>( - this, METHODID_GET_TENANT))) - .addMethod( - getUpdateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>( - this, METHODID_UPDATE_TENANT))) - .addMethod( - getDeleteTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TENANT))) - .addMethod( - getListTenantsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse>( - this, METHODID_LIST_TENANTS))) - .build(); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceStub extends io.grpc.stub.AbstractAsyncStub { - private TenantServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private TenantServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.protobuf.Empty deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListTenantsResponse listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTenantsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private TenantServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTenant( - com.google.cloud.talent.v4beta1.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTenant( - com.google.cloud.talent.v4beta1.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTenant( - com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTenant( - com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTenants( - com.google.cloud.talent.v4beta1.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TENANT = 0; - private static final int METHODID_GET_TENANT = 1; - private static final int METHODID_UPDATE_TENANT = 2; - private static final int METHODID_DELETE_TENANT = 3; - private static final int METHODID_LIST_TENANTS = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TenantServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TENANT: - serviceImpl.createTenant((com.google.cloud.talent.v4beta1.CreateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TENANT: - serviceImpl.getTenant((com.google.cloud.talent.v4beta1.GetTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TENANT: - serviceImpl.updateTenant((com.google.cloud.talent.v4beta1.UpdateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TENANT: - serviceImpl.deleteTenant((com.google.cloud.talent.v4beta1.DeleteTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TENANTS: - serviceImpl.listTenants((com.google.cloud.talent.v4beta1.ListTenantsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TenantServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TenantService"); - } - } - - private static final class TenantServiceFileDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier { - TenantServiceFileDescriptorSupplier() {} - } - - private static final class TenantServiceMethodDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TenantServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TenantServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) - .addMethod(getCreateTenantMethod()) - .addMethod(getGetTenantMethod()) - .addMethod(getUpdateTenantMethod()) - .addMethod(getDeleteTenantMethod()) - .addMethod(getListTenantsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java deleted file mode 100644 index 5ed86508d229..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface BatchCreateJobsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchCreateJobsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant under which the job is created.
-   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
-   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
-   * is created. For example, "projects/foo".
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The resource name of the tenant under which the job is created.
-   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
-   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
-   * is created. For example, "projects/foo".
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getJobsList(); - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.talent.v4beta1.Job getJobs(int index); - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - int getJobsCount(); - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getJobsOrBuilderList(); - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java deleted file mode 100644 index 85c307bfbd03..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/batch.proto - -package com.google.cloud.talent.v4beta1; - -public final class BatchProto { - private BatchProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/batch.prot" + - "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go" + - "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z" + - "Agoogle.golang.org/genproto/googleapis/c" + - "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java deleted file mode 100644 index 2532d2fbddb3..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java +++ /dev/null @@ -1,308 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/common.proto - -package com.google.cloud.talent.v4beta1; - -public final class CommonProto { - private CommonProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Location_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/talent/v4beta1/common.pro" + - "to\022\033google.cloud.talent.v4beta1\032\037google/" + - "api/field_behavior.proto\032\037google/protobu" + - "f/timestamp.proto\032\036google/protobuf/wrapp" + - "ers.proto\032\030google/type/latlng.proto\032\027goo" + - "gle/type/money.proto\032 google/type/postal" + - "_address.proto\"n\n\016TimestampRange\022.\n\nstar" + - "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + - "\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + - "estamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001" + - "(\01622.google.cloud.talent.v4beta1.Locatio" + - "n.LocationType\0222\n\016postal_address\030\002 \001(\0132\032" + - ".google.type.PostalAddress\022$\n\007lat_lng\030\003 " + - "\001(\0132\023.google.type.LatLng\022\024\n\014radius_miles" + - "\030\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE" + - "_UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTR" + - "ATIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020" + - "\003\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_" + - "LOCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LO" + - "CALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_A" + - "DDRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001" + - " \001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(" + - "\t\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_i" + - "nfo\030\005 \001(\0132\'.google.cloud.talent.v4beta1." + - "DeviceInfo\"&\n\020ResponseMetadata\022\022\n\nreques" + - "t_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type" + - "\030\001 \001(\01622.google.cloud.talent.v4beta1.Dev" + - "iceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDevice" + - "Type\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB" + - "\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004" + - "\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017CustomAttribute\022" + - "\025\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 " + - "\003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032\n\022keyword_searc" + - "hable\030\004 \001(\010\"W\n\022SpellingCorrection\022\021\n\tcor" + - "rected\030\001 \001(\010\022\026\n\016corrected_text\030\002 \001(\t\022\026\n\016" + - "corrected_html\030\003 \001(\t\"\246\t\n\020CompensationInf" + - "o\022P\n\007entries\030\001 \003(\0132?.google.cloud.talent" + - ".v4beta1.CompensationInfo.CompensationEn" + - "try\022p\n\"annualized_base_compensation_rang" + - "e\030\002 \001(\0132?.google.cloud.talent.v4beta1.Co" + - "mpensationInfo.CompensationRangeB\003\340A\003\022q\n" + - "#annualized_total_compensation_range\030\003 \001" + - "(\0132?.google.cloud.talent.v4beta1.Compens" + - "ationInfo.CompensationRangeB\003\340A\003\032\222\003\n\021Com" + - "pensationEntry\022L\n\004type\030\001 \001(\0162>.google.cl" + - "oud.talent.v4beta1.CompensationInfo.Comp" + - "ensationType\022L\n\004unit\030\002 \001(\0162>.google.clou" + - "d.talent.v4beta1.CompensationInfo.Compen" + - "sationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type" + - ".MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.t" + - "alent.v4beta1.CompensationInfo.Compensat" + - "ionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expec" + - "ted_units_per_year\030\006 \001(\0132\034.google.protob" + - "uf.DoubleValueB\025\n\023compensation_amount\032o\n" + - "\021CompensationRange\022,\n\020max_compensation\030\002" + - " \001(\0132\022.google.type.Money\022,\n\020min_compensa" + - "tion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compe" + - "nsationType\022!\n\035COMPENSATION_TYPE_UNSPECI" + - "FIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_B" + - "ONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017" + - "\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPE" + - "NSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035C" + - "OMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY" + - "\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n" + - "\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPEN" + - "SATION_UNIT\020\007\"\314\003\n\026BatchOperationMetadata" + - "\022H\n\005state\030\001 \001(\01629.google.cloud.talent.v4" + - "beta1.BatchOperationMetadata.State\022\031\n\021st" + - "ate_description\030\002 \001(\t\022\025\n\rsuccess_count\030\003" + - " \001(\005\022\025\n\rfailure_count\030\004 \001(\005\022\023\n\013total_cou" + - "nt\030\005 \001(\005\022/\n\013create_time\030\006 \001(\0132\032.google.p" + - "rotobuf.Timestamp\022/\n\013update_time\030\007 \001(\0132\032" + - ".google.protobuf.Timestamp\022,\n\010end_time\030\010" + - " \001(\0132\032.google.protobuf.Timestamp\"z\n\005Stat" + - "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIALIZING" + - "\020\001\022\016\n\nPROCESSING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI" + - "LED\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLED\020\006*y\n\013" + - "CompanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020" + - "\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006M" + - "EDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*" + - "\342\001\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIE" + - "D\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMES" + - "TIC_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MED" + - "ICAL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_L" + - "EAVE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS" + - "\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeT" + - "ype\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIM" + - "ARY_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCA" + - "TION\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n" + - "\030ADULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATE" + - "S_OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVA" + - "LENT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOC" + - "TORAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType" + - "\022\037\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFUL" + - "L_TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022" + - "\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006" + - "INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n" + - "\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TY" + - "PE\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIE" + - "D\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n" + - "\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*" + - "\272\006\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIF" + - "IED\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADM" + - "INISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_" + - "AND_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_" + - "FASHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATI" + - "ONS\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017CO" + - "MPUTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUS" + - "TOMER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERT" + - "AINMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTD" + - "OORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCE" + - "S\020\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPA" + - "IR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUF" + - "ACTURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUN" + - "ICATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MI" + - "NING\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027" + - "\n\023PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030" + - "\022\036\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALE" + - "S_AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERIN" + - "G\020\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022" + - "!\n\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TR" + - "ANSPORTATION_AND_LOGISTICS\020\036*e\n\rPostingR" + - "egion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n" + - "\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TE" + - "LECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VISIBILITY_" + - "UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARE" + - "D_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003\032" + - "\002\030\001*q\n\020HtmlSanitization\022!\n\035HTML_SANITIZA" + - "TION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZATION_" + - "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" + - "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" + - "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" + - "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." + - "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" + - "lang.org/genproto/googleapis/cloud/talen" + - "t/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor, - new java.lang.String[] { "StartTime", "EndTime", }); - internal_static_google_cloud_talent_v4beta1_Location_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Location_descriptor, - new java.lang.String[] { "LocationType", "PostalAddress", "LatLng", "RadiusMiles", }); - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor, - new java.lang.String[] { "Domain", "SessionId", "UserId", "AllowMissingIds", "DeviceInfo", }); - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor, - new java.lang.String[] { "RequestId", }); - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor, - new java.lang.String[] { "DeviceType", "Id", }); - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor, - new java.lang.String[] { "StringValues", "LongValues", "Filterable", "KeywordSearchable", }); - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor, - new java.lang.String[] { "Corrected", "CorrectedText", "CorrectedHtml", }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor, - new java.lang.String[] { "Entries", "AnnualizedBaseCompensationRange", "AnnualizedTotalCompensationRange", }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor, - new java.lang.String[] { "Type", "Unit", "Amount", "Range", "Description", "ExpectedUnitsPerYear", "CompensationAmount", }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor = - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor, - new java.lang.String[] { "MaxCompensation", "MinCompensation", }); - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor, - new java.lang.String[] { "State", "StateDescription", "SuccessCount", "FailureCount", "TotalCount", "CreateTime", "UpdateTime", "EndTime", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java deleted file mode 100644 index f97ecddad09d..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java +++ /dev/null @@ -1,92 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/company.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompanyResourceProto { - private CompanyResourceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Company_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/talent/v4beta1/company.pr" + - "oto\022\033google.cloud.talent.v4beta1\032\037google" + - "/api/field_behavior.proto\032\031google/api/re" + - "source.proto\032(google/cloud/talent/v4beta" + - "1/common.proto\"\200\005\n\007Company\022\014\n\004name\030\001 \001(\t" + - "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013external_" + - "id\030\003 \001(\tB\003\340A\002\0226\n\004size\030\004 \001(\0162(.google.clo" + - "ud.talent.v4beta1.CompanySize\022\034\n\024headqua" + - "rters_address\030\005 \001(\t\022\025\n\rhiring_agency\030\006 \001" + - "(\010\022\020\n\010eeo_text\030\007 \001(\t\022\023\n\013website_uri\030\010 \001(" + - "\t\022\027\n\017career_site_uri\030\t \001(\t\022\021\n\timage_uri\030" + - "\n \001(\t\0224\n(keyword_searchable_job_custom_a" + - "ttributes\030\013 \003(\tB\002\030\001\022K\n\014derived_info\030\014 \001(" + - "\01320.google.cloud.talent.v4beta1.Company." + - "DerivedInfoB\003\340A\003\022\026\n\tsuspended\030\r \001(\010B\003\340A\003" + - "\032S\n\013DerivedInfo\022D\n\025headquarters_location" + - "\030\001 \001(\0132%.google.cloud.talent.v4beta1.Loc" + - "ation:\201\001\352A~\n\033jobs.googleapis.com/Company" + - "\0227projects/{project}/tenants/{tenant}/co" + - "mpanies/{company}\022&projects/{project}/co" + - "mpanies/{company}B\202\001\n\037com.google.cloud.t" + - "alent.v4beta1B\024CompanyResourceProtoP\001ZAg" + - "oogle.golang.org/genproto/googleapis/clo" + - "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Company_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Company_descriptor, - new java.lang.String[] { "Name", "DisplayName", "ExternalId", "Size", "HeadquartersAddress", "HiringAgency", "EeoText", "WebsiteUri", "CareerSiteUri", "ImageUri", "KeywordSearchableJobCustomAttributes", "DerivedInfo", "Suspended", }); - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Company_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor, - new java.lang.String[] { "HeadquartersLocation", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java deleted file mode 100644 index 85748caf2c0f..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java +++ /dev/null @@ -1,188 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/company_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompanyServiceProto { - private CompanyServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/talent/v4beta1/company_se" + - "rvice.proto\022\033google.cloud.talent.v4beta1" + - "\032\034google/api/annotations.proto\032\027google/a" + - "pi/client.proto\032\037google/api/field_behavi" + - "or.proto\032\031google/api/resource.proto\032(goo" + - "gle/cloud/talent/v4beta1/common.proto\032)g" + - "oogle/cloud/talent/v4beta1/company.proto" + - "\032\033google/protobuf/empty.proto\032 google/pr" + - "otobuf/field_mask.proto\"\207\001\n\024CreateCompan" + - "yRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\022\033jobs.g" + - "oogleapis.com/Company\022:\n\007company\030\002 \001(\0132$" + - ".google.cloud.talent.v4beta1.CompanyB\003\340A" + - "\002\"F\n\021GetCompanyRequest\0221\n\004name\030\001 \001(\tB#\340A" + - "\002\372A\035\n\033jobs.googleapis.com/Company\"\203\001\n\024Up" + - "dateCompanyRequest\022:\n\007company\030\001 \001(\0132$.go" + - "ogle.cloud.talent.v4beta1.CompanyB\003\340A\002\022/" + - "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + - "eldMask\"I\n\024DeleteCompanyRequest\0221\n\004name\030" + - "\001 \001(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Compa" + - "ny\"\215\001\n\024ListCompaniesRequest\0223\n\006parent\030\001 " + - "\001(\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company" + - "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" + - "\031\n\021require_open_jobs\030\004 \001(\010\"\252\001\n\025ListCompa" + - "niesResponse\0227\n\tcompanies\030\001 \003(\0132$.google" + - ".cloud.talent.v4beta1.Company\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.googl" + - "e.cloud.talent.v4beta1.ResponseMetadata2" + - "\322\t\n\016CompanyService\022\343\001\n\rCreateCompany\0221.g" + - "oogle.cloud.talent.v4beta1.CreateCompany" + - "Request\032$.google.cloud.talent.v4beta1.Co" + - "mpany\"y\202\323\344\223\002b\"0/v4beta1/{parent=projects" + - "/*/tenants/*}/companies:\001*Z+\"&/v4beta1/{" + - "parent=projects/*}/companies:\001*\332A\016parent" + - ",company\022\315\001\n\nGetCompany\022..google.cloud.t" + - "alent.v4beta1.GetCompanyRequest\032$.google" + - ".cloud.talent.v4beta1.Company\"i\202\323\344\223\002\\\0220/" + - "v4beta1/{name=projects/*/tenants/*/compa" + - "nies/*}Z(\022&/v4beta1/{name=projects/*/com" + - "panies/*}\332A\004name\022\355\001\n\rUpdateCompany\0221.goo" + - "gle.cloud.talent.v4beta1.UpdateCompanyRe" + - "quest\032$.google.cloud.talent.v4beta1.Comp" + - "any\"\202\001\202\323\344\223\002r28/v4beta1/{company.name=pro" + - "jects/*/tenants/*/companies/*}:\001*Z32./v4" + - "beta1/{company.name=projects/*/companies" + - "/*}:\001*\332A\007company\022\305\001\n\rDeleteCompany\0221.goo" + - "gle.cloud.talent.v4beta1.DeleteCompanyRe" + - "quest\032\026.google.protobuf.Empty\"i\202\323\344\223\002\\*0/" + - "v4beta1/{name=projects/*/tenants/*/compa" + - "nies/*}Z(*&/v4beta1/{name=projects/*/com" + - "panies/*}\332A\004name\022\343\001\n\rListCompanies\0221.goo" + - "gle.cloud.talent.v4beta1.ListCompaniesRe" + - "quest\0322.google.cloud.talent.v4beta1.List" + - "CompaniesResponse\"k\202\323\344\223\002\\\0220/v4beta1/{par" + - "ent=projects/*/tenants/*}/companiesZ(\022&/" + - "v4beta1/{parent=projects/*}/companies\332A\006" + - "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + - "/www.googleapis.com/auth/cloud-platform," + - "https://www.googleapis.com/auth/jobsB\201\001\n" + - "\037com.google.cloud.talent.v4beta1B\023Compan" + - "yServiceProtoP\001ZAgoogle.golang.org/genpr" + - "oto/googleapis/cloud/talent/v4beta1;tale" + - "nt\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor, - new java.lang.String[] { "Parent", "Company", }); - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor, - new java.lang.String[] { "Company", "UpdateMask", }); - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", "RequireOpenJobs", }); - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor, - new java.lang.String[] { "Companies", "NextPageToken", "Metadata", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java deleted file mode 100644 index aac3780db1aa..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java +++ /dev/null @@ -1,126 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/completion_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompletionServiceProto { - private CompletionServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/talent/v4beta1/completion" + - "_service.proto\022\033google.cloud.talent.v4be" + - "ta1\032\034google/api/annotations.proto\032\027googl" + - "e/api/client.proto\032\037google/api/field_beh" + - "avior.proto\032\031google/api/resource.proto\032(" + - "google/cloud/talent/v4beta1/common.proto" + - "\"\223\004\n\024CompleteQueryRequest\0223\n\006parent\030\001 \001(" + - "\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022\022" + - "\n\005query\030\002 \001(\tB\003\340A\002\022\026\n\016language_codes\030\003 \003" + - "(\t\022\026\n\tpage_size\030\004 \001(\005B\003\340A\002\0221\n\007company\030\005 " + - "\001(\tB \372A\035\n\033jobs.googleapis.com/Company\022P\n" + - "\005scope\030\006 \001(\0162A.google.cloud.talent.v4bet" + - "a1.CompleteQueryRequest.CompletionScope\022" + - "N\n\004type\030\007 \001(\0162@.google.cloud.talent.v4be" + - "ta1.CompleteQueryRequest.CompletionType\"" + - "K\n\017CompletionScope\022 \n\034COMPLETION_SCOPE_U" + - "NSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016" + - "CompletionType\022\037\n\033COMPLETION_TYPE_UNSPEC" + - "IFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002" + - "\022\014\n\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse" + - "\022_\n\022completion_results\030\001 \003(\0132C.google.cl" + - "oud.talent.v4beta1.CompleteQueryResponse" + - ".CompletionResult\022?\n\010metadata\030\002 \001(\0132-.go" + - "ogle.cloud.talent.v4beta1.ResponseMetada" + - "ta\032\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 " + - "\001(\t\022N\n\004type\030\002 \001(\0162@.google.cloud.talent." + - "v4beta1.CompleteQueryRequest.CompletionT" + - "ype\022\021\n\timage_uri\030\003 \001(\t2\325\002\n\nCompletion\022\330\001" + - "\n\rCompleteQuery\0221.google.cloud.talent.v4" + - "beta1.CompleteQueryRequest\0322.google.clou" + - "d.talent.v4beta1.CompleteQueryResponse\"`" + - "\202\323\344\223\002Z\022//v4beta1/{parent=projects/*/tena" + - "nts/*}:completeZ\'\022%/v4beta1/{parent=proj" + - "ects/*}:complete\032l\312A\023jobs.googleapis.com" + - "\322AShttps://www.googleapis.com/auth/cloud" + - "-platform,https://www.googleapis.com/aut" + - "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet" + - "a1B\026CompletionServiceProtoP\001ZAgoogle.gol" + - "ang.org/genproto/googleapis/cloud/talent" + - "/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor, - new java.lang.String[] { "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type", }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor, - new java.lang.String[] { "CompletionResults", "Metadata", }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor = - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor, - new java.lang.String[] { "Suggestion", "Type", "ImageUri", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java deleted file mode 100644 index 7b3ca2a3b5a6..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface DeleteTenantRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java deleted file mode 100644 index 909b5676cb97..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java +++ /dev/null @@ -1,90 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/event.proto - -package com.google.cloud.talent.v4beta1; - -public final class EventProto { - private EventProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/event.prot" + - "o\022\033google.cloud.talent.v4beta1\032\037google/a" + - "pi/field_behavior.proto\032\037google/protobuf" + - "/timestamp.proto\"\310\001\n\013ClientEvent\022\022\n\nrequ" + - "est_id\030\001 \001(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013c" + - "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\002\022:\n\tjob_event\030\005 \001(\0132%.google.cl" + - "oud.talent.v4beta1.JobEventH\000\022\023\n\013event_n" + - "otes\030\t \001(\tB\007\n\005event\"\366\003\n\010JobEvent\022E\n\004type" + - "\030\001 \001(\01622.google.cloud.talent.v4beta1.Job" + - "Event.JobEventTypeB\003\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340" + - "A\002\022\017\n\007profile\030\003 \001(\t\"\376\002\n\014JobEventType\022\036\n\032" + - "JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSI" + - "ON\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APP" + - "LICATION_START\020\004\022\026\n\022APPLICATION_FINISH\020\005" + - "\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n\024AP" + - "PLICATION_REDIRECT\020\007\022!\n\035APPLICATION_STAR" + - "T_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRECT_" + - "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" + - "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" + - "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" + - "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" + - "\nEventProtoP\001ZAgoogle.golang.org/genprot" + - "o/googleapis/cloud/talent/v4beta1;talent" + - "\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor, - new java.lang.String[] { "RequestId", "EventId", "CreateTime", "JobEvent", "EventNotes", "Event", }); - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor, - new java.lang.String[] { "Type", "Jobs", "Profile", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java deleted file mode 100644 index f03ff6b2311a..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java +++ /dev/null @@ -1,88 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/event_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class EventServiceProto { - private EventServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/talent/v4beta1/event_serv" + - "ice.proto\022\033google.cloud.talent.v4beta1\032\034" + - "google/api/annotations.proto\032\027google/api" + - "/client.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\'googl" + - "e/cloud/talent/v4beta1/event.proto\"\224\001\n\030C" + - "reateClientEventRequest\0223\n\006parent\030\001 \001(\tB" + - "#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022C\n\014" + - "client_event\030\002 \001(\0132(.google.cloud.talent" + - ".v4beta1.ClientEventB\003\340A\0022\372\002\n\014EventServi" + - "ce\022\373\001\n\021CreateClientEvent\0225.google.cloud." + - "talent.v4beta1.CreateClientEventRequest\032" + - "(.google.cloud.talent.v4beta1.ClientEven" + - "t\"\204\001\202\323\344\223\002h\"3/v4beta1/{parent=projects/*/" + - "tenants/*}/clientEvents:\001*Z.\")/v4beta1/{" + - "parent=projects/*}/clientEvents:\001*\332A\023par" + - "ent,client_event\032l\312A\023jobs.googleapis.com" + - "\322AShttps://www.googleapis.com/auth/cloud" + - "-platform,https://www.googleapis.com/aut" + - "h/jobsB\177\n\037com.google.cloud.talent.v4beta" + - "1B\021EventServiceProtoP\001ZAgoogle.golang.or" + - "g/genproto/googleapis/cloud/talent/v4bet" + - "a1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.EventProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor, - new java.lang.String[] { "Parent", "ClientEvent", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.EventProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java deleted file mode 100644 index 4b39f1746b4f..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java +++ /dev/null @@ -1,152 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/filters.proto - -package com.google.cloud.talent.v4beta1; - -public final class FiltersProto { - private FiltersProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/talent/v4beta1/filters.pr" + - "oto\022\033google.cloud.talent.v4beta1\032\037google" + - "/api/field_behavior.proto\032(google/cloud/" + - "talent/v4beta1/common.proto\032\036google/prot" + - "obuf/duration.proto\032\030google/type/latlng." + - "proto\032\033google/type/timeofday.proto\"\200\005\n\010J" + - "obQuery\022\r\n\005query\030\001 \001(\t\022\033\n\023query_language" + - "_code\030\016 \001(\t\022\021\n\tcompanies\030\002 \003(\t\022E\n\020locati" + - "on_filters\030\003 \003(\0132+.google.cloud.talent.v" + - "4beta1.LocationFilter\022@\n\016job_categories\030" + - "\004 \003(\0162(.google.cloud.talent.v4beta1.JobC" + - "ategory\022B\n\016commute_filter\030\005 \001(\0132*.google" + - ".cloud.talent.v4beta1.CommuteFilter\022\035\n\025c" + - "ompany_display_names\030\006 \003(\t\022L\n\023compensati" + - "on_filter\030\007 \001(\0132/.google.cloud.talent.v4" + - "beta1.CompensationFilter\022\037\n\027custom_attri" + - "bute_filter\030\010 \001(\t\022\033\n\023disable_spell_check" + - "\030\t \001(\010\022E\n\020employment_types\030\n \003(\0162+.googl" + - "e.cloud.talent.v4beta1.EmploymentType\022\026\n" + - "\016language_codes\030\013 \003(\t\022G\n\022publish_time_ra" + - "nge\030\014 \001(\0132+.google.cloud.talent.v4beta1." + - "TimestampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\203\003" + - "\n\016LocationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013reg" + - "ion_code\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google" + - ".type.LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022" + - "a\n\026telecommute_preference\030\005 \001(\0162A.google" + - ".cloud.talent.v4beta1.LocationFilter.Tel" + - "ecommutePreference\022\017\n\007negated\030\006 \001(\010\"\225\001\n\025" + - "TelecommutePreference\022&\n\"TELECOMMUTE_PRE" + - "FERENCE_UNSPECIFIED\020\000\022\034\n\024TELECOMMUTE_EXC" + - "LUDED\020\001\032\002\010\001\022\027\n\023TELECOMMUTE_ALLOWED\020\002\022\035\n\031" + - "TELECOMMUTE_JOBS_EXCLUDED\020\003\"\312\003\n\022Compensa" + - "tionFilter\022M\n\004type\030\001 \001(\0162:.google.cloud." + - "talent.v4beta1.CompensationFilter.Filter" + - "TypeB\003\340A\002\022R\n\005units\030\002 \003(\0162>.google.cloud." + - "talent.v4beta1.CompensationInfo.Compensa" + - "tionUnitB\003\340A\002\022N\n\005range\030\003 \001(\0132?.google.cl" + - "oud.talent.v4beta1.CompensationInfo.Comp" + - "ensationRange\0228\n0include_jobs_with_unspe" + - "cified_compensation_range\030\004 \001(\010\"\206\001\n\nFilt" + - "erType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n\tU" + - "NIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANNUA" + - "LIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTAL_" + - "AMOUNT\020\004\"\313\003\n\rCommuteFilter\022G\n\016commute_me" + - "thod\030\001 \001(\0162*.google.cloud.talent.v4beta1" + - ".CommuteMethodB\003\340A\002\0223\n\021start_coordinates" + - "\030\002 \001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017trav" + - "el_duration\030\003 \001(\0132\031.google.protobuf.Dura" + - "tionB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004" + - " \001(\010\022N\n\014road_traffic\030\005 \001(\01626.google.clou" + - "d.talent.v4beta1.CommuteFilter.RoadTraff" + - "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" + - "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" + - "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" + - "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" + - "ogle.cloud.talent.v4beta1B\014FiltersProtoP" + - "\001ZAgoogle.golang.org/genproto/googleapis" + - "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor, - new java.lang.String[] { "Query", "QueryLanguageCode", "Companies", "LocationFilters", "JobCategories", "CommuteFilter", "CompanyDisplayNames", "CompensationFilter", "CustomAttributeFilter", "DisableSpellCheck", "EmploymentTypes", "LanguageCodes", "PublishTimeRange", "ExcludedJobs", }); - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor, - new java.lang.String[] { "Address", "RegionCode", "LatLng", "DistanceInMiles", "TelecommutePreference", "Negated", }); - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor, - new java.lang.String[] { "Type", "Units", "Range", "IncludeJobsWithUnspecifiedCompensationRange", }); - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor, - new java.lang.String[] { "CommuteMethod", "StartCoordinates", "TravelDuration", "AllowImpreciseAddresses", "RoadTraffic", "DepartureTime", "TrafficOption", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java deleted file mode 100644 index 7b3679d4f337..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface GetTenantRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java deleted file mode 100644 index 35920efb47f7..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java +++ /dev/null @@ -1,78 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/histogram.proto - -package com.google.cloud.talent.v4beta1; - -public final class HistogramProto { - private HistogramProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/talent/v4beta1/histogram." + - "proto\022\033google.cloud.talent.v4beta1\")\n\016Hi" + - "stogramQuery\022\027\n\017histogram_query\030\001 \001(\t\"\266\001" + - "\n\024HistogramQueryResult\022\027\n\017histogram_quer" + - "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" + - "d.talent.v4beta1.HistogramQueryResult.Hi" + - "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" + - "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" + - "gle.golang.org/genproto/googleapis/cloud" + - "/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor, - new java.lang.String[] { "HistogramQuery", }); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor, - new java.lang.String[] { "HistogramQuery", "Histogram", }); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java deleted file mode 100644 index 43c4ce658cf7..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java +++ /dev/null @@ -1,163 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job.proto - -package com.google.cloud.talent.v4beta1; - -public final class JobResourceProto { - private JobResourceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n%google/cloud/talent/v4beta1/job.proto\022" + - "\033google.cloud.talent.v4beta1\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032(google/cloud/talent/v4beta1/co" + - "mmon.proto\032\037google/protobuf/timestamp.pr" + - "oto\"\340\017\n\003Job\022\014\n\004name\030\001 \001(\t\0224\n\007company\030\002 \001" + - "(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Company\022" + - "\033\n\016requisition_id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 " + - "\001(\tB\003\340A\002\022\030\n\013description\030\005 \001(\tB\003\340A\002\022\021\n\tad" + - "dresses\030\006 \003(\t\022J\n\020application_info\030\007 \001(\0132" + - "0.google.cloud.talent.v4beta1.Job.Applic" + - "ationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.google" + - ".cloud.talent.v4beta1.JobBenefit\022H\n\021comp" + - "ensation_info\030\t \001(\0132-.google.cloud.talen" + - "t.v4beta1.CompensationInfo\022Q\n\021custom_att" + - "ributes\030\n \003(\01326.google.cloud.talent.v4be" + - "ta1.Job.CustomAttributesEntry\022=\n\014degree_" + - "types\030\013 \003(\0162\'.google.cloud.talent.v4beta" + - "1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020empl" + - "oyment_types\030\r \003(\0162+.google.cloud.talent" + - ".v4beta1.EmploymentType\022\022\n\nincentives\030\016 " + - "\001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_level\030" + - "\020 \001(\0162%.google.cloud.talent.v4beta1.JobL" + - "evel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qualifi" + - "cations\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022" + - "B\n\016posting_region\030\024 \001(\0162*.google.cloud.t" + - "alent.v4beta1.PostingRegion\022?\n\nvisibilit" + - "y\030\025 \001(\0162\'.google.cloud.talent.v4beta1.Vi" + - "sibilityB\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\0220\n\014job_end_time" + - "\030\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024po" + - "sting_publish_time\030\030 \001(\0132\032.google.protob" + - "uf.Timestamp\0227\n\023posting_expire_time\030\031 \001(" + - "\0132\032.google.protobuf.Timestamp\022<\n\023posting" + - "_create_time\030\032 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\022<\n\023posting_update_time\030\033 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\022!\n\024com" + - "pany_display_name\030\034 \001(\tB\003\340A\003\022G\n\014derived_" + - "info\030\035 \001(\0132,.google.cloud.talent.v4beta1" + - ".Job.DerivedInfoB\003\340A\003\022N\n\022processing_opti" + - "ons\030\036 \001(\01322.google.cloud.talent.v4beta1." + - "Job.ProcessingOptions\032D\n\017ApplicationInfo" + - "\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 \001(\t\022\014\n" + - "\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tlocations" + - "\030\001 \003(\0132%.google.cloud.talent.v4beta1.Loc" + - "ation\022@\n\016job_categories\030\003 \003(\0162(.google.c" + - "loud.talent.v4beta1.JobCategory\032\210\001\n\021Proc" + - "essingOptions\022)\n!disable_street_address_" + - "resolution\030\001 \001(\010\022H\n\021html_sanitization\030\002 " + - "\001(\0162-.google.cloud.talent.v4beta1.HtmlSa" + - "nitization\032e\n\025CustomAttributesEntry\022\013\n\003k" + - "ey\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.t" + - "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" + - "jobs.googleapis.com/Job\022.projects/{proje" + - "ct}/tenants/{tenant}/jobs/{job}\022\035project" + - "s/{project}/jobs/{job}B~\n\037com.google.clo" + - "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" + - "oogle.golang.org/genproto/googleapis/clo" + - "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Job_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_descriptor, - new java.lang.String[] { "Name", "Company", "RequisitionId", "Title", "Description", "Addresses", "ApplicationInfo", "JobBenefits", "CompensationInfo", "CustomAttributes", "DegreeTypes", "Department", "EmploymentTypes", "Incentives", "LanguageCode", "JobLevel", "PromotionValue", "Qualifications", "Responsibilities", "PostingRegion", "Visibility", "JobStartTime", "JobEndTime", "PostingPublishTime", "PostingExpireTime", "PostingCreateTime", "PostingUpdateTime", "CompanyDisplayName", "DerivedInfo", "ProcessingOptions", }); - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor, - new java.lang.String[] { "Emails", "Instruction", "Uris", }); - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor, - new java.lang.String[] { "Locations", "JobCategories", }); - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor, - new java.lang.String[] { "DisableStreetAddressResolution", "HtmlSanitization", }); - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java deleted file mode 100644 index 18b9f1759c33..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java +++ /dev/null @@ -1,418 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class JobServiceProto { - private JobServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/talent/v4beta1/job_servic" + - "e.proto\022\033google.cloud.talent.v4beta1\032\034go" + - "ogle/api/annotations.proto\032\027google/api/c" + - "lient.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032(google/" + - "cloud/talent/v4beta1/common.proto\032)googl" + - "e/cloud/talent/v4beta1/filters.proto\032+go" + - "ogle/cloud/talent/v4beta1/histogram.prot" + - "o\032%google/cloud/talent/v4beta1/job.proto" + - "\032#google/longrunning/operations.proto\032\036g" + - "oogle/protobuf/duration.proto\032\033google/pr" + - "otobuf/empty.proto\032 google/protobuf/fiel" + - "d_mask.proto\032\027google/rpc/status.proto\"w\n" + - "\020CreateJobRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A" + - "\031\022\027jobs.googleapis.com/Job\0222\n\003job\030\002 \001(\0132" + - " .google.cloud.talent.v4beta1.JobB\003\340A\002\">" + - "\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027j" + - "obs.googleapis.com/Job\"w\n\020UpdateJobReque" + - "st\0222\n\003job\030\001 \001(\0132 .google.cloud.talent.v4" + - "beta1.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + - "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" + - "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" + - "is.com/Job\"^\n\026BatchDeleteJobsRequest\022/\n\006" + - "parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.co" + - "m/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\"\266\001\n\017ListJobsR" + - "equest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.goo" + - "gleapis.com/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\n" + - "page_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010j" + - "ob_view\030\005 \001(\0162$.google.cloud.talent.v4be" + - "ta1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs" + - "\030\001 \003(\0132 .google.cloud.talent.v4beta1.Job" + - "\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 " + - "\001(\0132-.google.cloud.talent.v4beta1.Respon" + - "seMetadata\"\273\013\n\021SearchJobsRequest\022/\n\006pare" + - "nt\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Jo" + - "b\022N\n\013search_mode\030\002 \001(\01629.google.cloud.ta" + - "lent.v4beta1.SearchJobsRequest.SearchMod" + - "e\022K\n\020request_metadata\030\003 \001(\0132,.google.clo" + - "ud.talent.v4beta1.RequestMetadataB\003\340A\002\0228" + - "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." + - "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " + - "\001(\010\022\'\n\033require_precise_result_size\030\006 \001(\010" + - "B\002\030\001\022F\n\021histogram_queries\030\007 \003(\0132+.google" + - ".cloud.talent.v4beta1.HistogramQuery\0226\n\010" + - "job_view\030\010 \001(\0162$.google.cloud.talent.v4b" + - "eta1.JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_siz" + - "e\030\n \001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030" + - "\014 \001(\t\022b\n\025diversification_level\030\r \001(\0162C.g" + - "oogle.cloud.talent.v4beta1.SearchJobsReq" + - "uest.DiversificationLevel\022]\n\023custom_rank" + - "ing_info\030\016 \001(\0132@.google.cloud.talent.v4b" + - "eta1.SearchJobsRequest.CustomRankingInfo" + - "\022\035\n\025disable_keyword_match\030\020 \001(\010\022[\n\022keywo" + - "rd_match_mode\030\022 \001(\0162?.google.cloud.talen" + - "t.v4beta1.SearchJobsRequest.KeywordMatch" + - "Mode\032\232\002\n\021CustomRankingInfo\022o\n\020importance" + - "_level\030\001 \001(\0162P.google.cloud.talent.v4bet" + - "a1.SearchJobsRequest.CustomRankingInfo.I" + - "mportanceLevelB\003\340A\002\022\037\n\022ranking_expressio" + - "n\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLevel\022 \n\034IMPOR" + - "TANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003L" + - "OW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007" + - "EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SEARCH_MODE_U" + - "NSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED" + - "_JOB_SEARCH\020\002\"W\n\024DiversificationLevel\022%\n" + - "!DIVERSIFICATION_LEVEL_UNSPECIFIED\020\000\022\014\n\010" + - "DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\207\001\n\020KeywordMatchM" + - "ode\022\"\n\036KEYWORD_MATCH_MODE_UNSPECIFIED\020\000\022" + - "\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n\021KEYWORD_M" + - "ATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TITLE_ONLY\020\003" + - "\"\327\006\n\022SearchJobsResponse\022R\n\rmatching_jobs" + - "\030\001 \003(\0132;.google.cloud.talent.v4beta1.Sea" + - "rchJobsResponse.MatchingJob\022R\n\027histogram" + - "_query_results\030\002 \003(\01321.google.cloud.tale" + - "nt.v4beta1.HistogramQueryResult\022\027\n\017next_" + - "page_token\030\003 \001(\t\022?\n\020location_filters\030\004 \003" + - "(\0132%.google.cloud.talent.v4beta1.Locatio" + - "n\022\034\n\024estimated_total_size\030\005 \001(\005\022\022\n\ntotal" + - "_size\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.c" + - "loud.talent.v4beta1.ResponseMetadata\022\"\n\032" + - "broadened_query_jobs_count\030\010 \001(\005\022I\n\020spel" + - "l_correction\030\t \001(\0132/.google.cloud.talent" + - ".v4beta1.SpellingCorrection\032\334\001\n\013Matching" + - "Job\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v" + - "4beta1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_t" + - "itle_snippet\030\003 \001(\t\022\033\n\023search_text_snippe" + - "t\030\004 \001(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.c" + - "loud.talent.v4beta1.SearchJobsResponse.C" + - "ommuteInfo\032~\n\013CommuteInfo\022;\n\014job_locatio" + - "n\030\001 \001(\0132%.google.cloud.talent.v4beta1.Lo" + - "cation\0222\n\017travel_duration\030\002 \001(\0132\031.google" + - ".protobuf.Duration\"~\n\026BatchCreateJobsReq" + - "uest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googl" + - "eapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .google.clo" + - "ud.talent.v4beta1.JobB\003\340A\002\"\257\001\n\026BatchUpda" + - "teJobsRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027j" + - "obs.googleapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .g" + - "oogle.cloud.talent.v4beta1.JobB\003\340A\002\022/\n\013u" + - "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + - "Mask\"\304\001\n\022JobOperationResult\022N\n\013job_resul" + - "ts\030\001 \003(\01329.google.cloud.talent.v4beta1.J" + - "obOperationResult.JobResult\032^\n\tJobResult" + - "\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v4be" + - "ta1.Job\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + - "tus*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" + - "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" + - "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" + - "L\020\0042\316\022\n\nJobService\022\311\001\n\tCreateJob\022-.googl" + - "e.cloud.talent.v4beta1.CreateJobRequest\032" + - " .google.cloud.talent.v4beta1.Job\"k\202\323\344\223\002" + - "X\"+/v4beta1/{parent=projects/*/tenants/*" + - "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" + - "}/jobs:\001*\332A\nparent,job\022\233\002\n\017BatchCreateJo" + - "bs\0223.google.cloud.talent.v4beta1.BatchCr" + - "eateJobsRequest\032\035.google.longrunning.Ope" + - "ration\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projec" + - "ts/*/tenants/*}/jobs:batchCreate:\001*Z2\"-/" + - "v4beta1/{parent=projects/*}/jobs:batchCr" + - "eate:\001*\332A\013parent,jobs\312A,\n\022JobOperationRe" + - "sult\022\026BatchOperationMetadata\022\267\001\n\006GetJob\022" + - "*.google.cloud.talent.v4beta1.GetJobRequ" + - "est\032 .google.cloud.talent.v4beta1.Job\"_\202" + - "\323\344\223\002R\022+/v4beta1/{name=projects/*/tenants" + - "/*/jobs/*}Z#\022!/v4beta1/{name=projects/*/" + - "jobs/*}\332A\004name\022\312\001\n\tUpdateJob\022-.google.cl" + - "oud.talent.v4beta1.UpdateJobRequest\032 .go" + - "ogle.cloud.talent.v4beta1.Job\"l\202\323\344\223\002`2//" + - "v4beta1/{job.name=projects/*/tenants/*/j" + - "obs/*}:\001*Z*2%/v4beta1/{job.name=projects" + - "/*/jobs/*}:\001*\332A\003job\022\233\002\n\017BatchUpdateJobs\022" + - "3.google.cloud.talent.v4beta1.BatchUpdat" + - "eJobsRequest\032\035.google.longrunning.Operat" + - "ion\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projects/" + - "*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/v4b" + - "eta1/{parent=projects/*}/jobs:batchUpdat" + - "e:\001*\332A\013parent,jobs\312A,\n\022JobOperationResul" + - "t\022\026BatchOperationMetadata\022\263\001\n\tDeleteJob\022" + - "-.google.cloud.talent.v4beta1.DeleteJobR" + - "equest\032\026.google.protobuf.Empty\"_\202\323\344\223\002R*+" + - "/v4beta1/{name=projects/*/tenants/*/jobs" + - "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}" + - "\332A\004name\022\344\001\n\017BatchDeleteJobs\0223.google.clo" + - "ud.talent.v4beta1.BatchDeleteJobsRequest" + - "\032\026.google.protobuf.Empty\"\203\001\202\323\344\223\002m\"7/v4be" + - "ta1/{parent=projects/*/tenants/*}/jobs:b" + - "atchDelete:\001*Z/\"-/v4beta1/{parent=projec" + - "ts/*}/jobs:batchDelete\332A\rparent,filter\022\321" + - "\001\n\010ListJobs\022,.google.cloud.talent.v4beta" + - "1.ListJobsRequest\032-.google.cloud.talent." + - "v4beta1.ListJobsResponse\"h\202\323\344\223\002R\022+/v4bet" + - "a1/{parent=projects/*/tenants/*}/jobsZ#\022" + - "!/v4beta1/{parent=projects/*}/jobs\332A\rpar" + - "ent,filter\022\333\001\n\nSearchJobs\022..google.cloud" + - ".talent.v4beta1.SearchJobsRequest\032/.goog" + - "le.cloud.talent.v4beta1.SearchJobsRespon" + - "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/" + - "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p" + - "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea" + - "rchJobsForAlert\022..google.cloud.talent.v4" + - "beta1.SearchJobsRequest\032/.google.cloud.t" + - "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v" + - "\":/v4beta1/{parent=projects/*/tenants/*}" + - "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par" + - "ent=projects/*}/jobs:searchForAlert:\001*\032l" + - "\312A\023jobs.googleapis.com\322AShttps://www.goo" + - "gleapis.com/auth/cloud-platform,https://" + - "www.googleapis.com/auth/jobsB}\n\037com.goog" + - "le.cloud.talent.v4beta1B\017JobServiceProto" + - "P\001ZAgoogle.golang.org/genproto/googleapi" + - "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), - com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), - com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor, - new java.lang.String[] { "Parent", "Job", }); - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor, - new java.lang.String[] { "Job", "UpdateMask", }); - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", }); - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageToken", "PageSize", "JobView", }); - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor, - new java.lang.String[] { "Jobs", "NextPageToken", "Metadata", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor, - new java.lang.String[] { "Parent", "SearchMode", "RequestMetadata", "JobQuery", "EnableBroadening", "RequirePreciseResultSize", "HistogramQueries", "JobView", "Offset", "PageSize", "PageToken", "OrderBy", "DiversificationLevel", "CustomRankingInfo", "DisableKeywordMatch", "KeywordMatchMode", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor, - new java.lang.String[] { "ImportanceLevel", "RankingExpression", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor, - new java.lang.String[] { "MatchingJobs", "HistogramQueryResults", "NextPageToken", "LocationFilters", "EstimatedTotalSize", "TotalSize", "Metadata", "BroadenedQueryJobsCount", "SpellCorrection", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor, - new java.lang.String[] { "Job", "JobSummary", "JobTitleSnippet", "SearchTextSnippet", "CommuteInfo", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor, - new java.lang.String[] { "JobLocation", "TravelDuration", }); - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Jobs", }); - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Jobs", "UpdateMask", }); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor, - new java.lang.String[] { "JobResults", }); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor = - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor, - new java.lang.String[] { "Job", "Status", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); - com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); - com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java deleted file mode 100644 index 31ba88ad4a46..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java +++ /dev/null @@ -1,70 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant.proto - -package com.google.cloud.talent.v4beta1; - -public final class TenantResourceProto { - private TenantResourceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/talent/v4beta1/tenant.pro" + - "to\022\033google.cloud.talent.v4beta1\032\037google/" + - "api/field_behavior.proto\032\031google/api/res" + - "ource.proto\"\303\002\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013" + - "external_id\030\002 \001(\tB\003\340A\002\022E\n\nusage_type\030\003 \001" + - "(\01621.google.cloud.talent.v4beta1.Tenant." + - "DataUsageType\0224\n,keyword_searchable_prof" + - "ile_custom_attributes\030\004 \003(\t\"N\n\rDataUsage" + - "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" + - "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" + - "oogleapis.com/Tenant\022#projects/{project}" + - "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" + - "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" + - "ogle.golang.org/genproto/googleapis/clou" + - "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor, - new java.lang.String[] { "Name", "ExternalId", "UsageType", "KeywordSearchableProfileCustomAttributes", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java deleted file mode 100644 index a0b1d6283d02..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java +++ /dev/null @@ -1,180 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class TenantServiceProto { - private TenantServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/talent/v4beta1/tenant_ser" + - "vice.proto\022\033google.cloud.talent.v4beta1\032" + - "\034google/api/annotations.proto\032\027google/ap" + - "i/client.proto\032\037google/api/field_behavio" + - "r.proto\032\031google/api/resource.proto\032(goog" + - "le/cloud/talent/v4beta1/common.proto\032(go" + - "ogle/cloud/talent/v4beta1/tenant.proto\032\033" + - "google/protobuf/empty.proto\032 google/prot" + - "obuf/field_mask.proto\"\224\001\n\023CreateTenantRe" + - "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + - "urcemanager.googleapis.com/Project\0228\n\006te" + - "nant\030\002 \001(\0132#.google.cloud.talent.v4beta1" + - ".TenantB\003\340A\002\"D\n\020GetTenantRequest\0220\n\004name" + - "\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/Tena" + - "nt\"\200\001\n\023UpdateTenantRequest\0228\n\006tenant\030\001 \001" + - "(\0132#.google.cloud.talent.v4beta1.TenantB" + - "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + - "buf.FieldMask\"G\n\023DeleteTenantRequest\0220\n\004" + - "name\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/" + - "Tenant\"\200\001\n\022ListTenantsRequest\022C\n\006parent\030" + - "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + - "leapis.com/Project\022\022\n\npage_token\030\002 \001(\t\022\021" + - "\n\tpage_size\030\003 \001(\005\"\245\001\n\023ListTenantsRespons" + - "e\0224\n\007tenants\030\001 \003(\0132#.google.cloud.talent" + - ".v4beta1.Tenant\022\027\n\017next_page_token\030\002 \001(\t" + - "\022?\n\010metadata\030\003 \001(\0132-.google.cloud.talent" + - ".v4beta1.ResponseMetadata2\240\007\n\rTenantServ" + - "ice\022\246\001\n\014CreateTenant\0220.google.cloud.tale" + - "nt.v4beta1.CreateTenantRequest\032#.google." + - "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\002)\"$/v4" + - "beta1/{parent=projects/*}/tenants:\001*\332A\rp" + - "arent,tenant\022\224\001\n\tGetTenant\022-.google.clou" + - "d.talent.v4beta1.GetTenantRequest\032#.goog" + - "le.cloud.talent.v4beta1.Tenant\"3\202\323\344\223\002&\022$" + - "/v4beta1/{name=projects/*/tenants/*}\332A\004n" + - "ame\022\246\001\n\014UpdateTenant\0220.google.cloud.tale" + - "nt.v4beta1.UpdateTenantRequest\032#.google." + - "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\00202+/v4" + - "beta1/{tenant.name=projects/*/tenants/*}" + - ":\001*\332A\006tenant\022\215\001\n\014DeleteTenant\0220.google.c" + - "loud.talent.v4beta1.DeleteTenantRequest\032" + - "\026.google.protobuf.Empty\"3\202\323\344\223\002&*$/v4beta" + - "1/{name=projects/*/tenants/*}\332A\004name\022\247\001\n" + - "\013ListTenants\022/.google.cloud.talent.v4bet" + - "a1.ListTenantsRequest\0320.google.cloud.tal" + - "ent.v4beta1.ListTenantsResponse\"5\202\323\344\223\002&\022" + - "$/v4beta1/{parent=projects/*}/tenants\332A\006" + - "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + - "/www.googleapis.com/auth/cloud-platform," + - "https://www.googleapis.com/auth/jobsB\200\001\n" + - "\037com.google.cloud.talent.v4beta1B\022Tenant" + - "ServiceProtoP\001ZAgoogle.golang.org/genpro" + - "to/googleapis/cloud/talent/v4beta1;talen" + - "t\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor, - new java.lang.String[] { "Parent", "Tenant", }); - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor, - new java.lang.String[] { "Tenant", "UpdateMask", }); - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", }); - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor, - new java.lang.String[] { "Tenants", "NextPageToken", "Metadata", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 5ac367beaccd000bf065f2fda7b6ad42e37f269b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 8 Nov 2022 03:03:59 +0000 Subject: [PATCH 3/4] docs: marking keyword_searchable_job_custom_attributes on the company object as deprecated --- docs: marking company_size histogram facet as deprecated PiperOrigin-RevId: 486780805 Source-Link: https://github.com/googleapis/googleapis/commit/dbfdaa98937785ae4027631592b0755ced7c4aac Source-Link: https://github.com/googleapis/googleapis-gen/commit/f72d409eabb57581b49d6b930fb5e684e1602258 Copy-Tag: eyJwIjoiamF2YS10YWxlbnQvLk93bEJvdC55YW1sIiwiaCI6ImY3MmQ0MDllYWJiNTc1ODFiNDlkNmI5MzBmYjVlNjg0ZTE2MDIyNTgifQ== --- .../cloud/talent/v4/CompanyServiceGrpc.java | 805 --- .../cloud/talent/v4/TenantServiceGrpc.java | 798 --- .../talent/v4beta1/CompanyServiceGrpc.java | 826 --- .../cloud/talent/v4beta1/CompletionGrpc.java | 363 -- .../cloud/talent/v4beta1/JobServiceGrpc.java | 1428 ----- .../talent/v4beta1/TenantServiceGrpc.java | 819 --- .../google/cloud/talent/v4/CommonProto.java | 345 -- .../google/cloud/talent/v4/CompanyProto.java | 118 - .../cloud/talent/v4/CompanyServiceProto.java | 200 - .../talent/v4/CompletionServiceProto.java | 143 - .../v4/DeleteCompanyRequestOrBuilder.java | 60 - .../talent/v4/DeleteJobRequestOrBuilder.java | 60 - .../v4/DeleteTenantRequestOrBuilder.java | 58 - .../google/cloud/talent/v4/EventProto.java | 105 - .../cloud/talent/v4/EventServiceProto.java | 101 - .../google/cloud/talent/v4/FiltersProto.java | 186 - .../talent/v4/GetCompanyRequestOrBuilder.java | 60 - .../talent/v4/GetJobRequestOrBuilder.java | 60 - .../talent/v4/GetTenantRequestOrBuilder.java | 58 - .../cloud/talent/v4/HistogramProto.java | 95 - .../com/google/cloud/talent/v4/JobProto.java | 208 - .../cloud/talent/v4/JobServiceProto.java | 485 -- .../talent/v4/ResponseMetadataOrBuilder.java | 52 - .../google/cloud/talent/v4/TenantProto.java | 80 - .../cloud/talent/v4/TenantServiceProto.java | 197 - .../BatchCreateJobsRequestOrBuilder.java | 121 - .../cloud/talent/v4beta1/BatchProto.java | 50 - .../cloud/talent/v4beta1/CommonProto.java | 350 -- .../talent/v4beta1/CompanyResourceProto.java | 120 - .../talent/v4beta1/CompanyServiceProto.java | 208 - .../v4beta1/CompletionServiceProto.java | 145 - .../v4beta1/DeleteTenantRequestOrBuilder.java | 58 - .../cloud/talent/v4beta1/EventProto.java | 106 - .../talent/v4beta1/EventServiceProto.java | 103 - .../cloud/talent/v4beta1/FiltersProto.java | 194 - .../v4beta1/GetTenantRequestOrBuilder.java | 58 - .../cloud/talent/v4beta1/HistogramProto.java | 95 - .../talent/v4beta1/JobResourceProto.java | 211 - .../cloud/talent/v4beta1/JobServiceProto.java | 479 -- .../talent/v4beta1/TenantResourceProto.java | 85 - .../talent/v4beta1/TenantServiceProto.java | 200 - .../cloud/talent/v4/CompanyServiceClient.java | 0 .../talent/v4/CompanyServiceSettings.java | 1 + .../cloud/talent/v4/CompletionClient.java | 0 .../cloud/talent/v4/CompletionSettings.java | 1 + .../cloud/talent/v4/EventServiceClient.java | 0 .../cloud/talent/v4/EventServiceSettings.java | 1 + .../cloud/talent/v4/JobServiceClient.java | 0 .../cloud/talent/v4/JobServiceSettings.java | 1 + .../cloud/talent/v4/TenantServiceClient.java | 0 .../talent/v4/TenantServiceSettings.java | 1 + .../cloud/talent/v4/gapic_metadata.json | 0 .../google/cloud/talent/v4/package-info.java | 0 .../talent/v4/stub/CompanyServiceStub.java | 0 .../v4/stub/CompanyServiceStubSettings.java | 0 .../cloud/talent/v4/stub/CompletionStub.java | 0 .../v4/stub/CompletionStubSettings.java | 0 .../talent/v4/stub/EventServiceStub.java | 0 .../v4/stub/EventServiceStubSettings.java | 0 .../GrpcCompanyServiceCallableFactory.java | 0 .../v4/stub/GrpcCompanyServiceStub.java | 1 + .../stub/GrpcCompletionCallableFactory.java | 0 .../talent/v4/stub/GrpcCompletionStub.java | 1 + .../stub/GrpcEventServiceCallableFactory.java | 0 .../talent/v4/stub/GrpcEventServiceStub.java | 1 + .../stub/GrpcJobServiceCallableFactory.java | 0 .../talent/v4/stub/GrpcJobServiceStub.java | 1 + .../GrpcTenantServiceCallableFactory.java | 0 .../talent/v4/stub/GrpcTenantServiceStub.java | 1 + ...HttpJsonCompanyServiceCallableFactory.java | 0 .../v4/stub/HttpJsonCompanyServiceStub.java | 0 .../HttpJsonCompletionCallableFactory.java | 0 .../v4/stub/HttpJsonCompletionStub.java | 0 .../HttpJsonEventServiceCallableFactory.java | 0 .../v4/stub/HttpJsonEventServiceStub.java | 0 .../HttpJsonJobServiceCallableFactory.java | 0 .../v4/stub/HttpJsonJobServiceStub.java | 1 + .../HttpJsonTenantServiceCallableFactory.java | 0 .../v4/stub/HttpJsonTenantServiceStub.java | 0 .../cloud/talent/v4/stub/JobServiceStub.java | 0 .../v4/stub/JobServiceStubSettings.java | 0 .../talent/v4/stub/TenantServiceStub.java | 0 .../v4/stub/TenantServiceStubSettings.java | 0 .../v4/CompanyServiceClientHttpJsonTest.java | 0 .../talent/v4/CompanyServiceClientTest.java | 0 .../v4/CompletionClientHttpJsonTest.java | 0 .../cloud/talent/v4/CompletionClientTest.java | 0 .../v4/EventServiceClientHttpJsonTest.java | 0 .../talent/v4/EventServiceClientTest.java | 0 .../v4/JobServiceClientHttpJsonTest.java | 0 .../cloud/talent/v4/JobServiceClientTest.java | 0 .../cloud/talent/v4/MockCompanyService.java | 0 .../talent/v4/MockCompanyServiceImpl.java | 0 .../cloud/talent/v4/MockCompletion.java | 0 .../cloud/talent/v4/MockCompletionImpl.java | 0 .../cloud/talent/v4/MockEventService.java | 0 .../cloud/talent/v4/MockEventServiceImpl.java | 0 .../cloud/talent/v4/MockJobService.java | 0 .../cloud/talent/v4/MockJobServiceImpl.java | 0 .../cloud/talent/v4/MockTenantService.java | 0 .../talent/v4/MockTenantServiceImpl.java | 0 .../v4/TenantServiceClientHttpJsonTest.java | 0 .../talent/v4/TenantServiceClientTest.java | 0 .../cloud/talent/v4/CompanyServiceGrpc.java | 651 +++ .../cloud/talent/v4/CompletionGrpc.java | 227 +- .../cloud/talent/v4/EventServiceGrpc.java | 222 +- .../cloud/talent/v4/JobServiceGrpc.java | 970 ++-- .../cloud/talent/v4/TenantServiceGrpc.java | 647 +++ .../talent/v4/BatchCreateJobsRequest.java | 605 +-- .../v4/BatchCreateJobsRequestOrBuilder.java | 69 +- .../talent/v4/BatchCreateJobsResponse.java | 405 +- .../v4/BatchCreateJobsResponseOrBuilder.java | 36 +- .../talent/v4/BatchDeleteJobsRequest.java | 462 +- .../v4/BatchDeleteJobsRequestOrBuilder.java | 53 +- .../talent/v4/BatchDeleteJobsResponse.java | 405 +- .../v4/BatchDeleteJobsResponseOrBuilder.java | 36 +- .../talent/v4/BatchOperationMetadata.java | 843 ++- .../v4/BatchOperationMetadataOrBuilder.java | 66 +- .../talent/v4/BatchUpdateJobsRequest.java | 686 +-- .../v4/BatchUpdateJobsRequestOrBuilder.java | 77 +- .../talent/v4/BatchUpdateJobsResponse.java | 405 +- .../v4/BatchUpdateJobsResponseOrBuilder.java | 36 +- .../google/cloud/talent/v4/ClientEvent.java | 725 +-- .../cloud/talent/v4/ClientEventOrBuilder.java | 70 +- .../google/cloud/talent/v4/CommonProto.java | 307 ++ .../google/cloud/talent/v4/CommuteFilter.java | 897 ++-- .../talent/v4/CommuteFilterOrBuilder.java | 86 +- .../google/cloud/talent/v4/CommuteMethod.java | 103 +- .../com/google/cloud/talent/v4/Company.java | 1634 +++--- .../google/cloud/talent/v4/CompanyName.java | 0 .../cloud/talent/v4/CompanyOrBuilder.java | 168 +- .../google/cloud/talent/v4/CompanyProto.java | 90 + .../cloud/talent/v4/CompanyServiceProto.java | 180 + .../google/cloud/talent/v4/CompanySize.java | 117 +- .../cloud/talent/v4/CompensationFilter.java | 764 +-- .../v4/CompensationFilterOrBuilder.java | 81 +- .../cloud/talent/v4/CompensationInfo.java | 2267 +++----- .../talent/v4/CompensationInfoOrBuilder.java | 85 +- .../cloud/talent/v4/CompleteQueryRequest.java | 934 ++-- .../v4/CompleteQueryRequestOrBuilder.java | 86 +- .../talent/v4/CompleteQueryResponse.java | 1141 ++-- .../v4/CompleteQueryResponseOrBuilder.java | 65 +- .../talent/v4/CompletionServiceProto.java | 124 + .../talent/v4/CreateClientEventRequest.java | 492 +- .../v4/CreateClientEventRequestOrBuilder.java | 55 +- .../cloud/talent/v4/CreateCompanyRequest.java | 472 +- .../v4/CreateCompanyRequestOrBuilder.java | 52 +- .../cloud/talent/v4/CreateJobRequest.java | 426 +- .../talent/v4/CreateJobRequestOrBuilder.java | 43 +- .../cloud/talent/v4/CreateTenantRequest.java | 461 +- .../v4/CreateTenantRequestOrBuilder.java | 52 +- .../cloud/talent/v4/CustomAttribute.java | 520 +- .../talent/v4/CustomAttributeOrBuilder.java | 51 +- .../google/cloud/talent/v4/DegreeType.java | 122 +- .../cloud/talent/v4/DeleteCompanyRequest.java | 351 +- .../v4/DeleteCompanyRequestOrBuilder.java | 35 + .../cloud/talent/v4/DeleteJobRequest.java | 348 +- .../talent/v4/DeleteJobRequestOrBuilder.java | 35 + .../cloud/talent/v4/DeleteTenantRequest.java | 348 +- .../v4/DeleteTenantRequestOrBuilder.java | 33 + .../google/cloud/talent/v4/DeviceInfo.java | 470 +- .../cloud/talent/v4/DeviceInfoOrBuilder.java | 33 +- .../cloud/talent/v4/EmploymentType.java | 136 +- .../google/cloud/talent/v4/EventProto.java | 89 + .../cloud/talent/v4/EventServiceProto.java | 86 + .../google/cloud/talent/v4/FiltersProto.java | 149 + .../cloud/talent/v4/GetCompanyRequest.java | 348 +- .../talent/v4/GetCompanyRequestOrBuilder.java | 35 + .../google/cloud/talent/v4/GetJobRequest.java | 345 +- .../talent/v4/GetJobRequestOrBuilder.java | 35 + .../cloud/talent/v4/GetTenantRequest.java | 348 +- .../talent/v4/GetTenantRequestOrBuilder.java | 33 + .../cloud/talent/v4/HistogramProto.java | 78 + .../cloud/talent/v4/HistogramQuery.java | 320 +- .../talent/v4/HistogramQueryOrBuilder.java | 27 +- .../cloud/talent/v4/HistogramQueryResult.java | 582 +-- .../v4/HistogramQueryResultOrBuilder.java | 59 +- .../cloud/talent/v4/HtmlSanitization.java | 82 +- .../java/com/google/cloud/talent/v4/Job.java | 4571 ++++++---------- .../google/cloud/talent/v4/JobBenefit.java | 143 +- .../google/cloud/talent/v4/JobCategory.java | 276 +- .../com/google/cloud/talent/v4/JobEvent.java | 592 +-- .../cloud/talent/v4/JobEventOrBuilder.java | 50 +- .../com/google/cloud/talent/v4/JobLevel.java | 103 +- .../com/google/cloud/talent/v4/JobName.java | 0 .../google/cloud/talent/v4/JobOrBuilder.java | 378 +- .../com/google/cloud/talent/v4/JobProto.java | 160 + .../com/google/cloud/talent/v4/JobQuery.java | 1585 ++---- .../cloud/talent/v4/JobQueryOrBuilder.java | 198 +- .../com/google/cloud/talent/v4/JobResult.java | 388 +- .../cloud/talent/v4/JobResultOrBuilder.java | 34 +- .../cloud/talent/v4/JobServiceProto.java | 428 ++ .../com/google/cloud/talent/v4/JobView.java | 96 +- .../cloud/talent/v4/ListCompaniesRequest.java | 503 +- .../v4/ListCompaniesRequestOrBuilder.java | 50 +- .../talent/v4/ListCompaniesResponse.java | 566 +- .../v4/ListCompaniesResponseOrBuilder.java | 54 +- .../cloud/talent/v4/ListJobsRequest.java | 589 +-- .../talent/v4/ListJobsRequestOrBuilder.java | 62 +- .../cloud/talent/v4/ListJobsResponse.java | 567 +- .../talent/v4/ListJobsResponseOrBuilder.java | 54 +- .../cloud/talent/v4/ListTenantsRequest.java | 462 +- .../v4/ListTenantsRequestOrBuilder.java | 47 +- .../cloud/talent/v4/ListTenantsResponse.java | 559 +- .../v4/ListTenantsResponseOrBuilder.java | 54 +- .../com/google/cloud/talent/v4/Location.java | 623 +-- .../cloud/talent/v4/LocationFilter.java | 688 +-- .../talent/v4/LocationFilterOrBuilder.java | 59 +- .../cloud/talent/v4/LocationOrBuilder.java | 43 +- .../google/cloud/talent/v4/PostingRegion.java | 89 +- .../google/cloud/talent/v4/ProjectName.java | 0 .../cloud/talent/v4/RequestMetadata.java | 595 +-- .../talent/v4/RequestMetadataOrBuilder.java | 56 +- .../cloud/talent/v4/ResponseMetadata.java | 320 +- .../talent/v4/ResponseMetadataOrBuilder.java | 31 + .../cloud/talent/v4/SearchJobsRequest.java | 2367 +++------ .../talent/v4/SearchJobsRequestOrBuilder.java | 196 +- .../cloud/talent/v4/SearchJobsResponse.java | 2275 +++----- .../v4/SearchJobsResponseOrBuilder.java | 97 +- .../cloud/talent/v4/SpellingCorrection.java | 437 +- .../v4/SpellingCorrectionOrBuilder.java | 39 +- .../com/google/cloud/talent/v4/Tenant.java | 392 +- .../google/cloud/talent/v4/TenantName.java | 0 .../cloud/talent/v4/TenantOrBuilder.java | 36 +- .../google/cloud/talent/v4/TenantProto.java | 65 + .../cloud/talent/v4/TenantServiceProto.java | 177 + .../cloud/talent/v4/TimestampRange.java | 398 +- .../talent/v4/TimestampRangeOrBuilder.java | 34 +- .../cloud/talent/v4/UpdateCompanyRequest.java | 447 +- .../v4/UpdateCompanyRequestOrBuilder.java | 43 +- .../cloud/talent/v4/UpdateJobRequest.java | 405 +- .../talent/v4/UpdateJobRequestOrBuilder.java | 34 +- .../cloud/talent/v4/UpdateTenantRequest.java | 440 +- .../v4/UpdateTenantRequestOrBuilder.java | 43 +- .../google/cloud/talent/v4/Visibility.java | 90 +- .../proto/google/cloud/talent/v4/common.proto | 0 .../google/cloud/talent/v4/company.proto | 5 +- .../cloud/talent/v4/company_service.proto | 0 .../cloud/talent/v4/completion_service.proto | 0 .../proto/google/cloud/talent/v4/event.proto | 0 .../cloud/talent/v4/event_service.proto | 0 .../google/cloud/talent/v4/filters.proto | 0 .../google/cloud/talent/v4/histogram.proto | 0 .../proto/google/cloud/talent/v4/job.proto | 0 .../google/cloud/talent/v4/job_service.proto | 4 +- .../proto/google/cloud/talent/v4/tenant.proto | 0 .../cloud/talent/v4/tenant_service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createcompany/AsyncCreateCompany.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../SyncCreateCompanyStringCompany.java | 0 .../SyncCreateCompanyTenantnameCompany.java | 0 .../deletecompany/AsyncDeleteCompany.java | 0 .../deletecompany/SyncDeleteCompany.java | 0 .../SyncDeleteCompanyCompanyname.java | 0 .../SyncDeleteCompanyString.java | 0 .../getcompany/AsyncGetCompany.java | 0 .../getcompany/SyncGetCompany.java | 0 .../getcompany/SyncGetCompanyCompanyname.java | 0 .../getcompany/SyncGetCompanyString.java | 0 .../listcompanies/AsyncListCompanies.java | 0 .../AsyncListCompaniesPaged.java | 0 .../listcompanies/SyncListCompanies.java | 0 .../SyncListCompaniesString.java | 0 .../SyncListCompaniesTenantname.java | 0 .../updatecompany/AsyncUpdateCompany.java | 0 .../updatecompany/SyncUpdateCompany.java | 0 .../SyncUpdateCompanyCompanyFieldmask.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../completequery/AsyncCompleteQuery.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateClientEvent.java | 0 .../SyncCreateClientEvent.java | 0 ...yncCreateClientEventStringClientevent.java | 0 ...reateClientEventTenantnameClientevent.java | 0 .../SyncCreateClientEvent.java | 0 .../batchcreatejobs/AsyncBatchCreateJobs.java | 0 .../AsyncBatchCreateJobsLRO.java | 0 .../batchcreatejobs/SyncBatchCreateJobs.java | 0 .../SyncBatchCreateJobsStringListjob.java | 0 .../SyncBatchCreateJobsTenantnameListjob.java | 0 .../batchdeletejobs/AsyncBatchDeleteJobs.java | 0 .../AsyncBatchDeleteJobsLRO.java | 0 .../batchdeletejobs/SyncBatchDeleteJobs.java | 0 .../SyncBatchDeleteJobsStringListstring.java | 0 ...ncBatchDeleteJobsTenantnameListstring.java | 0 .../batchupdatejobs/AsyncBatchUpdateJobs.java | 0 .../AsyncBatchUpdateJobsLRO.java | 0 .../batchupdatejobs/SyncBatchUpdateJobs.java | 0 .../SyncBatchUpdateJobsStringListjob.java | 0 .../SyncBatchUpdateJobsTenantnameListjob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../jobservice/createjob/AsyncCreateJob.java | 0 .../jobservice/createjob/SyncCreateJob.java | 0 .../createjob/SyncCreateJobStringJob.java | 0 .../createjob/SyncCreateJobTenantnameJob.java | 0 .../jobservice/deletejob/AsyncDeleteJob.java | 0 .../jobservice/deletejob/SyncDeleteJob.java | 0 .../deletejob/SyncDeleteJobJobname.java | 0 .../deletejob/SyncDeleteJobString.java | 0 .../v4/jobservice/getjob/AsyncGetJob.java | 0 .../v4/jobservice/getjob/SyncGetJob.java | 0 .../jobservice/getjob/SyncGetJobJobname.java | 0 .../jobservice/getjob/SyncGetJobString.java | 0 .../v4/jobservice/listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../v4/jobservice/listjobs/SyncListJobs.java | 0 .../listjobs/SyncListJobsStringString.java | 0 .../SyncListJobsTenantnameString.java | 0 .../searchjobs/AsyncSearchJobs.java | 0 .../jobservice/searchjobs/SyncSearchJobs.java | 0 .../AsyncSearchJobsForAlert.java | 0 .../SyncSearchJobsForAlert.java | 0 .../jobservice/updatejob/AsyncUpdateJob.java | 0 .../jobservice/updatejob/SyncUpdateJob.java | 0 .../updatejob/SyncUpdateJobJobFieldmask.java | 0 .../createjob/SyncCreateJob.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateClientEvent.java | 0 .../createjob/SyncCreateJob.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createtenant/AsyncCreateTenant.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../SyncCreateTenantProjectnameTenant.java | 0 .../SyncCreateTenantStringTenant.java | 0 .../deletetenant/AsyncDeleteTenant.java | 0 .../deletetenant/SyncDeleteTenant.java | 0 .../deletetenant/SyncDeleteTenantString.java | 0 .../SyncDeleteTenantTenantname.java | 0 .../gettenant/AsyncGetTenant.java | 0 .../gettenant/SyncGetTenant.java | 0 .../gettenant/SyncGetTenantString.java | 0 .../gettenant/SyncGetTenantTenantname.java | 0 .../listtenants/AsyncListTenants.java | 0 .../listtenants/AsyncListTenantsPaged.java | 0 .../listtenants/SyncListTenants.java | 0 .../SyncListTenantsProjectname.java | 0 .../listtenants/SyncListTenantsString.java | 0 .../updatetenant/AsyncUpdateTenant.java | 0 .../updatetenant/SyncUpdateTenant.java | 0 .../SyncUpdateTenantTenantFieldmask.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../talent/v4beta1/CompanyServiceClient.java | 0 .../v4beta1/CompanyServiceSettings.java | 1 + .../talent/v4beta1/CompletionClient.java | 0 .../talent/v4beta1/CompletionSettings.java | 1 + .../talent/v4beta1/EventServiceClient.java | 0 .../talent/v4beta1/EventServiceSettings.java | 1 + .../talent/v4beta1/JobServiceClient.java | 0 .../talent/v4beta1/JobServiceSettings.java | 1 + .../talent/v4beta1/TenantServiceClient.java | 0 .../talent/v4beta1/TenantServiceSettings.java | 1 + .../cloud/talent/v4beta1/gapic_metadata.json | 0 .../cloud/talent/v4beta1/package-info.java | 0 .../v4beta1/stub/CompanyServiceStub.java | 0 .../stub/CompanyServiceStubSettings.java | 0 .../talent/v4beta1/stub/CompletionStub.java | 0 .../v4beta1/stub/CompletionStubSettings.java | 0 .../talent/v4beta1/stub/EventServiceStub.java | 0 .../stub/EventServiceStubSettings.java | 0 .../GrpcCompanyServiceCallableFactory.java | 0 .../v4beta1/stub/GrpcCompanyServiceStub.java | 1 + .../stub/GrpcCompletionCallableFactory.java | 0 .../v4beta1/stub/GrpcCompletionStub.java | 1 + .../stub/GrpcEventServiceCallableFactory.java | 0 .../v4beta1/stub/GrpcEventServiceStub.java | 1 + .../stub/GrpcJobServiceCallableFactory.java | 0 .../v4beta1/stub/GrpcJobServiceStub.java | 1 + .../GrpcTenantServiceCallableFactory.java | 0 .../v4beta1/stub/GrpcTenantServiceStub.java | 1 + ...HttpJsonCompanyServiceCallableFactory.java | 0 .../stub/HttpJsonCompanyServiceStub.java | 0 .../HttpJsonCompletionCallableFactory.java | 0 .../v4beta1/stub/HttpJsonCompletionStub.java | 0 .../HttpJsonEventServiceCallableFactory.java | 0 .../stub/HttpJsonEventServiceStub.java | 0 .../HttpJsonJobServiceCallableFactory.java | 0 .../v4beta1/stub/HttpJsonJobServiceStub.java | 1 + .../HttpJsonTenantServiceCallableFactory.java | 0 .../stub/HttpJsonTenantServiceStub.java | 0 .../talent/v4beta1/stub/JobServiceStub.java | 0 .../v4beta1/stub/JobServiceStubSettings.java | 0 .../v4beta1/stub/TenantServiceStub.java | 0 .../stub/TenantServiceStubSettings.java | 0 .../CompanyServiceClientHttpJsonTest.java | 0 .../v4beta1/CompanyServiceClientTest.java | 0 .../v4beta1/CompletionClientHttpJsonTest.java | 0 .../talent/v4beta1/CompletionClientTest.java | 0 .../EventServiceClientHttpJsonTest.java | 0 .../v4beta1/EventServiceClientTest.java | 0 .../v4beta1/JobServiceClientHttpJsonTest.java | 0 .../talent/v4beta1/JobServiceClientTest.java | 0 .../talent/v4beta1/MockCompanyService.java | 0 .../v4beta1/MockCompanyServiceImpl.java | 0 .../cloud/talent/v4beta1/MockCompletion.java | 0 .../talent/v4beta1/MockCompletionImpl.java | 0 .../talent/v4beta1/MockEventService.java | 0 .../talent/v4beta1/MockEventServiceImpl.java | 0 .../cloud/talent/v4beta1/MockJobService.java | 0 .../talent/v4beta1/MockJobServiceImpl.java | 0 .../talent/v4beta1/MockTenantService.java | 0 .../talent/v4beta1/MockTenantServiceImpl.java | 0 .../TenantServiceClientHttpJsonTest.java | 0 .../v4beta1/TenantServiceClientTest.java | 0 .../talent/v4beta1/CompanyServiceGrpc.java | 651 +++ .../cloud/talent/v4beta1/CompletionGrpc.java | 307 ++ .../talent/v4beta1/EventServiceGrpc.java | 223 +- .../cloud/talent/v4beta1/JobServiceGrpc.java | 1145 ++++ .../talent/v4beta1/TenantServiceGrpc.java | 647 +++ .../v4beta1/BatchCreateJobsRequest.java | 611 +-- .../BatchCreateJobsRequestOrBuilder.java | 79 + .../v4beta1/BatchDeleteJobsRequest.java | 437 +- .../BatchDeleteJobsRequestOrBuilder.java | 44 +- .../v4beta1/BatchOperationMetadata.java | 848 ++- .../BatchOperationMetadataOrBuilder.java | 66 +- .../cloud/talent/v4beta1/BatchProto.java | 39 + .../v4beta1/BatchUpdateJobsRequest.java | 692 +-- .../BatchUpdateJobsRequestOrBuilder.java | 82 +- .../cloud/talent/v4beta1/ClientEvent.java | 729 +-- .../talent/v4beta1/ClientEventOrBuilder.java | 70 +- .../cloud/talent/v4beta1/CommonProto.java | 308 ++ .../cloud/talent/v4beta1/CommuteFilter.java | 900 ++-- .../v4beta1/CommuteFilterOrBuilder.java | 86 +- .../cloud/talent/v4beta1/CommuteMethod.java | 96 +- .../google/cloud/talent/v4beta1/Company.java | 1655 +++--- .../cloud/talent/v4beta1/CompanyName.java | 0 .../talent/v4beta1/CompanyOrBuilder.java | 164 +- .../talent/v4beta1/CompanyResourceProto.java | 92 + .../talent/v4beta1/CompanyServiceProto.java | 188 + .../cloud/talent/v4beta1/CompanySize.java | 117 +- .../talent/v4beta1/CompensationFilter.java | 796 +-- .../v4beta1/CompensationFilterOrBuilder.java | 81 +- .../talent/v4beta1/CompensationInfo.java | 2439 +++------ .../v4beta1/CompensationInfoOrBuilder.java | 100 +- .../talent/v4beta1/CompleteQueryRequest.java | 952 ++-- .../CompleteQueryRequestOrBuilder.java | 86 +- .../talent/v4beta1/CompleteQueryResponse.java | 1168 ++--- .../CompleteQueryResponseOrBuilder.java | 68 +- .../v4beta1/CompletionServiceProto.java | 126 + .../v4beta1/CreateClientEventRequest.java | 492 +- .../CreateClientEventRequestOrBuilder.java | 55 +- .../talent/v4beta1/CreateCompanyRequest.java | 492 +- .../CreateCompanyRequestOrBuilder.java | 55 +- .../talent/v4beta1/CreateJobRequest.java | 468 +- .../v4beta1/CreateJobRequestOrBuilder.java | 52 +- .../talent/v4beta1/CreateTenantRequest.java | 485 +- .../v4beta1/CreateTenantRequestOrBuilder.java | 52 +- .../cloud/talent/v4beta1/CustomAttribute.java | 523 +- .../v4beta1/CustomAttributeOrBuilder.java | 51 +- .../cloud/talent/v4beta1/DegreeType.java | 122 +- .../talent/v4beta1/DeleteCompanyRequest.java | 355 +- .../DeleteCompanyRequestOrBuilder.java | 35 +- .../talent/v4beta1/DeleteJobRequest.java | 355 +- .../v4beta1/DeleteJobRequestOrBuilder.java | 35 +- .../talent/v4beta1/DeleteTenantRequest.java | 355 +- .../v4beta1/DeleteTenantRequestOrBuilder.java | 33 + .../cloud/talent/v4beta1/DeviceInfo.java | 480 +- .../talent/v4beta1/DeviceInfoOrBuilder.java | 33 +- .../cloud/talent/v4beta1/EmploymentType.java | 136 +- .../cloud/talent/v4beta1/EventProto.java | 90 + .../talent/v4beta1/EventServiceProto.java | 88 + .../cloud/talent/v4beta1/FiltersProto.java | 152 + .../talent/v4beta1/GetCompanyRequest.java | 355 +- .../v4beta1/GetCompanyRequestOrBuilder.java | 35 +- .../cloud/talent/v4beta1/GetJobRequest.java | 348 +- .../v4beta1/GetJobRequestOrBuilder.java | 35 +- .../talent/v4beta1/GetTenantRequest.java | 355 +- .../v4beta1/GetTenantRequestOrBuilder.java | 33 + .../cloud/talent/v4beta1/HistogramProto.java | 78 + .../cloud/talent/v4beta1/HistogramQuery.java | 320 +- .../v4beta1/HistogramQueryOrBuilder.java | 27 +- .../talent/v4beta1/HistogramQueryResult.java | 586 +-- .../HistogramQueryResultOrBuilder.java | 59 +- .../talent/v4beta1/HtmlSanitization.java | 82 +- .../com/google/cloud/talent/v4beta1/Job.java | 4644 ++++++----------- .../cloud/talent/v4beta1/JobBenefit.java | 143 +- .../cloud/talent/v4beta1/JobCategory.java | 276 +- .../google/cloud/talent/v4beta1/JobEvent.java | 677 +-- .../talent/v4beta1/JobEventOrBuilder.java | 59 +- .../google/cloud/talent/v4beta1/JobLevel.java | 103 +- .../google/cloud/talent/v4beta1/JobName.java | 0 .../talent/v4beta1/JobOperationResult.java | 925 ++-- .../v4beta1/JobOperationResultOrBuilder.java | 48 +- .../cloud/talent/v4beta1/JobOrBuilder.java | 392 +- .../google/cloud/talent/v4beta1/JobQuery.java | 1588 ++---- .../talent/v4beta1/JobQueryOrBuilder.java | 198 +- .../talent/v4beta1/JobResourceProto.java | 163 + .../cloud/talent/v4beta1/JobServiceProto.java | 418 ++ .../google/cloud/talent/v4beta1/JobView.java | 96 +- .../talent/v4beta1/ListCompaniesRequest.java | 499 +- .../ListCompaniesRequestOrBuilder.java | 50 +- .../talent/v4beta1/ListCompaniesResponse.java | 570 +- .../ListCompaniesResponseOrBuilder.java | 53 +- .../cloud/talent/v4beta1/ListJobsRequest.java | 592 +-- .../v4beta1/ListJobsRequestOrBuilder.java | 62 +- .../talent/v4beta1/ListJobsResponse.java | 572 +- .../v4beta1/ListJobsResponseOrBuilder.java | 54 +- .../talent/v4beta1/ListTenantsRequest.java | 469 +- .../v4beta1/ListTenantsRequestOrBuilder.java | 47 +- .../talent/v4beta1/ListTenantsResponse.java | 566 +- .../v4beta1/ListTenantsResponseOrBuilder.java | 53 +- .../google/cloud/talent/v4beta1/Location.java | 633 +-- .../cloud/talent/v4beta1/LocationFilter.java | 728 +-- .../v4beta1/LocationFilterOrBuilder.java | 64 +- .../talent/v4beta1/LocationOrBuilder.java | 43 +- .../cloud/talent/v4beta1/PostingRegion.java | 89 +- .../cloud/talent/v4beta1/ProjectName.java | 0 .../cloud/talent/v4beta1/RequestMetadata.java | 595 +-- .../v4beta1/RequestMetadataOrBuilder.java | 56 +- .../talent/v4beta1/ResponseMetadata.java | 327 +- .../v4beta1/ResponseMetadataOrBuilder.java | 27 +- .../talent/v4beta1/SearchJobsRequest.java | 2356 +++------ .../v4beta1/SearchJobsRequestOrBuilder.java | 182 +- .../talent/v4beta1/SearchJobsResponse.java | 2422 ++++----- .../v4beta1/SearchJobsResponseOrBuilder.java | 128 +- .../talent/v4beta1/SpellingCorrection.java | 444 +- .../v4beta1/SpellingCorrectionOrBuilder.java | 39 +- .../google/cloud/talent/v4beta1/Tenant.java | 637 +-- .../cloud/talent/v4beta1/TenantName.java | 0 .../cloud/talent/v4beta1/TenantOrBuilder.java | 60 +- .../talent/v4beta1/TenantResourceProto.java | 70 + .../talent/v4beta1/TenantServiceProto.java | 180 + .../cloud/talent/v4beta1/TimestampRange.java | 398 +- .../v4beta1/TimestampRangeOrBuilder.java | 34 +- .../talent/v4beta1/UpdateCompanyRequest.java | 467 +- .../UpdateCompanyRequestOrBuilder.java | 46 +- .../talent/v4beta1/UpdateJobRequest.java | 447 +- .../v4beta1/UpdateJobRequestOrBuilder.java | 43 +- .../talent/v4beta1/UpdateTenantRequest.java | 460 +- .../v4beta1/UpdateTenantRequestOrBuilder.java | 43 +- .../cloud/talent/v4beta1/Visibility.java | 90 +- .../google/cloud/talent/v4beta1/batch.proto | 0 .../google/cloud/talent/v4beta1/common.proto | 0 .../google/cloud/talent/v4beta1/company.proto | 0 .../talent/v4beta1/company_service.proto | 0 .../talent/v4beta1/completion_service.proto | 0 .../google/cloud/talent/v4beta1/event.proto | 0 .../cloud/talent/v4beta1/event_service.proto | 0 .../google/cloud/talent/v4beta1/filters.proto | 0 .../cloud/talent/v4beta1/histogram.proto | 0 .../google/cloud/talent/v4beta1/job.proto | 0 .../cloud/talent/v4beta1/job_service.proto | 0 .../google/cloud/talent/v4beta1/tenant.proto | 0 .../cloud/talent/v4beta1/tenant_service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createcompany/AsyncCreateCompany.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../SyncCreateCompanyProjectnameCompany.java | 0 .../SyncCreateCompanyStringCompany.java | 0 .../SyncCreateCompanyTenantnameCompany.java | 0 .../deletecompany/AsyncDeleteCompany.java | 0 .../deletecompany/SyncDeleteCompany.java | 0 .../SyncDeleteCompanyCompanyname.java | 0 .../SyncDeleteCompanyString.java | 0 .../getcompany/AsyncGetCompany.java | 0 .../getcompany/SyncGetCompany.java | 0 .../getcompany/SyncGetCompanyCompanyname.java | 0 .../getcompany/SyncGetCompanyString.java | 0 .../listcompanies/AsyncListCompanies.java | 0 .../AsyncListCompaniesPaged.java | 0 .../listcompanies/SyncListCompanies.java | 0 .../SyncListCompaniesProjectname.java | 0 .../SyncListCompaniesString.java | 0 .../SyncListCompaniesTenantname.java | 0 .../updatecompany/AsyncUpdateCompany.java | 0 .../updatecompany/SyncUpdateCompany.java | 0 .../SyncUpdateCompanyCompany.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../completequery/AsyncCompleteQuery.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateClientEvent.java | 0 .../SyncCreateClientEvent.java | 0 ...eateClientEventProjectnameClientevent.java | 0 ...yncCreateClientEventStringClientevent.java | 0 ...reateClientEventTenantnameClientevent.java | 0 .../SyncCreateClientEvent.java | 0 .../batchcreatejobs/AsyncBatchCreateJobs.java | 0 .../AsyncBatchCreateJobsLRO.java | 0 .../batchcreatejobs/SyncBatchCreateJobs.java | 0 ...SyncBatchCreateJobsProjectnameListjob.java | 0 .../SyncBatchCreateJobsStringListjob.java | 0 .../SyncBatchCreateJobsTenantnameListjob.java | 0 .../batchdeletejobs/AsyncBatchDeleteJobs.java | 0 .../batchdeletejobs/SyncBatchDeleteJobs.java | 0 .../SyncBatchDeleteJobsProjectnameString.java | 0 .../SyncBatchDeleteJobsStringString.java | 0 .../SyncBatchDeleteJobsTenantnameString.java | 0 .../batchupdatejobs/AsyncBatchUpdateJobs.java | 0 .../AsyncBatchUpdateJobsLRO.java | 0 .../batchupdatejobs/SyncBatchUpdateJobs.java | 0 ...SyncBatchUpdateJobsProjectnameListjob.java | 0 .../SyncBatchUpdateJobsStringListjob.java | 0 .../SyncBatchUpdateJobsTenantnameListjob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../jobservice/createjob/AsyncCreateJob.java | 0 .../jobservice/createjob/SyncCreateJob.java | 0 .../SyncCreateJobProjectnameJob.java | 0 .../createjob/SyncCreateJobStringJob.java | 0 .../createjob/SyncCreateJobTenantnameJob.java | 0 .../jobservice/deletejob/AsyncDeleteJob.java | 0 .../jobservice/deletejob/SyncDeleteJob.java | 0 .../deletejob/SyncDeleteJobJobname.java | 0 .../deletejob/SyncDeleteJobString.java | 0 .../jobservice/getjob/AsyncGetJob.java | 0 .../v4beta1/jobservice/getjob/SyncGetJob.java | 0 .../jobservice/getjob/SyncGetJobJobname.java | 0 .../jobservice/getjob/SyncGetJobString.java | 0 .../jobservice/listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../jobservice/listjobs/SyncListJobs.java | 0 .../SyncListJobsProjectnameString.java | 0 .../listjobs/SyncListJobsStringString.java | 0 .../SyncListJobsTenantnameString.java | 0 .../searchjobs/AsyncSearchJobs.java | 0 .../searchjobs/AsyncSearchJobsPaged.java | 0 .../jobservice/searchjobs/SyncSearchJobs.java | 0 .../AsyncSearchJobsForAlert.java | 0 .../AsyncSearchJobsForAlertPaged.java | 0 .../SyncSearchJobsForAlert.java | 0 .../jobservice/updatejob/AsyncUpdateJob.java | 0 .../jobservice/updatejob/SyncUpdateJob.java | 0 .../updatejob/SyncUpdateJobJob.java | 0 .../createjob/SyncCreateJob.java | 0 .../createcompany/SyncCreateCompany.java | 0 .../completequery/SyncCompleteQuery.java | 0 .../SyncCreateClientEvent.java | 0 .../createjob/SyncCreateJob.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createtenant/AsyncCreateTenant.java | 0 .../createtenant/SyncCreateTenant.java | 0 .../SyncCreateTenantProjectnameTenant.java | 0 .../SyncCreateTenantStringTenant.java | 0 .../deletetenant/AsyncDeleteTenant.java | 0 .../deletetenant/SyncDeleteTenant.java | 0 .../deletetenant/SyncDeleteTenantString.java | 0 .../SyncDeleteTenantTenantname.java | 0 .../gettenant/AsyncGetTenant.java | 0 .../gettenant/SyncGetTenant.java | 0 .../gettenant/SyncGetTenantString.java | 0 .../gettenant/SyncGetTenantTenantname.java | 0 .../listtenants/AsyncListTenants.java | 0 .../listtenants/AsyncListTenantsPaged.java | 0 .../listtenants/SyncListTenants.java | 0 .../SyncListTenantsProjectname.java | 0 .../listtenants/SyncListTenantsString.java | 0 .../updatetenant/AsyncUpdateTenant.java | 0 .../updatetenant/SyncUpdateTenant.java | 0 .../updatetenant/SyncUpdateTenantTenant.java | 0 .../createtenant/SyncCreateTenant.java | 0 678 files changed, 39365 insertions(+), 65847 deletions(-) delete mode 100644 java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java delete mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java delete mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java (100%) create mode 100644 owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java rename {java-talent => owl-bot-staging/java-talent/v4}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java (50%) rename {java-talent => owl-bot-staging/java-talent/v4}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java (54%) rename {java-talent => owl-bot-staging/java-talent/v4}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java (50%) create mode 100644 owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java (57%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java (83%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilter.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanySize.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java (63%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java (75%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java (55%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequest.java (62%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java (52%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java (55%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java (59%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java (54%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java (86%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java (81%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java (61%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java (78%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceProto.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java (63%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java (62%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQuery.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java (57%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java (80%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java (90%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQuery.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java (93%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java (79%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobView.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java (62%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java (56%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java (75%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java (88%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java (83%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java (86%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java (65%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java (93%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java (88%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java (66%) create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java create mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRange.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto (94%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto (99%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java (99%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java (100%) create mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java create mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java (54%) create mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java create mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java (62%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java (75%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java (63%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java (81%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java (54%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java (63%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java (55%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java (63%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java (51%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java (58%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java (62%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java (54%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java (87%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java (81%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java (53%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java (51%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java (62%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java (62%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java (78%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java (54%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java (51%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java (62%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java (64%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java (68%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java (80%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java (90%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java (93%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java (79%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java (69%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java (74%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java (66%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java (56%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java (73%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java (75%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java (86%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java (83%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java (78%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java (87%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java (65%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java (50%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java (94%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java (85%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java (83%) create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java create mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java (67%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java (71%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java (72%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java (76%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java (77%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java (70%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java (100%) rename {java-talent => owl-bot-staging/java-talent/v4beta1}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java (100%) diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java deleted file mode 100644 index abf761d7cb03..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java +++ /dev/null @@ -1,805 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service that handles company management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4/company_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompanyServiceGrpc { - - private CompanyServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4.CompanyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> - getCreateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompany", - requestType = com.google.cloud.talent.v4.CreateCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> - getCreateCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> - getCreateCompanyMethod; - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - CompanyServiceGrpc.getCreateCompanyMethod = - getCreateCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("CreateCompany")) - .build(); - } - } - } - return getCreateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> - getGetCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompany", - requestType = com.google.cloud.talent.v4.GetCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> - getGetCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> - getGetCompanyMethod; - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - CompanyServiceGrpc.getGetCompanyMethod = - getGetCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetCompanyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) - .build(); - } - } - } - return getGetCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> - getUpdateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", - requestType = com.google.cloud.talent.v4.UpdateCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> - getUpdateCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> - getUpdateCompanyMethod; - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - CompanyServiceGrpc.getUpdateCompanyMethod = - getUpdateCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) - .build(); - } - } - } - return getUpdateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", - requestType = com.google.cloud.talent.v4.DeleteCompanyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod; - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - CompanyServiceGrpc.getDeleteCompanyMethod = - getDeleteCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) - .build(); - } - } - } - return getDeleteCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse> - getListCompaniesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompanies", - requestType = com.google.cloud.talent.v4.ListCompaniesRequest.class, - responseType = com.google.cloud.talent.v4.ListCompaniesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse> - getListCompaniesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse> - getListCompaniesMethod; - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - CompanyServiceGrpc.getListCompaniesMethod = - getListCompaniesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListCompaniesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("ListCompanies")) - .build(); - } - } - } - return getListCompaniesMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static CompanyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - }; - return CompanyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompanyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - }; - return CompanyServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CompanyServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - }; - return CompanyServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public abstract static class CompanyServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany( - com.google.cloud.talent.v4.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany( - com.google.cloud.talent.v4.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany( - com.google.cloud.talent.v4.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany( - com.google.cloud.talent.v4.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies( - com.google.cloud.talent.v4.ListCompaniesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCompaniesMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateCompanyRequest, - com.google.cloud.talent.v4.Company>(this, METHODID_CREATE_COMPANY))) - .addMethod( - getGetCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetCompanyRequest, - com.google.cloud.talent.v4.Company>(this, METHODID_GET_COMPANY))) - .addMethod( - getUpdateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateCompanyRequest, - com.google.cloud.talent.v4.Company>(this, METHODID_UPDATE_COMPANY))) - .addMethod( - getDeleteCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_COMPANY))) - .addMethod( - getListCompaniesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse>( - this, METHODID_LIST_COMPANIES))) - .build(); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private CompanyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany( - com.google.cloud.talent.v4.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany( - com.google.cloud.talent.v4.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany( - com.google.cloud.talent.v4.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany( - com.google.cloud.talent.v4.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies( - com.google.cloud.talent.v4.ListCompaniesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CompanyServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.cloud.talent.v4.Company createCompany( - com.google.cloud.talent.v4.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.cloud.talent.v4.Company getCompany( - com.google.cloud.talent.v4.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public com.google.cloud.talent.v4.Company updateCompany( - com.google.cloud.talent.v4.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.protobuf.Empty deleteCompany( - com.google.cloud.talent.v4.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4.ListCompaniesResponse listCompanies( - com.google.cloud.talent.v4.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompaniesMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CompanyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getCompany(com.google.cloud.talent.v4.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.ListCompaniesResponse> - listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_COMPANY = 0; - private static final int METHODID_GET_COMPANY = 1; - private static final int METHODID_UPDATE_COMPANY = 2; - private static final int METHODID_DELETE_COMPANY = 3; - private static final int METHODID_LIST_COMPANIES = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompanyServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_COMPANY: - serviceImpl.createCompany( - (com.google.cloud.talent.v4.CreateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_COMPANY: - serviceImpl.getCompany( - (com.google.cloud.talent.v4.GetCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_COMPANY: - serviceImpl.updateCompany( - (com.google.cloud.talent.v4.UpdateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_COMPANY: - serviceImpl.deleteCompany( - (com.google.cloud.talent.v4.DeleteCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPANIES: - serviceImpl.listCompanies( - (com.google.cloud.talent.v4.ListCompaniesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompanyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CompanyService"); - } - } - - private static final class CompanyServiceFileDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier { - CompanyServiceFileDescriptorSupplier() {} - } - - private static final class CompanyServiceMethodDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompanyServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompanyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) - .addMethod(getCreateCompanyMethod()) - .addMethod(getGetCompanyMethod()) - .addMethod(getUpdateCompanyMethod()) - .addMethod(getDeleteCompanyMethod()) - .addMethod(getListCompaniesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java deleted file mode 100644 index 2b4421a625dc..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java +++ /dev/null @@ -1,798 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service that handles tenant management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4/tenant_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TenantServiceGrpc { - - private TenantServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4.TenantService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> - getCreateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTenant", - requestType = com.google.cloud.talent.v4.CreateTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> - getCreateTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> - getCreateTenantMethod; - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - TenantServiceGrpc.getCreateTenantMethod = - getCreateTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateTenantRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("CreateTenant")) - .build(); - } - } - } - return getCreateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> - getGetTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTenant", - requestType = com.google.cloud.talent.v4.GetTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> - getGetTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> - getGetTenantMethod; - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - TenantServiceGrpc.getGetTenantMethod = - getGetTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetTenantRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) - .build(); - } - } - } - return getGetTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> - getUpdateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", - requestType = com.google.cloud.talent.v4.UpdateTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> - getUpdateTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> - getUpdateTenantMethod; - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - TenantServiceGrpc.getUpdateTenantMethod = - getUpdateTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateTenantRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("UpdateTenant")) - .build(); - } - } - } - return getUpdateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", - requestType = com.google.cloud.talent.v4.DeleteTenantRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod; - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - TenantServiceGrpc.getDeleteTenantMethod = - getDeleteTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteTenantRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("DeleteTenant")) - .build(); - } - } - } - return getDeleteTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse> - getListTenantsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTenants", - requestType = com.google.cloud.talent.v4.ListTenantsRequest.class, - responseType = com.google.cloud.talent.v4.ListTenantsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse> - getListTenantsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse> - getListTenantsMethod; - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - TenantServiceGrpc.getListTenantsMethod = - getListTenantsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListTenantsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListTenantsResponse.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) - .build(); - } - } - } - return getListTenantsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static TenantServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - }; - return TenantServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TenantServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - }; - return TenantServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static TenantServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - }; - return TenantServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public abstract static class TenantServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant( - com.google.cloud.talent.v4.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant( - com.google.cloud.talent.v4.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant( - com.google.cloud.talent.v4.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant( - com.google.cloud.talent.v4.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants( - com.google.cloud.talent.v4.ListTenantsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTenantsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateTenantRequest, - com.google.cloud.talent.v4.Tenant>(this, METHODID_CREATE_TENANT))) - .addMethod( - getGetTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetTenantRequest, - com.google.cloud.talent.v4.Tenant>(this, METHODID_GET_TENANT))) - .addMethod( - getUpdateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateTenantRequest, - com.google.cloud.talent.v4.Tenant>(this, METHODID_UPDATE_TENANT))) - .addMethod( - getDeleteTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TENANT))) - .addMethod( - getListTenantsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse>(this, METHODID_LIST_TENANTS))) - .build(); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private TenantServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant( - com.google.cloud.talent.v4.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant( - com.google.cloud.talent.v4.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant( - com.google.cloud.talent.v4.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant( - com.google.cloud.talent.v4.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants( - com.google.cloud.talent.v4.ListTenantsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private TenantServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant createTenant( - com.google.cloud.talent.v4.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant getTenant( - com.google.cloud.talent.v4.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant updateTenant( - com.google.cloud.talent.v4.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.protobuf.Empty deleteTenant( - com.google.cloud.talent.v4.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4.ListTenantsResponse listTenants( - com.google.cloud.talent.v4.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTenantsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private TenantServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createTenant(com.google.cloud.talent.v4.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getTenant(com.google.cloud.talent.v4.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.ListTenantsResponse> - listTenants(com.google.cloud.talent.v4.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TENANT = 0; - private static final int METHODID_GET_TENANT = 1; - private static final int METHODID_UPDATE_TENANT = 2; - private static final int METHODID_DELETE_TENANT = 3; - private static final int METHODID_LIST_TENANTS = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TenantServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TENANT: - serviceImpl.createTenant( - (com.google.cloud.talent.v4.CreateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TENANT: - serviceImpl.getTenant( - (com.google.cloud.talent.v4.GetTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TENANT: - serviceImpl.updateTenant( - (com.google.cloud.talent.v4.UpdateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TENANT: - serviceImpl.deleteTenant( - (com.google.cloud.talent.v4.DeleteTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TENANTS: - serviceImpl.listTenants( - (com.google.cloud.talent.v4.ListTenantsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TenantServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TenantService"); - } - } - - private static final class TenantServiceFileDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier { - TenantServiceFileDescriptorSupplier() {} - } - - private static final class TenantServiceMethodDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TenantServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TenantServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) - .addMethod(getCreateTenantMethod()) - .addMethod(getGetTenantMethod()) - .addMethod(getUpdateTenantMethod()) - .addMethod(getDeleteTenantMethod()) - .addMethod(getListTenantsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java deleted file mode 100644 index 1015857aaf7e..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java +++ /dev/null @@ -1,826 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service that handles company management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/company_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompanyServiceGrpc { - - private CompanyServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.CompanyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getCreateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompany", - requestType = com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getCreateCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getCreateCompanyMethod; - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - CompanyServiceGrpc.getCreateCompanyMethod = - getCreateCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateCompanyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("CreateCompany")) - .build(); - } - } - } - return getCreateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getGetCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompany", - requestType = com.google.cloud.talent.v4beta1.GetCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getGetCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getGetCompanyMethod; - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - CompanyServiceGrpc.getGetCompanyMethod = - getGetCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetCompanyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) - .build(); - } - } - } - return getGetCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getUpdateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", - requestType = com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getUpdateCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company> - getUpdateCompanyMethod; - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - CompanyServiceGrpc.getUpdateCompanyMethod = - getUpdateCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) - .build(); - } - } - } - return getUpdateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", - requestType = com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> - getDeleteCompanyMethod; - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - CompanyServiceGrpc.getDeleteCompanyMethod = - getDeleteCompanyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) - .build(); - } - } - } - return getDeleteCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse> - getListCompaniesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompanies", - requestType = com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse> - getListCompaniesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse> - getListCompaniesMethod; - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - CompanyServiceGrpc.getListCompaniesMethod = - getListCompaniesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListCompaniesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListCompaniesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new CompanyServiceMethodDescriptorSupplier("ListCompanies")) - .build(); - } - } - } - return getListCompaniesMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static CompanyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - }; - return CompanyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompanyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - }; - return CompanyServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CompanyServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - }; - return CompanyServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public abstract static class CompanyServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany( - com.google.cloud.talent.v4beta1.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany( - com.google.cloud.talent.v4beta1.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteCompanyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies( - com.google.cloud.talent.v4beta1.ListCompaniesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCompaniesMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company>(this, METHODID_CREATE_COMPANY))) - .addMethod( - getGetCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company>(this, METHODID_GET_COMPANY))) - .addMethod( - getUpdateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company>(this, METHODID_UPDATE_COMPANY))) - .addMethod( - getDeleteCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_COMPANY))) - .addMethod( - getListCompaniesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse>( - this, METHODID_LIST_COMPANIES))) - .build(); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private CompanyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany( - com.google.cloud.talent.v4beta1.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany( - com.google.cloud.talent.v4beta1.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies( - com.google.cloud.talent.v4beta1.ListCompaniesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CompanyServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company createCompany( - com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company getCompany( - com.google.cloud.talent.v4beta1.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company updateCompany( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.protobuf.Empty deleteCompany( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListCompaniesResponse listCompanies( - com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompaniesMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CompanyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Company> - createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Company> - getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Company> - updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.ListCompaniesResponse> - listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_COMPANY = 0; - private static final int METHODID_GET_COMPANY = 1; - private static final int METHODID_UPDATE_COMPANY = 2; - private static final int METHODID_DELETE_COMPANY = 3; - private static final int METHODID_LIST_COMPANIES = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompanyServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_COMPANY: - serviceImpl.createCompany( - (com.google.cloud.talent.v4beta1.CreateCompanyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_COMPANY: - serviceImpl.getCompany( - (com.google.cloud.talent.v4beta1.GetCompanyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_COMPANY: - serviceImpl.updateCompany( - (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_COMPANY: - serviceImpl.deleteCompany( - (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPANIES: - serviceImpl.listCompanies( - (com.google.cloud.talent.v4beta1.ListCompaniesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompanyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CompanyService"); - } - } - - private static final class CompanyServiceFileDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier { - CompanyServiceFileDescriptorSupplier() {} - } - - private static final class CompanyServiceMethodDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompanyServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompanyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) - .addMethod(getCreateCompanyMethod()) - .addMethod(getGetCompanyMethod()) - .addMethod(getUpdateCompanyMethod()) - .addMethod(getDeleteCompanyMethod()) - .addMethod(getListCompaniesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java deleted file mode 100644 index 528a11de4b18..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java +++ /dev/null @@ -1,363 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service handles auto completion.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompletionGrpc { - - private CompletionGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.Completion"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse> - getCompleteQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", - requestType = com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, - responseType = com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse> - getCompleteQueryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse> - getCompleteQueryMethod; - if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - synchronized (CompletionGrpc.class) { - if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - CompletionGrpc.getCompleteQueryMethod = - getCompleteQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CompleteQueryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CompleteQueryResponse - .getDefaultInstance())) - .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) - .build(); - } - } - } - return getCompleteQueryMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static CompletionStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - }; - return CompletionStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompletionBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - }; - return CompletionBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CompletionFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - }; - return CompletionFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service handles auto completion.
-   * 
- */ - public abstract static class CompletionImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public void completeQuery( - com.google.cloud.talent.v4beta1.CompleteQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCompleteQueryMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCompleteQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse>( - this, METHODID_COMPLETE_QUERY))) - .build(); - } - } - - /** - * - * - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { - private CompletionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - - /** - * - * - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public void completeQuery( - com.google.cloud.talent.v4beta1.CompleteQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CompletionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse completeQuery( - com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteQueryMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CompletionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.CompleteQueryResponse> - completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_COMPLETE_QUERY = 0; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompletionImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompletionImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_COMPLETE_QUERY: - serviceImpl.completeQuery( - (com.google.cloud.talent.v4beta1.CompleteQueryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompletionBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Completion"); - } - } - - private static final class CompletionFileDescriptorSupplier - extends CompletionBaseDescriptorSupplier { - CompletionFileDescriptorSupplier() {} - } - - private static final class CompletionMethodDescriptorSupplier - extends CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompletionMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompletionGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) - .addMethod(getCompleteQueryMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java deleted file mode 100644 index b5c3d0db5a44..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java +++ /dev/null @@ -1,1428 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service handles job management, including job CRUD, enumeration and search.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/job_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class JobServiceGrpc { - - private JobServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.JobService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> - getCreateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJob", - requestType = com.google.cloud.talent.v4beta1.CreateJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> - getCreateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> - getCreateJobMethod; - if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - JobServiceGrpc.getCreateJobMethod = - getCreateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) - .build(); - } - } - } - return getCreateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", - requestType = com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, - com.google.longrunning.Operation> - getBatchCreateJobsMethod; - if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - JobServiceGrpc.getBatchCreateJobsMethod = - getBatchCreateJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) - .build(); - } - } - } - return getBatchCreateJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> - getGetJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJob", - requestType = com.google.cloud.talent.v4beta1.GetJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> - getGetJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> - getGetJobMethod; - if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - JobServiceGrpc.getGetJobMethod = - getGetJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) - .build(); - } - } - } - return getGetJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> - getUpdateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateJob", - requestType = com.google.cloud.talent.v4beta1.UpdateJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> - getUpdateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> - getUpdateJobMethod; - if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - JobServiceGrpc.getUpdateJobMethod = - getUpdateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) - .build(); - } - } - } - return getUpdateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", - requestType = com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, - com.google.longrunning.Operation> - getBatchUpdateJobsMethod; - if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - JobServiceGrpc.getBatchUpdateJobsMethod = - getBatchUpdateJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) - .build(); - } - } - } - return getBatchUpdateJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJob", - requestType = com.google.cloud.talent.v4beta1.DeleteJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod; - if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - JobServiceGrpc.getDeleteJobMethod = - getDeleteJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteJobRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) - .build(); - } - } - } - return getDeleteJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> - getBatchDeleteJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", - requestType = com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> - getBatchDeleteJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> - getBatchDeleteJobsMethod; - if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - JobServiceGrpc.getBatchDeleteJobsMethod = - getBatchDeleteJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) - .build(); - } - } - } - return getBatchDeleteJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse> - getListJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobs", - requestType = com.google.cloud.talent.v4beta1.ListJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse> - getListJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse> - getListJobsMethod; - if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - JobServiceGrpc.getListJobsMethod = - getListJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) - .build(); - } - } - } - return getListJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchJobs", - requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsMethod; - if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - JobServiceGrpc.getSearchJobsMethod = - getSearchJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) - .build(); - } - } - } - return getSearchJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsForAlertMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", - requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsForAlertMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse> - getSearchJobsForAlertMethod; - if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - JobServiceGrpc.getSearchJobsForAlertMethod = - getSearchJobsForAlertMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) - .build(); - } - } - } - return getSearchJobsForAlertMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static JobServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - }; - return JobServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static JobServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - }; - return JobServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static JobServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - }; - return JobServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public abstract static class JobServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void createJob( - com.google.cloud.talent.v4beta1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public void batchCreateJobs( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public void getJob( - com.google.cloud.talent.v4beta1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public void updateJob( - com.google.cloud.talent.v4beta1.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public void batchUpdateJobs( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchUpdateJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public void batchDeleteJobs( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchDeleteJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists jobs by filter.
-     * 
- */ - public void listJobs( - com.google.cloud.talent.v4beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobs( - com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobsForAlert( - com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchJobsForAlertMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateJobRequest, - com.google.cloud.talent.v4beta1.Job>(this, METHODID_CREATE_JOB))) - .addMethod( - getBatchCreateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_JOBS))) - .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetJobRequest, - com.google.cloud.talent.v4beta1.Job>(this, METHODID_GET_JOB))) - .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateJobRequest, - com.google.cloud.talent.v4beta1.Job>(this, METHODID_UPDATE_JOB))) - .addMethod( - getBatchUpdateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_JOBS))) - .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) - .addMethod( - getBatchDeleteJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, - com.google.protobuf.Empty>(this, METHODID_BATCH_DELETE_JOBS))) - .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse>(this, METHODID_LIST_JOBS))) - .addMethod( - getSearchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS))) - .addMethod( - getSearchJobsForAlertMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS_FOR_ALERT))) - .build(); - } - } - - /** - * - * - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { - private JobServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void createJob( - com.google.cloud.talent.v4beta1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public void batchCreateJobs( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public void getJob( - com.google.cloud.talent.v4beta1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public void updateJob( - com.google.cloud.talent.v4beta1.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public void batchUpdateJobs( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public void batchDeleteJobs( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists jobs by filter.
-     * 
- */ - public void listJobs( - com.google.cloud.talent.v4beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobs( - com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobsForAlert( - com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private JobServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job createJob( - com.google.cloud.talent.v4beta1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public com.google.longrunning.Operation batchCreateJobs( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job getJob( - com.google.cloud.talent.v4beta1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job updateJob( - com.google.cloud.talent.v4beta1.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public com.google.longrunning.Operation batchUpdateJobs( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.protobuf.Empty deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteJobs( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists jobs by filter.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs( - com.google.cloud.talent.v4beta1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobs( - com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobsForAlert( - com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private JobServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getJob(com.google.cloud.talent.v4beta1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists jobs by filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.ListJobsResponse> - listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.SearchJobsResponse> - searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.SearchJobsResponse> - searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_JOB = 0; - private static final int METHODID_BATCH_CREATE_JOBS = 1; - private static final int METHODID_GET_JOB = 2; - private static final int METHODID_UPDATE_JOB = 3; - private static final int METHODID_BATCH_UPDATE_JOBS = 4; - private static final int METHODID_DELETE_JOB = 5; - private static final int METHODID_BATCH_DELETE_JOBS = 6; - private static final int METHODID_LIST_JOBS = 7; - private static final int METHODID_SEARCH_JOBS = 8; - private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 9; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final JobServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(JobServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_JOB: - serviceImpl.createJob( - (com.google.cloud.talent.v4beta1.CreateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_JOBS: - serviceImpl.batchCreateJobs( - (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JOB: - serviceImpl.getJob( - (com.google.cloud.talent.v4beta1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_JOB: - serviceImpl.updateJob( - (com.google.cloud.talent.v4beta1.UpdateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_UPDATE_JOBS: - serviceImpl.batchUpdateJobs( - (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_JOB: - serviceImpl.deleteJob( - (com.google.cloud.talent.v4beta1.DeleteJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_JOBS: - serviceImpl.batchDeleteJobs( - (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOBS: - serviceImpl.listJobs( - (com.google.cloud.talent.v4beta1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SEARCH_JOBS: - serviceImpl.searchJobs( - (com.google.cloud.talent.v4beta1.SearchJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SEARCH_JOBS_FOR_ALERT: - serviceImpl.searchJobsForAlert( - (com.google.cloud.talent.v4beta1.SearchJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class JobServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - JobServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("JobService"); - } - } - - private static final class JobServiceFileDescriptorSupplier - extends JobServiceBaseDescriptorSupplier { - JobServiceFileDescriptorSupplier() {} - } - - private static final class JobServiceMethodDescriptorSupplier - extends JobServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - JobServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (JobServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new JobServiceFileDescriptorSupplier()) - .addMethod(getCreateJobMethod()) - .addMethod(getBatchCreateJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getBatchUpdateJobsMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getBatchDeleteJobsMethod()) - .addMethod(getListJobsMethod()) - .addMethod(getSearchJobsMethod()) - .addMethod(getSearchJobsForAlertMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java deleted file mode 100644 index d91eb72e8a1b..000000000000 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java +++ /dev/null @@ -1,819 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * A service that handles tenant management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TenantServiceGrpc { - - private TenantServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.TenantService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getCreateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTenant", - requestType = com.google.cloud.talent.v4beta1.CreateTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getCreateTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getCreateTenantMethod; - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - TenantServiceGrpc.getCreateTenantMethod = - getCreateTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateTenantRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("CreateTenant")) - .build(); - } - } - } - return getCreateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetTenantRequest, com.google.cloud.talent.v4beta1.Tenant> - getGetTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTenant", - requestType = com.google.cloud.talent.v4beta1.GetTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetTenantRequest, com.google.cloud.talent.v4beta1.Tenant> - getGetTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.GetTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getGetTenantMethod; - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - TenantServiceGrpc.getGetTenantMethod = - getGetTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetTenantRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) - .build(); - } - } - } - return getGetTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getUpdateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", - requestType = com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getUpdateTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant> - getUpdateTenantMethod; - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - TenantServiceGrpc.getUpdateTenantMethod = - getUpdateTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateTenantRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("UpdateTenant")) - .build(); - } - } - } - return getUpdateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", - requestType = com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> - getDeleteTenantMethod; - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - TenantServiceGrpc.getDeleteTenantMethod = - getDeleteTenantMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteTenantRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new TenantServiceMethodDescriptorSupplier("DeleteTenant")) - .build(); - } - } - } - return getDeleteTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse> - getListTenantsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTenants", - requestType = com.google.cloud.talent.v4beta1.ListTenantsRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListTenantsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse> - getListTenantsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse> - getListTenantsMethod; - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - TenantServiceGrpc.getListTenantsMethod = - getListTenantsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListTenantsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListTenantsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) - .build(); - } - } - } - return getListTenantsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static TenantServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - }; - return TenantServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TenantServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - }; - return TenantServiceBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static TenantServiceFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - }; - return TenantServiceFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public abstract static class TenantServiceImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant( - com.google.cloud.talent.v4beta1.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant( - com.google.cloud.talent.v4beta1.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant( - com.google.cloud.talent.v4beta1.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant( - com.google.cloud.talent.v4beta1.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTenantMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants( - com.google.cloud.talent.v4beta1.ListTenantsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListTenantsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_CREATE_TENANT))) - .addMethod( - getGetTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_GET_TENANT))) - .addMethod( - getUpdateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_UPDATE_TENANT))) - .addMethod( - getDeleteTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TENANT))) - .addMethod( - getListTenantsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse>( - this, METHODID_LIST_TENANTS))) - .build(); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private TenantServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant( - com.google.cloud.talent.v4beta1.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant( - com.google.cloud.talent.v4beta1.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant( - com.google.cloud.talent.v4beta1.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant( - com.google.cloud.talent.v4beta1.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants( - com.google.cloud.talent.v4beta1.ListTenantsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private TenantServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant createTenant( - com.google.cloud.talent.v4beta1.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant getTenant( - com.google.cloud.talent.v4beta1.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant updateTenant( - com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.protobuf.Empty deleteTenant( - com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTenantMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListTenantsResponse listTenants( - com.google.cloud.talent.v4beta1.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTenantsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private TenantServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Tenant> - createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Tenant> - getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.Tenant> - updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.ListTenantsResponse> - listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TENANT = 0; - private static final int METHODID_GET_TENANT = 1; - private static final int METHODID_UPDATE_TENANT = 2; - private static final int METHODID_DELETE_TENANT = 3; - private static final int METHODID_LIST_TENANTS = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TenantServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TENANT: - serviceImpl.createTenant( - (com.google.cloud.talent.v4beta1.CreateTenantRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_TENANT: - serviceImpl.getTenant( - (com.google.cloud.talent.v4beta1.GetTenantRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TENANT: - serviceImpl.updateTenant( - (com.google.cloud.talent.v4beta1.UpdateTenantRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TENANT: - serviceImpl.deleteTenant( - (com.google.cloud.talent.v4beta1.DeleteTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TENANTS: - serviceImpl.listTenants( - (com.google.cloud.talent.v4beta1.ListTenantsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TenantServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TenantService"); - } - } - - private static final class TenantServiceFileDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier { - TenantServiceFileDescriptorSupplier() {} - } - - private static final class TenantServiceMethodDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TenantServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TenantServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) - .addMethod(getCreateTenantMethod()) - .addMethod(getGetTenantMethod()) - .addMethod(getUpdateTenantMethod()) - .addMethod(getDeleteTenantMethod()) - .addMethod(getListTenantsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java deleted file mode 100644 index 7599af687ace..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java +++ /dev/null @@ -1,345 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/common.proto - -package com.google.cloud.talent.v4; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_TimestampRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_RequestMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_DeviceInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/talent/v4/common.proto\022\026g" - + "oogle.cloud.talent.v4\032\037google/api/field_" - + "behavior.proto\032\037google/protobuf/timestam" - + "p.proto\032\036google/protobuf/wrappers.proto\032" - + "\030google/type/latlng.proto\032\027google/type/m" - + "oney.proto\032 google/type/postal_address.p" - + "roto\"n\n\016TimestampRange\022.\n\nstart_time\030\001 \001" - + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" - + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"\262\003\n" - + "\010Location\022D\n\rlocation_type\030\001 \001(\0162-.googl" - + "e.cloud.talent.v4.Location.LocationType\022" - + "2\n\016postal_address\030\002 \001(\0132\032.google.type.Po" - + "stalAddress\022$\n\007lat_lng\030\003 \001(\0132\023.google.ty" - + "pe.LatLng\022\024\n\014radius_miles\030\004 \001(\001\"\357\001\n\014Loca" - + "tionType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020\000\022" - + "\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATIVE_AREA\020\002\022\033\n" - + "\027SUB_ADMINISTRATIVE_AREA\020\003\022\014\n\010LOCALITY\020\004" - + "\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOCALITY\020\006\022\022\n\016S" - + "UB_LOCALITY_1\020\007\022\022\n\016SUB_LOCALITY_2\020\010\022\020\n\014N" - + "EIGHBORHOOD\020\t\022\022\n\016STREET_ADDRESS\020\n\"\232\001\n\017Re" - + "questMetadata\022\016\n\006domain\030\001 \001(\t\022\022\n\nsession" - + "_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031\n\021allow_miss" - + "ing_ids\030\004 \001(\010\0227\n\013device_info\030\005 \001(\0132\".goo" - + "gle.cloud.talent.v4.DeviceInfo\"&\n\020Respon" - + "seMetadata\022\022\n\nrequest_id\030\001 \001(\t\"\312\001\n\nDevic" - + "eInfo\022B\n\013device_type\030\001 \001(\0162-.google.clou" - + "d.talent.v4.DeviceInfo.DeviceType\022\n\n\002id\030" - + "\002 \001(\t\"l\n\nDeviceType\022\033\n\027DEVICE_TYPE_UNSPE" - + "CIFIED\020\000\022\007\n\003WEB\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007AND" - + "ROID\020\003\022\007\n\003IOS\020\004\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017C" - + "ustomAttribute\022\025\n\rstring_values\030\001 \003(\t\022\023\n" - + "\013long_values\030\002 \003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032" - + "\n\022keyword_searchable\030\004 \001(\010\"W\n\022SpellingCo" - + "rrection\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected" - + "_text\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\210\t\n\020" - + "CompensationInfo\022K\n\007entries\030\001 \003(\0132:.goog" - + "le.cloud.talent.v4.CompensationInfo.Comp" - + "ensationEntry\022k\n\"annualized_base_compens" - + "ation_range\030\002 \001(\0132:.google.cloud.talent." - + "v4.CompensationInfo.CompensationRangeB\003\340" - + "A\003\022l\n#annualized_total_compensation_rang" - + "e\030\003 \001(\0132:.google.cloud.talent.v4.Compens" - + "ationInfo.CompensationRangeB\003\340A\003\032\203\003\n\021Com" - + "pensationEntry\022G\n\004type\030\001 \001(\01629.google.cl" - + "oud.talent.v4.CompensationInfo.Compensat" - + "ionType\022G\n\004unit\030\002 \001(\01629.google.cloud.tal" - + "ent.v4.CompensationInfo.CompensationUnit" - + "\022$\n\006amount\030\003 \001(\0132\022.google.type.MoneyH\000\022K" - + "\n\005range\030\004 \001(\0132:.google.cloud.talent.v4.C" - + "ompensationInfo.CompensationRangeH\000\022\023\n\013d" - + "escription\030\005 \001(\t\022=\n\027expected_units_per_y" - + "ear\030\006 \001(\0132\034.google.protobuf.DoubleValueB" - + "\025\n\023compensation_amount\032o\n\021CompensationRa" - + "nge\022,\n\020max_compensation\030\002 \001(\0132\022.google.t" - + "ype.Money\022,\n\020min_compensation\030\001 \001(\0132\022.go" - + "ogle.type.Money\"\265\001\n\020CompensationType\022!\n\035" - + "COMPENSATION_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020" - + "\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BONUS\020\003\022\n\n\006EQUIT" - + "Y\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n\013COMMISSIONS\020\006" - + "\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPENSATION_TYPE\020\010\"" - + "\234\001\n\020CompensationUnit\022!\n\035COMPENSATION_UNI" - + "T_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020\002\022\n" - + "\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\022\014\n\010O" - + "NE_TIME\020\006\022\033\n\027OTHER_COMPENSATION_UNIT\020\007\"\307" - + "\003\n\026BatchOperationMetadata\022C\n\005state\030\001 \001(\016" - + "24.google.cloud.talent.v4.BatchOperation" - + "Metadata.State\022\031\n\021state_description\030\002 \001(" - + "\t\022\025\n\rsuccess_count\030\003 \001(\005\022\025\n\rfailure_coun" - + "t\030\004 \001(\005\022\023\n\013total_count\030\005 \001(\005\022/\n\013create_t" - + "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" - + "estamp\022,\n\010end_time\030\010 \001(\0132\032.google.protob" - + "uf.Timestamp\"z\n\005State\022\025\n\021STATE_UNSPECIFI" - + "ED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022\r" - + "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\016\n\nCANCELLING\020" - + "\005\022\r\n\tCANCELLED\020\006*y\n\013CompanySize\022\034\n\030COMPA" - + "NY_SIZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL" - + "\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006" - + "BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JO" - + "B_BENEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022" - + "\n\n\006DENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLE" - + "XIBLE_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSUR" - + "ANCE\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT" - + "_PLAN\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006" - + "VISION\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_U" - + "NSPECIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031L" - + "OWER_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECO" - + "NDARY_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUC" - + "ATION\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n" - + "\027BACHELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR" - + "_EQUIVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020" - + "\010*\334\001\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_" - + "UNSPECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIM" - + "E\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020" - + "\004\022\r\n\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEE" - + "R\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n" - + "\025OTHER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025" - + "JOB_LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001" - + "\022\017\n\013EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECT" - + "OR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030J" - + "OB_CATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_" - + "AND_FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFI" - + "CE\020\002\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013A" - + "NIMAL_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005" - + "\022\027\n\023BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AN" - + "D_FACILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014C" - + "ONSTRUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tE" - + "DUCATION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014" - + "\022\030\n\024FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE" - + "\020\016\022\023\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_" - + "MAINTENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nM" - + "ANAGEMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOU" - + "SE\020\023\022$\n MEDIA_COMMUNICATIONS_AND_WRITING" - + "\020\024\022\026\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_C" - + "ARE_AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICE" - + "S\020\027\022\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_H" - + "OSPITALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SC" - + "IENCE_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVIC" - + "ES_AND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AN" - + "D_RECREATION\020\035\022 \n\034TRANSPORTATION_AND_LOG" - + "ISTICS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REG" - + "ION_UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA" - + "\020\001\022\n\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisib" - + "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACC" - + "OUNT_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022S" - + "HARED_WITH_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitizat" - + "ion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036" - + "\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE" - + "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" - + "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" - + "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" - + "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" - + "oud.talent.v4B\013CommonProtoP\001Z23/v4/{company.name=projects/*/te" - + "nants/*/companies/*}:\007company\332A\023company," - + "update_mask\022\221\001\n\rDeleteCompany\022,.google.c" - + "loud.talent.v4.DeleteCompanyRequest\032\026.go" - + "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v4/{name=p" - + "rojects/*/tenants/*/companies/*}\332A\004name\022" - + "\252\001\n\rListCompanies\022,.google.cloud.talent." - + "v4.ListCompaniesRequest\032-.google.cloud.t" - + "alent.v4.ListCompaniesResponse\"<\202\323\344\223\002-\022+" - + "/v4/{parent=projects/*/tenants/*}/compan" - + "ies\332A\006parent\032l\312A\023jobs.googleapis.com\322ASh" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform,https://www.googleapis.com/auth/jo" - + "bsBw\n\032com.google.cloud.talent.v4B\023Compan" - + "yServiceProtoP\001Z.google.cloud.talent.v4.CompleteQuer" - + "yResponse.CompletionResult\022:\n\010metadata\030\002" - + " \001(\0132(.google.cloud.talent.v4.ResponseMe" - + "tadata\032\204\001\n\020CompletionResult\022\022\n\nsuggestio" - + "n\030\001 \001(\t\022I\n\004type\030\002 \001(\0162;.google.cloud.tal" - + "ent.v4.CompleteQueryRequest.CompletionTy" - + "pe\022\021\n\timage_uri\030\003 \001(\t2\242\002\n\nCompletion\022\245\001\n" - + "\rCompleteQuery\022,.google.cloud.talent.v4." - + "CompleteQueryRequest\032-.google.cloud.tale" - + "nt.v4.CompleteQueryResponse\"7\202\323\344\223\0021\022//v4" - + "/{tenant=projects/*/tenants/*}:completeQ" - + "uery\032l\312A\023jobs.googleapis.com\322AShttps://w" - + "ww.googleapis.com/auth/cloud-platform,ht" - + "tps://www.googleapis.com/auth/jobsBz\n\032co" - + "m.google.cloud.talent.v4B\026CompletionServ" - + "iceProtoP\001Z - * Required. The resource name of the company to be deleted. - * The format is - * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/foo/tenants/bar/companies/baz". - *
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the company to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
-   * example, "projects/foo/tenants/bar/companies/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java deleted file mode 100644 index 67be0b74c015..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/job_service.proto - -package com.google.cloud.talent.v4; - -public interface DeleteJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the job to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the job to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java deleted file mode 100644 index 52c6779909ed..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant_service.proto - -package com.google.cloud.talent.v4; - -public interface DeleteTenantRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java deleted file mode 100644 index f8522a8fa5fc..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/event.proto - -package com.google.cloud.talent.v4; - -public final class EventProto { - private EventProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_ClientEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_JobEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/talent/v4/event.proto\022\026go" - + "ogle.cloud.talent.v4\032\037google/api/field_b" - + "ehavior.proto\032\037google/protobuf/timestamp" - + ".proto\"\303\001\n\013ClientEvent\022\022\n\nrequest_id\030\001 \001" - + "(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013create_time" - + "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" - + "5\n\tjob_event\030\005 \001(\0132 .google.cloud.talent" - + ".v4.JobEventH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005e" - + "vent\"\340\003\n\010JobEvent\022@\n\004type\030\001 \001(\0162-.google" - + ".cloud.talent.v4.JobEvent.JobEventTypeB\003" - + "\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340A\002\"\376\002\n\014JobEventType\022" - + "\036\n\032JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE" - + "SSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021" - + "APPLICATION_START\020\004\022\026\n\022APPLICATION_FINIS" - + "H\020\005\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n" - + "\024APPLICATION_REDIRECT\020\007\022!\n\035APPLICATION_S" - + "TART_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRE" - + "CT_FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_" - + "SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014" - + "\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GR" - + "ANTED\020\017Bn\n\032com.google.cloud.talent.v4B\nE" - + "ventProtoP\001Z\n\014client_event\030\002 \001" - + "(\0132#.google.cloud.talent.v4.ClientEventB" - + "\003\340A\0022\305\002\n\014EventService\022\306\001\n\021CreateClientEv" - + "ent\0220.google.cloud.talent.v4.CreateClien" - + "tEventRequest\032#.google.cloud.talent.v4.C" - + "lientEvent\"Z\202\323\344\223\002>\"./v4/{parent=projects" - + "/*/tenants/*}/clientEvents:\014client_event" - + "\332A\023parent,client_event\032l\312A\023jobs.googleap" - + "is.com\322AShttps://www.googleapis.com/auth" - + "/cloud-platform,https://www.googleapis.c" - + "om/auth/jobsBu\n\032com.google.cloud.talent." - + "v4B\021EventServiceProtoP\001Z - * Required. The resource name of the company to be retrieved. - * The format is - * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/api-test-project/tenants/foo/companies/bar". - *
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the company to be retrieved.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
-   * example, "projects/api-test-project/tenants/foo/companies/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java deleted file mode 100644 index 2cd5e9050380..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/job_service.proto - -package com.google.cloud.talent.v4; - -public interface GetJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the job to retrieve.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the job to retrieve.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java deleted file mode 100644 index 8daf851a3510..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant_service.proto - -package com.google.cloud.talent.v4; - -public interface GetTenantRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java deleted file mode 100644 index 0b84891210be..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/histogram.proto - -package com.google.cloud.talent.v4; - -public final class HistogramProto { - private HistogramProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/talent/v4/histogram.proto" - + "\022\026google.cloud.talent.v4\")\n\016HistogramQue" - + "ry\022\027\n\017histogram_query\030\001 \001(\t\"\261\001\n\024Histogra" - + "mQueryResult\022\027\n\017histogram_query\030\001 \001(\t\022N\n" - + "\thistogram\030\002 \003(\0132;.google.cloud.talent.v" - + "4.HistogramQueryResult.HistogramEntry\0320\n" - + "\016HistogramEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\003:\0028\001Br\n\032com.google.cloud.talent.v4B\016H" - + "istogramProtoP\001Z\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372" - + "A\031\n\027jobs.googleapis.com/Job\"r\n\020UpdateJob" - + "Request\022-\n\003job\030\001 \001(\0132\033.google.cloud.tale" - + "nt.v4.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" - + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" - + "is.com/Job\"\261\001\n\017ListJobsRequest\022/\n\006parent" - + "\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022" - + "\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\npage_token\030\003 \001(\t" - + "\022\021\n\tpage_size\030\004 \001(\005\0221\n\010job_view\030\005 \001(\0162\037." - + "google.cloud.talent.v4.JobView\"\222\001\n\020ListJ" - + "obsResponse\022)\n\004jobs\030\001 \003(\0132\033.google.cloud" - + ".talent.v4.Job\022\027\n\017next_page_token\030\002 \001(\t\022" - + ":\n\010metadata\030\003 \001(\0132(.google.cloud.talent." - + "v4.ResponseMetadata\"\274\013\n\021SearchJobsReques" - + "t\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleap" - + "is.com/Job\022I\n\013search_mode\030\002 \001(\01624.google" - + ".cloud.talent.v4.SearchJobsRequest.Searc" - + "hMode\022F\n\020request_metadata\030\003 \001(\0132\'.google" - + ".cloud.talent.v4.RequestMetadataB\003\340A\002\0223\n" - + "\tjob_query\030\004 \001(\0132 .google.cloud.talent.v" - + "4.JobQuery\022\031\n\021enable_broadening\030\005 \001(\010\022A\n" - + "\021histogram_queries\030\007 \003(\0132&.google.cloud." - + "talent.v4.HistogramQuery\0221\n\010job_view\030\010 \001" - + "(\0162\037.google.cloud.talent.v4.JobView\022\016\n\006o" - + "ffset\030\t \001(\005\022\025\n\rmax_page_size\030\n \001(\005\022\022\n\npa" - + "ge_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t\022]\n\025dive" - + "rsification_level\030\r \001(\0162>.google.cloud.t" - + "alent.v4.SearchJobsRequest.Diversificati" - + "onLevel\022X\n\023custom_ranking_info\030\016 \001(\0132;.g" - + "oogle.cloud.talent.v4.SearchJobsRequest." - + "CustomRankingInfo\022!\n\025disable_keyword_mat" - + "ch\030\020 \001(\010B\002\030\001\022V\n\022keyword_match_mode\030\022 \001(\016" - + "2:.google.cloud.talent.v4.SearchJobsRequ" - + "est.KeywordMatchMode\032\225\002\n\021CustomRankingIn" - + "fo\022j\n\020importance_level\030\001 \001(\0162K.google.cl" - + "oud.talent.v4.SearchJobsRequest.CustomRa" - + "nkingInfo.ImportanceLevelB\003\340A\002\022\037\n\022rankin" - + "g_expression\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLev" - + "el\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004" - + "NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n" - + "\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SE" - + "ARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022" - + "\027\n\023FEATURED_JOB_SEARCH\020\002\"\245\001\n\024Diversifica" - + "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE" - + "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\022\023\n\017ON" - + "E_PER_COMPANY\020\003\022\023\n\017TWO_PER_COMPANY\020\004\022\"\n\036" - + "DIVERSIFY_BY_LOOSER_SIMILARITY\020\005\"\207\001\n\020Key" - + "wordMatchMode\022\"\n\036KEYWORD_MATCH_MODE_UNSP" - + "ECIFIED\020\000\022\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n" - + "\021KEYWORD_MATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TI" - + "TLE_ONLY\020\003\"\221\006\n\022SearchJobsResponse\022M\n\rmat" - + "ching_jobs\030\001 \003(\01326.google.cloud.talent.v" - + "4.SearchJobsResponse.MatchingJob\022M\n\027hist" - + "ogram_query_results\030\002 \003(\0132,.google.cloud" - + ".talent.v4.HistogramQueryResult\022\027\n\017next_" - + "page_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003" - + "(\0132 .google.cloud.talent.v4.Location\022\022\n\n" - + "total_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.goo" - + "gle.cloud.talent.v4.ResponseMetadata\022\"\n\032" - + "broadened_query_jobs_count\030\010 \001(\005\022D\n\020spel" - + "l_correction\030\t \001(\0132*.google.cloud.talent" - + ".v4.SpellingCorrection\032\322\001\n\013MatchingJob\022(" - + "\n\003job\030\001 \001(\0132\033.google.cloud.talent.v4.Job" - + "\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snipp" - + "et\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n" - + "\014commute_info\030\005 \001(\01326.google.cloud.talen" - + "t.v4.SearchJobsResponse.CommuteInfo\032y\n\013C" - + "ommuteInfo\0226\n\014job_location\030\001 \001(\0132 .googl" - + "e.cloud.talent.v4.Location\0222\n\017travel_dur" - + "ation\030\002 \001(\0132\031.google.protobuf.Duration\"y" - + "\n\026BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\t" - + "B\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004job" - + "s\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A" - + "\002\"\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001" - + " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n" - + "\004jobs\030\002 \003(\0132\033.google.cloud.talent.v4.Job" - + "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" - + "obuf.FieldMask\"y\n\026BatchDeleteJobsRequest" - + "\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapi" - + "s.com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.g" - + "oogleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 " - + "\001(\0132\033.google.cloud.talent.v4.Job\022\"\n\006stat" - + "us\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCre" - + "ateJobsResponse\0226\n\013job_results\030\001 \003(\0132!.g" - + "oogle.cloud.talent.v4.JobResult\"Q\n\027Batch" - + "UpdateJobsResponse\0226\n\013job_results\030\001 \003(\0132" - + "!.google.cloud.talent.v4.JobResult\"Q\n\027Ba" - + "tchDeleteJobsResponse\0226\n\013job_results\030\001 \003" - + "(\0132!.google.cloud.talent.v4.JobResult*v\n" - + "\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JO" - + "B_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022" - + "\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016" - + "\n\nJobService\022\224\001\n\tCreateJob\022(.google.clou" - + "d.talent.v4.CreateJobRequest\032\033.google.cl" - + "oud.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=p" - + "rojects/*/tenants/*}/jobs:\003job\332A\nparent," - + "job\022\341\001\n\017BatchCreateJobs\022..google.cloud.t" - + "alent.v4.BatchCreateJobsRequest\032\035.google" - + ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par" - + "ent=projects/*/tenants/*}/jobs:batchCrea" - + "te:\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsR" - + "esponse\022\026BatchOperationMetadata\022\203\001\n\006GetJ" - + "ob\022%.google.cloud.talent.v4.GetJobReques" - + "t\032\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&" - + "/v4/{name=projects/*/tenants/*/jobs/*}\332A" - + "\004name\022\235\001\n\tUpdateJob\022(.google.cloud.talen" - + "t.v4.UpdateJobRequest\032\033.google.cloud.tal" - + "ent.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projec" - + "ts/*/tenants/*/jobs/*}:\003job\332A\017job,update" - + "_mask\022\341\001\n\017BatchUpdateJobs\022..google.cloud" - + ".talent.v4.BatchUpdateJobsRequest\032\035.goog" - + "le.longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{p" - + "arent=projects/*/tenants/*}/jobs:batchUp" - + "date:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJob" - + "sResponse\022\026BatchOperationMetadata\022\204\001\n\tDe" - + "leteJob\022(.google.cloud.talent.v4.DeleteJ" - + "obRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002" - + "(*&/v4/{name=projects/*/tenants/*/jobs/*" - + "}\332A\004name\022\343\001\n\017BatchDeleteJobs\022..google.cl" - + "oud.talent.v4.BatchDeleteJobsRequest\032\035.g" - + "oogle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v" - + "4/{parent=projects/*/tenants/*}/jobs:bat" - + "chDelete:\001*\332A\014parent,names\312A1\n\027BatchDele" - + "teJobsResponse\022\026BatchOperationMetadata\022\235" - + "\001\n\010ListJobs\022\'.google.cloud.talent.v4.Lis" - + "tJobsRequest\032(.google.cloud.talent.v4.Li" - + "stJobsResponse\">\202\323\344\223\002(\022&/v4/{parent=proj" - + "ects/*/tenants/*}/jobs\332A\rparent,filter\022\235" - + "\001\n\nSearchJobs\022).google.cloud.talent.v4.S" - + "earchJobsRequest\032*.google.cloud.talent.v" - + "4.SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{paren" - + "t=projects/*/tenants/*}/jobs:search:\001*\022\255" - + "\001\n\022SearchJobsForAlert\022).google.cloud.tal" - + "ent.v4.SearchJobsRequest\032*.google.cloud." - + "talent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v" - + "4/{parent=projects/*/tenants/*}/jobs:sea" - + "rchForAlert:\001*\032l\312A\023jobs.googleapis.com\322A" - + "Shttps://www.googleapis.com/auth/cloud-p" - + "latform,https://www.googleapis.com/auth/" - + "jobsBs\n\032com.google.cloud.talent.v4B\017JobS" - + "erviceProtoP\001Z - * A unique id associated with this call. - * This id is logged for tracking purposes. - *
- * - * string request_id = 1; - * - * @return The requestId. - */ - java.lang.String getRequestId(); - /** - * - * - *
-   * A unique id associated with this call.
-   * This id is logged for tracking purposes.
-   * 
- * - * string request_id = 1; - * - * @return The bytes for requestId. - */ - com.google.protobuf.ByteString getRequestIdBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java deleted file mode 100644 index 83b26d9a14e9..000000000000 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant.proto - -package com.google.cloud.talent.v4; - -public final class TenantProto { - private TenantProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_Tenant_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/talent/v4/tenant.proto\022\026g" - + "oogle.cloud.talent.v4\032\037google/api/field_" - + "behavior.proto\032\031google/api/resource.prot" - + "o\"v\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013external_id" - + "\030\002 \001(\tB\003\340A\002:D\352AA\n\032jobs.googleapis.com/Te" - + "nant\022#projects/{project}/tenants/{tenant" - + "}Bo\n\032com.google.cloud.talent.v4B\013TenantP" - + "rotoP\001Z - * Required. The resource name of the tenant under which the job is created. - * The format is "projects/{project_id}/tenants/{tenant_id}". For example, - * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant - * is created. For example, "projects/foo". - *
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The resource name of the tenant under which the job is created.
-   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
-   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
-   * is created. For example, "projects/foo".
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getJobsList(); - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.talent.v4beta1.Job getJobs(int index); - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getJobsCount(); - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getJobsOrBuilderList(); - /** - * - * - *
-   * Required. The jobs to be created.
-   * 
- * - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index); -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java deleted file mode 100644 index ed90f94ed8bc..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/batch.proto - -package com.google.cloud.talent.v4beta1; - -public final class BatchProto { - private BatchProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/batch.prot" - + "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go" - + "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z" - + "Agoogle.golang.org/genproto/googleapis/c" - + "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java deleted file mode 100644 index dbe85a81e01b..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java +++ /dev/null @@ -1,350 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/common.proto - -package com.google.cloud.talent.v4beta1; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/talent/v4beta1/common.pro" - + "to\022\033google.cloud.talent.v4beta1\032\037google/" - + "api/field_behavior.proto\032\037google/protobu" - + "f/timestamp.proto\032\036google/protobuf/wrapp" - + "ers.proto\032\030google/type/latlng.proto\032\027goo" - + "gle/type/money.proto\032 google/type/postal" - + "_address.proto\"n\n\016TimestampRange\022.\n\nstar" - + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" - + "\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" - + "estamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001" - + "(\01622.google.cloud.talent.v4beta1.Locatio" - + "n.LocationType\0222\n\016postal_address\030\002 \001(\0132\032" - + ".google.type.PostalAddress\022$\n\007lat_lng\030\003 " - + "\001(\0132\023.google.type.LatLng\022\024\n\014radius_miles" - + "\030\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE" - + "_UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTR" - + "ATIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020" - + "\003\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_" - + "LOCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LO" - + "CALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_A" - + "DDRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001" - + " \001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(" - + "\t\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_i" - + "nfo\030\005 \001(\0132\'.google.cloud.talent.v4beta1." - + "DeviceInfo\"&\n\020ResponseMetadata\022\022\n\nreques" - + "t_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type" - + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Dev" - + "iceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDevice" - + "Type\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB" - + "\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004" - + "\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017CustomAttribute\022" - + "\025\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 " - + "\003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032\n\022keyword_searc" - + "hable\030\004 \001(\010\"W\n\022SpellingCorrection\022\021\n\tcor" - + "rected\030\001 \001(\010\022\026\n\016corrected_text\030\002 \001(\t\022\026\n\016" - + "corrected_html\030\003 \001(\t\"\246\t\n\020CompensationInf" - + "o\022P\n\007entries\030\001 \003(\0132?.google.cloud.talent" - + ".v4beta1.CompensationInfo.CompensationEn" - + "try\022p\n\"annualized_base_compensation_rang" - + "e\030\002 \001(\0132?.google.cloud.talent.v4beta1.Co" - + "mpensationInfo.CompensationRangeB\003\340A\003\022q\n" - + "#annualized_total_compensation_range\030\003 \001" - + "(\0132?.google.cloud.talent.v4beta1.Compens" - + "ationInfo.CompensationRangeB\003\340A\003\032\222\003\n\021Com" - + "pensationEntry\022L\n\004type\030\001 \001(\0162>.google.cl" - + "oud.talent.v4beta1.CompensationInfo.Comp" - + "ensationType\022L\n\004unit\030\002 \001(\0162>.google.clou" - + "d.talent.v4beta1.CompensationInfo.Compen" - + "sationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type" - + ".MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.t" - + "alent.v4beta1.CompensationInfo.Compensat" - + "ionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expec" - + "ted_units_per_year\030\006 \001(\0132\034.google.protob" - + "uf.DoubleValueB\025\n\023compensation_amount\032o\n" - + "\021CompensationRange\022,\n\020max_compensation\030\002" - + " \001(\0132\022.google.type.Money\022,\n\020min_compensa" - + "tion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compe" - + "nsationType\022!\n\035COMPENSATION_TYPE_UNSPECI" - + "FIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_B" - + "ONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017" - + "\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPE" - + "NSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035C" - + "OMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY" - + "\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n" - + "\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPEN" - + "SATION_UNIT\020\007\"\314\003\n\026BatchOperationMetadata" - + "\022H\n\005state\030\001 \001(\01629.google.cloud.talent.v4" - + "beta1.BatchOperationMetadata.State\022\031\n\021st" - + "ate_description\030\002 \001(\t\022\025\n\rsuccess_count\030\003" - + " \001(\005\022\025\n\rfailure_count\030\004 \001(\005\022\023\n\013total_cou" - + "nt\030\005 \001(\005\022/\n\013create_time\030\006 \001(\0132\032.google.p" - + "rotobuf.Timestamp\022/\n\013update_time\030\007 \001(\0132\032" - + ".google.protobuf.Timestamp\022,\n\010end_time\030\010" - + " \001(\0132\032.google.protobuf.Timestamp\"z\n\005Stat" - + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIALIZING" - + "\020\001\022\016\n\nPROCESSING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI" - + "LED\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLED\020\006*y\n\013" - + "CompanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020" - + "\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006M" - + "EDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*" - + "\342\001\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIE" - + "D\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMES" - + "TIC_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MED" - + "ICAL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_L" - + "EAVE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS" - + "\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeT" - + "ype\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIM" - + "ARY_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCA" - + "TION\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n" - + "\030ADULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATE" - + "S_OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVA" - + "LENT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOC" - + "TORAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType" - + "\022\037\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFUL" - + "L_TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022" - + "\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006" - + "INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n" - + "\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TY" - + "PE\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIE" - + "D\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n" - + "\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*" - + "\272\006\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIF" - + "IED\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADM" - + "INISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_" - + "AND_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_" - + "FASHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATI" - + "ONS\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017CO" - + "MPUTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUS" - + "TOMER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERT" - + "AINMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTD" - + "OORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCE" - + "S\020\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPA" - + "IR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUF" - + "ACTURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUN" - + "ICATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MI" - + "NING\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027" - + "\n\023PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030" - + "\022\036\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALE" - + "S_AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERIN" - + "G\020\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022" - + "!\n\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TR" - + "ANSPORTATION_AND_LOGISTICS\020\036*e\n\rPostingR" - + "egion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n" - + "\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TE" - + "LECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VISIBILITY_" - + "UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARE" - + "D_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003\032" - + "\002\030\001*q\n\020HtmlSanitization\022!\n\035HTML_SANITIZA" - + "TION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZATION_" - + "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" - + "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" - + "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" - + "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." - + "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" - + "lang.org/genproto/googleapis/cloud/talen" - + "t/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", - }); - internal_static_google_cloud_talent_v4beta1_Location_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Location_descriptor, - new java.lang.String[] { - "LocationType", "PostalAddress", "LatLng", "RadiusMiles", - }); - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor, - new java.lang.String[] { - "Domain", "SessionId", "UserId", "AllowMissingIds", "DeviceInfo", - }); - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor, - new java.lang.String[] { - "RequestId", - }); - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor, - new java.lang.String[] { - "DeviceType", "Id", - }); - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor, - new java.lang.String[] { - "StringValues", "LongValues", "Filterable", "KeywordSearchable", - }); - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor, - new java.lang.String[] { - "Corrected", "CorrectedText", "CorrectedHtml", - }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor, - new java.lang.String[] { - "Entries", "AnnualizedBaseCompensationRange", "AnnualizedTotalCompensationRange", - }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor, - new java.lang.String[] { - "Type", - "Unit", - "Amount", - "Range", - "Description", - "ExpectedUnitsPerYear", - "CompensationAmount", - }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor = - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor, - new java.lang.String[] { - "MaxCompensation", "MinCompensation", - }); - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor, - new java.lang.String[] { - "State", - "StateDescription", - "SuccessCount", - "FailureCount", - "TotalCount", - "CreateTime", - "UpdateTime", - "EndTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java deleted file mode 100644 index 1b63ab21ba97..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/company.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompanyResourceProto { - private CompanyResourceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Company_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/talent/v4beta1/company.pr" - + "oto\022\033google.cloud.talent.v4beta1\032\037google" - + "/api/field_behavior.proto\032\031google/api/re" - + "source.proto\032(google/cloud/talent/v4beta" - + "1/common.proto\"\200\005\n\007Company\022\014\n\004name\030\001 \001(\t" - + "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013external_" - + "id\030\003 \001(\tB\003\340A\002\0226\n\004size\030\004 \001(\0162(.google.clo" - + "ud.talent.v4beta1.CompanySize\022\034\n\024headqua" - + "rters_address\030\005 \001(\t\022\025\n\rhiring_agency\030\006 \001" - + "(\010\022\020\n\010eeo_text\030\007 \001(\t\022\023\n\013website_uri\030\010 \001(" - + "\t\022\027\n\017career_site_uri\030\t \001(\t\022\021\n\timage_uri\030" - + "\n \001(\t\0224\n(keyword_searchable_job_custom_a" - + "ttributes\030\013 \003(\tB\002\030\001\022K\n\014derived_info\030\014 \001(" - + "\01320.google.cloud.talent.v4beta1.Company." - + "DerivedInfoB\003\340A\003\022\026\n\tsuspended\030\r \001(\010B\003\340A\003" - + "\032S\n\013DerivedInfo\022D\n\025headquarters_location" - + "\030\001 \001(\0132%.google.cloud.talent.v4beta1.Loc" - + "ation:\201\001\352A~\n\033jobs.googleapis.com/Company" - + "\0227projects/{project}/tenants/{tenant}/co" - + "mpanies/{company}\022&projects/{project}/co" - + "mpanies/{company}B\202\001\n\037com.google.cloud.t" - + "alent.v4beta1B\024CompanyResourceProtoP\001ZAg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Company_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Company_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "ExternalId", - "Size", - "HeadquartersAddress", - "HiringAgency", - "EeoText", - "WebsiteUri", - "CareerSiteUri", - "ImageUri", - "KeywordSearchableJobCustomAttributes", - "DerivedInfo", - "Suspended", - }); - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Company_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor, - new java.lang.String[] { - "HeadquartersLocation", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java deleted file mode 100644 index 41feb9ae8cc7..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java +++ /dev/null @@ -1,208 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/company_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompanyServiceProto { - private CompanyServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/talent/v4beta1/company_se" - + "rvice.proto\022\033google.cloud.talent.v4beta1" - + "\032\034google/api/annotations.proto\032\027google/a" - + "pi/client.proto\032\037google/api/field_behavi" - + "or.proto\032\031google/api/resource.proto\032(goo" - + "gle/cloud/talent/v4beta1/common.proto\032)g" - + "oogle/cloud/talent/v4beta1/company.proto" - + "\032\033google/protobuf/empty.proto\032 google/pr" - + "otobuf/field_mask.proto\"\207\001\n\024CreateCompan" - + "yRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\022\033jobs.g" - + "oogleapis.com/Company\022:\n\007company\030\002 \001(\0132$" - + ".google.cloud.talent.v4beta1.CompanyB\003\340A" - + "\002\"F\n\021GetCompanyRequest\0221\n\004name\030\001 \001(\tB#\340A" - + "\002\372A\035\n\033jobs.googleapis.com/Company\"\203\001\n\024Up" - + "dateCompanyRequest\022:\n\007company\030\001 \001(\0132$.go" - + "ogle.cloud.talent.v4beta1.CompanyB\003\340A\002\022/" - + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" - + "eldMask\"I\n\024DeleteCompanyRequest\0221\n\004name\030" - + "\001 \001(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Compa" - + "ny\"\215\001\n\024ListCompaniesRequest\0223\n\006parent\030\001 " - + "\001(\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company" - + "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" - + "\031\n\021require_open_jobs\030\004 \001(\010\"\252\001\n\025ListCompa" - + "niesResponse\0227\n\tcompanies\030\001 \003(\0132$.google" - + ".cloud.talent.v4beta1.Company\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.googl" - + "e.cloud.talent.v4beta1.ResponseMetadata2" - + "\322\t\n\016CompanyService\022\343\001\n\rCreateCompany\0221.g" - + "oogle.cloud.talent.v4beta1.CreateCompany" - + "Request\032$.google.cloud.talent.v4beta1.Co" - + "mpany\"y\202\323\344\223\002b\"0/v4beta1/{parent=projects" - + "/*/tenants/*}/companies:\001*Z+\"&/v4beta1/{" - + "parent=projects/*}/companies:\001*\332A\016parent" - + ",company\022\315\001\n\nGetCompany\022..google.cloud.t" - + "alent.v4beta1.GetCompanyRequest\032$.google" - + ".cloud.talent.v4beta1.Company\"i\202\323\344\223\002\\\0220/" - + "v4beta1/{name=projects/*/tenants/*/compa" - + "nies/*}Z(\022&/v4beta1/{name=projects/*/com" - + "panies/*}\332A\004name\022\355\001\n\rUpdateCompany\0221.goo" - + "gle.cloud.talent.v4beta1.UpdateCompanyRe" - + "quest\032$.google.cloud.talent.v4beta1.Comp" - + "any\"\202\001\202\323\344\223\002r28/v4beta1/{company.name=pro" - + "jects/*/tenants/*/companies/*}:\001*Z32./v4" - + "beta1/{company.name=projects/*/companies" - + "/*}:\001*\332A\007company\022\305\001\n\rDeleteCompany\0221.goo" - + "gle.cloud.talent.v4beta1.DeleteCompanyRe" - + "quest\032\026.google.protobuf.Empty\"i\202\323\344\223\002\\*0/" - + "v4beta1/{name=projects/*/tenants/*/compa" - + "nies/*}Z(*&/v4beta1/{name=projects/*/com" - + "panies/*}\332A\004name\022\343\001\n\rListCompanies\0221.goo" - + "gle.cloud.talent.v4beta1.ListCompaniesRe" - + "quest\0322.google.cloud.talent.v4beta1.List" - + "CompaniesResponse\"k\202\323\344\223\002\\\0220/v4beta1/{par" - + "ent=projects/*/tenants/*}/companiesZ(\022&/" - + "v4beta1/{parent=projects/*}/companies\332A\006" - + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" - + "/www.googleapis.com/auth/cloud-platform," - + "https://www.googleapis.com/auth/jobsB\201\001\n" - + "\037com.google.cloud.talent.v4beta1B\023Compan" - + "yServiceProtoP\001ZAgoogle.golang.org/genpr" - + "oto/googleapis/cloud/talent/v4beta1;tale" - + "nt\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor, - new java.lang.String[] { - "Parent", "Company", - }); - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor, - new java.lang.String[] { - "Company", "UpdateMask", - }); - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", "RequireOpenJobs", - }); - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor, - new java.lang.String[] { - "Companies", "NextPageToken", "Metadata", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java deleted file mode 100644 index 3580295427ad..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/completion_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompletionServiceProto { - private CompletionServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/talent/v4beta1/completion" - + "_service.proto\022\033google.cloud.talent.v4be" - + "ta1\032\034google/api/annotations.proto\032\027googl" - + "e/api/client.proto\032\037google/api/field_beh" - + "avior.proto\032\031google/api/resource.proto\032(" - + "google/cloud/talent/v4beta1/common.proto" - + "\"\223\004\n\024CompleteQueryRequest\0223\n\006parent\030\001 \001(" - + "\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022\022" - + "\n\005query\030\002 \001(\tB\003\340A\002\022\026\n\016language_codes\030\003 \003" - + "(\t\022\026\n\tpage_size\030\004 \001(\005B\003\340A\002\0221\n\007company\030\005 " - + "\001(\tB \372A\035\n\033jobs.googleapis.com/Company\022P\n" - + "\005scope\030\006 \001(\0162A.google.cloud.talent.v4bet" - + "a1.CompleteQueryRequest.CompletionScope\022" - + "N\n\004type\030\007 \001(\0162@.google.cloud.talent.v4be" - + "ta1.CompleteQueryRequest.CompletionType\"" - + "K\n\017CompletionScope\022 \n\034COMPLETION_SCOPE_U" - + "NSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016" - + "CompletionType\022\037\n\033COMPLETION_TYPE_UNSPEC" - + "IFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002" - + "\022\014\n\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse" - + "\022_\n\022completion_results\030\001 \003(\0132C.google.cl" - + "oud.talent.v4beta1.CompleteQueryResponse" - + ".CompletionResult\022?\n\010metadata\030\002 \001(\0132-.go" - + "ogle.cloud.talent.v4beta1.ResponseMetada" - + "ta\032\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 " - + "\001(\t\022N\n\004type\030\002 \001(\0162@.google.cloud.talent." - + "v4beta1.CompleteQueryRequest.CompletionT" - + "ype\022\021\n\timage_uri\030\003 \001(\t2\325\002\n\nCompletion\022\330\001" - + "\n\rCompleteQuery\0221.google.cloud.talent.v4" - + "beta1.CompleteQueryRequest\0322.google.clou" - + "d.talent.v4beta1.CompleteQueryResponse\"`" - + "\202\323\344\223\002Z\022//v4beta1/{parent=projects/*/tena" - + "nts/*}:completeZ\'\022%/v4beta1/{parent=proj" - + "ects/*}:complete\032l\312A\023jobs.googleapis.com" - + "\322AShttps://www.googleapis.com/auth/cloud" - + "-platform,https://www.googleapis.com/aut" - + "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet" - + "a1B\026CompletionServiceProtoP\001ZAgoogle.gol" - + "ang.org/genproto/googleapis/cloud/talent" - + "/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor, - new java.lang.String[] { - "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type", - }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor, - new java.lang.String[] { - "CompletionResults", "Metadata", - }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor = - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor, - new java.lang.String[] { - "Suggestion", "Type", "ImageUri", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java deleted file mode 100644 index c002bac0b0b4..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface DeleteTenantRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java deleted file mode 100644 index 9bf3bda85a3d..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/event.proto - -package com.google.cloud.talent.v4beta1; - -public final class EventProto { - private EventProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/event.prot" - + "o\022\033google.cloud.talent.v4beta1\032\037google/a" - + "pi/field_behavior.proto\032\037google/protobuf" - + "/timestamp.proto\"\310\001\n\013ClientEvent\022\022\n\nrequ" - + "est_id\030\001 \001(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013c" - + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\002\022:\n\tjob_event\030\005 \001(\0132%.google.cl" - + "oud.talent.v4beta1.JobEventH\000\022\023\n\013event_n" - + "otes\030\t \001(\tB\007\n\005event\"\366\003\n\010JobEvent\022E\n\004type" - + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Job" - + "Event.JobEventTypeB\003\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340" - + "A\002\022\017\n\007profile\030\003 \001(\t\"\376\002\n\014JobEventType\022\036\n\032" - + "JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSI" - + "ON\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APP" - + "LICATION_START\020\004\022\026\n\022APPLICATION_FINISH\020\005" - + "\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n\024AP" - + "PLICATION_REDIRECT\020\007\022!\n\035APPLICATION_STAR" - + "T_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRECT_" - + "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" - + "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" - + "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" - + "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" - + "\nEventProtoP\001ZAgoogle.golang.org/genprot" - + "o/googleapis/cloud/talent/v4beta1;talent" - + "\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor, - new java.lang.String[] { - "RequestId", "EventId", "CreateTime", "JobEvent", "EventNotes", "Event", - }); - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor, - new java.lang.String[] { - "Type", "Jobs", "Profile", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java deleted file mode 100644 index 9aeec3907ff9..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/event_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class EventServiceProto { - private EventServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/talent/v4beta1/event_serv" - + "ice.proto\022\033google.cloud.talent.v4beta1\032\034" - + "google/api/annotations.proto\032\027google/api" - + "/client.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\'googl" - + "e/cloud/talent/v4beta1/event.proto\"\224\001\n\030C" - + "reateClientEventRequest\0223\n\006parent\030\001 \001(\tB" - + "#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022C\n\014" - + "client_event\030\002 \001(\0132(.google.cloud.talent" - + ".v4beta1.ClientEventB\003\340A\0022\372\002\n\014EventServi" - + "ce\022\373\001\n\021CreateClientEvent\0225.google.cloud." - + "talent.v4beta1.CreateClientEventRequest\032" - + "(.google.cloud.talent.v4beta1.ClientEven" - + "t\"\204\001\202\323\344\223\002h\"3/v4beta1/{parent=projects/*/" - + "tenants/*}/clientEvents:\001*Z.\")/v4beta1/{" - + "parent=projects/*}/clientEvents:\001*\332A\023par" - + "ent,client_event\032l\312A\023jobs.googleapis.com" - + "\322AShttps://www.googleapis.com/auth/cloud" - + "-platform,https://www.googleapis.com/aut" - + "h/jobsB\177\n\037com.google.cloud.talent.v4beta" - + "1B\021EventServiceProtoP\001ZAgoogle.golang.or" - + "g/genproto/googleapis/cloud/talent/v4bet" - + "a1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.EventProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor, - new java.lang.String[] { - "Parent", "ClientEvent", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.EventProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java deleted file mode 100644 index 63e204fdce09..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/filters.proto - -package com.google.cloud.talent.v4beta1; - -public final class FiltersProto { - private FiltersProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/talent/v4beta1/filters.pr" - + "oto\022\033google.cloud.talent.v4beta1\032\037google" - + "/api/field_behavior.proto\032(google/cloud/" - + "talent/v4beta1/common.proto\032\036google/prot" - + "obuf/duration.proto\032\030google/type/latlng." - + "proto\032\033google/type/timeofday.proto\"\200\005\n\010J" - + "obQuery\022\r\n\005query\030\001 \001(\t\022\033\n\023query_language" - + "_code\030\016 \001(\t\022\021\n\tcompanies\030\002 \003(\t\022E\n\020locati" - + "on_filters\030\003 \003(\0132+.google.cloud.talent.v" - + "4beta1.LocationFilter\022@\n\016job_categories\030" - + "\004 \003(\0162(.google.cloud.talent.v4beta1.JobC" - + "ategory\022B\n\016commute_filter\030\005 \001(\0132*.google" - + ".cloud.talent.v4beta1.CommuteFilter\022\035\n\025c" - + "ompany_display_names\030\006 \003(\t\022L\n\023compensati" - + "on_filter\030\007 \001(\0132/.google.cloud.talent.v4" - + "beta1.CompensationFilter\022\037\n\027custom_attri" - + "bute_filter\030\010 \001(\t\022\033\n\023disable_spell_check" - + "\030\t \001(\010\022E\n\020employment_types\030\n \003(\0162+.googl" - + "e.cloud.talent.v4beta1.EmploymentType\022\026\n" - + "\016language_codes\030\013 \003(\t\022G\n\022publish_time_ra" - + "nge\030\014 \001(\0132+.google.cloud.talent.v4beta1." - + "TimestampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\203\003" - + "\n\016LocationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013reg" - + "ion_code\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google" - + ".type.LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022" - + "a\n\026telecommute_preference\030\005 \001(\0162A.google" - + ".cloud.talent.v4beta1.LocationFilter.Tel" - + "ecommutePreference\022\017\n\007negated\030\006 \001(\010\"\225\001\n\025" - + "TelecommutePreference\022&\n\"TELECOMMUTE_PRE" - + "FERENCE_UNSPECIFIED\020\000\022\034\n\024TELECOMMUTE_EXC" - + "LUDED\020\001\032\002\010\001\022\027\n\023TELECOMMUTE_ALLOWED\020\002\022\035\n\031" - + "TELECOMMUTE_JOBS_EXCLUDED\020\003\"\312\003\n\022Compensa" - + "tionFilter\022M\n\004type\030\001 \001(\0162:.google.cloud." - + "talent.v4beta1.CompensationFilter.Filter" - + "TypeB\003\340A\002\022R\n\005units\030\002 \003(\0162>.google.cloud." - + "talent.v4beta1.CompensationInfo.Compensa" - + "tionUnitB\003\340A\002\022N\n\005range\030\003 \001(\0132?.google.cl" - + "oud.talent.v4beta1.CompensationInfo.Comp" - + "ensationRange\0228\n0include_jobs_with_unspe" - + "cified_compensation_range\030\004 \001(\010\"\206\001\n\nFilt" - + "erType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n\tU" - + "NIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANNUA" - + "LIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTAL_" - + "AMOUNT\020\004\"\313\003\n\rCommuteFilter\022G\n\016commute_me" - + "thod\030\001 \001(\0162*.google.cloud.talent.v4beta1" - + ".CommuteMethodB\003\340A\002\0223\n\021start_coordinates" - + "\030\002 \001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017trav" - + "el_duration\030\003 \001(\0132\031.google.protobuf.Dura" - + "tionB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004" - + " \001(\010\022N\n\014road_traffic\030\005 \001(\01626.google.clou" - + "d.talent.v4beta1.CommuteFilter.RoadTraff" - + "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" - + "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" - + "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" - + "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" - + "ogle.cloud.talent.v4beta1B\014FiltersProtoP" - + "\001ZAgoogle.golang.org/genproto/googleapis" - + "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor, - new java.lang.String[] { - "Query", - "QueryLanguageCode", - "Companies", - "LocationFilters", - "JobCategories", - "CommuteFilter", - "CompanyDisplayNames", - "CompensationFilter", - "CustomAttributeFilter", - "DisableSpellCheck", - "EmploymentTypes", - "LanguageCodes", - "PublishTimeRange", - "ExcludedJobs", - }); - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor, - new java.lang.String[] { - "Address", - "RegionCode", - "LatLng", - "DistanceInMiles", - "TelecommutePreference", - "Negated", - }); - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor, - new java.lang.String[] { - "Type", "Units", "Range", "IncludeJobsWithUnspecifiedCompensationRange", - }); - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor, - new java.lang.String[] { - "CommuteMethod", - "StartCoordinates", - "TravelDuration", - "AllowImpreciseAddresses", - "RoadTraffic", - "DepartureTime", - "TrafficOption", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java deleted file mode 100644 index 7fb3e7cb4811..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface GetTenantRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java deleted file mode 100644 index c036e0f5d115..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/histogram.proto - -package com.google.cloud.talent.v4beta1; - -public final class HistogramProto { - private HistogramProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/talent/v4beta1/histogram." - + "proto\022\033google.cloud.talent.v4beta1\")\n\016Hi" - + "stogramQuery\022\027\n\017histogram_query\030\001 \001(\t\"\266\001" - + "\n\024HistogramQueryResult\022\027\n\017histogram_quer" - + "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" - + "d.talent.v4beta1.HistogramQueryResult.Hi" - + "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" - + "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor, - new java.lang.String[] { - "HistogramQuery", - }); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor, - new java.lang.String[] { - "HistogramQuery", "Histogram", - }); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java deleted file mode 100644 index 8985ac656fd0..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java +++ /dev/null @@ -1,211 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job.proto - -package com.google.cloud.talent.v4beta1; - -public final class JobResourceProto { - private JobResourceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n%google/cloud/talent/v4beta1/job.proto\022" - + "\033google.cloud.talent.v4beta1\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032(google/cloud/talent/v4beta1/co" - + "mmon.proto\032\037google/protobuf/timestamp.pr" - + "oto\"\340\017\n\003Job\022\014\n\004name\030\001 \001(\t\0224\n\007company\030\002 \001" - + "(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Company\022" - + "\033\n\016requisition_id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 " - + "\001(\tB\003\340A\002\022\030\n\013description\030\005 \001(\tB\003\340A\002\022\021\n\tad" - + "dresses\030\006 \003(\t\022J\n\020application_info\030\007 \001(\0132" - + "0.google.cloud.talent.v4beta1.Job.Applic" - + "ationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.google" - + ".cloud.talent.v4beta1.JobBenefit\022H\n\021comp" - + "ensation_info\030\t \001(\0132-.google.cloud.talen" - + "t.v4beta1.CompensationInfo\022Q\n\021custom_att" - + "ributes\030\n \003(\01326.google.cloud.talent.v4be" - + "ta1.Job.CustomAttributesEntry\022=\n\014degree_" - + "types\030\013 \003(\0162\'.google.cloud.talent.v4beta" - + "1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020empl" - + "oyment_types\030\r \003(\0162+.google.cloud.talent" - + ".v4beta1.EmploymentType\022\022\n\nincentives\030\016 " - + "\001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_level\030" - + "\020 \001(\0162%.google.cloud.talent.v4beta1.JobL" - + "evel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qualifi" - + "cations\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022" - + "B\n\016posting_region\030\024 \001(\0162*.google.cloud.t" - + "alent.v4beta1.PostingRegion\022?\n\nvisibilit" - + "y\030\025 \001(\0162\'.google.cloud.talent.v4beta1.Vi" - + "sibilityB\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\0220\n\014job_end_time" - + "\030\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024po" - + "sting_publish_time\030\030 \001(\0132\032.google.protob" - + "uf.Timestamp\0227\n\023posting_expire_time\030\031 \001(" - + "\0132\032.google.protobuf.Timestamp\022<\n\023posting" - + "_create_time\030\032 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\022<\n\023posting_update_time\030\033 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\022!\n\024com" - + "pany_display_name\030\034 \001(\tB\003\340A\003\022G\n\014derived_" - + "info\030\035 \001(\0132,.google.cloud.talent.v4beta1" - + ".Job.DerivedInfoB\003\340A\003\022N\n\022processing_opti" - + "ons\030\036 \001(\01322.google.cloud.talent.v4beta1." - + "Job.ProcessingOptions\032D\n\017ApplicationInfo" - + "\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 \001(\t\022\014\n" - + "\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tlocations" - + "\030\001 \003(\0132%.google.cloud.talent.v4beta1.Loc" - + "ation\022@\n\016job_categories\030\003 \003(\0162(.google.c" - + "loud.talent.v4beta1.JobCategory\032\210\001\n\021Proc" - + "essingOptions\022)\n!disable_street_address_" - + "resolution\030\001 \001(\010\022H\n\021html_sanitization\030\002 " - + "\001(\0162-.google.cloud.talent.v4beta1.HtmlSa" - + "nitization\032e\n\025CustomAttributesEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.t" - + "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" - + "jobs.googleapis.com/Job\022.projects/{proje" - + "ct}/tenants/{tenant}/jobs/{job}\022\035project" - + "s/{project}/jobs/{job}B~\n\037com.google.clo" - + "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" - + "oogle.golang.org/genproto/googleapis/clo" - + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Job_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_descriptor, - new java.lang.String[] { - "Name", - "Company", - "RequisitionId", - "Title", - "Description", - "Addresses", - "ApplicationInfo", - "JobBenefits", - "CompensationInfo", - "CustomAttributes", - "DegreeTypes", - "Department", - "EmploymentTypes", - "Incentives", - "LanguageCode", - "JobLevel", - "PromotionValue", - "Qualifications", - "Responsibilities", - "PostingRegion", - "Visibility", - "JobStartTime", - "JobEndTime", - "PostingPublishTime", - "PostingExpireTime", - "PostingCreateTime", - "PostingUpdateTime", - "CompanyDisplayName", - "DerivedInfo", - "ProcessingOptions", - }); - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor, - new java.lang.String[] { - "Emails", "Instruction", "Uris", - }); - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor, - new java.lang.String[] { - "Locations", "JobCategories", - }); - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor, - new java.lang.String[] { - "DisableStreetAddressResolution", "HtmlSanitization", - }); - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java deleted file mode 100644 index e513814b921c..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java +++ /dev/null @@ -1,479 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class JobServiceProto { - private JobServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/talent/v4beta1/job_servic" - + "e.proto\022\033google.cloud.talent.v4beta1\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032(google/" - + "cloud/talent/v4beta1/common.proto\032)googl" - + "e/cloud/talent/v4beta1/filters.proto\032+go" - + "ogle/cloud/talent/v4beta1/histogram.prot" - + "o\032%google/cloud/talent/v4beta1/job.proto" - + "\032#google/longrunning/operations.proto\032\036g" - + "oogle/protobuf/duration.proto\032\033google/pr" - + "otobuf/empty.proto\032 google/protobuf/fiel" - + "d_mask.proto\032\027google/rpc/status.proto\"w\n" - + "\020CreateJobRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A" - + "\031\022\027jobs.googleapis.com/Job\0222\n\003job\030\002 \001(\0132" - + " .google.cloud.talent.v4beta1.JobB\003\340A\002\">" - + "\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027j" - + "obs.googleapis.com/Job\"w\n\020UpdateJobReque" - + "st\0222\n\003job\030\001 \001(\0132 .google.cloud.talent.v4" - + "beta1.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" - + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" - + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" - + "is.com/Job\"^\n\026BatchDeleteJobsRequest\022/\n\006" - + "parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.co" - + "m/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\"\266\001\n\017ListJobsR" - + "equest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.goo" - + "gleapis.com/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\n" - + "page_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010j" - + "ob_view\030\005 \001(\0162$.google.cloud.talent.v4be" - + "ta1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs" - + "\030\001 \003(\0132 .google.cloud.talent.v4beta1.Job" - + "\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 " - + "\001(\0132-.google.cloud.talent.v4beta1.Respon" - + "seMetadata\"\273\013\n\021SearchJobsRequest\022/\n\006pare" - + "nt\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Jo" - + "b\022N\n\013search_mode\030\002 \001(\01629.google.cloud.ta" - + "lent.v4beta1.SearchJobsRequest.SearchMod" - + "e\022K\n\020request_metadata\030\003 \001(\0132,.google.clo" - + "ud.talent.v4beta1.RequestMetadataB\003\340A\002\0228" - + "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." - + "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " - + "\001(\010\022\'\n\033require_precise_result_size\030\006 \001(\010" - + "B\002\030\001\022F\n\021histogram_queries\030\007 \003(\0132+.google" - + ".cloud.talent.v4beta1.HistogramQuery\0226\n\010" - + "job_view\030\010 \001(\0162$.google.cloud.talent.v4b" - + "eta1.JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_siz" - + "e\030\n \001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030" - + "\014 \001(\t\022b\n\025diversification_level\030\r \001(\0162C.g" - + "oogle.cloud.talent.v4beta1.SearchJobsReq" - + "uest.DiversificationLevel\022]\n\023custom_rank" - + "ing_info\030\016 \001(\0132@.google.cloud.talent.v4b" - + "eta1.SearchJobsRequest.CustomRankingInfo" - + "\022\035\n\025disable_keyword_match\030\020 \001(\010\022[\n\022keywo" - + "rd_match_mode\030\022 \001(\0162?.google.cloud.talen" - + "t.v4beta1.SearchJobsRequest.KeywordMatch" - + "Mode\032\232\002\n\021CustomRankingInfo\022o\n\020importance" - + "_level\030\001 \001(\0162P.google.cloud.talent.v4bet" - + "a1.SearchJobsRequest.CustomRankingInfo.I" - + "mportanceLevelB\003\340A\002\022\037\n\022ranking_expressio" - + "n\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLevel\022 \n\034IMPOR" - + "TANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003L" - + "OW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007" - + "EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SEARCH_MODE_U" - + "NSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED" - + "_JOB_SEARCH\020\002\"W\n\024DiversificationLevel\022%\n" - + "!DIVERSIFICATION_LEVEL_UNSPECIFIED\020\000\022\014\n\010" - + "DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\207\001\n\020KeywordMatchM" - + "ode\022\"\n\036KEYWORD_MATCH_MODE_UNSPECIFIED\020\000\022" - + "\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n\021KEYWORD_M" - + "ATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TITLE_ONLY\020\003" - + "\"\327\006\n\022SearchJobsResponse\022R\n\rmatching_jobs" - + "\030\001 \003(\0132;.google.cloud.talent.v4beta1.Sea" - + "rchJobsResponse.MatchingJob\022R\n\027histogram" - + "_query_results\030\002 \003(\01321.google.cloud.tale" - + "nt.v4beta1.HistogramQueryResult\022\027\n\017next_" - + "page_token\030\003 \001(\t\022?\n\020location_filters\030\004 \003" - + "(\0132%.google.cloud.talent.v4beta1.Locatio" - + "n\022\034\n\024estimated_total_size\030\005 \001(\005\022\022\n\ntotal" - + "_size\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.c" - + "loud.talent.v4beta1.ResponseMetadata\022\"\n\032" - + "broadened_query_jobs_count\030\010 \001(\005\022I\n\020spel" - + "l_correction\030\t \001(\0132/.google.cloud.talent" - + ".v4beta1.SpellingCorrection\032\334\001\n\013Matching" - + "Job\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v" - + "4beta1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_t" - + "itle_snippet\030\003 \001(\t\022\033\n\023search_text_snippe" - + "t\030\004 \001(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.c" - + "loud.talent.v4beta1.SearchJobsResponse.C" - + "ommuteInfo\032~\n\013CommuteInfo\022;\n\014job_locatio" - + "n\030\001 \001(\0132%.google.cloud.talent.v4beta1.Lo" - + "cation\0222\n\017travel_duration\030\002 \001(\0132\031.google" - + ".protobuf.Duration\"~\n\026BatchCreateJobsReq" - + "uest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googl" - + "eapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .google.clo" - + "ud.talent.v4beta1.JobB\003\340A\002\"\257\001\n\026BatchUpda" - + "teJobsRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027j" - + "obs.googleapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .g" - + "oogle.cloud.talent.v4beta1.JobB\003\340A\002\022/\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "Mask\"\304\001\n\022JobOperationResult\022N\n\013job_resul" - + "ts\030\001 \003(\01329.google.cloud.talent.v4beta1.J" - + "obOperationResult.JobResult\032^\n\tJobResult" - + "\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v4be" - + "ta1.Job\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" - + "tus*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" - + "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" - + "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" - + "L\020\0042\316\022\n\nJobService\022\311\001\n\tCreateJob\022-.googl" - + "e.cloud.talent.v4beta1.CreateJobRequest\032" - + " .google.cloud.talent.v4beta1.Job\"k\202\323\344\223\002" - + "X\"+/v4beta1/{parent=projects/*/tenants/*" - + "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" - + "}/jobs:\001*\332A\nparent,job\022\233\002\n\017BatchCreateJo" - + "bs\0223.google.cloud.talent.v4beta1.BatchCr" - + "eateJobsRequest\032\035.google.longrunning.Ope" - + "ration\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projec" - + "ts/*/tenants/*}/jobs:batchCreate:\001*Z2\"-/" - + "v4beta1/{parent=projects/*}/jobs:batchCr" - + "eate:\001*\332A\013parent,jobs\312A,\n\022JobOperationRe" - + "sult\022\026BatchOperationMetadata\022\267\001\n\006GetJob\022" - + "*.google.cloud.talent.v4beta1.GetJobRequ" - + "est\032 .google.cloud.talent.v4beta1.Job\"_\202" - + "\323\344\223\002R\022+/v4beta1/{name=projects/*/tenants" - + "/*/jobs/*}Z#\022!/v4beta1/{name=projects/*/" - + "jobs/*}\332A\004name\022\312\001\n\tUpdateJob\022-.google.cl" - + "oud.talent.v4beta1.UpdateJobRequest\032 .go" - + "ogle.cloud.talent.v4beta1.Job\"l\202\323\344\223\002`2//" - + "v4beta1/{job.name=projects/*/tenants/*/j" - + "obs/*}:\001*Z*2%/v4beta1/{job.name=projects" - + "/*/jobs/*}:\001*\332A\003job\022\233\002\n\017BatchUpdateJobs\022" - + "3.google.cloud.talent.v4beta1.BatchUpdat" - + "eJobsRequest\032\035.google.longrunning.Operat" - + "ion\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projects/" - + "*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/v4b" - + "eta1/{parent=projects/*}/jobs:batchUpdat" - + "e:\001*\332A\013parent,jobs\312A,\n\022JobOperationResul" - + "t\022\026BatchOperationMetadata\022\263\001\n\tDeleteJob\022" - + "-.google.cloud.talent.v4beta1.DeleteJobR" - + "equest\032\026.google.protobuf.Empty\"_\202\323\344\223\002R*+" - + "/v4beta1/{name=projects/*/tenants/*/jobs" - + "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}" - + "\332A\004name\022\344\001\n\017BatchDeleteJobs\0223.google.clo" - + "ud.talent.v4beta1.BatchDeleteJobsRequest" - + "\032\026.google.protobuf.Empty\"\203\001\202\323\344\223\002m\"7/v4be" - + "ta1/{parent=projects/*/tenants/*}/jobs:b" - + "atchDelete:\001*Z/\"-/v4beta1/{parent=projec" - + "ts/*}/jobs:batchDelete\332A\rparent,filter\022\321" - + "\001\n\010ListJobs\022,.google.cloud.talent.v4beta" - + "1.ListJobsRequest\032-.google.cloud.talent." - + "v4beta1.ListJobsResponse\"h\202\323\344\223\002R\022+/v4bet" - + "a1/{parent=projects/*/tenants/*}/jobsZ#\022" - + "!/v4beta1/{parent=projects/*}/jobs\332A\rpar" - + "ent,filter\022\333\001\n\nSearchJobs\022..google.cloud" - + ".talent.v4beta1.SearchJobsRequest\032/.goog" - + "le.cloud.talent.v4beta1.SearchJobsRespon" - + "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/" - + "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p" - + "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea" - + "rchJobsForAlert\022..google.cloud.talent.v4" - + "beta1.SearchJobsRequest\032/.google.cloud.t" - + "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v" - + "\":/v4beta1/{parent=projects/*/tenants/*}" - + "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par" - + "ent=projects/*}/jobs:searchForAlert:\001*\032l" - + "\312A\023jobs.googleapis.com\322AShttps://www.goo" - + "gleapis.com/auth/cloud-platform,https://" - + "www.googleapis.com/auth/jobsB}\n\037com.goog" - + "le.cloud.talent.v4beta1B\017JobServiceProto" - + "P\001ZAgoogle.golang.org/genproto/googleapi" - + "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" - + "to3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), - com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), - com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor, - new java.lang.String[] { - "Parent", "Job", - }); - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor, - new java.lang.String[] { - "Job", "UpdateMask", - }); - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", - }); - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageToken", "PageSize", "JobView", - }); - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor, - new java.lang.String[] { - "Jobs", "NextPageToken", "Metadata", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor, - new java.lang.String[] { - "Parent", - "SearchMode", - "RequestMetadata", - "JobQuery", - "EnableBroadening", - "RequirePreciseResultSize", - "HistogramQueries", - "JobView", - "Offset", - "PageSize", - "PageToken", - "OrderBy", - "DiversificationLevel", - "CustomRankingInfo", - "DisableKeywordMatch", - "KeywordMatchMode", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor, - new java.lang.String[] { - "ImportanceLevel", "RankingExpression", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor, - new java.lang.String[] { - "MatchingJobs", - "HistogramQueryResults", - "NextPageToken", - "LocationFilters", - "EstimatedTotalSize", - "TotalSize", - "Metadata", - "BroadenedQueryJobsCount", - "SpellCorrection", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor, - new java.lang.String[] { - "Job", "JobSummary", "JobTitleSnippet", "SearchTextSnippet", "CommuteInfo", - }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor, - new java.lang.String[] { - "JobLocation", "TravelDuration", - }); - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Jobs", - }); - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "Jobs", "UpdateMask", - }); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor, - new java.lang.String[] { - "JobResults", - }); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor = - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor, - new java.lang.String[] { - "Job", "Status", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); - com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); - com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java deleted file mode 100644 index 5b0067852a43..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant.proto - -package com.google.cloud.talent.v4beta1; - -public final class TenantResourceProto { - private TenantResourceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/talent/v4beta1/tenant.pro" - + "to\022\033google.cloud.talent.v4beta1\032\037google/" - + "api/field_behavior.proto\032\031google/api/res" - + "ource.proto\"\303\002\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013" - + "external_id\030\002 \001(\tB\003\340A\002\022E\n\nusage_type\030\003 \001" - + "(\01621.google.cloud.talent.v4beta1.Tenant." - + "DataUsageType\0224\n,keyword_searchable_prof" - + "ile_custom_attributes\030\004 \003(\t\"N\n\rDataUsage" - + "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" - + "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" - + "oogleapis.com/Tenant\022#projects/{project}" - + "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" - + "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" - + "ogle.golang.org/genproto/googleapis/clou" - + "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor, - new java.lang.String[] { - "Name", "ExternalId", "UsageType", "KeywordSearchableProfileCustomAttributes", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java deleted file mode 100644 index 9f97b7d7ba06..000000000000 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class TenantServiceProto { - private TenantServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/talent/v4beta1/tenant_ser" - + "vice.proto\022\033google.cloud.talent.v4beta1\032" - + "\034google/api/annotations.proto\032\027google/ap" - + "i/client.proto\032\037google/api/field_behavio" - + "r.proto\032\031google/api/resource.proto\032(goog" - + "le/cloud/talent/v4beta1/common.proto\032(go" - + "ogle/cloud/talent/v4beta1/tenant.proto\032\033" - + "google/protobuf/empty.proto\032 google/prot" - + "obuf/field_mask.proto\"\224\001\n\023CreateTenantRe" - + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" - + "urcemanager.googleapis.com/Project\0228\n\006te" - + "nant\030\002 \001(\0132#.google.cloud.talent.v4beta1" - + ".TenantB\003\340A\002\"D\n\020GetTenantRequest\0220\n\004name" - + "\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/Tena" - + "nt\"\200\001\n\023UpdateTenantRequest\0228\n\006tenant\030\001 \001" - + "(\0132#.google.cloud.talent.v4beta1.TenantB" - + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" - + "buf.FieldMask\"G\n\023DeleteTenantRequest\0220\n\004" - + "name\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/" - + "Tenant\"\200\001\n\022ListTenantsRequest\022C\n\006parent\030" - + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" - + "leapis.com/Project\022\022\n\npage_token\030\002 \001(\t\022\021" - + "\n\tpage_size\030\003 \001(\005\"\245\001\n\023ListTenantsRespons" - + "e\0224\n\007tenants\030\001 \003(\0132#.google.cloud.talent" - + ".v4beta1.Tenant\022\027\n\017next_page_token\030\002 \001(\t" - + "\022?\n\010metadata\030\003 \001(\0132-.google.cloud.talent" - + ".v4beta1.ResponseMetadata2\240\007\n\rTenantServ" - + "ice\022\246\001\n\014CreateTenant\0220.google.cloud.tale" - + "nt.v4beta1.CreateTenantRequest\032#.google." - + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\002)\"$/v4" - + "beta1/{parent=projects/*}/tenants:\001*\332A\rp" - + "arent,tenant\022\224\001\n\tGetTenant\022-.google.clou" - + "d.talent.v4beta1.GetTenantRequest\032#.goog" - + "le.cloud.talent.v4beta1.Tenant\"3\202\323\344\223\002&\022$" - + "/v4beta1/{name=projects/*/tenants/*}\332A\004n" - + "ame\022\246\001\n\014UpdateTenant\0220.google.cloud.tale" - + "nt.v4beta1.UpdateTenantRequest\032#.google." - + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\00202+/v4" - + "beta1/{tenant.name=projects/*/tenants/*}" - + ":\001*\332A\006tenant\022\215\001\n\014DeleteTenant\0220.google.c" - + "loud.talent.v4beta1.DeleteTenantRequest\032" - + "\026.google.protobuf.Empty\"3\202\323\344\223\002&*$/v4beta" - + "1/{name=projects/*/tenants/*}\332A\004name\022\247\001\n" - + "\013ListTenants\022/.google.cloud.talent.v4bet" - + "a1.ListTenantsRequest\0320.google.cloud.tal" - + "ent.v4beta1.ListTenantsResponse\"5\202\323\344\223\002&\022" - + "$/v4beta1/{parent=projects/*}/tenants\332A\006" - + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" - + "/www.googleapis.com/auth/cloud-platform," - + "https://www.googleapis.com/auth/jobsB\200\001\n" - + "\037com.google.cloud.talent.v4beta1B\022Tenant" - + "ServiceProtoP\001ZAgoogle.golang.org/genpro" - + "to/googleapis/cloud/talent/v4beta1;talen" - + "t\242\002\003CTSb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor, - new java.lang.String[] { - "Parent", "Tenant", - }); - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor, - new java.lang.String[] { - "Tenant", "UpdateMask", - }); - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", "PageSize", - }); - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor, - new java.lang.String[] { - "Tenants", "NextPageToken", "Metadata", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java index 45dde7ee77a8..89bbd85283be 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.CompanyServiceStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java index a514bf13ad3d..e3f3aa9d2e96 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.CompletionStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java index 15a4619dfcaa..b3a0bac40cdf 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.EventServiceStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java index c169c28ac1d6..f85255f50cf5 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.JobServiceStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java index 1b6f8b048ead..ea9e39488dcf 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java @@ -28,6 +28,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.talent.v4.stub.TenantServiceStubSettings; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java index 82f8fc4cac28..0309b6b3293f 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java @@ -37,6 +37,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java index 6ea25e438a31..c27915b13229 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java @@ -29,6 +29,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java index 20ce3149e18d..60fca5115e92 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java @@ -29,6 +29,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java index a0e91e423fbf..d41a07c4ed85 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java @@ -48,6 +48,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java index 7b40fb4e32c1..3dbad4b51d72 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java @@ -37,6 +37,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java similarity index 99% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java index 22e90bea250c..a6076920f51b 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java +++ b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java similarity index 100% rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java b/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java similarity index 100% rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java rename to owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java new file mode 100644 index 000000000000..64026ce5e838 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java @@ -0,0 +1,651 @@ +package com.google.cloud.talent.v4; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * A service that handles company management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4/company_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompanyServiceGrpc { + + private CompanyServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4.CompanyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompany", + requestType = com.google.cloud.talent.v4.CreateCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCompanyMethod() { + io.grpc.MethodDescriptor getCreateCompanyMethod; + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + CompanyServiceGrpc.getCreateCompanyMethod = getCreateCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("CreateCompany")) + .build(); + } + } + } + return getCreateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompany", + requestType = com.google.cloud.talent.v4.GetCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCompanyMethod() { + io.grpc.MethodDescriptor getGetCompanyMethod; + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + CompanyServiceGrpc.getGetCompanyMethod = getGetCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) + .build(); + } + } + } + return getGetCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", + requestType = com.google.cloud.talent.v4.UpdateCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCompanyMethod() { + io.grpc.MethodDescriptor getUpdateCompanyMethod; + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + CompanyServiceGrpc.getUpdateCompanyMethod = getUpdateCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) + .build(); + } + } + } + return getUpdateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", + requestType = com.google.cloud.talent.v4.DeleteCompanyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteCompanyMethod() { + io.grpc.MethodDescriptor getDeleteCompanyMethod; + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + CompanyServiceGrpc.getDeleteCompanyMethod = getDeleteCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) + .build(); + } + } + } + return getDeleteCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCompaniesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompanies", + requestType = com.google.cloud.talent.v4.ListCompaniesRequest.class, + responseType = com.google.cloud.talent.v4.ListCompaniesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCompaniesMethod() { + io.grpc.MethodDescriptor getListCompaniesMethod; + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + CompanyServiceGrpc.getListCompaniesMethod = getListCompaniesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("ListCompanies")) + .build(); + } + } + } + return getListCompaniesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static CompanyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + }; + return CompanyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompanyServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + }; + return CompanyServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CompanyServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + }; + return CompanyServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static abstract class CompanyServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompanyMethod(), responseObserver); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany(com.google.cloud.talent.v4.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyMethod(), responseObserver); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCompanyMethod(), responseObserver); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompaniesMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateCompanyRequest, + com.google.cloud.talent.v4.Company>( + this, METHODID_CREATE_COMPANY))) + .addMethod( + getGetCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetCompanyRequest, + com.google.cloud.talent.v4.Company>( + this, METHODID_GET_COMPANY))) + .addMethod( + getUpdateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateCompanyRequest, + com.google.cloud.talent.v4.Company>( + this, METHODID_UPDATE_COMPANY))) + .addMethod( + getDeleteCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteCompanyRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_COMPANY))) + .addMethod( + getListCompaniesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse>( + this, METHODID_LIST_COMPANIES))) + .build(); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceStub extends io.grpc.stub.AbstractAsyncStub { + private CompanyServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany(com.google.cloud.talent.v4.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CompanyServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.cloud.talent.v4.Company createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.cloud.talent.v4.Company getCompany(com.google.cloud.talent.v4.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public com.google.cloud.talent.v4.Company updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.protobuf.Empty deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4.ListCompaniesResponse listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompaniesMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private CompanyServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCompany( + com.google.cloud.talent.v4.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCompany( + com.google.cloud.talent.v4.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCompany( + com.google.cloud.talent.v4.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCompany( + com.google.cloud.talent.v4.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCompanies( + com.google.cloud.talent.v4.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_COMPANY = 0; + private static final int METHODID_GET_COMPANY = 1; + private static final int METHODID_UPDATE_COMPANY = 2; + private static final int METHODID_DELETE_COMPANY = 3; + private static final int METHODID_LIST_COMPANIES = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompanyServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_COMPANY: + serviceImpl.createCompany((com.google.cloud.talent.v4.CreateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_COMPANY: + serviceImpl.getCompany((com.google.cloud.talent.v4.GetCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_COMPANY: + serviceImpl.updateCompany((com.google.cloud.talent.v4.UpdateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_COMPANY: + serviceImpl.deleteCompany((com.google.cloud.talent.v4.DeleteCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPANIES: + serviceImpl.listCompanies((com.google.cloud.talent.v4.ListCompaniesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompanyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CompanyService"); + } + } + + private static final class CompanyServiceFileDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier { + CompanyServiceFileDescriptorSupplier() {} + } + + private static final class CompanyServiceMethodDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompanyServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompanyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) + .addMethod(getCreateCompanyMethod()) + .addMethod(getGetCompanyMethod()) + .addMethod(getUpdateCompanyMethod()) + .addMethod(getDeleteCompanyMethod()) + .addMethod(getListCompaniesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java similarity index 50% rename from java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java rename to owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java index b2cc0c882cbf..70710d57be6a 100644 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java +++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * A service handles auto completion.
  * 
@@ -35,176 +18,150 @@ private CompletionGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.Completion"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse> - getCompleteQueryMethod; + private static volatile io.grpc.MethodDescriptor getCompleteQueryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", requestType = com.google.cloud.talent.v4.CompleteQueryRequest.class, responseType = com.google.cloud.talent.v4.CompleteQueryResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse> - getCompleteQueryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse> - getCompleteQueryMethod; + public static io.grpc.MethodDescriptor getCompleteQueryMethod() { + io.grpc.MethodDescriptor getCompleteQueryMethod; if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { synchronized (CompletionGrpc.class) { if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - CompletionGrpc.getCompleteQueryMethod = - getCompleteQueryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CompleteQueryResponse - .getDefaultInstance())) - .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) - .build(); + CompletionGrpc.getCompleteQueryMethod = getCompleteQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) + .build(); } } } return getCompleteQueryMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static CompletionStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + }; return CompletionStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static CompletionBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static CompletionBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + }; return CompletionBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static CompletionFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CompletionFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + }; return CompletionFutureStub.newStub(factory, channel); } /** - * - * *
    * A service handles auto completion.
    * 
*/ - public abstract static class CompletionImplBase implements io.grpc.BindableService { + public static abstract class CompletionImplBase implements io.grpc.BindableService { /** - * - * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public void completeQuery( - com.google.cloud.talent.v4.CompleteQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCompleteQueryMethod(), responseObserver); + public void completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteQueryMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCompleteQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse>( - this, METHODID_COMPLETE_QUERY))) + getCompleteQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse>( + this, METHODID_COMPLETE_QUERY))) .build(); } } /** - * - * *
    * A service handles auto completion.
    * 
*/ public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { - private CompletionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CompletionStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CompletionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CompletionStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CompletionStub(channel, callOptions); } /** - * - * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public void completeQuery( - com.google.cloud.talent.v4.CompleteQueryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service handles auto completion.
    * 
*/ - public static final class CompletionBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CompletionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CompletionBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CompletionBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -215,49 +172,42 @@ protected CompletionBlockingStub build( } /** - * - * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public com.google.cloud.talent.v4.CompleteQueryResponse completeQuery( - com.google.cloud.talent.v4.CompleteQueryRequest request) { + public com.google.cloud.talent.v4.CompleteQueryResponse completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCompleteQueryMethod(), getCallOptions(), request); } } /** - * - * *
    * A service handles auto completion.
    * 
*/ - public static final class CompletionFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CompletionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CompletionFutureStub extends io.grpc.stub.AbstractFutureStub { + private CompletionFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CompletionFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CompletionFutureStub(channel, callOptions); } /** - * - * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.CompleteQueryResponse> - completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request) { + public com.google.common.util.concurrent.ListenableFuture completeQuery( + com.google.cloud.talent.v4.CompleteQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); } @@ -265,11 +215,11 @@ protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOption private static final int METHODID_COMPLETE_QUERY = 0; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final CompletionImplBase serviceImpl; private final int methodId; @@ -283,10 +233,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_COMPLETE_QUERY: - serviceImpl.completeQuery( - (com.google.cloud.talent.v4.CompleteQueryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.completeQuery((com.google.cloud.talent.v4.CompleteQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -304,9 +252,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { CompletionBaseDescriptorSupplier() {} @java.lang.Override @@ -348,12 +295,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CompletionGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) - .addMethod(getCompleteQueryMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) + .addMethod(getCompleteQueryMethod()) + .build(); } } } diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java similarity index 54% rename from java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java rename to owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java index fc86661433ee..fa141108eb74 100644 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java +++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * A service handles client event report.
  * 
@@ -35,105 +18,89 @@ private EventServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.EventService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent> - getCreateClientEventMethod; + private static volatile io.grpc.MethodDescriptor getCreateClientEventMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateClientEvent", requestType = com.google.cloud.talent.v4.CreateClientEventRequest.class, responseType = com.google.cloud.talent.v4.ClientEvent.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent> - getCreateClientEventMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent> - getCreateClientEventMethod; + public static io.grpc.MethodDescriptor getCreateClientEventMethod() { + io.grpc.MethodDescriptor getCreateClientEventMethod; if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { synchronized (EventServiceGrpc.class) { if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { - EventServiceGrpc.getCreateClientEventMethod = - getCreateClientEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateClientEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ClientEvent.getDefaultInstance())) - .setSchemaDescriptor( - new EventServiceMethodDescriptorSupplier("CreateClientEvent")) - .build(); + EventServiceGrpc.getCreateClientEventMethod = getCreateClientEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ClientEvent.getDefaultInstance())) + .setSchemaDescriptor(new EventServiceMethodDescriptorSupplier("CreateClientEvent")) + .build(); } } } return getCreateClientEventMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static EventServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceStub(channel, callOptions); + } + }; return EventServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static EventServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static EventServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceBlockingStub(channel, callOptions); + } + }; return EventServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static EventServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static EventServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceFutureStub(channel, callOptions); + } + }; return EventServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * A service handles client event report.
    * 
*/ - public abstract static class EventServiceImplBase implements io.grpc.BindableService { + public static abstract class EventServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -144,47 +111,42 @@ public abstract static class EventServiceImplBase implements io.grpc.BindableSer
      * about self service tools.
      * 
*/ - public void createClientEvent( - com.google.cloud.talent.v4.CreateClientEventRequest request, + public void createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClientEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClientEventMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateClientEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent>(this, METHODID_CREATE_CLIENT_EVENT))) + getCreateClientEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent>( + this, METHODID_CREATE_CLIENT_EVENT))) .build(); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private EventServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceStub extends io.grpc.stub.AbstractAsyncStub { + private EventServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected EventServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new EventServiceStub(channel, callOptions); } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -195,26 +157,21 @@ protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * about self service tools.
      * 
*/ - public void createClientEvent( - com.google.cloud.talent.v4.CreateClientEventRequest request, + public void createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private EventServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private EventServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -225,8 +182,6 @@ protected EventServiceBlockingStub build( } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -237,23 +192,20 @@ protected EventServiceBlockingStub build(
      * about self service tools.
      * 
*/ - public com.google.cloud.talent.v4.ClientEvent createClientEvent( - com.google.cloud.talent.v4.CreateClientEventRequest request) { + public com.google.cloud.talent.v4.ClientEvent createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateClientEventMethod(), getCallOptions(), request); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private EventServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private EventServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -264,8 +216,6 @@ protected EventServiceFutureStub build( } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -276,9 +226,8 @@ protected EventServiceFutureStub build(
      * about self service tools.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.ClientEvent> - createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request) { + public com.google.common.util.concurrent.ListenableFuture createClientEvent( + com.google.cloud.talent.v4.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request); } @@ -286,11 +235,11 @@ protected EventServiceFutureStub build( private static final int METHODID_CREATE_CLIENT_EVENT = 0; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final EventServiceImplBase serviceImpl; private final int methodId; @@ -304,10 +253,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CLIENT_EVENT: - serviceImpl.createClientEvent( - (com.google.cloud.talent.v4.CreateClientEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createClientEvent((com.google.cloud.talent.v4.CreateClientEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -325,9 +272,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class EventServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class EventServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { EventServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -369,12 +315,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (EventServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) - .addMethod(getCreateClientEventMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) + .addMethod(getCreateClientEventMethod()) + .build(); } } } diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java similarity index 50% rename from java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java rename to owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java index 8538ee796c10..ad495e9d8c87 100644 --- a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java +++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * A service handles job management, including job CRUD, enumeration and search.
  * 
@@ -35,590 +18,455 @@ private JobServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.JobService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> - getCreateJobMethod; + private static volatile io.grpc.MethodDescriptor getCreateJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateJob", requestType = com.google.cloud.talent.v4.CreateJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> - getCreateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> - getCreateJobMethod; + public static io.grpc.MethodDescriptor getCreateJobMethod() { + io.grpc.MethodDescriptor getCreateJobMethod; if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - JobServiceGrpc.getCreateJobMethod = - getCreateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) - .build(); + JobServiceGrpc.getCreateJobMethod = getCreateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) + .build(); } } } return getCreateJobMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod; + private static volatile io.grpc.MethodDescriptor getBatchCreateJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", requestType = com.google.cloud.talent.v4.BatchCreateJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> - getBatchCreateJobsMethod; + public static io.grpc.MethodDescriptor getBatchCreateJobsMethod() { + io.grpc.MethodDescriptor getBatchCreateJobsMethod; if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - JobServiceGrpc.getBatchCreateJobsMethod = - getBatchCreateJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchCreateJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) - .build(); + JobServiceGrpc.getBatchCreateJobsMethod = getBatchCreateJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) + .build(); } } } return getBatchCreateJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> - getGetJobMethod; + private static volatile io.grpc.MethodDescriptor getGetJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetJob", requestType = com.google.cloud.talent.v4.GetJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> - getGetJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> - getGetJobMethod; + public static io.grpc.MethodDescriptor getGetJobMethod() { + io.grpc.MethodDescriptor getGetJobMethod; if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - JobServiceGrpc.getGetJobMethod = - getGetJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) - .build(); + JobServiceGrpc.getGetJobMethod = getGetJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) + .build(); } } } return getGetJobMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> - getUpdateJobMethod; + private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateJob", requestType = com.google.cloud.talent.v4.UpdateJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> - getUpdateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> - getUpdateJobMethod; + public static io.grpc.MethodDescriptor getUpdateJobMethod() { + io.grpc.MethodDescriptor getUpdateJobMethod; if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - JobServiceGrpc.getUpdateJobMethod = - getUpdateJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) - .build(); + JobServiceGrpc.getUpdateJobMethod = getUpdateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) + .build(); } } } return getUpdateJobMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod; + private static volatile io.grpc.MethodDescriptor getBatchUpdateJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", requestType = com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> - getBatchUpdateJobsMethod; + public static io.grpc.MethodDescriptor getBatchUpdateJobsMethod() { + io.grpc.MethodDescriptor getBatchUpdateJobsMethod; if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - JobServiceGrpc.getBatchUpdateJobsMethod = - getBatchUpdateJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchUpdateJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) - .build(); + JobServiceGrpc.getBatchUpdateJobsMethod = getBatchUpdateJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) + .build(); } } } return getBatchUpdateJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod; + private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteJob", requestType = com.google.cloud.talent.v4.DeleteJobRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty> - getDeleteJobMethod() { - io.grpc.MethodDescriptor - getDeleteJobMethod; + public static io.grpc.MethodDescriptor getDeleteJobMethod() { + io.grpc.MethodDescriptor getDeleteJobMethod; if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - JobServiceGrpc.getDeleteJobMethod = - getDeleteJobMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) - .build(); + JobServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) + .build(); } } } return getDeleteJobMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> - getBatchDeleteJobsMethod; + private static volatile io.grpc.MethodDescriptor getBatchDeleteJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", requestType = com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> - getBatchDeleteJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> - getBatchDeleteJobsMethod; + public static io.grpc.MethodDescriptor getBatchDeleteJobsMethod() { + io.grpc.MethodDescriptor getBatchDeleteJobsMethod; if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - JobServiceGrpc.getBatchDeleteJobsMethod = - getBatchDeleteJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchDeleteJobsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) - .build(); + JobServiceGrpc.getBatchDeleteJobsMethod = getBatchDeleteJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) + .build(); } } } return getBatchDeleteJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> - getListJobsMethod; + private static volatile io.grpc.MethodDescriptor getListJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListJobs", requestType = com.google.cloud.talent.v4.ListJobsRequest.class, responseType = com.google.cloud.talent.v4.ListJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> - getListJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> - getListJobsMethod; + public static io.grpc.MethodDescriptor getListJobsMethod() { + io.grpc.MethodDescriptor getListJobsMethod; if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - JobServiceGrpc.getListJobsMethod = - getListJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) - .build(); + JobServiceGrpc.getListJobsMethod = getListJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) + .build(); } } } return getListJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsMethod; + private static volatile io.grpc.MethodDescriptor getSearchJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchJobs", requestType = com.google.cloud.talent.v4.SearchJobsRequest.class, responseType = com.google.cloud.talent.v4.SearchJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsMethod; + public static io.grpc.MethodDescriptor getSearchJobsMethod() { + io.grpc.MethodDescriptor getSearchJobsMethod; if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - JobServiceGrpc.getSearchJobsMethod = - getSearchJobsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) - .build(); + JobServiceGrpc.getSearchJobsMethod = getSearchJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) + .build(); } } } return getSearchJobsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsForAlertMethod; + private static volatile io.grpc.MethodDescriptor getSearchJobsForAlertMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", requestType = com.google.cloud.talent.v4.SearchJobsRequest.class, responseType = com.google.cloud.talent.v4.SearchJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsForAlertMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse> - getSearchJobsForAlertMethod; + public static io.grpc.MethodDescriptor getSearchJobsForAlertMethod() { + io.grpc.MethodDescriptor getSearchJobsForAlertMethod; if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - JobServiceGrpc.getSearchJobsForAlertMethod = - getSearchJobsForAlertMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) - .build(); + JobServiceGrpc.getSearchJobsForAlertMethod = getSearchJobsForAlertMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) + .build(); } } } return getSearchJobsForAlertMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static JobServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + }; return JobServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static JobServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static JobServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + }; return JobServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static JobServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static JobServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + }; return JobServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public abstract static class JobServiceImplBase implements io.grpc.BindableService { + public static abstract class JobServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void createJob( - com.google.cloud.talent.v4.CreateJobRequest request, + public void createJob(com.google.cloud.talent.v4.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); } /** - * - * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public void batchCreateJobs( - com.google.cloud.talent.v4.BatchCreateJobsRequest request, + public void batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateJobsMethod(), responseObserver); } /** - * - * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public void getJob( - com.google.cloud.talent.v4.GetJobRequest request, + public void getJob(com.google.cloud.talent.v4.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** - * - * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public void updateJob( - com.google.cloud.talent.v4.UpdateJobRequest request, + public void updateJob(com.google.cloud.talent.v4.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** - * - * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public void batchUpdateJobs( - com.google.cloud.talent.v4.BatchUpdateJobsRequest request, + public void batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchUpdateJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateJobsMethod(), responseObserver); } /** - * - * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void deleteJob( - com.google.cloud.talent.v4.DeleteJobRequest request, + public void deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } /** - * - * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public void batchDeleteJobs( - com.google.cloud.talent.v4.BatchDeleteJobsRequest request, + public void batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchDeleteJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteJobsMethod(), responseObserver); } /** - * - * *
      * Lists jobs by filter.
      * 
*/ - public void listJobs( - com.google.cloud.talent.v4.ListJobsRequest request, + public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -626,16 +474,12 @@ public void listJobs(
      * permission to search against.
      * 
*/ - public void searchJobs( - com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -647,227 +491,200 @@ public void searchJobs(
      * permission to search against.
      * 
*/ - public void searchJobsForAlert( - com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSearchJobsForAlertMethod(), responseObserver); + public void searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsForAlertMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job>( - this, METHODID_CREATE_JOB))) + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateJobRequest, + com.google.cloud.talent.v4.Job>( + this, METHODID_CREATE_JOB))) .addMethod( - getBatchCreateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchCreateJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_JOBS))) + getBatchCreateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchCreateJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_CREATE_JOBS))) .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job>( - this, METHODID_GET_JOB))) + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetJobRequest, + com.google.cloud.talent.v4.Job>( + this, METHODID_GET_JOB))) .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job>( - this, METHODID_UPDATE_JOB))) + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateJobRequest, + com.google.cloud.talent.v4.Job>( + this, METHODID_UPDATE_JOB))) .addMethod( - getBatchUpdateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_JOBS))) + getBatchUpdateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_UPDATE_JOBS))) .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) .addMethod( - getBatchDeleteJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, - com.google.longrunning.Operation>(this, METHODID_BATCH_DELETE_JOBS))) + getBatchDeleteJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_DELETE_JOBS))) .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListJobsRequest, - com.google.cloud.talent.v4.ListJobsResponse>(this, METHODID_LIST_JOBS))) + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListJobsRequest, + com.google.cloud.talent.v4.ListJobsResponse>( + this, METHODID_LIST_JOBS))) .addMethod( - getSearchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse>(this, METHODID_SEARCH_JOBS))) + getSearchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS))) .addMethod( - getSearchJobsForAlertMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS_FOR_ALERT))) + getSearchJobsForAlertMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS_FOR_ALERT))) .build(); } } /** - * - * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { - private JobServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private JobServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected JobServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new JobServiceStub(channel, callOptions); } /** - * - * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void createJob( - com.google.cloud.talent.v4.CreateJobRequest request, + public void createJob(com.google.cloud.talent.v4.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public void batchCreateJobs( - com.google.cloud.talent.v4.BatchCreateJobsRequest request, + public void batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public void getJob( - com.google.cloud.talent.v4.GetJobRequest request, + public void getJob(com.google.cloud.talent.v4.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public void updateJob( - com.google.cloud.talent.v4.UpdateJobRequest request, + public void updateJob(com.google.cloud.talent.v4.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public void batchUpdateJobs( - com.google.cloud.talent.v4.BatchUpdateJobsRequest request, + public void batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void deleteJob( - com.google.cloud.talent.v4.DeleteJobRequest request, + public void deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public void batchDeleteJobs( - com.google.cloud.talent.v4.BatchDeleteJobsRequest request, + public void batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists jobs by filter.
      * 
*/ - public void listJobs( - com.google.cloud.talent.v4.ListJobsRequest request, + public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -875,17 +692,13 @@ public void listJobs(
      * permission to search against.
      * 
*/ - public void searchJobs( - com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -897,27 +710,21 @@ public void searchJobs(
      * permission to search against.
      * 
*/ - public void searchJobsForAlert( - com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static final class JobServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private JobServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private JobServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -928,36 +735,28 @@ protected JobServiceBlockingStub build( } /** - * - * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.cloud.talent.v4.Job createJob( - com.google.cloud.talent.v4.CreateJobRequest request) { + public com.google.cloud.talent.v4.Job createJob(com.google.cloud.talent.v4.CreateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateJobMethod(), getCallOptions(), request); } /** - * - * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchCreateJobs( - com.google.cloud.talent.v4.BatchCreateJobsRequest request) { + public com.google.longrunning.Operation batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
@@ -969,77 +768,60 @@ public com.google.cloud.talent.v4.Job getJob(com.google.cloud.talent.v4.GetJobRe
     }
 
     /**
-     *
-     *
      * 
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public com.google.cloud.talent.v4.Job updateJob( - com.google.cloud.talent.v4.UpdateJobRequest request) { + public com.google.cloud.talent.v4.Job updateJob(com.google.cloud.talent.v4.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** - * - * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchUpdateJobs( - com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { + public com.google.longrunning.Operation batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.protobuf.Empty deleteJob( - com.google.cloud.talent.v4.DeleteJobRequest request) { + public com.google.protobuf.Empty deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } /** - * - * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchDeleteJobs( - com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { + public com.google.longrunning.Operation batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Lists jobs by filter.
      * 
*/ - public com.google.cloud.talent.v4.ListJobsResponse listJobs( - com.google.cloud.talent.v4.ListJobsRequest request) { + public com.google.cloud.talent.v4.ListJobsResponse listJobs(com.google.cloud.talent.v4.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -1047,15 +829,12 @@ public com.google.cloud.talent.v4.ListJobsResponse listJobs(
      * permission to search against.
      * 
*/ - public com.google.cloud.talent.v4.SearchJobsResponse searchJobs( - com.google.cloud.talent.v4.SearchJobsRequest request) { + public com.google.cloud.talent.v4.SearchJobsResponse searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -1067,104 +846,90 @@ public com.google.cloud.talent.v4.SearchJobsResponse searchJobs(
      * permission to search against.
      * 
*/ - public com.google.cloud.talent.v4.SearchJobsResponse searchJobsForAlert( - com.google.cloud.talent.v4.SearchJobsRequest request) { + public com.google.cloud.talent.v4.SearchJobsResponse searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); } } /** - * - * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static final class JobServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private JobServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class JobServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private JobServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected JobServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new JobServiceFutureStub(channel, callOptions); } /** - * - * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createJob(com.google.cloud.talent.v4.CreateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture createJob( + com.google.cloud.talent.v4.CreateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); } /** - * - * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchCreateJobs( + com.google.cloud.talent.v4.BatchCreateJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getJob(com.google.cloud.talent.v4.GetJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.talent.v4.GetJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** - * - * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateJob(com.google.cloud.talent.v4.UpdateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateJob( + com.google.cloud.talent.v4.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); } /** - * - * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchUpdateJobs( + com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
@@ -1178,35 +943,28 @@ public com.google.common.util.concurrent.ListenableFuture
      * Begins executing a batch delete jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchDeleteJobs( + com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Lists jobs by filter.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4.ListJobsResponse> - listJobs(com.google.cloud.talent.v4.ListJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.talent.v4.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -1214,16 +972,13 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.cloud.talent.v4.SearchJobsResponse>
-        searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture searchJobs(
+        com.google.cloud.talent.v4.SearchJobsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -1235,9 +990,8 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.cloud.talent.v4.SearchJobsResponse>
-        searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture searchJobsForAlert(
+        com.google.cloud.talent.v4.SearchJobsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request);
     }
@@ -1254,11 +1008,11 @@ public com.google.common.util.concurrent.ListenableFuture
-      implements io.grpc.stub.ServerCalls.UnaryMethod,
-          io.grpc.stub.ServerCalls.ServerStreamingMethod,
-          io.grpc.stub.ServerCalls.ClientStreamingMethod,
-          io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers implements
+      io.grpc.stub.ServerCalls.UnaryMethod,
+      io.grpc.stub.ServerCalls.ServerStreamingMethod,
+      io.grpc.stub.ServerCalls.ClientStreamingMethod,
+      io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final JobServiceImplBase serviceImpl;
     private final int methodId;
 
@@ -1272,57 +1026,44 @@ private static final class MethodHandlers
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_JOB:
-          serviceImpl.createJob(
-              (com.google.cloud.talent.v4.CreateJobRequest) request,
+          serviceImpl.createJob((com.google.cloud.talent.v4.CreateJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_CREATE_JOBS:
-          serviceImpl.batchCreateJobs(
-              (com.google.cloud.talent.v4.BatchCreateJobsRequest) request,
+          serviceImpl.batchCreateJobs((com.google.cloud.talent.v4.BatchCreateJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_JOB:
-          serviceImpl.getJob(
-              (com.google.cloud.talent.v4.GetJobRequest) request,
+          serviceImpl.getJob((com.google.cloud.talent.v4.GetJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_JOB:
-          serviceImpl.updateJob(
-              (com.google.cloud.talent.v4.UpdateJobRequest) request,
+          serviceImpl.updateJob((com.google.cloud.talent.v4.UpdateJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_UPDATE_JOBS:
-          serviceImpl.batchUpdateJobs(
-              (com.google.cloud.talent.v4.BatchUpdateJobsRequest) request,
+          serviceImpl.batchUpdateJobs((com.google.cloud.talent.v4.BatchUpdateJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_JOB:
-          serviceImpl.deleteJob(
-              (com.google.cloud.talent.v4.DeleteJobRequest) request,
+          serviceImpl.deleteJob((com.google.cloud.talent.v4.DeleteJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_DELETE_JOBS:
-          serviceImpl.batchDeleteJobs(
-              (com.google.cloud.talent.v4.BatchDeleteJobsRequest) request,
+          serviceImpl.batchDeleteJobs((com.google.cloud.talent.v4.BatchDeleteJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_JOBS:
-          serviceImpl.listJobs(
-              (com.google.cloud.talent.v4.ListJobsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.listJobs((com.google.cloud.talent.v4.ListJobsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_SEARCH_JOBS:
-          serviceImpl.searchJobs(
-              (com.google.cloud.talent.v4.SearchJobsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.searchJobs((com.google.cloud.talent.v4.SearchJobsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_SEARCH_JOBS_FOR_ALERT:
-          serviceImpl.searchJobsForAlert(
-              (com.google.cloud.talent.v4.SearchJobsRequest) request,
-              (io.grpc.stub.StreamObserver)
-                  responseObserver);
+          serviceImpl.searchJobsForAlert((com.google.cloud.talent.v4.SearchJobsRequest) request,
+              (io.grpc.stub.StreamObserver) responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -1340,9 +1081,8 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private abstract static class JobServiceBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
-          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private static abstract class JobServiceBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     JobServiceBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1384,21 +1124,19 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (JobServiceGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor =
-              result =
-                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-                      .setSchemaDescriptor(new JobServiceFileDescriptorSupplier())
-                      .addMethod(getCreateJobMethod())
-                      .addMethod(getBatchCreateJobsMethod())
-                      .addMethod(getGetJobMethod())
-                      .addMethod(getUpdateJobMethod())
-                      .addMethod(getBatchUpdateJobsMethod())
-                      .addMethod(getDeleteJobMethod())
-                      .addMethod(getBatchDeleteJobsMethod())
-                      .addMethod(getListJobsMethod())
-                      .addMethod(getSearchJobsMethod())
-                      .addMethod(getSearchJobsForAlertMethod())
-                      .build();
+          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+              .setSchemaDescriptor(new JobServiceFileDescriptorSupplier())
+              .addMethod(getCreateJobMethod())
+              .addMethod(getBatchCreateJobsMethod())
+              .addMethod(getGetJobMethod())
+              .addMethod(getUpdateJobMethod())
+              .addMethod(getBatchUpdateJobsMethod())
+              .addMethod(getDeleteJobMethod())
+              .addMethod(getBatchDeleteJobsMethod())
+              .addMethod(getListJobsMethod())
+              .addMethod(getSearchJobsMethod())
+              .addMethod(getSearchJobsForAlertMethod())
+              .build();
         }
       }
     }
diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
new file mode 100644
index 000000000000..1cd8a445db47
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
@@ -0,0 +1,647 @@
+package com.google.cloud.talent.v4;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ * 
+ * A service that handles tenant management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4/tenant_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TenantServiceGrpc { + + private TenantServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4.TenantService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTenant", + requestType = com.google.cloud.talent.v4.CreateTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTenantMethod() { + io.grpc.MethodDescriptor getCreateTenantMethod; + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + TenantServiceGrpc.getCreateTenantMethod = getCreateTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("CreateTenant")) + .build(); + } + } + } + return getCreateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTenant", + requestType = com.google.cloud.talent.v4.GetTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTenantMethod() { + io.grpc.MethodDescriptor getGetTenantMethod; + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + TenantServiceGrpc.getGetTenantMethod = getGetTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) + .build(); + } + } + } + return getGetTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", + requestType = com.google.cloud.talent.v4.UpdateTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTenantMethod() { + io.grpc.MethodDescriptor getUpdateTenantMethod; + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + TenantServiceGrpc.getUpdateTenantMethod = getUpdateTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("UpdateTenant")) + .build(); + } + } + } + return getUpdateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", + requestType = com.google.cloud.talent.v4.DeleteTenantRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTenantMethod() { + io.grpc.MethodDescriptor getDeleteTenantMethod; + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + TenantServiceGrpc.getDeleteTenantMethod = getDeleteTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("DeleteTenant")) + .build(); + } + } + } + return getDeleteTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTenantsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTenants", + requestType = com.google.cloud.talent.v4.ListTenantsRequest.class, + responseType = com.google.cloud.talent.v4.ListTenantsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTenantsMethod() { + io.grpc.MethodDescriptor getListTenantsMethod; + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + TenantServiceGrpc.getListTenantsMethod = getListTenantsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListTenantsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListTenantsResponse.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) + .build(); + } + } + } + return getListTenantsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static TenantServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + }; + return TenantServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TenantServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + }; + return TenantServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static TenantServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + }; + return TenantServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static abstract class TenantServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant(com.google.cloud.talent.v4.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTenantMethod(), responseObserver); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant(com.google.cloud.talent.v4.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTenantMethod(), responseObserver); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTenantMethod(), responseObserver); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants(com.google.cloud.talent.v4.ListTenantsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTenantsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateTenantRequest, + com.google.cloud.talent.v4.Tenant>( + this, METHODID_CREATE_TENANT))) + .addMethod( + getGetTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetTenantRequest, + com.google.cloud.talent.v4.Tenant>( + this, METHODID_GET_TENANT))) + .addMethod( + getUpdateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateTenantRequest, + com.google.cloud.talent.v4.Tenant>( + this, METHODID_UPDATE_TENANT))) + .addMethod( + getDeleteTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteTenantRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TENANT))) + .addMethod( + getListTenantsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse>( + this, METHODID_LIST_TENANTS))) + .build(); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceStub extends io.grpc.stub.AbstractAsyncStub { + private TenantServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant(com.google.cloud.talent.v4.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant(com.google.cloud.talent.v4.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants(com.google.cloud.talent.v4.ListTenantsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private TenantServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant createTenant(com.google.cloud.talent.v4.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant getTenant(com.google.cloud.talent.v4.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.protobuf.Empty deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4.ListTenantsResponse listTenants(com.google.cloud.talent.v4.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTenantsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private TenantServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTenant( + com.google.cloud.talent.v4.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTenant( + com.google.cloud.talent.v4.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTenant( + com.google.cloud.talent.v4.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTenant( + com.google.cloud.talent.v4.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTenants( + com.google.cloud.talent.v4.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TENANT = 0; + private static final int METHODID_GET_TENANT = 1; + private static final int METHODID_UPDATE_TENANT = 2; + private static final int METHODID_DELETE_TENANT = 3; + private static final int METHODID_LIST_TENANTS = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TenantServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TENANT: + serviceImpl.createTenant((com.google.cloud.talent.v4.CreateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TENANT: + serviceImpl.getTenant((com.google.cloud.talent.v4.GetTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TENANT: + serviceImpl.updateTenant((com.google.cloud.talent.v4.UpdateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TENANT: + serviceImpl.deleteTenant((com.google.cloud.talent.v4.DeleteTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TENANTS: + serviceImpl.listTenants((com.google.cloud.talent.v4.ListTenantsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TenantServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TenantService"); + } + } + + private static final class TenantServiceFileDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier { + TenantServiceFileDescriptorSupplier() {} + } + + private static final class TenantServiceMethodDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TenantServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TenantServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) + .addMethod(getCreateTenantMethod()) + .addMethod(getGetTenantMethod()) + .addMethod(getUpdateTenantMethod()) + .addMethod(getDeleteTenantMethod()) + .addMethod(getListTenantsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java index 1b9463d35ab9..55697f9d7d17 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Request to create a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsRequest} */ -public final class BatchCreateJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchCreateJobsRequest) BatchCreateJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateJobsRequest.newBuilder() to construct. private BatchCreateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -44,45 +26,39 @@ private BatchCreateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchCreateJobsRequest.class, - com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchCreateJobsRequest.class, com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,83 +102,69 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,7 +197,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, jobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,16 +208,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.BatchCreateJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.BatchCreateJobsRequest other = - (com.google.cloud.talent.v4.BatchCreateJobsRequest) obj; + com.google.cloud.talent.v4.BatchCreateJobsRequest other = (com.google.cloud.talent.v4.BatchCreateJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getJobsList().equals(other.getJobsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -279,135 +242,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.BatchCreateJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchCreateJobsRequest) com.google.cloud.talent.v4.BatchCreateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchCreateJobsRequest.class, - com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchCreateJobsRequest.class, com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchCreateJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override @@ -445,8 +402,7 @@ public com.google.cloud.talent.v4.BatchCreateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchCreateJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchCreateJobsRequest result = - new com.google.cloud.talent.v4.BatchCreateJobsRequest(this); + com.google.cloud.talent.v4.BatchCreateJobsRequest result = new com.google.cloud.talent.v4.BatchCreateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -466,39 +422,38 @@ public com.google.cloud.talent.v4.BatchCreateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchCreateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -506,8 +461,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -530,10 +484,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsRequest other jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -565,31 +518,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4.Job m = - input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4.Job m = + input.readMessage( + com.google.cloud.talent.v4.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,29 +551,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -630,25 +577,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -656,105 +600,84 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -764,16 +687,12 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -783,16 +702,12 @@ public int getJobsCount() { } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -802,18 +717,15 @@ public com.google.cloud.talent.v4.Job getJobs(int index) { } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { + public Builder setJobs( + int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -827,18 +739,15 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -849,16 +758,12 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builder return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addJobs(com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { @@ -874,18 +779,15 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { + public Builder addJobs( + int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -899,18 +801,15 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -921,18 +820,15 @@ public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -943,21 +839,19 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builder return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addAllJobs(java.lang.Iterable values) { + public Builder addAllJobs( + java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -965,16 +859,12 @@ public Builder addAllJobs(java.lang.Iterable * Required. The jobs to be created. * A maximum of 200 jobs can be created in a batch. *
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -987,16 +877,12 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1009,53 +895,42 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.talent.v4.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1063,71 +938,59 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { } } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance()); + public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1137,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchCreateJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchCreateJobsRequest) private static final com.google.cloud.talent.v4.BatchCreateJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchCreateJobsRequest(); } @@ -1151,27 +1014,27 @@ public static com.google.cloud.talent.v4.BatchCreateJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1186,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.BatchCreateJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java similarity index 57% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java index cf3116ba773a..1b9202d0f8e0 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java @@ -1,119 +1,82 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface BatchCreateJobsRequestOrBuilder - extends +public interface BatchCreateJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchCreateJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.Job getJobs(int index); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getJobsCount(); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java index f781f88bfa7d..30452545d8ff 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsResponse}
  */
-public final class BatchCreateJobsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateJobsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchCreateJobsResponse)
     BatchCreateJobsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateJobsResponse.newBuilder() to construct.
   private BatchCreateJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchCreateJobsResponse.class,
-            com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchCreateJobsResponse.class, com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -85,8 +64,6 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -95,13 +72,11 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -114,8 +89,6 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -128,8 +101,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -138,12 +109,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,7 +126,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -169,7 +141,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,15 +152,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchCreateJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchCreateJobsResponse other =
-        (com.google.cloud.talent.v4.BatchCreateJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchCreateJobsResponse other = (com.google.cloud.talent.v4.BatchCreateJobsResponse) obj;
 
-    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList()
+        .equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -209,103 +182,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchCreateJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -313,32 +279,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchCreateJobsResponse)
       com.google.cloud.talent.v4.BatchCreateJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchCreateJobsResponse.class,
-              com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchCreateJobsResponse.class, com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchCreateJobsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +320,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -374,8 +341,7 @@ public com.google.cloud.talent.v4.BatchCreateJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchCreateJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchCreateJobsResponse result =
-          new com.google.cloud.talent.v4.BatchCreateJobsResponse(this);
+      com.google.cloud.talent.v4.BatchCreateJobsResponse result = new com.google.cloud.talent.v4.BatchCreateJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -394,39 +360,38 @@ public com.google.cloud.talent.v4.BatchCreateJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchCreateJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsResponse) other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchCreateJobsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4.BatchCreateJobsResponse.getDefaultInstance()) return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -454,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getJobResultsFieldBuilder()
-                    : null;
+            jobResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getJobResultsFieldBuilder() : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -489,26 +452,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.talent.v4.JobResult m =
-                    input.readMessage(
-                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
-                if (jobResultsBuilder_ == null) {
-                  ensureJobResultsIsMutable();
-                  jobResults_.add(m);
-                } else {
-                  jobResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.talent.v4.JobResult m =
+                  input.readMessage(
+                      com.google.cloud.talent.v4.JobResult.parser(),
+                      extensionRegistry);
+              if (jobResultsBuilder_ == null) {
+                ensureJobResultsIsMutable();
+                jobResults_.add(m);
+              } else {
+                jobResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -518,28 +480,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List jobResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
-        jobResultsBuilder_;
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -555,8 +510,6 @@ public java.util.List getJobResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -572,8 +525,6 @@ public int getJobResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -589,8 +540,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -598,7 +547,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -612,8 +562,6 @@ public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -633,8 +581,6 @@ public Builder setJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -656,8 +602,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -665,7 +609,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -679,8 +624,6 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -688,7 +631,8 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(
+        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -699,8 +643,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -720,8 +662,6 @@ public Builder addJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -733,7 +673,8 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -741,8 +682,6 @@ public Builder addAllJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -761,8 +700,6 @@ public Builder clearJobResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -781,8 +718,6 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -790,12 +725,11 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
+        int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -803,16 +737,14 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+        int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);
-      } else {
+        return jobResults_.get(index);  } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -820,8 +752,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List
-        getJobResultsOrBuilderList() {
+    public java.util.List 
+         getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -829,8 +761,6 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -839,12 +769,10 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -852,13 +780,12 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
-      return getJobResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
+        int index) {
+      return getJobResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -866,29 +793,27 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List getJobResultsBuilderList() {
+    public java.util.List 
+         getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.JobResult,
-                com.google.cloud.talent.v4.JobResult.Builder,
-                com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -898,12 +823,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchCreateJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchCreateJobsResponse)
   private static final com.google.cloud.talent.v4.BatchCreateJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchCreateJobsResponse();
   }
@@ -912,27 +837,27 @@ public static com.google.cloud.talent.v4.BatchCreateJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchCreateJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchCreateJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -947,4 +872,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchCreateJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
similarity index 69%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
index 1df0f93fb09d..1d098258868a 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchCreateJobsResponseOrBuilder
-    extends
+public interface BatchCreateJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchCreateJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -33,10 +15,9 @@ public interface BatchCreateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List getJobResultsList();
+  java.util.List 
+      getJobResultsList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -46,8 +27,6 @@ public interface BatchCreateJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -57,8 +36,6 @@ public interface BatchCreateJobsResponseOrBuilder
    */
   int getJobResultsCount();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -66,11 +43,9 @@ public interface BatchCreateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List
+  java.util.List 
       getJobResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -78,5 +53,6 @@ public interface BatchCreateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
index 6cd16c627fd1..7f0028702d1c 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Request to delete a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsRequest} */ -public final class BatchDeleteJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchDeleteJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchDeleteJobsRequest) BatchDeleteJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchDeleteJobsRequest.newBuilder() to construct. private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchDeleteJobsRequest() { parent_ = ""; names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,35 +26,32 @@ private BatchDeleteJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchDeleteJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, - com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,8 +104,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList names_; /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -140,15 +112,13 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_; } /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -157,15 +127,12 @@ public com.google.protobuf.ProtocolStringList getNamesList() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -174,7 +141,6 @@ public int getNamesCount() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The names at the given index. */ @@ -182,8 +148,6 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -192,16 +156,15 @@ public java.lang.String getNames(int index) {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -248,16 +212,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.BatchDeleteJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.BatchDeleteJobsRequest other = - (com.google.cloud.talent.v4.BatchDeleteJobsRequest) obj; + com.google.cloud.talent.v4.BatchDeleteJobsRequest other = (com.google.cloud.talent.v4.BatchDeleteJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getNamesList().equals(other.getNamesList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getNamesList() + .equals(other.getNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -281,135 +246,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.BatchDeleteJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchDeleteJobsRequest) com.google.cloud.talent.v4.BatchDeleteJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, - com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchDeleteJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +380,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override @@ -442,8 +401,7 @@ public com.google.cloud.talent.v4.BatchDeleteJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchDeleteJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchDeleteJobsRequest result = - new com.google.cloud.talent.v4.BatchDeleteJobsRequest(this); + com.google.cloud.talent.v4.BatchDeleteJobsRequest result = new com.google.cloud.talent.v4.BatchDeleteJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -459,39 +417,38 @@ public com.google.cloud.talent.v4.BatchDeleteJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchDeleteJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -499,8 +456,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -541,26 +497,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureNamesIsMutable(); - names_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureNamesIsMutable(); + names_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,13 +523,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -584,16 +534,14 @@ public Builder mergeFrom(
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -602,8 +550,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -611,17 +557,16 @@ public java.lang.String getParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -629,8 +574,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -638,25 +581,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -664,21 +603,16 @@ public Builder setParent(java.lang.String value) {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -686,36 +620,30 @@ public Builder clearParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList names_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -724,15 +652,13 @@ private void ensureNamesIsMutable() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList getNamesList() { + public com.google.protobuf.ProtocolStringList + getNamesList() { return names_.getUnmodifiableView(); } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -741,15 +667,12 @@ public com.google.protobuf.ProtocolStringList getNamesList() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -758,7 +681,6 @@ public int getNamesCount() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The names at the given index. */ @@ -766,8 +688,6 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -776,16 +696,14 @@ public java.lang.String getNames(int index) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString getNamesBytes(int index) { + public com.google.protobuf.ByteString + getNamesBytes(int index) { return names_.getByteString(index); } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -794,23 +712,21 @@ public com.google.protobuf.ByteString getNamesBytes(int index) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames(int index, java.lang.String value) { + public Builder setNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -819,22 +735,20 @@ public Builder setNames(int index, java.lang.String value) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames(java.lang.String value) { + public Builder addNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -843,19 +757,18 @@ public Builder addNames(java.lang.String value) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames(java.lang.Iterable values) { + public Builder addAllNames( + java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, names_); onChanged(); return this; } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -864,7 +777,6 @@ public Builder addAllNames(java.lang.Iterable values) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearNames() { @@ -874,8 +786,6 @@ public Builder clearNames() { return this; } /** - * - * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -884,23 +794,23 @@ public Builder clearNames() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes(com.google.protobuf.ByteString value) { + public Builder addNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -910,12 +820,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchDeleteJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchDeleteJobsRequest) private static final com.google.cloud.talent.v4.BatchDeleteJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchDeleteJobsRequest(); } @@ -924,27 +834,27 @@ public static com.google.cloud.talent.v4.BatchDeleteJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -959,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.BatchDeleteJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java index 6fb76ebcab87..725800a16179 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface BatchDeleteJobsRequestOrBuilder - extends +public interface BatchDeleteJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchDeleteJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface BatchDeleteJobsRequestOrBuilder
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,17 +27,13 @@ public interface BatchDeleteJobsRequestOrBuilder
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -69,13 +42,11 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return A list containing the names. */ - java.util.List getNamesList(); + java.util.List + getNamesList(); /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -84,13 +55,10 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @return The count of names. */ int getNamesCount(); /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -99,14 +67,11 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** - * - * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -115,9 +80,9 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } - * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString getNamesBytes(int index); + com.google.protobuf.ByteString + getNamesBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java index 4e994cabf9de..cf5e4662733f 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsResponse}
  */
-public final class BatchDeleteJobsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchDeleteJobsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchDeleteJobsResponse)
     BatchDeleteJobsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchDeleteJobsResponse.newBuilder() to construct.
   private BatchDeleteJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchDeleteJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchDeleteJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchDeleteJobsResponse.class,
-            com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchDeleteJobsResponse.class, com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -85,8 +64,6 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -95,13 +72,11 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -114,8 +89,6 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -128,8 +101,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -138,12 +109,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,7 +126,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -169,7 +141,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,15 +152,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchDeleteJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchDeleteJobsResponse other =
-        (com.google.cloud.talent.v4.BatchDeleteJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchDeleteJobsResponse other = (com.google.cloud.talent.v4.BatchDeleteJobsResponse) obj;
 
-    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList()
+        .equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -209,103 +182,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchDeleteJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -313,32 +279,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchDeleteJobsResponse)
       com.google.cloud.talent.v4.BatchDeleteJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchDeleteJobsResponse.class,
-              com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchDeleteJobsResponse.class, com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchDeleteJobsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +320,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -374,8 +341,7 @@ public com.google.cloud.talent.v4.BatchDeleteJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchDeleteJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchDeleteJobsResponse result =
-          new com.google.cloud.talent.v4.BatchDeleteJobsResponse(this);
+      com.google.cloud.talent.v4.BatchDeleteJobsResponse result = new com.google.cloud.talent.v4.BatchDeleteJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -394,39 +360,38 @@ public com.google.cloud.talent.v4.BatchDeleteJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchDeleteJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsResponse) other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchDeleteJobsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4.BatchDeleteJobsResponse.getDefaultInstance()) return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -454,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getJobResultsFieldBuilder()
-                    : null;
+            jobResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getJobResultsFieldBuilder() : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -489,26 +452,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.talent.v4.JobResult m =
-                    input.readMessage(
-                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
-                if (jobResultsBuilder_ == null) {
-                  ensureJobResultsIsMutable();
-                  jobResults_.add(m);
-                } else {
-                  jobResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.talent.v4.JobResult m =
+                  input.readMessage(
+                      com.google.cloud.talent.v4.JobResult.parser(),
+                      extensionRegistry);
+              if (jobResultsBuilder_ == null) {
+                ensureJobResultsIsMutable();
+                jobResults_.add(m);
+              } else {
+                jobResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -518,28 +480,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List jobResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
-        jobResultsBuilder_;
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -555,8 +510,6 @@ public java.util.List getJobResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -572,8 +525,6 @@ public int getJobResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -589,8 +540,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -598,7 +547,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -612,8 +562,6 @@ public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -633,8 +581,6 @@ public Builder setJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -656,8 +602,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -665,7 +609,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -679,8 +624,6 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -688,7 +631,8 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(
+        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -699,8 +643,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -720,8 +662,6 @@ public Builder addJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -733,7 +673,8 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -741,8 +682,6 @@ public Builder addAllJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -761,8 +700,6 @@ public Builder clearJobResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -781,8 +718,6 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -790,12 +725,11 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
+        int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -803,16 +737,14 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+        int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);
-      } else {
+        return jobResults_.get(index);  } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -820,8 +752,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List
-        getJobResultsOrBuilderList() {
+    public java.util.List 
+         getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -829,8 +761,6 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -839,12 +769,10 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -852,13 +780,12 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
-      return getJobResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
+        int index) {
+      return getJobResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -866,29 +793,27 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List getJobResultsBuilderList() {
+    public java.util.List 
+         getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.JobResult,
-                com.google.cloud.talent.v4.JobResult.Builder,
-                com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -898,12 +823,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchDeleteJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchDeleteJobsResponse)
   private static final com.google.cloud.talent.v4.BatchDeleteJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchDeleteJobsResponse();
   }
@@ -912,27 +837,27 @@ public static com.google.cloud.talent.v4.BatchDeleteJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchDeleteJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchDeleteJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -947,4 +872,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchDeleteJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
similarity index 69%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
index 3261e9ce06c8..5e488dd84e88 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchDeleteJobsResponseOrBuilder
-    extends
+public interface BatchDeleteJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchDeleteJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -33,10 +15,9 @@ public interface BatchDeleteJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List getJobResultsList();
+  java.util.List 
+      getJobResultsList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -46,8 +27,6 @@ public interface BatchDeleteJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -57,8 +36,6 @@ public interface BatchDeleteJobsResponseOrBuilder
    */
   int getJobResultsCount();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -66,11 +43,9 @@ public interface BatchDeleteJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List
+  java.util.List 
       getJobResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -78,5 +53,6 @@ public interface BatchDeleteJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
similarity index 74%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
index 6f5751d1c97a..90ab6d3b11a9 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Metadata used for long running operations returned by CTS batch APIs.
  * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchOperationMetadata}
  */
-public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchOperationMetadata)
     BatchOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchOperationMetadata.newBuilder() to construct.
   private BatchOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchOperationMetadata() {
     state_ = 0;
     stateDescription_ = "";
@@ -45,35 +27,35 @@ private BatchOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchOperationMetadata.class,
-            com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
+            com.google.cloud.talent.v4.BatchOperationMetadata.class, com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
   }
 
-  /** Protobuf enum {@code google.cloud.talent.v4.BatchOperationMetadata.State} */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  /**
+   * Protobuf enum {@code google.cloud.talent.v4.BatchOperationMetadata.State}
+   */
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -82,8 +64,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The batch operation is being prepared for processing.
      * 
@@ -92,8 +72,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ INITIALIZING(1), /** - * - * *
      * The batch operation is actively being processed.
      * 
@@ -102,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROCESSING(2), /** - * - * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -113,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUCCEEDED(3),
     /**
-     *
-     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -123,8 +97,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -134,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CANCELLING(5),
     /**
-     *
-     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -149,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -159,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The batch operation is being prepared for processing.
      * 
@@ -169,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INITIALIZING_VALUE = 1; /** - * - * *
      * The batch operation is actively being processed.
      * 
@@ -179,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROCESSING_VALUE = 2; /** - * - * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -190,8 +152,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUCCEEDED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -200,8 +160,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -211,8 +169,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLING_VALUE = 5;
     /**
-     *
-     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -223,6 +179,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -247,59 +204,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return INITIALIZING;
-        case 2:
-          return PROCESSING;
-        case 3:
-          return SUCCEEDED;
-        case 4:
-          return FAILED;
-        case 5:
-          return CANCELLING;
-        case 6:
-          return CANCELLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return INITIALIZING;
+        case 2: return PROCESSING;
+        case 3: return SUCCEEDED;
+        case 4: return FAILED;
+        case 5: return CANCELLING;
+        case 6: return CANCELLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4.BatchOperationMetadata.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.BatchOperationMetadata.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -319,52 +270,38 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_;
   /**
-   *
-   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { + @java.lang.Override public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.BatchOperationMetadata.State result = - com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.BatchOperationMetadata.State result = com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object stateDescription_; /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The stateDescription. */ @java.lang.Override @@ -373,29 +310,29 @@ public java.lang.String getStateDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; } } /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getStateDescriptionBytes() { + public com.google.protobuf.ByteString + getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -406,14 +343,11 @@ public com.google.protobuf.ByteString getStateDescriptionBytes() { public static final int SUCCESS_COUNT_FIELD_NUMBER = 3; private int successCount_; /** - * - * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; - * * @return The successCount. */ @java.lang.Override @@ -424,14 +358,11 @@ public int getSuccessCount() { public static final int FAILURE_COUNT_FIELD_NUMBER = 4; private int failureCount_; /** - * - * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; - * * @return The failureCount. */ @java.lang.Override @@ -442,14 +373,11 @@ public int getFailureCount() { public static final int TOTAL_COUNT_FIELD_NUMBER = 5; private int totalCount_; /** - * - * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; - * * @return The totalCount. */ @java.lang.Override @@ -460,14 +388,11 @@ public int getTotalCount() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -475,14 +400,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -490,8 +412,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the batch operation is created.
    * 
@@ -506,8 +426,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -515,7 +433,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -523,8 +440,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -532,7 +447,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ @java.lang.Override @@ -540,8 +454,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -558,15 +470,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 8;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -574,15 +483,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ @java.lang.Override @@ -590,8 +496,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -605,7 +509,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -617,9 +520,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (state_
-        != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
@@ -652,30 +555,36 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateDescription_);
     }
     if (successCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(3, successCount_);
     }
     if (failureCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, failureCount_);
     }
     if (totalCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(5, totalCount_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getUpdateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -685,30 +594,36 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchOperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchOperationMetadata other =
-        (com.google.cloud.talent.v4.BatchOperationMetadata) obj;
+    com.google.cloud.talent.v4.BatchOperationMetadata other = (com.google.cloud.talent.v4.BatchOperationMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getStateDescription().equals(other.getStateDescription())) return false;
-    if (getSuccessCount() != other.getSuccessCount()) return false;
-    if (getFailureCount() != other.getFailureCount()) return false;
-    if (getTotalCount() != other.getTotalCount()) return false;
+    if (!getStateDescription()
+        .equals(other.getStateDescription())) return false;
+    if (getSuccessCount()
+        != other.getSuccessCount()) return false;
+    if (getFailureCount()
+        != other.getFailureCount()) return false;
+    if (getTotalCount()
+        != other.getTotalCount()) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -749,103 +664,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchOperationMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata used for long running operations returned by CTS batch APIs.
    * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -853,32 +761,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchOperationMetadata)
       com.google.cloud.talent.v4.BatchOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchOperationMetadata.class,
-              com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
+              com.google.cloud.talent.v4.BatchOperationMetadata.class, com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchOperationMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -914,9 +823,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -935,8 +844,7 @@ public com.google.cloud.talent.v4.BatchOperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchOperationMetadata buildPartial() {
-      com.google.cloud.talent.v4.BatchOperationMetadata result =
-          new com.google.cloud.talent.v4.BatchOperationMetadata(this);
+      com.google.cloud.talent.v4.BatchOperationMetadata result = new com.google.cloud.talent.v4.BatchOperationMetadata(this);
       result.state_ = state_;
       result.stateDescription_ = stateDescription_;
       result.successCount_ = successCount_;
@@ -965,39 +873,38 @@ public com.google.cloud.talent.v4.BatchOperationMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchOperationMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchOperationMetadata) other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchOperationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1005,8 +912,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchOperationMetadata other) {
-      if (other == com.google.cloud.talent.v4.BatchOperationMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4.BatchOperationMetadata.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -1058,61 +964,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                stateDescription_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                successCount_ = input.readInt32();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                failureCount_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 40:
-              {
-                totalCount_ = input.readInt32();
-
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              stateDescription_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              successCount_ = input.readInt32();
+
+              break;
+            } // case 24
+            case 32: {
+              failureCount_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 40: {
+              totalCount_ = input.readInt32();
+
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1125,67 +1028,51 @@ public Builder mergeFrom(
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.BatchOperationMetadata.State result = - com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.BatchOperationMetadata.State result = com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1193,24 +1080,21 @@ public Builder setState(com.google.cloud.talent.v4.BatchOperationMetadata.State if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1218,20 +1102,18 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; @@ -1240,21 +1122,20 @@ public java.lang.String getStateDescription() { } } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString getStateDescriptionBytes() { + public com.google.protobuf.ByteString + getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -1262,76 +1143,66 @@ public com.google.protobuf.ByteString getStateDescriptionBytes() { } } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription(java.lang.String value) { + public Builder setStateDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateDescription_ = value; onChanged(); return this; } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return This builder for chaining. */ public Builder clearStateDescription() { - + stateDescription_ = getDefaultInstance().getStateDescription(); onChanged(); return this; } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setStateDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; onChanged(); return this; } - private int successCount_; + private int successCount_ ; /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @return The successCount. */ @java.lang.Override @@ -1339,51 +1210,42 @@ public int getSuccessCount() { return successCount_; } /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @param value The successCount to set. * @return This builder for chaining. */ public Builder setSuccessCount(int value) { - + successCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @return This builder for chaining. */ public Builder clearSuccessCount() { - + successCount_ = 0; onChanged(); return this; } - private int failureCount_; + private int failureCount_ ; /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @return The failureCount. */ @java.lang.Override @@ -1391,51 +1253,42 @@ public int getFailureCount() { return failureCount_; } /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @param value The failureCount to set. * @return This builder for chaining. */ public Builder setFailureCount(int value) { - + failureCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @return This builder for chaining. */ public Builder clearFailureCount() { - + failureCount_ = 0; onChanged(); return this; } - private int totalCount_; + private int totalCount_ ; /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @return The totalCount. */ @java.lang.Override @@ -1443,36 +1296,30 @@ public int getTotalCount() { return totalCount_; } /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { - + totalCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @return This builder for chaining. */ public Builder clearTotalCount() { - + totalCount_ = 0; onChanged(); return this; @@ -1480,47 +1327,34 @@ public Builder clearTotalCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1541,15 +1375,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1560,8 +1393,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1572,7 +1403,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1584,8 +1415,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1604,8 +1433,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1613,13 +1440,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1630,14 +1455,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1645,17 +1467,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1663,13 +1482,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1677,15 +1491,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1693,21 +1504,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1730,8 +1536,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1740,7 +1544,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 7;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1751,8 +1556,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1765,7 +1568,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1777,8 +1580,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1799,8 +1600,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1810,13 +1609,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1829,14 +1626,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1846,17 +1640,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(), getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(),
+                getParentForChildren(),
+                isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
@@ -1864,35 +1655,26 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1903,8 +1685,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1926,8 +1706,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1935,7 +1713,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 8;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1946,8 +1725,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1959,7 +1736,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1971,8 +1748,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1992,8 +1767,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2002,13 +1775,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2020,12 +1791,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2034,24 +1804,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2061,12 +1828,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchOperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchOperationMetadata)
   private static final com.google.cloud.talent.v4.BatchOperationMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchOperationMetadata();
   }
@@ -2075,27 +1842,27 @@ public static com.google.cloud.talent.v4.BatchOperationMetadata getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchOperationMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchOperationMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2110,4 +1877,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchOperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
similarity index 83%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
index ad809ff05f60..4d5f213b0d46 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
@@ -1,144 +1,100 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchOperationMetadataOrBuilder
-    extends
+public interface BatchOperationMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchOperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; - * * @return The state. */ com.google.cloud.talent.v4.BatchOperationMetadata.State getState(); /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The stateDescription. */ java.lang.String getStateDescription(); /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString getStateDescriptionBytes(); + com.google.protobuf.ByteString + getStateDescriptionBytes(); /** - * - * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; - * * @return The successCount. */ int getSuccessCount(); /** - * - * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; - * * @return The failureCount. */ int getFailureCount(); /** - * - * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; - * * @return The totalCount. */ int getTotalCount(); /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the batch operation is created.
    * 
@@ -148,8 +104,6 @@ public interface BatchOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -157,13 +111,10 @@ public interface BatchOperationMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -171,13 +122,10 @@ public interface BatchOperationMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -189,34 +137,26 @@ public interface BatchOperationMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
index ea2d9a2bacc6..55e45473b3e1 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Request to update a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsRequest} */ -public final class BatchUpdateJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchUpdateJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchUpdateJobsRequest) BatchUpdateJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchUpdateJobsRequest.newBuilder() to construct. private BatchUpdateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchUpdateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -44,45 +26,39 @@ private BatchUpdateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchUpdateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, - com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,86 +102,71 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -223,7 +182,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -231,8 +189,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -248,7 +204,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -256,8 +211,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -280,7 +233,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -292,7 +244,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -315,10 +268,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, jobs_.get(i));
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -328,19 +283,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchUpdateJobsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchUpdateJobsRequest other =
-        (com.google.cloud.talent.v4.BatchUpdateJobsRequest) obj;
+    com.google.cloud.talent.v4.BatchUpdateJobsRequest other = (com.google.cloud.talent.v4.BatchUpdateJobsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getJobsList().equals(other.getJobsList())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getJobsList()
+        .equals(other.getJobsList())) return false;
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -369,135 +326,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchUpdateJobsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request to update a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchUpdateJobsRequest) com.google.cloud.talent.v4.BatchUpdateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, - com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchUpdateJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override @@ -541,8 +492,7 @@ public com.google.cloud.talent.v4.BatchUpdateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchUpdateJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchUpdateJobsRequest result = - new com.google.cloud.talent.v4.BatchUpdateJobsRequest(this); + com.google.cloud.talent.v4.BatchUpdateJobsRequest result = new com.google.cloud.talent.v4.BatchUpdateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -567,39 +517,38 @@ public com.google.cloud.talent.v4.BatchUpdateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchUpdateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -607,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -631,10 +579,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsRequest other jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -669,37 +616,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4.Job m = - input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4.Job m = + input.readMessage( + com.google.cloud.talent.v4.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -709,29 +656,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -740,25 +682,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -766,105 +705,84 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -874,16 +792,12 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -893,16 +807,12 @@ public int getJobsCount() { } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -912,18 +822,15 @@ public com.google.cloud.talent.v4.Job getJobs(int index) { } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { + public Builder setJobs( + int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -937,18 +844,15 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -959,16 +863,12 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builder return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addJobs(com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { @@ -984,18 +884,15 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { + public Builder addJobs( + int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1009,18 +906,15 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -1031,18 +925,15 @@ public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -1053,21 +944,19 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builder return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addAllJobs(java.lang.Iterable values) { + public Builder addAllJobs( + java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -1075,16 +964,12 @@ public Builder addAllJobs(java.lang.Iterable * Required. The jobs to be updated. * A maximum of 200 jobs can be updated in a batch. *
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -1097,16 +982,12 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1119,53 +1000,42 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.talent.v4.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1173,64 +1043,52 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { } } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance()); + public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -1238,13 +1096,8 @@ public java.util.List getJobsBuilderList private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1260,15 +1113,12 @@ public java.util.List getJobsBuilderList
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1284,21 +1134,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1329,8 +1174,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1347,7 +1190,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1358,8 +1202,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1380,7 +1222,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1392,8 +1234,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1422,8 +1262,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1441,13 +1279,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1468,14 +1304,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1493,24 +1326,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1520,12 +1350,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchUpdateJobsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchUpdateJobsRequest)
   private static final com.google.cloud.talent.v4.BatchUpdateJobsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchUpdateJobsRequest();
   }
@@ -1534,27 +1364,27 @@ public static com.google.cloud.talent.v4.BatchUpdateJobsRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchUpdateJobsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchUpdateJobsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1569,4 +1399,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchUpdateJobsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
similarity index 77%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
index 876f981854be..8be3099f415b 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
@@ -1,125 +1,86 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchUpdateJobsRequestOrBuilder
-    extends
+public interface BatchUpdateJobsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchUpdateJobsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.Job getJobs(int index); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getJobsCount(); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -135,13 +96,10 @@ public interface BatchUpdateJobsRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -157,13 +115,10 @@ public interface BatchUpdateJobsRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
index a25fbb1dbb1f..0588731105c4 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsResponse}
  */
-public final class BatchUpdateJobsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchUpdateJobsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchUpdateJobsResponse)
     BatchUpdateJobsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchUpdateJobsResponse.newBuilder() to construct.
   private BatchUpdateJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchUpdateJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchUpdateJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto
-        .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchUpdateJobsResponse.class,
-            com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchUpdateJobsResponse.class, com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -85,8 +64,6 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -95,13 +72,11 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -114,8 +89,6 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -128,8 +101,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -138,12 +109,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,7 +126,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -169,7 +141,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -179,15 +152,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchUpdateJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchUpdateJobsResponse other =
-        (com.google.cloud.talent.v4.BatchUpdateJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchUpdateJobsResponse other = (com.google.cloud.talent.v4.BatchUpdateJobsResponse) obj;
 
-    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList()
+        .equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -209,103 +182,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchUpdateJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -313,32 +279,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchUpdateJobsResponse)
       com.google.cloud.talent.v4.BatchUpdateJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchUpdateJobsResponse.class,
-              com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchUpdateJobsResponse.class, com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchUpdateJobsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -353,9 +320,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto
-          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -374,8 +341,7 @@ public com.google.cloud.talent.v4.BatchUpdateJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchUpdateJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchUpdateJobsResponse result =
-          new com.google.cloud.talent.v4.BatchUpdateJobsResponse(this);
+      com.google.cloud.talent.v4.BatchUpdateJobsResponse result = new com.google.cloud.talent.v4.BatchUpdateJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -394,39 +360,38 @@ public com.google.cloud.talent.v4.BatchUpdateJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchUpdateJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsResponse) other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchUpdateJobsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4.BatchUpdateJobsResponse.getDefaultInstance()) return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -454,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getJobResultsFieldBuilder()
-                    : null;
+            jobResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getJobResultsFieldBuilder() : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -489,26 +452,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.talent.v4.JobResult m =
-                    input.readMessage(
-                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
-                if (jobResultsBuilder_ == null) {
-                  ensureJobResultsIsMutable();
-                  jobResults_.add(m);
-                } else {
-                  jobResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.talent.v4.JobResult m =
+                  input.readMessage(
+                      com.google.cloud.talent.v4.JobResult.parser(),
+                      extensionRegistry);
+              if (jobResultsBuilder_ == null) {
+                ensureJobResultsIsMutable();
+                jobResults_.add(m);
+              } else {
+                jobResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -518,28 +480,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List jobResults_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
-        jobResultsBuilder_;
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -555,8 +510,6 @@ public java.util.List getJobResultsList()
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -572,8 +525,6 @@ public int getJobResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -589,8 +540,6 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -598,7 +547,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -612,8 +562,6 @@ public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -633,8 +581,6 @@ public Builder setJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -656,8 +602,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -665,7 +609,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(
+        int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -679,8 +624,6 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -688,7 +631,8 @@ public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult val
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(
+        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -699,8 +643,6 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -720,8 +662,6 @@ public Builder addJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -733,7 +673,8 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -741,8 +682,6 @@ public Builder addAllJobResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -761,8 +700,6 @@ public Builder clearJobResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -781,8 +718,6 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -790,12 +725,11 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
+        int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -803,16 +737,14 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+        int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);
-      } else {
+        return jobResults_.get(index);  } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -820,8 +752,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List
-        getJobResultsOrBuilderList() {
+    public java.util.List 
+         getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -829,8 +761,6 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -839,12 +769,10 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -852,13 +780,12 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
-      return getJobResultsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
+        int index) {
+      return getJobResultsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -866,29 +793,27 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int ind
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List getJobResultsBuilderList() {
+    public java.util.List 
+         getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult,
-            com.google.cloud.talent.v4.JobResult.Builder,
-            com.google.cloud.talent.v4.JobResultOrBuilder>
+        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.JobResult,
-                com.google.cloud.talent.v4.JobResult.Builder,
-                com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -898,12 +823,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchUpdateJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchUpdateJobsResponse)
   private static final com.google.cloud.talent.v4.BatchUpdateJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchUpdateJobsResponse();
   }
@@ -912,27 +837,27 @@ public static com.google.cloud.talent.v4.BatchUpdateJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchUpdateJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchUpdateJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -947,4 +872,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchUpdateJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
similarity index 69%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
index 3e569db00b5f..08ef0a1f2221 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchUpdateJobsResponseOrBuilder
-    extends
+public interface BatchUpdateJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchUpdateJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -33,10 +15,9 @@ public interface BatchUpdateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List getJobResultsList();
+  java.util.List 
+      getJobResultsList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -46,8 +27,6 @@ public interface BatchUpdateJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -57,8 +36,6 @@ public interface BatchUpdateJobsResponseOrBuilder
    */
   int getJobResultsCount();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -66,11 +43,9 @@ public interface BatchUpdateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List
+  java.util.List 
       getJobResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -78,5 +53,6 @@ public interface BatchUpdateJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
+      int index);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
index 2f61e24bd93a..c7ee2f7c005d 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/event.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * An event issued when an end user interacts with the application that
  * implements Cloud Talent Solution. Providing this information improves the
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.ClientEvent}
  */
-public final class ClientEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ClientEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ClientEvent)
     ClientEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ClientEvent.newBuilder() to construct.
   private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ClientEvent() {
     requestId_ = "";
     eventId_ = "";
@@ -49,41 +31,37 @@ private ClientEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ClientEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.EventProto
-        .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.EventProto
-        .internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.ClientEvent.class,
-            com.google.cloud.talent.v4.ClientEvent.Builder.class);
+            com.google.cloud.talent.v4.ClientEvent.class, com.google.cloud.talent.v4.ClientEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
-
   public enum EventCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JOB_EVENT(5),
     EVENT_NOT_SET(0);
     private final int value;
-
     private EventCase(int value) {
       this.value = value;
     }
@@ -99,29 +77,25 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return JOB_EVENT;
-        case 0:
-          return EVENT_NOT_SET;
-        default:
-          return null;
+        case 5: return JOB_EVENT;
+        case 0: return EVENT_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase getEventCase() {
-    return EventCase.forNumber(eventCase_);
+  public EventCase
+  getEventCase() {
+    return EventCase.forNumber(
+        eventCase_);
   }
 
   public static final int REQUEST_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object requestId_;
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -129,7 +103,6 @@ public EventCase getEventCase() {
    * 
* * string request_id = 1; - * * @return The requestId. */ @java.lang.Override @@ -138,15 +111,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -154,15 +126,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -173,14 +146,11 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int EVENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object eventId_; /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ @java.lang.Override @@ -189,29 +159,29 @@ public java.lang.String getEventId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } } /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventId_ = b; return b; } else { @@ -222,15 +192,11 @@ public com.google.protobuf.ByteString getEventIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -238,15 +204,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ @java.lang.Override @@ -254,14 +216,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -270,15 +229,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int JOB_EVENT_FIELD_NUMBER = 5; /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -286,27 +242,22 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return The jobEvent. */ @java.lang.Override public com.google.cloud.talent.v4.JobEvent getJobEvent() { if (eventCase_ == 5) { - return (com.google.cloud.talent.v4.JobEvent) event_; + return (com.google.cloud.talent.v4.JobEvent) event_; } return com.google.cloud.talent.v4.JobEvent.getDefaultInstance(); } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -317,7 +268,7 @@ public com.google.cloud.talent.v4.JobEvent getJobEvent() {
   @java.lang.Override
   public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
     if (eventCase_ == 5) {
-      return (com.google.cloud.talent.v4.JobEvent) event_;
+       return (com.google.cloud.talent.v4.JobEvent) event_;
     }
     return com.google.cloud.talent.v4.JobEvent.getDefaultInstance();
   }
@@ -325,15 +276,12 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
   public static final int EVENT_NOTES_FIELD_NUMBER = 9;
   private volatile java.lang.Object eventNotes_;
   /**
-   *
-   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; - * * @return The eventNotes. */ @java.lang.Override @@ -342,30 +290,30 @@ public java.lang.String getEventNotes() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; } } /** - * - * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ @java.lang.Override - public com.google.protobuf.ByteString getEventNotesBytes() { + public com.google.protobuf.ByteString + getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -374,7 +322,6 @@ public com.google.protobuf.ByteString getEventNotesBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +333,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -418,12 +366,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (eventCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.talent.v4.JobEvent) event_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.talent.v4.JobEvent) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventNotes_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, eventNotes_); @@ -436,24 +384,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ClientEvent)) { return super.equals(obj); } com.google.cloud.talent.v4.ClientEvent other = (com.google.cloud.talent.v4.ClientEvent) obj; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEventId().equals(other.getEventId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEventId() + .equals(other.getEventId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (!getEventNotes().equals(other.getEventNotes())) return false; + if (!getEventNotes() + .equals(other.getEventNotes())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - if (!getJobEvent().equals(other.getJobEvent())) return false; + if (!getJobEvent() + .equals(other.getJobEvent())) return false; break; case 0: default: @@ -492,104 +445,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ClientEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ClientEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ClientEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ClientEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An event issued when an end user interacts with the application that
    * implements Cloud Talent Solution. Providing this information improves the
@@ -600,32 +546,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.ClientEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ClientEvent)
       com.google.cloud.talent.v4.ClientEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.ClientEvent.class,
-              com.google.cloud.talent.v4.ClientEvent.Builder.class);
+              com.google.cloud.talent.v4.ClientEvent.class, com.google.cloud.talent.v4.ClientEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.ClientEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -650,9 +597,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
     }
 
     @java.lang.Override
@@ -671,8 +618,7 @@ public com.google.cloud.talent.v4.ClientEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.ClientEvent buildPartial() {
-      com.google.cloud.talent.v4.ClientEvent result =
-          new com.google.cloud.talent.v4.ClientEvent(this);
+      com.google.cloud.talent.v4.ClientEvent result = new com.google.cloud.talent.v4.ClientEvent(this);
       result.requestId_ = requestId_;
       result.eventId_ = eventId_;
       if (createTimeBuilder_ == null) {
@@ -697,39 +643,38 @@ public com.google.cloud.talent.v4.ClientEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.ClientEvent) {
-        return mergeFrom((com.google.cloud.talent.v4.ClientEvent) other);
+        return mergeFrom((com.google.cloud.talent.v4.ClientEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -754,15 +699,13 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ClientEvent other) {
         onChanged();
       }
       switch (other.getEventCase()) {
-        case JOB_EVENT:
-          {
-            mergeJobEvent(other.getJobEvent());
-            break;
-          }
-        case EVENT_NOT_SET:
-          {
-            break;
-          }
+        case JOB_EVENT: {
+          mergeJobEvent(other.getJobEvent());
+          break;
+        }
+        case EVENT_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -790,43 +733,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                requestId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                eventId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getJobEventFieldBuilder().getBuilder(), extensionRegistry);
-                eventCase_ = 5;
-                break;
-              } // case 42
-            case 74:
-              {
-                eventNotes_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              requestId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              eventId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getJobEventFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              eventCase_ = 5;
+              break;
+            } // case 42
+            case 74: {
+              eventNotes_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -836,12 +777,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int eventCase_ = 0;
     private java.lang.Object event_;
-
-    public EventCase getEventCase() {
-      return EventCase.forNumber(eventCase_);
+    public EventCase
+        getEventCase() {
+      return EventCase.forNumber(
+          eventCase_);
     }
 
     public Builder clearEvent() {
@@ -851,10 +792,9 @@ public Builder clearEvent() {
       return this;
     }
 
+
     private java.lang.Object requestId_ = "";
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -862,13 +802,13 @@ public Builder clearEvent() {
      * 
* * string request_id = 1; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -877,8 +817,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -886,14 +824,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -901,8 +840,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -910,22 +847,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 1; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -933,18 +868,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 1; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -952,16 +884,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 1; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -969,20 +901,18 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object eventId_ = ""; /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; @@ -991,21 +921,20 @@ public java.lang.String getEventId() { } } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventId_ = b; return b; } else { @@ -1013,61 +942,54 @@ public com.google.protobuf.ByteString getEventIdBytes() { } } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId(java.lang.String value) { + public Builder setEventId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes(com.google.protobuf.ByteString value) { + public Builder setEventIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -1075,55 +997,39 @@ public Builder setEventIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1139,16 +1045,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1159,20 +1063,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1184,14 +1085,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1205,81 +1103,62 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobEvent, - com.google.cloud.talent.v4.JobEvent.Builder, - com.google.cloud.talent.v4.JobEventOrBuilder> - jobEventBuilder_; + com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder> jobEventBuilder_; /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -1287,15 +1166,12 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return The jobEvent. */ @java.lang.Override @@ -1313,8 +1189,6 @@ public com.google.cloud.talent.v4.JobEvent getJobEvent() { } } /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1336,8 +1210,6 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1345,7 +1217,8 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent value) {
      *
      * .google.cloud.talent.v4.JobEvent job_event = 5;
      */
-    public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent.Builder builderForValue) {
+    public Builder setJobEvent(
+        com.google.cloud.talent.v4.JobEvent.Builder builderForValue) {
       if (jobEventBuilder_ == null) {
         event_ = builderForValue.build();
         onChanged();
@@ -1356,8 +1229,6 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1367,12 +1238,10 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent.Builder builderFo
      */
     public Builder mergeJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       if (jobEventBuilder_ == null) {
-        if (eventCase_ == 5 && event_ != com.google.cloud.talent.v4.JobEvent.getDefaultInstance()) {
-          event_ =
-              com.google.cloud.talent.v4.JobEvent.newBuilder(
-                      (com.google.cloud.talent.v4.JobEvent) event_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (eventCase_ == 5 &&
+            event_ != com.google.cloud.talent.v4.JobEvent.getDefaultInstance()) {
+          event_ = com.google.cloud.talent.v4.JobEvent.newBuilder((com.google.cloud.talent.v4.JobEvent) event_)
+              .mergeFrom(value).buildPartial();
         } else {
           event_ = value;
         }
@@ -1388,8 +1257,6 @@ public Builder mergeJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1414,8 +1281,6 @@ public Builder clearJobEvent() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1427,8 +1292,6 @@ public com.google.cloud.talent.v4.JobEvent.Builder getJobEventBuilder() {
       return getJobEventFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1448,8 +1311,6 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1458,45 +1319,39 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
      * .google.cloud.talent.v4.JobEvent job_event = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.JobEvent,
-            com.google.cloud.talent.v4.JobEvent.Builder,
-            com.google.cloud.talent.v4.JobEventOrBuilder>
+        com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder> 
         getJobEventFieldBuilder() {
       if (jobEventBuilder_ == null) {
         if (!(eventCase_ == 5)) {
           event_ = com.google.cloud.talent.v4.JobEvent.getDefaultInstance();
         }
-        jobEventBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.JobEvent,
-                com.google.cloud.talent.v4.JobEvent.Builder,
-                com.google.cloud.talent.v4.JobEventOrBuilder>(
-                (com.google.cloud.talent.v4.JobEvent) event_, getParentForChildren(), isClean());
+        jobEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder>(
+                (com.google.cloud.talent.v4.JobEvent) event_,
+                getParentForChildren(),
+                isClean());
         event_ = null;
       }
       eventCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return jobEventBuilder_;
     }
 
     private java.lang.Object eventNotes_ = "";
     /**
-     *
-     *
      * 
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @return The eventNotes. */ public java.lang.String getEventNotes() { java.lang.Object ref = eventNotes_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; @@ -1505,22 +1360,21 @@ public java.lang.String getEventNotes() { } } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ - public com.google.protobuf.ByteString getEventNotesBytes() { + public com.google.protobuf.ByteString + getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -1528,71 +1382,64 @@ public com.google.protobuf.ByteString getEventNotesBytes() { } } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @param value The eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotes(java.lang.String value) { + public Builder setEventNotes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventNotes_ = value; onChanged(); return this; } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @return This builder for chaining. */ public Builder clearEventNotes() { - + eventNotes_ = getDefaultInstance().getEventNotes(); onChanged(); return this; } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; - * * @param value The bytes for eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { + public Builder setEventNotesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventNotes_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1602,12 +1449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ClientEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ClientEvent) private static final com.google.cloud.talent.v4.ClientEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ClientEvent(); } @@ -1616,27 +1463,27 @@ public static com.google.cloud.talent.v4.ClientEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1651,4 +1498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ClientEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java index ef27e7e90799..8a0875dd3149 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; -public interface ClientEventOrBuilder - extends +public interface ClientEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ClientEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -33,13 +15,10 @@ public interface ClientEventOrBuilder
    * 
* * string request_id = 1; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -47,103 +26,79 @@ public interface ClientEventOrBuilder
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ java.lang.String getEventId(); /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - com.google.protobuf.ByteString getEventIdBytes(); + com.google.protobuf.ByteString + getEventIdBytes(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ boolean hasJobEvent(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; - * * @return The jobEvent. */ com.google.cloud.talent.v4.JobEvent getJobEvent(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -154,31 +109,26 @@ public interface ClientEventOrBuilder
   com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder();
 
   /**
-   *
-   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; - * * @return The eventNotes. */ java.lang.String getEventNotes(); /** - * - * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ - com.google.protobuf.ByteString getEventNotesBytes(); + com.google.protobuf.ByteString + getEventNotesBytes(); public com.google.cloud.talent.v4.ClientEvent.EventCase getEventCase(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java new file mode 100644 index 000000000000..ebea9649ff4d --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java @@ -0,0 +1,307 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/common.proto + +package com.google.cloud.talent.v4; + +public final class CommonProto { + private CommonProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Location_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_RequestMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_DeviceInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/talent/v4/common.proto\022\026g" + + "oogle.cloud.talent.v4\032\037google/api/field_" + + "behavior.proto\032\037google/protobuf/timestam" + + "p.proto\032\036google/protobuf/wrappers.proto\032" + + "\030google/type/latlng.proto\032\027google/type/m" + + "oney.proto\032 google/type/postal_address.p" + + "roto\"n\n\016TimestampRange\022.\n\nstart_time\030\001 \001" + + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"\262\003\n" + + "\010Location\022D\n\rlocation_type\030\001 \001(\0162-.googl" + + "e.cloud.talent.v4.Location.LocationType\022" + + "2\n\016postal_address\030\002 \001(\0132\032.google.type.Po" + + "stalAddress\022$\n\007lat_lng\030\003 \001(\0132\023.google.ty" + + "pe.LatLng\022\024\n\014radius_miles\030\004 \001(\001\"\357\001\n\014Loca" + + "tionType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020\000\022" + + "\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATIVE_AREA\020\002\022\033\n" + + "\027SUB_ADMINISTRATIVE_AREA\020\003\022\014\n\010LOCALITY\020\004" + + "\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOCALITY\020\006\022\022\n\016S" + + "UB_LOCALITY_1\020\007\022\022\n\016SUB_LOCALITY_2\020\010\022\020\n\014N" + + "EIGHBORHOOD\020\t\022\022\n\016STREET_ADDRESS\020\n\"\232\001\n\017Re" + + "questMetadata\022\016\n\006domain\030\001 \001(\t\022\022\n\nsession" + + "_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031\n\021allow_miss" + + "ing_ids\030\004 \001(\010\0227\n\013device_info\030\005 \001(\0132\".goo" + + "gle.cloud.talent.v4.DeviceInfo\"&\n\020Respon" + + "seMetadata\022\022\n\nrequest_id\030\001 \001(\t\"\312\001\n\nDevic" + + "eInfo\022B\n\013device_type\030\001 \001(\0162-.google.clou" + + "d.talent.v4.DeviceInfo.DeviceType\022\n\n\002id\030" + + "\002 \001(\t\"l\n\nDeviceType\022\033\n\027DEVICE_TYPE_UNSPE" + + "CIFIED\020\000\022\007\n\003WEB\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007AND" + + "ROID\020\003\022\007\n\003IOS\020\004\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017C" + + "ustomAttribute\022\025\n\rstring_values\030\001 \003(\t\022\023\n" + + "\013long_values\030\002 \003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032" + + "\n\022keyword_searchable\030\004 \001(\010\"W\n\022SpellingCo" + + "rrection\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected" + + "_text\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\210\t\n\020" + + "CompensationInfo\022K\n\007entries\030\001 \003(\0132:.goog" + + "le.cloud.talent.v4.CompensationInfo.Comp" + + "ensationEntry\022k\n\"annualized_base_compens" + + "ation_range\030\002 \001(\0132:.google.cloud.talent." + + "v4.CompensationInfo.CompensationRangeB\003\340" + + "A\003\022l\n#annualized_total_compensation_rang" + + "e\030\003 \001(\0132:.google.cloud.talent.v4.Compens" + + "ationInfo.CompensationRangeB\003\340A\003\032\203\003\n\021Com" + + "pensationEntry\022G\n\004type\030\001 \001(\01629.google.cl" + + "oud.talent.v4.CompensationInfo.Compensat" + + "ionType\022G\n\004unit\030\002 \001(\01629.google.cloud.tal" + + "ent.v4.CompensationInfo.CompensationUnit" + + "\022$\n\006amount\030\003 \001(\0132\022.google.type.MoneyH\000\022K" + + "\n\005range\030\004 \001(\0132:.google.cloud.talent.v4.C" + + "ompensationInfo.CompensationRangeH\000\022\023\n\013d" + + "escription\030\005 \001(\t\022=\n\027expected_units_per_y" + + "ear\030\006 \001(\0132\034.google.protobuf.DoubleValueB" + + "\025\n\023compensation_amount\032o\n\021CompensationRa" + + "nge\022,\n\020max_compensation\030\002 \001(\0132\022.google.t" + + "ype.Money\022,\n\020min_compensation\030\001 \001(\0132\022.go" + + "ogle.type.Money\"\265\001\n\020CompensationType\022!\n\035" + + "COMPENSATION_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020" + + "\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BONUS\020\003\022\n\n\006EQUIT" + + "Y\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n\013COMMISSIONS\020\006" + + "\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPENSATION_TYPE\020\010\"" + + "\234\001\n\020CompensationUnit\022!\n\035COMPENSATION_UNI" + + "T_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020\002\022\n" + + "\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\022\014\n\010O" + + "NE_TIME\020\006\022\033\n\027OTHER_COMPENSATION_UNIT\020\007\"\307" + + "\003\n\026BatchOperationMetadata\022C\n\005state\030\001 \001(\016" + + "24.google.cloud.talent.v4.BatchOperation" + + "Metadata.State\022\031\n\021state_description\030\002 \001(" + + "\t\022\025\n\rsuccess_count\030\003 \001(\005\022\025\n\rfailure_coun" + + "t\030\004 \001(\005\022\023\n\013total_count\030\005 \001(\005\022/\n\013create_t" + + "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" + + "estamp\022,\n\010end_time\030\010 \001(\0132\032.google.protob" + + "uf.Timestamp\"z\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022\r" + + "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\016\n\nCANCELLING\020" + + "\005\022\r\n\tCANCELLED\020\006*y\n\013CompanySize\022\034\n\030COMPA" + + "NY_SIZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL" + + "\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006" + + "BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JO" + + "B_BENEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022" + + "\n\n\006DENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLE" + + "XIBLE_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSUR" + + "ANCE\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT" + + "_PLAN\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006" + + "VISION\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_U" + + "NSPECIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031L" + + "OWER_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECO" + + "NDARY_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUC" + + "ATION\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n" + + "\027BACHELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR" + + "_EQUIVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020" + + "\010*\334\001\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_" + + "UNSPECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIM" + + "E\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020" + + "\004\022\r\n\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEE" + + "R\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n" + + "\025OTHER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025" + + "JOB_LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001" + + "\022\017\n\013EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECT" + + "OR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030J" + + "OB_CATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_" + + "AND_FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFI" + + "CE\020\002\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013A" + + "NIMAL_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005" + + "\022\027\n\023BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AN" + + "D_FACILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014C" + + "ONSTRUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tE" + + "DUCATION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014" + + "\022\030\n\024FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE" + + "\020\016\022\023\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_" + + "MAINTENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nM" + + "ANAGEMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOU" + + "SE\020\023\022$\n MEDIA_COMMUNICATIONS_AND_WRITING" + + "\020\024\022\026\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_C" + + "ARE_AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICE" + + "S\020\027\022\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_H" + + "OSPITALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SC" + + "IENCE_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVIC" + + "ES_AND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AN" + + "D_RECREATION\020\035\022 \n\034TRANSPORTATION_AND_LOG" + + "ISTICS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REG" + + "ION_UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA" + + "\020\001\022\n\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisib" + + "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACC" + + "OUNT_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022S" + + "HARED_WITH_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitizat" + + "ion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036" + + "\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE" + + "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" + + "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" + + "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" + + "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" + + "oud.talent.v4B\013CommonProtoP\001Z * Parameters needed for commute search. *
* * Protobuf type {@code google.cloud.talent.v4.CommuteFilter} */ -public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommuteFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CommuteFilter) CommuteFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommuteFilter.newBuilder() to construct. private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommuteFilter() { commuteMethod_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommuteFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CommuteFilter.class, - com.google.cloud.talent.v4.CommuteFilter.Builder.class); + com.google.cloud.talent.v4.CommuteFilter.class, com.google.cloud.talent.v4.CommuteFilter.Builder.class); } /** - * - * *
    * The traffic density to use when calculating commute time.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CommuteFilter.RoadTraffic} */ - public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { + public enum RoadTraffic + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Road traffic situation isn't specified.
      * 
@@ -88,8 +66,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ ROAD_TRAFFIC_UNSPECIFIED(0), /** - * - * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -98,8 +74,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ TRAFFIC_FREE(1), /** - * - * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -111,8 +85,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Road traffic situation isn't specified.
      * 
@@ -121,8 +93,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -131,8 +101,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRAFFIC_FREE_VALUE = 1; /** - * - * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -141,6 +109,7 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUSY_HOUR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +134,49 @@ public static RoadTraffic valueOf(int value) { */ public static RoadTraffic forNumber(int value) { switch (value) { - case 0: - return ROAD_TRAFFIC_UNSPECIFIED; - case 1: - return TRAFFIC_FREE; - case 2: - return BUSY_HOUR; - default: - return null; + case 0: return ROAD_TRAFFIC_UNSPECIFIED; + case 1: return TRAFFIC_FREE; + case 2: return BUSY_HOUR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RoadTraffic> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoadTraffic findValueByNumber(int number) { + return RoadTraffic.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoadTraffic findValueByNumber(int number) { - return RoadTraffic.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommuteFilter.getDescriptor().getEnumTypes().get(0); } private static final RoadTraffic[] VALUES = values(); - public static RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoadTraffic valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -226,16 +195,13 @@ private RoadTraffic(int value) { private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - public enum TrafficOptionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROAD_TRAFFIC(5), DEPARTURE_TIME(6), TRAFFICOPTION_NOT_SET(0); private final int value; - private TrafficOptionCase(int value) { this.value = value; } @@ -251,79 +217,59 @@ public static TrafficOptionCase valueOf(int value) { public static TrafficOptionCase forNumber(int value) { switch (value) { - case 5: - return ROAD_TRAFFIC; - case 6: - return DEPARTURE_TIME; - case 0: - return TRAFFICOPTION_NOT_SET; - default: - return null; + case 5: return ROAD_TRAFFIC; + case 6: return DEPARTURE_TIME; + case 0: return TRAFFICOPTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TrafficOptionCase getTrafficOptionCase() { - return TrafficOptionCase.forNumber(trafficOptionCase_); + public TrafficOptionCase + getTrafficOptionCase() { + return TrafficOptionCase.forNumber( + trafficOptionCase_); } public static final int COMMUTE_METHOD_FIELD_NUMBER = 1; private int commuteMethod_; /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override - public int getCommuteMethodValue() { + @java.lang.Override public int getCommuteMethodValue() { return commuteMethod_; } /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ - @java.lang.Override - public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { + @java.lang.Override public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteMethod result = - com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4.CommuteMethod result = com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4.CommuteMethod.UNRECOGNIZED : result; } public static final int START_COORDINATES_FIELD_NUMBER = 2; private com.google.type.LatLng startCoordinates_; /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ @java.lang.Override @@ -331,34 +277,25 @@ public boolean hasStartCoordinates() { return startCoordinates_ != null; } /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ @java.lang.Override public com.google.type.LatLng getStartCoordinates() { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { @@ -368,16 +305,12 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration travelDuration_; /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -385,34 +318,25 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @@ -422,8 +346,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER = 4; private boolean allowImpreciseAddresses_; /** - * - * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -433,7 +355,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
    * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -443,28 +364,22 @@ public boolean getAllowImpreciseAddresses() { public static final int ROAD_TRAFFIC_FIELD_NUMBER = 5; /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ public int getRoadTrafficValue() { @@ -474,33 +389,25 @@ public int getRoadTrafficValue() { return 0; } /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null - ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; } return com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 6; /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -508,7 +415,6 @@ public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() {
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -516,8 +422,6 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -525,19 +429,16 @@ public boolean hasDepartureTime() {
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ @java.lang.Override public com.google.type.TimeOfDay getDepartureTime() { if (trafficOptionCase_ == 6) { - return (com.google.type.TimeOfDay) trafficOption_; + return (com.google.type.TimeOfDay) trafficOption_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -549,13 +450,12 @@ public com.google.type.TimeOfDay getDepartureTime() {
   @java.lang.Override
   public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
     if (trafficOptionCase_ == 6) {
-      return (com.google.type.TimeOfDay) trafficOption_;
+       return (com.google.type.TimeOfDay) trafficOption_;
     }
     return com.google.type.TimeOfDay.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -567,9 +467,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (commuteMethod_
-        != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (commuteMethod_ != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
@@ -596,28 +496,29 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (commuteMethod_
-        != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, commuteMethod_);
+    if (commuteMethod_ != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartCoordinates());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartCoordinates());
     }
     if (travelDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTravelDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getTravelDuration());
     }
     if (allowImpreciseAddresses_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowImpreciseAddresses_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, allowImpreciseAddresses_);
     }
     if (trafficOptionCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeEnumSize(
-              5, ((java.lang.Integer) trafficOption_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, ((java.lang.Integer) trafficOption_));
     }
     if (trafficOptionCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.type.TimeOfDay) trafficOption_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.type.TimeOfDay) trafficOption_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -627,7 +528,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.CommuteFilter)) {
       return super.equals(obj);
@@ -637,20 +538,25 @@ public boolean equals(final java.lang.Object obj) {
     if (commuteMethod_ != other.commuteMethod_) return false;
     if (hasStartCoordinates() != other.hasStartCoordinates()) return false;
     if (hasStartCoordinates()) {
-      if (!getStartCoordinates().equals(other.getStartCoordinates())) return false;
+      if (!getStartCoordinates()
+          .equals(other.getStartCoordinates())) return false;
     }
     if (hasTravelDuration() != other.hasTravelDuration()) return false;
     if (hasTravelDuration()) {
-      if (!getTravelDuration().equals(other.getTravelDuration())) return false;
+      if (!getTravelDuration()
+          .equals(other.getTravelDuration())) return false;
     }
-    if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false;
+    if (getAllowImpreciseAddresses()
+        != other.getAllowImpreciseAddresses()) return false;
     if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false;
     switch (trafficOptionCase_) {
       case 5:
-        if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false;
+        if (getRoadTrafficValue()
+            != other.getRoadTrafficValue()) return false;
         break;
       case 6:
-        if (!getDepartureTime().equals(other.getDepartureTime())) return false;
+        if (!getDepartureTime()
+            .equals(other.getDepartureTime())) return false;
         break;
       case 0:
       default:
@@ -677,7 +583,8 @@ public int hashCode() {
       hash = (53 * hash) + getTravelDuration().hashCode();
     }
     hash = (37 * hash) + ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowImpreciseAddresses());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowImpreciseAddresses());
     switch (trafficOptionCase_) {
       case 5:
         hash = (37 * hash) + ROAD_TRAFFIC_FIELD_NUMBER;
@@ -695,136 +602,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.CommuteFilter parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.CommuteFilter prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Parameters needed for commute search.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CommuteFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CommuteFilter) com.google.cloud.talent.v4.CommuteFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CommuteFilter.class, - com.google.cloud.talent.v4.CommuteFilter.Builder.class); + com.google.cloud.talent.v4.CommuteFilter.class, com.google.cloud.talent.v4.CommuteFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.CommuteFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -853,9 +754,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override @@ -874,8 +775,7 @@ public com.google.cloud.talent.v4.CommuteFilter build() { @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter buildPartial() { - com.google.cloud.talent.v4.CommuteFilter result = - new com.google.cloud.talent.v4.CommuteFilter(this); + com.google.cloud.talent.v4.CommuteFilter result = new com.google.cloud.talent.v4.CommuteFilter(this); result.commuteMethod_ = commuteMethod_; if (startCoordinatesBuilder_ == null) { result.startCoordinates_ = startCoordinates_; @@ -907,39 +807,38 @@ public com.google.cloud.talent.v4.CommuteFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CommuteFilter) { - return mergeFrom((com.google.cloud.talent.v4.CommuteFilter) other); + return mergeFrom((com.google.cloud.talent.v4.CommuteFilter)other); } else { super.mergeFrom(other); return this; @@ -961,20 +860,17 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CommuteFilter other) { setAllowImpreciseAddresses(other.getAllowImpreciseAddresses()); } switch (other.getTrafficOptionCase()) { - case ROAD_TRAFFIC: - { - setRoadTrafficValue(other.getRoadTrafficValue()); - break; - } - case DEPARTURE_TIME: - { - mergeDepartureTime(other.getDepartureTime()); - break; - } - case TRAFFICOPTION_NOT_SET: - { - break; - } + case ROAD_TRAFFIC: { + setRoadTrafficValue(other.getRoadTrafficValue()); + break; + } + case DEPARTURE_TIME: { + mergeDepartureTime(other.getDepartureTime()); + break; + } + case TRAFFICOPTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1002,51 +898,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - commuteMethod_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage( - getStartCoordinatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - allowImpreciseAddresses_ = input.readBool(); - - break; - } // case 32 - case 40: - { - int rawValue = input.readEnum(); - trafficOptionCase_ = 5; - trafficOption_ = rawValue; - break; - } // case 40 - case 50: - { - input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); - trafficOptionCase_ = 6; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + commuteMethod_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getStartCoordinatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + allowImpreciseAddresses_ = input.readBool(); + + break; + } // case 32 + case 40: { + int rawValue = input.readEnum(); + trafficOptionCase_ = 5; + trafficOption_ = rawValue; + break; + } // case 40 + case 50: { + input.readMessage( + getDepartureTimeFieldBuilder().getBuilder(), + extensionRegistry); + trafficOptionCase_ = 6; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1056,12 +950,12 @@ public Builder mergeFrom( } // finally return this; } - private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - - public TrafficOptionCase getTrafficOptionCase() { - return TrafficOptionCase.forNumber(trafficOptionCase_); + public TrafficOptionCase + getTrafficOptionCase() { + return TrafficOptionCase.forNumber( + trafficOptionCase_); } public Builder clearTrafficOption() { @@ -1071,75 +965,54 @@ public Builder clearTrafficOption() { return this; } + private int commuteMethod_ = 0; /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override - public int getCommuteMethodValue() { + @java.lang.Override public int getCommuteMethodValue() { return commuteMethod_; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for commuteMethod to set. * @return This builder for chaining. */ public Builder setCommuteMethodValue(int value) { - + commuteMethod_ = value; onChanged(); return this; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteMethod result = - com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4.CommuteMethod result = com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4.CommuteMethod.UNRECOGNIZED : result; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The commuteMethod to set. * @return This builder for chaining. */ @@ -1147,26 +1020,21 @@ public Builder setCommuteMethod(com.google.cloud.talent.v4.CommuteMethod value) if (value == null) { throw new NullPointerException(); } - + commuteMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearCommuteMethod() { - + commuteMethod_ = 0; onChanged(); return this; @@ -1174,56 +1042,42 @@ public Builder clearCommuteMethod() { private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - startCoordinatesBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ public boolean hasStartCoordinates() { return startCoordinatesBuilder_ != null || startCoordinates_ != null; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ public com.google.type.LatLng getStartCoordinates() { if (startCoordinatesBuilder_ == null) { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } else { return startCoordinatesBuilder_.getMessage(); } } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { @@ -1239,17 +1093,15 @@ public Builder setStartCoordinates(com.google.type.LatLng value) { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValue) { + public Builder setStartCoordinates( + com.google.type.LatLng.Builder builderForValue) { if (startCoordinatesBuilder_ == null) { startCoordinates_ = builderForValue.build(); onChanged(); @@ -1260,21 +1112,18 @@ public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValu return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { if (startCoordinates_ != null) { startCoordinates_ = - com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); + com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); } else { startCoordinates_ = value; } @@ -1286,15 +1135,12 @@ public Builder mergeStartCoordinates(com.google.type.LatLng value) { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStartCoordinates() { if (startCoordinatesBuilder_ == null) { @@ -1308,62 +1154,51 @@ public Builder clearStartCoordinates() { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.LatLng.Builder getStartCoordinatesBuilder() { - + onChanged(); return getStartCoordinatesFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { if (startCoordinatesBuilder_ != null) { return startCoordinatesBuilder_.getMessageOrBuilder(); } else { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? + com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getStartCoordinatesFieldBuilder() { if (startCoordinatesBuilder_ == null) { - startCoordinatesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>( - getStartCoordinates(), getParentForChildren(), isClean()); + startCoordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getStartCoordinates(), + getParentForChildren(), + isClean()); startCoordinates_ = null; } return startCoordinatesBuilder_; @@ -1371,61 +1206,42 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - travelDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { @@ -1441,18 +1257,15 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTravelDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (travelDurationBuilder_ == null) { travelDuration_ = builderForValue.build(); onChanged(); @@ -1463,24 +1276,18 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { if (travelDuration_ != null) { travelDuration_ = - com.google.protobuf.Duration.newBuilder(travelDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial(); } else { travelDuration_ = value; } @@ -1492,16 +1299,12 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTravelDuration() { if (travelDurationBuilder_ == null) { @@ -1515,76 +1318,58 @@ public Builder clearTravelDuration() { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - + onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { if (travelDurationBuilder_ != null) { return travelDurationBuilder_.getMessageOrBuilder(); } else { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTravelDurationFieldBuilder() { if (travelDurationBuilder_ == null) { - travelDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTravelDuration(), getParentForChildren(), isClean()); + travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTravelDuration(), + getParentForChildren(), + isClean()); travelDuration_ = null; } return travelDurationBuilder_; } - private boolean allowImpreciseAddresses_; + private boolean allowImpreciseAddresses_ ; /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1594,7 +1379,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
      * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -1602,8 +1386,6 @@ public boolean getAllowImpreciseAddresses() { return allowImpreciseAddresses_; } /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1613,19 +1395,16 @@ public boolean getAllowImpreciseAddresses() {
      * 
* * bool allow_imprecise_addresses = 4; - * * @param value The allowImpreciseAddresses to set. * @return This builder for chaining. */ public Builder setAllowImpreciseAddresses(boolean value) { - + allowImpreciseAddresses_ = value; onChanged(); return this; } /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1635,25 +1414,21 @@ public Builder setAllowImpreciseAddresses(boolean value) {
      * 
* * bool allow_imprecise_addresses = 4; - * * @return This builder for chaining. */ public Builder clearAllowImpreciseAddresses() { - + allowImpreciseAddresses_ = false; onChanged(); return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ @java.lang.Override @@ -1661,14 +1436,11 @@ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ @java.lang.Override @@ -1679,14 +1451,11 @@ public int getRoadTrafficValue() { return 0; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @param value The enum numeric value on the wire for roadTraffic to set. * @return This builder for chaining. */ @@ -1697,38 +1466,29 @@ public Builder setRoadTrafficValue(int value) { return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null - ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; } return com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @param value The roadTraffic to set. * @return This builder for chaining. */ @@ -1742,14 +1502,11 @@ public Builder setRoadTraffic(com.google.cloud.talent.v4.CommuteFilter.RoadTraff return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return This builder for chaining. */ public Builder clearRoadTraffic() { @@ -1762,13 +1519,8 @@ public Builder clearRoadTraffic() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> - departureTimeBuilder_; + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> departureTimeBuilder_; /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1776,7 +1528,6 @@ public Builder clearRoadTraffic() {
      * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -1784,8 +1535,6 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1793,7 +1542,6 @@ public boolean hasDepartureTime() {
      * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ @java.lang.Override @@ -1811,8 +1559,6 @@ public com.google.type.TimeOfDay getDepartureTime() { } } /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1835,8 +1581,6 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1845,7 +1589,8 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
      *
      * .google.type.TimeOfDay departure_time = 6;
      */
-    public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValue) {
+    public Builder setDepartureTime(
+        com.google.type.TimeOfDay.Builder builderForValue) {
       if (departureTimeBuilder_ == null) {
         trafficOption_ = builderForValue.build();
         onChanged();
@@ -1856,8 +1601,6 @@ public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1868,12 +1611,10 @@ public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValu
      */
     public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       if (departureTimeBuilder_ == null) {
-        if (trafficOptionCase_ == 6
-            && trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
-          trafficOption_ =
-              com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (trafficOptionCase_ == 6 &&
+            trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
+          trafficOption_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
+              .mergeFrom(value).buildPartial();
         } else {
           trafficOption_ = value;
         }
@@ -1889,8 +1630,6 @@ public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1916,8 +1655,6 @@ public Builder clearDepartureTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1930,8 +1667,6 @@ public com.google.type.TimeOfDay.Builder getDepartureTimeBuilder() {
       return getDepartureTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1952,8 +1687,6 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1963,30 +1696,26 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
      * .google.type.TimeOfDay departure_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.TimeOfDay,
-            com.google.type.TimeOfDay.Builder,
-            com.google.type.TimeOfDayOrBuilder>
+        com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
         getDepartureTimeFieldBuilder() {
       if (departureTimeBuilder_ == null) {
         if (!(trafficOptionCase_ == 6)) {
           trafficOption_ = com.google.type.TimeOfDay.getDefaultInstance();
         }
-        departureTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.TimeOfDay,
-                com.google.type.TimeOfDay.Builder,
-                com.google.type.TimeOfDayOrBuilder>(
-                (com.google.type.TimeOfDay) trafficOption_, getParentForChildren(), isClean());
+        departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                (com.google.type.TimeOfDay) trafficOption_,
+                getParentForChildren(),
+                isClean());
         trafficOption_ = null;
       }
       trafficOptionCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return departureTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1996,12 +1725,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CommuteFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CommuteFilter)
   private static final com.google.cloud.talent.v4.CommuteFilter DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CommuteFilter();
   }
@@ -2010,27 +1739,27 @@ public static com.google.cloud.talent.v4.CommuteFilter getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CommuteFilter parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CommuteFilter parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2045,4 +1774,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.CommuteFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
similarity index 78%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
index 9483d3957680..3dd0ff8d69cb 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
@@ -1,142 +1,92 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/filters.proto
 
 package com.google.cloud.talent.v4;
 
-public interface CommuteFilterOrBuilder
-    extends
+public interface CommuteFilterOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CommuteFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ int getCommuteMethodValue(); /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ com.google.cloud.talent.v4.CommuteMethod getCommuteMethod(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ boolean hasStartCoordinates(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ com.google.type.LatLng getStartCoordinates(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder(); /** - * - * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -146,51 +96,39 @@ public interface CommuteFilterOrBuilder
    * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ boolean getAllowImpreciseAddresses(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ boolean hasRoadTraffic(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ int getRoadTrafficValue(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -198,13 +136,10 @@ public interface CommuteFilterOrBuilder
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -212,13 +147,10 @@ public interface CommuteFilterOrBuilder
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ com.google.type.TimeOfDay getDepartureTime(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
similarity index 71%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
index 8f8d636dc0c6..ac378e5a42bb 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Method for commute. Walking, biking and wheelchair accessible transit is
  * still in the Preview stage.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.CommuteMethod}
  */
-public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
+public enum CommuteMethod
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Commute method isn't specified.
    * 
@@ -40,8 +22,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ COMMUTE_METHOD_UNSPECIFIED(0), /** - * - * *
    * Commute time is calculated based on driving time.
    * 
@@ -50,8 +30,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ DRIVING(1), /** - * - * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -61,8 +39,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   TRANSIT(2),
   /**
-   *
-   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -71,8 +47,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ WALKING(3), /** - * - * *
    * Commute time is calculated based on biking time.
    * 
@@ -81,8 +55,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ CYCLING(4), /** - * - * *
    * Commute time is calculated based on public transit that is wheelchair
    * accessible.
@@ -95,8 +67,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Commute method isn't specified.
    * 
@@ -105,8 +75,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Commute time is calculated based on driving time.
    * 
@@ -115,8 +83,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRIVING_VALUE = 1; /** - * - * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -126,8 +92,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TRANSIT_VALUE = 2;
   /**
-   *
-   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -136,8 +100,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WALKING_VALUE = 3; /** - * - * *
    * Commute time is calculated based on biking time.
    * 
@@ -146,8 +108,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CYCLING_VALUE = 4; /** - * - * *
    * Commute time is calculated based on public transit that is wheelchair
    * accessible.
@@ -157,6 +117,7 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TRANSIT_ACCESSIBLE_VALUE = 5;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -181,55 +142,52 @@ public static CommuteMethod valueOf(int value) {
    */
   public static CommuteMethod forNumber(int value) {
     switch (value) {
-      case 0:
-        return COMMUTE_METHOD_UNSPECIFIED;
-      case 1:
-        return DRIVING;
-      case 2:
-        return TRANSIT;
-      case 3:
-        return WALKING;
-      case 4:
-        return CYCLING;
-      case 5:
-        return TRANSIT_ACCESSIBLE;
-      default:
-        return null;
+      case 0: return COMMUTE_METHOD_UNSPECIFIED;
+      case 1: return DRIVING;
+      case 2: return TRANSIT;
+      case 3: return WALKING;
+      case 4: return CYCLING;
+      case 5: return TRANSIT_ACCESSIBLE;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public CommuteMethod findValueByNumber(int number) {
-          return CommuteMethod.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      CommuteMethod> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public CommuteMethod findValueByNumber(int number) {
+            return CommuteMethod.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(9);
   }
 
   private static final CommuteMethod[] VALUES = values();
 
-  public static CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static CommuteMethod valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -245,3 +203,4 @@ private CommuteMethod(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CommuteMethod)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
index 435b39408003..0bd255b0028f 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * A Company resource represents a company in the service. A company is the
  * entity that owns job postings, that is, the hiring entity responsible for
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Company}
  */
-public final class Company extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Company extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Company)
     CompanyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Company.newBuilder() to construct.
   private Company(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Company() {
     name_ = "";
     displayName_ = "";
@@ -54,64 +36,54 @@ private Company() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Company();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.CompanyProto
-        .internal_static_google_cloud_talent_v4_Company_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CompanyProto
-        .internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
+    return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.Company.class,
-            com.google.cloud.talent.v4.Company.Builder.class);
+            com.google.cloud.talent.v4.Company.class, com.google.cloud.talent.v4.Company.Builder.class);
   }
 
-  public interface DerivedInfoOrBuilder
-      extends
+  public interface DerivedInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Company.DerivedInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ boolean hasHeadquartersLocation(); /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return The headquartersLocation. */ com.google.cloud.talent.v4.Location getHeadquartersLocation(); /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -122,64 +94,58 @@ public interface DerivedInfoOrBuilder
     com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Derived details about the company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Company.DerivedInfo} */ - public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DerivedInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Company.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DerivedInfo() {} + private DerivedInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Company.DerivedInfo.class, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Company.DerivedInfo.class, com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); } public static final int HEADQUARTERS_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Location headquartersLocation_; /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ @java.lang.Override @@ -187,26 +153,19 @@ public boolean hasHeadquartersLocation() { return headquartersLocation_ != null; } /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return The headquartersLocation. */ @java.lang.Override public com.google.cloud.talent.v4.Location getHeadquartersLocation() { - return headquartersLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : headquartersLocation_; + return headquartersLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_; } /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -220,7 +179,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -232,7 +190,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (headquartersLocation_ != null) {
         output.writeMessage(1, getHeadquartersLocation());
       }
@@ -246,8 +205,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (headquartersLocation_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeadquartersLocation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getHeadquartersLocation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -257,17 +216,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.Company.DerivedInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.Company.DerivedInfo other =
-          (com.google.cloud.talent.v4.Company.DerivedInfo) obj;
+      com.google.cloud.talent.v4.Company.DerivedInfo other = (com.google.cloud.talent.v4.Company.DerivedInfo) obj;
 
       if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
       if (hasHeadquartersLocation()) {
-        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
+        if (!getHeadquartersLocation()
+            .equals(other.getHeadquartersLocation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -289,94 +248,88 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(java.nio.ByteBuffer data)
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.cloud.talent.v4.Company.DerivedInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -386,41 +339,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Derived details about the company.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Company.DerivedInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Company.DerivedInfo) com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Company.DerivedInfo.class, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Company.DerivedInfo.class, com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyProto - .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override @@ -455,8 +406,7 @@ public com.google.cloud.talent.v4.Company.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfo buildPartial() { - com.google.cloud.talent.v4.Company.DerivedInfo result = - new com.google.cloud.talent.v4.Company.DerivedInfo(this); + com.google.cloud.talent.v4.Company.DerivedInfo result = new com.google.cloud.talent.v4.Company.DerivedInfo(this); if (headquartersLocationBuilder_ == null) { result.headquartersLocation_ = headquartersLocation_; } else { @@ -470,41 +420,38 @@ public com.google.cloud.talent.v4.Company.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Company.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4.Company.DerivedInfo) other); + return mergeFrom((com.google.cloud.talent.v4.Company.DerivedInfo)other); } else { super.mergeFrom(other); return this; @@ -512,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Company.DerivedInfo other) { - if (other == com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance()) return this; if (other.hasHeadquartersLocation()) { mergeHeadquartersLocation(other.getHeadquartersLocation()); } @@ -543,20 +489,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getHeadquartersLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getHeadquartersLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -569,49 +514,36 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> - headquartersLocationBuilder_; + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> headquartersLocationBuilder_; /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ public boolean hasHeadquartersLocation() { return headquartersLocationBuilder_ != null || headquartersLocation_ != null; } /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; - * * @return The headquartersLocation. */ public com.google.cloud.talent.v4.Location getHeadquartersLocation() { if (headquartersLocationBuilder_ == null) { - return headquartersLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : headquartersLocation_; + return headquartersLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_; } else { return headquartersLocationBuilder_.getMessage(); } } /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -633,8 +565,6 @@ public Builder setHeadquartersLocation(com.google.cloud.talent.v4.Location value
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -654,8 +584,6 @@ public Builder setHeadquartersLocation(
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -667,9 +595,7 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4.Location val
         if (headquartersLocationBuilder_ == null) {
           if (headquartersLocation_ != null) {
             headquartersLocation_ =
-                com.google.cloud.talent.v4.Location.newBuilder(headquartersLocation_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4.Location.newBuilder(headquartersLocation_).mergeFrom(value).buildPartial();
           } else {
             headquartersLocation_ = value;
           }
@@ -681,8 +607,6 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4.Location val
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -702,8 +626,6 @@ public Builder clearHeadquartersLocation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -712,13 +634,11 @@ public Builder clearHeadquartersLocation() {
        * .google.cloud.talent.v4.Location headquarters_location = 1;
        */
       public com.google.cloud.talent.v4.Location.Builder getHeadquartersLocationBuilder() {
-
+        
         onChanged();
         return getHeadquartersLocationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -730,14 +650,11 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
         if (headquartersLocationBuilder_ != null) {
           return headquartersLocationBuilder_.getMessageOrBuilder();
         } else {
-          return headquartersLocation_ == null
-              ? com.google.cloud.talent.v4.Location.getDefaultInstance()
-              : headquartersLocation_;
+          return headquartersLocation_ == null ?
+              com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_;
         }
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -746,22 +663,18 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
        * .google.cloud.talent.v4.Location headquarters_location = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4.Location,
-              com.google.cloud.talent.v4.Location.Builder,
-              com.google.cloud.talent.v4.LocationOrBuilder>
+          com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
           getHeadquartersLocationFieldBuilder() {
         if (headquartersLocationBuilder_ == null) {
-          headquartersLocationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4.Location,
-                  com.google.cloud.talent.v4.Location.Builder,
-                  com.google.cloud.talent.v4.LocationOrBuilder>(
-                  getHeadquartersLocation(), getParentForChildren(), isClean());
+          headquartersLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
+                  getHeadquartersLocation(),
+                  getParentForChildren(),
+                  isClean());
           headquartersLocation_ = null;
         }
         return headquartersLocationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -774,12 +687,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Company.DerivedInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Company.DerivedInfo)
     private static final com.google.cloud.talent.v4.Company.DerivedInfo DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Company.DerivedInfo();
     }
@@ -788,28 +701,27 @@ public static com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstance(
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DerivedInfo parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DerivedInfo parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -824,13 +736,12 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -841,7 +752,6 @@ public com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstanceForType(
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -850,15 +760,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -869,15 +778,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -888,14 +798,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -904,29 +811,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -937,8 +844,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int EXTERNAL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object externalId_; /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -946,7 +851,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ @java.lang.Override @@ -955,15 +859,14 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -971,15 +874,16 @@ public java.lang.String getExternalId() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -990,44 +894,33 @@ public com.google.protobuf.ByteString getExternalIdBytes() { public static final int SIZE_FIELD_NUMBER = 4; private int size_; /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ - @java.lang.Override - public int getSizeValue() { + @java.lang.Override public int getSizeValue() { return size_; } /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The size. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompanySize getSize() { + @java.lang.Override public com.google.cloud.talent.v4.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompanySize result = - com.google.cloud.talent.v4.CompanySize.valueOf(size_); + com.google.cloud.talent.v4.CompanySize result = com.google.cloud.talent.v4.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4.CompanySize.UNRECOGNIZED : result; } public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER = 5; private volatile java.lang.Object headquartersAddress_; /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -1036,7 +929,6 @@ public com.google.cloud.talent.v4.CompanySize getSize() {
    * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ @java.lang.Override @@ -1045,15 +937,14 @@ public java.lang.String getHeadquartersAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; } } /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -1062,15 +953,16 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString + getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -1081,8 +973,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() { public static final int HIRING_AGENCY_FIELD_NUMBER = 6; private boolean hiringAgency_; /** - * - * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -1090,7 +980,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() {
    * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ @java.lang.Override @@ -1101,8 +990,6 @@ public boolean getHiringAgency() { public static final int EEO_TEXT_FIELD_NUMBER = 7; private volatile java.lang.Object eeoText_; /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1111,7 +998,6 @@ public boolean getHiringAgency() {
    * 
* * string eeo_text = 7; - * * @return The eeoText. */ @java.lang.Override @@ -1120,15 +1006,14 @@ public java.lang.String getEeoText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; } } /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1137,15 +1022,16 @@ public java.lang.String getEeoText() {
    * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ @java.lang.Override - public com.google.protobuf.ByteString getEeoTextBytes() { + public com.google.protobuf.ByteString + getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eeoText_ = b; return b; } else { @@ -1156,8 +1042,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() { public static final int WEBSITE_URI_FIELD_NUMBER = 8; private volatile java.lang.Object websiteUri_; /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1165,7 +1049,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() {
    * 
* * string website_uri = 8; - * * @return The websiteUri. */ @java.lang.Override @@ -1174,15 +1057,14 @@ public java.lang.String getWebsiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; } } /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1190,15 +1072,16 @@ public java.lang.String getWebsiteUri() {
    * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString getWebsiteUriBytes() { + public com.google.protobuf.ByteString + getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -1209,15 +1092,12 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() { public static final int CAREER_SITE_URI_FIELD_NUMBER = 9; private volatile java.lang.Object careerSiteUri_; /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ @java.lang.Override @@ -1226,30 +1106,30 @@ public java.lang.String getCareerSiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; } } /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString getCareerSiteUriBytes() { + public com.google.protobuf.ByteString + getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -1260,14 +1140,11 @@ public com.google.protobuf.ByteString getCareerSiteUriBytes() { public static final int IMAGE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object imageUri_; /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The imageUri. */ @java.lang.Override @@ -1276,29 +1153,29 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -1309,9 +1186,9 @@ public com.google.protobuf.ByteString getImageUriBytes() { public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_; /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -1320,17 +1197,19 @@ public com.google.protobuf.ByteString getImageUriBytes() {
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @return A list containing the keywordSearchableJobCustomAttributes. */ - public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_; } /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -1339,17 +1218,18 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @return The count of keywordSearchableJobCustomAttributes. */ - public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -1358,18 +1238,19 @@ public int getKeywordSearchableJobCustomAttributesCount() {
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -1378,28 +1259,25 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } public static final int DERIVED_INFO_FIELD_NUMBER = 12; private com.google.cloud.talent.v4.Company.DerivedInfo derivedInfo_; /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -1407,34 +1285,23 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -1444,8 +1311,6 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB public static final int SUSPENDED_FIELD_NUMBER = 13; private boolean suspended_; /** - * - * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -1453,7 +1318,6 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ @java.lang.Override @@ -1462,7 +1326,6 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1474,7 +1337,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1506,8 +1370,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageUri_); } for (int i = 0; i < keywordSearchableJobCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); } if (derivedInfo_ != null) { output.writeMessage(12, getDerivedInfo()); @@ -1534,13 +1397,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalId_); } if (size_ != com.google.cloud.talent.v4.CompanySize.COMPANY_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, size_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headquartersAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, headquartersAddress_); } if (hiringAgency_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hiringAgency_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, hiringAgency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eeoText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eeoText_); @@ -1563,10 +1428,12 @@ public int getSerializedSize() { size += 1 * getKeywordSearchableJobCustomAttributesList().size(); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDerivedInfo()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, suspended_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1576,30 +1443,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Company)) { return super.equals(obj); } com.google.cloud.talent.v4.Company other = (com.google.cloud.talent.v4.Company) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getExternalId().equals(other.getExternalId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getExternalId() + .equals(other.getExternalId())) return false; if (size_ != other.size_) return false; - if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; - if (getHiringAgency() != other.getHiringAgency()) return false; - if (!getEeoText().equals(other.getEeoText())) return false; - if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; - if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; - if (!getImageUri().equals(other.getImageUri())) return false; + if (!getHeadquartersAddress() + .equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() + != other.getHiringAgency()) return false; + if (!getEeoText() + .equals(other.getEeoText())) return false; + if (!getWebsiteUri() + .equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri() + .equals(other.getCareerSiteUri())) return false; + if (!getImageUri() + .equals(other.getImageUri())) return false; if (!getKeywordSearchableJobCustomAttributesList() .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo() + .equals(other.getDerivedInfo())) return false; } - if (getSuspended() != other.getSuspended()) return false; + if (getSuspended() + != other.getSuspended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1622,7 +1500,8 @@ public int hashCode() { hash = (37 * hash) + HEADQUARTERS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getHeadquartersAddress().hashCode(); hash = (37 * hash) + HIRING_AGENCY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHiringAgency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHiringAgency()); hash = (37 * hash) + EEO_TEXT_FIELD_NUMBER; hash = (53 * hash) + getEeoText().hashCode(); hash = (37 * hash) + WEBSITE_URI_FIELD_NUMBER; @@ -1640,109 +1519,104 @@ public int hashCode() { hash = (53 * hash) + getDerivedInfo().hashCode(); } hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuspended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.Company parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Company parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Company parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Company parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.Company parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Company parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Company parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Company parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Company parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Company parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Company prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Company resource represents a company in the service. A company is the
    * entity that owns job postings, that is, the hiring entity responsible for
@@ -1751,32 +1625,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.Company}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Company)
       com.google.cloud.talent.v4.CompanyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CompanyProto
-          .internal_static_google_cloud_talent_v4_Company_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CompanyProto
-          .internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
+      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.Company.class,
-              com.google.cloud.talent.v4.Company.Builder.class);
+              com.google.cloud.talent.v4.Company.class, com.google.cloud.talent.v4.Company.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Company.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1814,9 +1689,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.CompanyProto
-          .internal_static_google_cloud_talent_v4_Company_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
     }
 
     @java.lang.Override
@@ -1848,8 +1723,7 @@ public com.google.cloud.talent.v4.Company buildPartial() {
       result.careerSiteUri_ = careerSiteUri_;
       result.imageUri_ = imageUri_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableJobCustomAttributes_ =
-            keywordSearchableJobCustomAttributes_.getUnmodifiableView();
+        keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_;
@@ -1867,39 +1741,38 @@ public com.google.cloud.talent.v4.Company buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Company) {
-        return mergeFrom((com.google.cloud.talent.v4.Company) other);
+        return mergeFrom((com.google.cloud.talent.v4.Company)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1988,92 +1861,80 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                externalId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              externalId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                size_ = input.readEnum();
+              break;
+            } // case 26
+            case 32: {
+              size_ = input.readEnum();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                headquartersAddress_ = input.readStringRequireUtf8();
+              break;
+            } // case 32
+            case 42: {
+              headquartersAddress_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 48:
-              {
-                hiringAgency_ = input.readBool();
+              break;
+            } // case 42
+            case 48: {
+              hiringAgency_ = input.readBool();
 
-                break;
-              } // case 48
-            case 58:
-              {
-                eeoText_ = input.readStringRequireUtf8();
+              break;
+            } // case 48
+            case 58: {
+              eeoText_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 58
-            case 66:
-              {
-                websiteUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 58
+            case 66: {
+              websiteUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 66
-            case 74:
-              {
-                careerSiteUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 66
+            case 74: {
+              careerSiteUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 74
-            case 82:
-              {
-                imageUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 74
+            case 82: {
+              imageUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 82
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureKeywordSearchableJobCustomAttributesIsMutable();
-                keywordSearchableJobCustomAttributes_.add(s);
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 82
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureKeywordSearchableJobCustomAttributesIsMutable();
+              keywordSearchableJobCustomAttributes_.add(s);
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getDerivedInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 98
-            case 104:
-              {
-                suspended_ = input.readBool();
+              break;
+            } // case 98
+            case 104: {
+              suspended_ = input.readBool();
 
-                break;
-              } // case 104
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 104
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2083,13 +1944,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2100,13 +1958,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2115,8 +1973,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2127,14 +1983,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2142,8 +1999,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2154,22 +2009,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2180,18 +2033,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2202,16 +2052,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2219,20 +2069,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2241,21 +2089,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2263,61 +2110,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2325,8 +2165,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalId_ = ""; /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2334,13 +2172,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -2349,8 +2187,6 @@ public java.lang.String getExternalId() { } } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2358,14 +2194,15 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -2373,8 +2210,6 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2382,22 +2217,20 @@ public com.google.protobuf.ByteString getExternalIdBytes() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId(java.lang.String value) { + public Builder setExternalId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2405,18 +2238,15 @@ public Builder setExternalId(java.lang.String value) {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2424,16 +2254,16 @@ public Builder clearExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -2441,65 +2271,51 @@ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { private int size_ = 0; /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ - @java.lang.Override - public int getSizeValue() { + @java.lang.Override public int getSizeValue() { return size_; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @param value The enum numeric value on the wire for size to set. * @return This builder for chaining. */ public Builder setSizeValue(int value) { - + size_ = value; onChanged(); return this; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The size. */ @java.lang.Override public com.google.cloud.talent.v4.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompanySize result = - com.google.cloud.talent.v4.CompanySize.valueOf(size_); + com.google.cloud.talent.v4.CompanySize result = com.google.cloud.talent.v4.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4.CompanySize.UNRECOGNIZED : result; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @param value The size to set. * @return This builder for chaining. */ @@ -2507,24 +2323,21 @@ public Builder setSize(com.google.cloud.talent.v4.CompanySize value) { if (value == null) { throw new NullPointerException(); } - + size_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0; onChanged(); return this; @@ -2532,8 +2345,6 @@ public Builder clearSize() { private java.lang.Object headquartersAddress_ = ""; /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2542,13 +2353,13 @@ public Builder clearSize() {
      * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ public java.lang.String getHeadquartersAddress() { java.lang.Object ref = headquartersAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; @@ -2557,8 +2368,6 @@ public java.lang.String getHeadquartersAddress() { } } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2567,14 +2376,15 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ - public com.google.protobuf.ByteString getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString + getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -2582,8 +2392,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() { } } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2592,22 +2400,20 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() {
      * 
* * string headquarters_address = 5; - * * @param value The headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddress(java.lang.String value) { + public Builder setHeadquartersAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + headquartersAddress_ = value; onChanged(); return this; } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2616,18 +2422,15 @@ public Builder setHeadquartersAddress(java.lang.String value) {
      * 
* * string headquarters_address = 5; - * * @return This builder for chaining. */ public Builder clearHeadquartersAddress() { - + headquartersAddress_ = getDefaultInstance().getHeadquartersAddress(); onChanged(); return this; } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2636,25 +2439,23 @@ public Builder clearHeadquartersAddress() {
      * 
* * string headquarters_address = 5; - * * @param value The bytes for headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value) { + public Builder setHeadquartersAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + headquartersAddress_ = value; onChanged(); return this; } - private boolean hiringAgency_; + private boolean hiringAgency_ ; /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2662,7 +2463,6 @@ public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value)
      * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ @java.lang.Override @@ -2670,8 +2470,6 @@ public boolean getHiringAgency() { return hiringAgency_; } /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2679,19 +2477,16 @@ public boolean getHiringAgency() {
      * 
* * bool hiring_agency = 6; - * * @param value The hiringAgency to set. * @return This builder for chaining. */ public Builder setHiringAgency(boolean value) { - + hiringAgency_ = value; onChanged(); return this; } /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2699,11 +2494,10 @@ public Builder setHiringAgency(boolean value) {
      * 
* * bool hiring_agency = 6; - * * @return This builder for chaining. */ public Builder clearHiringAgency() { - + hiringAgency_ = false; onChanged(); return this; @@ -2711,8 +2505,6 @@ public Builder clearHiringAgency() { private java.lang.Object eeoText_ = ""; /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2721,13 +2513,13 @@ public Builder clearHiringAgency() {
      * 
* * string eeo_text = 7; - * * @return The eeoText. */ public java.lang.String getEeoText() { java.lang.Object ref = eeoText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; @@ -2736,8 +2528,6 @@ public java.lang.String getEeoText() { } } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2746,14 +2536,15 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ - public com.google.protobuf.ByteString getEeoTextBytes() { + public com.google.protobuf.ByteString + getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eeoText_ = b; return b; } else { @@ -2761,8 +2552,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() { } } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2771,22 +2560,20 @@ public com.google.protobuf.ByteString getEeoTextBytes() {
      * 
* * string eeo_text = 7; - * * @param value The eeoText to set. * @return This builder for chaining. */ - public Builder setEeoText(java.lang.String value) { + public Builder setEeoText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eeoText_ = value; onChanged(); return this; } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2795,18 +2582,15 @@ public Builder setEeoText(java.lang.String value) {
      * 
* * string eeo_text = 7; - * * @return This builder for chaining. */ public Builder clearEeoText() { - + eeoText_ = getDefaultInstance().getEeoText(); onChanged(); return this; } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2815,16 +2599,16 @@ public Builder clearEeoText() {
      * 
* * string eeo_text = 7; - * * @param value The bytes for eeoText to set. * @return This builder for chaining. */ - public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { + public Builder setEeoTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eeoText_ = value; onChanged(); return this; @@ -2832,8 +2616,6 @@ public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object websiteUri_ = ""; /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2841,13 +2623,13 @@ public Builder setEeoTextBytes(com.google.protobuf.ByteString value) {
      * 
* * string website_uri = 8; - * * @return The websiteUri. */ public java.lang.String getWebsiteUri() { java.lang.Object ref = websiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; @@ -2856,8 +2638,6 @@ public java.lang.String getWebsiteUri() { } } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2865,14 +2645,15 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ - public com.google.protobuf.ByteString getWebsiteUriBytes() { + public com.google.protobuf.ByteString + getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -2880,8 +2661,6 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() { } } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2889,22 +2668,20 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() {
      * 
* * string website_uri = 8; - * * @param value The websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUri(java.lang.String value) { + public Builder setWebsiteUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + websiteUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2912,18 +2689,15 @@ public Builder setWebsiteUri(java.lang.String value) {
      * 
* * string website_uri = 8; - * * @return This builder for chaining. */ public Builder clearWebsiteUri() { - + websiteUri_ = getDefaultInstance().getWebsiteUri(); onChanged(); return this; } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2931,16 +2705,16 @@ public Builder clearWebsiteUri() {
      * 
* * string website_uri = 8; - * * @param value The bytes for websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { + public Builder setWebsiteUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + websiteUri_ = value; onChanged(); return this; @@ -2948,21 +2722,19 @@ public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object careerSiteUri_ = ""; /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ public java.lang.String getCareerSiteUri() { java.lang.Object ref = careerSiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; @@ -2971,22 +2743,21 @@ public java.lang.String getCareerSiteUri() { } } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ - public com.google.protobuf.ByteString getCareerSiteUriBytes() { + public com.google.protobuf.ByteString + getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -2994,64 +2765,57 @@ public com.google.protobuf.ByteString getCareerSiteUriBytes() { } } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @param value The careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUri(java.lang.String value) { + public Builder setCareerSiteUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + careerSiteUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return This builder for chaining. */ public Builder clearCareerSiteUri() { - + careerSiteUri_ = getDefaultInstance().getCareerSiteUri(); onChanged(); return this; } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @param value The bytes for careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { + public Builder setCareerSiteUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + careerSiteUri_ = value; onChanged(); return this; @@ -3059,20 +2823,18 @@ public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageUri_ = ""; /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -3081,21 +2843,20 @@ public java.lang.String getImageUri() { } } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -3103,80 +2864,70 @@ public com.google.protobuf.ByteString getImageUriBytes() { } } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri(java.lang.String value) { + public Builder setImageUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes(com.google.protobuf.ByteString value) { + public Builder setImageUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeywordSearchableJobCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableJobCustomAttributes_ = - new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); + keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3185,17 +2936,19 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @return A list containing the keywordSearchableJobCustomAttributes. */ - public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3204,17 +2957,18 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @return The count of keywordSearchableJobCustomAttributes. */ - public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3223,18 +2977,19 @@ public int getKeywordSearchableJobCustomAttributesCount() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3243,18 +2998,20 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3263,25 +3020,27 @@ public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesByt
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param index The index to set the value at. * @param value The keywordSearchableJobCustomAttributes to set. * @return This builder for chaining. */ - public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setKeywordSearchableJobCustomAttributes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.set(index, value); onChanged(); return this; } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3290,24 +3049,26 @@ public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.Stri
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param value The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) { + @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); return this; } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3316,12 +3077,13 @@ public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param values The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - public Builder addAllKeywordSearchableJobCustomAttributes( + @java.lang.Deprecated public Builder addAllKeywordSearchableJobCustomAttributes( java.lang.Iterable values) { ensureKeywordSearchableJobCustomAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3330,9 +3092,9 @@ public Builder addAllKeywordSearchableJobCustomAttributes( return this; } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3341,20 +3103,21 @@ public Builder addAllKeywordSearchableJobCustomAttributes(
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @return This builder for chaining. */ - public Builder clearKeywordSearchableJobCustomAttributes() { + @java.lang.Deprecated public Builder clearKeywordSearchableJobCustomAttributes() { keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** - * - * *
+     * This field is deprecated. Please set the searchability of the custom
+     * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
      * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Jobs with
      * `string_values` under these specified field keys are returned if any
@@ -3363,17 +3126,18 @@ public Builder clearKeywordSearchableJobCustomAttributes() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param value The bytes of the keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableJobCustomAttributesBytes( + @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); @@ -3382,58 +3146,39 @@ public Builder addKeywordSearchableJobCustomAttributesBytes( private com.google.cloud.talent.v4.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> - derivedInfoBuilder_; + com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> derivedInfoBuilder_; /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ public com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -3449,15 +3194,11 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo val return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo( com.google.cloud.talent.v4.Company.DerivedInfo.Builder builderForValue) { @@ -3471,23 +3212,17 @@ public Builder setDerivedInfo( return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder(derivedInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); } else { derivedInfo_ = value; } @@ -3499,15 +3234,11 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo v return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -3521,73 +3252,55 @@ public Builder clearDerivedInfo() { return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4.Company.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? + com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> + com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, - com.google.cloud.talent.v4.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder>( - getDerivedInfo(), getParentForChildren(), isClean()); + derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder>( + getDerivedInfo(), + getParentForChildren(), + isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; } - private boolean suspended_; + private boolean suspended_ ; /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3595,7 +3308,6 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ @java.lang.Override @@ -3603,8 +3315,6 @@ public boolean getSuspended() { return suspended_; } /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3612,19 +3322,16 @@ public boolean getSuspended() {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The suspended to set. * @return This builder for chaining. */ public Builder setSuspended(boolean value) { - + suspended_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3632,18 +3339,17 @@ public Builder setSuspended(boolean value) {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSuspended() { - + suspended_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3653,12 +3359,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Company) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Company) private static final com.google.cloud.talent.v4.Company DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Company(); } @@ -3667,27 +3373,27 @@ public static com.google.cloud.talent.v4.Company getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Company parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Company parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3702,4 +3408,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Company getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java similarity index 77% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java index 5f26e382f9a2..86b5b656462e 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company.proto package com.google.cloud.talent.v4; -public interface CompanyOrBuilder - extends +public interface CompanyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Company) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -36,13 +18,10 @@ public interface CompanyOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -53,39 +32,32 @@ public interface CompanyOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -93,13 +65,10 @@ public interface CompanyOrBuilder
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ java.lang.String getExternalId(); /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -107,39 +76,31 @@ public interface CompanyOrBuilder
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - com.google.protobuf.ByteString getExternalIdBytes(); + com.google.protobuf.ByteString + getExternalIdBytes(); /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ int getSizeValue(); /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; - * * @return The size. */ com.google.cloud.talent.v4.CompanySize getSize(); /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -148,13 +109,10 @@ public interface CompanyOrBuilder
    * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ java.lang.String getHeadquartersAddress(); /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -163,14 +121,12 @@ public interface CompanyOrBuilder
    * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ - com.google.protobuf.ByteString getHeadquartersAddressBytes(); + com.google.protobuf.ByteString + getHeadquartersAddressBytes(); /** - * - * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -178,14 +134,11 @@ public interface CompanyOrBuilder
    * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ boolean getHiringAgency(); /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -194,13 +147,10 @@ public interface CompanyOrBuilder
    * 
* * string eeo_text = 7; - * * @return The eeoText. */ java.lang.String getEeoText(); /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -209,14 +159,12 @@ public interface CompanyOrBuilder
    * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ - com.google.protobuf.ByteString getEeoTextBytes(); + com.google.protobuf.ByteString + getEeoTextBytes(); /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -224,13 +172,10 @@ public interface CompanyOrBuilder
    * 
* * string website_uri = 8; - * * @return The websiteUri. */ java.lang.String getWebsiteUri(); /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -238,67 +183,57 @@ public interface CompanyOrBuilder
    * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ - com.google.protobuf.ByteString getWebsiteUriBytes(); + com.google.protobuf.ByteString + getWebsiteUriBytes(); /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ java.lang.String getCareerSiteUri(); /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ - com.google.protobuf.ByteString getCareerSiteUriBytes(); + com.google.protobuf.ByteString + getCareerSiteUriBytes(); /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The imageUri. */ java.lang.String getImageUri(); /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString getImageUriBytes(); + com.google.protobuf.ByteString + getImageUriBytes(); /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -307,15 +242,17 @@ public interface CompanyOrBuilder
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @return A list containing the keywordSearchableJobCustomAttributes. */ - java.util.List getKeywordSearchableJobCustomAttributesList(); + @java.lang.Deprecated java.util.List + getKeywordSearchableJobCustomAttributesList(); /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -324,15 +261,16 @@ public interface CompanyOrBuilder
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @return The count of keywordSearchableJobCustomAttributes. */ - int getKeywordSearchableJobCustomAttributesCount(); + @java.lang.Deprecated int getKeywordSearchableJobCustomAttributesCount(); /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -341,16 +279,17 @@ public interface CompanyOrBuilder
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - java.lang.String getKeywordSearchableJobCustomAttributes(int index); + @java.lang.Deprecated java.lang.String getKeywordSearchableJobCustomAttributes(int index); /** - * - * *
+   * This field is deprecated. Please set the searchability of the custom
+   * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
    * A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Jobs with
    * `string_values` under these specified field keys are returned if any
@@ -359,57 +298,43 @@ public interface CompanyOrBuilder
    * and those keyword queries must be surrounded by quotes.
    * 
* - * repeated string keyword_searchable_job_custom_attributes = 11; - * + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo(); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** - * - * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -417,7 +342,6 @@ public interface CompanyOrBuilder
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ boolean getSuspended(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java new file mode 100644 index 000000000000..2658099e6917 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java @@ -0,0 +1,90 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company.proto + +package com.google.cloud.talent.v4; + +public final class CompanyProto { + private CompanyProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Company_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Company_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n$google/cloud/talent/v4/company.proto\022\026" + + "google.cloud.talent.v4\032\037google/api/field" + + "_behavior.proto\032\031google/api/resource.pro" + + "to\032#google/cloud/talent/v4/common.proto\"" + + "\310\004\n\007Company\022\014\n\004name\030\001 \001(\t\022\031\n\014display_nam" + + "e\030\002 \001(\tB\003\340A\002\022\030\n\013external_id\030\003 \001(\tB\003\340A\002\0221" + + "\n\004size\030\004 \001(\0162#.google.cloud.talent.v4.Co" + + "mpanySize\022\034\n\024headquarters_address\030\005 \001(\t\022" + + "\025\n\rhiring_agency\030\006 \001(\010\022\020\n\010eeo_text\030\007 \001(\t" + + "\022\023\n\013website_uri\030\010 \001(\t\022\027\n\017career_site_uri" + + "\030\t \001(\t\022\021\n\timage_uri\030\n \001(\t\0224\n(keyword_sea" + + "rchable_job_custom_attributes\030\013 \003(\tB\002\030\001\022" + + "F\n\014derived_info\030\014 \001(\0132+.google.cloud.tal" + + "ent.v4.Company.DerivedInfoB\003\340A\003\022\026\n\tsuspe" + + "nded\030\r \001(\010B\003\340A\003\032N\n\013DerivedInfo\022?\n\025headqu" + + "arters_location\030\001 \001(\0132 .google.cloud.tal" + + "ent.v4.Location:Y\352AV\n\033jobs.googleapis.co" + + "m/Company\0227projects/{project}/tenants/{t" + + "enant}/companies/{company}Bp\n\032com.google" + + ".cloud.talent.v4B\014CompanyProtoP\001Z23/v4/{company.name=projects/*/te" + + "nants/*/companies/*}:\007company\332A\023company," + + "update_mask\022\221\001\n\rDeleteCompany\022,.google.c" + + "loud.talent.v4.DeleteCompanyRequest\032\026.go" + + "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v4/{name=p" + + "rojects/*/tenants/*/companies/*}\332A\004name\022" + + "\252\001\n\rListCompanies\022,.google.cloud.talent." + + "v4.ListCompaniesRequest\032-.google.cloud.t" + + "alent.v4.ListCompaniesResponse\"<\202\323\344\223\002-\022+" + + "/v4/{parent=projects/*/tenants/*}/compan" + + "ies\332A\006parent\032l\312A\023jobs.googleapis.com\322ASh" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tform,https://www.googleapis.com/auth/jo" + + "bsBw\n\032com.google.cloud.talent.v4B\023Compan" + + "yServiceProtoP\001Z * An enum that represents the size of the company. *
* * Protobuf enum {@code google.cloud.talent.v4.CompanySize} */ -public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { +public enum CompanySize + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if the size isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ COMPANY_SIZE_UNSPECIFIED(0), /** - * - * *
    * The company has less than 50 employees.
    * 
@@ -49,8 +29,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ MINI(1), /** - * - * *
    * The company has between 50 and 99 employees.
    * 
@@ -59,8 +37,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ SMALL(2), /** - * - * *
    * The company has between 100 and 499 employees.
    * 
@@ -69,8 +45,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ SMEDIUM(3), /** - * - * *
    * The company has between 500 and 999 employees.
    * 
@@ -79,8 +53,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ MEDIUM(4), /** - * - * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -89,8 +61,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ BIG(5), /** - * - * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -99,8 +69,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ BIGGER(6), /** - * - * *
    * The company has 10,000 or more employees.
    * 
@@ -112,8 +80,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value if the size isn't specified.
    * 
@@ -122,8 +88,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPANY_SIZE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The company has less than 50 employees.
    * 
@@ -132,8 +96,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MINI_VALUE = 1; /** - * - * *
    * The company has between 50 and 99 employees.
    * 
@@ -142,8 +104,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SMALL_VALUE = 2; /** - * - * *
    * The company has between 100 and 499 employees.
    * 
@@ -152,8 +112,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SMEDIUM_VALUE = 3; /** - * - * *
    * The company has between 500 and 999 employees.
    * 
@@ -162,8 +120,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIUM_VALUE = 4; /** - * - * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -172,8 +128,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIG_VALUE = 5; /** - * - * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -182,8 +136,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGGER_VALUE = 6; /** - * - * *
    * The company has 10,000 or more employees.
    * 
@@ -192,6 +144,7 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GIANT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static CompanySize valueOf(int value) { */ public static CompanySize forNumber(int value) { switch (value) { - case 0: - return COMPANY_SIZE_UNSPECIFIED; - case 1: - return MINI; - case 2: - return SMALL; - case 3: - return SMEDIUM; - case 4: - return MEDIUM; - case 5: - return BIG; - case 6: - return BIGGER; - case 7: - return GIANT; - default: - return null; + case 0: return COMPANY_SIZE_UNSPECIFIED; + case 1: return MINI; + case 2: return SMALL; + case 3: return SMEDIUM; + case 4: return MEDIUM; + case 5: return BIG; + case 6: return BIGGER; + case 7: return GIANT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompanySize findValueByNumber(int number) { - return CompanySize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + CompanySize> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompanySize findValueByNumber(int number) { + return CompanySize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final CompanySize[] VALUES = values(); - public static CompanySize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CompanySize valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private CompanySize(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CompanySize) } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java similarity index 69% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java index 954fc885ef93..6b99c5ed88d9 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; /** - * - * *
  * Filter on job compensation type and amount.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationFilter} */ -public final class CompensationFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompensationFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationFilter) CompensationFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompensationFilter.newBuilder() to construct. private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); @@ -44,43 +26,39 @@ private CompensationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationFilter.class, - com.google.cloud.talent.v4.CompensationFilter.Builder.class); + com.google.cloud.talent.v4.CompensationFilter.class, com.google.cloud.talent.v4.CompensationFilter.Builder.class); } /** - * - * *
    * Specify the type of filtering.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompensationFilter.FilterType} */ - public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -89,8 +67,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { */ FILTER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -104,8 +80,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNIT_ONLY(1),
     /**
-     *
-     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -122,8 +96,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNIT_AND_AMOUNT(2),
     /**
-     *
-     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -133,8 +105,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     ANNUALIZED_BASE_AMOUNT(3),
     /**
-     *
-     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -147,8 +117,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -157,8 +125,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILTER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -172,8 +138,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIT_ONLY_VALUE = 1;
     /**
-     *
-     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -190,8 +154,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIT_AND_AMOUNT_VALUE = 2;
     /**
-     *
-     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -201,8 +163,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANNUALIZED_BASE_AMOUNT_VALUE = 3;
     /**
-     *
-     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -212,6 +172,7 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANNUALIZED_TOTAL_AMOUNT_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -236,53 +197,51 @@ public static FilterType valueOf(int value) {
      */
     public static FilterType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FILTER_TYPE_UNSPECIFIED;
-        case 1:
-          return UNIT_ONLY;
-        case 2:
-          return UNIT_AND_AMOUNT;
-        case 3:
-          return ANNUALIZED_BASE_AMOUNT;
-        case 4:
-          return ANNUALIZED_TOTAL_AMOUNT;
-        default:
-          return null;
+        case 0: return FILTER_TYPE_UNSPECIFIED;
+        case 1: return UNIT_ONLY;
+        case 2: return UNIT_AND_AMOUNT;
+        case 3: return ANNUALIZED_BASE_AMOUNT;
+        case 4: return ANNUALIZED_TOTAL_AMOUNT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        FilterType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public FilterType findValueByNumber(int number) {
+              return FilterType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FilterType findValueByNumber(int number) {
-            return FilterType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.CompensationFilter.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FilterType[] VALUES = values();
 
-    public static FilterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FilterType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -302,95 +261,63 @@ private FilterType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { + @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationFilter.FilterType result = - com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationFilter.FilterType result = com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED : result; } public static final int UNITS_FIELD_NUMBER = 2; private java.util.List units_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit> - units_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit> units_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>() { - public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit convert( - java.lang.Integer from) { + public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(from); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(from); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ @java.lang.Override - public java.util.List - getUnitsList() { + public java.util.List getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>( - units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>(units_, units_converter_); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ @java.lang.Override @@ -398,17 +325,12 @@ public int getUnitsCount() { return units_.size(); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ @@ -417,35 +339,26 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int return units_converter_.convert(units_.get(index)); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ @java.lang.Override - public java.util.List getUnitsValueList() { + public java.util.List + getUnitsValueList() { return units_; } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -453,20 +366,16 @@ public java.util.List getUnitsValueList() { public int getUnitsValue(int index) { return units_.get(index); } - private int unitsMemoizedSerializedSize; public static final int RANGE_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.CompensationInfo.CompensationRange range_; /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ @java.lang.Override @@ -474,25 +383,18 @@ public boolean hasRange() { return range_ != null; } /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { - return range_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : range_; + return range_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } /** - * - * *
    * Compensation range.
    * 
@@ -500,23 +402,19 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { return getRange(); } public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER = 4; private boolean includeJobsWithUnspecifiedCompensationRange_; /** - * - * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -525,7 +423,6 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,11 +434,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); - if (type_ - != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (getUnitsList().size() > 0) { @@ -566,30 +462,29 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; for (int i = 0; i < units_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(units_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(units_.get(i)); } size += dataSize; - if (!getUnitsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - unitsMemoizedSerializedSize = dataSize; + if (!getUnitsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }unitsMemoizedSerializedSize = dataSize; } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRange()); } if (includeJobsWithUnspecifiedCompensationRange_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, includeJobsWithUnspecifiedCompensationRange_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, includeJobsWithUnspecifiedCompensationRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -599,19 +494,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompensationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompensationFilter other = - (com.google.cloud.talent.v4.CompensationFilter) obj; + com.google.cloud.talent.v4.CompensationFilter other = (com.google.cloud.talent.v4.CompensationFilter) obj; if (type_ != other.type_) return false; if (!units_.equals(other.units_)) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange().equals(other.getRange())) return false; + if (!getRange() + .equals(other.getRange())) return false; } if (getIncludeJobsWithUnspecifiedCompensationRange() != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; @@ -637,145 +532,137 @@ public int hashCode() { hash = (53 * hash) + getRange().hashCode(); } hash = (37 * hash) + INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean( - getIncludeJobsWithUnspecifiedCompensationRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeJobsWithUnspecifiedCompensationRange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CompensationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Filter on job compensation type and amount.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationFilter) com.google.cloud.talent.v4.CompensationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationFilter.class, - com.google.cloud.talent.v4.CompensationFilter.Builder.class); + com.google.cloud.talent.v4.CompensationFilter.class, com.google.cloud.talent.v4.CompensationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -795,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override @@ -816,8 +703,7 @@ public com.google.cloud.talent.v4.CompensationFilter build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter buildPartial() { - com.google.cloud.talent.v4.CompensationFilter result = - new com.google.cloud.talent.v4.CompensationFilter(this); + com.google.cloud.talent.v4.CompensationFilter result = new com.google.cloud.talent.v4.CompensationFilter(this); int from_bitField0_ = bitField0_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { @@ -830,8 +716,7 @@ public com.google.cloud.talent.v4.CompensationFilter buildPartial() { } else { result.range_ = rangeBuilder_.build(); } - result.includeJobsWithUnspecifiedCompensationRange_ = - includeJobsWithUnspecifiedCompensationRange_; + result.includeJobsWithUnspecifiedCompensationRange_ = includeJobsWithUnspecifiedCompensationRange_; onBuilt(); return result; } @@ -840,39 +725,38 @@ public com.google.cloud.talent.v4.CompensationFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationFilter) { - return mergeFrom((com.google.cloud.talent.v4.CompensationFilter) other); + return mergeFrom((com.google.cloud.talent.v4.CompensationFilter)other); } else { super.mergeFrom(other); return this; @@ -898,8 +782,7 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationFilter other) { mergeRange(other.getRange()); } if (other.getIncludeJobsWithUnspecifiedCompensationRange() != false) { - setIncludeJobsWithUnspecifiedCompensationRange( - other.getIncludeJobsWithUnspecifiedCompensationRange()); + setIncludeJobsWithUnspecifiedCompensationRange(other.getIncludeJobsWithUnspecifiedCompensationRange()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -927,50 +810,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); - - break; - } // case 8 - case 16: - { + case 8: { + type_ = input.readEnum(); + + break; + } // case 8 + case 16: { + int tmpRaw = input.readEnum(); + ensureUnitsIsMutable(); + units_.add(tmpRaw); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureUnitsIsMutable(); units_.add(tmpRaw); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureUnitsIsMutable(); - units_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: - { - input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: { + input.readMessage( + getRangeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -980,80 +859,55 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int type_ = 0; /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationFilter.FilterType result = - com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationFilter.FilterType result = com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1061,33 +915,28 @@ public Builder setType(com.google.cloud.talent.v4.CompensationFilter.FilterType if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private java.util.List units_ = java.util.Collections.emptyList(); - + private java.util.List units_ = + java.util.Collections.emptyList(); private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); @@ -1095,54 +944,37 @@ private void ensureUnitsIsMutable() { } } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ - public java.util.List - getUnitsList() { + public java.util.List getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>( - units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>(units_, units_converter_); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ public int getUnitsCount() { return units_.size(); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ @@ -1150,17 +982,12 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int return units_converter_.convert(units_.get(index)); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The units to set. * @return This builder for chaining. @@ -1176,17 +1003,12 @@ public Builder setUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The units to add. * @return This builder for chaining. */ @@ -1200,23 +1022,17 @@ public Builder addUnits(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The units to add. * @return This builder for chaining. */ public Builder addAllUnits( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureUnitsIsMutable(); for (com.google.cloud.talent.v4.CompensationInfo.CompensationUnit value : values) { units_.add(value.getNumber()); @@ -1225,17 +1041,12 @@ public Builder addAllUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearUnits() { @@ -1245,34 +1056,25 @@ public Builder clearUnits() { return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ - public java.util.List getUnitsValueList() { + public java.util.List + getUnitsValueList() { return java.util.Collections.unmodifiableList(units_); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -1280,39 +1082,30 @@ public int getUnitsValue(int index) { return units_.get(index); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ - public Builder setUnitsValue(int index, int value) { + public Builder setUnitsValue( + int index, int value) { ensureUnitsIsMutable(); units_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for units to add. * @return This builder for chaining. */ @@ -1323,21 +1116,17 @@ public Builder addUnitsValue(int value) { return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for units to add. * @return This builder for chaining. */ - public Builder addAllUnitsValue(java.lang.Iterable values) { + public Builder addAllUnitsValue( + java.lang.Iterable values) { ensureUnitsIsMutable(); for (int value : values) { units_.add(value); @@ -1348,47 +1137,34 @@ public Builder addAllUnitsValue(java.lang.Iterable values) { private com.google.cloud.talent.v4.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> - rangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { - return range_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : range_; + return range_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } else { return rangeBuilder_.getMessage(); } } /** - * - * *
      * Compensation range.
      * 
@@ -1409,8 +1185,6 @@ public Builder setRange(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1429,8 +1203,6 @@ public Builder setRange( return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1441,9 +1213,7 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati if (rangeBuilder_ == null) { if (range_ != null) { range_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(range_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(range_).mergeFrom(value).buildPartial(); } else { range_ = value; } @@ -1455,8 +1225,6 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1475,8 +1243,6 @@ public Builder clearRange() { return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1484,32 +1250,26 @@ public Builder clearRange() { * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getRangeBuilder() { - + onChanged(); return getRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { - return range_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : range_; + return range_ == null ? + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } } /** - * - * *
      * Compensation range.
      * 
@@ -1517,33 +1277,27 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder get * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getRange(), getParentForChildren(), isClean()); + rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getRange(), + getParentForChildren(), + isClean()); range_ = null; } return rangeBuilder_; } - private boolean includeJobsWithUnspecifiedCompensationRange_; + private boolean includeJobsWithUnspecifiedCompensationRange_ ; /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -1551,45 +1305,39 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { return includeJobsWithUnspecifiedCompensationRange_; } /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @param value The includeJobsWithUnspecifiedCompensationRange to set. * @return This builder for chaining. */ public Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value) { - + includeJobsWithUnspecifiedCompensationRange_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return This builder for chaining. */ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { - + includeJobsWithUnspecifiedCompensationRange_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1599,12 +1347,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationFilter) private static final com.google.cloud.talent.v4.CompensationFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationFilter(); } @@ -1613,27 +1361,27 @@ public static com.google.cloud.talent.v4.CompensationFilter getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1648,4 +1396,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompensationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java index abbebdf63a46..d1b94eae13b1 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java @@ -1,162 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface CompensationFilterOrBuilder - extends +public interface CompensationFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.talent.v4.CompensationFilter.FilterType getType(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ java.util.List getUnitsList(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ int getUnitsCount(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int index); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ - java.util.List getUnitsValueList(); + java.util.List + getUnitsValueList(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ int getUnitsValue(int index); /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange(); /** - * - * *
    * Compensation range.
    * 
@@ -166,15 +108,12 @@ public interface CompensationFilterOrBuilder com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** - * - * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ boolean getIncludeJobsWithUnspecifiedCompensationRange(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java similarity index 75% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java index c1688793a3a4..88833d342347 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java @@ -1,75 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Job compensation details.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo} */ -public final class CompensationInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompensationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo) CompensationInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompensationInfo.newBuilder() to construct. private CompensationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationInfo() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.class, - com.google.cloud.talent.v4.CompensationInfo.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.class, com.google.cloud.talent.v4.CompensationInfo.Builder.class); } /** - * - * *
    * The type of compensation.
    * For compensation amounts specified in non-monetary amounts,
@@ -88,10 +67,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4.CompensationInfo.CompensationType}
    */
-  public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CompensationType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -100,8 +78,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ COMPENSATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -113,8 +89,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum
      */
     BASE(1),
     /**
-     *
-     *
      * 
      * Bonus.
      * 
@@ -123,8 +97,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ BONUS(2), /** - * - * *
      * Signing bonus.
      * 
@@ -133,8 +105,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ SIGNING_BONUS(3), /** - * - * *
      * Equity.
      * 
@@ -143,8 +113,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ EQUITY(4), /** - * - * *
      * Profit sharing.
      * 
@@ -153,8 +121,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ PROFIT_SHARING(5), /** - * - * *
      * Commission.
      * 
@@ -163,8 +129,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ COMMISSIONS(6), /** - * - * *
      * Tips.
      * 
@@ -173,8 +137,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ TIPS(7), /** - * - * *
      * Other compensation type.
      * 
@@ -186,8 +148,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default value.
      * 
@@ -196,8 +156,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -209,8 +167,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int BASE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Bonus.
      * 
@@ -219,8 +175,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int BONUS_VALUE = 2; /** - * - * *
      * Signing bonus.
      * 
@@ -229,8 +183,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int SIGNING_BONUS_VALUE = 3; /** - * - * *
      * Equity.
      * 
@@ -239,8 +191,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int EQUITY_VALUE = 4; /** - * - * *
      * Profit sharing.
      * 
@@ -249,8 +199,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int PROFIT_SHARING_VALUE = 5; /** - * - * *
      * Commission.
      * 
@@ -259,8 +207,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMMISSIONS_VALUE = 6; /** - * - * *
      * Tips.
      * 
@@ -269,8 +215,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TIPS_VALUE = 7; /** - * - * *
      * Other compensation type.
      * 
@@ -279,6 +223,7 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_COMPENSATION_TYPE_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -303,54 +248,45 @@ public static CompensationType valueOf(int value) { */ public static CompensationType forNumber(int value) { switch (value) { - case 0: - return COMPENSATION_TYPE_UNSPECIFIED; - case 1: - return BASE; - case 2: - return BONUS; - case 3: - return SIGNING_BONUS; - case 4: - return EQUITY; - case 5: - return PROFIT_SHARING; - case 6: - return COMMISSIONS; - case 7: - return TIPS; - case 8: - return OTHER_COMPENSATION_TYPE; - default: - return null; + case 0: return COMPENSATION_TYPE_UNSPECIFIED; + case 1: return BASE; + case 2: return BONUS; + case 3: return SIGNING_BONUS; + case 4: return EQUITY; + case 5: return PROFIT_SHARING; + case 6: return COMMISSIONS; + case 7: return TIPS; + case 8: return OTHER_COMPENSATION_TYPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompensationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationType findValueByNumber(int number) { + return CompensationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationType findValueByNumber(int number) { - return CompensationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CompensationInfo.getDescriptor().getEnumTypes().get(0); } @@ -359,7 +295,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompensationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -377,18 +314,15 @@ private CompensationType(int value) { } /** - * - * *
    * Pay frequency.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompensationInfo.CompensationUnit} */ - public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum { + public enum CompensationUnit + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -397,8 +331,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ COMPENSATION_UNIT_UNSPECIFIED(0), /** - * - * *
      * Hourly.
      * 
@@ -407,8 +339,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ HOURLY(1), /** - * - * *
      * Daily.
      * 
@@ -417,8 +347,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ DAILY(2), /** - * - * *
      * Weekly
      * 
@@ -427,8 +355,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ WEEKLY(3), /** - * - * *
      * Monthly.
      * 
@@ -437,8 +363,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ MONTHLY(4), /** - * - * *
      * Yearly.
      * 
@@ -447,8 +371,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ YEARLY(5), /** - * - * *
      * One time.
      * 
@@ -457,8 +379,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ ONE_TIME(6), /** - * - * *
      * Other compensation units.
      * 
@@ -470,8 +390,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default value.
      * 
@@ -480,8 +398,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Hourly.
      * 
@@ -490,8 +406,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOURLY_VALUE = 1; /** - * - * *
      * Daily.
      * 
@@ -500,8 +414,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int DAILY_VALUE = 2; /** - * - * *
      * Weekly
      * 
@@ -510,8 +422,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int WEEKLY_VALUE = 3; /** - * - * *
      * Monthly.
      * 
@@ -520,8 +430,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int MONTHLY_VALUE = 4; /** - * - * *
      * Yearly.
      * 
@@ -530,8 +438,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int YEARLY_VALUE = 5; /** - * - * *
      * One time.
      * 
@@ -540,8 +446,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int ONE_TIME_VALUE = 6; /** - * - * *
      * Other compensation units.
      * 
@@ -550,6 +454,7 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_COMPENSATION_UNIT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -574,52 +479,44 @@ public static CompensationUnit valueOf(int value) { */ public static CompensationUnit forNumber(int value) { switch (value) { - case 0: - return COMPENSATION_UNIT_UNSPECIFIED; - case 1: - return HOURLY; - case 2: - return DAILY; - case 3: - return WEEKLY; - case 4: - return MONTHLY; - case 5: - return YEARLY; - case 6: - return ONE_TIME; - case 7: - return OTHER_COMPENSATION_UNIT; - default: - return null; + case 0: return COMPENSATION_UNIT_UNSPECIFIED; + case 1: return HOURLY; + case 2: return DAILY; + case 3: return WEEKLY; + case 4: return MONTHLY; + case 5: return YEARLY; + case 6: return ONE_TIME; + case 7: return OTHER_COMPENSATION_UNIT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompensationUnit> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationUnit findValueByNumber(int number) { + return CompensationUnit.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationUnit findValueByNumber(int number) { - return CompensationUnit.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CompensationInfo.getDescriptor().getEnumTypes().get(1); } @@ -628,7 +525,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompensationUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -645,92 +543,71 @@ private CompensationUnit(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CompensationInfo.CompensationUnit) } - public interface CompensationEntryOrBuilder - extends + public interface CompensationEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo.CompensationEntry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The type. */ com.google.cloud.talent.v4.CompensationInfo.CompensationType getType(); /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ int getUnitValue(); /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit(); /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ boolean hasAmount(); /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return The amount. */ com.google.type.Money getAmount(); /** - * - * *
      * Compensation amount.
      * 
@@ -740,32 +617,24 @@ public interface CompensationEntryOrBuilder com.google.type.MoneyOrBuilder getAmountOrBuilder(); /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange(); /** - * - * *
      * Compensation range.
      * 
@@ -775,8 +644,6 @@ public interface CompensationEntryOrBuilder com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -784,13 +651,10 @@ public interface CompensationEntryOrBuilder
      * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -798,14 +662,12 @@ public interface CompensationEntryOrBuilder
      * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -818,13 +680,10 @@ public interface CompensationEntryOrBuilder
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ boolean hasExpectedUnitsPerYear(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -837,13 +696,10 @@ public interface CompensationEntryOrBuilder
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ com.google.protobuf.DoubleValue getExpectedUnitsPerYear(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -859,12 +715,9 @@ public interface CompensationEntryOrBuilder
      */
     com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder();
 
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.CompensationAmountCase
-        getCompensationAmountCase();
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase();
   }
   /**
-   *
-   *
    * 
    * A compensation entry that represents one component of compensation, such
    * as base pay, bonus, or other compensation type.
@@ -877,16 +730,15 @@ public interface CompensationEntryOrBuilder
    *
    * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
    */
-  public static final class CompensationEntry extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CompensationEntry extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
       CompensationEntryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CompensationEntry.newBuilder() to construct.
     private CompensationEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CompensationEntry() {
       type_ = 0;
       unit_ = 0;
@@ -895,42 +747,38 @@ private CompensationEntry() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CompensationEntry();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class,
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
     }
 
     private int compensationAmountCase_ = 0;
     private java.lang.Object compensationAmount_;
-
     public enum CompensationAmountCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AMOUNT(3),
       RANGE(4),
       COMPENSATIONAMOUNT_NOT_SET(0);
       private final int value;
-
       private CompensationAmountCase(int value) {
         this.value = value;
       }
@@ -946,116 +794,88 @@ public static CompensationAmountCase valueOf(int value) {
 
       public static CompensationAmountCase forNumber(int value) {
         switch (value) {
-          case 3:
-            return AMOUNT;
-          case 4:
-            return RANGE;
-          case 0:
-            return COMPENSATIONAMOUNT_NOT_SET;
-          default:
-            return null;
+          case 3: return AMOUNT;
+          case 4: return RANGE;
+          case 0: return COMPENSATIONAMOUNT_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public CompensationAmountCase getCompensationAmountCase() {
-      return CompensationAmountCase.forNumber(compensationAmountCase_);
+    public CompensationAmountCase
+    getCompensationAmountCase() {
+      return CompensationAmountCase.forNumber(
+          compensationAmountCase_);
     }
 
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
-     *
-     *
      * 
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { + @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationType result = - com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationType result = com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED : result; } public static final int UNIT_FIELD_NUMBER = 2; private int unit_; /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override - public int getUnitValue() { + @java.lang.Override public int getUnitValue() { return unit_; } /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { + @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } public static final int AMOUNT_FIELD_NUMBER = 3; /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ @java.lang.Override @@ -1063,26 +883,21 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return The amount. */ @java.lang.Override public com.google.type.Money getAmount() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } /** - * - * *
      * Compensation amount.
      * 
@@ -1092,21 +907,18 @@ public com.google.type.Money getAmount() { @java.lang.Override public com.google.type.MoneyOrBuilder getAmountOrBuilder() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } public static final int RANGE_FIELD_NUMBER = 4; /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -1114,26 +926,21 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } /** - * - * *
      * Compensation range.
      * 
@@ -1141,10 +948,9 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } @@ -1152,8 +958,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -1161,7 +965,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange()
      * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -1170,15 +973,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -1186,15 +988,16 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1205,8 +1008,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER = 6; private com.google.protobuf.DoubleValue expectedUnitsPerYear_; /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1219,7 +1020,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ @java.lang.Override @@ -1227,8 +1027,6 @@ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYear_ != null; } /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1241,18 +1039,13 @@ public boolean hasExpectedUnitsPerYear() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ @java.lang.Override public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { - return expectedUnitsPerYear_ == null - ? com.google.protobuf.DoubleValue.getDefaultInstance() - : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; } /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1272,7 +1065,6 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1284,25 +1076,19 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (type_
-          != com.google.cloud.talent.v4.CompensationInfo.CompensationType
-              .COMPENSATION_TYPE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (type_ != com.google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, type_);
       }
-      if (unit_
-          != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
-              .COMPENSATION_UNIT_UNSPECIFIED
-              .getNumber()) {
+      if (unit_ != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
         output.writeEnum(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
         output.writeMessage(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        output.writeMessage(
-            4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
+        output.writeMessage(4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
@@ -1319,36 +1105,28 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_
-          != com.google.cloud.talent.v4.CompensationInfo.CompensationType
-              .COMPENSATION_TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
-      }
-      if (unit_
-          != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
-              .COMPENSATION_UNIT_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unit_);
+      if (type_ != com.google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, type_);
+      }
+      if (unit_ != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                3, (com.google.type.Money) compensationAmount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                4,
-                (com.google.cloud.talent.v4.CompensationInfo.CompensationRange)
-                    compensationAmount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
       }
       if (expectedUnitsPerYear_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpectedUnitsPerYear());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, getExpectedUnitsPerYear());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1358,28 +1136,31 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationEntry)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other =
-          (com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) obj;
+      com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) obj;
 
       if (type_ != other.type_) return false;
       if (unit_ != other.unit_) return false;
-      if (!getDescription().equals(other.getDescription())) return false;
+      if (!getDescription()
+          .equals(other.getDescription())) return false;
       if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
       if (hasExpectedUnitsPerYear()) {
-        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
+        if (!getExpectedUnitsPerYear()
+            .equals(other.getExpectedUnitsPerYear())) return false;
       }
       if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
       switch (compensationAmountCase_) {
         case 3:
-          if (!getAmount().equals(other.getAmount())) return false;
+          if (!getAmount()
+              .equals(other.getAmount())) return false;
           break;
         case 4:
-          if (!getRange().equals(other.getRange())) return false;
+          if (!getRange()
+              .equals(other.getRange())) return false;
           break;
         case 0:
         default:
@@ -1423,94 +1204,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo.CompensationEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1520,8 +1294,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A compensation entry that represents one component of compensation, such
      * as base pay, bonus, or other compensation type.
@@ -1534,33 +1306,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
         com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.talent.v4.CommonProto
-            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.talent.v4.CommonProto
-            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
+        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class,
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
       }
 
       // Construct using com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1588,14 +1360,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.talent.v4.CommonProto
-            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
-          getDefaultInstanceForType() {
+      public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
         return com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance();
       }
 
@@ -1610,8 +1381,7 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry build() {
 
       @java.lang.Override
       public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry buildPartial() {
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry result =
-            new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry(this);
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry result = new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry(this);
         result.type_ = type_;
         result.unit_ = unit_;
         if (compensationAmountCase_ == 3) {
@@ -1643,52 +1413,46 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry buildPartia
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) {
-          return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) other);
+          return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationEntry)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
-        if (other
-            == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
+        if (other == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -1703,20 +1467,17 @@ public Builder mergeFrom(
           mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
         }
         switch (other.getCompensationAmountCase()) {
-          case AMOUNT:
-            {
-              mergeAmount(other.getAmount());
-              break;
-            }
-          case RANGE:
-            {
-              mergeRange(other.getRange());
-              break;
-            }
-          case COMPENSATIONAMOUNT_NOT_SET:
-            {
-              break;
-            }
+          case AMOUNT: {
+            mergeAmount(other.getAmount());
+            break;
+          }
+          case RANGE: {
+            mergeRange(other.getRange());
+            break;
+          }
+          case COMPENSATIONAMOUNT_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1744,50 +1505,48 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  type_ = input.readEnum();
-
-                  break;
-                } // case 8
-              case 16:
-                {
-                  unit_ = input.readEnum();
-
-                  break;
-                } // case 16
-              case 26:
-                {
-                  input.readMessage(getAmountFieldBuilder().getBuilder(), extensionRegistry);
-                  compensationAmountCase_ = 3;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
-                  compensationAmountCase_ = 4;
-                  break;
-                } // case 34
-              case 42:
-                {
-                  description_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 42
-              case 50:
-                {
-                  input.readMessage(
-                      getExpectedUnitsPerYearFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 50
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                type_ = input.readEnum();
+
+                break;
+              } // case 8
+              case 16: {
+                unit_ = input.readEnum();
+
+                break;
+              } // case 16
+              case 26: {
+                input.readMessage(
+                    getAmountFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                compensationAmountCase_ = 3;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getRangeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                compensationAmountCase_ = 4;
+                break;
+              } // case 34
+              case 42: {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+              case 50: {
+                input.readMessage(
+                    getExpectedUnitsPerYearFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 50
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1797,12 +1556,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int compensationAmountCase_ = 0;
       private java.lang.Object compensationAmount_;
-
-      public CompensationAmountCase getCompensationAmountCase() {
-        return CompensationAmountCase.forNumber(compensationAmountCase_);
+      public CompensationAmountCase
+          getCompensationAmountCase() {
+        return CompensationAmountCase.forNumber(
+            compensationAmountCase_);
       }
 
       public Builder clearCompensationAmount() {
@@ -1812,73 +1571,58 @@ public Builder clearCompensationAmount() {
         return this;
       }
 
+
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationType result = - com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationType result = com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED : result; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1886,25 +1630,22 @@ public Builder setType(com.google.cloud.talent.v4.CompensationInfo.CompensationT if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1912,71 +1653,55 @@ public Builder clearType() { private int unit_ = 0; /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override - public int getUnitValue() { + @java.lang.Override public int getUnitValue() { return unit_; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @param value The enum numeric value on the wire for unit to set. * @return This builder for chaining. */ public Builder setUnitValue(int value) { - + unit_ = value; onChanged(); return this; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @param value The unit to set. * @return This builder for chaining. */ @@ -1984,42 +1709,35 @@ public Builder setUnit(com.google.cloud.talent.v4.CompensationInfo.CompensationU if (value == null) { throw new NullPointerException(); } - + unit_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; - * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - amountBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> amountBuilder_; /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ @java.lang.Override @@ -2027,14 +1745,11 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; - * * @return The amount. */ @java.lang.Override @@ -2052,8 +1767,6 @@ public com.google.type.Money getAmount() { } } /** - * - * *
        * Compensation amount.
        * 
@@ -2074,15 +1787,14 @@ public Builder setAmount(com.google.type.Money value) { return this; } /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; */ - public Builder setAmount(com.google.type.Money.Builder builderForValue) { + public Builder setAmount( + com.google.type.Money.Builder builderForValue) { if (amountBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -2093,8 +1805,6 @@ public Builder setAmount(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2103,12 +1813,10 @@ public Builder setAmount(com.google.type.Money.Builder builderForValue) { */ public Builder mergeAmount(com.google.type.Money value) { if (amountBuilder_ == null) { - if (compensationAmountCase_ == 3 - && compensationAmount_ != com.google.type.Money.getDefaultInstance()) { - compensationAmount_ = - com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) - .mergeFrom(value) - .buildPartial(); + if (compensationAmountCase_ == 3 && + compensationAmount_ != com.google.type.Money.getDefaultInstance()) { + compensationAmount_ = com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) + .mergeFrom(value).buildPartial(); } else { compensationAmount_ = value; } @@ -2124,8 +1832,6 @@ public Builder mergeAmount(com.google.type.Money value) { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2149,8 +1855,6 @@ public Builder clearAmount() { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2161,8 +1865,6 @@ public com.google.type.Money.Builder getAmountBuilder() { return getAmountFieldBuilder().getBuilder(); } /** - * - * *
        * Compensation amount.
        * 
@@ -2181,8 +1883,6 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { } } /** - * - * *
        * Compensation amount.
        * 
@@ -2190,40 +1890,32 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { * .google.type.Money amount = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { if (!(compensationAmountCase_ == 3)) { compensationAmount_ = com.google.type.Money.getDefaultInstance(); } - amountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - (com.google.type.Money) compensationAmount_, getParentForChildren(), isClean()); + amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + (com.google.type.Money) compensationAmount_, + getParentForChildren(), + isClean()); compensationAmount_ = null; } compensationAmountCase_ = 3; - onChanged(); - ; + onChanged();; return amountBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> - rangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -2231,22 +1923,18 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } else { @@ -2257,8 +1945,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() } } /** - * - * *
        * Compensation range.
        * 
@@ -2279,8 +1965,6 @@ public Builder setRange(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** - * - * *
        * Compensation range.
        * 
@@ -2299,27 +1983,18 @@ public Builder setRange( return this; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ - public Builder mergeRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { - if (compensationAmountCase_ == 4 - && compensationAmount_ - != com.google.cloud.talent.v4.CompensationInfo.CompensationRange - .getDefaultInstance()) { - compensationAmount_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( - (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) - compensationAmount_) - .mergeFrom(value) - .buildPartial(); + if (compensationAmountCase_ == 4 && + compensationAmount_ != com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) { + compensationAmount_ = com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder((com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_) + .mergeFrom(value).buildPartial(); } else { compensationAmount_ = value; } @@ -2335,8 +2010,6 @@ public Builder mergeRange( return this; } /** - * - * *
        * Compensation range.
        * 
@@ -2360,21 +2033,16 @@ public Builder clearRange() { return this; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder - getRangeBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getRangeBuilder() { return getRangeFieldBuilder().getBuilder(); } /** - * - * *
        * Compensation range.
        * 
@@ -2382,21 +2050,17 @@ public Builder clearRange() { * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if ((compensationAmountCase_ == 4) && (rangeBuilder_ != null)) { return rangeBuilder_.getMessageOrBuilder(); } else { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } } /** - * - * *
        * Compensation range.
        * 
@@ -2404,36 +2068,26 @@ public Builder clearRange() { * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { if (!(compensationAmountCase_ == 4)) { - compensationAmount_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); + compensationAmount_ = com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } - rangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) - compensationAmount_, + rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 4; - onChanged(); - ; + onChanged();; return rangeBuilder_; } private java.lang.Object description_ = ""; /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2441,13 +2095,13 @@ public Builder clearRange() {
        * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2456,8 +2110,6 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2465,14 +2117,15 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2480,8 +2133,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2489,22 +2140,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
        * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2512,18 +2161,15 @@ public Builder setDescription(java.lang.String value) {
        * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2531,16 +2177,16 @@ public Builder clearDescription() {
        * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2548,13 +2194,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> - expectedUnitsPerYearBuilder_; + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> expectedUnitsPerYearBuilder_; /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2567,15 +2208,12 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYearBuilder_ != null || expectedUnitsPerYear_ != null; } /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2588,21 +2226,16 @@ public boolean hasExpectedUnitsPerYear() {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { if (expectedUnitsPerYearBuilder_ == null) { - return expectedUnitsPerYear_ == null - ? com.google.protobuf.DoubleValue.getDefaultInstance() - : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; } else { return expectedUnitsPerYearBuilder_.getMessage(); } } /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2630,8 +2263,6 @@ public Builder setExpectedUnitsPerYear(com.google.protobuf.DoubleValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2657,8 +2288,6 @@ public Builder setExpectedUnitsPerYear(
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2676,9 +2305,7 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         if (expectedUnitsPerYearBuilder_ == null) {
           if (expectedUnitsPerYear_ != null) {
             expectedUnitsPerYear_ =
-                com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_).mergeFrom(value).buildPartial();
           } else {
             expectedUnitsPerYear_ = value;
           }
@@ -2690,8 +2317,6 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2717,8 +2342,6 @@ public Builder clearExpectedUnitsPerYear() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2733,13 +2356,11 @@ public Builder clearExpectedUnitsPerYear() {
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       public com.google.protobuf.DoubleValue.Builder getExpectedUnitsPerYearBuilder() {
-
+        
         onChanged();
         return getExpectedUnitsPerYearFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2757,14 +2378,11 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
         if (expectedUnitsPerYearBuilder_ != null) {
           return expectedUnitsPerYearBuilder_.getMessageOrBuilder();
         } else {
-          return expectedUnitsPerYear_ == null
-              ? com.google.protobuf.DoubleValue.getDefaultInstance()
-              : expectedUnitsPerYear_;
+          return expectedUnitsPerYear_ == null ?
+              com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_;
         }
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2779,22 +2397,18 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.DoubleValue,
-              com.google.protobuf.DoubleValue.Builder,
-              com.google.protobuf.DoubleValueOrBuilder>
+          com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> 
           getExpectedUnitsPerYearFieldBuilder() {
         if (expectedUnitsPerYearBuilder_ == null) {
-          expectedUnitsPerYearBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.DoubleValue,
-                  com.google.protobuf.DoubleValue.Builder,
-                  com.google.protobuf.DoubleValueOrBuilder>(
-                  getExpectedUnitsPerYear(), getParentForChildren(), isClean());
+          expectedUnitsPerYearBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
+                  getExpectedUnitsPerYear(),
+                  getParentForChildren(),
+                  isClean());
           expectedUnitsPerYear_ = null;
         }
         return expectedUnitsPerYearBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2807,44 +2421,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
-    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationEntry DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry();
     }
 
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompensationEntry parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompensationEntry parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2856,20 +2467,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CompensationRangeOrBuilder
-      extends
+  public interface CompensationRangeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo.CompensationRange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2878,13 +2486,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ boolean hasMaxCompensation(); /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2893,13 +2498,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ com.google.type.Money getMaxCompensation(); /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2912,8 +2514,6 @@ public interface CompensationRangeOrBuilder
     com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder();
 
     /**
-     *
-     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2921,13 +2521,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ boolean hasMinCompensation(); /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2935,13 +2532,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ com.google.type.Money getMinCompensation(); /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2953,57 +2547,52 @@ public interface CompensationRangeOrBuilder
     com.google.type.MoneyOrBuilder getMinCompensationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Compensation range.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationRange} */ - public static final class CompensationRange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompensationRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo.CompensationRange) CompensationRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationRange.newBuilder() to construct. private CompensationRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CompensationRange() {} + private CompensationRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); } public static final int MAX_COMPENSATION_FIELD_NUMBER = 2; private com.google.type.Money maxCompensation_; /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3012,7 +2601,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ @java.lang.Override @@ -3020,8 +2608,6 @@ public boolean hasMaxCompensation() { return maxCompensation_ != null; } /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3030,18 +2616,13 @@ public boolean hasMaxCompensation() {
      * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ @java.lang.Override public com.google.type.Money getMaxCompensation() { - return maxCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : maxCompensation_; + return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; } /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3059,8 +2640,6 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
     public static final int MIN_COMPENSATION_FIELD_NUMBER = 1;
     private com.google.type.Money minCompensation_;
     /**
-     *
-     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3068,7 +2647,6 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
      * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ @java.lang.Override @@ -3076,8 +2654,6 @@ public boolean hasMinCompensation() { return minCompensation_ != null; } /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3085,18 +2661,13 @@ public boolean hasMinCompensation() {
      * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ @java.lang.Override public com.google.type.Money getMinCompensation() { - return minCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : minCompensation_; + return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; } /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3111,7 +2682,6 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3123,7 +2693,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (minCompensation_ != null) {
         output.writeMessage(1, getMinCompensation());
       }
@@ -3140,10 +2711,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (minCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinCompensation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getMinCompensation());
       }
       if (maxCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxCompensation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMaxCompensation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3153,21 +2726,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.CompensationInfo.CompensationRange other =
-          (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) obj;
+      com.google.cloud.talent.v4.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) obj;
 
       if (hasMaxCompensation() != other.hasMaxCompensation()) return false;
       if (hasMaxCompensation()) {
-        if (!getMaxCompensation().equals(other.getMaxCompensation())) return false;
+        if (!getMaxCompensation()
+            .equals(other.getMaxCompensation())) return false;
       }
       if (hasMinCompensation() != other.hasMinCompensation()) return false;
       if (hasMinCompensation()) {
-        if (!getMinCompensation().equals(other.getMinCompensation())) return false;
+        if (!getMinCompensation()
+            .equals(other.getMinCompensation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3194,94 +2768,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4.CompensationInfo.CompensationRange prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo.CompensationRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3291,41 +2858,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Compensation range.
      * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationRange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo.CompensationRange) com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3345,14 +2910,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getDefaultInstanceForType() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstanceForType() { return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } @@ -3367,8 +2931,7 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange buildPartial() { - com.google.cloud.talent.v4.CompensationInfo.CompensationRange result = - new com.google.cloud.talent.v4.CompensationInfo.CompensationRange(this); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange result = new com.google.cloud.talent.v4.CompensationInfo.CompensationRange(this); if (maxCompensationBuilder_ == null) { result.maxCompensation_ = maxCompensation_; } else { @@ -3387,52 +2950,46 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationRange) { - return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationRange) other); + return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationRange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange other) { - if (other - == com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.CompensationRange other) { + if (other == com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) return this; if (other.hasMaxCompensation()) { mergeMaxCompensation(other.getMaxCompensation()); } @@ -3465,27 +3022,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getMinCompensationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getMaxCompensationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getMinCompensationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getMaxCompensationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3498,11 +3054,8 @@ public Builder mergeFrom( private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - maxCompensationBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3511,15 +3064,12 @@ public Builder mergeFrom(
        * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ public boolean hasMaxCompensation() { return maxCompensationBuilder_ != null || maxCompensation_ != null; } /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3528,21 +3078,16 @@ public boolean hasMaxCompensation() {
        * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ public com.google.type.Money getMaxCompensation() { if (maxCompensationBuilder_ == null) { - return maxCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : maxCompensation_; + return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; } else { return maxCompensationBuilder_.getMessage(); } } /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3566,8 +3111,6 @@ public Builder setMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3577,7 +3120,8 @@ public Builder setMaxCompensation(com.google.type.Money value) {
        *
        * .google.type.Money max_compensation = 2;
        */
-      public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue) {
+      public Builder setMaxCompensation(
+          com.google.type.Money.Builder builderForValue) {
         if (maxCompensationBuilder_ == null) {
           maxCompensation_ = builderForValue.build();
           onChanged();
@@ -3588,8 +3132,6 @@ public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3603,7 +3145,7 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         if (maxCompensationBuilder_ == null) {
           if (maxCompensation_ != null) {
             maxCompensation_ =
-                com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
           } else {
             maxCompensation_ = value;
           }
@@ -3615,8 +3157,6 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3638,8 +3178,6 @@ public Builder clearMaxCompensation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3650,13 +3188,11 @@ public Builder clearMaxCompensation() {
        * .google.type.Money max_compensation = 2;
        */
       public com.google.type.Money.Builder getMaxCompensationBuilder() {
-
+        
         onChanged();
         return getMaxCompensationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3670,14 +3206,11 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
         if (maxCompensationBuilder_ != null) {
           return maxCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return maxCompensation_ == null
-              ? com.google.type.Money.getDefaultInstance()
-              : maxCompensation_;
+          return maxCompensation_ == null ?
+              com.google.type.Money.getDefaultInstance() : maxCompensation_;
         }
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3688,15 +3221,14 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * .google.type.Money max_compensation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
           getMaxCompensationFieldBuilder() {
         if (maxCompensationBuilder_ == null) {
-          maxCompensationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Money,
-                  com.google.type.Money.Builder,
-                  com.google.type.MoneyOrBuilder>(
-                  getMaxCompensation(), getParentForChildren(), isClean());
+          maxCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                  getMaxCompensation(),
+                  getParentForChildren(),
+                  isClean());
           maxCompensation_ = null;
         }
         return maxCompensationBuilder_;
@@ -3704,11 +3236,8 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
 
       private com.google.type.Money minCompensation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
-          minCompensationBuilder_;
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_;
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3716,15 +3245,12 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ public boolean hasMinCompensation() { return minCompensationBuilder_ != null || minCompensation_ != null; } /** - * - * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3732,21 +3258,16 @@ public boolean hasMinCompensation() {
        * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ public com.google.type.Money getMinCompensation() { if (minCompensationBuilder_ == null) { - return minCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : minCompensation_; + return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; } else { return minCompensationBuilder_.getMessage(); } } /** - * - * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3769,8 +3290,6 @@ public Builder setMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3779,7 +3298,8 @@ public Builder setMinCompensation(com.google.type.Money value) {
        *
        * .google.type.Money min_compensation = 1;
        */
-      public Builder setMinCompensation(com.google.type.Money.Builder builderForValue) {
+      public Builder setMinCompensation(
+          com.google.type.Money.Builder builderForValue) {
         if (minCompensationBuilder_ == null) {
           minCompensation_ = builderForValue.build();
           onChanged();
@@ -3790,8 +3310,6 @@ public Builder setMinCompensation(com.google.type.Money.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3804,7 +3322,7 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         if (minCompensationBuilder_ == null) {
           if (minCompensation_ != null) {
             minCompensation_ =
-                com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
           } else {
             minCompensation_ = value;
           }
@@ -3816,8 +3334,6 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3838,8 +3354,6 @@ public Builder clearMinCompensation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3849,13 +3363,11 @@ public Builder clearMinCompensation() {
        * .google.type.Money min_compensation = 1;
        */
       public com.google.type.Money.Builder getMinCompensationBuilder() {
-
+        
         onChanged();
         return getMinCompensationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3868,14 +3380,11 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
         if (minCompensationBuilder_ != null) {
           return minCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return minCompensation_ == null
-              ? com.google.type.Money.getDefaultInstance()
-              : minCompensation_;
+          return minCompensation_ == null ?
+              com.google.type.Money.getDefaultInstance() : minCompensation_;
         }
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3885,20 +3394,18 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
        * .google.type.Money min_compensation = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
           getMinCompensationFieldBuilder() {
         if (minCompensationBuilder_ == null) {
-          minCompensationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Money,
-                  com.google.type.Money.Builder,
-                  com.google.type.MoneyOrBuilder>(
-                  getMinCompensation(), getParentForChildren(), isClean());
+          minCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                  getMinCompensation(),
+                  getParentForChildren(),
+                  isClean());
           minCompensation_ = null;
         }
         return minCompensationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3911,44 +3418,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo.CompensationRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo.CompensationRange)
-    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationRange DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo.CompensationRange();
     }
 
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompensationRange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompensationRange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3960,17 +3464,15 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3981,13 +3483,10 @@ public com.google.protobuf.Parser getParserForType() {
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
   @java.lang.Override
-  public java.util.List
-      getEntriesList() {
+  public java.util.List getEntriesList() {
     return entries_;
   }
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3998,14 +3497,11 @@ public com.google.protobuf.Parser getParserForType() {
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
   @java.lang.Override
-  public java.util.List<
-          ? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
+  public java.util.List 
       getEntriesOrBuilderList() {
     return entries_;
   }
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -4020,8 +3516,6 @@ public int getEntriesCount() {
     return entries_.size();
   }
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -4036,8 +3530,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(
     return entries_.get(index);
   }
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -4054,11 +3546,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
   }
 
   public static final int ANNUALIZED_BASE_COMPENSATION_RANGE_FIELD_NUMBER = 2;
-  private com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-      annualizedBaseCompensationRange_;
+  private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedBaseCompensationRange_;
   /**
-   *
-   *
    * 
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4066,10 +3555,7 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ @java.lang.Override @@ -4077,8 +3563,6 @@ public boolean hasAnnualizedBaseCompensationRange() { return annualizedBaseCompensationRange_ != null; } /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4086,22 +3570,14 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedBaseCompensationRange_; + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { + return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4109,22 +3585,16 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { return getAnnualizedBaseCompensationRange(); } public static final int ANNUALIZED_TOTAL_COMPENSATION_RANGE_FIELD_NUMBER = 3; - private com.google.cloud.talent.v4.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4132,10 +3602,7 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ @java.lang.Override @@ -4143,8 +3610,6 @@ public boolean hasAnnualizedTotalCompensationRange() { return annualizedTotalCompensationRange_ != null; } /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4152,22 +3617,14 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedTotalCompensationRange_; + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { + return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4175,18 +3632,14 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { return getAnnualizedTotalCompensationRange(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4198,7 +3651,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -4218,17 +3672,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entries_.get(i)); } if (annualizedBaseCompensationRange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getAnnualizedBaseCompensationRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnnualizedBaseCompensationRange()); } if (annualizedTotalCompensationRange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getAnnualizedTotalCompensationRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAnnualizedTotalCompensationRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4238,23 +3691,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompensationInfo other = - (com.google.cloud.talent.v4.CompensationInfo) obj; + com.google.cloud.talent.v4.CompensationInfo other = (com.google.cloud.talent.v4.CompensationInfo) obj; - if (!getEntriesList().equals(other.getEntriesList())) return false; - if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) - return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) return false; if (hasAnnualizedBaseCompensationRange()) { - if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) - return false; + if (!getAnnualizedBaseCompensationRange() + .equals(other.getAnnualizedBaseCompensationRange())) return false; } - if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) - return false; + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) return false; if (hasAnnualizedTotalCompensationRange()) { if (!getAnnualizedTotalCompensationRange() .equals(other.getAnnualizedTotalCompensationRange())) return false; @@ -4287,136 +3738,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Job compensation details.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo) com.google.cloud.talent.v4.CompensationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.class, - com.google.cloud.talent.v4.CompensationInfo.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.class, com.google.cloud.talent.v4.CompensationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4443,9 +3888,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override @@ -4464,8 +3909,7 @@ public com.google.cloud.talent.v4.CompensationInfo build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo buildPartial() { - com.google.cloud.talent.v4.CompensationInfo result = - new com.google.cloud.talent.v4.CompensationInfo(this); + com.google.cloud.talent.v4.CompensationInfo result = new com.google.cloud.talent.v4.CompensationInfo(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -4494,39 +3938,38 @@ public com.google.cloud.talent.v4.CompensationInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationInfo) { - return mergeFrom((com.google.cloud.talent.v4.CompensationInfo) other); + return mergeFrom((com.google.cloud.talent.v4.CompensationInfo)other); } else { super.mergeFrom(other); return this; @@ -4553,10 +3996,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -4594,43 +4036,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry m = - input.readMessage( - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage( - getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: { + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry m = + input.readMessage( + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage( - getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4640,30 +4078,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List entries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = - new java.util.ArrayList( - entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> - entriesBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> entriesBuilder_; /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4673,8 +4102,7 @@ private void ensureEntriesIsMutable() {
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List
-        getEntriesList() {
+    public java.util.List getEntriesList() {
       if (entriesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(entries_);
       } else {
@@ -4682,8 +4110,6 @@ private void ensureEntriesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4701,8 +4127,6 @@ public int getEntriesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4720,8 +4144,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4746,8 +4168,6 @@ public Builder setEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4758,8 +4178,7 @@ public Builder setEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder setEntries(
-        int index,
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
+        int index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
         entries_.set(index, builderForValue.build());
@@ -4770,8 +4189,6 @@ public Builder setEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4795,8 +4212,6 @@ public Builder addEntries(com.google.cloud.talent.v4.CompensationInfo.Compensati
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4821,8 +4236,6 @@ public Builder addEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4844,8 +4257,6 @@ public Builder addEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4856,8 +4267,7 @@ public Builder addEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder addEntries(
-        int index,
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
+        int index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
         entries_.add(index, builderForValue.build());
@@ -4868,8 +4278,6 @@ public Builder addEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4880,11 +4288,11 @@ public Builder addEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder addAllEntries(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, entries_);
         onChanged();
       } else {
         entriesBuilder_.addAllMessages(values);
@@ -4892,8 +4300,6 @@ public Builder addAllEntries(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4914,8 +4320,6 @@ public Builder clearEntries() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4936,8 +4340,6 @@ public Builder removeEntries(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4952,8 +4354,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
       return getEntriesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4963,17 +4363,14 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder
-        getEntriesOrBuilder(int index) {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder(
+        int index) {
       if (entriesBuilder_ == null) {
-        return entries_.get(index);
-      } else {
+        return entries_.get(index);  } else {
         return entriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4983,9 +4380,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List<
-            ? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
-        getEntriesOrBuilderList() {
+    public java.util.List 
+         getEntriesOrBuilderList() {
       if (entriesBuilder_ != null) {
         return entriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -4993,8 +4389,6 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -5004,15 +4398,11 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder
-        addEntriesBuilder() {
-      return getEntriesFieldBuilder()
-          .addBuilder(
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder addEntriesBuilder() {
+      return getEntriesFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -5024,14 +4414,10 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      */
     public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder addEntriesBuilder(
         int index) {
-      return getEntriesFieldBuilder()
-          .addBuilder(
-              index,
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
+      return getEntriesFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -5041,38 +4427,29 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List
-        getEntriesBuilderList() {
+    public java.util.List 
+         getEntriesBuilderList() {
       return getEntriesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry,
-            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder,
-            com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> 
         getEntriesFieldBuilder() {
       if (entriesBuilder_ == null) {
-        entriesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry,
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder,
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>(
-                entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>(
+                entries_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         entries_ = null;
       }
       return entriesBuilder_;
     }
 
-    private com.google.cloud.talent.v4.CompensationInfo.CompensationRange
-        annualizedBaseCompensationRange_;
+    private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedBaseCompensationRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo.CompensationRange,
-            com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder,
-            com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>
-        annualizedBaseCompensationRangeBuilder_;
+        com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> annualizedBaseCompensationRangeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5080,19 +4457,13 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ public boolean hasAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRangeBuilder_ != null - || annualizedBaseCompensationRange_ != null; + return annualizedBaseCompensationRangeBuilder_ != null || annualizedBaseCompensationRange_ != null; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5100,25 +4471,17 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } else { return annualizedBaseCompensationRangeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5126,12 +4489,9 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5145,8 +4505,6 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5154,9 +4512,7 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnualizedBaseCompensationRange( com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder builderForValue) { @@ -5170,8 +4526,6 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5179,19 +4533,13 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (annualizedBaseCompensationRange_ != null) { annualizedBaseCompensationRange_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( - annualizedBaseCompensationRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(annualizedBaseCompensationRange_).mergeFrom(value).buildPartial(); } else { annualizedBaseCompensationRange_ = value; } @@ -5203,8 +4551,6 @@ public Builder mergeAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5212,9 +4558,7 @@ public Builder mergeAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { @@ -5228,8 +4572,6 @@ public Builder clearAnnualizedBaseCompensationRange() { return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5237,19 +4579,14 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder - getAnnualizedBaseCompensationRangeBuilder() { - + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder() { + onChanged(); return getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5257,23 +4594,17 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { if (annualizedBaseCompensationRangeBuilder_ != null) { return annualizedBaseCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null ? + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5281,37 +4612,26 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedBaseCompensationRangeFieldBuilder() { if (annualizedBaseCompensationRangeBuilder_ == null) { - annualizedBaseCompensationRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedBaseCompensationRange(), getParentForChildren(), isClean()); + annualizedBaseCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedBaseCompensationRange(), + getParentForChildren(), + isClean()); annualizedBaseCompensationRange_ = null; } return annualizedBaseCompensationRangeBuilder_; } - private com.google.cloud.talent.v4.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> - annualizedTotalCompensationRangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> annualizedTotalCompensationRangeBuilder_; /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5319,19 +4639,13 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ public boolean hasAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRangeBuilder_ != null - || annualizedTotalCompensationRange_ != null; + return annualizedTotalCompensationRangeBuilder_ != null || annualizedTotalCompensationRange_ != null; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5339,25 +4653,17 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } else { return annualizedTotalCompensationRangeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5365,12 +4671,9 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5384,8 +4687,6 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5393,9 +4694,7 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnualizedTotalCompensationRange( com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder builderForValue) { @@ -5409,8 +4708,6 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5418,19 +4715,13 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (annualizedTotalCompensationRange_ != null) { annualizedTotalCompensationRange_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( - annualizedTotalCompensationRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(annualizedTotalCompensationRange_).mergeFrom(value).buildPartial(); } else { annualizedTotalCompensationRange_ = value; } @@ -5442,8 +4733,6 @@ public Builder mergeAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5451,9 +4740,7 @@ public Builder mergeAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { @@ -5467,8 +4754,6 @@ public Builder clearAnnualizedTotalCompensationRange() { return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5476,19 +4761,14 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder - getAnnualizedTotalCompensationRangeBuilder() { - + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder() { + onChanged(); return getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5496,23 +4776,17 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { if (annualizedTotalCompensationRangeBuilder_ != null) { return annualizedTotalCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null ? + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -5520,29 +4794,24 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedTotalCompensationRangeFieldBuilder() { if (annualizedTotalCompensationRangeBuilder_ == null) { - annualizedTotalCompensationRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedTotalCompensationRange(), getParentForChildren(), isClean()); + annualizedTotalCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedTotalCompensationRange(), + getParentForChildren(), + isClean()); annualizedTotalCompensationRange_ = null; } return annualizedTotalCompensationRangeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5552,12 +4821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo) private static final com.google.cloud.talent.v4.CompensationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo(); } @@ -5566,27 +4835,27 @@ public static com.google.cloud.talent.v4.CompensationInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5601,4 +4870,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompensationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java index 796b977c4e14..812866915df3 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface CompensationInfoOrBuilder - extends +public interface CompensationInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -35,10 +17,9 @@ public interface CompensationInfoOrBuilder
    *
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
-  java.util.List getEntriesList();
+  java.util.List 
+      getEntriesList();
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -50,8 +31,6 @@ public interface CompensationInfoOrBuilder
    */
   com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(int index);
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -63,8 +42,6 @@ public interface CompensationInfoOrBuilder
    */
   int getEntriesCount();
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -74,11 +51,9 @@ public interface CompensationInfoOrBuilder
    *
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
-  java.util.List
+  java.util.List 
       getEntriesOrBuilderList();
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -92,8 +67,6 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
       int index);
 
   /**
-   *
-   *
    * 
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -101,16 +74,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ boolean hasAnnualizedBaseCompensationRange(); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -118,17 +86,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange(); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -136,16 +98,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -153,16 +110,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ boolean hasAnnualizedTotalCompensationRange(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -170,17 +122,11 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -188,10 +134,7 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java index 99e3191ccb36..93948da81edf 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Auto-complete parameters.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryRequest} */ -public final class CompleteQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryRequest) CompleteQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteQueryRequest.newBuilder() to construct. private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteQueryRequest() { tenant_ = ""; query_ = ""; @@ -48,43 +30,39 @@ private CompleteQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryRequest.class, - com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4.CompleteQueryRequest.class, com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); } /** - * - * *
    * Enum to specify the scope of completion.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompleteQueryRequest.CompletionScope} */ - public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -93,8 +71,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETION_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -103,8 +79,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ TENANT(1), /** - * - * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -117,8 +91,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -127,8 +99,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -137,8 +107,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TENANT_VALUE = 1; /** - * - * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -148,6 +116,7 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PUBLIC_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -172,42 +141,39 @@ public static CompletionScope valueOf(int value) {
      */
     public static CompletionScope forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMPLETION_SCOPE_UNSPECIFIED;
-        case 1:
-          return TENANT;
-        case 2:
-          return PUBLIC;
-        default:
-          return null;
+        case 0: return COMPLETION_SCOPE_UNSPECIFIED;
+        case 1: return TENANT;
+        case 2: return PUBLIC;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CompletionScope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CompletionScope findValueByNumber(int number) {
+              return CompletionScope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public CompletionScope findValueByNumber(int number) {
-                return CompletionScope.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.CompleteQueryRequest.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -216,7 +182,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static CompletionScope valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -234,18 +201,15 @@ private CompletionScope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Enum to specify auto-completion topics.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompleteQueryRequest.CompletionType} */ - public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -254,8 +218,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -266,8 +228,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     JOB_TITLE(1),
     /**
-     *
-     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -279,8 +239,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     COMPANY_NAME(2),
     /**
-     *
-     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -295,8 +253,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -305,8 +261,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -317,8 +271,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int JOB_TITLE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -330,8 +282,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMPANY_NAME_VALUE = 2;
     /**
-     *
-     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -343,6 +293,7 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMBINED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -367,51 +318,50 @@ public static CompletionType valueOf(int value) {
      */
     public static CompletionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMPLETION_TYPE_UNSPECIFIED;
-        case 1:
-          return JOB_TITLE;
-        case 2:
-          return COMPANY_NAME;
-        case 3:
-          return COMBINED;
-        default:
-          return null;
+        case 0: return COMPLETION_TYPE_UNSPECIFIED;
+        case 1: return JOB_TITLE;
+        case 2: return COMPANY_NAME;
+        case 3: return COMBINED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CompletionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CompletionType findValueByNumber(int number) {
+              return CompletionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public CompletionType findValueByNumber(int number) {
-            return CompletionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.CompleteQueryRequest.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final CompletionType[] VALUES = values();
 
-    public static CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CompletionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -431,18 +381,13 @@ private CompletionType(int value) {
   public static final int TENANT_FIELD_NUMBER = 1;
   private volatile java.lang.Object tenant_;
   /**
-   *
-   *
    * 
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tenant. */ @java.lang.Override @@ -451,33 +396,31 @@ public java.lang.String getTenant() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenant_ = s; return s; } } /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tenant. */ @java.lang.Override - public com.google.protobuf.ByteString getTenantBytes() { + public com.google.protobuf.ByteString + getTenantBytes() { java.lang.Object ref = tenant_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tenant_ = b; return b; } else { @@ -488,15 +431,12 @@ public com.google.protobuf.ByteString getTenantBytes() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -505,30 +445,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -539,8 +479,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int LANGUAGE_CODES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList languageCodes_; /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -550,15 +488,13 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_; } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -568,15 +504,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
    * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -586,7 +519,6 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -594,8 +526,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -605,26 +535,23 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ @java.lang.Override @@ -635,8 +562,6 @@ public int getPageSize() { public static final int COMPANY_FIELD_NUMBER = 5; private volatile java.lang.Object company_; /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -645,7 +570,6 @@ public int getPageSize() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ @java.lang.Override @@ -654,15 +578,14 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -671,15 +594,16 @@ public java.lang.String getCompany() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -690,81 +614,58 @@ public com.google.protobuf.ByteString getCompanyBytes() { public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { + @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 7; private int type_; /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -776,7 +677,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tenant_); } @@ -792,16 +694,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_); } - if (scope_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope - .COMPLETION_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, scope_); } - if (type_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(7, type_); } getUnknownFields().writeTo(output); @@ -828,22 +724,19 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_); } - if (scope_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope - .COMPLETION_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); + if (scope_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, scope_); } - if (type_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); + if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -853,19 +746,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompleteQueryRequest other = - (com.google.cloud.talent.v4.CompleteQueryRequest) obj; - - if (!getTenant().equals(other.getTenant())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getCompany().equals(other.getCompany())) return false; + com.google.cloud.talent.v4.CompleteQueryRequest other = (com.google.cloud.talent.v4.CompleteQueryRequest) obj; + + if (!getTenant() + .equals(other.getTenant())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getLanguageCodesList() + .equals(other.getLanguageCodesList())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getCompany() + .equals(other.getCompany())) return false; if (scope_ != other.scope_) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -900,136 +797,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Auto-complete parameters.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryRequest) com.google.cloud.talent.v4.CompleteQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryRequest.class, - com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4.CompleteQueryRequest.class, com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CompleteQueryRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1051,9 +942,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override @@ -1072,8 +963,7 @@ public com.google.cloud.talent.v4.CompleteQueryRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest buildPartial() { - com.google.cloud.talent.v4.CompleteQueryRequest result = - new com.google.cloud.talent.v4.CompleteQueryRequest(this); + com.google.cloud.talent.v4.CompleteQueryRequest result = new com.google.cloud.talent.v4.CompleteQueryRequest(this); int from_bitField0_ = bitField0_; result.tenant_ = tenant_; result.query_ = query_; @@ -1094,39 +984,38 @@ public com.google.cloud.talent.v4.CompleteQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryRequest) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -1134,8 +1023,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryRequest other) { - if (other == com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance()) return this; if (!other.getTenant().isEmpty()) { tenant_ = other.tenant_; onChanged(); @@ -1193,56 +1081,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tenant_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - query_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: - { - company_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: - { - scope_ = input.readEnum(); - - break; - } // case 48 - case 56: - { - type_ = input.readEnum(); - - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tenant_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + query_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: { + company_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: { + scope_ = input.readEnum(); + + break; + } // case 48 + case 56: { + type_ = input.readEnum(); + + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1252,29 +1132,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tenant_ = ""; /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tenant. */ public java.lang.String getTenant() { java.lang.Object ref = tenant_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenant_ = s; return s; @@ -1283,25 +1158,22 @@ public java.lang.String getTenant() { } } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tenant. */ - public com.google.protobuf.ByteString getTenantBytes() { + public com.google.protobuf.ByteString + getTenantBytes() { java.lang.Object ref = tenant_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tenant_ = b; return b; } else { @@ -1309,73 +1181,60 @@ public com.google.protobuf.ByteString getTenantBytes() { } } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tenant to set. * @return This builder for chaining. */ - public Builder setTenant(java.lang.String value) { + public Builder setTenant( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenant_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTenant() { - + tenant_ = getDefaultInstance().getTenant(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tenant to set. * @return This builder for chaining. */ - public Builder setTenantBytes(com.google.protobuf.ByteString value) { + public Builder setTenantBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenant_ = value; onChanged(); return this; @@ -1383,21 +1242,19 @@ public Builder setTenantBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1406,22 +1263,21 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1429,81 +1285,70 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList languageCodes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1513,15 +1358,13 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1531,15 +1374,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
      * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1549,7 +1389,6 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1557,8 +1396,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1568,16 +1405,14 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1587,23 +1422,21 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) {
      * 
* * repeated string language_codes = 3; - * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes(int index, java.lang.String value) { + public Builder setLanguageCodes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1613,22 +1446,20 @@ public Builder setLanguageCodes(int index, java.lang.String value) {
      * 
* * repeated string language_codes = 3; - * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes(java.lang.String value) { + public Builder addLanguageCodes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1638,19 +1469,18 @@ public Builder addLanguageCodes(java.lang.String value) {
      * 
* * repeated string language_codes = 3; - * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes(java.lang.Iterable values) { + public Builder addAllLanguageCodes( + java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageCodes_); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1660,7 +1490,6 @@ public Builder addAllLanguageCodes(java.lang.Iterable values)
      * 
* * repeated string language_codes = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -1670,8 +1499,6 @@ public Builder clearLanguageCodes() { return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1681,32 +1508,29 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 3; - * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ @java.lang.Override @@ -1714,38 +1538,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1753,8 +1571,6 @@ public Builder clearPageSize() { private java.lang.Object company_ = ""; /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1763,13 +1579,13 @@ public Builder clearPageSize() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -1778,8 +1594,6 @@ public java.lang.String getCompany() { } } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1788,14 +1602,15 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -1803,8 +1618,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { } } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1813,22 +1626,20 @@ public com.google.protobuf.ByteString getCompanyBytes() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany(java.lang.String value) { + public Builder setCompany( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1837,18 +1648,15 @@ public Builder setCompany(java.lang.String value) {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1857,16 +1665,16 @@ public Builder clearCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -1874,67 +1682,51 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { private int scope_ = 0; /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @param value The scope to set. * @return This builder for chaining. */ @@ -1942,24 +1734,21 @@ public Builder setScope(com.google.cloud.talent.v4.CompleteQueryRequest.Completi if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -1967,67 +1756,51 @@ public Builder clearScope() { private int type_ = 0; /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @param value The type to set. * @return This builder for chaining. */ @@ -2035,31 +1808,28 @@ public Builder setType(com.google.cloud.talent.v4.CompleteQueryRequest.Completio if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2069,12 +1839,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryRequest) private static final com.google.cloud.talent.v4.CompleteQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryRequest(); } @@ -2083,27 +1853,27 @@ public static com.google.cloud.talent.v4.CompleteQueryRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2118,4 +1888,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompleteQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java similarity index 79% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java index ea126cce6a46..ff99ef4498ba 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java @@ -1,91 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; -public interface CompleteQueryRequestOrBuilder - extends +public interface CompleteQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tenant. */ java.lang.String getTenant(); /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tenant. */ - com.google.protobuf.ByteString getTenantBytes(); + com.google.protobuf.ByteString + getTenantBytes(); /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -95,13 +63,11 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - java.util.List getLanguageCodesList(); + java.util.List + getLanguageCodesList(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -111,13 +77,10 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -127,14 +90,11 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -144,29 +104,24 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString getLanguageCodesBytes(int index); + com.google.protobuf.ByteString + getLanguageCodesBytes(int index); /** - * - * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -175,13 +130,10 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ java.lang.String getCompany(); /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -190,57 +142,45 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ - com.google.protobuf.ByteString getCompanyBytes(); + com.google.protobuf.ByteString + getCompanyBytes(); /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope(); /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java similarity index 66% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java index d3abd1f6ad06..582448442c0b 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java @@ -1,173 +1,134 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Response of auto-complete query.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse} */ -public final class CompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteQueryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryResponse) CompleteQueryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteQueryResponse.newBuilder() to construct. private CompleteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteQueryResponse() { completionResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.class, - com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.class, com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); } - public interface CompletionResultOrBuilder - extends + public interface CompletionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ java.lang.String getSuggestion(); /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString getSuggestionBytes(); + com.google.protobuf.ByteString + getSuggestionBytes(); /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType(); /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The imageUri. */ java.lang.String getImageUri(); /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString getImageUriBytes(); + com.google.protobuf.ByteString + getImageUriBytes(); } /** - * - * *
    * Resource that represents completion results.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse.CompletionResult} */ - public static final class CompletionResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompletionResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) CompletionResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompletionResult.newBuilder() to construct. private CompletionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompletionResult() { suggestion_ = ""; type_ = 0; @@ -176,41 +137,37 @@ private CompletionResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompletionResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; private volatile java.lang.Object suggestion_; /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ @java.lang.Override @@ -219,29 +176,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -252,53 +209,39 @@ public com.google.protobuf.ByteString getSuggestionBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } public static final int IMAGE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object imageUri_; /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The imageUri. */ @java.lang.Override @@ -307,30 +250,30 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -339,7 +282,6 @@ public com.google.protobuf.ByteString getImageUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,14 +293,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } - if (type_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { @@ -376,11 +316,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } - if (type_ - != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageUri_); @@ -393,17 +331,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other = - (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) obj; + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) obj; - if (!getSuggestion().equals(other.getSuggestion())) return false; + if (!getSuggestion() + .equals(other.getSuggestion())) return false; if (type_ != other.type_) return false; - if (!getImageUri().equals(other.getImageUri())) return false; + if (!getImageUri() + .equals(other.getImageUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -427,95 +366,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -525,42 +456,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Resource that represents completion results.
      * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse.CompletionResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); } - // Construct using - // com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -574,16 +502,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - getDefaultInstanceForType() { - return com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - .getDefaultInstance(); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { + return com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance(); } @java.lang.Override @@ -597,8 +523,7 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult build() @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult buildPartial() { - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult result = - new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(this); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult result = new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(this); result.suggestion_ = suggestion_; result.type_ = type_; result.imageUri_ = imageUri_; @@ -610,53 +535,46 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) { - return mergeFrom( - (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other) { - if (other - == com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other) { + if (other == com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; onChanged(); @@ -694,31 +612,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - suggestion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - imageUri_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + suggestion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + + break; + } // case 16 + case 26: { + imageUri_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,20 +645,18 @@ public Builder mergeFrom( private java.lang.Object suggestion_ = ""; /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -753,21 +665,20 @@ public java.lang.String getSuggestion() { } } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -775,61 +686,54 @@ public com.google.protobuf.ByteString getSuggestionBytes() { } } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion(java.lang.String value) { + public Builder setSuggestion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); return this; } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { + public Builder setSuggestionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); return this; @@ -837,67 +741,51 @@ public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -905,24 +793,21 @@ public Builder setType(com.google.cloud.talent.v4.CompleteQueryRequest.Completio if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -930,21 +815,19 @@ public Builder clearType() { private java.lang.Object imageUri_ = ""; /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -953,22 +836,21 @@ public java.lang.String getImageUri() { } } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -976,69 +858,61 @@ public com.google.protobuf.ByteString getImageUriBytes() { } } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri(java.lang.String value) { + public Builder setImageUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes(com.google.protobuf.ByteString value) { + public Builder setImageUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1051,44 +925,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) - private static final com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - getDefaultInstance() { + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompletionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompletionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1100,108 +971,81 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - getDefaultInstanceForType() { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int COMPLETION_RESULTS_FIELD_NUMBER = 1; - private java.util.List - completionResults_; + private java.util.List completionResults_; /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public java.util.List - getCompletionResultsList() { + public java.util.List getCompletionResultsList() { return completionResults_; } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + public java.util.List getCompletionResultsOrBuilderList() { return completionResults_; } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override public int getCompletionResultsCount() { return completionResults_.size(); } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { return completionResults_.get(index); } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index) { return completionResults_.get(index); } public static final int METADATA_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1209,26 +1053,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -1242,7 +1079,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1254,7 +1090,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < completionResults_.size(); i++) {
       output.writeMessage(1, completionResults_.get(i));
     }
@@ -1271,11 +1108,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < completionResults_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, completionResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, completionResults_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1285,18 +1123,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.CompleteQueryResponse other =
-        (com.google.cloud.talent.v4.CompleteQueryResponse) obj;
+    com.google.cloud.talent.v4.CompleteQueryResponse other = (com.google.cloud.talent.v4.CompleteQueryResponse) obj;
 
-    if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false;
+    if (!getCompletionResultsList()
+        .equals(other.getCompletionResultsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1322,136 +1161,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response of auto-complete query.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryResponse) com.google.cloud.talent.v4.CompleteQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.class, - com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.class, com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.CompleteQueryResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1472,9 +1305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto - .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override @@ -1493,8 +1326,7 @@ public com.google.cloud.talent.v4.CompleteQueryResponse build() { @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryResponse buildPartial() { - com.google.cloud.talent.v4.CompleteQueryResponse result = - new com.google.cloud.talent.v4.CompleteQueryResponse(this); + com.google.cloud.talent.v4.CompleteQueryResponse result = new com.google.cloud.talent.v4.CompleteQueryResponse(this); int from_bitField0_ = bitField0_; if (completionResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1518,39 +1350,38 @@ public com.google.cloud.talent.v4.CompleteQueryResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryResponse) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse) other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse)other); } else { super.mergeFrom(other); return this; @@ -1558,8 +1389,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse other) { - if (other == com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance()) return this; if (completionResultsBuilder_ == null) { if (!other.completionResults_.isEmpty()) { if (completionResults_.isEmpty()) { @@ -1578,10 +1408,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse other) completionResultsBuilder_ = null; completionResults_ = other.completionResults_; bitField0_ = (bitField0_ & ~0x00000001); - completionResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompletionResultsFieldBuilder() - : null; + completionResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompletionResultsFieldBuilder() : null; } else { completionResultsBuilder_.addAllMessages(other.completionResults_); } @@ -1616,33 +1445,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult m = - input.readMessage( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.parser(), - extensionRegistry); - if (completionResultsBuilder_ == null) { - ensureCompletionResultsIsMutable(); - completionResults_.add(m); - } else { - completionResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult m = + input.readMessage( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.parser(), + extensionRegistry); + if (completionResultsBuilder_ == null) { + ensureCompletionResultsIsMutable(); + completionResults_.add(m); + } else { + completionResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1652,41 +1480,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - completionResults_ = java.util.Collections.emptyList(); - + private java.util.List completionResults_ = + java.util.Collections.emptyList(); private void ensureCompletionResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - completionResults_ = - new java.util.ArrayList< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult>( - completionResults_); + completionResults_ = new java.util.ArrayList(completionResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> - completionResultsBuilder_; + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> completionResultsBuilder_; /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List - getCompletionResultsList() { + public java.util.List getCompletionResultsList() { if (completionResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(completionResults_); } else { @@ -1694,15 +1509,11 @@ private void ensureCompletionResultsIsMutable() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public int getCompletionResultsCount() { if (completionResultsBuilder_ == null) { @@ -1712,18 +1523,13 @@ public int getCompletionResultsCount() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { if (completionResultsBuilder_ == null) { return completionResults_.get(index); } else { @@ -1731,15 +1537,11 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getComp } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder setCompletionResults( int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { @@ -1756,19 +1558,14 @@ public Builder setCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder setCompletionResults( - int index, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.set(index, builderForValue.build()); @@ -1779,18 +1576,13 @@ public Builder setCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public Builder addCompletionResults( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { + public Builder addCompletionResults(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { if (completionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1804,15 +1596,11 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { @@ -1829,15 +1617,11 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { @@ -1851,19 +1635,14 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( - int index, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(index, builderForValue.build()); @@ -1874,23 +1653,18 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addAllCompletionResults( - java.lang.Iterable< - ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult> - values) { + java.lang.Iterable values) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completionResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, completionResults_); onChanged(); } else { completionResultsBuilder_.addAllMessages(values); @@ -1898,15 +1672,11 @@ public Builder addAllCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder clearCompletionResults() { if (completionResultsBuilder_ == null) { @@ -1919,15 +1689,11 @@ public Builder clearCompletionResults() { return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder removeCompletionResults(int index) { if (completionResultsBuilder_ == null) { @@ -1940,53 +1706,39 @@ public Builder removeCompletionResults(int index) { return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder - getCompletionResultsBuilder(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder( + int index) { return getCompletionResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index) { if (completionResultsBuilder_ == null) { - return completionResults_.get(index); - } else { + return completionResults_.get(index); } else { return completionResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> - getCompletionResultsOrBuilderList() { + public java.util.List + getCompletionResultsOrBuilderList() { if (completionResultsBuilder_ != null) { return completionResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1994,69 +1746,45 @@ public Builder removeCompletionResults(int index) { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder - addCompletionResultsBuilder() { - return getCompletionResultsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - .getDefaultInstance()); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder() { + return getCompletionResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder - addCompletionResultsBuilder(int index) { - return getCompletionResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult - .getDefaultInstance()); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder( + int index) { + return getCompletionResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List - getCompletionResultsBuilderList() { + public java.util.List + getCompletionResultsBuilderList() { return getCompletionResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsFieldBuilder() { if (completionResultsBuilder_ == null) { - completionResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder>( + completionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2068,49 +1796,36 @@ public Builder removeCompletionResults(int index) { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2132,8 +1847,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2153,8 +1866,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2166,9 +1877,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -2180,8 +1889,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2201,8 +1908,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2211,13 +1916,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 2;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2229,14 +1932,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2245,24 +1945,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2272,12 +1969,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryResponse)
   private static final com.google.cloud.talent.v4.CompleteQueryResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryResponse();
   }
@@ -2286,27 +1983,27 @@ public static com.google.cloud.talent.v4.CompleteQueryResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CompleteQueryResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CompleteQueryResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2321,4 +2018,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.CompleteQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
similarity index 55%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
index 45964ab4c335..3d7d1cbdf542 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
@@ -1,122 +1,77 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/completion_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface CompleteQueryResponseOrBuilder
-    extends
+public interface CompleteQueryResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - java.util.List + java.util.List getCompletionResultsList(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ int getCompletionResultsCount(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - java.util.List< - ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + java.util.List getCompletionResultsOrBuilderList(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; */ - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
new file mode 100644
index 000000000000..2d4ab437d889
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
@@ -0,0 +1,124 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4/completion_service.proto
+
+package com.google.cloud.talent.v4;
+
+public final class CompletionServiceProto {
+  private CompletionServiceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n/google/cloud/talent/v4/completion_serv" +
+      "ice.proto\022\026google.cloud.talent.v4\032\034googl" +
+      "e/api/annotations.proto\032\027google/api/clie" +
+      "nt.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032#google/clo" +
+      "ud/talent/v4/common.proto\"\210\004\n\024CompleteQu" +
+      "eryRequest\0222\n\006tenant\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs" +
+      ".googleapis.com/Tenant\022\022\n\005query\030\002 \001(\tB\003\340" +
+      "A\002\022\026\n\016language_codes\030\003 \003(\t\022\026\n\tpage_size\030" +
+      "\004 \001(\005B\003\340A\002\0221\n\007company\030\005 \001(\tB \372A\035\n\033jobs.g" +
+      "oogleapis.com/Company\022K\n\005scope\030\006 \001(\0162<.g" +
+      "oogle.cloud.talent.v4.CompleteQueryReque" +
+      "st.CompletionScope\022I\n\004type\030\007 \001(\0162;.googl" +
+      "e.cloud.talent.v4.CompleteQueryRequest.C" +
+      "ompletionType\"K\n\017CompletionScope\022 \n\034COMP" +
+      "LETION_SCOPE_UNSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n" +
+      "\n\006PUBLIC\020\002\"`\n\016CompletionType\022\037\n\033COMPLETI" +
+      "ON_TYPE_UNSPECIFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014" +
+      "COMPANY_NAME\020\002\022\014\n\010COMBINED\020\003\"\266\002\n\025Complet" +
+      "eQueryResponse\022Z\n\022completion_results\030\001 \003" +
+      "(\0132>.google.cloud.talent.v4.CompleteQuer" +
+      "yResponse.CompletionResult\022:\n\010metadata\030\002" +
+      " \001(\0132(.google.cloud.talent.v4.ResponseMe" +
+      "tadata\032\204\001\n\020CompletionResult\022\022\n\nsuggestio" +
+      "n\030\001 \001(\t\022I\n\004type\030\002 \001(\0162;.google.cloud.tal" +
+      "ent.v4.CompleteQueryRequest.CompletionTy" +
+      "pe\022\021\n\timage_uri\030\003 \001(\t2\242\002\n\nCompletion\022\245\001\n" +
+      "\rCompleteQuery\022,.google.cloud.talent.v4." +
+      "CompleteQueryRequest\032-.google.cloud.tale" +
+      "nt.v4.CompleteQueryResponse\"7\202\323\344\223\0021\022//v4" +
+      "/{tenant=projects/*/tenants/*}:completeQ" +
+      "uery\032l\312A\023jobs.googleapis.com\322AShttps://w" +
+      "ww.googleapis.com/auth/cloud-platform,ht" +
+      "tps://www.googleapis.com/auth/jobsBz\n\032co" +
+      "m.google.cloud.talent.v4B\026CompletionServ" +
+      "iceProtoP\001Z
  * The report event request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateClientEventRequest} */ -public final class CreateClientEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClientEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateClientEventRequest) CreateClientEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClientEventRequest.newBuilder() to construct. private CreateClientEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClientEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClientEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateClientEventRequest.class, - com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4.CreateClientEventRequest.class, com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,17 +101,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CLIENT_EVENT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.ClientEvent clientEvent_; /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ @java.lang.Override @@ -145,36 +114,25 @@ public boolean hasClientEvent() { return clientEvent_ != null; } /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ @java.lang.Override public com.google.cloud.talent.v4.ClientEvent getClientEvent() { - return clientEvent_ == null - ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; } /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() { @@ -182,7 +140,6 @@ public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -214,7 +172,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (clientEvent_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientEvent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getClientEvent()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -224,18 +183,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateClientEventRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateClientEventRequest other = - (com.google.cloud.talent.v4.CreateClientEventRequest) obj; + com.google.cloud.talent.v4.CreateClientEventRequest other = (com.google.cloud.talent.v4.CreateClientEventRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - if (!getClientEvent().equals(other.getClientEvent())) return false; + if (!getClientEvent() + .equals(other.getClientEvent())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -260,135 +220,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CreateClientEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The report event request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateClientEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateClientEventRequest) com.google.cloud.talent.v4.CreateClientEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateClientEventRequest.class, - com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4.CreateClientEventRequest.class, com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateClientEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +358,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.EventServiceProto - .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override @@ -425,8 +379,7 @@ public com.google.cloud.talent.v4.CreateClientEventRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateClientEventRequest buildPartial() { - com.google.cloud.talent.v4.CreateClientEventRequest result = - new com.google.cloud.talent.v4.CreateClientEventRequest(this); + com.google.cloud.talent.v4.CreateClientEventRequest result = new com.google.cloud.talent.v4.CreateClientEventRequest(this); result.parent_ = parent_; if (clientEventBuilder_ == null) { result.clientEvent_ = clientEvent_; @@ -441,39 +394,38 @@ public com.google.cloud.talent.v4.CreateClientEventRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateClientEventRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateClientEventRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CreateClientEventRequest)other); } else { super.mergeFrom(other); return this; @@ -481,8 +433,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CreateClientEventRequest other) { - if (other == com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -516,25 +467,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getClientEventFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getClientEventFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -547,24 +497,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -573,25 +519,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -599,73 +542,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -673,61 +603,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, - com.google.cloud.talent.v4.ClientEvent.Builder, - com.google.cloud.talent.v4.ClientEventOrBuilder> - clientEventBuilder_; + com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder> clientEventBuilder_; /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ public boolean hasClientEvent() { return clientEventBuilder_ != null || clientEvent_ != null; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ public com.google.cloud.talent.v4.ClientEvent getClientEvent() { if (clientEventBuilder_ == null) { - return clientEvent_ == null - ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; } else { return clientEventBuilder_.getMessage(); } } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent value) { if (clientEventBuilder_ == null) { @@ -743,18 +654,15 @@ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent value) { return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent.Builder builderForValue) { + public Builder setClientEvent( + com.google.cloud.talent.v4.ClientEvent.Builder builderForValue) { if (clientEventBuilder_ == null) { clientEvent_ = builderForValue.build(); onChanged(); @@ -765,24 +673,18 @@ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent.Builder bui return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeClientEvent(com.google.cloud.talent.v4.ClientEvent value) { if (clientEventBuilder_ == null) { if (clientEvent_ != null) { clientEvent_ = - com.google.cloud.talent.v4.ClientEvent.newBuilder(clientEvent_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.ClientEvent.newBuilder(clientEvent_).mergeFrom(value).buildPartial(); } else { clientEvent_ = value; } @@ -794,16 +696,12 @@ public Builder mergeClientEvent(com.google.cloud.talent.v4.ClientEvent value) { return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearClientEvent() { if (clientEventBuilder_ == null) { @@ -817,74 +715,58 @@ public Builder clearClientEvent() { return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.ClientEvent.Builder getClientEventBuilder() { - + onChanged(); return getClientEventFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() { if (clientEventBuilder_ != null) { return clientEventBuilder_.getMessageOrBuilder(); } else { - return clientEvent_ == null - ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? + com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; } } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, - com.google.cloud.talent.v4.ClientEvent.Builder, - com.google.cloud.talent.v4.ClientEventOrBuilder> + com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder> getClientEventFieldBuilder() { if (clientEventBuilder_ == null) { - clientEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, - com.google.cloud.talent.v4.ClientEvent.Builder, - com.google.cloud.talent.v4.ClientEventOrBuilder>( - getClientEvent(), getParentForChildren(), isClean()); + clientEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder>( + getClientEvent(), + getParentForChildren(), + isClean()); clientEvent_ = null; } return clientEventBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -894,12 +776,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateClientEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateClientEventRequest) private static final com.google.cloud.talent.v4.CreateClientEventRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateClientEventRequest(); } @@ -908,27 +790,27 @@ public static com.google.cloud.talent.v4.CreateClientEventRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClientEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClientEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -943,4 +825,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateClientEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java similarity index 52% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java index 0dae60433690..706e6e386c86 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java @@ -1,102 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event_service.proto package com.google.cloud.talent.v4; -public interface CreateClientEventRequestOrBuilder - extends +public interface CreateClientEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateClientEventRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ boolean hasClientEvent(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ com.google.cloud.talent.v4.ClientEvent getClientEvent(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java index 703553b79e44..10f9ca0368e0 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The Request of the CreateCompany method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateCompanyRequest} */ -public final class CreateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateCompanyRequest) CreateCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCompanyRequest.newBuilder() to construct. private CreateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCompanyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateCompanyRequest.class, - com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.CreateCompanyRequest.class, com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int COMPANY_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Company company_; /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ @java.lang.Override @@ -143,15 +113,11 @@ public boolean hasCompany() { return company_ != null; } /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ @java.lang.Override @@ -159,14 +125,11 @@ public com.google.cloud.talent.v4.Company getCompany() { return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { @@ -174,7 +137,6 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (company_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompany()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCompany()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,18 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateCompanyRequest other = - (com.google.cloud.talent.v4.CreateCompanyRequest) obj; + com.google.cloud.talent.v4.CreateCompanyRequest other = (com.google.cloud.talent.v4.CreateCompanyRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - if (!getCompany().equals(other.getCompany())) return false; + if (!getCompany() + .equals(other.getCompany())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +216,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CreateCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request of the CreateCompany method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateCompanyRequest) com.google.cloud.talent.v4.CreateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateCompanyRequest.class, - com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.CreateCompanyRequest.class, com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override @@ -417,8 +376,7 @@ public com.google.cloud.talent.v4.CreateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateCompanyRequest buildPartial() { - com.google.cloud.talent.v4.CreateCompanyRequest result = - new com.google.cloud.talent.v4.CreateCompanyRequest(this); + com.google.cloud.talent.v4.CreateCompanyRequest result = new com.google.cloud.talent.v4.CreateCompanyRequest(this); result.parent_ = parent_; if (companyBuilder_ == null) { result.company_ = company_; @@ -433,39 +391,38 @@ public com.google.cloud.talent.v4.CreateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CreateCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -473,8 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CreateCompanyRequest other) { - if (other == com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -508,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getCompanyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -565,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -591,73 +539,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -665,55 +600,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> - companyBuilder_; + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companyBuilder_; /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ public com.google.cloud.talent.v4.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null - ? com.google.cloud.talent.v4.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } else { return companyBuilder_.getMessage(); } } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { @@ -729,16 +648,14 @@ public Builder setCompany(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder setCompany( + com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -749,22 +666,17 @@ public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForV return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4.Company.newBuilder(company_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Company.newBuilder(company_).mergeFrom(value).buildPartial(); } else { company_ = value; } @@ -776,14 +688,11 @@ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -797,68 +706,55 @@ public Builder clearCompany() { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null - ? com.google.cloud.talent.v4.Company.getDefaultInstance() - : company_; + return company_ == null ? + com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } } /** - * - * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder>( - getCompany(), getParentForChildren(), isClean()); + companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( + getCompany(), + getParentForChildren(), + isClean()); company_ = null; } return companyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -868,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateCompanyRequest) private static final com.google.cloud.talent.v4.CreateCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateCompanyRequest(); } @@ -882,27 +778,27 @@ public static com.google.cloud.talent.v4.CreateCompanyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java similarity index 55% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java index fa6004ae54fb..e25a6715251a 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java @@ -1,96 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; -public interface CreateCompanyRequestOrBuilder - extends +public interface CreateCompanyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateCompanyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ boolean hasCompany(); /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ com.google.cloud.talent.v4.Company getCompany(); /** - * - * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java similarity index 67% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java index a1ffba37ceb7..b43e80246eee 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Create job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateJobRequest} */ -public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateJobRequest) CreateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateJobRequest.class, - com.google.cloud.talent.v4.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4.CreateJobRequest.class, com.google.cloud.talent.v4.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,14 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Job job_; /** - * - * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ @java.lang.Override @@ -142,14 +113,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ @java.lang.Override @@ -157,8 +125,6 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be created.
    * 
@@ -171,7 +137,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -203,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -213,18 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateJobRequest other = - (com.google.cloud.talent.v4.CreateJobRequest) obj; + com.google.cloud.talent.v4.CreateJobRequest other = (com.google.cloud.talent.v4.CreateJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -248,136 +216,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateJobRequest) com.google.cloud.talent.v4.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateJobRequest.class, - com.google.cloud.talent.v4.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4.CreateJobRequest.class, com.google.cloud.talent.v4.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override @@ -414,8 +376,7 @@ public com.google.cloud.talent.v4.CreateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateJobRequest buildPartial() { - com.google.cloud.talent.v4.CreateJobRequest result = - new com.google.cloud.talent.v4.CreateJobRequest(this); + com.google.cloud.talent.v4.CreateJobRequest result = new com.google.cloud.talent.v4.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -430,39 +391,38 @@ public com.google.cloud.talent.v4.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CreateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -504,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -535,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -561,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -587,73 +539,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -661,33 +600,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -698,8 +628,6 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -720,15 +648,14 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -739,8 +666,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -750,7 +675,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -762,8 +688,6 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -782,8 +706,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -791,13 +713,11 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -808,12 +728,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be created.
      * 
@@ -821,24 +740,21 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -848,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateJobRequest) private static final com.google.cloud.talent.v4.CreateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateJobRequest(); } @@ -862,27 +778,27 @@ public static com.google.cloud.talent.v4.CreateJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -897,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java similarity index 59% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java index 6bf6a113cd8a..a52666ef4ee8 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java @@ -1,88 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface CreateJobRequestOrBuilder - extends +public interface CreateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** - * - * *
    * Required. The Job to be created.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java index 83c720635ef2..d0411258dc4f 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The Request of the CreateTenant method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateTenantRequest} */ -public final class CreateTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateTenantRequest) CreateTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTenantRequest.newBuilder() to construct. private CreateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTenantRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateTenantRequest.class, - com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4.CreateTenantRequest.class, com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TENANT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Tenant tenant_; /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ @java.lang.Override @@ -143,15 +113,11 @@ public boolean hasTenant() { return tenant_ != null; } /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ @java.lang.Override @@ -159,14 +125,11 @@ public com.google.cloud.talent.v4.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { @@ -174,7 +137,6 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tenant_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTenant()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTenant()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,18 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateTenantRequest other = - (com.google.cloud.talent.v4.CreateTenantRequest) obj; + com.google.cloud.talent.v4.CreateTenantRequest other = (com.google.cloud.talent.v4.CreateTenantRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - if (!getTenant().equals(other.getTenant())) return false; + if (!getTenant() + .equals(other.getTenant())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -251,136 +216,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CreateTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request of the CreateTenant method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateTenantRequest) com.google.cloud.talent.v4.CreateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateTenantRequest.class, - com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4.CreateTenantRequest.class, com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override @@ -417,8 +376,7 @@ public com.google.cloud.talent.v4.CreateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateTenantRequest buildPartial() { - com.google.cloud.talent.v4.CreateTenantRequest result = - new com.google.cloud.talent.v4.CreateTenantRequest(this); + com.google.cloud.talent.v4.CreateTenantRequest result = new com.google.cloud.talent.v4.CreateTenantRequest(this); result.parent_ = parent_; if (tenantBuilder_ == null) { result.tenant_ = tenant_; @@ -433,39 +391,38 @@ public com.google.cloud.talent.v4.CreateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4.CreateTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -507,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getTenantFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -564,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -590,73 +539,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -664,35 +600,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> - tenantBuilder_; + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantBuilder_; /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ public com.google.cloud.talent.v4.Tenant getTenant() { @@ -703,14 +628,11 @@ public com.google.cloud.talent.v4.Tenant getTenant() { } } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { @@ -726,16 +648,14 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder setTenant( + com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -746,20 +666,17 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForVal return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -771,14 +688,11 @@ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -792,66 +706,55 @@ public Builder clearTenant() { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null ? + com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder>( - getTenant(), getParentForChildren(), isClean()); + tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( + getTenant(), + getParentForChildren(), + isClean()); tenant_ = null; } return tenantBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -861,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateTenantRequest) private static final com.google.cloud.talent.v4.CreateTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateTenantRequest(); } @@ -875,27 +778,27 @@ public static com.google.cloud.talent.v4.CreateTenantRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -910,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java similarity index 54% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java index 89cb7dd214e6..e8e2bee8de7c 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java @@ -1,96 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; -public interface CreateTenantRequestOrBuilder - extends +public interface CreateTenantRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateTenantRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ boolean hasTenant(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ com.google.cloud.talent.v4.Tenant getTenant(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java index c018ac2ca749..7c745131ca94 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Custom attribute values that are either filterable or non-filterable.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CustomAttribute} */ -public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomAttribute extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CustomAttribute) CustomAttributeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomAttribute.newBuilder() to construct. private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; longValues_ = emptyLongList(); @@ -44,35 +26,32 @@ private CustomAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CustomAttribute.class, - com.google.cloud.talent.v4.CustomAttribute.Builder.class); + com.google.cloud.talent.v4.CustomAttribute.class, com.google.cloud.talent.v4.CustomAttribute.Builder.class); } public static final int STRING_VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList stringValues_; /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -85,15 +64,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList getStringValuesList() { + public com.google.protobuf.ProtocolStringList + getStringValuesList() { return stringValues_; } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -106,15 +83,12 @@ public com.google.protobuf.ProtocolStringList getStringValuesList() {
    * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -127,7 +101,6 @@ public int getStringValuesCount() {
    * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -135,8 +108,6 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -149,19 +120,17 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString getStringValuesBytes(int index) { + public com.google.protobuf.ByteString + getStringValuesBytes(int index) { return stringValues_.getByteString(index); } public static final int LONG_VALUES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList longValues_; /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -170,16 +139,14 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) {
    * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ @java.lang.Override - public java.util.List getLongValuesList() { + public java.util.List + getLongValuesList() { return longValues_; } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -188,15 +155,12 @@ public java.util.List getLongValuesList() {
    * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -205,21 +169,17 @@ public int getLongValuesCount() {
    * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ public long getLongValues(int index) { return longValues_.getLong(index); } - private int longValuesMemoizedSerializedSize = -1; public static final int FILTERABLE_FIELD_NUMBER = 3; private boolean filterable_; /** - * - * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -228,7 +188,6 @@ public long getLongValues(int index) {
    * 
* * bool filterable = 3; - * * @return The filterable. */ @java.lang.Override @@ -239,8 +198,6 @@ public boolean getFilterable() { public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER = 4; private boolean keywordSearchable_; /** - * - * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -249,7 +206,6 @@ public boolean getFilterable() {
    * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ @java.lang.Override @@ -258,7 +214,6 @@ public boolean getKeywordSearchable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stringValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValues_.getRaw(i)); @@ -308,21 +264,24 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } longValuesMemoizedSerializedSize = dataSize; } if (filterable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, filterable_); } if (keywordSearchable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, keywordSearchable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, keywordSearchable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,18 +291,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CustomAttribute)) { return super.equals(obj); } - com.google.cloud.talent.v4.CustomAttribute other = - (com.google.cloud.talent.v4.CustomAttribute) obj; - - if (!getStringValuesList().equals(other.getStringValuesList())) return false; - if (!getLongValuesList().equals(other.getLongValuesList())) return false; - if (getFilterable() != other.getFilterable()) return false; - if (getKeywordSearchable() != other.getKeywordSearchable()) return false; + com.google.cloud.talent.v4.CustomAttribute other = (com.google.cloud.talent.v4.CustomAttribute) obj; + + if (!getStringValuesList() + .equals(other.getStringValuesList())) return false; + if (!getLongValuesList() + .equals(other.getLongValuesList())) return false; + if (getFilterable() + != other.getFilterable()) return false; + if (getKeywordSearchable() + != other.getKeywordSearchable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,144 +326,140 @@ public int hashCode() { hash = (53 * hash) + getLongValuesList().hashCode(); } hash = (37 * hash) + FILTERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFilterable()); hash = (37 * hash) + KEYWORD_SEARCHABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeywordSearchable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getKeywordSearchable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CustomAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Custom attribute values that are either filterable or non-filterable.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CustomAttribute} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CustomAttribute) com.google.cloud.talent.v4.CustomAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CustomAttribute.class, - com.google.cloud.talent.v4.CustomAttribute.Builder.class); + com.google.cloud.talent.v4.CustomAttribute.class, com.google.cloud.talent.v4.CustomAttribute.Builder.class); } // Construct using com.google.cloud.talent.v4.CustomAttribute.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override @@ -538,8 +496,7 @@ public com.google.cloud.talent.v4.CustomAttribute build() { @java.lang.Override public com.google.cloud.talent.v4.CustomAttribute buildPartial() { - com.google.cloud.talent.v4.CustomAttribute result = - new com.google.cloud.talent.v4.CustomAttribute(this); + com.google.cloud.talent.v4.CustomAttribute result = new com.google.cloud.talent.v4.CustomAttribute(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); @@ -561,39 +518,38 @@ public com.google.cloud.talent.v4.CustomAttribute buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CustomAttribute) { - return mergeFrom((com.google.cloud.talent.v4.CustomAttribute) other); + return mergeFrom((com.google.cloud.talent.v4.CustomAttribute)other); } else { super.mergeFrom(other); return this; @@ -654,50 +610,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureStringValuesIsMutable(); - stringValues_.add(s); - break; - } // case 10 - case 16: - { - long v = input.readInt64(); - ensureLongValuesIsMutable(); - longValues_.addLong(v); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureLongValuesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - longValues_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 18 - case 24: - { - filterable_ = input.readBool(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureStringValuesIsMutable(); + stringValues_.add(s); + break; + } // case 10 + case 16: { + long v = input.readInt64(); + ensureLongValuesIsMutable(); + longValues_.addLong(v); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureLongValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + longValues_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 18 + case 24: { + filterable_ = input.readBool(); - break; - } // case 24 - case 32: - { - keywordSearchable_ = input.readBool(); + break; + } // case 24 + case 32: { + keywordSearchable_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -707,21 +657,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList stringValues_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStringValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -734,15 +679,13 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList getStringValuesList() { + public com.google.protobuf.ProtocolStringList + getStringValuesList() { return stringValues_.getUnmodifiableView(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -755,15 +698,12 @@ public com.google.protobuf.ProtocolStringList getStringValuesList() {
      * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -776,7 +716,6 @@ public int getStringValuesCount() {
      * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -784,8 +723,6 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -798,16 +735,14 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString getStringValuesBytes(int index) { + public com.google.protobuf.ByteString + getStringValuesBytes(int index) { return stringValues_.getByteString(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -820,23 +755,21 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) {
      * 
* * repeated string string_values = 1; - * * @param index The index to set the value at. * @param value The stringValues to set. * @return This builder for chaining. */ - public Builder setStringValues(int index, java.lang.String value) { + public Builder setStringValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.set(index, value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -849,22 +782,20 @@ public Builder setStringValues(int index, java.lang.String value) {
      * 
* * repeated string string_values = 1; - * * @param value The stringValues to add. * @return This builder for chaining. */ - public Builder addStringValues(java.lang.String value) { + public Builder addStringValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -877,19 +808,18 @@ public Builder addStringValues(java.lang.String value) {
      * 
* * repeated string string_values = 1; - * * @param values The stringValues to add. * @return This builder for chaining. */ - public Builder addAllStringValues(java.lang.Iterable values) { + public Builder addAllStringValues( + java.lang.Iterable values) { ensureStringValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stringValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stringValues_); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -902,7 +832,6 @@ public Builder addAllStringValues(java.lang.Iterable values) {
      * 
* * repeated string string_values = 1; - * * @return This builder for chaining. */ public Builder clearStringValues() { @@ -912,8 +841,6 @@ public Builder clearStringValues() { return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -926,15 +853,15 @@ public Builder clearStringValues() {
      * 
* * repeated string string_values = 1; - * * @param value The bytes of the stringValues to add. * @return This builder for chaining. */ - public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { + public Builder addStringValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); @@ -942,16 +869,13 @@ public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); - private void ensureLongValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -960,17 +884,14 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ - public java.util.List getLongValuesList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(longValues_) - : longValues_; + public java.util.List + getLongValuesList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(longValues_) : longValues_; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -979,15 +900,12 @@ public java.util.List getLongValuesList() {
      * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -996,7 +914,6 @@ public int getLongValuesCount() {
      * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ @@ -1004,8 +921,6 @@ public long getLongValues(int index) { return longValues_.getLong(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1014,20 +929,18 @@ public long getLongValues(int index) {
      * 
* * repeated int64 long_values = 2; - * * @param index The index to set the value at. * @param value The longValues to set. * @return This builder for chaining. */ - public Builder setLongValues(int index, long value) { + public Builder setLongValues( + int index, long value) { ensureLongValuesIsMutable(); longValues_.setLong(index, value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1036,7 +949,6 @@ public Builder setLongValues(int index, long value) {
      * 
* * repeated int64 long_values = 2; - * * @param value The longValues to add. * @return This builder for chaining. */ @@ -1047,8 +959,6 @@ public Builder addLongValues(long value) { return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1057,19 +967,18 @@ public Builder addLongValues(long value) {
      * 
* * repeated int64 long_values = 2; - * * @param values The longValues to add. * @return This builder for chaining. */ - public Builder addAllLongValues(java.lang.Iterable values) { + public Builder addAllLongValues( + java.lang.Iterable values) { ensureLongValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, longValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, longValues_); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1078,7 +987,6 @@ public Builder addAllLongValues(java.lang.Iterable val
      * 
* * repeated int64 long_values = 2; - * * @return This builder for chaining. */ public Builder clearLongValues() { @@ -1088,10 +996,8 @@ public Builder clearLongValues() { return this; } - private boolean filterable_; + private boolean filterable_ ; /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1100,7 +1006,6 @@ public Builder clearLongValues() {
      * 
* * bool filterable = 3; - * * @return The filterable. */ @java.lang.Override @@ -1108,8 +1013,6 @@ public boolean getFilterable() { return filterable_; } /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1118,19 +1021,16 @@ public boolean getFilterable() {
      * 
* * bool filterable = 3; - * * @param value The filterable to set. * @return This builder for chaining. */ public Builder setFilterable(boolean value) { - + filterable_ = value; onChanged(); return this; } /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1139,20 +1039,17 @@ public Builder setFilterable(boolean value) {
      * 
* * bool filterable = 3; - * * @return This builder for chaining. */ public Builder clearFilterable() { - + filterable_ = false; onChanged(); return this; } - private boolean keywordSearchable_; + private boolean keywordSearchable_ ; /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1161,7 +1058,6 @@ public Builder clearFilterable() {
      * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ @java.lang.Override @@ -1169,8 +1065,6 @@ public boolean getKeywordSearchable() { return keywordSearchable_; } /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1179,19 +1073,16 @@ public boolean getKeywordSearchable() {
      * 
* * bool keyword_searchable = 4; - * * @param value The keywordSearchable to set. * @return This builder for chaining. */ public Builder setKeywordSearchable(boolean value) { - + keywordSearchable_ = value; onChanged(); return this; } /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1200,18 +1091,17 @@ public Builder setKeywordSearchable(boolean value) {
      * 
* * bool keyword_searchable = 4; - * * @return This builder for chaining. */ public Builder clearKeywordSearchable() { - + keywordSearchable_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1221,12 +1111,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CustomAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CustomAttribute) private static final com.google.cloud.talent.v4.CustomAttribute DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CustomAttribute(); } @@ -1235,27 +1125,27 @@ public static com.google.cloud.talent.v4.CustomAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1270,4 +1160,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CustomAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java similarity index 86% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java index 4e5b0b8c40d0..615a9906c0ed 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface CustomAttributeOrBuilder - extends +public interface CustomAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CustomAttribute) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -38,13 +20,11 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - java.util.List getStringValuesList(); + java.util.List + getStringValuesList(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -57,13 +37,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ int getStringValuesCount(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -76,14 +53,11 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ java.lang.String getStringValues(int index); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -96,15 +70,13 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - com.google.protobuf.ByteString getStringValuesBytes(int index); + com.google.protobuf.ByteString + getStringValuesBytes(int index); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -113,13 +85,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ java.util.List getLongValuesList(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -128,13 +97,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ int getLongValuesCount(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -143,15 +109,12 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ long getLongValues(int index); /** - * - * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -160,14 +123,11 @@ public interface CustomAttributeOrBuilder
    * 
* * bool filterable = 3; - * * @return The filterable. */ boolean getFilterable(); /** - * - * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -176,7 +136,6 @@ public interface CustomAttributeOrBuilder
    * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ boolean getKeywordSearchable(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java similarity index 81% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java index 90502af83217..44b626ae30e6 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Educational degree level defined in International Standard Classification
  * of Education (ISCED).
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.DegreeType}
  */
-public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
+public enum DegreeType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -42,8 +24,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   DEGREE_TYPE_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -54,8 +34,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PRIMARY_EDUCATION(1),
   /**
-   *
-   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -67,8 +45,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   LOWER_SECONDARY_EDUCATION(2),
   /**
-   *
-   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -81,8 +57,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   UPPER_SECONDARY_EDUCATION(3),
   /**
-   *
-   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -94,8 +68,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   ADULT_REMEDIAL_EDUCATION(4),
   /**
-   *
-   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -107,8 +79,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   ASSOCIATES_OR_EQUIVALENT(5),
   /**
-   *
-   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -119,8 +89,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   BACHELORS_OR_EQUIVALENT(6),
   /**
-   *
-   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -131,8 +99,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   MASTERS_OR_EQUIVALENT(7),
   /**
-   *
-   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -147,8 +113,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -159,8 +123,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DEGREE_TYPE_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -171,8 +133,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PRIMARY_EDUCATION_VALUE = 1;
   /**
-   *
-   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -184,8 +144,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LOWER_SECONDARY_EDUCATION_VALUE = 2;
   /**
-   *
-   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -198,8 +156,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int UPPER_SECONDARY_EDUCATION_VALUE = 3;
   /**
-   *
-   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -211,8 +167,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ADULT_REMEDIAL_EDUCATION_VALUE = 4;
   /**
-   *
-   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -224,8 +178,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ASSOCIATES_OR_EQUIVALENT_VALUE = 5;
   /**
-   *
-   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -236,8 +188,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BACHELORS_OR_EQUIVALENT_VALUE = 6;
   /**
-   *
-   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -248,8 +198,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MASTERS_OR_EQUIVALENT_VALUE = 7;
   /**
-   *
-   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -261,6 +209,7 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DOCTORAL_OR_EQUIVALENT_VALUE = 8;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -285,61 +234,55 @@ public static DegreeType valueOf(int value) {
    */
   public static DegreeType forNumber(int value) {
     switch (value) {
-      case 0:
-        return DEGREE_TYPE_UNSPECIFIED;
-      case 1:
-        return PRIMARY_EDUCATION;
-      case 2:
-        return LOWER_SECONDARY_EDUCATION;
-      case 3:
-        return UPPER_SECONDARY_EDUCATION;
-      case 4:
-        return ADULT_REMEDIAL_EDUCATION;
-      case 5:
-        return ASSOCIATES_OR_EQUIVALENT;
-      case 6:
-        return BACHELORS_OR_EQUIVALENT;
-      case 7:
-        return MASTERS_OR_EQUIVALENT;
-      case 8:
-        return DOCTORAL_OR_EQUIVALENT;
-      default:
-        return null;
+      case 0: return DEGREE_TYPE_UNSPECIFIED;
+      case 1: return PRIMARY_EDUCATION;
+      case 2: return LOWER_SECONDARY_EDUCATION;
+      case 3: return UPPER_SECONDARY_EDUCATION;
+      case 4: return ADULT_REMEDIAL_EDUCATION;
+      case 5: return ASSOCIATES_OR_EQUIVALENT;
+      case 6: return BACHELORS_OR_EQUIVALENT;
+      case 7: return MASTERS_OR_EQUIVALENT;
+      case 8: return DOCTORAL_OR_EQUIVALENT;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DegreeType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DegreeType findValueByNumber(int number) {
+            return DegreeType.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public DegreeType findValueByNumber(int number) {
-          return DegreeType.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DegreeType[] VALUES = values();
 
-  public static DegreeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DegreeType valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -355,3 +298,4 @@ private DegreeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.DegreeType)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
similarity index 63%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
index 2da2c22c4e7b..93deb0f2099f 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Request to delete a company.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteCompanyRequest} */ -public final class DeleteCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteCompanyRequest) DeleteCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteCompanyRequest.newBuilder() to construct. private DeleteCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteCompanyRequest.class, - com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4.DeleteCompanyRequest.class, com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteCompanyRequest other = - (com.google.cloud.talent.v4.DeleteCompanyRequest) obj; + com.google.cloud.talent.v4.DeleteCompanyRequest other = (com.google.cloud.talent.v4.DeleteCompanyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.DeleteCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteCompanyRequest) com.google.cloud.talent.v4.DeleteCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteCompanyRequest.class, - com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4.DeleteCompanyRequest.class, com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override @@ -350,8 +318,7 @@ public com.google.cloud.talent.v4.DeleteCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteCompanyRequest buildPartial() { - com.google.cloud.talent.v4.DeleteCompanyRequest result = - new com.google.cloud.talent.v4.DeleteCompanyRequest(this); + com.google.cloud.talent.v4.DeleteCompanyRequest result = new com.google.cloud.talent.v4.DeleteCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -361,39 +328,38 @@ public com.google.cloud.talent.v4.DeleteCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4.DeleteCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -401,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.DeleteCompanyRequest other) { - if (other == com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -433,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -467,16 +428,14 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -485,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -494,17 +451,16 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -521,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -547,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -569,26 +514,24 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteCompanyRequest) private static final com.google.cloud.talent.v4.DeleteCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteCompanyRequest(); } @@ -612,27 +555,27 @@ public static com.google.cloud.talent.v4.DeleteCompanyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java new file mode 100644 index 000000000000..c8961305ce21 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteCompanyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteCompanyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the company to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/foo/tenants/bar/companies/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the company to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/foo/tenants/bar/companies/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java index 6cab46260b34..8a44c70102bb 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Delete job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteJobRequest} */ -public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteJobRequest) DeleteJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteJobRequest.class, - com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4.DeleteJobRequest.class, com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteJobRequest other = - (com.google.cloud.talent.v4.DeleteJobRequest) obj; + com.google.cloud.talent.v4.DeleteJobRequest other = (com.google.cloud.talent.v4.DeleteJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteJobRequest) com.google.cloud.talent.v4.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteJobRequest.class, - com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4.DeleteJobRequest.class, com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override @@ -350,8 +318,7 @@ public com.google.cloud.talent.v4.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteJobRequest buildPartial() { - com.google.cloud.talent.v4.DeleteJobRequest result = - new com.google.cloud.talent.v4.DeleteJobRequest(this); + com.google.cloud.talent.v4.DeleteJobRequest result = new com.google.cloud.talent.v4.DeleteJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -361,39 +328,38 @@ public com.google.cloud.talent.v4.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4.DeleteJobRequest)other); } else { super.mergeFrom(other); return this; @@ -432,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -466,16 +428,14 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -484,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -493,17 +451,16 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -511,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -520,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -546,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -568,26 +514,24 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteJobRequest) private static final com.google.cloud.talent.v4.DeleteJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteJobRequest(); } @@ -611,27 +555,27 @@ public static com.google.cloud.talent.v4.DeleteJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java new file mode 100644 index 000000000000..cd4e7e2e728e --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the job to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the job to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java index b50070cdf943..f8278eef1458 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Request to delete a tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteTenantRequest} */ -public final class DeleteTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteTenantRequest) DeleteTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTenantRequest.newBuilder() to construct. private DeleteTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteTenantRequest.class, - com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4.DeleteTenantRequest.class, com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteTenantRequest other = - (com.google.cloud.talent.v4.DeleteTenantRequest) obj; + com.google.cloud.talent.v4.DeleteTenantRequest other = (com.google.cloud.talent.v4.DeleteTenantRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.DeleteTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteTenantRequest) com.google.cloud.talent.v4.DeleteTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteTenantRequest.class, - com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4.DeleteTenantRequest.class, com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.talent.v4.DeleteTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteTenantRequest buildPartial() { - com.google.cloud.talent.v4.DeleteTenantRequest result = - new com.google.cloud.talent.v4.DeleteTenantRequest(this); + com.google.cloud.talent.v4.DeleteTenantRequest result = new com.google.cloud.talent.v4.DeleteTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.talent.v4.DeleteTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4.DeleteTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -430,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -481,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -507,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteTenantRequest) private static final com.google.cloud.talent.v4.DeleteTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteTenantRequest(); } @@ -604,27 +548,27 @@ public static com.google.cloud.talent.v4.DeleteTenantRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java new file mode 100644 index 000000000000..2fc07df36afe --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteTenantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java similarity index 69% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java index 7bcd0eb2b9c1..09c27b3b8207 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Device information collected from the job seeker, candidate, or
  * other entity conducting the job search. Providing this information improves
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.DeviceInfo}
  */
-public final class DeviceInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeviceInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeviceInfo)
     DeviceInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeviceInfo.newBuilder() to construct.
   private DeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeviceInfo() {
     deviceType_ = 0;
     id_ = "";
@@ -46,43 +28,39 @@ private DeviceInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeviceInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.DeviceInfo.class,
-            com.google.cloud.talent.v4.DeviceInfo.Builder.class);
+            com.google.cloud.talent.v4.DeviceInfo.class, com.google.cloud.talent.v4.DeviceInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enumeration describing an API access portal and exposure mechanism.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.DeviceInfo.DeviceType} */ - public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { + public enum DeviceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The device type isn't specified.
      * 
@@ -91,8 +69,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ DEVICE_TYPE_UNSPECIFIED(0), /** - * - * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -102,8 +78,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     WEB(1),
     /**
-     *
-     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -113,8 +87,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     MOBILE_WEB(2),
     /**
-     *
-     *
      * 
      * An Android device native application.
      * 
@@ -123,8 +95,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ ANDROID(3), /** - * - * *
      * An iOS device native application.
      * 
@@ -133,8 +103,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ IOS(4), /** - * - * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -144,8 +112,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOT(5),
     /**
-     *
-     *
      * 
      * Other devices types.
      * 
@@ -157,8 +123,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The device type isn't specified.
      * 
@@ -167,8 +131,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEVICE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -178,8 +140,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int WEB_VALUE = 1;
     /**
-     *
-     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -189,8 +149,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MOBILE_WEB_VALUE = 2;
     /**
-     *
-     *
      * 
      * An Android device native application.
      * 
@@ -199,8 +157,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANDROID_VALUE = 3; /** - * - * *
      * An iOS device native application.
      * 
@@ -209,8 +165,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IOS_VALUE = 4; /** - * - * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -220,8 +174,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOT_VALUE = 5;
     /**
-     *
-     *
      * 
      * Other devices types.
      * 
@@ -230,6 +182,7 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,57 +207,53 @@ public static DeviceType valueOf(int value) { */ public static DeviceType forNumber(int value) { switch (value) { - case 0: - return DEVICE_TYPE_UNSPECIFIED; - case 1: - return WEB; - case 2: - return MOBILE_WEB; - case 3: - return ANDROID; - case 4: - return IOS; - case 5: - return BOT; - case 6: - return OTHER; - default: - return null; + case 0: return DEVICE_TYPE_UNSPECIFIED; + case 1: return WEB; + case 2: return MOBILE_WEB; + case 3: return ANDROID; + case 4: return IOS; + case 5: return BOT; + case 6: return OTHER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DeviceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeviceType findValueByNumber(int number) { - return DeviceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final DeviceType[] VALUES = values(); - public static DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeviceType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -324,51 +273,39 @@ private DeviceType(int value) { public static final int DEVICE_TYPE_FIELD_NUMBER = 1; private int deviceType_; /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override - public int getDeviceTypeValue() { + @java.lang.Override public int getDeviceTypeValue() { return deviceType_; } /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ - @java.lang.Override - public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { + @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.DeviceInfo.DeviceType result = - com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); + com.google.cloud.talent.v4.DeviceInfo.DeviceType result = com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); return result == null ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED : result; } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -377,30 +314,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -409,7 +346,6 @@ public com.google.protobuf.ByteString getIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -421,9 +357,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (deviceType_ - != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (deviceType_ != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { @@ -438,9 +374,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (deviceType_ - != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deviceType_); + if (deviceType_ != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); @@ -453,7 +389,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeviceInfo)) { return super.equals(obj); @@ -461,7 +397,8 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4.DeviceInfo other = (com.google.cloud.talent.v4.DeviceInfo) obj; if (deviceType_ != other.deviceType_) return false; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -482,103 +419,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.DeviceInfo parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeviceInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.DeviceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Device information collected from the job seeker, candidate, or
    * other entity conducting the job search. Providing this information improves
@@ -587,32 +518,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.DeviceInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeviceInfo)
       com.google.cloud.talent.v4.DeviceInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.DeviceInfo.class,
-              com.google.cloud.talent.v4.DeviceInfo.Builder.class);
+              com.google.cloud.talent.v4.DeviceInfo.class, com.google.cloud.talent.v4.DeviceInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.DeviceInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -624,9 +556,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
@@ -645,8 +577,7 @@ public com.google.cloud.talent.v4.DeviceInfo build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.DeviceInfo buildPartial() {
-      com.google.cloud.talent.v4.DeviceInfo result =
-          new com.google.cloud.talent.v4.DeviceInfo(this);
+      com.google.cloud.talent.v4.DeviceInfo result = new com.google.cloud.talent.v4.DeviceInfo(this);
       result.deviceType_ = deviceType_;
       result.id_ = id_;
       onBuilt();
@@ -657,39 +588,38 @@ public com.google.cloud.talent.v4.DeviceInfo buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.DeviceInfo) {
-        return mergeFrom((com.google.cloud.talent.v4.DeviceInfo) other);
+        return mergeFrom((com.google.cloud.talent.v4.DeviceInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -731,25 +661,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                deviceType_ = input.readEnum();
+            case 8: {
+              deviceType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                id_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              id_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -762,67 +689,51 @@ public Builder mergeFrom(
 
     private int deviceType_ = 0;
     /**
-     *
-     *
      * 
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override - public int getDeviceTypeValue() { + @java.lang.Override public int getDeviceTypeValue() { return deviceType_; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @param value The enum numeric value on the wire for deviceType to set. * @return This builder for chaining. */ public Builder setDeviceTypeValue(int value) { - + deviceType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.DeviceInfo.DeviceType result = - com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null - ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.DeviceInfo.DeviceType result = com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @param value The deviceType to set. * @return This builder for chaining. */ @@ -830,24 +741,21 @@ public Builder setDeviceType(com.google.cloud.talent.v4.DeviceInfo.DeviceType va if (value == null) { throw new NullPointerException(); } - + deviceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return This builder for chaining. */ public Builder clearDeviceType() { - + deviceType_ = 0; onChanged(); return this; @@ -855,21 +763,19 @@ public Builder clearDeviceType() { private java.lang.Object id_ = ""; /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -878,22 +784,21 @@ public java.lang.String getId() { } } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -901,71 +806,64 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -975,12 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeviceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeviceInfo) private static final com.google.cloud.talent.v4.DeviceInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeviceInfo(); } @@ -989,27 +887,27 @@ public static com.google.cloud.talent.v4.DeviceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeviceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeviceInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1024,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeviceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java similarity index 61% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java index 552aded20b59..d9e3b12e249b 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java @@ -1,77 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface DeviceInfoOrBuilder - extends +public interface DeviceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeviceInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ int getDeviceTypeValue(); /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType(); /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java index 3a124a215e15..417f22f3c186 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * An enum that represents the employment type of a job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.EmploymentType} */ -public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { +public enum EmploymentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value if the employment type isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ EMPLOYMENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -50,8 +30,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FULL_TIME(1),
   /**
-   *
-   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -61,8 +39,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PART_TIME(2),
   /**
-   *
-   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -72,8 +48,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CONTRACTOR(3),
   /**
-   *
-   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -85,8 +59,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CONTRACT_TO_HIRE(4),
   /**
-   *
-   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -96,8 +68,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   TEMPORARY(5),
   /**
-   *
-   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -108,8 +78,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   INTERN(6),
   /**
-   *
-   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -119,8 +87,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   VOLUNTEER(7),
   /**
-   *
-   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -130,8 +96,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PER_DIEM(8),
   /**
-   *
-   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -142,8 +106,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FLY_IN_FLY_OUT(9),
   /**
-   *
-   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -155,8 +117,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the employment type isn't specified.
    * 
@@ -165,8 +125,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EMPLOYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -176,8 +134,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FULL_TIME_VALUE = 1;
   /**
-   *
-   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -187,8 +143,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PART_TIME_VALUE = 2;
   /**
-   *
-   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -198,8 +152,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CONTRACTOR_VALUE = 3;
   /**
-   *
-   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -211,8 +163,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CONTRACT_TO_HIRE_VALUE = 4;
   /**
-   *
-   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -222,8 +172,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TEMPORARY_VALUE = 5;
   /**
-   *
-   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -234,8 +182,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INTERN_VALUE = 6;
   /**
-   *
-   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -245,8 +191,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VOLUNTEER_VALUE = 7;
   /**
-   *
-   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -256,8 +200,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PER_DIEM_VALUE = 8;
   /**
-   *
-   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -268,8 +210,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FLY_IN_FLY_OUT_VALUE = 9;
   /**
-   *
-   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -278,6 +218,7 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_EMPLOYMENT_TYPE_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -302,65 +243,57 @@ public static EmploymentType valueOf(int value) { */ public static EmploymentType forNumber(int value) { switch (value) { - case 0: - return EMPLOYMENT_TYPE_UNSPECIFIED; - case 1: - return FULL_TIME; - case 2: - return PART_TIME; - case 3: - return CONTRACTOR; - case 4: - return CONTRACT_TO_HIRE; - case 5: - return TEMPORARY; - case 6: - return INTERN; - case 7: - return VOLUNTEER; - case 8: - return PER_DIEM; - case 9: - return FLY_IN_FLY_OUT; - case 10: - return OTHER_EMPLOYMENT_TYPE; - default: - return null; + case 0: return EMPLOYMENT_TYPE_UNSPECIFIED; + case 1: return FULL_TIME; + case 2: return PART_TIME; + case 3: return CONTRACTOR; + case 4: return CONTRACT_TO_HIRE; + case 5: return TEMPORARY; + case 6: return INTERN; + case 7: return VOLUNTEER; + case 8: return PER_DIEM; + case 9: return FLY_IN_FLY_OUT; + case 10: return OTHER_EMPLOYMENT_TYPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EmploymentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EmploymentType findValueByNumber(int number) { + return EmploymentType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EmploymentType findValueByNumber(int number) { - return EmploymentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(3); } private static final EmploymentType[] VALUES = values(); - public static EmploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EmploymentType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -376,3 +309,4 @@ private EmploymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.EmploymentType) } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java new file mode 100644 index 000000000000..f6ffb0fb3b5d --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java @@ -0,0 +1,89 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/event.proto + +package com.google.cloud.talent.v4; + +public final class EventProto { + private EventProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_ClientEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_JobEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/talent/v4/event.proto\022\026go" + + "ogle.cloud.talent.v4\032\037google/api/field_b" + + "ehavior.proto\032\037google/protobuf/timestamp" + + ".proto\"\303\001\n\013ClientEvent\022\022\n\nrequest_id\030\001 \001" + + "(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013create_time" + + "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "5\n\tjob_event\030\005 \001(\0132 .google.cloud.talent" + + ".v4.JobEventH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005e" + + "vent\"\340\003\n\010JobEvent\022@\n\004type\030\001 \001(\0162-.google" + + ".cloud.talent.v4.JobEvent.JobEventTypeB\003" + + "\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340A\002\"\376\002\n\014JobEventType\022" + + "\036\n\032JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE" + + "SSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021" + + "APPLICATION_START\020\004\022\026\n\022APPLICATION_FINIS" + + "H\020\005\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n" + + "\024APPLICATION_REDIRECT\020\007\022!\n\035APPLICATION_S" + + "TART_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRE" + + "CT_FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_" + + "SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014" + + "\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GR" + + "ANTED\020\017Bn\n\032com.google.cloud.talent.v4B\nE" + + "ventProtoP\001Z\n\014client_event\030\002 \001" + + "(\0132#.google.cloud.talent.v4.ClientEventB" + + "\003\340A\0022\305\002\n\014EventService\022\306\001\n\021CreateClientEv" + + "ent\0220.google.cloud.talent.v4.CreateClien" + + "tEventRequest\032#.google.cloud.talent.v4.C" + + "lientEvent\"Z\202\323\344\223\002>\"./v4/{parent=projects" + + "/*/tenants/*}/clientEvents:\014client_event" + + "\332A\023parent,client_event\032l\312A\023jobs.googleap" + + "is.com\322AShttps://www.googleapis.com/auth" + + "/cloud-platform,https://www.googleapis.c" + + "om/auth/jobsBu\n\032com.google.cloud.talent." + + "v4B\021EventServiceProtoP\001Z * Request for getting a company by name. *
* * Protobuf type {@code google.cloud.talent.v4.GetCompanyRequest} */ -public final class GetCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetCompanyRequest) GetCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCompanyRequest.newBuilder() to construct. private GetCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetCompanyRequest.class, - com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4.GetCompanyRequest.class, com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/api-test-project/tenants/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * example, "projects/api-test-project/tenants/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.GetCompanyRequest other = - (com.google.cloud.talent.v4.GetCompanyRequest) obj; + com.google.cloud.talent.v4.GetCompanyRequest other = (com.google.cloud.talent.v4.GetCompanyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.GetCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for getting a company by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetCompanyRequest) com.google.cloud.talent.v4.GetCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetCompanyRequest.class, - com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4.GetCompanyRequest.class, com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override @@ -350,8 +318,7 @@ public com.google.cloud.talent.v4.GetCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetCompanyRequest buildPartial() { - com.google.cloud.talent.v4.GetCompanyRequest result = - new com.google.cloud.talent.v4.GetCompanyRequest(this); + com.google.cloud.talent.v4.GetCompanyRequest result = new com.google.cloud.talent.v4.GetCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -361,39 +328,38 @@ public com.google.cloud.talent.v4.GetCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4.GetCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -432,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -466,16 +428,14 @@ public Builder mergeFrom(
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -484,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -493,17 +451,16 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -511,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -520,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -546,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -568,26 +514,24 @@ public Builder clearName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetCompanyRequest) private static final com.google.cloud.talent.v4.GetCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetCompanyRequest(); } @@ -611,27 +555,27 @@ public static com.google.cloud.talent.v4.GetCompanyRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java new file mode 100644 index 000000000000..84fa3c8c6777 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company_service.proto + +package com.google.cloud.talent.v4; + +public interface GetCompanyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetCompanyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the company to be retrieved.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/api-test-project/tenants/foo/companies/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the company to be retrieved.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/api-test-project/tenants/foo/companies/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java index 9aa0cfdf5830..9938f00d8c9d 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.GetJobRequest} */ -public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetJobRequest) GetJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetJobRequest.class, - com.google.cloud.talent.v4.GetJobRequest.Builder.class); + com.google.cloud.talent.v4.GetJobRequest.class, com.google.cloud.talent.v4.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -107,18 +82,17 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,14 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetJobRequest)) { return super.equals(obj); } com.google.cloud.talent.v4.GetJobRequest other = (com.google.cloud.talent.v4.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetJobRequest) com.google.cloud.talent.v4.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetJobRequest.class, - com.google.cloud.talent.v4.GetJobRequest.Builder.class); + com.google.cloud.talent.v4.GetJobRequest.class, com.google.cloud.talent.v4.GetJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -328,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override @@ -349,8 +318,7 @@ public com.google.cloud.talent.v4.GetJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetJobRequest buildPartial() { - com.google.cloud.talent.v4.GetJobRequest result = - new com.google.cloud.talent.v4.GetJobRequest(this); + com.google.cloud.talent.v4.GetJobRequest result = new com.google.cloud.talent.v4.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -360,39 +328,38 @@ public com.google.cloud.talent.v4.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -431,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -465,16 +428,14 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -483,8 +444,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -492,17 +451,16 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -510,8 +468,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -519,25 +475,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -545,21 +497,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -567,26 +514,24 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetJobRequest) private static final com.google.cloud.talent.v4.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetJobRequest(); } @@ -610,27 +555,27 @@ public static com.google.cloud.talent.v4.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java new file mode 100644 index 000000000000..ba7c61ed366f --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job_service.proto + +package com.google.cloud.talent.v4; + +public interface GetJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the job to retrieve.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the job to retrieve.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java index 2abcbdcc018d..8c912d688699 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Request for getting a tenant by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4.GetTenantRequest} */ -public final class GetTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetTenantRequest) GetTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTenantRequest.newBuilder() to construct. private GetTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetTenantRequest.class, - com.google.cloud.talent.v4.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4.GetTenantRequest.class, com.google.cloud.talent.v4.GetTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.GetTenantRequest other = - (com.google.cloud.talent.v4.GetTenantRequest) obj; + com.google.cloud.talent.v4.GetTenantRequest other = (com.google.cloud.talent.v4.GetTenantRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.GetTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for getting a tenant by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetTenantRequest) com.google.cloud.talent.v4.GetTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetTenantRequest.class, - com.google.cloud.talent.v4.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4.GetTenantRequest.class, com.google.cloud.talent.v4.GetTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.talent.v4.GetTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetTenantRequest buildPartial() { - com.google.cloud.talent.v4.GetTenantRequest result = - new com.google.cloud.talent.v4.GetTenantRequest(this); + com.google.cloud.talent.v4.GetTenantRequest result = new com.google.cloud.talent.v4.GetTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.talent.v4.GetTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4.GetTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -430,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -481,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -507,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetTenantRequest) private static final com.google.cloud.talent.v4.GetTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetTenantRequest(); } @@ -604,27 +548,27 @@ public static com.google.cloud.talent.v4.GetTenantRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java new file mode 100644 index 000000000000..2d4022936340 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant_service.proto + +package com.google.cloud.talent.v4; + +public interface GetTenantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java new file mode 100644 index 000000000000..c4baba96311b --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java @@ -0,0 +1,78 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/histogram.proto + +package com.google.cloud.talent.v4; + +public final class HistogramProto { + private HistogramProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/talent/v4/histogram.proto" + + "\022\026google.cloud.talent.v4\")\n\016HistogramQue" + + "ry\022\027\n\017histogram_query\030\001 \001(\t\"\261\001\n\024Histogra" + + "mQueryResult\022\027\n\017histogram_query\030\001 \001(\t\022N\n" + + "\thistogram\030\002 \003(\0132;.google.cloud.talent.v" + + "4.HistogramQueryResult.HistogramEntry\0320\n" + + "\016HistogramEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\003:\0028\001Br\n\032com.google.cloud.talent.v4B\016H" + + "istogramProtoP\001Z * The histogram request. *
* * Protobuf type {@code google.cloud.talent.v4.HistogramQuery} */ -public final class HistogramQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HistogramQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.HistogramQuery) HistogramQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HistogramQuery.newBuilder() to construct. private HistogramQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HistogramQuery() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HistogramQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQuery.class, - com.google.cloud.talent.v4.HistogramQuery.Builder.class); + com.google.cloud.talent.v4.HistogramQuery.class, com.google.cloud.talent.v4.HistogramQuery.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** - * - * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -79,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ @java.lang.Override @@ -88,15 +66,14 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** - * - * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -104,15 +81,16 @@ public java.lang.String getHistogramQuery() {
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -121,7 +99,6 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_); } @@ -157,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.HistogramQuery)) { return super.equals(obj); } - com.google.cloud.talent.v4.HistogramQuery other = - (com.google.cloud.talent.v4.HistogramQuery) obj; + com.google.cloud.talent.v4.HistogramQuery other = (com.google.cloud.talent.v4.HistogramQuery) obj; - if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; + if (!getHistogramQuery() + .equals(other.getHistogramQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.HistogramQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The histogram request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.HistogramQuery) com.google.cloud.talent.v4.HistogramQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQuery.class, - com.google.cloud.talent.v4.HistogramQuery.Builder.class); + com.google.cloud.talent.v4.HistogramQuery.class, com.google.cloud.talent.v4.HistogramQuery.Builder.class); } // Construct using com.google.cloud.talent.v4.HistogramQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override @@ -344,8 +316,7 @@ public com.google.cloud.talent.v4.HistogramQuery build() { @java.lang.Override public com.google.cloud.talent.v4.HistogramQuery buildPartial() { - com.google.cloud.talent.v4.HistogramQuery result = - new com.google.cloud.talent.v4.HistogramQuery(this); + com.google.cloud.talent.v4.HistogramQuery result = new com.google.cloud.talent.v4.HistogramQuery(this); result.histogramQuery_ = histogramQuery_; onBuilt(); return result; @@ -355,39 +326,38 @@ public com.google.cloud.talent.v4.HistogramQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.HistogramQuery) { - return mergeFrom((com.google.cloud.talent.v4.HistogramQuery) other); + return mergeFrom((com.google.cloud.talent.v4.HistogramQuery)other); } else { super.mergeFrom(other); return this; @@ -426,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,8 +419,6 @@ public Builder mergeFrom( private java.lang.Object histogramQuery_ = ""; /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -460,13 +426,13 @@ public Builder mergeFrom(
      * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -475,8 +441,6 @@ public java.lang.String getHistogramQuery() { } } /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -484,14 +448,15 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -499,8 +464,6 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } } /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -508,22 +471,20 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() {
      * 
* * string histogram_query = 1; - * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery(java.lang.String value) { + public Builder setHistogramQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -531,18 +492,15 @@ public Builder setHistogramQuery(java.lang.String value) {
      * 
* * string histogram_query = 1; - * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** - * - * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -550,23 +508,23 @@ public Builder clearHistogramQuery() {
      * 
* * string histogram_query = 1; - * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -576,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.HistogramQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.HistogramQuery) private static final com.google.cloud.talent.v4.HistogramQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.HistogramQuery(); } @@ -590,27 +548,27 @@ public static com.google.cloud.talent.v4.HistogramQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HistogramQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HistogramQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -625,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.HistogramQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java similarity index 57% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java index 727e04853f37..69ae1c2042f3 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/histogram.proto package com.google.cloud.talent.v4; -public interface HistogramQueryOrBuilder - extends +public interface HistogramQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.HistogramQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -33,13 +15,10 @@ public interface HistogramQueryOrBuilder
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** - * - * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -47,8 +26,8 @@ public interface HistogramQueryOrBuilder
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString getHistogramQueryBytes(); + com.google.protobuf.ByteString + getHistogramQueryBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java similarity index 66% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java index 908ac2d74f63..f89d54037029 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java @@ -1,94 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/histogram.proto package com.google.cloud.talent.v4; /** - * - * *
  * Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
  * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQueryResult} */ -public final class HistogramQueryResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HistogramQueryResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.HistogramQueryResult) HistogramQueryResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HistogramQueryResult.newBuilder() to construct. private HistogramQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HistogramQueryResult() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HistogramQueryResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQueryResult.class, - com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4.HistogramQueryResult.class, com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ @java.lang.Override @@ -97,29 +76,29 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -128,23 +107,24 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } public static final int HISTOGRAM_FIELD_NUMBER = 2; - private static final class HistogramDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - - private com.google.protobuf.MapField histogram_; - - private com.google.protobuf.MapField internalGetHistogram() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Long> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> histogram_; + private com.google.protobuf.MapField + internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } @@ -153,8 +133,6 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** - * - * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -168,22 +146,22 @@ public int getHistogramCount() {
    *
    * map<string, int64> histogram = 2;
    */
+
   @java.lang.Override
-  public boolean containsHistogram(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHistogram(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHistogram().getMap().containsKey(key);
   }
-  /** Use {@link #getHistogramMap()} instead. */
+  /**
+   * Use {@link #getHistogramMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHistogram() {
     return getHistogramMap();
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -198,12 +176,11 @@ public java.util.Map getHistogram() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
+
   public java.util.Map getHistogramMap() {
     return internalGetHistogram().getMap();
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -218,16 +195,16 @@ public java.util.Map getHistogramMap() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-  public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHistogram().getMap();
+
+  public long getHistogramOrDefault(
+      java.lang.String key,
+      long defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHistogram().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -242,11 +219,12 @@ public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-  public long getHistogramOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHistogram().getMap();
+
+  public long getHistogramOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHistogram().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -254,7 +232,6 @@ public long getHistogramOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -266,12 +243,17 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHistogram(), HistogramDefaultEntryHolder.defaultEntry, 2);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHistogram(),
+        HistogramDefaultEntryHolder.defaultEntry,
+        2);
     getUnknownFields().writeTo(output);
   }
 
@@ -284,15 +266,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, histogramQuery_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHistogram().getMap().entrySet()) {
-      com.google.protobuf.MapEntry histogram__ =
-          HistogramDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, histogram__);
+    for (java.util.Map.Entry entry
+         : internalGetHistogram().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      histogram__ = HistogramDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, histogram__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -302,16 +284,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.HistogramQueryResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.HistogramQueryResult other =
-        (com.google.cloud.talent.v4.HistogramQueryResult) obj;
+    com.google.cloud.talent.v4.HistogramQueryResult other = (com.google.cloud.talent.v4.HistogramQueryResult) obj;
 
-    if (!getHistogramQuery().equals(other.getHistogramQuery())) return false;
-    if (!internalGetHistogram().equals(other.internalGetHistogram())) return false;
+    if (!getHistogramQuery()
+        .equals(other.getHistogramQuery())) return false;
+    if (!internalGetHistogram().equals(
+        other.internalGetHistogram())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -334,156 +317,152 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.HistogramQueryResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
    * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQueryResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.HistogramQueryResult) com.google.cloud.talent.v4.HistogramQueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 2: return internalGetMutableHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQueryResult.class, - com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4.HistogramQueryResult.class, com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); } // Construct using com.google.cloud.talent.v4.HistogramQueryResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.HistogramProto - .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @java.lang.Override @@ -515,8 +494,7 @@ public com.google.cloud.talent.v4.HistogramQueryResult build() { @java.lang.Override public com.google.cloud.talent.v4.HistogramQueryResult buildPartial() { - com.google.cloud.talent.v4.HistogramQueryResult result = - new com.google.cloud.talent.v4.HistogramQueryResult(this); + com.google.cloud.talent.v4.HistogramQueryResult result = new com.google.cloud.talent.v4.HistogramQueryResult(this); int from_bitField0_ = bitField0_; result.histogramQuery_ = histogramQuery_; result.histogram_ = internalGetHistogram(); @@ -529,39 +507,38 @@ public com.google.cloud.talent.v4.HistogramQueryResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.HistogramQueryResult) { - return mergeFrom((com.google.cloud.talent.v4.HistogramQueryResult) other); + return mergeFrom((com.google.cloud.talent.v4.HistogramQueryResult)other); } else { super.mergeFrom(other); return this; @@ -569,13 +546,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.HistogramQueryResult other) { - if (other == com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()) return this; if (!other.getHistogramQuery().isEmpty()) { histogramQuery_ = other.histogramQuery_; onChanged(); } - internalGetMutableHistogram().mergeFrom(other.internalGetHistogram()); + internalGetMutableHistogram().mergeFrom( + other.internalGetHistogram()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -602,30 +579,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - com.google.protobuf.MapEntry histogram__ = - input.readMessage( - HistogramDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableHistogram() - .getMutableMap() - .put(histogram__.getKey(), histogram__.getValue()); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + histogram__ = input.readMessage( + HistogramDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableHistogram().getMutableMap().put( + histogram__.getKey(), histogram__.getValue()); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,25 +607,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object histogramQuery_ = ""; /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -662,21 +631,20 @@ public java.lang.String getHistogramQuery() { } } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -684,82 +652,75 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery(java.lang.String value) { + public Builder setHistogramQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - private com.google.protobuf.MapField histogram_; - - private com.google.protobuf.MapField internalGetHistogram() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> histogram_; + private com.google.protobuf.MapField + internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } - private com.google.protobuf.MapField - internalGetMutableHistogram() { - onChanged(); - ; + internalGetMutableHistogram() { + onChanged();; if (histogram_ == null) { - histogram_ = - com.google.protobuf.MapField.newMapField(HistogramDefaultEntryHolder.defaultEntry); + histogram_ = com.google.protobuf.MapField.newMapField( + HistogramDefaultEntryHolder.defaultEntry); } if (!histogram_.isMutable()) { histogram_ = histogram_.copy(); @@ -771,8 +732,6 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** - * - * *
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -786,22 +745,22 @@ public int getHistogramCount() {
      *
      * map<string, int64> histogram = 2;
      */
+
     @java.lang.Override
-    public boolean containsHistogram(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHistogram(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHistogram().getMap().containsKey(key);
     }
-    /** Use {@link #getHistogramMap()} instead. */
+    /**
+     * Use {@link #getHistogramMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHistogram() {
       return getHistogramMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -816,12 +775,11 @@ public java.util.Map getHistogram() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
+
     public java.util.Map getHistogramMap() {
       return internalGetHistogram().getMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -836,16 +794,16 @@ public java.util.Map getHistogramMap() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-    public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHistogram().getMap();
+
+    public long getHistogramOrDefault(
+        java.lang.String key,
+        long defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHistogram().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -860,11 +818,12 @@ public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-    public long getHistogramOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHistogram().getMap();
+
+    public long getHistogramOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHistogram().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -872,12 +831,11 @@ public long getHistogramOrThrow(java.lang.String key) {
     }
 
     public Builder clearHistogram() {
-      internalGetMutableHistogram().getMutableMap().clear();
+      internalGetMutableHistogram().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -891,21 +849,23 @@ public Builder clearHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder removeHistogram(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHistogram().getMutableMap().remove(key);
+
+    public Builder removeHistogram(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHistogram().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHistogram() {
+    public java.util.Map
+    getMutableHistogram() {
       return internalGetMutableHistogram().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -919,17 +879,16 @@ public java.util.Map getMutableHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putHistogram(java.lang.String key, long value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-
-      internalGetMutableHistogram().getMutableMap().put(key, value);
+    public Builder putHistogram(
+        java.lang.String key,
+        long value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      
+      internalGetMutableHistogram().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -943,13 +902,16 @@ public Builder putHistogram(java.lang.String key, long value) {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putAllHistogram(java.util.Map values) {
-      internalGetMutableHistogram().getMutableMap().putAll(values);
+
+    public Builder putAllHistogram(
+        java.util.Map values) {
+      internalGetMutableHistogram().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -959,12 +921,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.HistogramQueryResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.HistogramQueryResult)
   private static final com.google.cloud.talent.v4.HistogramQueryResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.HistogramQueryResult();
   }
@@ -973,27 +935,27 @@ public static com.google.cloud.talent.v4.HistogramQueryResult getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HistogramQueryResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HistogramQueryResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1008,4 +970,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.HistogramQueryResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
similarity index 76%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
index ae90b9fda831..f8c98f0bffd0 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
@@ -1,56 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/histogram.proto
 
 package com.google.cloud.talent.v4;
 
-public interface HistogramQueryResultOrBuilder
-    extends
+public interface HistogramQueryResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.HistogramQueryResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString getHistogramQueryBytes(); + com.google.protobuf.ByteString + getHistogramQueryBytes(); /** - * - * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -66,8 +43,6 @@ public interface HistogramQueryResultOrBuilder
    */
   int getHistogramCount();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -81,13 +56,15 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  boolean containsHistogram(java.lang.String key);
-  /** Use {@link #getHistogramMap()} instead. */
+  boolean containsHistogram(
+      java.lang.String key);
+  /**
+   * Use {@link #getHistogramMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHistogram();
+  java.util.Map
+  getHistogram();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -101,10 +78,9 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  java.util.Map getHistogramMap();
+  java.util.Map
+  getHistogramMap();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -118,10 +94,11 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  long getHistogramOrDefault(java.lang.String key, long defaultValue);
+
+  long getHistogramOrDefault(
+      java.lang.String key,
+      long defaultValue);
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -135,5 +112,7 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  long getHistogramOrThrow(java.lang.String key);
+
+  long getHistogramOrThrow(
+      java.lang.String key);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
similarity index 68%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
index f5af53b7f624..d98dd1681fb1 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Option for HTML content sanitization on user input fields, for example, job
  * description. By setting this option, user can determine whether and how
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.HtmlSanitization}
  */
-public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum {
+public enum HtmlSanitization
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +23,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ HTML_SANITIZATION_UNSPECIFIED(0), /** - * - * *
    * Disables sanitization on HTML input.
    * 
@@ -51,8 +31,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ HTML_SANITIZATION_DISABLED(1), /** - * - * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -65,8 +43,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -75,8 +51,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTML_SANITIZATION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Disables sanitization on HTML input.
    * 
@@ -85,8 +59,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTML_SANITIZATION_DISABLED_VALUE = 1; /** - * - * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -96,6 +68,7 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int SIMPLE_FORMATTING_ONLY_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,49 +93,49 @@ public static HtmlSanitization valueOf(int value) {
    */
   public static HtmlSanitization forNumber(int value) {
     switch (value) {
-      case 0:
-        return HTML_SANITIZATION_UNSPECIFIED;
-      case 1:
-        return HTML_SANITIZATION_DISABLED;
-      case 2:
-        return SIMPLE_FORMATTING_ONLY;
-      default:
-        return null;
+      case 0: return HTML_SANITIZATION_UNSPECIFIED;
+      case 1: return HTML_SANITIZATION_DISABLED;
+      case 2: return SIMPLE_FORMATTING_ONLY;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public HtmlSanitization findValueByNumber(int number) {
-          return HtmlSanitization.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      HtmlSanitization> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public HtmlSanitization findValueByNumber(int number) {
+            return HtmlSanitization.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(8);
   }
 
   private static final HtmlSanitization[] VALUES = values();
 
-  public static HtmlSanitization valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static HtmlSanitization valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -178,3 +151,4 @@ private HtmlSanitization(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.HtmlSanitization)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
similarity index 80%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
index a36676256b17..5bd28bae49e5 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * A Job resource represents a job posting (also referred to as a "job listing"
  * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4.Company], which is the hiring
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Job}
  */
-public final class Job extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Job extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job)
     JobOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Job() {
     name_ = "";
     company_ = "";
@@ -62,48 +44,46 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.JobProto
-        .internal_static_google_cloud_talent_v4_Job_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 10:
         return internalGetCustomAttributes();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobProto
-        .internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.talent.v4.Job.class, com.google.cloud.talent.v4.Job.Builder.class);
   }
 
-  public interface ApplicationInfoOrBuilder
-      extends
+  public interface ApplicationInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.ApplicationInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -111,13 +91,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - java.util.List getEmailsList(); + java.util.List + getEmailsList(); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -125,13 +103,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @return The count of emails. */ int getEmailsCount(); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -139,14 +114,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ java.lang.String getEmails(int index); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -154,15 +126,13 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - com.google.protobuf.ByteString getEmailsBytes(int index); + com.google.protobuf.ByteString + getEmailsBytes(int index); /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -172,13 +142,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * string instruction = 2; - * * @return The instruction. */ java.lang.String getInstruction(); /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -188,14 +155,12 @@ public interface ApplicationInfoOrBuilder
      * 
* * string instruction = 2; - * * @return The bytes for instruction. */ - com.google.protobuf.ByteString getInstructionBytes(); + com.google.protobuf.ByteString + getInstructionBytes(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -203,13 +168,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -217,13 +180,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -231,14 +191,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -246,31 +203,28 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); } /** - * - * *
    * Application related details of a job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ApplicationInfo} */ - public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ApplicationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.ApplicationInfo) ApplicationInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplicationInfo.newBuilder() to construct. private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ApplicationInfo() { emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; instruction_ = ""; @@ -279,35 +233,32 @@ private ApplicationInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ApplicationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ApplicationInfo.class, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4.Job.ApplicationInfo.class, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); } public static final int EMAILS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList emails_; /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -315,15 +266,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList getEmailsList() { + public com.google.protobuf.ProtocolStringList + getEmailsList() { return emails_; } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -331,15 +280,12 @@ public com.google.protobuf.ProtocolStringList getEmailsList() {
      * 
* * repeated string emails = 1; - * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -347,7 +293,6 @@ public int getEmailsCount() {
      * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -355,8 +300,6 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -364,19 +307,17 @@ public java.lang.String getEmails(int index) {
      * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString getEmailsBytes(int index) { + public com.google.protobuf.ByteString + getEmailsBytes(int index) { return emails_.getByteString(index); } public static final int INSTRUCTION_FIELD_NUMBER = 2; private volatile java.lang.Object instruction_; /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -386,7 +327,6 @@ public com.google.protobuf.ByteString getEmailsBytes(int index) {
      * 
* * string instruction = 2; - * * @return The instruction. */ @java.lang.Override @@ -395,15 +335,14 @@ public java.lang.String getInstruction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; } } /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -413,15 +352,16 @@ public java.lang.String getInstruction() {
      * 
* * string instruction = 2; - * * @return The bytes for instruction. */ @java.lang.Override - public com.google.protobuf.ByteString getInstructionBytes() { + public com.google.protobuf.ByteString + getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instruction_ = b; return b; } else { @@ -432,8 +372,6 @@ public com.google.protobuf.ByteString getInstructionBytes() { public static final int URIS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uris_; /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -441,15 +379,13 @@ public com.google.protobuf.ByteString getInstructionBytes() {
      * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -457,15 +393,12 @@ public com.google.protobuf.ProtocolStringList getUrisList() {
      * 
* * repeated string uris = 3; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -473,7 +406,6 @@ public int getUrisCount() {
      * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -481,8 +413,6 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -490,16 +420,15 @@ public java.lang.String getUris(int index) {
      * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -511,7 +440,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < emails_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i)); } @@ -557,17 +487,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.ApplicationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.ApplicationInfo other = - (com.google.cloud.talent.v4.Job.ApplicationInfo) obj; + com.google.cloud.talent.v4.Job.ApplicationInfo other = (com.google.cloud.talent.v4.Job.ApplicationInfo) obj; - if (!getEmailsList().equals(other.getEmailsList())) return false; - if (!getInstruction().equals(other.getInstruction())) return false; - if (!getUrisList().equals(other.getUrisList())) return false; + if (!getEmailsList() + .equals(other.getEmailsList())) return false; + if (!getInstruction() + .equals(other.getInstruction())) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -594,94 +526,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Job.ApplicationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -691,41 +617,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Application related details of a job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ApplicationInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.ApplicationInfo) com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ApplicationInfo.class, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4.Job.ApplicationInfo.class, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -739,9 +663,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override @@ -760,8 +684,7 @@ public com.google.cloud.talent.v4.Job.ApplicationInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Job.ApplicationInfo buildPartial() { - com.google.cloud.talent.v4.Job.ApplicationInfo result = - new com.google.cloud.talent.v4.Job.ApplicationInfo(this); + com.google.cloud.talent.v4.Job.ApplicationInfo result = new com.google.cloud.talent.v4.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); @@ -782,41 +705,38 @@ public com.google.cloud.talent.v4.Job.ApplicationInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.ApplicationInfo) { - return mergeFrom((com.google.cloud.talent.v4.Job.ApplicationInfo) other); + return mergeFrom((com.google.cloud.talent.v4.Job.ApplicationInfo)other); } else { super.mergeFrom(other); return this; @@ -824,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Job.ApplicationInfo other) { - if (other == com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance()) return this; if (!other.emails_.isEmpty()) { if (emails_.isEmpty()) { emails_ = other.emails_; @@ -876,33 +795,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmailsIsMutable(); - emails_.add(s); - break; - } // case 10 - case 18: - { - instruction_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmailsIsMutable(); + emails_.add(s); + break; + } // case 10 + case 18: { + instruction_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -912,21 +827,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList emails_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEmailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -934,15 +844,13 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList getEmailsList() { + public com.google.protobuf.ProtocolStringList + getEmailsList() { return emails_.getUnmodifiableView(); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -950,15 +858,12 @@ public com.google.protobuf.ProtocolStringList getEmailsList() {
        * 
* * repeated string emails = 1; - * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -966,7 +871,6 @@ public int getEmailsCount() {
        * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -974,8 +878,6 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -983,16 +885,14 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString getEmailsBytes(int index) { + public com.google.protobuf.ByteString + getEmailsBytes(int index) { return emails_.getByteString(index); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1000,23 +900,21 @@ public com.google.protobuf.ByteString getEmailsBytes(int index) {
        * 
* * repeated string emails = 1; - * * @param index The index to set the value at. * @param value The emails to set. * @return This builder for chaining. */ - public Builder setEmails(int index, java.lang.String value) { + public Builder setEmails( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.set(index, value); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1024,22 +922,20 @@ public Builder setEmails(int index, java.lang.String value) {
        * 
* * repeated string emails = 1; - * * @param value The emails to add. * @return This builder for chaining. */ - public Builder addEmails(java.lang.String value) { + public Builder addEmails( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.add(value); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1047,19 +943,18 @@ public Builder addEmails(java.lang.String value) {
        * 
* * repeated string emails = 1; - * * @param values The emails to add. * @return This builder for chaining. */ - public Builder addAllEmails(java.lang.Iterable values) { + public Builder addAllEmails( + java.lang.Iterable values) { ensureEmailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, emails_); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1067,7 +962,6 @@ public Builder addAllEmails(java.lang.Iterable values) {
        * 
* * repeated string emails = 1; - * * @return This builder for chaining. */ public Builder clearEmails() { @@ -1077,8 +971,6 @@ public Builder clearEmails() { return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1086,15 +978,15 @@ public Builder clearEmails() {
        * 
* * repeated string emails = 1; - * * @param value The bytes of the emails to add. * @return This builder for chaining. */ - public Builder addEmailsBytes(com.google.protobuf.ByteString value) { + public Builder addEmailsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEmailsIsMutable(); emails_.add(value); onChanged(); @@ -1103,8 +995,6 @@ public Builder addEmailsBytes(com.google.protobuf.ByteString value) { private java.lang.Object instruction_ = ""; /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1114,13 +1004,13 @@ public Builder addEmailsBytes(com.google.protobuf.ByteString value) {
        * 
* * string instruction = 2; - * * @return The instruction. */ public java.lang.String getInstruction() { java.lang.Object ref = instruction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; @@ -1129,8 +1019,6 @@ public java.lang.String getInstruction() { } } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1140,14 +1028,15 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; - * * @return The bytes for instruction. */ - public com.google.protobuf.ByteString getInstructionBytes() { + public com.google.protobuf.ByteString + getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instruction_ = b; return b; } else { @@ -1155,8 +1044,6 @@ public com.google.protobuf.ByteString getInstructionBytes() { } } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1166,22 +1053,20 @@ public com.google.protobuf.ByteString getInstructionBytes() {
        * 
* * string instruction = 2; - * * @param value The instruction to set. * @return This builder for chaining. */ - public Builder setInstruction(java.lang.String value) { + public Builder setInstruction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instruction_ = value; onChanged(); return this; } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1191,18 +1076,15 @@ public Builder setInstruction(java.lang.String value) {
        * 
* * string instruction = 2; - * * @return This builder for chaining. */ public Builder clearInstruction() { - + instruction_ = getDefaultInstance().getInstruction(); onChanged(); return this; } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1212,33 +1094,29 @@ public Builder clearInstruction() {
        * 
* * string instruction = 2; - * * @param value The bytes for instruction to set. * @return This builder for chaining. */ - public Builder setInstructionBytes(com.google.protobuf.ByteString value) { + public Builder setInstructionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instruction_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1246,15 +1124,13 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1262,15 +1138,12 @@ public com.google.protobuf.ProtocolStringList getUrisList() {
        * 
* * repeated string uris = 3; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1278,7 +1151,6 @@ public int getUrisCount() {
        * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -1286,8 +1158,6 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1295,16 +1165,14 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1312,23 +1180,21 @@ public com.google.protobuf.ByteString getUrisBytes(int index) {
        * 
* * repeated string uris = 3; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1336,22 +1202,20 @@ public Builder setUris(int index, java.lang.String value) {
        * 
* * repeated string uris = 3; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1359,19 +1223,18 @@ public Builder addUris(java.lang.String value) {
        * 
* * repeated string uris = 3; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1379,7 +1242,6 @@ public Builder addAllUris(java.lang.Iterable values) {
        * 
* * repeated string uris = 3; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -1389,8 +1251,6 @@ public Builder clearUris() { return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1398,21 +1258,20 @@ public Builder clearUris() {
        * 
* * repeated string uris = 3; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1425,12 +1284,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.ApplicationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.ApplicationInfo) private static final com.google.cloud.talent.v4.Job.ApplicationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.ApplicationInfo(); } @@ -1439,28 +1298,27 @@ public static com.google.cloud.talent.v4.Job.ApplicationInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplicationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplicationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1475,16 +1333,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.ApplicationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DerivedInfoOrBuilder - extends + public interface DerivedInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.DerivedInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1493,10 +1349,9 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    java.util.List getLocationsList();
+    java.util.List 
+        getLocationsList();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1507,8 +1362,6 @@ public interface DerivedInfoOrBuilder
      */
     com.google.cloud.talent.v4.Location getLocations(int index);
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1519,8 +1372,6 @@ public interface DerivedInfoOrBuilder
      */
     int getLocationsCount();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1529,11 +1380,9 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    java.util.List
+    java.util.List 
         getLocationsOrBuilderList();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1542,90 +1391,74 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index);
+    com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4.JobCategory getJobCategories(int index); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List getJobCategoriesValueList(); + java.util.List + getJobCategoriesValueList(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); } /** - * - * *
    * Derived details about the job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.DerivedInfo} */ - public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DerivedInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DerivedInfo() { locations_ = java.util.Collections.emptyList(); jobCategories_ = java.util.Collections.emptyList(); @@ -1633,35 +1466,32 @@ private DerivedInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.DerivedInfo.class, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Job.DerivedInfo.class, com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** - * - * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1675,8 +1505,6 @@ public java.util.List getLocationsList() {
       return locations_;
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1686,13 +1514,11 @@ public java.util.List getLocationsList() {
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getLocationsOrBuilderList() {
       return locations_;
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1706,8 +1532,6 @@ public int getLocationsCount() {
       return locations_.size();
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1721,8 +1545,6 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
       return locations_.get(index);
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1732,52 +1554,42 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
+        int index) {
       return locations_.get(index);
     }
 
     public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
     private java.util.List jobCategories_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.cloud.talent.v4.JobCategory>
-        jobCategories_converter_ =
+        java.lang.Integer, com.google.cloud.talent.v4.JobCategory> jobCategories_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.cloud.talent.v4.JobCategory>() {
               public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.talent.v4.JobCategory result =
-                    com.google.cloud.talent.v4.JobCategory.valueOf(from);
-                return result == null
-                    ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED
-                    : result;
+                com.google.cloud.talent.v4.JobCategory result = com.google.cloud.talent.v4.JobCategory.valueOf(from);
+                return result == null ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ @java.lang.Override @@ -1785,14 +1597,11 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -1801,29 +1610,24 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return jobCategories_; } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -1831,11 +1635,9 @@ public java.util.List getJobCategoriesValueList() { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } - private int jobCategoriesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1847,7 +1649,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); @@ -1869,20 +1672,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, locations_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobCategoriesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1892,15 +1695,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.DerivedInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.DerivedInfo other = - (com.google.cloud.talent.v4.Job.DerivedInfo) obj; + com.google.cloud.talent.v4.Job.DerivedInfo other = (com.google.cloud.talent.v4.Job.DerivedInfo) obj; - if (!getLocationsList().equals(other.getLocationsList())) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1926,94 +1729,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Job.DerivedInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2023,41 +1820,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Derived details about the job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.DerivedInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.DerivedInfo) com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.DerivedInfo.class, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Job.DerivedInfo.class, com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2074,9 +1869,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override @@ -2095,8 +1890,7 @@ public com.google.cloud.talent.v4.Job.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfo buildPartial() { - com.google.cloud.talent.v4.Job.DerivedInfo result = - new com.google.cloud.talent.v4.Job.DerivedInfo(this); + com.google.cloud.talent.v4.Job.DerivedInfo result = new com.google.cloud.talent.v4.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2120,41 +1914,38 @@ public com.google.cloud.talent.v4.Job.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4.Job.DerivedInfo) other); + return mergeFrom((com.google.cloud.talent.v4.Job.DerivedInfo)other); } else { super.mergeFrom(other); return this; @@ -2181,10 +1972,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.Job.DerivedInfo other) { locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); - locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationsFieldBuilder() - : null; + locationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationsFieldBuilder() : null; } else { locationsBuilder_.addAllMessages(other.locations_); } @@ -2226,45 +2016,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.Location m = - input.readMessage( - com.google.cloud.talent.v4.Location.parser(), extensionRegistry); - if (locationsBuilder_ == null) { - ensureLocationsIsMutable(); - locations_.add(m); - } else { - locationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 24: - { + case 10: { + com.google.cloud.talent.v4.Location m = + input.readMessage( + com.google.cloud.talent.v4.Location.parser(), + extensionRegistry); + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(m); + } else { + locationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 24: { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - break; - } // case 24 - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2274,28 +2061,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List locations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> - locationsBuilder_; + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> locationsBuilder_; /** - * - * *
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2312,8 +2092,6 @@ public java.util.List getLocationsList() {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2330,8 +2108,6 @@ public int getLocationsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2348,8 +2124,6 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2358,7 +2132,8 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder setLocations(int index, com.google.cloud.talent.v4.Location value) {
+      public Builder setLocations(
+          int index, com.google.cloud.talent.v4.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2372,8 +2147,6 @@ public Builder setLocations(int index, com.google.cloud.talent.v4.Location value
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2394,8 +2167,6 @@ public Builder setLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2418,8 +2189,6 @@ public Builder addLocations(com.google.cloud.talent.v4.Location value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2428,7 +2197,8 @@ public Builder addLocations(com.google.cloud.talent.v4.Location value) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder addLocations(int index, com.google.cloud.talent.v4.Location value) {
+      public Builder addLocations(
+          int index, com.google.cloud.talent.v4.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2442,8 +2212,6 @@ public Builder addLocations(int index, com.google.cloud.talent.v4.Location value
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2452,7 +2220,8 @@ public Builder addLocations(int index, com.google.cloud.talent.v4.Location value
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder addLocations(com.google.cloud.talent.v4.Location.Builder builderForValue) {
+      public Builder addLocations(
+          com.google.cloud.talent.v4.Location.Builder builderForValue) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
           locations_.add(builderForValue.build());
@@ -2463,8 +2232,6 @@ public Builder addLocations(com.google.cloud.talent.v4.Location.Builder builderF
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2485,8 +2252,6 @@ public Builder addLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2499,7 +2264,8 @@ public Builder addAllLocations(
           java.lang.Iterable values) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, locations_);
           onChanged();
         } else {
           locationsBuilder_.addAllMessages(values);
@@ -2507,8 +2273,6 @@ public Builder addAllLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2528,8 +2292,6 @@ public Builder clearLocations() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2549,8 +2311,6 @@ public Builder removeLocations(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2559,12 +2319,11 @@ public Builder removeLocations(int index) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(int index) {
+      public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(
+          int index) {
         return getLocationsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2573,16 +2332,14 @@ public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(int index
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index) {
+      public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
+          int index) {
         if (locationsBuilder_ == null) {
-          return locations_.get(index);
-        } else {
+          return locations_.get(index);  } else {
           return locationsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2591,8 +2348,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int in
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public java.util.List
-          getLocationsOrBuilderList() {
+      public java.util.List 
+           getLocationsOrBuilderList() {
         if (locationsBuilder_ != null) {
           return locationsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2600,8 +2357,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int in
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2611,12 +2366,10 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int in
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
       public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder() {
-        return getLocationsFieldBuilder()
-            .addBuilder(com.google.cloud.talent.v4.Location.getDefaultInstance());
+        return getLocationsFieldBuilder().addBuilder(
+            com.google.cloud.talent.v4.Location.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2625,13 +2378,12 @@ public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder() {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(int index) {
-        return getLocationsFieldBuilder()
-            .addBuilder(index, com.google.cloud.talent.v4.Location.getDefaultInstance());
+      public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(
+          int index) {
+        return getLocationsFieldBuilder().addBuilder(
+            index, com.google.cloud.talent.v4.Location.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2640,29 +2392,27 @@ public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(int index
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public java.util.List getLocationsBuilderList() {
+      public java.util.List 
+           getLocationsBuilderList() {
         return getLocationsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.talent.v4.Location,
-              com.google.cloud.talent.v4.Location.Builder,
-              com.google.cloud.talent.v4.LocationOrBuilder>
+          com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
           getLocationsFieldBuilder() {
         if (locationsBuilder_ == null) {
-          locationsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.talent.v4.Location,
-                  com.google.cloud.talent.v4.Location.Builder,
-                  com.google.cloud.talent.v4.LocationOrBuilder>(
-                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
+                  locations_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           locations_ = null;
         }
         return locationsBuilder_;
       }
 
-      private java.util.List jobCategories_ = java.util.Collections.emptyList();
-
+      private java.util.List jobCategories_ =
+        java.util.Collections.emptyList();
       private void ensureJobCategoriesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2670,44 +2420,34 @@ private void ensureJobCategoriesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2715,19 +2455,17 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategory value) { + public Builder setJobCategories( + int index, com.google.cloud.talent.v4.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2737,14 +2475,11 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategor return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2758,14 +2493,11 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2779,14 +2511,11 @@ public Builder addAllJobCategories( return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2796,28 +2525,23 @@ public Builder clearJobCategories() { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2825,33 +2549,28 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue(int index, int value) { + public Builder setJobCategoriesValue( + int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -2862,18 +2581,16 @@ public Builder addJobCategoriesValue(int value) { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; - * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue(java.lang.Iterable values) { + public Builder addAllJobCategoriesValue( + java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -2881,7 +2598,6 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2894,12 +2610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.DerivedInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.DerivedInfo) private static final com.google.cloud.talent.v4.Job.DerivedInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.DerivedInfo(); } @@ -2908,28 +2624,27 @@ public static com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DerivedInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DerivedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2944,30 +2659,25 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ProcessingOptionsOrBuilder - extends + public interface ProcessingOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.ProcessingOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ boolean getDisableStreetAddressResolution(); /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2981,13 +2691,10 @@ public interface ProcessingOptionsOrBuilder
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ int getHtmlSanitizationValue(); /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3001,72 +2708,64 @@ public interface ProcessingOptionsOrBuilder
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization(); } /** - * - * *
    * Options for job processing.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ProcessingOptions} */ - public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ProcessingOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.ProcessingOptions) ProcessingOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessingOptions.newBuilder() to construct. private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProcessingOptions() { htmlSanitization_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProcessingOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ProcessingOptions.class, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4.Job.ProcessingOptions.class, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); } public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1; private boolean disableStreetAddressResolution_; /** - * - * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3077,8 +2776,6 @@ public boolean getDisableStreetAddressResolution() { public static final int HTML_SANITIZATION_FIELD_NUMBER = 2; private int htmlSanitization_; /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3092,16 +2789,12 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override - public int getHtmlSanitizationValue() { + @java.lang.Override public int getHtmlSanitizationValue() { return htmlSanitization_; } /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3115,19 +2808,15 @@ public int getHtmlSanitizationValue() {
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ - @java.lang.Override - public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { + @java.lang.Override public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.HtmlSanitization result = - com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); + com.google.cloud.talent.v4.HtmlSanitization result = com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); return result == null ? com.google.cloud.talent.v4.HtmlSanitization.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3139,13 +2828,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disableStreetAddressResolution_ != false) { output.writeBool(1, disableStreetAddressResolution_); } - if (htmlSanitization_ - != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED - .getNumber()) { + if (htmlSanitization_ != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { output.writeEnum(2, htmlSanitization_); } getUnknownFields().writeTo(output); @@ -3158,14 +2846,12 @@ public int getSerializedSize() { size = 0; if (disableStreetAddressResolution_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, disableStreetAddressResolution_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disableStreetAddressResolution_); } - if (htmlSanitization_ - != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_); + if (htmlSanitization_ != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, htmlSanitization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3175,16 +2861,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.ProcessingOptions)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.ProcessingOptions other = - (com.google.cloud.talent.v4.Job.ProcessingOptions) obj; + com.google.cloud.talent.v4.Job.ProcessingOptions other = (com.google.cloud.talent.v4.Job.ProcessingOptions) obj; - if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) - return false; + if (getDisableStreetAddressResolution() + != other.getDisableStreetAddressResolution()) return false; if (htmlSanitization_ != other.htmlSanitization_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3198,9 +2883,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableStreetAddressResolution()); hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER; hash = (53 * hash) + htmlSanitization_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3209,93 +2893,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Job.ProcessingOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3305,41 +2983,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options for job processing.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ProcessingOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.ProcessingOptions) com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ProcessingOptions.class, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4.Job.ProcessingOptions.class, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3351,9 +3027,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto - .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override @@ -3372,8 +3048,7 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions build() { @java.lang.Override public com.google.cloud.talent.v4.Job.ProcessingOptions buildPartial() { - com.google.cloud.talent.v4.Job.ProcessingOptions result = - new com.google.cloud.talent.v4.Job.ProcessingOptions(this); + com.google.cloud.talent.v4.Job.ProcessingOptions result = new com.google.cloud.talent.v4.Job.ProcessingOptions(this); result.disableStreetAddressResolution_ = disableStreetAddressResolution_; result.htmlSanitization_ = htmlSanitization_; onBuilt(); @@ -3384,41 +3059,38 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.ProcessingOptions) { - return mergeFrom((com.google.cloud.talent.v4.Job.ProcessingOptions) other); + return mergeFrom((com.google.cloud.talent.v4.Job.ProcessingOptions)other); } else { super.mergeFrom(other); return this; @@ -3426,8 +3098,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Job.ProcessingOptions other) { - if (other == com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance()) return this; if (other.getDisableStreetAddressResolution() != false) { setDisableStreetAddressResolution(other.getDisableStreetAddressResolution()); } @@ -3460,25 +3131,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disableStreetAddressResolution_ = input.readBool(); - - break; - } // case 8 - case 16: - { - htmlSanitization_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disableStreetAddressResolution_ = input.readBool(); + + break; + } // case 8 + case 16: { + htmlSanitization_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3489,17 +3157,14 @@ public Builder mergeFrom( return this; } - private boolean disableStreetAddressResolution_; + private boolean disableStreetAddressResolution_ ; /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3507,38 +3172,32 @@ public boolean getDisableStreetAddressResolution() { return disableStreetAddressResolution_; } /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @param value The disableStreetAddressResolution to set. * @return This builder for chaining. */ public Builder setDisableStreetAddressResolution(boolean value) { - + disableStreetAddressResolution_ = value; onChanged(); return this; } /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @return This builder for chaining. */ public Builder clearDisableStreetAddressResolution() { - + disableStreetAddressResolution_ = false; onChanged(); return this; @@ -3546,8 +3205,6 @@ public Builder clearDisableStreetAddressResolution() { private int htmlSanitization_ = 0; /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3561,16 +3218,12 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override - public int getHtmlSanitizationValue() { + @java.lang.Override public int getHtmlSanitizationValue() { return htmlSanitization_; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3584,19 +3237,16 @@ public int getHtmlSanitizationValue() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @param value The enum numeric value on the wire for htmlSanitization to set. * @return This builder for chaining. */ public Builder setHtmlSanitizationValue(int value) { - + htmlSanitization_ = value; onChanged(); return this; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3610,19 +3260,15 @@ public Builder setHtmlSanitizationValue(int value) {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ @java.lang.Override public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.HtmlSanitization result = - com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); + com.google.cloud.talent.v4.HtmlSanitization result = com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); return result == null ? com.google.cloud.talent.v4.HtmlSanitization.UNRECOGNIZED : result; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3636,7 +3282,6 @@ public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @param value The htmlSanitization to set. * @return This builder for chaining. */ @@ -3644,14 +3289,12 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4.HtmlSanitization v if (value == null) { throw new NullPointerException(); } - + htmlSanitization_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3665,16 +3308,14 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4.HtmlSanitization v
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; - * * @return This builder for chaining. */ public Builder clearHtmlSanitization() { - + htmlSanitization_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3687,12 +3328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.ProcessingOptions) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.ProcessingOptions) private static final com.google.cloud.talent.v4.Job.ProcessingOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.ProcessingOptions(); } @@ -3701,28 +3342,27 @@ public static com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessingOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessingOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3737,13 +3377,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3756,7 +3395,6 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanceForTyp
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -3765,15 +3403,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3786,15 +3423,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3805,8 +3443,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COMPANY_FIELD_NUMBER = 2; private volatile java.lang.Object company_; /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3814,10 +3450,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ @java.lang.Override @@ -3826,15 +3459,14 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3842,18 +3474,17 @@ public java.lang.String getCompany() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -3864,8 +3495,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { public static final int REQUISITION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requisitionId_; /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3876,7 +3505,6 @@ public com.google.protobuf.ByteString getCompanyBytes() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ @java.lang.Override @@ -3885,15 +3513,14 @@ public java.lang.String getRequisitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; } } /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3904,15 +3531,16 @@ public java.lang.String getRequisitionId() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequisitionIdBytes() { + public com.google.protobuf.ByteString + getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -3923,15 +3551,12 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() { public static final int TITLE_FIELD_NUMBER = 4; private volatile java.lang.Object title_; /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ @java.lang.Override @@ -3940,30 +3565,30 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -3974,8 +3599,6 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3988,7 +3611,6 @@ public com.google.protobuf.ByteString getTitleBytes() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ @java.lang.Override @@ -3997,15 +3619,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -4018,15 +3639,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -4037,8 +3659,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int ADDRESSES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList addresses_; /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4064,15 +3684,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList getAddressesList() { + public com.google.protobuf.ProtocolStringList + getAddressesList() { return addresses_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4098,15 +3716,12 @@ public com.google.protobuf.ProtocolStringList getAddressesList() {
    * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4132,7 +3747,6 @@ public int getAddressesCount() {
    * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -4140,8 +3754,6 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4167,25 +3779,22 @@ public java.lang.String getAddresses(int index) {
    * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString getAddressesBytes(int index) { + public com.google.protobuf.ByteString + getAddressesBytes(int index) { return addresses_.getByteString(index); } public static final int APPLICATION_INFO_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.Job.ApplicationInfo applicationInfo_; /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ @java.lang.Override @@ -4193,25 +3802,18 @@ public boolean hasApplicationInfo() { return applicationInfo_ != null; } /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo() { - return applicationInfo_ == null - ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } /** - * - * *
    * Job application information.
    * 
@@ -4226,43 +3828,34 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf public static final int JOB_BENEFITS_FIELD_NUMBER = 8; private java.util.List jobBenefits_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit> - jobBenefits_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit> jobBenefits_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>() { public com.google.cloud.talent.v4.JobBenefit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobBenefit result = - com.google.cloud.talent.v4.JobBenefit.valueOf(from); + com.google.cloud.talent.v4.JobBenefit result = com.google.cloud.talent.v4.JobBenefit.valueOf(from); return result == null ? com.google.cloud.talent.v4.JobBenefit.UNRECOGNIZED : result; } }; /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ @java.lang.Override public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>( - jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>(jobBenefits_, jobBenefits_converter_); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ @java.lang.Override @@ -4270,14 +3863,11 @@ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -4286,29 +3876,24 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ @java.lang.Override - public java.util.List getJobBenefitsValueList() { + public java.util.List + getJobBenefitsValueList() { return jobBenefits_; } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -4316,21 +3901,17 @@ public java.util.List getJobBenefitsValueList() { public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } - private int jobBenefitsMemoizedSerializedSize; public static final int COMPENSATION_INFO_FIELD_NUMBER = 9; private com.google.cloud.talent.v4.CompensationInfo compensationInfo_; /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ @java.lang.Override @@ -4338,26 +3919,19 @@ public boolean hasCompensationInfo() { return compensationInfo_ != null; } /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo getCompensationInfo() { - return compensationInfo_ == null - ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() - : compensationInfo_; + return compensationInfo_ == null ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_; } /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -4371,26 +3945,21 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
   }
 
   public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;
-
   private static final class CustomAttributesDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-        defaultEntry =
+        java.lang.String, com.google.cloud.talent.v4.CustomAttribute> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.cloud.talent.v4.JobProto
-                        .internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.cloud.talent.v4.CustomAttribute.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.cloud.talent.v4.CustomAttribute.getDefaultInstance());
   }
-
-  private com.google.protobuf.MapField
-      customAttributes_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.cloud.talent.v4.CustomAttribute> customAttributes_;
   private com.google.protobuf.MapField
-      internalGetCustomAttributes() {
+  internalGetCustomAttributes() {
     if (customAttributes_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomAttributesDefaultEntryHolder.defaultEntry);
@@ -4402,8 +3971,6 @@ public int getCustomAttributesCount() {
     return internalGetCustomAttributes().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4419,23 +3986,22 @@ public int getCustomAttributesCount() {
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
+
   @java.lang.Override
-  public boolean containsCustomAttributes(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsCustomAttributes(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetCustomAttributes().getMap().containsKey(key);
   }
-  /** Use {@link #getCustomAttributesMap()} instead. */
+  /**
+   * Use {@link #getCustomAttributesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getCustomAttributes() {
+  public java.util.Map getCustomAttributes() {
     return getCustomAttributesMap();
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4452,13 +4018,11 @@ public boolean containsCustomAttributes(java.lang.String key) {
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
-  public java.util.Map
-      getCustomAttributesMap() {
+
+  public java.util.Map getCustomAttributesMap() {
     return internalGetCustomAttributes().getMap();
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4475,18 +4039,16 @@ public boolean containsCustomAttributes(java.lang.String key) {
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
+
   public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
-      java.lang.String key, com.google.cloud.talent.v4.CustomAttribute defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.cloud.talent.v4.CustomAttribute defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4503,11 +4065,10 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
+
   public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
       java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     if (!map.containsKey(key)) {
@@ -4519,43 +4080,34 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   public static final int DEGREE_TYPES_FIELD_NUMBER = 11;
   private java.util.List degreeTypes_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.cloud.talent.v4.DegreeType>
-      degreeTypes_converter_ =
+      java.lang.Integer, com.google.cloud.talent.v4.DegreeType> degreeTypes_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4.DegreeType>() {
             public com.google.cloud.talent.v4.DegreeType convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4.DegreeType result =
-                  com.google.cloud.talent.v4.DegreeType.valueOf(from);
+              com.google.cloud.talent.v4.DegreeType result = com.google.cloud.talent.v4.DegreeType.valueOf(from);
               return result == null ? com.google.cloud.talent.v4.DegreeType.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ @java.lang.Override public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.DegreeType>( - degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.DegreeType>(degreeTypes_, degreeTypes_converter_); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ @java.lang.Override @@ -4563,14 +4115,11 @@ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -4579,29 +4128,24 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ @java.lang.Override - public java.util.List getDegreeTypesValueList() { + public java.util.List + getDegreeTypesValueList() { return degreeTypes_; } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -4609,14 +4153,11 @@ public java.util.List getDegreeTypesValueList() { public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } - private int degreeTypesMemoizedSerializedSize; public static final int DEPARTMENT_FIELD_NUMBER = 12; private volatile java.lang.Object department_; /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -4624,7 +4165,6 @@ public int getDegreeTypesValue(int index) {
    * 
* * string department = 12; - * * @return The department. */ @java.lang.Override @@ -4633,15 +4173,14 @@ public java.lang.String getDepartment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; } } /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -4649,15 +4188,16 @@ public java.lang.String getDepartment() {
    * 
* * string department = 12; - * * @return The bytes for department. */ @java.lang.Override - public com.google.protobuf.ByteString getDepartmentBytes() { + public com.google.protobuf.ByteString + getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); department_ = b; return b; } else { @@ -4668,22 +4208,16 @@ public com.google.protobuf.ByteString getDepartmentBytes() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> - employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>() { public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.EmploymentType result = - com.google.cloud.talent.v4.EmploymentType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.EmploymentType result = com.google.cloud.talent.v4.EmploymentType.valueOf(from); + return result == null ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED : result; } }; /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4691,18 +4225,14 @@ public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4710,7 +4240,6 @@ public java.util.List getEmploymentTy
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ @java.lang.Override @@ -4718,8 +4247,6 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4727,7 +4254,6 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4735,9 +4261,7 @@ public int getEmploymentTypesCount() { public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } - /** - * - * + /** *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4745,16 +4269,14 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return employmentTypes_; } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4762,7 +4284,6 @@ public java.util.List getEmploymentTypesValueList() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4770,14 +4291,11 @@ public java.util.List getEmploymentTypesValueList() { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } - private int employmentTypesMemoizedSerializedSize; public static final int INCENTIVES_FIELD_NUMBER = 14; private volatile java.lang.Object incentives_; /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4785,7 +4303,6 @@ public int getEmploymentTypesValue(int index) {
    * 
* * string incentives = 14; - * * @return The incentives. */ @java.lang.Override @@ -4794,15 +4311,14 @@ public java.lang.String getIncentives() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; } } /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4810,15 +4326,16 @@ public java.lang.String getIncentives() {
    * 
* * string incentives = 14; - * * @return The bytes for incentives. */ @java.lang.Override - public com.google.protobuf.ByteString getIncentivesBytes() { + public com.google.protobuf.ByteString + getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incentives_ = b; return b; } else { @@ -4829,8 +4346,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object languageCode_; /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4844,7 +4359,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() {
    * 
* * string language_code = 15; - * * @return The languageCode. */ @java.lang.Override @@ -4853,15 +4367,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4875,15 +4388,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4894,44 +4408,33 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int JOB_LEVEL_FIELD_NUMBER = 16; private int jobLevel_; /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override - public int getJobLevelValue() { + @java.lang.Override public int getJobLevelValue() { return jobLevel_; } /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The jobLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4.JobLevel getJobLevel() { + @java.lang.Override public com.google.cloud.talent.v4.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobLevel result = - com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4.JobLevel result = com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4.JobLevel.UNRECOGNIZED : result; } public static final int PROMOTION_VALUE_FIELD_NUMBER = 17; private int promotionValue_; /** - * - * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -4942,7 +4445,6 @@ public com.google.cloud.talent.v4.JobLevel getJobLevel() {
    * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ @java.lang.Override @@ -4953,8 +4455,6 @@ public int getPromotionValue() { public static final int QUALIFICATIONS_FIELD_NUMBER = 18; private volatile java.lang.Object qualifications_; /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4965,7 +4465,6 @@ public int getPromotionValue() {
    * 
* * string qualifications = 18; - * * @return The qualifications. */ @java.lang.Override @@ -4974,15 +4473,14 @@ public java.lang.String getQualifications() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; } } /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4993,15 +4491,16 @@ public java.lang.String getQualifications() {
    * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ @java.lang.Override - public com.google.protobuf.ByteString getQualificationsBytes() { + public com.google.protobuf.ByteString + getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); qualifications_ = b; return b; } else { @@ -5012,8 +4511,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() { public static final int RESPONSIBILITIES_FIELD_NUMBER = 19; private volatile java.lang.Object responsibilities_; /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -5024,7 +4521,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() {
    * 
* * string responsibilities = 19; - * * @return The responsibilities. */ @java.lang.Override @@ -5033,15 +4529,14 @@ public java.lang.String getResponsibilities() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; } } /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -5052,15 +4547,16 @@ public java.lang.String getResponsibilities() {
    * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ @java.lang.Override - public com.google.protobuf.ByteString getResponsibilitiesBytes() { + public com.google.protobuf.ByteString + getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -5071,8 +4567,6 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() { public static final int POSTING_REGION_FIELD_NUMBER = 20; private int postingRegion_; /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -5084,16 +4578,12 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() {
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override - public int getPostingRegionValue() { + @java.lang.Override public int getPostingRegionValue() { return postingRegion_; } /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -5105,22 +4595,17 @@ public int getPostingRegionValue() {
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The postingRegion. */ - @java.lang.Override - public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { + @java.lang.Override public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.PostingRegion result = - com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4.PostingRegion result = com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4.PostingRegion.UNRECOGNIZED : result; } public static final int VISIBILITY_FIELD_NUMBER = 21; private int visibility_; /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -5128,19 +4613,14 @@ public com.google.cloud.talent.v4.PostingRegion getPostingRegion() {
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override - @java.lang.Deprecated - public int getVisibilityValue() { + @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -5148,32 +4628,25 @@ public int getVisibilityValue() {
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.talent.v4.Visibility getVisibility() { + @java.lang.Override @java.lang.Deprecated public com.google.cloud.talent.v4.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Visibility result = - com.google.cloud.talent.v4.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4.Visibility result = com.google.cloud.talent.v4.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4.Visibility.UNRECOGNIZED : result; } public static final int JOB_START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp jobStartTime_; /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ @java.lang.Override @@ -5181,26 +4654,19 @@ public boolean hasJobStartTime() { return jobStartTime_ != null; } /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobStartTime() { - return jobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobStartTime_; + return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; } /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -5216,15 +4682,12 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
   public static final int JOB_END_TIME_FIELD_NUMBER = 23;
   private com.google.protobuf.Timestamp jobEndTime_;
   /**
-   *
-   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ @java.lang.Override @@ -5232,15 +4695,12 @@ public boolean hasJobEndTime() { return jobEndTime_ != null; } /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ @java.lang.Override @@ -5248,8 +4708,6 @@ public com.google.protobuf.Timestamp getJobEndTime() { return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -5265,8 +4723,6 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
   public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
   private com.google.protobuf.Timestamp postingPublishTime_;
   /**
-   *
-   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5274,7 +4730,6 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ @java.lang.Override @@ -5282,8 +4737,6 @@ public boolean hasPostingPublishTime() { return postingPublishTime_ != null; } /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5291,18 +4744,13 @@ public boolean hasPostingPublishTime() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingPublishTime() { - return postingPublishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingPublishTime_; + return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; } /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5319,8 +4767,6 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
   public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
   private com.google.protobuf.Timestamp postingExpireTime_;
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5360,7 +4806,6 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ @java.lang.Override @@ -5368,8 +4813,6 @@ public boolean hasPostingExpireTime() { return postingExpireTime_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5409,18 +4852,13 @@ public boolean hasPostingExpireTime() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingExpireTime() { - return postingExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingExpireTime_; + return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5469,16 +4907,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
   public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
   private com.google.protobuf.Timestamp postingCreateTime_;
   /**
-   *
-   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ @java.lang.Override @@ -5486,34 +4919,23 @@ public boolean hasPostingCreateTime() { return postingCreateTime_ != null; } /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingCreateTime() { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { @@ -5523,16 +4945,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp postingUpdateTime_; /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ @java.lang.Override @@ -5540,34 +4957,23 @@ public boolean hasPostingUpdateTime() { return postingUpdateTime_ != null; } /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingUpdateTime() { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { @@ -5577,14 +4983,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28; private volatile java.lang.Object companyDisplayName_; /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ @java.lang.Override @@ -5593,29 +4996,29 @@ public java.lang.String getCompanyDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; } } /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString + getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -5626,16 +5029,11 @@ public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { public static final int DERIVED_INFO_FIELD_NUMBER = 29; private com.google.cloud.talent.v4.Job.DerivedInfo derivedInfo_; /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -5643,34 +5041,23 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -5680,14 +5067,11 @@ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuild public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30; private com.google.cloud.talent.v4.Job.ProcessingOptions processingOptions_; /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ @java.lang.Override @@ -5695,25 +5079,18 @@ public boolean hasProcessingOptions() { return processingOptions_ != null; } /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ @java.lang.Override public com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions() { - return processingOptions_ == null - ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } /** - * - * *
    * Options for job processing.
    * 
@@ -5726,7 +5103,6 @@ public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOp } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5738,7 +5114,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -5771,8 +5148,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (compensationInfo_ != null) { output.writeMessage(9, getCompensationInfo()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetCustomAttributes(), + CustomAttributesDefaultEntryHolder.defaultEntry, + 10); if (getDegreeTypesList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize); @@ -5808,8 +5189,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_); } - if (postingRegion_ - != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + if (postingRegion_ != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { output.writeEnum(20, postingRegion_); } if (visibility_ != com.google.cloud.talent.v4.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { @@ -5875,45 +5255,46 @@ public int getSerializedSize() { size += 1 * getAddressesList().size(); } if (applicationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getApplicationInfo()); } { int dataSize = 0; for (int i = 0; i < jobBenefits_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobBenefits_.get(i)); } size += dataSize; - if (!getJobBenefitsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobBenefitsMemoizedSerializedSize = dataSize; + if (!getJobBenefitsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobBenefitsMemoizedSerializedSize = dataSize; } if (compensationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getCompensationInfo()); } - for (java.util.Map.Entry entry : - internalGetCustomAttributes().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetCustomAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry - customAttributes__ = - CustomAttributesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__); + customAttributes__ = CustomAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, customAttributes__); } { int dataSize = 0; for (int i = 0; i < degreeTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(degreeTypes_.get(i)); } size += dataSize; - if (!getDegreeTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - degreeTypesMemoizedSerializedSize = dataSize; + if (!getDegreeTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }degreeTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_); @@ -5921,15 +5302,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }employmentTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incentives_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_); @@ -5938,10 +5318,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_); } if (jobLevel_ != com.google.cloud.talent.v4.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, jobLevel_); } if (promotionValue_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(17, promotionValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qualifications_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_); @@ -5949,39 +5331,48 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_); } - if (postingRegion_ - != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_); + if (postingRegion_ != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(20, postingRegion_); } if (visibility_ != com.google.cloud.talent.v4.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(21, visibility_); } if (jobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getJobStartTime()); } if (jobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getJobEndTime()); } if (postingPublishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getPostingPublishTime()); } if (postingExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getPostingExpireTime()); } if (postingCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getPostingCreateTime()); } if (postingUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getPostingUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(companyDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getDerivedInfo()); } if (processingOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getProcessingOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5991,72 +5382,96 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job)) { return super.equals(obj); } com.google.cloud.talent.v4.Job other = (com.google.cloud.talent.v4.Job) obj; - if (!getName().equals(other.getName())) return false; - if (!getCompany().equals(other.getCompany())) return false; - if (!getRequisitionId().equals(other.getRequisitionId())) return false; - if (!getTitle().equals(other.getTitle())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getAddressesList().equals(other.getAddressesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCompany() + .equals(other.getCompany())) return false; + if (!getRequisitionId() + .equals(other.getRequisitionId())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getAddressesList() + .equals(other.getAddressesList())) return false; if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; + if (!getApplicationInfo() + .equals(other.getApplicationInfo())) return false; } if (!jobBenefits_.equals(other.jobBenefits_)) return false; if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; + if (!getCompensationInfo() + .equals(other.getCompensationInfo())) return false; } - if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; + if (!internalGetCustomAttributes().equals( + other.internalGetCustomAttributes())) return false; if (!degreeTypes_.equals(other.degreeTypes_)) return false; - if (!getDepartment().equals(other.getDepartment())) return false; + if (!getDepartment() + .equals(other.getDepartment())) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getIncentives().equals(other.getIncentives())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getIncentives() + .equals(other.getIncentives())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (jobLevel_ != other.jobLevel_) return false; - if (getPromotionValue() != other.getPromotionValue()) return false; - if (!getQualifications().equals(other.getQualifications())) return false; - if (!getResponsibilities().equals(other.getResponsibilities())) return false; + if (getPromotionValue() + != other.getPromotionValue()) return false; + if (!getQualifications() + .equals(other.getQualifications())) return false; + if (!getResponsibilities() + .equals(other.getResponsibilities())) return false; if (postingRegion_ != other.postingRegion_) return false; if (visibility_ != other.visibility_) return false; if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - if (!getJobStartTime().equals(other.getJobStartTime())) return false; + if (!getJobStartTime() + .equals(other.getJobStartTime())) return false; } if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - if (!getJobEndTime().equals(other.getJobEndTime())) return false; + if (!getJobEndTime() + .equals(other.getJobEndTime())) return false; } if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; + if (!getPostingPublishTime() + .equals(other.getPostingPublishTime())) return false; } if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; + if (!getPostingExpireTime() + .equals(other.getPostingExpireTime())) return false; } if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; + if (!getPostingCreateTime() + .equals(other.getPostingCreateTime())) return false; } if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; + if (!getPostingUpdateTime() + .equals(other.getPostingUpdateTime())) return false; } - if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; + if (!getCompanyDisplayName() + .equals(other.getCompanyDisplayName())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo() + .equals(other.getDerivedInfo())) return false; } if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; + if (!getProcessingOptions() + .equals(other.getProcessingOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6164,103 +5579,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.Job parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Job parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.Job parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.talent.v4.Job parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Job resource represents a job posting (also referred to as a "job listing"
    * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4.Company], which is the hiring
@@ -6269,51 +5678,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.Job}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job)
       com.google.cloud.talent.v4.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.JobProto
-          .internal_static_google_cloud_talent_v4_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetCustomAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetMutableCustomAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobProto
-          .internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.talent.v4.Job.class, com.google.cloud.talent.v4.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Job.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6420,9 +5833,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobProto
-          .internal_static_google_cloud_talent_v4_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
     }
 
     @java.lang.Override
@@ -6538,39 +5951,38 @@ public com.google.cloud.talent.v4.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Job) {
-        return mergeFrom((com.google.cloud.talent.v4.Job) other);
+        return mergeFrom((com.google.cloud.talent.v4.Job)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6625,7 +6037,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4.Job other) {
       if (other.hasCompensationInfo()) {
         mergeCompensationInfo(other.getCompensationInfo());
       }
-      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
+      internalGetMutableCustomAttributes().mergeFrom(
+          other.internalGetCustomAttributes());
       if (!other.degreeTypes_.isEmpty()) {
         if (degreeTypes_.isEmpty()) {
           degreeTypes_ = other.degreeTypes_;
@@ -6732,246 +6145,222 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                company_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              company_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                requisitionId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              requisitionId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                title_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              title_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAddressesIsMutable();
-                addresses_.add(s);
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getApplicationInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAddressesIsMutable();
+              addresses_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getApplicationInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 58
-            case 64:
-              {
+              break;
+            } // case 58
+            case 64: {
+              int tmpRaw = input.readEnum();
+              ensureJobBenefitsIsMutable();
+              jobBenefits_.add(tmpRaw);
+              break;
+            } // case 64
+            case 66: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureJobBenefitsIsMutable();
                 jobBenefits_.add(tmpRaw);
-                break;
-              } // case 64
-            case 66:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureJobBenefitsIsMutable();
-                  jobBenefits_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getCompensationInfoFieldBuilder().getBuilder(), extensionRegistry);
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getCompensationInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 74
-            case 82:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-                    customAttributes__ =
-                        input.readMessage(
-                            CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableCustomAttributes()
-                    .getMutableMap()
-                    .put(customAttributes__.getKey(), customAttributes__.getValue());
-                break;
-              } // case 82
-            case 88:
-              {
+              break;
+            } // case 74
+            case 82: {
+              com.google.protobuf.MapEntry
+              customAttributes__ = input.readMessage(
+                  CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableCustomAttributes().getMutableMap().put(
+                  customAttributes__.getKey(), customAttributes__.getValue());
+              break;
+            } // case 82
+            case 88: {
+              int tmpRaw = input.readEnum();
+              ensureDegreeTypesIsMutable();
+              degreeTypes_.add(tmpRaw);
+              break;
+            } // case 88
+            case 90: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureDegreeTypesIsMutable();
                 degreeTypes_.add(tmpRaw);
-                break;
-              } // case 88
-            case 90:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureDegreeTypesIsMutable();
-                  degreeTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 90
-            case 98:
-              {
-                department_ = input.readStringRequireUtf8();
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 90
+            case 98: {
+              department_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 98
-            case 104:
-              {
+              break;
+            } // case 98
+            case 104: {
+              int tmpRaw = input.readEnum();
+              ensureEmploymentTypesIsMutable();
+              employmentTypes_.add(tmpRaw);
+              break;
+            } // case 104
+            case 106: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureEmploymentTypesIsMutable();
                 employmentTypes_.add(tmpRaw);
-                break;
-              } // case 104
-            case 106:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureEmploymentTypesIsMutable();
-                  employmentTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 106
-            case 114:
-              {
-                incentives_ = input.readStringRequireUtf8();
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 106
+            case 114: {
+              incentives_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 114
-            case 122:
-              {
-                languageCode_ = input.readStringRequireUtf8();
+              break;
+            } // case 114
+            case 122: {
+              languageCode_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 122
-            case 128:
-              {
-                jobLevel_ = input.readEnum();
+              break;
+            } // case 122
+            case 128: {
+              jobLevel_ = input.readEnum();
 
-                break;
-              } // case 128
-            case 136:
-              {
-                promotionValue_ = input.readInt32();
+              break;
+            } // case 128
+            case 136: {
+              promotionValue_ = input.readInt32();
 
-                break;
-              } // case 136
-            case 146:
-              {
-                qualifications_ = input.readStringRequireUtf8();
+              break;
+            } // case 136
+            case 146: {
+              qualifications_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 146
-            case 154:
-              {
-                responsibilities_ = input.readStringRequireUtf8();
+              break;
+            } // case 146
+            case 154: {
+              responsibilities_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 154
-            case 160:
-              {
-                postingRegion_ = input.readEnum();
+              break;
+            } // case 154
+            case 160: {
+              postingRegion_ = input.readEnum();
 
-                break;
-              } // case 160
-            case 168:
-              {
-                visibility_ = input.readEnum();
+              break;
+            } // case 160
+            case 168: {
+              visibility_ = input.readEnum();
 
-                break;
-              } // case 168
-            case 178:
-              {
-                input.readMessage(getJobStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 168
+            case 178: {
+              input.readMessage(
+                  getJobStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(getJobEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getJobEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 186
-            case 194:
-              {
-                input.readMessage(
-                    getPostingPublishTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 186
+            case 194: {
+              input.readMessage(
+                  getPostingPublishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 194
-            case 202:
-              {
-                input.readMessage(
-                    getPostingExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 194
+            case 202: {
+              input.readMessage(
+                  getPostingExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(
-                    getPostingCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getPostingCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 210
-            case 218:
-              {
-                input.readMessage(
-                    getPostingUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 210
+            case 218: {
+              input.readMessage(
+                  getPostingUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 218
-            case 226:
-              {
-                companyDisplayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 218
+            case 226: {
+              companyDisplayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 226
-            case 234:
-              {
-                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 226
+            case 234: {
+              input.readMessage(
+                  getDerivedInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 234
-            case 242:
-              {
-                input.readMessage(
-                    getProcessingOptionsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 234
+            case 242: {
+              input.readMessage(
+                  getProcessingOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 242
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 242
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6981,13 +6370,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7000,13 +6386,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7015,8 +6401,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7029,14 +6413,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7044,8 +6429,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7058,22 +6441,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7086,18 +6467,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7110,16 +6488,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7127,8 +6505,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object company_ = ""; /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7136,16 +6512,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -7154,8 +6528,6 @@ public java.lang.String getCompany() { } } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7163,17 +6535,16 @@ public java.lang.String getCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -7181,8 +6552,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { } } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7190,25 +6559,21 @@ public com.google.protobuf.ByteString getCompanyBytes() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany(java.lang.String value) { + public Builder setCompany( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7216,21 +6581,16 @@ public Builder setCompany(java.lang.String value) {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7238,19 +6598,17 @@ public Builder clearCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -7258,8 +6616,6 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { private java.lang.Object requisitionId_ = ""; /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7270,13 +6626,13 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ public java.lang.String getRequisitionId() { java.lang.Object ref = requisitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; @@ -7285,8 +6641,6 @@ public java.lang.String getRequisitionId() { } } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7297,14 +6651,15 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ - public com.google.protobuf.ByteString getRequisitionIdBytes() { + public com.google.protobuf.ByteString + getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -7312,8 +6667,6 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() { } } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7324,22 +6677,20 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionId(java.lang.String value) { + public Builder setRequisitionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requisitionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7350,18 +6701,15 @@ public Builder setRequisitionId(java.lang.String value) {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRequisitionId() { - + requisitionId_ = getDefaultInstance().getRequisitionId(); onChanged(); return this; } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7372,16 +6720,16 @@ public Builder clearRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequisitionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requisitionId_ = value; onChanged(); return this; @@ -7389,21 +6737,19 @@ public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object title_ = ""; /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -7412,22 +6758,21 @@ public java.lang.String getTitle() { } } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -7435,64 +6780,57 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -7500,8 +6838,6 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7514,13 +6850,13 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7529,8 +6865,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7543,14 +6877,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -7558,8 +6893,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7572,22 +6905,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7600,18 +6931,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7624,33 +6952,29 @@ public Builder clearDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7676,15 +7000,13 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList getAddressesList() { + public com.google.protobuf.ProtocolStringList + getAddressesList() { return addresses_.getUnmodifiableView(); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7710,15 +7032,12 @@ public com.google.protobuf.ProtocolStringList getAddressesList() {
      * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7744,7 +7063,6 @@ public int getAddressesCount() {
      * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -7752,8 +7070,6 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7779,16 +7095,14 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString getAddressesBytes(int index) { + public com.google.protobuf.ByteString + getAddressesBytes(int index) { return addresses_.getByteString(index); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7814,23 +7128,21 @@ public com.google.protobuf.ByteString getAddressesBytes(int index) {
      * 
* * repeated string addresses = 6; - * * @param index The index to set the value at. * @param value The addresses to set. * @return This builder for chaining. */ - public Builder setAddresses(int index, java.lang.String value) { + public Builder setAddresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.set(index, value); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7856,22 +7168,20 @@ public Builder setAddresses(int index, java.lang.String value) {
      * 
* * repeated string addresses = 6; - * * @param value The addresses to add. * @return This builder for chaining. */ - public Builder addAddresses(java.lang.String value) { + public Builder addAddresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.add(value); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7897,19 +7207,18 @@ public Builder addAddresses(java.lang.String value) {
      * 
* * repeated string addresses = 6; - * * @param values The addresses to add. * @return This builder for chaining. */ - public Builder addAllAddresses(java.lang.Iterable values) { + public Builder addAllAddresses( + java.lang.Iterable values) { ensureAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, addresses_); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7935,7 +7244,6 @@ public Builder addAllAddresses(java.lang.Iterable values) {
      * 
* * repeated string addresses = 6; - * * @return This builder for chaining. */ public Builder clearAddresses() { @@ -7945,8 +7253,6 @@ public Builder clearAddresses() { return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7972,15 +7278,15 @@ public Builder clearAddresses() {
      * 
* * repeated string addresses = 6; - * * @param value The bytes of the addresses to add. * @return This builder for chaining. */ - public Builder addAddressesBytes(com.google.protobuf.ByteString value) { + public Builder addAddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAddressesIsMutable(); addresses_.add(value); onChanged(); @@ -7989,47 +7295,34 @@ public Builder addAddressesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> - applicationInfoBuilder_; + com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> applicationInfoBuilder_; /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ public boolean hasApplicationInfo() { return applicationInfoBuilder_ != null || applicationInfo_ != null; } /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ public com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo() { if (applicationInfoBuilder_ == null) { - return applicationInfo_ == null - ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } else { return applicationInfoBuilder_.getMessage(); } } /** - * - * *
      * Job application information.
      * 
@@ -8050,8 +7343,6 @@ public Builder setApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationInfo return this; } /** - * - * *
      * Job application information.
      * 
@@ -8070,8 +7361,6 @@ public Builder setApplicationInfo( return this; } /** - * - * *
      * Job application information.
      * 
@@ -8082,9 +7371,7 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationIn if (applicationInfoBuilder_ == null) { if (applicationInfo_ != null) { applicationInfo_ = - com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder(applicationInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder(applicationInfo_).mergeFrom(value).buildPartial(); } else { applicationInfo_ = value; } @@ -8096,8 +7383,6 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationIn return this; } /** - * - * *
      * Job application information.
      * 
@@ -8116,8 +7401,6 @@ public Builder clearApplicationInfo() { return this; } /** - * - * *
      * Job application information.
      * 
@@ -8125,13 +7408,11 @@ public Builder clearApplicationInfo() { * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; */ public com.google.cloud.talent.v4.Job.ApplicationInfo.Builder getApplicationInfoBuilder() { - + onChanged(); return getApplicationInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Job application information.
      * 
@@ -8142,14 +7423,11 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf if (applicationInfoBuilder_ != null) { return applicationInfoBuilder_.getMessageOrBuilder(); } else { - return applicationInfo_ == null - ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? + com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } } /** - * - * *
      * Job application information.
      * 
@@ -8157,24 +7435,21 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> + com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> getApplicationInfoFieldBuilder() { if (applicationInfoBuilder_ == null) { - applicationInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, - com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder>( - getApplicationInfo(), getParentForChildren(), isClean()); + applicationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder>( + getApplicationInfo(), + getParentForChildren(), + isClean()); applicationInfo_ = null; } return applicationInfoBuilder_; } - private java.util.List jobBenefits_ = java.util.Collections.emptyList(); - + private java.util.List jobBenefits_ = + java.util.Collections.emptyList(); private void ensureJobBenefitsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); @@ -8182,44 +7457,34 @@ private void ensureJobBenefitsIsMutable() { } } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>( - jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>(jobBenefits_, jobBenefits_converter_); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -8227,19 +7492,17 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index to set the value at. * @param value The jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefits(int index, com.google.cloud.talent.v4.JobBenefit value) { + public Builder setJobBenefits( + int index, com.google.cloud.talent.v4.JobBenefit value) { if (value == null) { throw new NullPointerException(); } @@ -8249,14 +7512,11 @@ public Builder setJobBenefits(int index, com.google.cloud.talent.v4.JobBenefit v return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param value The jobBenefits to add. * @return This builder for chaining. */ @@ -8270,14 +7530,11 @@ public Builder addJobBenefits(com.google.cloud.talent.v4.JobBenefit value) { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param values The jobBenefits to add. * @return This builder for chaining. */ @@ -8291,14 +7548,11 @@ public Builder addAllJobBenefits( return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return This builder for chaining. */ public Builder clearJobBenefits() { @@ -8308,28 +7562,23 @@ public Builder clearJobBenefits() { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - public java.util.List getJobBenefitsValueList() { + public java.util.List + getJobBenefitsValueList() { return java.util.Collections.unmodifiableList(jobBenefits_); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -8337,33 +7586,28 @@ public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefitsValue(int index, int value) { + public Builder setJobBenefitsValue( + int index, int value) { ensureJobBenefitsIsMutable(); jobBenefits_.set(index, value); onChanged(); return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param value The enum numeric value on the wire for jobBenefits to add. * @return This builder for chaining. */ @@ -8374,18 +7618,16 @@ public Builder addJobBenefitsValue(int value) { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param values The enum numeric values on the wire for jobBenefits to add. * @return This builder for chaining. */ - public Builder addAllJobBenefitsValue(java.lang.Iterable values) { + public Builder addAllJobBenefitsValue( + java.lang.Iterable values) { ensureJobBenefitsIsMutable(); for (int value : values) { jobBenefits_.add(value); @@ -8396,49 +7638,36 @@ public Builder addAllJobBenefitsValue(java.lang.Iterable valu private com.google.cloud.talent.v4.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo, - com.google.cloud.talent.v4.CompensationInfo.Builder, - com.google.cloud.talent.v4.CompensationInfoOrBuilder> - compensationInfoBuilder_; + com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder> compensationInfoBuilder_; /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ public boolean hasCompensationInfo() { return compensationInfoBuilder_ != null || compensationInfo_ != null; } /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ public com.google.cloud.talent.v4.CompensationInfo getCompensationInfo() { if (compensationInfoBuilder_ == null) { - return compensationInfo_ == null - ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() - : compensationInfo_; + return compensationInfo_ == null ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_; } else { return compensationInfoBuilder_.getMessage(); } } /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8460,8 +7689,6 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4.CompensationInfo v
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8481,8 +7708,6 @@ public Builder setCompensationInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8494,9 +7719,7 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4.CompensationInfo
       if (compensationInfoBuilder_ == null) {
         if (compensationInfo_ != null) {
           compensationInfo_ =
-              com.google.cloud.talent.v4.CompensationInfo.newBuilder(compensationInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.CompensationInfo.newBuilder(compensationInfo_).mergeFrom(value).buildPartial();
         } else {
           compensationInfo_ = value;
         }
@@ -8508,8 +7731,6 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4.CompensationInfo
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8529,8 +7750,6 @@ public Builder clearCompensationInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8539,13 +7758,11 @@ public Builder clearCompensationInfo() {
      * .google.cloud.talent.v4.CompensationInfo compensation_info = 9;
      */
     public com.google.cloud.talent.v4.CompensationInfo.Builder getCompensationInfoBuilder() {
-
+      
       onChanged();
       return getCompensationInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8557,14 +7774,11 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
       if (compensationInfoBuilder_ != null) {
         return compensationInfoBuilder_.getMessageOrBuilder();
       } else {
-        return compensationInfo_ == null
-            ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance()
-            : compensationInfo_;
+        return compensationInfo_ == null ?
+            com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8573,45 +7787,35 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
      * .google.cloud.talent.v4.CompensationInfo compensation_info = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo,
-            com.google.cloud.talent.v4.CompensationInfo.Builder,
-            com.google.cloud.talent.v4.CompensationInfoOrBuilder>
+        com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder> 
         getCompensationInfoFieldBuilder() {
       if (compensationInfoBuilder_ == null) {
-        compensationInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.CompensationInfo,
-                com.google.cloud.talent.v4.CompensationInfo.Builder,
-                com.google.cloud.talent.v4.CompensationInfoOrBuilder>(
-                getCompensationInfo(), getParentForChildren(), isClean());
+        compensationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder>(
+                getCompensationInfo(),
+                getParentForChildren(),
+                isClean());
         compensationInfo_ = null;
       }
       return compensationInfoBuilder_;
     }
 
     private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-        customAttributes_;
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-        internalGetCustomAttributes() {
+        java.lang.String, com.google.cloud.talent.v4.CustomAttribute> customAttributes_;
+    private com.google.protobuf.MapField
+    internalGetCustomAttributes() {
       if (customAttributes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       return customAttributes_;
-    }
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
-        internalGetMutableCustomAttributes() {
-      onChanged();
-      ;
+    }
+    private com.google.protobuf.MapField
+    internalGetMutableCustomAttributes() {
+      onChanged();;
       if (customAttributes_ == null) {
-        customAttributes_ =
-            com.google.protobuf.MapField.newMapField(
-                CustomAttributesDefaultEntryHolder.defaultEntry);
+        customAttributes_ = com.google.protobuf.MapField.newMapField(
+            CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       if (!customAttributes_.isMutable()) {
         customAttributes_ = customAttributes_.copy();
@@ -8623,8 +7827,6 @@ public int getCustomAttributesCount() {
       return internalGetCustomAttributes().getMap().size();
     }
     /**
-     *
-     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8638,26 +7840,24 @@ public int getCustomAttributesCount() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ + @java.lang.Override - public boolean containsCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomAttributes().getMap().containsKey(key); } - /** Use {@link #getCustomAttributesMap()} instead. */ + /** + * Use {@link #getCustomAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getCustomAttributes() { + public java.util.Map getCustomAttributes() { return getCustomAttributesMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8671,17 +7871,14 @@ public boolean containsCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ @java.lang.Override - public java.util.Map - getCustomAttributesMap() { + + public java.util.Map getCustomAttributesMap() { return internalGetCustomAttributes().getMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8695,22 +7892,19 @@ public boolean containsCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault( - java.lang.String key, com.google.cloud.talent.v4.CustomAttribute defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4.CustomAttribute defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8724,15 +7918,13 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -8742,12 +7934,11 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow( } public Builder clearCustomAttributes() { - internalGetMutableCustomAttributes().getMutableMap().clear(); + internalGetMutableCustomAttributes().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8761,25 +7952,25 @@ public Builder clearCustomAttributes() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ - public Builder removeCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableCustomAttributes().getMutableMap().remove(key); + + public Builder removeCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableCustomAttributes().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableCustomAttributes() { + getMutableCustomAttributes() { return internalGetMutableCustomAttributes().getMutableMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8793,24 +7984,21 @@ public Builder removeCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ public Builder putCustomAttributes( - java.lang.String key, com.google.cloud.talent.v4.CustomAttribute value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4.CustomAttribute value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableCustomAttributes().getMutableMap().put(key, value); + internalGetMutableCustomAttributes().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8824,17 +8012,18 @@ public Builder putCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; */ + public Builder putAllCustomAttributes( java.util.Map values) { - internalGetMutableCustomAttributes().getMutableMap().putAll(values); + internalGetMutableCustomAttributes().getMutableMap() + .putAll(values); return this; } - private java.util.List degreeTypes_ = java.util.Collections.emptyList(); - + private java.util.List degreeTypes_ = + java.util.Collections.emptyList(); private void ensureDegreeTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); @@ -8842,44 +8031,34 @@ private void ensureDegreeTypesIsMutable() { } } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.DegreeType>( - degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.DegreeType>(degreeTypes_, degreeTypes_converter_); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -8887,19 +8066,17 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index to set the value at. * @param value The degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypes(int index, com.google.cloud.talent.v4.DegreeType value) { + public Builder setDegreeTypes( + int index, com.google.cloud.talent.v4.DegreeType value) { if (value == null) { throw new NullPointerException(); } @@ -8909,14 +8086,11 @@ public Builder setDegreeTypes(int index, com.google.cloud.talent.v4.DegreeType v return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param value The degreeTypes to add. * @return This builder for chaining. */ @@ -8930,14 +8104,11 @@ public Builder addDegreeTypes(com.google.cloud.talent.v4.DegreeType value) { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param values The degreeTypes to add. * @return This builder for chaining. */ @@ -8951,14 +8122,11 @@ public Builder addAllDegreeTypes( return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return This builder for chaining. */ public Builder clearDegreeTypes() { @@ -8968,28 +8136,23 @@ public Builder clearDegreeTypes() { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - public java.util.List getDegreeTypesValueList() { + public java.util.List + getDegreeTypesValueList() { return java.util.Collections.unmodifiableList(degreeTypes_); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -8997,33 +8160,28 @@ public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypesValue(int index, int value) { + public Builder setDegreeTypesValue( + int index, int value) { ensureDegreeTypesIsMutable(); degreeTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param value The enum numeric value on the wire for degreeTypes to add. * @return This builder for chaining. */ @@ -9034,18 +8192,16 @@ public Builder addDegreeTypesValue(int value) { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param values The enum numeric values on the wire for degreeTypes to add. * @return This builder for chaining. */ - public Builder addAllDegreeTypesValue(java.lang.Iterable values) { + public Builder addAllDegreeTypesValue( + java.lang.Iterable values) { ensureDegreeTypesIsMutable(); for (int value : values) { degreeTypes_.add(value); @@ -9056,8 +8212,6 @@ public Builder addAllDegreeTypesValue(java.lang.Iterable valu private java.lang.Object department_ = ""; /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9065,13 +8219,13 @@ public Builder addAllDegreeTypesValue(java.lang.Iterable valu
      * 
* * string department = 12; - * * @return The department. */ public java.lang.String getDepartment() { java.lang.Object ref = department_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; @@ -9080,8 +8234,6 @@ public java.lang.String getDepartment() { } } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9089,14 +8241,15 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; - * * @return The bytes for department. */ - public com.google.protobuf.ByteString getDepartmentBytes() { + public com.google.protobuf.ByteString + getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); department_ = b; return b; } else { @@ -9104,8 +8257,6 @@ public com.google.protobuf.ByteString getDepartmentBytes() { } } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9113,22 +8264,20 @@ public com.google.protobuf.ByteString getDepartmentBytes() {
      * 
* * string department = 12; - * * @param value The department to set. * @return This builder for chaining. */ - public Builder setDepartment(java.lang.String value) { + public Builder setDepartment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + department_ = value; onChanged(); return this; } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9136,18 +8285,15 @@ public Builder setDepartment(java.lang.String value) {
      * 
* * string department = 12; - * * @return This builder for chaining. */ public Builder clearDepartment() { - + department_ = getDefaultInstance().getDepartment(); onChanged(); return this; } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9155,23 +8301,23 @@ public Builder clearDepartment() {
      * 
* * string department = 12; - * * @param value The bytes for department to set. * @return This builder for chaining. */ - public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { + public Builder setDepartmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + department_ = value; onChanged(); return this; } - private java.util.List employmentTypes_ = java.util.Collections.emptyList(); - + private java.util.List employmentTypes_ = + java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -9179,8 +8325,6 @@ private void ensureEmploymentTypesIsMutable() { } } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9188,17 +8332,13 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9206,15 +8346,12 @@ public java.util.List getEmploymentTy
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9222,7 +8359,6 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -9230,8 +8366,6 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9239,12 +8373,12 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.EmploymentType value) { + public Builder setEmploymentTypes( + int index, com.google.cloud.talent.v4.EmploymentType value) { if (value == null) { throw new NullPointerException(); } @@ -9254,8 +8388,6 @@ public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.Employme return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9263,7 +8395,6 @@ public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.Employme
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -9277,8 +8408,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9286,7 +8415,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -9300,8 +8428,6 @@ public Builder addAllEmploymentTypes( return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9309,7 +8435,6 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -9319,8 +8444,6 @@ public Builder clearEmploymentTypes() { return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9328,15 +8451,13 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9344,7 +8465,6 @@ public java.util.List getEmploymentTypesValueList() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -9352,8 +8472,6 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9361,20 +8479,18 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue(int index, int value) { + public Builder setEmploymentTypesValue( + int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9382,7 +8498,6 @@ public Builder setEmploymentTypesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -9393,8 +8508,6 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -9402,11 +8515,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue( + java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -9417,8 +8530,6 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable private java.lang.Object incentives_ = ""; /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9426,13 +8537,13 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable
      * 
* * string incentives = 14; - * * @return The incentives. */ public java.lang.String getIncentives() { java.lang.Object ref = incentives_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; @@ -9441,8 +8552,6 @@ public java.lang.String getIncentives() { } } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9450,14 +8559,15 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; - * * @return The bytes for incentives. */ - public com.google.protobuf.ByteString getIncentivesBytes() { + public com.google.protobuf.ByteString + getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incentives_ = b; return b; } else { @@ -9465,8 +8575,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() { } } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9474,22 +8582,20 @@ public com.google.protobuf.ByteString getIncentivesBytes() {
      * 
* * string incentives = 14; - * * @param value The incentives to set. * @return This builder for chaining. */ - public Builder setIncentives(java.lang.String value) { + public Builder setIncentives( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incentives_ = value; onChanged(); return this; } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9497,18 +8603,15 @@ public Builder setIncentives(java.lang.String value) {
      * 
* * string incentives = 14; - * * @return This builder for chaining. */ public Builder clearIncentives() { - + incentives_ = getDefaultInstance().getIncentives(); onChanged(); return this; } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9516,16 +8619,16 @@ public Builder clearIncentives() {
      * 
* * string incentives = 14; - * * @param value The bytes for incentives to set. * @return This builder for chaining. */ - public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { + public Builder setIncentivesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incentives_ = value; onChanged(); return this; @@ -9533,8 +8636,6 @@ public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9548,13 +8649,13 @@ public Builder setIncentivesBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 15; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -9563,8 +8664,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9578,14 +8677,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -9593,8 +8693,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9608,22 +8706,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 15; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9637,18 +8733,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 15; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9662,16 +8755,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 15; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -9679,65 +8772,51 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private int jobLevel_ = 0; /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override - public int getJobLevelValue() { + @java.lang.Override public int getJobLevelValue() { return jobLevel_; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @param value The enum numeric value on the wire for jobLevel to set. * @return This builder for chaining. */ public Builder setJobLevelValue(int value) { - + jobLevel_ = value; onChanged(); return this; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The jobLevel. */ @java.lang.Override public com.google.cloud.talent.v4.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobLevel result = - com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4.JobLevel result = com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4.JobLevel.UNRECOGNIZED : result; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @param value The jobLevel to set. * @return This builder for chaining. */ @@ -9745,33 +8824,28 @@ public Builder setJobLevel(com.google.cloud.talent.v4.JobLevel value) { if (value == null) { throw new NullPointerException(); } - + jobLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return This builder for chaining. */ public Builder clearJobLevel() { - + jobLevel_ = 0; onChanged(); return this; } - private int promotionValue_; + private int promotionValue_ ; /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9782,7 +8856,6 @@ public Builder clearJobLevel() {
      * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ @java.lang.Override @@ -9790,8 +8863,6 @@ public int getPromotionValue() { return promotionValue_; } /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9802,19 +8873,16 @@ public int getPromotionValue() {
      * 
* * int32 promotion_value = 17; - * * @param value The promotionValue to set. * @return This builder for chaining. */ public Builder setPromotionValue(int value) { - + promotionValue_ = value; onChanged(); return this; } /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9825,11 +8893,10 @@ public Builder setPromotionValue(int value) {
      * 
* * int32 promotion_value = 17; - * * @return This builder for chaining. */ public Builder clearPromotionValue() { - + promotionValue_ = 0; onChanged(); return this; @@ -9837,8 +8904,6 @@ public Builder clearPromotionValue() { private java.lang.Object qualifications_ = ""; /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9849,13 +8914,13 @@ public Builder clearPromotionValue() {
      * 
* * string qualifications = 18; - * * @return The qualifications. */ public java.lang.String getQualifications() { java.lang.Object ref = qualifications_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; @@ -9864,8 +8929,6 @@ public java.lang.String getQualifications() { } } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9876,14 +8939,15 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ - public com.google.protobuf.ByteString getQualificationsBytes() { + public com.google.protobuf.ByteString + getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); qualifications_ = b; return b; } else { @@ -9891,8 +8955,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() { } } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9903,22 +8965,20 @@ public com.google.protobuf.ByteString getQualificationsBytes() {
      * 
* * string qualifications = 18; - * * @param value The qualifications to set. * @return This builder for chaining. */ - public Builder setQualifications(java.lang.String value) { + public Builder setQualifications( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + qualifications_ = value; onChanged(); return this; } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9929,18 +8989,15 @@ public Builder setQualifications(java.lang.String value) {
      * 
* * string qualifications = 18; - * * @return This builder for chaining. */ public Builder clearQualifications() { - + qualifications_ = getDefaultInstance().getQualifications(); onChanged(); return this; } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9951,16 +9008,16 @@ public Builder clearQualifications() {
      * 
* * string qualifications = 18; - * * @param value The bytes for qualifications to set. * @return This builder for chaining. */ - public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { + public Builder setQualificationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + qualifications_ = value; onChanged(); return this; @@ -9968,8 +9025,6 @@ public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object responsibilities_ = ""; /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9980,13 +9035,13 @@ public Builder setQualificationsBytes(com.google.protobuf.ByteString value) {
      * 
* * string responsibilities = 19; - * * @return The responsibilities. */ public java.lang.String getResponsibilities() { java.lang.Object ref = responsibilities_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; @@ -9995,8 +9050,6 @@ public java.lang.String getResponsibilities() { } } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -10007,14 +9060,15 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ - public com.google.protobuf.ByteString getResponsibilitiesBytes() { + public com.google.protobuf.ByteString + getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -10022,8 +9076,6 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() { } } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -10034,22 +9086,20 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() {
      * 
* * string responsibilities = 19; - * * @param value The responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilities(java.lang.String value) { + public Builder setResponsibilities( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responsibilities_ = value; onChanged(); return this; } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -10060,18 +9110,15 @@ public Builder setResponsibilities(java.lang.String value) {
      * 
* * string responsibilities = 19; - * * @return This builder for chaining. */ public Builder clearResponsibilities() { - + responsibilities_ = getDefaultInstance().getResponsibilities(); onChanged(); return this; } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -10082,16 +9129,16 @@ public Builder clearResponsibilities() {
      * 
* * string responsibilities = 19; - * * @param value The bytes for responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { + public Builder setResponsibilitiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responsibilities_ = value; onChanged(); return this; @@ -10099,8 +9146,6 @@ public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { private int postingRegion_ = 0; /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10112,16 +9157,12 @@ public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override - public int getPostingRegionValue() { + @java.lang.Override public int getPostingRegionValue() { return postingRegion_; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10133,19 +9174,16 @@ public int getPostingRegionValue() {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @param value The enum numeric value on the wire for postingRegion to set. * @return This builder for chaining. */ public Builder setPostingRegionValue(int value) { - + postingRegion_ = value; onChanged(); return this; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10157,19 +9195,15 @@ public Builder setPostingRegionValue(int value) {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The postingRegion. */ @java.lang.Override public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.PostingRegion result = - com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4.PostingRegion result = com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4.PostingRegion.UNRECOGNIZED : result; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10181,7 +9215,6 @@ public com.google.cloud.talent.v4.PostingRegion getPostingRegion() {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @param value The postingRegion to set. * @return This builder for chaining. */ @@ -10189,14 +9222,12 @@ public Builder setPostingRegion(com.google.cloud.talent.v4.PostingRegion value) if (value == null) { throw new NullPointerException(); } - + postingRegion_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -10208,11 +9239,10 @@ public Builder setPostingRegion(com.google.cloud.talent.v4.PostingRegion value)
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return This builder for chaining. */ public Builder clearPostingRegion() { - + postingRegion_ = 0; onChanged(); return this; @@ -10220,8 +9250,6 @@ public Builder clearPostingRegion() { private int visibility_ = 0; /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10229,19 +9257,14 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override - @java.lang.Deprecated - public int getVisibilityValue() { + @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10249,22 +9272,18 @@ public int getVisibilityValue() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @param value The enum numeric value on the wire for visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setVisibilityValue(int value) { - + @java.lang.Deprecated public Builder setVisibilityValue(int value) { + visibility_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10272,22 +9291,17 @@ public Builder setVisibilityValue(int value) {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.talent.v4.Visibility getVisibility() { + @java.lang.Deprecated public com.google.cloud.talent.v4.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Visibility result = - com.google.cloud.talent.v4.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4.Visibility result = com.google.cloud.talent.v4.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4.Visibility.UNRECOGNIZED : result; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10295,25 +9309,21 @@ public com.google.cloud.talent.v4.Visibility getVisibility() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @param value The visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) { + @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) { if (value == null) { throw new NullPointerException(); } - + visibility_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10321,14 +9331,12 @@ public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearVisibility() { - + @java.lang.Deprecated public Builder clearVisibility() { + visibility_ = 0; onChanged(); return this; @@ -10336,49 +9344,36 @@ public Builder clearVisibility() { private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - jobStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobStartTimeBuilder_; /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ public boolean hasJobStartTime() { return jobStartTimeBuilder_ != null || jobStartTime_ != null; } /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ public com.google.protobuf.Timestamp getJobStartTime() { if (jobStartTimeBuilder_ == null) { - return jobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobStartTime_; + return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; } else { return jobStartTimeBuilder_.getMessage(); } } /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10400,8 +9395,6 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10409,7 +9402,8 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_start_time = 22;
      */
-    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobStartTimeBuilder_ == null) {
         jobStartTime_ = builderForValue.build();
         onChanged();
@@ -10420,8 +9414,6 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10433,9 +9425,7 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       if (jobStartTimeBuilder_ == null) {
         if (jobStartTime_ != null) {
           jobStartTime_ =
-              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(jobStartTime_).mergeFrom(value).buildPartial();
         } else {
           jobStartTime_ = value;
         }
@@ -10447,8 +9437,6 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10468,8 +9456,6 @@ public Builder clearJobStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10478,13 +9464,11 @@ public Builder clearJobStartTime() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {
-
+      
       onChanged();
       return getJobStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10496,14 +9480,11 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
       if (jobStartTimeBuilder_ != null) {
         return jobStartTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobStartTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : jobStartTime_;
+        return jobStartTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10512,17 +9493,14 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getJobStartTimeFieldBuilder() {
       if (jobStartTimeBuilder_ == null) {
-        jobStartTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getJobStartTime(), getParentForChildren(), isClean());
+        jobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getJobStartTime(),
+                getParentForChildren(),
+                isClean());
         jobStartTime_ = null;
       }
       return jobStartTimeBuilder_;
@@ -10530,49 +9508,36 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp jobEndTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        jobEndTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobEndTimeBuilder_;
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ public boolean hasJobEndTime() { return jobEndTimeBuilder_ != null || jobEndTime_ != null; } /** - * - * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ public com.google.protobuf.Timestamp getJobEndTime() { if (jobEndTimeBuilder_ == null) { - return jobEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobEndTime_; + return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } else { return jobEndTimeBuilder_.getMessage(); } } /** - * - * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10594,8 +9559,6 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10603,7 +9566,8 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_end_time = 23;
      */
-    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobEndTimeBuilder_ == null) {
         jobEndTime_ = builderForValue.build();
         onChanged();
@@ -10614,8 +9578,6 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10627,7 +9589,7 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       if (jobEndTimeBuilder_ == null) {
         if (jobEndTime_ != null) {
           jobEndTime_ =
-              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
         } else {
           jobEndTime_ = value;
         }
@@ -10639,8 +9601,6 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10660,8 +9620,6 @@ public Builder clearJobEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10670,13 +9628,11 @@ public Builder clearJobEndTime() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {
-
+      
       onChanged();
       return getJobEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10688,14 +9644,11 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
       if (jobEndTimeBuilder_ != null) {
         return jobEndTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobEndTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : jobEndTime_;
+        return jobEndTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10704,17 +9657,14 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getJobEndTimeFieldBuilder() {
       if (jobEndTimeBuilder_ == null) {
-        jobEndTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getJobEndTime(), getParentForChildren(), isClean());
+        jobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getJobEndTime(),
+                getParentForChildren(),
+                isClean());
         jobEndTime_ = null;
       }
       return jobEndTimeBuilder_;
@@ -10722,13 +9672,8 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingPublishTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingPublishTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingPublishTimeBuilder_;
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10736,15 +9681,12 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ public boolean hasPostingPublishTime() { return postingPublishTimeBuilder_ != null || postingPublishTime_ != null; } /** - * - * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10752,21 +9694,16 @@ public boolean hasPostingPublishTime() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ public com.google.protobuf.Timestamp getPostingPublishTime() { if (postingPublishTimeBuilder_ == null) { - return postingPublishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingPublishTime_; + return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; } else { return postingPublishTimeBuilder_.getMessage(); } } /** - * - * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10789,8 +9726,6 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10799,7 +9734,8 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
-    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingPublishTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingPublishTimeBuilder_ == null) {
         postingPublishTime_ = builderForValue.build();
         onChanged();
@@ -10810,8 +9746,6 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10824,9 +9758,7 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       if (postingPublishTimeBuilder_ == null) {
         if (postingPublishTime_ != null) {
           postingPublishTime_ =
-              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(postingPublishTime_).mergeFrom(value).buildPartial();
         } else {
           postingPublishTime_ = value;
         }
@@ -10838,8 +9770,6 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10860,8 +9790,6 @@ public Builder clearPostingPublishTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10871,13 +9799,11 @@ public Builder clearPostingPublishTime() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {
-
+      
       onChanged();
       return getPostingPublishTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10890,14 +9816,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
       if (postingPublishTimeBuilder_ != null) {
         return postingPublishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingPublishTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : postingPublishTime_;
+        return postingPublishTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10907,17 +9830,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getPostingPublishTimeFieldBuilder() {
       if (postingPublishTimeBuilder_ == null) {
-        postingPublishTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPostingPublishTime(), getParentForChildren(), isClean());
+        postingPublishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPostingPublishTime(),
+                getParentForChildren(),
+                isClean());
         postingPublishTime_ = null;
       }
       return postingPublishTimeBuilder_;
@@ -10925,13 +9845,8 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingExpireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingExpireTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingExpireTimeBuilder_;
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10971,15 +9886,12 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ public boolean hasPostingExpireTime() { return postingExpireTimeBuilder_ != null || postingExpireTime_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11019,21 +9931,16 @@ public boolean hasPostingExpireTime() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ public com.google.protobuf.Timestamp getPostingExpireTime() { if (postingExpireTimeBuilder_ == null) { - return postingExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingExpireTime_; + return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; } else { return postingExpireTimeBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11088,8 +9995,6 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11130,7 +10035,8 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
-    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingExpireTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingExpireTimeBuilder_ == null) {
         postingExpireTime_ = builderForValue.build();
         onChanged();
@@ -11141,8 +10047,6 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11187,9 +10091,7 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       if (postingExpireTimeBuilder_ == null) {
         if (postingExpireTime_ != null) {
           postingExpireTime_ =
-              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(postingExpireTime_).mergeFrom(value).buildPartial();
         } else {
           postingExpireTime_ = value;
         }
@@ -11201,8 +10103,6 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11255,8 +10155,6 @@ public Builder clearPostingExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11298,13 +10196,11 @@ public Builder clearPostingExpireTime() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
-
+      
       onChanged();
       return getPostingExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11349,14 +10245,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
       if (postingExpireTimeBuilder_ != null) {
         return postingExpireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingExpireTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : postingExpireTime_;
+        return postingExpireTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11398,17 +10291,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getPostingExpireTimeFieldBuilder() {
       if (postingExpireTimeBuilder_ == null) {
-        postingExpireTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPostingExpireTime(), getParentForChildren(), isClean());
+        postingExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPostingExpireTime(),
+                getParentForChildren(),
+                isClean());
         postingExpireTime_ = null;
       }
       return postingExpireTimeBuilder_;
@@ -11416,58 +10306,39 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingCreateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingCreateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ public boolean hasPostingCreateTime() { return postingCreateTimeBuilder_ != null || postingCreateTime_ != null; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ public com.google.protobuf.Timestamp getPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } else { return postingCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { @@ -11483,17 +10354,14 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (postingCreateTimeBuilder_ == null) { postingCreateTime_ = builderForValue.build(); onChanged(); @@ -11504,23 +10372,17 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { if (postingCreateTime_ != null) { postingCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingCreateTime_).mergeFrom(value).buildPartial(); } else { postingCreateTime_ = value; } @@ -11532,15 +10394,11 @@ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { @@ -11554,64 +10412,48 @@ public Builder clearPostingCreateTime() { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() { - + onChanged(); return getPostingCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { if (postingCreateTimeBuilder_ != null) { return postingCreateTimeBuilder_.getMessageOrBuilder(); } else { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPostingCreateTimeFieldBuilder() { if (postingCreateTimeBuilder_ == null) { - postingCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPostingCreateTime(), getParentForChildren(), isClean()); + postingCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPostingCreateTime(), + getParentForChildren(), + isClean()); postingCreateTime_ = null; } return postingCreateTimeBuilder_; @@ -11619,58 +10461,39 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - postingUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingUpdateTimeBuilder_; /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ public boolean hasPostingUpdateTime() { return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ public com.google.protobuf.Timestamp getPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } else { return postingUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { @@ -11686,17 +10509,14 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (postingUpdateTimeBuilder_ == null) { postingUpdateTime_ = builderForValue.build(); onChanged(); @@ -11707,23 +10527,17 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { if (postingUpdateTime_ != null) { postingUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_).mergeFrom(value).buildPartial(); } else { postingUpdateTime_ = value; } @@ -11735,15 +10549,11 @@ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { @@ -11757,64 +10567,48 @@ public Builder clearPostingUpdateTime() { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() { - + onChanged(); return getPostingUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { if (postingUpdateTimeBuilder_ != null) { return postingUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPostingUpdateTimeFieldBuilder() { if (postingUpdateTimeBuilder_ == null) { - postingUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPostingUpdateTime(), getParentForChildren(), isClean()); + postingUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPostingUpdateTime(), + getParentForChildren(), + isClean()); postingUpdateTime_ = null; } return postingUpdateTimeBuilder_; @@ -11822,20 +10616,18 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { private java.lang.Object companyDisplayName_ = ""; /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ public java.lang.String getCompanyDisplayName() { java.lang.Object ref = companyDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; @@ -11844,21 +10636,20 @@ public java.lang.String getCompanyDisplayName() { } } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ - public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString + getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -11866,61 +10657,54 @@ public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { } } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayName(java.lang.String value) { + public Builder setCompanyDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + companyDisplayName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCompanyDisplayName() { - + companyDisplayName_ = getDefaultInstance().getCompanyDisplayName(); onChanged(); return this; } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + companyDisplayName_ = value; onChanged(); return this; @@ -11928,58 +10712,39 @@ public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) private com.google.cloud.talent.v4.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> - derivedInfoBuilder_; + com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> derivedInfoBuilder_; /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ public com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -11995,15 +10760,11 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo( com.google.cloud.talent.v4.Job.DerivedInfo.Builder builderForValue) { @@ -12017,23 +10778,17 @@ public Builder setDerivedInfo( return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder(derivedInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); } else { derivedInfo_ = value; } @@ -12045,15 +10800,11 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -12067,64 +10818,48 @@ public Builder clearDerivedInfo() { return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4.Job.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null - ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? + com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> + com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, - com.google.cloud.talent.v4.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder>( - getDerivedInfo(), getParentForChildren(), isClean()); + derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder>( + getDerivedInfo(), + getParentForChildren(), + isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; @@ -12132,47 +10867,34 @@ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuild private com.google.cloud.talent.v4.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> - processingOptionsBuilder_; + com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> processingOptionsBuilder_; /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ public boolean hasProcessingOptions() { return processingOptionsBuilder_ != null || processingOptions_ != null; } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ public com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions() { if (processingOptionsBuilder_ == null) { - return processingOptions_ == null - ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } else { return processingOptionsBuilder_.getMessage(); } } /** - * - * *
      * Options for job processing.
      * 
@@ -12193,8 +10915,6 @@ public Builder setProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingOpt return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12213,8 +10933,6 @@ public Builder setProcessingOptions( return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12225,9 +10943,7 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingO if (processingOptionsBuilder_ == null) { if (processingOptions_ != null) { processingOptions_ = - com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder(processingOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder(processingOptions_).mergeFrom(value).buildPartial(); } else { processingOptions_ = value; } @@ -12239,8 +10955,6 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingO return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12259,8 +10973,6 @@ public Builder clearProcessingOptions() { return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12268,32 +10980,26 @@ public Builder clearProcessingOptions() { * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ public com.google.cloud.talent.v4.Job.ProcessingOptions.Builder getProcessingOptionsBuilder() { - + onChanged(); return getProcessingOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder - getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { if (processingOptionsBuilder_ != null) { return processingOptionsBuilder_.getMessageOrBuilder(); } else { - return processingOptions_ == null - ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? + com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } } /** - * - * *
      * Options for job processing.
      * 
@@ -12301,24 +11007,21 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions.Builder getProcessingOpt * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> + com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> getProcessingOptionsFieldBuilder() { if (processingOptionsBuilder_ == null) { - processingOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, - com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder>( - getProcessingOptions(), getParentForChildren(), isClean()); + processingOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder>( + getProcessingOptions(), + getParentForChildren(), + isClean()); processingOptions_ = null; } return processingOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12328,12 +11031,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job) private static final com.google.cloud.talent.v4.Job DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job(); } @@ -12342,27 +11045,27 @@ public static com.google.cloud.talent.v4.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12377,4 +11080,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java index 978b62be2040..136a72f1e2fb 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * An enum that represents employee benefits included with the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.JobBenefit} */ -public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { +public enum JobBenefit + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if the type isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ JOB_BENEFIT_UNSPECIFIED(0), /** - * - * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -50,8 +30,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   CHILD_CARE(1),
   /**
-   *
-   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -61,8 +39,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   DENTAL(2),
   /**
-   *
-   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -71,8 +47,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ DOMESTIC_PARTNER(3), /** - * - * *
    * The job allows for a flexible work schedule.
    * 
@@ -81,8 +55,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ FLEXIBLE_HOURS(4), /** - * - * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -91,8 +63,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ MEDICAL(5), /** - * - * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -102,8 +72,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   LIFE_INSURANCE(6),
   /**
-   *
-   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -113,8 +81,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   PARENTAL_LEAVE(7),
   /**
-   *
-   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -124,8 +90,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   RETIREMENT_PLAN(8),
   /**
-   *
-   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -134,8 +98,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ SICK_DAYS(9), /** - * - * *
    * The job includes paid time off for vacation.
    * 
@@ -144,8 +106,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ VACATION(10), /** - * - * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -158,8 +118,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value if the type isn't specified.
    * 
@@ -168,8 +126,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_BENEFIT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -179,8 +135,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CHILD_CARE_VALUE = 1;
   /**
-   *
-   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -190,8 +144,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DENTAL_VALUE = 2;
   /**
-   *
-   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -200,8 +152,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOMESTIC_PARTNER_VALUE = 3; /** - * - * *
    * The job allows for a flexible work schedule.
    * 
@@ -210,8 +160,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLEXIBLE_HOURS_VALUE = 4; /** - * - * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -220,8 +168,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDICAL_VALUE = 5; /** - * - * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -231,8 +177,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LIFE_INSURANCE_VALUE = 6;
   /**
-   *
-   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -242,8 +186,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PARENTAL_LEAVE_VALUE = 7;
   /**
-   *
-   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -253,8 +195,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int RETIREMENT_PLAN_VALUE = 8;
   /**
-   *
-   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -263,8 +203,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SICK_DAYS_VALUE = 9; /** - * - * *
    * The job includes paid time off for vacation.
    * 
@@ -273,8 +211,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VACATION_VALUE = 10; /** - * - * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -284,6 +220,7 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VISION_VALUE = 11;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -308,67 +245,58 @@ public static JobBenefit valueOf(int value) {
    */
   public static JobBenefit forNumber(int value) {
     switch (value) {
-      case 0:
-        return JOB_BENEFIT_UNSPECIFIED;
-      case 1:
-        return CHILD_CARE;
-      case 2:
-        return DENTAL;
-      case 3:
-        return DOMESTIC_PARTNER;
-      case 4:
-        return FLEXIBLE_HOURS;
-      case 5:
-        return MEDICAL;
-      case 6:
-        return LIFE_INSURANCE;
-      case 7:
-        return PARENTAL_LEAVE;
-      case 8:
-        return RETIREMENT_PLAN;
-      case 9:
-        return SICK_DAYS;
-      case 10:
-        return VACATION;
-      case 11:
-        return VISION;
-      default:
-        return null;
+      case 0: return JOB_BENEFIT_UNSPECIFIED;
+      case 1: return CHILD_CARE;
+      case 2: return DENTAL;
+      case 3: return DOMESTIC_PARTNER;
+      case 4: return FLEXIBLE_HOURS;
+      case 5: return MEDICAL;
+      case 6: return LIFE_INSURANCE;
+      case 7: return PARENTAL_LEAVE;
+      case 8: return RETIREMENT_PLAN;
+      case 9: return SICK_DAYS;
+      case 10: return VACATION;
+      case 11: return VISION;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      JobBenefit> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public JobBenefit findValueByNumber(int number) {
+            return JobBenefit.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public JobBenefit findValueByNumber(int number) {
-          return JobBenefit.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final JobBenefit[] VALUES = values();
 
-  public static JobBenefit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static JobBenefit valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -384,3 +312,4 @@ private JobBenefit(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobBenefit)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
similarity index 79%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
index 3b98d7ec1866..82dcd4aecdd6 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * An enum that represents the categorization or primary focus of specific
  * role. This value is different than the "industry" associated with a role,
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.JobCategory}
  */
-public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobCategory
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default value if the category isn't specified.
    * 
@@ -41,8 +23,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ JOB_CATEGORY_UNSPECIFIED(0), /** - * - * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -51,8 +31,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ACCOUNTING_AND_FINANCE(1), /** - * - * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -61,8 +39,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ADMINISTRATIVE_AND_OFFICE(2), /** - * - * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -71,8 +47,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ADVERTISING_AND_MARKETING(3), /** - * - * *
    * An animal care job, such as Veterinarian.
    * 
@@ -81,8 +55,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ANIMAL_CARE(4), /** - * - * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -91,8 +63,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ART_FASHION_AND_DESIGN(5), /** - * - * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -101,8 +71,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ BUSINESS_OPERATIONS(6), /** - * - * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -111,8 +79,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CLEANING_AND_FACILITIES(7), /** - * - * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -121,8 +87,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ COMPUTER_AND_IT(8), /** - * - * *
    * A construction job, such as General Laborer.
    * 
@@ -131,8 +95,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CONSTRUCTION(9), /** - * - * *
    * A customer service job, such s Cashier.
    * 
@@ -141,8 +103,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CUSTOMER_SERVICE(10), /** - * - * *
    * An education job, such as School Teacher.
    * 
@@ -151,8 +111,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ EDUCATION(11), /** - * - * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -161,8 +119,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ENTERTAINMENT_AND_TRAVEL(12), /** - * - * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -171,8 +127,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ FARMING_AND_OUTDOORS(13), /** - * - * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -181,8 +135,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ HEALTHCARE(14), /** - * - * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -191,8 +143,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ HUMAN_RESOURCES(15), /** - * - * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -201,8 +151,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLATION_MAINTENANCE_AND_REPAIR(16), /** - * - * *
    * A legal job, such as Law Clerk.
    * 
@@ -211,8 +159,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ LEGAL(17), /** - * - * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -222,8 +168,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
    */
   MANAGEMENT(18),
   /**
-   *
-   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -232,8 +176,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ MANUFACTURING_AND_WAREHOUSE(19), /** - * - * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -242,8 +184,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ MEDIA_COMMUNICATIONS_AND_WRITING(20), /** - * - * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -252,8 +192,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ OIL_GAS_AND_MINING(21), /** - * - * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -262,8 +200,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ PERSONAL_CARE_AND_SERVICES(22), /** - * - * *
    * A protective services job, such as Security Guard.
    * 
@@ -272,8 +208,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ PROTECTIVE_SERVICES(23), /** - * - * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -282,8 +216,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ REAL_ESTATE(24), /** - * - * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -292,8 +224,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ RESTAURANT_AND_HOSPITALITY(25), /** - * - * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -302,8 +232,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SALES_AND_RETAIL(26), /** - * - * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -312,8 +240,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SCIENCE_AND_ENGINEERING(27), /** - * - * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -322,8 +248,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SOCIAL_SERVICES_AND_NON_PROFIT(28), /** - * - * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -332,8 +256,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SPORTS_FITNESS_AND_RECREATION(29), /** - * - * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -345,8 +267,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the category isn't specified.
    * 
@@ -355,8 +275,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -365,8 +283,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; /** - * - * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -375,8 +291,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; /** - * - * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -385,8 +299,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADVERTISING_AND_MARKETING_VALUE = 3; /** - * - * *
    * An animal care job, such as Veterinarian.
    * 
@@ -395,8 +307,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANIMAL_CARE_VALUE = 4; /** - * - * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -405,8 +315,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ART_FASHION_AND_DESIGN_VALUE = 5; /** - * - * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -415,8 +323,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUSINESS_OPERATIONS_VALUE = 6; /** - * - * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -425,8 +331,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLEANING_AND_FACILITIES_VALUE = 7; /** - * - * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -435,8 +339,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPUTER_AND_IT_VALUE = 8; /** - * - * *
    * A construction job, such as General Laborer.
    * 
@@ -445,8 +347,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONSTRUCTION_VALUE = 9; /** - * - * *
    * A customer service job, such s Cashier.
    * 
@@ -455,8 +355,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CUSTOMER_SERVICE_VALUE = 10; /** - * - * *
    * An education job, such as School Teacher.
    * 
@@ -465,8 +363,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EDUCATION_VALUE = 11; /** - * - * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -475,8 +371,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; /** - * - * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -485,8 +379,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FARMING_AND_OUTDOORS_VALUE = 13; /** - * - * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -495,8 +387,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEALTHCARE_VALUE = 14; /** - * - * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -505,8 +395,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HUMAN_RESOURCES_VALUE = 15; /** - * - * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -515,8 +403,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; /** - * - * *
    * A legal job, such as Law Clerk.
    * 
@@ -525,8 +411,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LEGAL_VALUE = 17; /** - * - * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -536,8 +420,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MANAGEMENT_VALUE = 18;
   /**
-   *
-   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -546,8 +428,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; /** - * - * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -556,8 +436,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; /** - * - * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -566,8 +444,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OIL_GAS_AND_MINING_VALUE = 21; /** - * - * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -576,8 +452,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; /** - * - * *
    * A protective services job, such as Security Guard.
    * 
@@ -586,8 +460,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROTECTIVE_SERVICES_VALUE = 23; /** - * - * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -596,8 +468,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REAL_ESTATE_VALUE = 24; /** - * - * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -606,8 +476,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; /** - * - * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -616,8 +484,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SALES_AND_RETAIL_VALUE = 26; /** - * - * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -626,8 +492,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; /** - * - * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -636,8 +500,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; /** - * - * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -646,8 +508,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; /** - * - * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -656,6 +516,7 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -680,105 +541,77 @@ public static JobCategory valueOf(int value) { */ public static JobCategory forNumber(int value) { switch (value) { - case 0: - return JOB_CATEGORY_UNSPECIFIED; - case 1: - return ACCOUNTING_AND_FINANCE; - case 2: - return ADMINISTRATIVE_AND_OFFICE; - case 3: - return ADVERTISING_AND_MARKETING; - case 4: - return ANIMAL_CARE; - case 5: - return ART_FASHION_AND_DESIGN; - case 6: - return BUSINESS_OPERATIONS; - case 7: - return CLEANING_AND_FACILITIES; - case 8: - return COMPUTER_AND_IT; - case 9: - return CONSTRUCTION; - case 10: - return CUSTOMER_SERVICE; - case 11: - return EDUCATION; - case 12: - return ENTERTAINMENT_AND_TRAVEL; - case 13: - return FARMING_AND_OUTDOORS; - case 14: - return HEALTHCARE; - case 15: - return HUMAN_RESOURCES; - case 16: - return INSTALLATION_MAINTENANCE_AND_REPAIR; - case 17: - return LEGAL; - case 18: - return MANAGEMENT; - case 19: - return MANUFACTURING_AND_WAREHOUSE; - case 20: - return MEDIA_COMMUNICATIONS_AND_WRITING; - case 21: - return OIL_GAS_AND_MINING; - case 22: - return PERSONAL_CARE_AND_SERVICES; - case 23: - return PROTECTIVE_SERVICES; - case 24: - return REAL_ESTATE; - case 25: - return RESTAURANT_AND_HOSPITALITY; - case 26: - return SALES_AND_RETAIL; - case 27: - return SCIENCE_AND_ENGINEERING; - case 28: - return SOCIAL_SERVICES_AND_NON_PROFIT; - case 29: - return SPORTS_FITNESS_AND_RECREATION; - case 30: - return TRANSPORTATION_AND_LOGISTICS; - default: - return null; + case 0: return JOB_CATEGORY_UNSPECIFIED; + case 1: return ACCOUNTING_AND_FINANCE; + case 2: return ADMINISTRATIVE_AND_OFFICE; + case 3: return ADVERTISING_AND_MARKETING; + case 4: return ANIMAL_CARE; + case 5: return ART_FASHION_AND_DESIGN; + case 6: return BUSINESS_OPERATIONS; + case 7: return CLEANING_AND_FACILITIES; + case 8: return COMPUTER_AND_IT; + case 9: return CONSTRUCTION; + case 10: return CUSTOMER_SERVICE; + case 11: return EDUCATION; + case 12: return ENTERTAINMENT_AND_TRAVEL; + case 13: return FARMING_AND_OUTDOORS; + case 14: return HEALTHCARE; + case 15: return HUMAN_RESOURCES; + case 16: return INSTALLATION_MAINTENANCE_AND_REPAIR; + case 17: return LEGAL; + case 18: return MANAGEMENT; + case 19: return MANUFACTURING_AND_WAREHOUSE; + case 20: return MEDIA_COMMUNICATIONS_AND_WRITING; + case 21: return OIL_GAS_AND_MINING; + case 22: return PERSONAL_CARE_AND_SERVICES; + case 23: return PROTECTIVE_SERVICES; + case 24: return REAL_ESTATE; + case 25: return RESTAURANT_AND_HOSPITALITY; + case 26: return SALES_AND_RETAIL; + case 27: return SCIENCE_AND_ENGINEERING; + case 28: return SOCIAL_SERVICES_AND_NON_PROFIT; + case 29: return SPORTS_FITNESS_AND_RECREATION; + case 30: return TRANSPORTATION_AND_LOGISTICS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + JobCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobCategory findValueByNumber(int number) { + return JobCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobCategory findValueByNumber(int number) { - return JobCategory.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(5); } private static final JobCategory[] VALUES = values(); - public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobCategory valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -794,3 +627,4 @@ private JobCategory(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobCategory) } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java similarity index 77% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java index b55b1a8184da..edfb7bedebe6 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; /** - * - * *
  * An event issued when a job seeker interacts with the application that
  * implements Cloud Talent Solution.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.JobEvent}
  */
-public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class JobEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobEvent)
     JobEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private JobEvent() {
     type_ = 0;
     jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -45,33 +27,30 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.EventProto
-        .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.EventProto
-        .internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.JobEvent.class,
-            com.google.cloud.talent.v4.JobEvent.Builder.class);
+            com.google.cloud.talent.v4.JobEvent.class, com.google.cloud.talent.v4.JobEvent.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enumeration of an event attributed to the behavior of the end user,
    * such as a job seeker.
@@ -79,10 +58,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4.JobEvent.JobEventType}
    */
-  public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum JobEventType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -91,8 +69,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum { */ JOB_EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -104,8 +80,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     IMPRESSION(1),
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -118,8 +92,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     VIEW(2),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -130,8 +102,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     VIEW_REDIRECT(3),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -141,8 +111,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_START(4),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -152,8 +120,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_FINISH(5),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -167,8 +133,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_QUICK_SUBMISSION(6),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -179,8 +143,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_REDIRECT(7),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -192,8 +154,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_START_FROM_SEARCH(8),
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -208,8 +168,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_REDIRECT_FROM_SEARCH(9),
     /**
-     *
-     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -220,8 +178,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_COMPANY_SUBMIT(10),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -231,8 +187,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOKMARK(11),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -243,8 +197,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NOTIFICATION(12),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -257,8 +209,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     HIRED(13),
     /**
-     *
-     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -269,8 +219,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SENT_CV(14),
     /**
-     *
-     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -286,8 +234,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -296,8 +242,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -309,8 +253,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IMPRESSION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -323,8 +265,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEW_VALUE = 2;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -335,8 +275,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEW_REDIRECT_VALUE = 3;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -346,8 +284,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_START_VALUE = 4;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -357,8 +293,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_FINISH_VALUE = 5;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -372,8 +306,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_QUICK_SUBMISSION_VALUE = 6;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -384,8 +316,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_REDIRECT_VALUE = 7;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -397,8 +327,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_START_FROM_SEARCH_VALUE = 8;
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -413,8 +341,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_REDIRECT_FROM_SEARCH_VALUE = 9;
     /**
-     *
-     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -425,8 +351,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_COMPANY_SUBMIT_VALUE = 10;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -436,8 +360,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOKMARK_VALUE = 11;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -448,8 +370,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NOTIFICATION_VALUE = 12;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -462,8 +382,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HIRED_VALUE = 13;
     /**
-     *
-     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -474,8 +392,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SENT_CV_VALUE = 14;
     /**
-     *
-     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -488,6 +404,7 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INTERVIEW_GRANTED_VALUE = 15;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -512,75 +429,62 @@ public static JobEventType valueOf(int value) {
      */
     public static JobEventType forNumber(int value) {
       switch (value) {
-        case 0:
-          return JOB_EVENT_TYPE_UNSPECIFIED;
-        case 1:
-          return IMPRESSION;
-        case 2:
-          return VIEW;
-        case 3:
-          return VIEW_REDIRECT;
-        case 4:
-          return APPLICATION_START;
-        case 5:
-          return APPLICATION_FINISH;
-        case 6:
-          return APPLICATION_QUICK_SUBMISSION;
-        case 7:
-          return APPLICATION_REDIRECT;
-        case 8:
-          return APPLICATION_START_FROM_SEARCH;
-        case 9:
-          return APPLICATION_REDIRECT_FROM_SEARCH;
-        case 10:
-          return APPLICATION_COMPANY_SUBMIT;
-        case 11:
-          return BOOKMARK;
-        case 12:
-          return NOTIFICATION;
-        case 13:
-          return HIRED;
-        case 14:
-          return SENT_CV;
-        case 15:
-          return INTERVIEW_GRANTED;
-        default:
-          return null;
+        case 0: return JOB_EVENT_TYPE_UNSPECIFIED;
+        case 1: return IMPRESSION;
+        case 2: return VIEW;
+        case 3: return VIEW_REDIRECT;
+        case 4: return APPLICATION_START;
+        case 5: return APPLICATION_FINISH;
+        case 6: return APPLICATION_QUICK_SUBMISSION;
+        case 7: return APPLICATION_REDIRECT;
+        case 8: return APPLICATION_START_FROM_SEARCH;
+        case 9: return APPLICATION_REDIRECT_FROM_SEARCH;
+        case 10: return APPLICATION_COMPANY_SUBMIT;
+        case 11: return BOOKMARK;
+        case 12: return NOTIFICATION;
+        case 13: return HIRED;
+        case 14: return SENT_CV;
+        case 15: return INTERVIEW_GRANTED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobEventType findValueByNumber(int number) {
-            return JobEventType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        JobEventType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public JobEventType findValueByNumber(int number) {
+              return JobEventType.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.JobEvent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobEventType[] VALUES = values();
 
-    public static JobEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobEventType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -600,48 +504,33 @@ private JobEventType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { + @java.lang.Override public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobEvent.JobEventType result = - com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); + com.google.cloud.talent.v4.JobEvent.JobEventType result = com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); return result == null ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED : result; } public static final int JOBS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList jobs_; /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -654,15 +543,13 @@ public com.google.cloud.talent.v4.JobEvent.JobEventType getType() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList getJobsList() { + public com.google.protobuf.ProtocolStringList + getJobsList() { return jobs_; } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -675,15 +562,12 @@ public com.google.protobuf.ProtocolStringList getJobsList() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -696,7 +580,6 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -704,8 +587,6 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -718,16 +599,15 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString getJobsBytes(int index) { + public com.google.protobuf.ByteString + getJobsBytes(int index) { return jobs_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -739,10 +619,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < jobs_.size(); i++) { @@ -757,10 +636,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; @@ -778,7 +656,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.JobEvent)) { return super.equals(obj); @@ -786,7 +664,8 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4.JobEvent other = (com.google.cloud.talent.v4.JobEvent) obj; if (type_ != other.type_) return false; - if (!getJobsList().equals(other.getJobsList())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -809,103 +688,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.JobEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.JobEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.JobEvent parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.JobEvent parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -913,32 +786,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.JobEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobEvent)
       com.google.cloud.talent.v4.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.JobEvent.class,
-              com.google.cloud.talent.v4.JobEvent.Builder.class);
+              com.google.cloud.talent.v4.JobEvent.class, com.google.cloud.talent.v4.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.JobEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -950,9 +824,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.EventProto
-          .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -987,39 +861,38 @@ public com.google.cloud.talent.v4.JobEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.JobEvent) {
-        return mergeFrom((com.google.cloud.talent.v4.JobEvent) other);
+        return mergeFrom((com.google.cloud.talent.v4.JobEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1067,26 +940,23 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                type_ = input.readEnum();
+            case 8: {
+              type_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureJobsIsMutable();
-                jobs_.add(s);
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 8
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureJobsIsMutable();
+              jobs_.add(s);
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1096,80 +966,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobEvent.JobEventType result = - com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.JobEvent.JobEventType result = com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1177,43 +1022,34 @@ public Builder setType(com.google.cloud.talent.v4.JobEvent.JobEventType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList jobs_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1226,15 +1062,13 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList getJobsList() { + public com.google.protobuf.ProtocolStringList + getJobsList() { return jobs_.getUnmodifiableView(); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1247,15 +1081,12 @@ public com.google.protobuf.ProtocolStringList getJobsList() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1268,7 +1099,6 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1276,8 +1106,6 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1290,16 +1118,14 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString getJobsBytes(int index) { + public com.google.protobuf.ByteString + getJobsBytes(int index) { return jobs_.getByteString(index); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1312,23 +1138,21 @@ public com.google.protobuf.ByteString getJobsBytes(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs(int index, java.lang.String value) { + public Builder setJobs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1341,22 +1165,20 @@ public Builder setJobs(int index, java.lang.String value) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs(java.lang.String value) { + public Builder addJobs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1369,19 +1191,18 @@ public Builder addJobs(java.lang.String value) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs(java.lang.Iterable values) { + public Builder addAllJobs( + java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1394,7 +1215,6 @@ public Builder addAllJobs(java.lang.Iterable values) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobs() { @@ -1404,8 +1224,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1418,23 +1236,23 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes(com.google.protobuf.ByteString value) { + public Builder addJobsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1444,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobEvent) private static final com.google.cloud.talent.v4.JobEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobEvent(); } @@ -1458,27 +1276,27 @@ public static com.google.cloud.talent.v4.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1493,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java similarity index 77% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java index 196ebba3f127..8c454dd1f38a 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java @@ -1,60 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; -public interface JobEventOrBuilder - extends +public interface JobEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.talent.v4.JobEvent.JobEventType getType(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -67,13 +39,11 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -86,13 +56,10 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ int getJobsCount(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -105,14 +72,11 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -125,9 +89,9 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString getJobsBytes(int index); + com.google.protobuf.ByteString + getJobsBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java index 9066fa3f907d..439d740ffe50 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * An enum that represents the required experience level required for the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.JobLevel} */ -public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { +public enum JobLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value if the level isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ JOB_LEVEL_UNSPECIFIED(0), /** - * - * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -50,8 +30,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   ENTRY_LEVEL(1),
   /**
-   *
-   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -61,8 +39,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   EXPERIENCED(2),
   /**
-   *
-   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -71,8 +47,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ MANAGER(3), /** - * - * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -81,8 +55,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ DIRECTOR(4), /** - * - * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -94,8 +66,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the level isn't specified.
    * 
@@ -104,8 +74,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -115,8 +83,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ENTRY_LEVEL_VALUE = 1;
   /**
-   *
-   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -126,8 +92,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int EXPERIENCED_VALUE = 2;
   /**
-   *
-   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -136,8 +100,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGER_VALUE = 3; /** - * - * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -146,8 +108,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECTOR_VALUE = 4; /** - * - * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -156,6 +116,7 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXECUTIVE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -180,55 +141,52 @@ public static JobLevel valueOf(int value) { */ public static JobLevel forNumber(int value) { switch (value) { - case 0: - return JOB_LEVEL_UNSPECIFIED; - case 1: - return ENTRY_LEVEL; - case 2: - return EXPERIENCED; - case 3: - return MANAGER; - case 4: - return DIRECTOR; - case 5: - return EXECUTIVE; - default: - return null; + case 0: return JOB_LEVEL_UNSPECIFIED; + case 1: return ENTRY_LEVEL; + case 2: return EXPERIENCED; + case 3: return MANAGER; + case 4: return DIRECTOR; + case 5: return EXECUTIVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobLevel findValueByNumber(int number) { - return JobLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + JobLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobLevel findValueByNumber(int number) { + return JobLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(4); } private static final JobLevel[] VALUES = values(); - public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobLevel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -244,3 +202,4 @@ private JobLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobLevel) } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java similarity index 90% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java index f590a4294dc7..881661c716ef 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job.proto package com.google.cloud.talent.v4; -public interface JobOrBuilder - extends +public interface JobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -38,13 +20,10 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -57,14 +36,12 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -72,16 +49,11 @@ public interface JobOrBuilder
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ java.lang.String getCompany(); /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -89,17 +61,13 @@ public interface JobOrBuilder
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ - com.google.protobuf.ByteString getCompanyBytes(); + com.google.protobuf.ByteString + getCompanyBytes(); /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -110,13 +78,10 @@ public interface JobOrBuilder
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ java.lang.String getRequisitionId(); /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -127,41 +92,34 @@ public interface JobOrBuilder
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ - com.google.protobuf.ByteString getRequisitionIdBytes(); + com.google.protobuf.ByteString + getRequisitionIdBytes(); /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -174,13 +132,10 @@ public interface JobOrBuilder
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -193,14 +148,12 @@ public interface JobOrBuilder
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -226,13 +179,11 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - java.util.List getAddressesList(); + java.util.List + getAddressesList(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -258,13 +209,10 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ int getAddressesCount(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -290,14 +238,11 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ java.lang.String getAddresses(int index); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -323,39 +268,31 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - com.google.protobuf.ByteString getAddressesBytes(int index); + com.google.protobuf.ByteString + getAddressesBytes(int index); /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ boolean hasApplicationInfo(); /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo(); /** - * - * *
    * Job application information.
    * 
@@ -365,97 +302,75 @@ public interface JobOrBuilder com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ java.util.List getJobBenefitsList(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ int getJobBenefitsCount(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - java.util.List getJobBenefitsValueList(); + java.util.List + getJobBenefitsValueList(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ int getJobBenefitsValue(int index); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ boolean hasCompensationInfo(); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ com.google.cloud.talent.v4.CompensationInfo getCompensationInfo(); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -466,8 +381,6 @@ public interface JobOrBuilder
   com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -485,8 +398,6 @@ public interface JobOrBuilder
    */
   int getCustomAttributesCount();
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -502,13 +413,15 @@ public interface JobOrBuilder
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-  boolean containsCustomAttributes(java.lang.String key);
-  /** Use {@link #getCustomAttributesMap()} instead. */
+  boolean containsCustomAttributes(
+      java.lang.String key);
+  /**
+   * Use {@link #getCustomAttributesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getCustomAttributes();
+  java.util.Map
+  getCustomAttributes();
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -525,10 +438,8 @@ public interface JobOrBuilder
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   java.util.Map
-      getCustomAttributesMap();
+  getCustomAttributesMap();
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -546,13 +457,11 @@ public interface JobOrBuilder
    */
 
   /* nullable */
-  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
+com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.cloud.talent.v4.CustomAttribute defaultValue);
+com.google.cloud.talent.v4.CustomAttribute defaultValue);
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -568,74 +477,60 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(java.lang.String key);
+
+  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ java.util.List getDegreeTypesList(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ int getDegreeTypesCount(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - java.util.List getDegreeTypesValueList(); + java.util.List + getDegreeTypesValueList(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ int getDegreeTypesValue(int index); /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -643,13 +538,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string department = 12; - * * @return The department. */ java.lang.String getDepartment(); /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -657,14 +549,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string department = 12; - * * @return The bytes for department. */ - com.google.protobuf.ByteString getDepartmentBytes(); + com.google.protobuf.ByteString + getDepartmentBytes(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -672,13 +562,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -686,13 +573,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -700,14 +584,11 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -715,13 +596,11 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List getEmploymentTypesValueList(); + java.util.List + getEmploymentTypesValueList(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -729,15 +608,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -745,13 +621,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string incentives = 14; - * * @return The incentives. */ java.lang.String getIncentives(); /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -759,14 +632,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string incentives = 14; - * * @return The bytes for incentives. */ - com.google.protobuf.ByteString getIncentivesBytes(); + com.google.protobuf.ByteString + getIncentivesBytes(); /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -780,13 +651,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string language_code = 15; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -800,39 +668,31 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ int getJobLevelValue(); /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; - * * @return The jobLevel. */ com.google.cloud.talent.v4.JobLevel getJobLevel(); /** - * - * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -843,14 +703,11 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ int getPromotionValue(); /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -861,13 +718,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string qualifications = 18; - * * @return The qualifications. */ java.lang.String getQualifications(); /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -878,14 +732,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ - com.google.protobuf.ByteString getQualificationsBytes(); + com.google.protobuf.ByteString + getQualificationsBytes(); /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -896,13 +748,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string responsibilities = 19; - * * @return The responsibilities. */ java.lang.String getResponsibilities(); /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -913,14 +762,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ - com.google.protobuf.ByteString getResponsibilitiesBytes(); + com.google.protobuf.ByteString + getResponsibilitiesBytes(); /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -932,13 +779,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ int getPostingRegionValue(); /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -950,14 +794,11 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; - * * @return The postingRegion. */ com.google.cloud.talent.v4.PostingRegion getPostingRegion(); /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -965,16 +806,12 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Deprecated - int getVisibilityValue(); + @java.lang.Deprecated int getVisibilityValue(); /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -982,43 +819,33 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See - * google/cloud/talent/v4/job.proto;l=277 + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. + * See google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ - @java.lang.Deprecated - com.google.cloud.talent.v4.Visibility getVisibility(); + @java.lang.Deprecated com.google.cloud.talent.v4.Visibility getVisibility(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ boolean hasJobStartTime(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ com.google.protobuf.Timestamp getJobStartTime(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -1029,34 +856,26 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ boolean hasJobEndTime(); /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ com.google.protobuf.Timestamp getJobEndTime(); /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -1067,8 +886,6 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1076,13 +893,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ boolean hasPostingPublishTime(); /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1090,13 +904,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ com.google.protobuf.Timestamp getPostingPublishTime(); /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1108,8 +919,6 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1149,13 +958,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ boolean hasPostingExpireTime(); /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1195,13 +1001,10 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ com.google.protobuf.Timestamp getPostingExpireTime(); /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1245,180 +1048,125 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ boolean hasPostingCreateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ com.google.protobuf.Timestamp getPostingCreateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ boolean hasPostingUpdateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ com.google.protobuf.Timestamp getPostingUpdateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ java.lang.String getCompanyDisplayName(); /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ - com.google.protobuf.ByteString getCompanyDisplayNameBytes(); + com.google.protobuf.ByteString + getCompanyDisplayNameBytes(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ boolean hasProcessingOptions(); /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions(); /** - * - * *
    * Options for job processing.
    * 
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java new file mode 100644 index 000000000000..2f1e1e6ccd25 --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java @@ -0,0 +1,160 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job.proto + +package com.google.cloud.talent.v4; + +public final class JobProto { + private JobProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n google/cloud/talent/v4/job.proto\022\026goog" + + "le.cloud.talent.v4\032\037google/api/field_beh" + + "avior.proto\032\031google/api/resource.proto\032#" + + "google/cloud/talent/v4/common.proto\032\037goo" + + "gle/protobuf/timestamp.proto\"\365\016\n\003Job\022\014\n\004" + + "name\030\001 \001(\t\0224\n\007company\030\002 \001(\tB#\340A\002\372A\035\n\033job" + + "s.googleapis.com/Company\022\033\n\016requisition_" + + "id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 \001(\tB\003\340A\002\022\030\n\013des" + + "cription\030\005 \001(\tB\003\340A\002\022\021\n\taddresses\030\006 \003(\t\022E" + + "\n\020application_info\030\007 \001(\0132+.google.cloud." + + "talent.v4.Job.ApplicationInfo\0228\n\014job_ben" + + "efits\030\010 \003(\0162\".google.cloud.talent.v4.Job" + + "Benefit\022C\n\021compensation_info\030\t \001(\0132(.goo" + + "gle.cloud.talent.v4.CompensationInfo\022L\n\021" + + "custom_attributes\030\n \003(\01321.google.cloud.t" + + "alent.v4.Job.CustomAttributesEntry\0228\n\014de" + + "gree_types\030\013 \003(\0162\".google.cloud.talent.v" + + "4.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022@\n\020empl" + + "oyment_types\030\r \003(\0162&.google.cloud.talent" + + ".v4.EmploymentType\022\022\n\nincentives\030\016 \001(\t\022\025" + + "\n\rlanguage_code\030\017 \001(\t\0223\n\tjob_level\030\020 \001(\016" + + "2 .google.cloud.talent.v4.JobLevel\022\027\n\017pr" + + "omotion_value\030\021 \001(\005\022\026\n\016qualifications\030\022 " + + "\001(\t\022\030\n\020responsibilities\030\023 \001(\t\022=\n\016posting" + + "_region\030\024 \001(\0162%.google.cloud.talent.v4.P" + + "ostingRegion\022:\n\nvisibility\030\025 \001(\0162\".googl" + + "e.cloud.talent.v4.VisibilityB\002\030\001\0222\n\016job_" + + "start_time\030\026 \001(\0132\032.google.protobuf.Times" + + "tamp\0220\n\014job_end_time\030\027 \001(\0132\032.google.prot" + + "obuf.Timestamp\0228\n\024posting_publish_time\030\030" + + " \001(\0132\032.google.protobuf.Timestamp\0227\n\023post" + + "ing_expire_time\030\031 \001(\0132\032.google.protobuf." + + "Timestamp\022<\n\023posting_create_time\030\032 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\022<\n\023posti" + + "ng_update_time\030\033 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022!\n\024company_display_name\030\034 " + + "\001(\tB\003\340A\003\022B\n\014derived_info\030\035 \001(\0132\'.google." + + "cloud.talent.v4.Job.DerivedInfoB\003\340A\003\022I\n\022" + + "processing_options\030\036 \001(\0132-.google.cloud." + + "talent.v4.Job.ProcessingOptions\032D\n\017Appli" + + "cationInfo\022\016\n\006emails\030\001 \003(\t\022\023\n\013instructio" + + "n\030\002 \001(\t\022\014\n\004uris\030\003 \003(\t\032\177\n\013DerivedInfo\0223\n\t" + + "locations\030\001 \003(\0132 .google.cloud.talent.v4" + + ".Location\022;\n\016job_categories\030\003 \003(\0162#.goog" + + "le.cloud.talent.v4.JobCategory\032\203\001\n\021Proce" + + "ssingOptions\022)\n!disable_street_address_r" + + "esolution\030\001 \001(\010\022C\n\021html_sanitization\030\002 \001" + + "(\0162(.google.cloud.talent.v4.HtmlSanitiza" + + "tion\032`\n\025CustomAttributesEntry\022\013\n\003key\030\001 \001" + + "(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud.talent." + + "v4.CustomAttribute:\0028\001:L\352AI\n\027jobs.google" + + "apis.com/Job\022.projects/{project}/tenants" + + "/{tenant}/jobs/{job}Bl\n\032com.google.cloud" + + ".talent.v4B\010JobProtoP\001Z * The query required to perform a search query. *
* * Protobuf type {@code google.cloud.talent.v4.JobQuery} */ -public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JobQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobQuery) JobQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JobQuery.newBuilder() to construct. private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobQuery() { query_ = ""; queryLanguageCode_ = ""; @@ -52,35 +34,32 @@ private JobQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobQuery.class, - com.google.cloud.talent.v4.JobQuery.Builder.class); + com.google.cloud.talent.v4.JobQuery.class, com.google.cloud.talent.v4.JobQuery.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -88,7 +67,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string query = 1; - * * @return The query. */ @java.lang.Override @@ -97,15 +75,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -113,15 +90,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 1; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -132,8 +110,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object queryLanguageCode_; /** - * - * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -145,7 +121,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ @java.lang.Override @@ -154,15 +129,14 @@ public java.lang.String getQueryLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; } } /** - * - * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -174,15 +148,16 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString + getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -193,8 +168,6 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { public static final int COMPANIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companies_; /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -208,15 +181,13 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() {
    * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList getCompaniesList() { + public com.google.protobuf.ProtocolStringList + getCompaniesList() { return companies_; } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -230,15 +201,12 @@ public com.google.protobuf.ProtocolStringList getCompaniesList() {
    * 
* * repeated string companies = 2; - * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -252,7 +220,6 @@ public int getCompaniesCount() {
    * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -260,8 +227,6 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -275,19 +240,17 @@ public java.lang.String getCompanies(int index) {
    * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString getCompaniesBytes(int index) { + public com.google.protobuf.ByteString + getCompaniesBytes(int index) { return companies_.getByteString(index); } public static final int LOCATION_FILTERS_FIELD_NUMBER = 3; private java.util.List locationFilters_; /** - * - * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -307,8 +270,6 @@ public java.util.List getLocationFilt
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -324,13 +285,11 @@ public java.util.List getLocationFilt
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -350,8 +309,6 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -371,8 +328,6 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -388,27 +343,24 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index) {
+  public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
+      int index) {
     return locationFilters_.get(index);
   }
 
   public static final int JOB_CATEGORIES_FIELD_NUMBER = 4;
   private java.util.List jobCategories_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.cloud.talent.v4.JobCategory>
-      jobCategories_converter_ =
+      java.lang.Integer, com.google.cloud.talent.v4.JobCategory> jobCategories_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4.JobCategory>() {
             public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4.JobCategory result =
-                  com.google.cloud.talent.v4.JobCategory.valueOf(from);
+              com.google.cloud.talent.v4.JobCategory result = com.google.cloud.talent.v4.JobCategory.valueOf(from);
               return result == null ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -418,18 +370,14 @@ public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -439,7 +387,6 @@ public java.util.List getJobCategoriesLi
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ @java.lang.Override @@ -447,8 +394,6 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -458,7 +403,6 @@ public int getJobCategoriesCount() {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -467,8 +411,6 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -478,16 +420,14 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return jobCategories_; } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -497,7 +437,6 @@ public java.util.List getJobCategoriesValueList() {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -505,14 +444,11 @@ public java.util.List getJobCategoriesValueList() { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } - private int jobCategoriesMemoizedSerializedSize; public static final int COMMUTE_FILTER_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.CommuteFilter commuteFilter_; /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -522,7 +458,6 @@ public int getJobCategoriesValue(int index) {
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ @java.lang.Override @@ -530,8 +465,6 @@ public boolean hasCommuteFilter() { return commuteFilter_ != null; } /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -541,18 +474,13 @@ public boolean hasCommuteFilter() {
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter getCommuteFilter() { - return commuteFilter_ == null - ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() - : commuteFilter_; + return commuteFilter_ == null ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_; } /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -571,8 +499,6 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
   public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList companyDisplayNames_;
   /**
-   *
-   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -596,15 +522,13 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
    * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList + getCompanyDisplayNamesList() { return companyDisplayNames_; } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -628,15 +552,12 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
    * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -660,7 +581,6 @@ public int getCompanyDisplayNamesCount() {
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -668,8 +588,6 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -693,19 +611,17 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } public static final int COMPENSATION_FILTER_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.CompensationFilter compensationFilter_; /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -715,7 +631,6 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ @java.lang.Override @@ -723,8 +638,6 @@ public boolean hasCompensationFilter() { return compensationFilter_ != null; } /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -734,18 +647,13 @@ public boolean hasCompensationFilter() {
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter getCompensationFilter() { - return compensationFilter_ == null - ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() - : compensationFilter_; + return compensationFilter_ == null ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_; } /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -764,8 +672,6 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
   public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER = 8;
   private volatile java.lang.Object customAttributeFilter_;
   /**
-   *
-   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -787,7 +693,6 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
    * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ @java.lang.Override @@ -796,15 +701,14 @@ public java.lang.String getCustomAttributeFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; } } /** - * - * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -826,15 +730,16 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString + getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -845,8 +750,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER = 9; private boolean disableSpellCheck_; /** - * - * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -855,7 +758,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() {
    * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ @java.lang.Override @@ -866,22 +768,16 @@ public boolean getDisableSpellCheck() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 10; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> - employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>() { public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.EmploymentType result = - com.google.cloud.talent.v4.EmploymentType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.EmploymentType result = com.google.cloud.talent.v4.EmploymentType.valueOf(from); + return result == null ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED : result; } }; /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -892,18 +788,14 @@ public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -914,7 +806,6 @@ public java.util.List getEmploymentTy
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ @java.lang.Override @@ -922,8 +813,6 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -934,7 +823,6 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -943,8 +831,6 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -955,16 +841,14 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return employmentTypes_; } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -975,7 +859,6 @@ public java.util.List getEmploymentTypesValueList() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -983,14 +866,11 @@ public java.util.List getEmploymentTypesValueList() { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } - private int employmentTypesMemoizedSerializedSize; public static final int LANGUAGE_CODES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList languageCodes_; /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1003,15 +883,13 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_; } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1024,15 +902,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
    * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1045,7 +920,6 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1053,8 +927,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1067,26 +939,23 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER = 12; private com.google.cloud.talent.v4.TimestampRange publishTimeRange_; /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ @java.lang.Override @@ -1094,26 +963,19 @@ public boolean hasPublishTimeRange() { return publishTimeRange_ != null; } /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ @java.lang.Override public com.google.cloud.talent.v4.TimestampRange getPublishTimeRange() { - return publishTimeRange_ == null - ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() - : publishTimeRange_; + return publishTimeRange_ == null ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_; } /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -1129,45 +991,37 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
   public static final int EXCLUDED_JOBS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList excludedJobs_;
   /**
-   *
-   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList + getExcludedJobsList() { return excludedJobs_; } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -1175,24 +1029,21 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString + getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1204,7 +1055,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); @@ -1277,23 +1129,24 @@ public int getSerializedSize() { size += 1 * getCompaniesList().size(); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, locationFilters_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobCategoriesMemoizedSerializedSize = dataSize; } if (commuteFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCommuteFilter()); } { int dataSize = 0; @@ -1304,26 +1157,27 @@ public int getSerializedSize() { size += 1 * getCompanyDisplayNamesList().size(); } if (compensationFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompensationFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCompensationFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customAttributeFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customAttributeFilter_); } if (disableSpellCheck_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableSpellCheck_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, disableSpellCheck_); } { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }employmentTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -1334,7 +1188,8 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (publishTimeRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getPublishTimeRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getPublishTimeRange()); } { int dataSize = 0; @@ -1355,36 +1210,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.JobQuery)) { return super.equals(obj); } com.google.cloud.talent.v4.JobQuery other = (com.google.cloud.talent.v4.JobQuery) obj; - if (!getQuery().equals(other.getQuery())) return false; - if (!getQueryLanguageCode().equals(other.getQueryLanguageCode())) return false; - if (!getCompaniesList().equals(other.getCompaniesList())) return false; - if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getQueryLanguageCode() + .equals(other.getQueryLanguageCode())) return false; + if (!getCompaniesList() + .equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList() + .equals(other.getLocationFiltersList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; + if (!getCommuteFilter() + .equals(other.getCommuteFilter())) return false; } - if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; + if (!getCompanyDisplayNamesList() + .equals(other.getCompanyDisplayNamesList())) return false; if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; + if (!getCompensationFilter() + .equals(other.getCompensationFilter())) return false; } - if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; - if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; + if (!getCustomAttributeFilter() + .equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() + != other.getDisableSpellCheck()) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (!getLanguageCodesList() + .equals(other.getLanguageCodesList())) return false; if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; + if (!getPublishTimeRange() + .equals(other.getPublishTimeRange())) return false; } - if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; + if (!getExcludedJobsList() + .equals(other.getExcludedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1427,7 +1294,8 @@ public int hashCode() { hash = (37 * hash) + CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER; hash = (53 * hash) + getCustomAttributeFilter().hashCode(); hash = (37 * hash) + DISABLE_SPELL_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableSpellCheck()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableSpellCheck()); if (getEmploymentTypesCount() > 0) { hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER; hash = (53 * hash) + employmentTypes_.hashCode(); @@ -1449,135 +1317,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.JobQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.JobQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.JobQuery parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.JobQuery parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.JobQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The query required to perform a search query.
    * 
* * Protobuf type {@code google.cloud.talent.v4.JobQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobQuery) com.google.cloud.talent.v4.JobQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobQuery.class, - com.google.cloud.talent.v4.JobQuery.Builder.class); + com.google.cloud.talent.v4.JobQuery.class, com.google.cloud.talent.v4.JobQuery.Builder.class); } // Construct using com.google.cloud.talent.v4.JobQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1630,9 +1493,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override @@ -1719,39 +1582,38 @@ public com.google.cloud.talent.v4.JobQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.JobQuery) { - return mergeFrom((com.google.cloud.talent.v4.JobQuery) other); + return mergeFrom((com.google.cloud.talent.v4.JobQuery)other); } else { super.mergeFrom(other); return this; @@ -1796,10 +1658,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.JobQuery other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000002); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationFiltersFieldBuilder() - : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationFiltersFieldBuilder() : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -1897,136 +1758,124 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - query_ = input.readStringRequireUtf8(); + case 10: { + query_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompaniesIsMutable(); - companies_.add(s); - break; - } // case 18 - case 26: - { - com.google.cloud.talent.v4.LocationFilter m = - input.readMessage( - com.google.cloud.talent.v4.LocationFilter.parser(), extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompaniesIsMutable(); + companies_.add(s); + break; + } // case 18 + case 26: { + com.google.cloud.talent.v4.LocationFilter m = + input.readMessage( + com.google.cloud.talent.v4.LocationFilter.parser(), + extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + break; + } // case 32 + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - break; - } // case 32 - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: - { - input.readMessage(getCommuteFilterFieldBuilder().getBuilder(), extensionRegistry); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: { + input.readMessage( + getCommuteFilterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompanyDisplayNamesIsMutable(); - companyDisplayNames_.add(s); - break; - } // case 50 - case 58: - { - input.readMessage( - getCompensationFilterFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompanyDisplayNamesIsMutable(); + companyDisplayNames_.add(s); + break; + } // case 50 + case 58: { + input.readMessage( + getCompensationFilterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - case 66: - { - customAttributeFilter_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: { + customAttributeFilter_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 72: - { - disableSpellCheck_ = input.readBool(); + break; + } // case 66 + case 72: { + disableSpellCheck_ = input.readBool(); - break; - } // case 72 - case 80: - { + break; + } // case 72 + case 80: { + int tmpRaw = input.readEnum(); + ensureEmploymentTypesIsMutable(); + employmentTypes_.add(tmpRaw); + break; + } // case 80 + case 82: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEmploymentTypesIsMutable(); employmentTypes_.add(tmpRaw); - break; - } // case 80 - case 82: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEmploymentTypesIsMutable(); - employmentTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 82 - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 90 - case 98: - { - input.readMessage( - getPublishTimeRangeFieldBuilder().getBuilder(), extensionRegistry); + } + input.popLimit(oldLimit); + break; + } // case 82 + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 90 + case 98: { + input.readMessage( + getPublishTimeRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 98 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludedJobsIsMutable(); - excludedJobs_.add(s); - break; - } // case 106 - case 114: - { - queryLanguageCode_ = input.readStringRequireUtf8(); + break; + } // case 98 + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedJobsIsMutable(); + excludedJobs_.add(s); + break; + } // case 106 + case 114: { + queryLanguageCode_ = input.readStringRequireUtf8(); - break; - } // case 114 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 114 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2036,13 +1885,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object query_ = ""; /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2050,13 +1896,13 @@ public Builder mergeFrom(
      * 
* * string query = 1; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -2065,8 +1911,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2074,14 +1918,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -2089,8 +1934,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2098,22 +1941,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 1; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2121,18 +1962,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 1; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2140,16 +1978,16 @@ public Builder clearQuery() {
      * 
* * string query = 1; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -2157,8 +1995,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { private java.lang.Object queryLanguageCode_ = ""; /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2170,13 +2006,13 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ public java.lang.String getQueryLanguageCode() { java.lang.Object ref = queryLanguageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; @@ -2185,8 +2021,6 @@ public java.lang.String getQueryLanguageCode() { } } /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2198,14 +2032,15 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ - public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString + getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -2213,8 +2048,6 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { } } /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2226,22 +2059,20 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() {
      * 
* * string query_language_code = 14; - * * @param value The queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCode(java.lang.String value) { + public Builder setQueryLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryLanguageCode_ = value; onChanged(); return this; } /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2253,18 +2084,15 @@ public Builder setQueryLanguageCode(java.lang.String value) {
      * 
* * string query_language_code = 14; - * * @return This builder for chaining. */ public Builder clearQueryLanguageCode() { - + queryLanguageCode_ = getDefaultInstance().getQueryLanguageCode(); onChanged(); return this; } /** - * - * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2276,33 +2104,29 @@ public Builder clearQueryLanguageCode() {
      * 
* * string query_language_code = 14; - * * @param value The bytes for queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setQueryLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryLanguageCode_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList companies_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList companies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2316,15 +2140,13 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList getCompaniesList() { + public com.google.protobuf.ProtocolStringList + getCompaniesList() { return companies_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2338,15 +2160,12 @@ public com.google.protobuf.ProtocolStringList getCompaniesList() {
      * 
* * repeated string companies = 2; - * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2360,7 +2179,6 @@ public int getCompaniesCount() {
      * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -2368,8 +2186,6 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2383,16 +2199,14 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString getCompaniesBytes(int index) { + public com.google.protobuf.ByteString + getCompaniesBytes(int index) { return companies_.getByteString(index); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2406,23 +2220,21 @@ public com.google.protobuf.ByteString getCompaniesBytes(int index) {
      * 
* * repeated string companies = 2; - * * @param index The index to set the value at. * @param value The companies to set. * @return This builder for chaining. */ - public Builder setCompanies(int index, java.lang.String value) { + public Builder setCompanies( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2436,22 +2248,20 @@ public Builder setCompanies(int index, java.lang.String value) {
      * 
* * repeated string companies = 2; - * * @param value The companies to add. * @return This builder for chaining. */ - public Builder addCompanies(java.lang.String value) { + public Builder addCompanies( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2465,19 +2275,18 @@ public Builder addCompanies(java.lang.String value) {
      * 
* * repeated string companies = 2; - * * @param values The companies to add. * @return This builder for chaining. */ - public Builder addAllCompanies(java.lang.Iterable values) { + public Builder addAllCompanies( + java.lang.Iterable values) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companies_); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2491,7 +2300,6 @@ public Builder addAllCompanies(java.lang.Iterable values) {
      * 
* * repeated string companies = 2; - * * @return This builder for chaining. */ public Builder clearCompanies() { @@ -2501,8 +2309,6 @@ public Builder clearCompanies() { return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2516,15 +2322,15 @@ public Builder clearCompanies() {
      * 
* * repeated string companies = 2; - * * @param value The bytes of the companies to add. * @return This builder for chaining. */ - public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { + public Builder addCompaniesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompaniesIsMutable(); companies_.add(value); onChanged(); @@ -2532,25 +2338,18 @@ public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - locationFilters_ = - new java.util.ArrayList(locationFilters_); + locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.LocationFilter, - com.google.cloud.talent.v4.LocationFilter.Builder, - com.google.cloud.talent.v4.LocationFilterOrBuilder> - locationFiltersBuilder_; + com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder> locationFiltersBuilder_; /** - * - * *
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2573,8 +2372,6 @@ public java.util.List getLocationFilt
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2597,8 +2394,6 @@ public int getLocationFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2621,8 +2416,6 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2637,7 +2430,8 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public Builder setLocationFilters(int index, com.google.cloud.talent.v4.LocationFilter value) {
+    public Builder setLocationFilters(
+        int index, com.google.cloud.talent.v4.LocationFilter value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2651,8 +2445,6 @@ public Builder setLocationFilters(int index, com.google.cloud.talent.v4.Location
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2679,8 +2471,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2709,8 +2499,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.LocationFilter valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2725,7 +2513,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.LocationFilter valu
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public Builder addLocationFilters(int index, com.google.cloud.talent.v4.LocationFilter value) {
+    public Builder addLocationFilters(
+        int index, com.google.cloud.talent.v4.LocationFilter value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2739,8 +2528,6 @@ public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2767,8 +2554,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2795,8 +2580,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2815,7 +2598,8 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -2823,8 +2607,6 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2850,8 +2632,6 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2877,8 +2657,6 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2893,12 +2671,11 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuilder(int index) {
+    public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuilder(
+        int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2916,14 +2693,11 @@ public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuild
     public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);
-      } else {
+        return locationFilters_.get(index);  } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2938,8 +2712,8 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public java.util.List
-        getLocationFiltersOrBuilderList() {
+    public java.util.List 
+         getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2947,8 +2721,6 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2964,12 +2736,10 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
     public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2984,13 +2754,12 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder(int index) {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
+    public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder(
+        int index) {
+      return getLocationFiltersFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -3005,22 +2774,16 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public java.util.List
-        getLocationFiltersBuilderList() {
+    public java.util.List 
+         getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.LocationFilter,
-            com.google.cloud.talent.v4.LocationFilter.Builder,
-            com.google.cloud.talent.v4.LocationFilterOrBuilder>
+        com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder> 
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.LocationFilter,
-                com.google.cloud.talent.v4.LocationFilter.Builder,
-                com.google.cloud.talent.v4.LocationFilterOrBuilder>(
+        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -3030,8 +2793,8 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
       return locationFiltersBuilder_;
     }
 
-    private java.util.List jobCategories_ = java.util.Collections.emptyList();
-
+    private java.util.List jobCategories_ =
+      java.util.Collections.emptyList();
     private void ensureJobCategoriesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -3039,8 +2802,6 @@ private void ensureJobCategoriesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3050,17 +2811,13 @@ private void ensureJobCategoriesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3070,15 +2827,12 @@ public java.util.List getJobCategoriesLi
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3088,7 +2842,6 @@ public int getJobCategoriesCount() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -3096,8 +2849,6 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3107,12 +2858,12 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategory value) { + public Builder setJobCategories( + int index, com.google.cloud.talent.v4.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -3122,8 +2873,6 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategor return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3133,7 +2882,6 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategor
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -3147,8 +2895,6 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3158,7 +2904,6 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -3172,8 +2917,6 @@ public Builder addAllJobCategories( return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3183,7 +2926,6 @@ public Builder addAllJobCategories(
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -3193,8 +2935,6 @@ public Builder clearJobCategories() { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3204,15 +2944,13 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3222,7 +2960,6 @@ public java.util.List getJobCategoriesValueList() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -3230,8 +2967,6 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3241,20 +2976,18 @@ public int getJobCategoriesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue(int index, int value) { + public Builder setJobCategoriesValue( + int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3264,7 +2997,6 @@ public Builder setJobCategoriesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -3275,8 +3007,6 @@ public Builder addJobCategoriesValue(int value) { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3286,11 +3016,11 @@ public Builder addJobCategoriesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue(java.lang.Iterable values) { + public Builder addAllJobCategoriesValue( + java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -3301,13 +3031,8 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va private com.google.cloud.talent.v4.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CommuteFilter, - com.google.cloud.talent.v4.CommuteFilter.Builder, - com.google.cloud.talent.v4.CommuteFilterOrBuilder> - commuteFilterBuilder_; + com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder> commuteFilterBuilder_; /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3317,15 +3042,12 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va
      * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ public boolean hasCommuteFilter() { return commuteFilterBuilder_ != null || commuteFilter_ != null; } /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3335,21 +3057,16 @@ public boolean hasCommuteFilter() {
      * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ public com.google.cloud.talent.v4.CommuteFilter getCommuteFilter() { if (commuteFilterBuilder_ == null) { - return commuteFilter_ == null - ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() - : commuteFilter_; + return commuteFilter_ == null ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_; } else { return commuteFilterBuilder_.getMessage(); } } /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3374,8 +3091,6 @@ public Builder setCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3398,8 +3113,6 @@ public Builder setCommuteFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3414,9 +3127,7 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value
       if (commuteFilterBuilder_ == null) {
         if (commuteFilter_ != null) {
           commuteFilter_ =
-              com.google.cloud.talent.v4.CommuteFilter.newBuilder(commuteFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.CommuteFilter.newBuilder(commuteFilter_).mergeFrom(value).buildPartial();
         } else {
           commuteFilter_ = value;
         }
@@ -3428,8 +3139,6 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3452,8 +3161,6 @@ public Builder clearCommuteFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3465,13 +3172,11 @@ public Builder clearCommuteFilter() {
      * .google.cloud.talent.v4.CommuteFilter commute_filter = 5;
      */
     public com.google.cloud.talent.v4.CommuteFilter.Builder getCommuteFilterBuilder() {
-
+      
       onChanged();
       return getCommuteFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3486,14 +3191,11 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
       if (commuteFilterBuilder_ != null) {
         return commuteFilterBuilder_.getMessageOrBuilder();
       } else {
-        return commuteFilter_ == null
-            ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance()
-            : commuteFilter_;
+        return commuteFilter_ == null ?
+            com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3505,34 +3207,27 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
      * .google.cloud.talent.v4.CommuteFilter commute_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CommuteFilter,
-            com.google.cloud.talent.v4.CommuteFilter.Builder,
-            com.google.cloud.talent.v4.CommuteFilterOrBuilder>
+        com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder> 
         getCommuteFilterFieldBuilder() {
       if (commuteFilterBuilder_ == null) {
-        commuteFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.CommuteFilter,
-                com.google.cloud.talent.v4.CommuteFilter.Builder,
-                com.google.cloud.talent.v4.CommuteFilterOrBuilder>(
-                getCommuteFilter(), getParentForChildren(), isClean());
+        commuteFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder>(
+                getCommuteFilter(),
+                getParentForChildren(),
+                isClean());
         commuteFilter_ = null;
       }
       return commuteFilterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList companyDisplayNames_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureCompanyDisplayNamesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3556,15 +3251,13 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList + getCompanyDisplayNamesList() { return companyDisplayNames_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3588,15 +3281,12 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
      * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3620,7 +3310,6 @@ public int getCompanyDisplayNamesCount() {
      * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -3628,8 +3317,6 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3653,16 +3340,14 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3686,23 +3371,21 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
      * 
* * repeated string company_display_names = 6; - * * @param index The index to set the value at. * @param value The companyDisplayNames to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNames(int index, java.lang.String value) { + public Builder setCompanyDisplayNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3726,22 +3409,20 @@ public Builder setCompanyDisplayNames(int index, java.lang.String value) {
      * 
* * repeated string company_display_names = 6; - * * @param value The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNames(java.lang.String value) { + public Builder addCompanyDisplayNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3765,19 +3446,18 @@ public Builder addCompanyDisplayNames(java.lang.String value) {
      * 
* * repeated string company_display_names = 6; - * * @param values The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addAllCompanyDisplayNames(java.lang.Iterable values) { + public Builder addAllCompanyDisplayNames( + java.lang.Iterable values) { ensureCompanyDisplayNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companyDisplayNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companyDisplayNames_); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3801,7 +3481,6 @@ public Builder addAllCompanyDisplayNames(java.lang.Iterable va
      * 
* * repeated string company_display_names = 6; - * * @return This builder for chaining. */ public Builder clearCompanyDisplayNames() { @@ -3811,8 +3490,6 @@ public Builder clearCompanyDisplayNames() { return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3836,15 +3513,15 @@ public Builder clearCompanyDisplayNames() {
      * 
* * repeated string company_display_names = 6; - * * @param value The bytes of the companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) { + public Builder addCompanyDisplayNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); @@ -3853,13 +3530,8 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) private com.google.cloud.talent.v4.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationFilter, - com.google.cloud.talent.v4.CompensationFilter.Builder, - com.google.cloud.talent.v4.CompensationFilterOrBuilder> - compensationFilterBuilder_; + com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder> compensationFilterBuilder_; /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3869,15 +3541,12 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value)
      * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ public boolean hasCompensationFilter() { return compensationFilterBuilder_ != null || compensationFilter_ != null; } /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3887,21 +3556,16 @@ public boolean hasCompensationFilter() {
      * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ public com.google.cloud.talent.v4.CompensationFilter getCompensationFilter() { if (compensationFilterBuilder_ == null) { - return compensationFilter_ == null - ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() - : compensationFilter_; + return compensationFilter_ == null ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_; } else { return compensationFilterBuilder_.getMessage(); } } /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3926,8 +3590,6 @@ public Builder setCompensationFilter(com.google.cloud.talent.v4.CompensationFilt
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3950,8 +3612,6 @@ public Builder setCompensationFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3966,9 +3626,7 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4.CompensationFi
       if (compensationFilterBuilder_ == null) {
         if (compensationFilter_ != null) {
           compensationFilter_ =
-              com.google.cloud.talent.v4.CompensationFilter.newBuilder(compensationFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.CompensationFilter.newBuilder(compensationFilter_).mergeFrom(value).buildPartial();
         } else {
           compensationFilter_ = value;
         }
@@ -3980,8 +3638,6 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4.CompensationFi
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -4004,8 +3660,6 @@ public Builder clearCompensationFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -4017,13 +3671,11 @@ public Builder clearCompensationFilter() {
      * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7;
      */
     public com.google.cloud.talent.v4.CompensationFilter.Builder getCompensationFilterBuilder() {
-
+      
       onChanged();
       return getCompensationFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -4038,14 +3690,11 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
       if (compensationFilterBuilder_ != null) {
         return compensationFilterBuilder_.getMessageOrBuilder();
       } else {
-        return compensationFilter_ == null
-            ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance()
-            : compensationFilter_;
+        return compensationFilter_ == null ?
+            com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -4057,17 +3706,14 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
      * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationFilter,
-            com.google.cloud.talent.v4.CompensationFilter.Builder,
-            com.google.cloud.talent.v4.CompensationFilterOrBuilder>
+        com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder> 
         getCompensationFilterFieldBuilder() {
       if (compensationFilterBuilder_ == null) {
-        compensationFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.CompensationFilter,
-                com.google.cloud.talent.v4.CompensationFilter.Builder,
-                com.google.cloud.talent.v4.CompensationFilterOrBuilder>(
-                getCompensationFilter(), getParentForChildren(), isClean());
+        compensationFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder>(
+                getCompensationFilter(),
+                getParentForChildren(),
+                isClean());
         compensationFilter_ = null;
       }
       return compensationFilterBuilder_;
@@ -4075,8 +3721,6 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
 
     private java.lang.Object customAttributeFilter_ = "";
     /**
-     *
-     *
      * 
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4098,13 +3742,13 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
      * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ public java.lang.String getCustomAttributeFilter() { java.lang.Object ref = customAttributeFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; @@ -4113,8 +3757,6 @@ public java.lang.String getCustomAttributeFilter() { } } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4136,14 +3778,15 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ - public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString + getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -4151,8 +3794,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { } } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4174,22 +3815,20 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() {
      * 
* * string custom_attribute_filter = 8; - * * @param value The customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilter(java.lang.String value) { + public Builder setCustomAttributeFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customAttributeFilter_ = value; onChanged(); return this; } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4211,18 +3850,15 @@ public Builder setCustomAttributeFilter(java.lang.String value) {
      * 
* * string custom_attribute_filter = 8; - * * @return This builder for chaining. */ public Builder clearCustomAttributeFilter() { - + customAttributeFilter_ = getDefaultInstance().getCustomAttributeFilter(); onChanged(); return this; } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -4244,25 +3880,23 @@ public Builder clearCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @param value The bytes for customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value) { + public Builder setCustomAttributeFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customAttributeFilter_ = value; onChanged(); return this; } - private boolean disableSpellCheck_; + private boolean disableSpellCheck_ ; /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4271,7 +3905,6 @@ public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString valu
      * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ @java.lang.Override @@ -4279,8 +3912,6 @@ public boolean getDisableSpellCheck() { return disableSpellCheck_; } /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4289,19 +3920,16 @@ public boolean getDisableSpellCheck() {
      * 
* * bool disable_spell_check = 9; - * * @param value The disableSpellCheck to set. * @return This builder for chaining. */ public Builder setDisableSpellCheck(boolean value) { - + disableSpellCheck_ = value; onChanged(); return this; } /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4310,18 +3938,17 @@ public Builder setDisableSpellCheck(boolean value) {
      * 
* * bool disable_spell_check = 9; - * * @return This builder for chaining. */ public Builder clearDisableSpellCheck() { - + disableSpellCheck_ = false; onChanged(); return this; } - private java.util.List employmentTypes_ = java.util.Collections.emptyList(); - + private java.util.List employmentTypes_ = + java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -4329,8 +3956,6 @@ private void ensureEmploymentTypesIsMutable() { } } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4341,17 +3966,13 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4362,15 +3983,12 @@ public java.util.List getEmploymentTy
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4381,7 +3999,6 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4389,8 +4006,6 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4401,12 +4016,12 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.EmploymentType value) { + public Builder setEmploymentTypes( + int index, com.google.cloud.talent.v4.EmploymentType value) { if (value == null) { throw new NullPointerException(); } @@ -4416,8 +4031,6 @@ public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.Employme return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4428,7 +4041,6 @@ public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.Employme
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -4442,8 +4054,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4454,7 +4064,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -4468,8 +4077,6 @@ public Builder addAllEmploymentTypes( return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4480,7 +4087,6 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -4490,8 +4096,6 @@ public Builder clearEmploymentTypes() { return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4502,15 +4106,13 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4521,7 +4123,6 @@ public java.util.List getEmploymentTypesValueList() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4529,8 +4130,6 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4541,20 +4140,18 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue(int index, int value) { + public Builder setEmploymentTypesValue( + int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4565,7 +4162,6 @@ public Builder setEmploymentTypesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -4576,8 +4172,6 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4588,11 +4182,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue( + java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -4601,18 +4195,14 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable return this; } - private com.google.protobuf.LazyStringList languageCodes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4625,15 +4215,13 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4646,15 +4234,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
      * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4667,7 +4252,6 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -4675,8 +4259,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4689,16 +4271,14 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4711,23 +4291,21 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) {
      * 
* * repeated string language_codes = 11; - * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes(int index, java.lang.String value) { + public Builder setLanguageCodes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4740,22 +4318,20 @@ public Builder setLanguageCodes(int index, java.lang.String value) {
      * 
* * repeated string language_codes = 11; - * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes(java.lang.String value) { + public Builder addLanguageCodes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4768,19 +4344,18 @@ public Builder addLanguageCodes(java.lang.String value) {
      * 
* * repeated string language_codes = 11; - * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes(java.lang.Iterable values) { + public Builder addAllLanguageCodes( + java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageCodes_); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4793,7 +4368,6 @@ public Builder addAllLanguageCodes(java.lang.Iterable values)
      * 
* * repeated string language_codes = 11; - * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -4803,8 +4377,6 @@ public Builder clearLanguageCodes() { return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4817,15 +4389,15 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 11; - * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); @@ -4834,49 +4406,36 @@ public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.TimestampRange, - com.google.cloud.talent.v4.TimestampRange.Builder, - com.google.cloud.talent.v4.TimestampRangeOrBuilder> - publishTimeRangeBuilder_; + com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder> publishTimeRangeBuilder_; /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ public boolean hasPublishTimeRange() { return publishTimeRangeBuilder_ != null || publishTimeRange_ != null; } /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ public com.google.cloud.talent.v4.TimestampRange getPublishTimeRange() { if (publishTimeRangeBuilder_ == null) { - return publishTimeRange_ == null - ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() - : publishTimeRange_; + return publishTimeRange_ == null ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_; } else { return publishTimeRangeBuilder_.getMessage(); } } /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4898,8 +4457,6 @@ public Builder setPublishTimeRange(com.google.cloud.talent.v4.TimestampRange val
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4919,8 +4476,6 @@ public Builder setPublishTimeRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4932,9 +4487,7 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4.TimestampRange v
       if (publishTimeRangeBuilder_ == null) {
         if (publishTimeRange_ != null) {
           publishTimeRange_ =
-              com.google.cloud.talent.v4.TimestampRange.newBuilder(publishTimeRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.TimestampRange.newBuilder(publishTimeRange_).mergeFrom(value).buildPartial();
         } else {
           publishTimeRange_ = value;
         }
@@ -4946,8 +4499,6 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4.TimestampRange v
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4967,8 +4518,6 @@ public Builder clearPublishTimeRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4977,13 +4526,11 @@ public Builder clearPublishTimeRange() {
      * .google.cloud.talent.v4.TimestampRange publish_time_range = 12;
      */
     public com.google.cloud.talent.v4.TimestampRange.Builder getPublishTimeRangeBuilder() {
-
+      
       onChanged();
       return getPublishTimeRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4995,14 +4542,11 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
       if (publishTimeRangeBuilder_ != null) {
         return publishTimeRangeBuilder_.getMessageOrBuilder();
       } else {
-        return publishTimeRange_ == null
-            ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance()
-            : publishTimeRange_;
+        return publishTimeRange_ == null ?
+            com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_;
       }
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5011,71 +4555,58 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
      * .google.cloud.talent.v4.TimestampRange publish_time_range = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.TimestampRange,
-            com.google.cloud.talent.v4.TimestampRange.Builder,
-            com.google.cloud.talent.v4.TimestampRangeOrBuilder>
+        com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder> 
         getPublishTimeRangeFieldBuilder() {
       if (publishTimeRangeBuilder_ == null) {
-        publishTimeRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.TimestampRange,
-                com.google.cloud.talent.v4.TimestampRange.Builder,
-                com.google.cloud.talent.v4.TimestampRangeOrBuilder>(
-                getPublishTimeRange(), getParentForChildren(), isClean());
+        publishTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder>(
+                getPublishTimeRange(),
+                getParentForChildren(),
+                isClean());
         publishTimeRange_ = null;
       }
       return publishTimeRangeBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList excludedJobs_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureExcludedJobsIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_);
         bitField0_ |= 0x00000040;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList + getExcludedJobsList() { return excludedJobs_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -5083,95 +4614,85 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString + getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index to set the value at. * @param value The excludedJobs to set. * @return This builder for chaining. */ - public Builder setExcludedJobs(int index, java.lang.String value) { + public Builder setExcludedJobs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param value The excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobs(java.lang.String value) { + public Builder addExcludedJobs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param values The excludedJobs to add. * @return This builder for chaining. */ - public Builder addAllExcludedJobs(java.lang.Iterable values) { + public Builder addAllExcludedJobs( + java.lang.Iterable values) { ensureExcludedJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludedJobs_); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return This builder for chaining. */ public Builder clearExcludedJobs() { @@ -5181,31 +4702,29 @@ public Builder clearExcludedJobs() { return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param value The bytes of the excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { + public Builder addExcludedJobsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5215,12 +4734,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobQuery) private static final com.google.cloud.talent.v4.JobQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobQuery(); } @@ -5229,27 +4748,27 @@ public static com.google.cloud.talent.v4.JobQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5264,4 +4783,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.JobQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java similarity index 93% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java index 494d53b6ee06..ae1d7313db19 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface JobQueryOrBuilder - extends +public interface JobQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -33,13 +15,10 @@ public interface JobQueryOrBuilder
    * 
* * string query = 1; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -47,14 +26,12 @@ public interface JobQueryOrBuilder
    * 
* * string query = 1; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -66,13 +43,10 @@ public interface JobQueryOrBuilder
    * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ java.lang.String getQueryLanguageCode(); /** - * - * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -84,14 +58,12 @@ public interface JobQueryOrBuilder
    * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ - com.google.protobuf.ByteString getQueryLanguageCodeBytes(); + com.google.protobuf.ByteString + getQueryLanguageCodeBytes(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -105,13 +77,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - java.util.List getCompaniesList(); + java.util.List + getCompaniesList(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -125,13 +95,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @return The count of companies. */ int getCompaniesCount(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -145,14 +112,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ java.lang.String getCompanies(int index); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -166,15 +130,13 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - com.google.protobuf.ByteString getCompaniesBytes(int index); + com.google.protobuf.ByteString + getCompaniesBytes(int index); /** - * - * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -189,10 +151,9 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  java.util.List getLocationFiltersList();
+  java.util.List 
+      getLocationFiltersList();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -209,8 +170,6 @@ public interface JobQueryOrBuilder
    */
   com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index);
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -227,8 +186,6 @@ public interface JobQueryOrBuilder
    */
   int getLocationFiltersCount();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -243,11 +200,9 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  java.util.List
+  java.util.List 
       getLocationFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -262,11 +217,10 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index);
+  com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -276,13 +230,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -292,13 +243,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -308,14 +256,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4.JobCategory getJobCategories(int index); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -325,13 +270,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List getJobCategoriesValueList(); + java.util.List + getJobCategoriesValueList(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -341,15 +284,12 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -359,13 +299,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ boolean hasCommuteFilter(); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -375,13 +312,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ com.google.cloud.talent.v4.CommuteFilter getCommuteFilter(); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -395,8 +329,6 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -420,13 +352,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - java.util.List getCompanyDisplayNamesList(); + java.util.List + getCompanyDisplayNamesList(); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -450,13 +380,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ int getCompanyDisplayNamesCount(); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -480,14 +407,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ java.lang.String getCompanyDisplayNames(int index); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -511,15 +435,13 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index); + com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -529,13 +451,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ boolean hasCompensationFilter(); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -545,13 +464,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ com.google.cloud.talent.v4.CompensationFilter getCompensationFilter(); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -565,8 +481,6 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -588,13 +502,10 @@ public interface JobQueryOrBuilder
    * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ java.lang.String getCustomAttributeFilter(); /** - * - * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -616,14 +527,12 @@ public interface JobQueryOrBuilder
    * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ - com.google.protobuf.ByteString getCustomAttributeFilterBytes(); + com.google.protobuf.ByteString + getCustomAttributeFilterBytes(); /** - * - * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -632,14 +541,11 @@ public interface JobQueryOrBuilder
    * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ boolean getDisableSpellCheck(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -650,13 +556,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -667,13 +570,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -684,14 +584,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -702,13 +599,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List getEmploymentTypesValueList(); + java.util.List + getEmploymentTypesValueList(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -719,15 +614,12 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -740,13 +632,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - java.util.List getLanguageCodesList(); + java.util.List + getLanguageCodesList(); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -759,13 +649,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -778,14 +665,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -798,41 +682,33 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString getLanguageCodesBytes(int index); + com.google.protobuf.ByteString + getLanguageCodesBytes(int index); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ boolean hasPublishTimeRange(); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ com.google.cloud.talent.v4.TimestampRange getPublishTimeRange(); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -843,57 +719,47 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - java.util.List getExcludedJobsList(); + java.util.List + getExcludedJobsList(); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ int getExcludedJobsCount(); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ java.lang.String getExcludedJobs(int index); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - com.google.protobuf.ByteString getExcludedJobsBytes(int index); + com.google.protobuf.ByteString + getExcludedJobsBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java index a71440de279f..afa945bed7b5 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Mutation result of a job from a batch operation.
  * 
* * Protobuf type {@code google.cloud.talent.v4.JobResult} */ -public final class JobResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JobResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobResult) JobResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JobResult.newBuilder() to construct. private JobResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private JobResult() {} + private JobResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobResult.class, - com.google.cloud.talent.v4.JobResult.Builder.class); + com.google.cloud.talent.v4.JobResult.class, com.google.cloud.talent.v4.JobResult.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -86,8 +65,6 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -96,7 +73,6 @@ public boolean hasJob() {
    * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -104,8 +80,6 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -123,15 +97,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
-   *
-   *
    * 
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -139,15 +110,12 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -155,8 +123,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -170,7 +136,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -199,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getJob());
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStatus());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,7 +180,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.JobResult)) {
       return super.equals(obj);
@@ -221,11 +189,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob().equals(other.getJob())) return false;
+      if (!getJob()
+          .equals(other.getJob())) return false;
     }
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus().equals(other.getStatus())) return false;
+      if (!getStatus()
+          .equals(other.getStatus())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -251,135 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.JobResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.JobResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.JobResult parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.talent.v4.JobResult parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.JobResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.JobResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Mutation result of a job from a batch operation.
    * 
* * Protobuf type {@code google.cloud.talent.v4.JobResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobResult) com.google.cloud.talent.v4.JobResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobResult.class, - com.google.cloud.talent.v4.JobResult.Builder.class); + com.google.cloud.talent.v4.JobResult.class, com.google.cloud.talent.v4.JobResult.Builder.class); } // Construct using com.google.cloud.talent.v4.JobResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -399,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_JobResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override @@ -439,39 +404,38 @@ public com.google.cloud.talent.v4.JobResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.JobResult) { - return mergeFrom((com.google.cloud.talent.v4.JobResult) other); + return mergeFrom((com.google.cloud.talent.v4.JobResult)other); } else { super.mergeFrom(other); return this; @@ -512,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -543,13 +508,8 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; /** - * - * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -558,15 +518,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -575,7 +532,6 @@ public boolean hasJob() {
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -586,8 +542,6 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** - * - * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -611,8 +565,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -622,7 +574,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) {
      *
      * .google.cloud.talent.v4.Job job = 1;
      */
-    public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder setJob(
+        com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobBuilder_ == null) {
         job_ = builderForValue.build();
         onChanged();
@@ -633,8 +586,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -647,7 +598,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) {
     public Builder mergeJob(com.google.cloud.talent.v4.Job value) {
       if (jobBuilder_ == null) {
         if (job_ != null) {
-          job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial();
+          job_ =
+            com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial();
         } else {
           job_ = value;
         }
@@ -659,8 +611,6 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -682,8 +632,6 @@ public Builder clearJob() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -694,13 +642,11 @@ public Builder clearJob() {
      * .google.cloud.talent.v4.Job job = 1;
      */
     public com.google.cloud.talent.v4.Job.Builder getJobBuilder() {
-
+      
       onChanged();
       return getJobFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -714,12 +660,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
       if (jobBuilder_ != null) {
         return jobBuilder_.getMessageOrBuilder();
       } else {
-        return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_;
+        return job_ == null ?
+            com.google.cloud.talent.v4.Job.getDefaultInstance() : job_;
       }
     }
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -730,17 +675,14 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
      * .google.cloud.talent.v4.Job job = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.Job,
-            com.google.cloud.talent.v4.Job.Builder,
-            com.google.cloud.talent.v4.JobOrBuilder>
+        com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> 
         getJobFieldBuilder() {
       if (jobBuilder_ == null) {
-        jobBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.Job,
-                com.google.cloud.talent.v4.Job.Builder,
-                com.google.cloud.talent.v4.JobOrBuilder>(
-                getJob(), getParentForChildren(), isClean());
+        jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>(
+                getJob(),
+                getParentForChildren(),
+                isClean());
         job_ = null;
       }
       return jobBuilder_;
@@ -748,33 +690,26 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
 
     private com.google.rpc.Status status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-        statusBuilder_;
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -785,8 +720,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -808,8 +741,6 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -817,7 +748,8 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status status = 2;
      */
-    public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(
+        com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         status_ = builderForValue.build();
         onChanged();
@@ -828,8 +760,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -840,7 +770,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
     public Builder mergeStatus(com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (status_ != null) {
-          status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+          status_ =
+            com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
         } else {
           status_ = value;
         }
@@ -852,8 +783,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -873,8 +802,6 @@ public Builder clearStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -883,13 +810,11 @@ public Builder clearStatus() {
      * .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder getStatusBuilder() {
-
+      
       onChanged();
       return getStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -901,12 +826,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilder();
       } else {
-        return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+        return status_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : status_;
       }
     }
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -915,21 +839,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * .google.rpc.Status status = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+        statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getStatus(),
+                getParentForChildren(),
+                isClean());
         status_ = null;
       }
       return statusBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -939,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobResult)
   private static final com.google.cloud.talent.v4.JobResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobResult();
   }
@@ -953,27 +877,27 @@ public static com.google.cloud.talent.v4.JobResult getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public JobResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public JobResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -988,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.JobResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
similarity index 79%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
index dd01c090ff91..3bfc9fabe97f 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface JobResultOrBuilder
-    extends
+public interface JobResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -34,13 +16,10 @@ public interface JobResultOrBuilder
    * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -49,13 +28,10 @@ public interface JobResultOrBuilder
    * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** - * - * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -68,34 +44,26 @@ public interface JobResultOrBuilder
   com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder();
 
   /**
-   *
-   *
    * 
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
new file mode 100644
index 000000000000..3be70ec46aa2
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
@@ -0,0 +1,428 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4/job_service.proto
+
+package com.google.cloud.talent.v4;
+
+public final class JobServiceProto {
+  private JobServiceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_GetJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_JobResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n(google/cloud/talent/v4/job_service.pro" +
+      "to\022\026google.cloud.talent.v4\032\034google/api/a" +
+      "nnotations.proto\032\027google/api/client.prot" +
+      "o\032\037google/api/field_behavior.proto\032\031goog" +
+      "le/api/resource.proto\032#google/cloud/tale" +
+      "nt/v4/common.proto\032$google/cloud/talent/" +
+      "v4/filters.proto\032&google/cloud/talent/v4" +
+      "/histogram.proto\032 google/cloud/talent/v4" +
+      "/job.proto\032#google/longrunning/operation" +
+      "s.proto\032\036google/protobuf/duration.proto\032" +
+      "\033google/protobuf/empty.proto\032 google/pro" +
+      "tobuf/field_mask.proto\032\027google/rpc/statu" +
+      "s.proto\"r\n\020CreateJobRequest\022/\n\006parent\030\001 " +
+      "\001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022-\n\003" +
+      "job\030\002 \001(\0132\033.google.cloud.talent.v4.JobB\003" +
+      "\340A\002\">\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372" +
+      "A\031\n\027jobs.googleapis.com/Job\"r\n\020UpdateJob" +
+      "Request\022-\n\003job\030\001 \001(\0132\033.google.cloud.tale" +
+      "nt.v4.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" +
+      "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" +
+      "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" +
+      "is.com/Job\"\261\001\n\017ListJobsRequest\022/\n\006parent" +
+      "\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022" +
+      "\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\npage_token\030\003 \001(\t" +
+      "\022\021\n\tpage_size\030\004 \001(\005\0221\n\010job_view\030\005 \001(\0162\037." +
+      "google.cloud.talent.v4.JobView\"\222\001\n\020ListJ" +
+      "obsResponse\022)\n\004jobs\030\001 \003(\0132\033.google.cloud" +
+      ".talent.v4.Job\022\027\n\017next_page_token\030\002 \001(\t\022" +
+      ":\n\010metadata\030\003 \001(\0132(.google.cloud.talent." +
+      "v4.ResponseMetadata\"\274\013\n\021SearchJobsReques" +
+      "t\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleap" +
+      "is.com/Job\022I\n\013search_mode\030\002 \001(\01624.google" +
+      ".cloud.talent.v4.SearchJobsRequest.Searc" +
+      "hMode\022F\n\020request_metadata\030\003 \001(\0132\'.google" +
+      ".cloud.talent.v4.RequestMetadataB\003\340A\002\0223\n" +
+      "\tjob_query\030\004 \001(\0132 .google.cloud.talent.v" +
+      "4.JobQuery\022\031\n\021enable_broadening\030\005 \001(\010\022A\n" +
+      "\021histogram_queries\030\007 \003(\0132&.google.cloud." +
+      "talent.v4.HistogramQuery\0221\n\010job_view\030\010 \001" +
+      "(\0162\037.google.cloud.talent.v4.JobView\022\016\n\006o" +
+      "ffset\030\t \001(\005\022\025\n\rmax_page_size\030\n \001(\005\022\022\n\npa" +
+      "ge_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t\022]\n\025dive" +
+      "rsification_level\030\r \001(\0162>.google.cloud.t" +
+      "alent.v4.SearchJobsRequest.Diversificati" +
+      "onLevel\022X\n\023custom_ranking_info\030\016 \001(\0132;.g" +
+      "oogle.cloud.talent.v4.SearchJobsRequest." +
+      "CustomRankingInfo\022!\n\025disable_keyword_mat" +
+      "ch\030\020 \001(\010B\002\030\001\022V\n\022keyword_match_mode\030\022 \001(\016" +
+      "2:.google.cloud.talent.v4.SearchJobsRequ" +
+      "est.KeywordMatchMode\032\225\002\n\021CustomRankingIn" +
+      "fo\022j\n\020importance_level\030\001 \001(\0162K.google.cl" +
+      "oud.talent.v4.SearchJobsRequest.CustomRa" +
+      "nkingInfo.ImportanceLevelB\003\340A\002\022\037\n\022rankin" +
+      "g_expression\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLev" +
+      "el\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004" +
+      "NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n" +
+      "\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SE" +
+      "ARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022" +
+      "\027\n\023FEATURED_JOB_SEARCH\020\002\"\245\001\n\024Diversifica" +
+      "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE" +
+      "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\022\023\n\017ON" +
+      "E_PER_COMPANY\020\003\022\023\n\017TWO_PER_COMPANY\020\004\022\"\n\036" +
+      "DIVERSIFY_BY_LOOSER_SIMILARITY\020\005\"\207\001\n\020Key" +
+      "wordMatchMode\022\"\n\036KEYWORD_MATCH_MODE_UNSP" +
+      "ECIFIED\020\000\022\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n" +
+      "\021KEYWORD_MATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TI" +
+      "TLE_ONLY\020\003\"\221\006\n\022SearchJobsResponse\022M\n\rmat" +
+      "ching_jobs\030\001 \003(\01326.google.cloud.talent.v" +
+      "4.SearchJobsResponse.MatchingJob\022M\n\027hist" +
+      "ogram_query_results\030\002 \003(\0132,.google.cloud" +
+      ".talent.v4.HistogramQueryResult\022\027\n\017next_" +
+      "page_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003" +
+      "(\0132 .google.cloud.talent.v4.Location\022\022\n\n" +
+      "total_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.goo" +
+      "gle.cloud.talent.v4.ResponseMetadata\022\"\n\032" +
+      "broadened_query_jobs_count\030\010 \001(\005\022D\n\020spel" +
+      "l_correction\030\t \001(\0132*.google.cloud.talent" +
+      ".v4.SpellingCorrection\032\322\001\n\013MatchingJob\022(" +
+      "\n\003job\030\001 \001(\0132\033.google.cloud.talent.v4.Job" +
+      "\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snipp" +
+      "et\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n" +
+      "\014commute_info\030\005 \001(\01326.google.cloud.talen" +
+      "t.v4.SearchJobsResponse.CommuteInfo\032y\n\013C" +
+      "ommuteInfo\0226\n\014job_location\030\001 \001(\0132 .googl" +
+      "e.cloud.talent.v4.Location\0222\n\017travel_dur" +
+      "ation\030\002 \001(\0132\031.google.protobuf.Duration\"y" +
+      "\n\026BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\t" +
+      "B\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004job" +
+      "s\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A" +
+      "\002\"\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001" +
+      " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n" +
+      "\004jobs\030\002 \003(\0132\033.google.cloud.talent.v4.Job" +
+      "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" +
+      "obuf.FieldMask\"y\n\026BatchDeleteJobsRequest" +
+      "\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapi" +
+      "s.com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.g" +
+      "oogleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 " +
+      "\001(\0132\033.google.cloud.talent.v4.Job\022\"\n\006stat" +
+      "us\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCre" +
+      "ateJobsResponse\0226\n\013job_results\030\001 \003(\0132!.g" +
+      "oogle.cloud.talent.v4.JobResult\"Q\n\027Batch" +
+      "UpdateJobsResponse\0226\n\013job_results\030\001 \003(\0132" +
+      "!.google.cloud.talent.v4.JobResult\"Q\n\027Ba" +
+      "tchDeleteJobsResponse\0226\n\013job_results\030\001 \003" +
+      "(\0132!.google.cloud.talent.v4.JobResult*v\n" +
+      "\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JO" +
+      "B_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022" +
+      "\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016" +
+      "\n\nJobService\022\224\001\n\tCreateJob\022(.google.clou" +
+      "d.talent.v4.CreateJobRequest\032\033.google.cl" +
+      "oud.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=p" +
+      "rojects/*/tenants/*}/jobs:\003job\332A\nparent," +
+      "job\022\341\001\n\017BatchCreateJobs\022..google.cloud.t" +
+      "alent.v4.BatchCreateJobsRequest\032\035.google" +
+      ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par" +
+      "ent=projects/*/tenants/*}/jobs:batchCrea" +
+      "te:\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsR" +
+      "esponse\022\026BatchOperationMetadata\022\203\001\n\006GetJ" +
+      "ob\022%.google.cloud.talent.v4.GetJobReques" +
+      "t\032\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&" +
+      "/v4/{name=projects/*/tenants/*/jobs/*}\332A" +
+      "\004name\022\235\001\n\tUpdateJob\022(.google.cloud.talen" +
+      "t.v4.UpdateJobRequest\032\033.google.cloud.tal" +
+      "ent.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projec" +
+      "ts/*/tenants/*/jobs/*}:\003job\332A\017job,update" +
+      "_mask\022\341\001\n\017BatchUpdateJobs\022..google.cloud" +
+      ".talent.v4.BatchUpdateJobsRequest\032\035.goog" +
+      "le.longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{p" +
+      "arent=projects/*/tenants/*}/jobs:batchUp" +
+      "date:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJob" +
+      "sResponse\022\026BatchOperationMetadata\022\204\001\n\tDe" +
+      "leteJob\022(.google.cloud.talent.v4.DeleteJ" +
+      "obRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002" +
+      "(*&/v4/{name=projects/*/tenants/*/jobs/*" +
+      "}\332A\004name\022\343\001\n\017BatchDeleteJobs\022..google.cl" +
+      "oud.talent.v4.BatchDeleteJobsRequest\032\035.g" +
+      "oogle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v" +
+      "4/{parent=projects/*/tenants/*}/jobs:bat" +
+      "chDelete:\001*\332A\014parent,names\312A1\n\027BatchDele" +
+      "teJobsResponse\022\026BatchOperationMetadata\022\235" +
+      "\001\n\010ListJobs\022\'.google.cloud.talent.v4.Lis" +
+      "tJobsRequest\032(.google.cloud.talent.v4.Li" +
+      "stJobsResponse\">\202\323\344\223\002(\022&/v4/{parent=proj" +
+      "ects/*/tenants/*}/jobs\332A\rparent,filter\022\235" +
+      "\001\n\nSearchJobs\022).google.cloud.talent.v4.S" +
+      "earchJobsRequest\032*.google.cloud.talent.v" +
+      "4.SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{paren" +
+      "t=projects/*/tenants/*}/jobs:search:\001*\022\255" +
+      "\001\n\022SearchJobsForAlert\022).google.cloud.tal" +
+      "ent.v4.SearchJobsRequest\032*.google.cloud." +
+      "talent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v" +
+      "4/{parent=projects/*/tenants/*}/jobs:sea" +
+      "rchForAlert:\001*\032l\312A\023jobs.googleapis.com\322A" +
+      "Shttps://www.googleapis.com/auth/cloud-p" +
+      "latform,https://www.googleapis.com/auth/" +
+      "jobsBs\n\032com.google.cloud.talent.v4B\017JobS" +
+      "erviceProtoP\001Z
  * An enum that specifies the job attributes that are returned in the
  * [MatchingJob.job][google.cloud.talent.v4.SearchJobsResponse.MatchingJob.job] or
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.JobView}
  */
-public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +23,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ JOB_VIEW_UNSPECIFIED(0), /** - * - * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.Job.language_code].
@@ -52,8 +32,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_ID_ONLY(1),
   /**
-   *
-   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -64,8 +42,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_MINIMAL(2),
   /**
-   *
-   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -77,8 +53,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_SMALL(3),
   /**
-   *
-   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -90,8 +64,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value.
    * 
@@ -100,8 +72,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.Job.language_code].
@@ -111,8 +81,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_ID_ONLY_VALUE = 1;
   /**
-   *
-   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -123,8 +91,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_MINIMAL_VALUE = 2;
   /**
-   *
-   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -136,8 +102,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_SMALL_VALUE = 3;
   /**
-   *
-   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -146,6 +110,7 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_VIEW_FULL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,53 +135,51 @@ public static JobView valueOf(int value) { */ public static JobView forNumber(int value) { switch (value) { - case 0: - return JOB_VIEW_UNSPECIFIED; - case 1: - return JOB_VIEW_ID_ONLY; - case 2: - return JOB_VIEW_MINIMAL; - case 3: - return JOB_VIEW_SMALL; - case 4: - return JOB_VIEW_FULL; - default: - return null; + case 0: return JOB_VIEW_UNSPECIFIED; + case 1: return JOB_VIEW_ID_ONLY; + case 2: return JOB_VIEW_MINIMAL; + case 3: return JOB_VIEW_SMALL; + case 4: return JOB_VIEW_FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobView findValueByNumber(int number) { - return JobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + JobView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobView findValueByNumber(int number) { + return JobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.JobServiceProto.getDescriptor().getEnumTypes().get(0); } private static final JobView[] VALUES = values(); - public static JobView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobView valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,3 +195,4 @@ private JobView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobView) } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java similarity index 68% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java index e7609cbc9c28..107c55c52950 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * List companies for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesRequest} */ -public final class ListCompaniesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompaniesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListCompaniesRequest) ListCompaniesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompaniesRequest.newBuilder() to construct. private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,39 @@ private ListCompaniesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompaniesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesRequest.class, - com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4.ListCompaniesRequest.class, com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,14 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -144,29 +115,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -177,15 +148,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -196,8 +164,6 @@ public int getPageSize() { public static final int REQUIRE_OPEN_JOBS_FIELD_NUMBER = 4; private boolean requireOpenJobs_; /** - * - * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -206,7 +172,6 @@ public int getPageSize() {
    * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ @java.lang.Override @@ -215,7 +180,6 @@ public boolean getRequireOpenJobs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -256,10 +221,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (requireOpenJobs_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, requireOpenJobs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, requireOpenJobs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,18 +236,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListCompaniesRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListCompaniesRequest other = - (com.google.cloud.talent.v4.ListCompaniesRequest) obj; + com.google.cloud.talent.v4.ListCompaniesRequest other = (com.google.cloud.talent.v4.ListCompaniesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (getRequireOpenJobs() + != other.getRequireOpenJobs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,142 +269,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + REQUIRE_OPEN_JOBS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireOpenJobs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequireOpenJobs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ListCompaniesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List companies for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListCompaniesRequest) com.google.cloud.talent.v4.ListCompaniesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesRequest.class, - com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4.ListCompaniesRequest.class, com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListCompaniesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override @@ -471,8 +436,7 @@ public com.google.cloud.talent.v4.ListCompaniesRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListCompaniesRequest buildPartial() { - com.google.cloud.talent.v4.ListCompaniesRequest result = - new com.google.cloud.talent.v4.ListCompaniesRequest(this); + com.google.cloud.talent.v4.ListCompaniesRequest result = new com.google.cloud.talent.v4.ListCompaniesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -485,39 +449,38 @@ public com.google.cloud.talent.v4.ListCompaniesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListCompaniesRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListCompaniesRequest) other); + return mergeFrom((com.google.cloud.talent.v4.ListCompaniesRequest)other); } else { super.mergeFrom(other); return this; @@ -525,8 +488,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesRequest other) { - if (other == com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -567,37 +529,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - case 32: - { - requireOpenJobs_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 32: { + requireOpenJobs_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,24 +567,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -636,25 +589,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -662,73 +612,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -736,20 +673,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -758,21 +693,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -780,77 +714,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -858,47 +782,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - private boolean requireOpenJobs_; + private boolean requireOpenJobs_ ; /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -907,7 +823,6 @@ public Builder clearPageSize() {
      * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ @java.lang.Override @@ -915,8 +830,6 @@ public boolean getRequireOpenJobs() { return requireOpenJobs_; } /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -925,19 +838,16 @@ public boolean getRequireOpenJobs() {
      * 
* * bool require_open_jobs = 4; - * * @param value The requireOpenJobs to set. * @return This builder for chaining. */ public Builder setRequireOpenJobs(boolean value) { - + requireOpenJobs_ = value; onChanged(); return this; } /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -946,18 +856,17 @@ public Builder setRequireOpenJobs(boolean value) {
      * 
* * bool require_open_jobs = 4; - * * @return This builder for chaining. */ public Builder clearRequireOpenJobs() { - + requireOpenJobs_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -967,12 +876,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListCompaniesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListCompaniesRequest) private static final com.google.cloud.talent.v4.ListCompaniesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListCompaniesRequest(); } @@ -981,27 +890,27 @@ public static com.google.cloud.talent.v4.ListCompaniesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompaniesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompaniesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,4 +925,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListCompaniesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java index c7127abdb10e..0e6504744a7e 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java @@ -1,103 +1,68 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; -public interface ListCompaniesRequestOrBuilder - extends +public interface ListCompaniesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListCompaniesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -106,7 +71,6 @@ public interface ListCompaniesRequestOrBuilder
    * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ boolean getRequireOpenJobs(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java index a4e51a38917d..0a8501379a65 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The List companies response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesResponse} */ -public final class ListCompaniesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompaniesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListCompaniesResponse) ListCompaniesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompaniesResponse.newBuilder() to construct. private ListCompaniesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompaniesResponse() { companies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListCompaniesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompaniesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesResponse.class, - com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4.ListCompaniesResponse.class, com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); } public static final int COMPANIES_FIELD_NUMBER = 1; private java.util.List companies_; /** - * - * *
    * Companies for the current client.
    * 
@@ -84,8 +63,6 @@ public java.util.List getCompaniesList() { return companies_; } /** - * - * *
    * Companies for the current client.
    * 
@@ -93,13 +70,11 @@ public java.util.List getCompaniesList() { * repeated .google.cloud.talent.v4.Company companies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompaniesOrBuilderList() { return companies_; } /** - * - * *
    * Companies for the current client.
    * 
@@ -111,8 +86,6 @@ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
    * Companies for the current client.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { return companies_.get(index); } /** - * - * *
    * Companies for the current client.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { * repeated .google.cloud.talent.v4.Company companies = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index) { + public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( + int index) { return companies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -189,15 +158,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -205,26 +171,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -238,7 +197,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +208,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < companies_.size(); i++) {
       output.writeMessage(1, companies_.get(i));
     }
@@ -270,13 +229,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < companies_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, companies_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, companies_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +247,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListCompaniesResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListCompaniesResponse other =
-        (com.google.cloud.talent.v4.ListCompaniesResponse) obj;
+    com.google.cloud.talent.v4.ListCompaniesResponse other = (com.google.cloud.talent.v4.ListCompaniesResponse) obj;
 
-    if (!getCompaniesList().equals(other.getCompaniesList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getCompaniesList()
+        .equals(other.getCompaniesList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -326,136 +289,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.ListCompaniesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The List companies response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListCompaniesResponse) com.google.cloud.talent.v4.ListCompaniesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesResponse.class, - com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4.ListCompaniesResponse.class, com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListCompaniesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.cloud.talent.v4.ListCompaniesResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListCompaniesResponse buildPartial() { - com.google.cloud.talent.v4.ListCompaniesResponse result = - new com.google.cloud.talent.v4.ListCompaniesResponse(this); + com.google.cloud.talent.v4.ListCompaniesResponse result = new com.google.cloud.talent.v4.ListCompaniesResponse(this); int from_bitField0_ = bitField0_; if (companiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +481,38 @@ public com.google.cloud.talent.v4.ListCompaniesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListCompaniesResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListCompaniesResponse) other); + return mergeFrom((com.google.cloud.talent.v4.ListCompaniesResponse)other); } else { super.mergeFrom(other); return this; @@ -565,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesResponse other) { - if (other == com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance()) return this; if (companiesBuilder_ == null) { if (!other.companies_.isEmpty()) { if (companies_.isEmpty()) { @@ -585,10 +539,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesResponse other) companiesBuilder_ = null; companies_ = other.companies_; bitField0_ = (bitField0_ & ~0x00000001); - companiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompaniesFieldBuilder() - : null; + companiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompaniesFieldBuilder() : null; } else { companiesBuilder_.addAllMessages(other.companies_); } @@ -627,38 +580,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.Company m = - input.readMessage( - com.google.cloud.talent.v4.Company.parser(), extensionRegistry); - if (companiesBuilder_ == null) { - ensureCompaniesIsMutable(); - companies_.add(m); - } else { - companiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4.Company m = + input.readMessage( + com.google.cloud.talent.v4.Company.parser(), + extensionRegistry); + if (companiesBuilder_ == null) { + ensureCompaniesIsMutable(); + companies_.add(m); + } else { + companiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -668,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List companies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> - companiesBuilder_; + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companiesBuilder_; /** - * - * *
      * Companies for the current client.
      * 
@@ -704,8 +649,6 @@ public java.util.List getCompaniesList() { } } /** - * - * *
      * Companies for the current client.
      * 
@@ -720,8 +663,6 @@ public int getCompaniesCount() { } } /** - * - * *
      * Companies for the current client.
      * 
@@ -736,15 +677,14 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { } } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder setCompanies(int index, com.google.cloud.talent.v4.Company value) { + public Builder setCompanies( + int index, com.google.cloud.talent.v4.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -758,8 +698,6 @@ public Builder setCompanies(int index, com.google.cloud.talent.v4.Company value) return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -778,8 +716,6 @@ public Builder setCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -800,15 +736,14 @@ public Builder addCompanies(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder addCompanies(int index, com.google.cloud.talent.v4.Company value) { + public Builder addCompanies( + int index, com.google.cloud.talent.v4.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -822,15 +757,14 @@ public Builder addCompanies(int index, com.google.cloud.talent.v4.Company value) return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder addCompanies(com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder addCompanies( + com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); companies_.add(builderForValue.build()); @@ -841,8 +775,6 @@ public Builder addCompanies(com.google.cloud.talent.v4.Company.Builder builderFo return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -861,8 +793,6 @@ public Builder addCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -873,7 +803,8 @@ public Builder addAllCompanies( java.lang.Iterable values) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companies_); onChanged(); } else { companiesBuilder_.addAllMessages(values); @@ -881,8 +812,6 @@ public Builder addAllCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -900,8 +829,6 @@ public Builder clearCompanies() { return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -919,44 +846,39 @@ public Builder removeCompanies(int index) { return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.Company.Builder getCompaniesBuilder(int index) { + public com.google.cloud.talent.v4.Company.Builder getCompaniesBuilder( + int index) { return getCompaniesFieldBuilder().getBuilder(index); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index) { + public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( + int index) { if (companiesBuilder_ == null) { - return companies_.get(index); - } else { + return companies_.get(index); } else { return companiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public java.util.List - getCompaniesOrBuilderList() { + public java.util.List + getCompaniesOrBuilderList() { if (companiesBuilder_ != null) { return companiesBuilder_.getMessageOrBuilderList(); } else { @@ -964,8 +886,6 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int ind } } /** - * - * *
      * Companies for the current client.
      * 
@@ -973,47 +893,42 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int ind * repeated .google.cloud.talent.v4.Company companies = 1; */ public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder() { - return getCompaniesFieldBuilder() - .addBuilder(com.google.cloud.talent.v4.Company.getDefaultInstance()); + return getCompaniesFieldBuilder().addBuilder( + com.google.cloud.talent.v4.Company.getDefaultInstance()); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder(int index) { - return getCompaniesFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.Company.getDefaultInstance()); + public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder( + int index) { + return getCompaniesFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.Company.getDefaultInstance()); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public java.util.List getCompaniesBuilderList() { + public java.util.List + getCompaniesBuilderList() { return getCompaniesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> getCompaniesFieldBuilder() { if (companiesBuilder_ == null) { - companiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder>( - companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + companiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( + companies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); companies_ = null; } return companiesBuilder_; @@ -1021,20 +936,18 @@ public java.util.List getCompaniesBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1043,21 +956,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1065,61 +977,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1127,49 +1032,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1191,8 +1083,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1212,8 +1102,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1225,9 +1113,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1239,8 +1125,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1260,8 +1144,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1270,13 +1152,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1288,14 +1168,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1304,24 +1181,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1331,12 +1205,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListCompaniesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListCompaniesResponse)
   private static final com.google.cloud.talent.v4.ListCompaniesResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListCompaniesResponse();
   }
@@ -1345,27 +1219,27 @@ public static com.google.cloud.talent.v4.ListCompaniesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListCompaniesResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListCompaniesResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1380,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListCompaniesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
index 6abbb5f8065e..215d721b5e75 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListCompaniesResponseOrBuilder
-    extends
+public interface ListCompaniesResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListCompaniesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - java.util.List getCompaniesList(); + java.util.List + getCompaniesList(); /** - * - * *
    * Companies for the current client.
    * 
@@ -44,8 +25,6 @@ public interface ListCompaniesResponseOrBuilder */ com.google.cloud.talent.v4.Company getCompanies(int index); /** - * - * *
    * Companies for the current client.
    * 
@@ -54,80 +33,65 @@ public interface ListCompaniesResponseOrBuilder */ int getCompaniesCount(); /** - * - * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - java.util.List getCompaniesOrBuilderList(); + java.util.List + getCompaniesOrBuilderList(); /** - * - * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index); + com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
similarity index 74%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
index e3696731e56e..9fa913067d8c 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsRequest} */ -public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListJobsRequest) ListJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsRequest() { parent_ = ""; filter_ = ""; @@ -46,45 +28,39 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsRequest.class, - com.google.cloud.talent.v4.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4.ListJobsRequest.class, com.google.cloud.talent.v4.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,33 +69,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,8 +104,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -153,7 +125,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -162,15 +133,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -192,15 +162,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -211,14 +182,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -227,29 +195,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -260,8 +228,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -270,7 +236,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -281,8 +246,6 @@ public int getPageSize() { public static final int JOB_VIEW_FIELD_NUMBER = 5; private int jobView_; /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -290,16 +253,12 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -307,19 +266,15 @@ public int getJobViewValue() {
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The jobView. */ - @java.lang.Override - public com.google.cloud.talent.v4.JobView getJobView() { + @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = - com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,7 +286,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -366,10 +322,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (jobView_ != com.google.cloud.talent.v4.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, jobView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, jobView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -379,18 +337,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListJobsRequest other = - (com.google.cloud.talent.v4.ListJobsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + com.google.cloud.talent.v4.ListJobsRequest other = (com.google.cloud.talent.v4.ListJobsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (jobView_ != other.jobView_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -418,136 +379,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListJobsRequest) com.google.cloud.talent.v4.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsRequest.class, - com.google.cloud.talent.v4.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4.ListJobsRequest.class, com.google.cloud.talent.v4.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -565,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override @@ -586,8 +541,7 @@ public com.google.cloud.talent.v4.ListJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListJobsRequest buildPartial() { - com.google.cloud.talent.v4.ListJobsRequest result = - new com.google.cloud.talent.v4.ListJobsRequest(this); + com.google.cloud.talent.v4.ListJobsRequest result = new com.google.cloud.talent.v4.ListJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageToken_ = pageToken_; @@ -601,39 +555,38 @@ public com.google.cloud.talent.v4.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.ListJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -686,43 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 40: - { - jobView_ = input.readEnum(); + break; + } // case 32 + case 40: { + jobView_ = input.readEnum(); - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,24 +682,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -761,25 +704,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -787,73 +727,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -861,8 +788,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -884,13 +809,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -899,8 +824,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -922,14 +845,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -937,8 +861,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -960,22 +882,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -997,18 +917,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -1030,16 +947,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1047,20 +964,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1069,21 +984,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1091,70 +1005,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1163,7 +1068,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1171,8 +1075,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1181,19 +1083,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1202,11 +1101,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1214,8 +1112,6 @@ public Builder clearPageSize() { private int jobView_ = 0; /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1223,16 +1119,12 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1240,19 +1132,16 @@ public int getJobViewValue() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1260,19 +1149,15 @@ public Builder setJobViewValue(int value) {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = - com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1280,7 +1165,6 @@ public com.google.cloud.talent.v4.JobView getJobView() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @param value The jobView to set. * @return This builder for chaining. */ @@ -1288,14 +1172,12 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1303,18 +1185,17 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1324,12 +1205,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListJobsRequest) private static final com.google.cloud.talent.v4.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListJobsRequest(); } @@ -1338,27 +1219,27 @@ public static com.google.cloud.talent.v4.ListJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1373,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java index 75a2e0cba763..2fbd7a0a0985 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -80,13 +53,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -108,39 +78,32 @@ public interface ListJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -149,14 +112,11 @@ public interface ListJobsRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -164,13 +124,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -178,7 +135,6 @@ public interface ListJobsRequestOrBuilder
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; - * * @return The jobView. */ com.google.cloud.talent.v4.JobView getJobView(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java index 954a04f7e2d0..c6f25a6b6b48 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsResponse} */ -public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListJobsResponse) ListJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsResponse.class, - com.google.cloud.talent.v4.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4.ListJobsResponse.class, com.google.cloud.talent.v4.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -86,8 +65,6 @@ public java.util.List getJobsList() {
     return jobs_;
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -97,12 +74,11 @@ public java.util.List getJobsList() {
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
   @java.lang.Override
-  public java.util.List getJobsOrBuilderList() {
+  public java.util.List 
+      getJobsOrBuilderList() {
     return jobs_;
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -116,8 +92,6 @@ public int getJobsCount() {
     return jobs_.size();
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -131,8 +105,6 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
     return jobs_.get(index);
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -142,21 +114,19 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
+  public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
+      int index) {
     return jobs_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -165,29 +135,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -198,15 +168,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -214,26 +181,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -247,7 +207,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -259,7 +218,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobs_.size(); i++) {
       output.writeMessage(1, jobs_.get(i));
     }
@@ -279,13 +239,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobs_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -295,19 +257,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListJobsResponse other =
-        (com.google.cloud.talent.v4.ListJobsResponse) obj;
+    com.google.cloud.talent.v4.ListJobsResponse other = (com.google.cloud.talent.v4.ListJobsResponse) obj;
 
-    if (!getJobsList().equals(other.getJobsList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getJobsList()
+        .equals(other.getJobsList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -335,136 +299,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.ListJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * List jobs response.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListJobsResponse) com.google.cloud.talent.v4.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsResponse.class, - com.google.cloud.talent.v4.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4.ListJobsResponse.class, com.google.cloud.talent.v4.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override @@ -508,8 +466,7 @@ public com.google.cloud.talent.v4.ListJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListJobsResponse buildPartial() { - com.google.cloud.talent.v4.ListJobsResponse result = - new com.google.cloud.talent.v4.ListJobsResponse(this); + com.google.cloud.talent.v4.ListJobsResponse result = new com.google.cloud.talent.v4.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -534,39 +491,38 @@ public com.google.cloud.talent.v4.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListJobsResponse) other); + return mergeFrom((com.google.cloud.talent.v4.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -593,10 +549,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListJobsResponse other) { jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -635,37 +590,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.Job m = - input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4.Job m = + input.readMessage( + com.google.cloud.talent.v4.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,28 +630,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; /** - * - * *
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -713,8 +661,6 @@ public java.util.List getJobsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -731,8 +677,6 @@ public int getJobsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -749,8 +693,6 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -759,7 +701,8 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) {
+    public Builder setJobs(
+        int index, com.google.cloud.talent.v4.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -773,8 +716,6 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -783,7 +724,8 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder setJobs(
+        int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.set(index, builderForValue.build());
@@ -794,8 +736,6 @@ public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -818,8 +758,6 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -828,7 +766,8 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) {
+    public Builder addJobs(
+        int index, com.google.cloud.talent.v4.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -842,8 +781,6 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -852,7 +789,8 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder addJobs(
+        com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(builderForValue.build());
@@ -863,8 +801,6 @@ public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -873,7 +809,8 @@ public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder addJobs(
+        int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(index, builderForValue.build());
@@ -884,8 +821,6 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -894,10 +829,12 @@ public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builder
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addAllJobs(java.lang.Iterable values) {
+    public Builder addAllJobs(
+        java.lang.Iterable values) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobs_);
         onChanged();
       } else {
         jobsBuilder_.addAllMessages(values);
@@ -905,8 +842,6 @@ public Builder addAllJobs(java.lang.Iterable
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -926,8 +861,6 @@ public Builder clearJobs() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -947,8 +880,6 @@ public Builder removeJobs(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -957,12 +888,11 @@ public Builder removeJobs(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) {
+    public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(
+        int index) {
       return getJobsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -971,16 +901,14 @@ public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
+    public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
+        int index) {
       if (jobsBuilder_ == null) {
-        return jobs_.get(index);
-      } else {
+        return jobs_.get(index);  } else {
         return jobsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -989,8 +917,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public java.util.List
-        getJobsOrBuilderList() {
+    public java.util.List 
+         getJobsOrBuilderList() {
       if (jobsBuilder_ != null) {
         return jobsBuilder_.getMessageOrBuilderList();
       } else {
@@ -998,8 +926,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1009,11 +935,10 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
     public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() {
-      return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance());
+      return getJobsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.Job.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1022,13 +947,12 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) {
-      return getJobsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance());
+    public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
+        int index) {
+      return getJobsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.Job.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1037,22 +961,20 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public java.util.List getJobsBuilderList() {
+    public java.util.List 
+         getJobsBuilderList() {
       return getJobsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.Job,
-            com.google.cloud.talent.v4.Job.Builder,
-            com.google.cloud.talent.v4.JobOrBuilder>
+        com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> 
         getJobsFieldBuilder() {
       if (jobsBuilder_ == null) {
-        jobsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.Job,
-                com.google.cloud.talent.v4.Job.Builder,
-                com.google.cloud.talent.v4.JobOrBuilder>(
-                jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>(
+                jobs_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobs_ = null;
       }
       return jobsBuilder_;
@@ -1060,20 +982,18 @@ public java.util.List getJobsBuilderList
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1082,21 +1002,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1104,61 +1023,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1166,49 +1078,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1230,8 +1129,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1251,8 +1148,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1264,9 +1159,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1278,8 +1171,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1299,8 +1190,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1309,13 +1198,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1327,14 +1214,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1343,24 +1227,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1370,12 +1251,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListJobsResponse)
   private static final com.google.cloud.talent.v4.ListJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListJobsResponse();
   }
@@ -1384,27 +1265,27 @@ public static com.google.cloud.talent.v4.ListJobsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1419,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
similarity index 74%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
index e352eb1e6790..0cd79b8ce094 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListJobsResponseOrBuilder
-    extends
+public interface ListJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -34,10 +16,9 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  java.util.List getJobsList();
+  java.util.List 
+      getJobsList();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -48,8 +29,6 @@ public interface ListJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4.Job getJobs(int index);
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -60,8 +39,6 @@ public interface ListJobsResponseOrBuilder
    */
   int getJobsCount();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -70,10 +47,9 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  java.util.List getJobsOrBuilderList();
+  java.util.List 
+      getJobsOrBuilderList();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -82,62 +58,50 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index);
+  com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
similarity index 66%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
index 623be2b632fd..8c31d0416296 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * List tenants for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsRequest} */ -public final class ListTenantsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTenantsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListTenantsRequest) ListTenantsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTenantsRequest.newBuilder() to construct. private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,39 @@ private ListTenantsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTenantsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsRequest.class, - com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4.ListTenantsRequest.class, com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,14 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -144,29 +115,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -177,15 +148,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -194,7 +162,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -232,7 +200,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -242,17 +211,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListTenantsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListTenantsRequest other = - (com.google.cloud.talent.v4.ListTenantsRequest) obj; + com.google.cloud.talent.v4.ListTenantsRequest other = (com.google.cloud.talent.v4.ListTenantsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -275,136 +246,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ListTenantsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List tenants for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListTenantsRequest) com.google.cloud.talent.v4.ListTenantsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsRequest.class, - com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4.ListTenantsRequest.class, com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListTenantsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override @@ -439,8 +404,7 @@ public com.google.cloud.talent.v4.ListTenantsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListTenantsRequest buildPartial() { - com.google.cloud.talent.v4.ListTenantsRequest result = - new com.google.cloud.talent.v4.ListTenantsRequest(this); + com.google.cloud.talent.v4.ListTenantsRequest result = new com.google.cloud.talent.v4.ListTenantsRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -452,39 +416,38 @@ public com.google.cloud.talent.v4.ListTenantsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListTenantsRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListTenantsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.ListTenantsRequest)other); } else { super.mergeFrom(other); return this; @@ -530,31 +493,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,24 +526,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -593,25 +548,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -619,73 +571,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -693,20 +632,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -715,21 +652,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -737,77 +673,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -815,45 +741,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -863,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListTenantsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListTenantsRequest) private static final com.google.cloud.talent.v4.ListTenantsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListTenantsRequest(); } @@ -877,27 +797,27 @@ public static com.google.cloud.talent.v4.ListTenantsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTenantsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTenantsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -912,4 +832,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListTenantsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java similarity index 56% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java index b0e0d61fb9aa..a542bdf48248 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java @@ -1,96 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; -public interface ListTenantsRequestOrBuilder - extends +public interface ListTenantsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListTenantsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java index ff7558059e92..e14a057a9750 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The List tenants response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsResponse} */ -public final class ListTenantsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTenantsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListTenantsResponse) ListTenantsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTenantsResponse.newBuilder() to construct. private ListTenantsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTenantsResponse() { tenants_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListTenantsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTenantsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsResponse.class, - com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4.ListTenantsResponse.class, com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); } public static final int TENANTS_FIELD_NUMBER = 1; private java.util.List tenants_; /** - * - * *
    * Tenants for the current client.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTenantsList() { return tenants_; } /** - * - * *
    * Tenants for the current client.
    * 
@@ -93,13 +70,11 @@ public java.util.List getTenantsList() { * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTenantsOrBuilderList() { return tenants_; } /** - * - * *
    * Tenants for the current client.
    * 
@@ -111,8 +86,6 @@ public int getTenantsCount() { return tenants_.size(); } /** - * - * *
    * Tenants for the current client.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { return tenants_.get(index); } /** - * - * *
    * Tenants for the current client.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) { + public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( + int index) { return tenants_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -189,15 +158,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -205,26 +171,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -238,7 +197,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +208,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < tenants_.size(); i++) {
       output.writeMessage(1, tenants_.get(i));
     }
@@ -270,13 +229,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < tenants_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tenants_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, tenants_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +247,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListTenantsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListTenantsResponse other =
-        (com.google.cloud.talent.v4.ListTenantsResponse) obj;
+    com.google.cloud.talent.v4.ListTenantsResponse other = (com.google.cloud.talent.v4.ListTenantsResponse) obj;
 
-    if (!getTenantsList().equals(other.getTenantsList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getTenantsList()
+        .equals(other.getTenantsList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -326,136 +289,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.ListTenantsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The List tenants response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListTenantsResponse) com.google.cloud.talent.v4.ListTenantsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsResponse.class, - com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4.ListTenantsResponse.class, com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListTenantsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.cloud.talent.v4.ListTenantsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListTenantsResponse buildPartial() { - com.google.cloud.talent.v4.ListTenantsResponse result = - new com.google.cloud.talent.v4.ListTenantsResponse(this); + com.google.cloud.talent.v4.ListTenantsResponse result = new com.google.cloud.talent.v4.ListTenantsResponse(this); int from_bitField0_ = bitField0_; if (tenantsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +481,38 @@ public com.google.cloud.talent.v4.ListTenantsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListTenantsResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListTenantsResponse) other); + return mergeFrom((com.google.cloud.talent.v4.ListTenantsResponse)other); } else { super.mergeFrom(other); return this; @@ -584,10 +539,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListTenantsResponse other) { tenantsBuilder_ = null; tenants_ = other.tenants_; bitField0_ = (bitField0_ & ~0x00000001); - tenantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTenantsFieldBuilder() - : null; + tenantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTenantsFieldBuilder() : null; } else { tenantsBuilder_.addAllMessages(other.tenants_); } @@ -626,38 +580,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.Tenant m = - input.readMessage( - com.google.cloud.talent.v4.Tenant.parser(), extensionRegistry); - if (tenantsBuilder_ == null) { - ensureTenantsIsMutable(); - tenants_.add(m); - } else { - tenantsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4.Tenant m = + input.readMessage( + com.google.cloud.talent.v4.Tenant.parser(), + extensionRegistry); + if (tenantsBuilder_ == null) { + ensureTenantsIsMutable(); + tenants_.add(m); + } else { + tenantsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -667,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List tenants_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTenantsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> - tenantsBuilder_; + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantsBuilder_; /** - * - * *
      * Tenants for the current client.
      * 
@@ -703,8 +649,6 @@ public java.util.List getTenantsList() { } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -719,8 +663,6 @@ public int getTenantsCount() { } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -735,15 +677,14 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { } } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder setTenants(int index, com.google.cloud.talent.v4.Tenant value) { + public Builder setTenants( + int index, com.google.cloud.talent.v4.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,8 +698,6 @@ public Builder setTenants(int index, com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -777,8 +716,6 @@ public Builder setTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -799,15 +736,14 @@ public Builder addTenants(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder addTenants(int index, com.google.cloud.talent.v4.Tenant value) { + public Builder addTenants( + int index, com.google.cloud.talent.v4.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -821,15 +757,14 @@ public Builder addTenants(int index, com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder addTenants(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder addTenants( + com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); tenants_.add(builderForValue.build()); @@ -840,8 +775,6 @@ public Builder addTenants(com.google.cloud.talent.v4.Tenant.Builder builderForVa return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -860,8 +793,6 @@ public Builder addTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -872,7 +803,8 @@ public Builder addAllTenants( java.lang.Iterable values) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tenants_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tenants_); onChanged(); } else { tenantsBuilder_.addAllMessages(values); @@ -880,8 +812,6 @@ public Builder addAllTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -899,8 +829,6 @@ public Builder clearTenants() { return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -918,44 +846,39 @@ public Builder removeTenants(int index) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.Tenant.Builder getTenantsBuilder(int index) { + public com.google.cloud.talent.v4.Tenant.Builder getTenantsBuilder( + int index) { return getTenantsFieldBuilder().getBuilder(index); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) { + public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( + int index) { if (tenantsBuilder_ == null) { - return tenants_.get(index); - } else { + return tenants_.get(index); } else { return tenantsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public java.util.List - getTenantsOrBuilderList() { + public java.util.List + getTenantsOrBuilderList() { if (tenantsBuilder_ != null) { return tenantsBuilder_.getMessageOrBuilderList(); } else { @@ -963,8 +886,6 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -972,47 +893,42 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder() { - return getTenantsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4.Tenant.getDefaultInstance()); + return getTenantsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.Tenant.getDefaultInstance()); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder(int index) { - return getTenantsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.Tenant.getDefaultInstance()); + public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder( + int index) { + return getTenantsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.Tenant.getDefaultInstance()); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public java.util.List getTenantsBuilderList() { + public java.util.List + getTenantsBuilderList() { return getTenantsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> getTenantsFieldBuilder() { if (tenantsBuilder_ == null) { - tenantsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder>( - tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tenantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( + tenants_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tenants_ = null; } return tenantsBuilder_; @@ -1020,20 +936,18 @@ public java.util.List getTenantsBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1042,21 +956,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1064,61 +977,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1126,49 +1032,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1190,8 +1083,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1211,8 +1102,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1224,9 +1113,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1238,8 +1125,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1259,8 +1144,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1269,13 +1152,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1287,14 +1168,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1303,24 +1181,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1330,12 +1205,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListTenantsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListTenantsResponse)
   private static final com.google.cloud.talent.v4.ListTenantsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListTenantsResponse();
   }
@@ -1344,27 +1219,27 @@ public static com.google.cloud.talent.v4.ListTenantsResponse getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListTenantsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListTenantsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1379,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListTenantsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
index 0cc6d7270367..360d115001e3 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListTenantsResponseOrBuilder
-    extends
+public interface ListTenantsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListTenantsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - java.util.List getTenantsList(); + java.util.List + getTenantsList(); /** - * - * *
    * Tenants for the current client.
    * 
@@ -44,8 +25,6 @@ public interface ListTenantsResponseOrBuilder */ com.google.cloud.talent.v4.Tenant getTenants(int index); /** - * - * *
    * Tenants for the current client.
    * 
@@ -54,80 +33,65 @@ public interface ListTenantsResponseOrBuilder */ int getTenantsCount(); /** - * - * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - java.util.List getTenantsOrBuilderList(); + java.util.List + getTenantsOrBuilderList(); /** - * - * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index); + com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
similarity index 75%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
index 05309c61ffa7..d0fd24c22a0f 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
@@ -1,85 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * A resource that represents a location with full geographic information.
  * 
* * Protobuf type {@code google.cloud.talent.v4.Location} */ -public final class Location extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Location extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Location) LocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Location() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Location.class, - com.google.cloud.talent.v4.Location.Builder.class); + com.google.cloud.talent.v4.Location.class, com.google.cloud.talent.v4.Location.Builder.class); } /** - * - * *
    * An enum which represents the type of a location.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.Location.LocationType} */ - public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value if the type isn't specified.
      * 
@@ -88,8 +66,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * A country level location.
      * 
@@ -98,8 +74,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ COUNTRY(1), /** - * - * *
      * A state or equivalent level location.
      * 
@@ -108,8 +82,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ ADMINISTRATIVE_AREA(2), /** - * - * *
      * A county or equivalent level location.
      * 
@@ -118,8 +90,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_ADMINISTRATIVE_AREA(3), /** - * - * *
      * A city or equivalent level location.
      * 
@@ -128,8 +98,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCALITY(4), /** - * - * *
      * A postal code level location.
      * 
@@ -138,8 +106,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ POSTAL_CODE(5), /** - * - * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -152,8 +118,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUB_LOCALITY(6),
     /**
-     *
-     *
      * 
      * A district or equivalent level location.
      * 
@@ -162,8 +126,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_LOCALITY_1(7), /** - * - * *
      * A smaller district or equivalent level display.
      * 
@@ -172,8 +134,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_LOCALITY_2(8), /** - * - * *
      * A neighborhood level location.
      * 
@@ -182,8 +142,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ NEIGHBORHOOD(9), /** - * - * *
      * A street address level location.
      * 
@@ -195,8 +153,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value if the type isn't specified.
      * 
@@ -205,8 +161,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A country level location.
      * 
@@ -215,8 +169,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COUNTRY_VALUE = 1; /** - * - * *
      * A state or equivalent level location.
      * 
@@ -225,8 +177,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADMINISTRATIVE_AREA_VALUE = 2; /** - * - * *
      * A county or equivalent level location.
      * 
@@ -235,8 +185,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_ADMINISTRATIVE_AREA_VALUE = 3; /** - * - * *
      * A city or equivalent level location.
      * 
@@ -245,8 +193,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCALITY_VALUE = 4; /** - * - * *
      * A postal code level location.
      * 
@@ -255,8 +201,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTAL_CODE_VALUE = 5; /** - * - * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -269,8 +213,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUB_LOCALITY_VALUE = 6;
     /**
-     *
-     *
      * 
      * A district or equivalent level location.
      * 
@@ -279,8 +221,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_LOCALITY_1_VALUE = 7; /** - * - * *
      * A smaller district or equivalent level display.
      * 
@@ -289,8 +229,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_LOCALITY_2_VALUE = 8; /** - * - * *
      * A neighborhood level location.
      * 
@@ -299,8 +237,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEIGHBORHOOD_VALUE = 9; /** - * - * *
      * A street address level location.
      * 
@@ -309,6 +245,7 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STREET_ADDRESS_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -333,65 +270,57 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: - return LOCATION_TYPE_UNSPECIFIED; - case 1: - return COUNTRY; - case 2: - return ADMINISTRATIVE_AREA; - case 3: - return SUB_ADMINISTRATIVE_AREA; - case 4: - return LOCALITY; - case 5: - return POSTAL_CODE; - case 6: - return SUB_LOCALITY; - case 7: - return SUB_LOCALITY_1; - case 8: - return SUB_LOCALITY_2; - case 9: - return NEIGHBORHOOD; - case 10: - return STREET_ADDRESS; - default: - return null; + case 0: return LOCATION_TYPE_UNSPECIFIED; + case 1: return COUNTRY; + case 2: return ADMINISTRATIVE_AREA; + case 3: return SUB_ADMINISTRATIVE_AREA; + case 4: return LOCALITY; + case 5: return POSTAL_CODE; + case 6: return SUB_LOCALITY; + case 7: return SUB_LOCALITY_1; + case 8: return SUB_LOCALITY_2; + case 9: return NEIGHBORHOOD; + case 10: return STREET_ADDRESS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LocationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -411,8 +340,6 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_; /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -421,16 +348,12 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -439,22 +362,17 @@ public int getLocationTypeValue() {
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The locationType. */ - @java.lang.Override - public com.google.cloud.talent.v4.Location.LocationType getLocationType() { + @java.lang.Override public com.google.cloud.talent.v4.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Location.LocationType result = - com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); + com.google.cloud.talent.v4.Location.LocationType result = com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); return result == null ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED : result; } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 2; private com.google.type.PostalAddress postalAddress_; /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -463,7 +381,6 @@ public com.google.cloud.talent.v4.Location.LocationType getLocationType() {
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -471,8 +388,6 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -481,18 +396,13 @@ public boolean hasPostalAddress() {
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -510,14 +420,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
   public static final int LAT_LNG_FIELD_NUMBER = 3;
   private com.google.type.LatLng latLng_;
   /**
-   *
-   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -525,14 +432,11 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ @java.lang.Override @@ -540,8 +444,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
@@ -556,8 +458,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int RADIUS_MILES_FIELD_NUMBER = 4; private double radiusMiles_; /** - * - * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -568,7 +468,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ @java.lang.Override @@ -577,7 +476,6 @@ public double getRadiusMiles() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -589,9 +487,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (locationType_ - != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (locationType_ != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, locationType_); } if (postalAddress_ != null) { @@ -612,18 +510,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ - != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); + if (locationType_ != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, locationType_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPostalAddress()); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(radiusMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, radiusMiles_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, radiusMiles_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -633,7 +534,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Location)) { return super.equals(obj); @@ -643,14 +544,17 @@ public boolean equals(final java.lang.Object obj) { if (locationType_ != other.locationType_) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress().equals(other.getPostalAddress())) return false; + if (!getPostalAddress() + .equals(other.getPostalAddress())) return false; } if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng().equals(other.getLatLng())) return false; + if (!getLatLng() + .equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getRadiusMiles()) - != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; + != java.lang.Double.doubleToLongBits( + other.getRadiusMiles())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -673,144 +577,137 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + RADIUS_MILES_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRadiusMiles())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRadiusMiles())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.Location parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Location parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Location parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Location parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.Location parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Location parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Location parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Location parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource that represents a location with full geographic information.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Location} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Location) com.google.cloud.talent.v4.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Location.class, - com.google.cloud.talent.v4.Location.Builder.class); + com.google.cloud.talent.v4.Location.class, com.google.cloud.talent.v4.Location.Builder.class); } // Construct using com.google.cloud.talent.v4.Location.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -834,9 +731,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override @@ -876,39 +773,38 @@ public com.google.cloud.talent.v4.Location buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Location) { - return mergeFrom((com.google.cloud.talent.v4.Location) other); + return mergeFrom((com.google.cloud.talent.v4.Location)other); } else { super.mergeFrom(other); return this; @@ -955,37 +851,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - locationType_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 33: - { - radiusMiles_ = input.readDouble(); - - break; - } // case 33 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + locationType_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getPostalAddressFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 33: { + radiusMiles_ = input.readDouble(); + + break; + } // case 33 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -998,8 +893,6 @@ public Builder mergeFrom( private int locationType_ = 0; /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1008,16 +901,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1026,19 +915,16 @@ public int getLocationTypeValue() {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ public Builder setLocationTypeValue(int value) { - + locationType_ = value; onChanged(); return this; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1047,21 +933,15 @@ public Builder setLocationTypeValue(int value) {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The locationType. */ @java.lang.Override public com.google.cloud.talent.v4.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Location.LocationType result = - com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); - return result == null - ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.Location.LocationType result = com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); + return result == null ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED : result; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1070,7 +950,6 @@ public com.google.cloud.talent.v4.Location.LocationType getLocationType() {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @param value The locationType to set. * @return This builder for chaining. */ @@ -1078,14 +957,12 @@ public Builder setLocationType(com.google.cloud.talent.v4.Location.LocationType if (value == null) { throw new NullPointerException(); } - + locationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1094,11 +971,10 @@ public Builder setLocationType(com.google.cloud.talent.v4.Location.LocationType
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return This builder for chaining. */ public Builder clearLocationType() { - + locationType_ = 0; onChanged(); return this; @@ -1106,13 +982,8 @@ public Builder clearLocationType() { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - postalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1121,15 +992,12 @@ public Builder clearLocationType() {
      * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1138,21 +1006,16 @@ public boolean hasPostalAddress() {
      * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1176,8 +1039,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1187,7 +1048,8 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
      *
      * .google.type.PostalAddress postal_address = 2;
      */
-    public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) {
+    public Builder setPostalAddress(
+        com.google.type.PostalAddress.Builder builderForValue) {
       if (postalAddressBuilder_ == null) {
         postalAddress_ = builderForValue.build();
         onChanged();
@@ -1198,8 +1060,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1213,9 +1073,7 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       if (postalAddressBuilder_ == null) {
         if (postalAddress_ != null) {
           postalAddress_ =
-              com.google.type.PostalAddress.newBuilder(postalAddress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial();
         } else {
           postalAddress_ = value;
         }
@@ -1227,8 +1085,6 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1250,8 +1106,6 @@ public Builder clearPostalAddress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1262,13 +1116,11 @@ public Builder clearPostalAddress() {
      * .google.type.PostalAddress postal_address = 2;
      */
     public com.google.type.PostalAddress.Builder getPostalAddressBuilder() {
-
+      
       onChanged();
       return getPostalAddressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1282,14 +1134,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
       if (postalAddressBuilder_ != null) {
         return postalAddressBuilder_.getMessageOrBuilder();
       } else {
-        return postalAddress_ == null
-            ? com.google.type.PostalAddress.getDefaultInstance()
-            : postalAddress_;
+        return postalAddress_ == null ?
+            com.google.type.PostalAddress.getDefaultInstance() : postalAddress_;
       }
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1300,17 +1149,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
      * .google.type.PostalAddress postal_address = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.PostalAddress,
-            com.google.type.PostalAddress.Builder,
-            com.google.type.PostalAddressOrBuilder>
+        com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> 
         getPostalAddressFieldBuilder() {
       if (postalAddressBuilder_ == null) {
-        postalAddressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.PostalAddress,
-                com.google.type.PostalAddress.Builder,
-                com.google.type.PostalAddressOrBuilder>(
-                getPostalAddress(), getParentForChildren(), isClean());
+        postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>(
+                getPostalAddress(),
+                getParentForChildren(),
+                isClean());
         postalAddress_ = null;
       }
       return postalAddressBuilder_;
@@ -1318,31 +1164,24 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
 
     private com.google.type.LatLng latLng_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
-        latLngBuilder_;
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_;
     /**
-     *
-     *
      * 
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1353,8 +1192,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1375,15 +1212,14 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; */ - public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng( + com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -1394,8 +1230,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1405,7 +1239,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = + com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -1417,8 +1252,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1437,8 +1270,6 @@ public Builder clearLatLng() { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1446,13 +1277,11 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 3; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1463,12 +1292,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? + com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1476,23 +1304,21 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); + latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getLatLng(), + getParentForChildren(), + isClean()); latLng_ = null; } return latLngBuilder_; } - private double radiusMiles_; + private double radiusMiles_ ; /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1503,7 +1329,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ @java.lang.Override @@ -1511,8 +1336,6 @@ public double getRadiusMiles() { return radiusMiles_; } /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1523,19 +1346,16 @@ public double getRadiusMiles() {
      * 
* * double radius_miles = 4; - * * @param value The radiusMiles to set. * @return This builder for chaining. */ public Builder setRadiusMiles(double value) { - + radiusMiles_ = value; onChanged(); return this; } /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1546,18 +1366,17 @@ public Builder setRadiusMiles(double value) {
      * 
* * double radius_miles = 4; - * * @return This builder for chaining. */ public Builder clearRadiusMiles() { - + radiusMiles_ = 0D; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1567,12 +1386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Location) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Location) private static final com.google.cloud.talent.v4.Location DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Location(); } @@ -1581,27 +1400,27 @@ public static com.google.cloud.talent.v4.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1616,4 +1435,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java index d78bc9fe97e2..ad875e7fabfc 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; /** - * - * *
  * Geographic region of the search.
  * 
* * Protobuf type {@code google.cloud.talent.v4.LocationFilter} */ -public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LocationFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.LocationFilter) LocationFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LocationFilter.newBuilder() to construct. private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LocationFilter() { address_ = ""; regionCode_ = ""; @@ -45,43 +27,39 @@ private LocationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LocationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.LocationFilter.class, - com.google.cloud.talent.v4.LocationFilter.Builder.class); + com.google.cloud.talent.v4.LocationFilter.class, com.google.cloud.talent.v4.LocationFilter.Builder.class); } /** - * - * *
    * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.LocationFilter.TelecommutePreference} */ - public enum TelecommutePreference implements com.google.protobuf.ProtocolMessageEnum { + public enum TelecommutePreference + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -90,8 +68,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ TELECOMMUTE_PREFERENCE_UNSPECIFIED(0), /** - * - * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -102,8 +78,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
     @java.lang.Deprecated
     TELECOMMUTE_EXCLUDED(1),
     /**
-     *
-     *
      * 
      * Allow telecommute jobs.
      * 
@@ -112,8 +86,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ TELECOMMUTE_ALLOWED(2), /** - * - * *
      * Exclude telecommute jobs.
      * 
@@ -125,8 +97,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage ; /** - * - * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -135,8 +105,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_PREFERENCE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -146,8 +114,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
      */
     @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Allow telecommute jobs.
      * 
@@ -156,8 +122,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; /** - * - * *
      * Exclude telecommute jobs.
      * 
@@ -166,6 +130,7 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -190,16 +155,11 @@ public static TelecommutePreference valueOf(int value) { */ public static TelecommutePreference forNumber(int value) { switch (value) { - case 0: - return TELECOMMUTE_PREFERENCE_UNSPECIFIED; - case 1: - return TELECOMMUTE_EXCLUDED; - case 2: - return TELECOMMUTE_ALLOWED; - case 3: - return TELECOMMUTE_JOBS_EXCLUDED; - default: - return null; + case 0: return TELECOMMUTE_PREFERENCE_UNSPECIFIED; + case 1: return TELECOMMUTE_EXCLUDED; + case 2: return TELECOMMUTE_ALLOWED; + case 3: return TELECOMMUTE_JOBS_EXCLUDED; + default: return null; } } @@ -207,28 +167,28 @@ public static TelecommutePreference forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TelecommutePreference> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TelecommutePreference findValueByNumber(int number) { + return TelecommutePreference.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TelecommutePreference findValueByNumber(int number) { - return TelecommutePreference.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.LocationFilter.getDescriptor().getEnumTypes().get(0); } @@ -237,7 +197,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TelecommutePreference valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -257,14 +218,11 @@ private TelecommutePreference(int value) { public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The address. */ @java.lang.Override @@ -273,29 +231,29 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString getAddressBytes() { + public com.google.protobuf.ByteString + getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); address_ = b; return b; } else { @@ -306,8 +264,6 @@ public com.google.protobuf.ByteString getAddressBytes() { public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -324,7 +280,6 @@ public com.google.protobuf.ByteString getAddressBytes() {
    * 
* * string region_code = 2; - * * @return The regionCode. */ @java.lang.Override @@ -333,15 +288,14 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -358,15 +312,16 @@ public java.lang.String getRegionCode() {
    * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -377,15 +332,12 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { public static final int LAT_LNG_FIELD_NUMBER = 3; private com.google.type.LatLng latLng_; /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -393,15 +345,12 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ @java.lang.Override @@ -409,8 +358,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -426,8 +373,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
   public static final int DISTANCE_IN_MILES_FIELD_NUMBER = 4;
   private double distanceInMiles_;
   /**
-   *
-   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -435,7 +380,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ @java.lang.Override @@ -446,8 +390,6 @@ public double getDistanceInMiles() { public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER = 5; private int telecommutePreference_; /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -469,18 +411,13 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override - public int getTelecommutePreferenceValue() { + @java.lang.Override public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -502,25 +439,16 @@ public int getTelecommutePreferenceValue() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ - @java.lang.Override - public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference - getTelecommutePreference() { + @java.lang.Override public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf( - telecommutePreference_); - return result == null - ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); + return result == null ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -532,7 +460,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -545,10 +474,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { output.writeDouble(4, distanceInMiles_); } - if (telecommutePreference_ - != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference - .TELECOMMUTE_PREFERENCE_UNSPECIFIED - .getNumber()) { + if (telecommutePreference_ != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { output.writeEnum(5, telecommutePreference_); } getUnknownFields().writeTo(output); @@ -567,16 +493,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, distanceInMiles_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, distanceInMiles_); } - if (telecommutePreference_ - != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference - .TELECOMMUTE_PREFERENCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, telecommutePreference_); + if (telecommutePreference_ != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, telecommutePreference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -586,22 +512,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.LocationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4.LocationFilter other = - (com.google.cloud.talent.v4.LocationFilter) obj; + com.google.cloud.talent.v4.LocationFilter other = (com.google.cloud.talent.v4.LocationFilter) obj; - if (!getAddress().equals(other.getAddress())) return false; - if (!getRegionCode().equals(other.getRegionCode())) return false; + if (!getAddress() + .equals(other.getAddress())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng().equals(other.getLatLng())) return false; + if (!getLatLng() + .equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; + != java.lang.Double.doubleToLongBits( + other.getDistanceInMiles())) return false; if (telecommutePreference_ != other.telecommutePreference_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -623,10 +552,8 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + DISTANCE_IN_MILES_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistanceInMiles())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistanceInMiles())); hash = (37 * hash) + TELECOMMUTE_PREFERENCE_FIELD_NUMBER; hash = (53 * hash) + telecommutePreference_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -634,136 +561,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.LocationFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.LocationFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.LocationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Geographic region of the search.
    * 
* * Protobuf type {@code google.cloud.talent.v4.LocationFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.LocationFilter) com.google.cloud.talent.v4.LocationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.LocationFilter.class, - com.google.cloud.talent.v4.LocationFilter.Builder.class); + com.google.cloud.talent.v4.LocationFilter.class, com.google.cloud.talent.v4.LocationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.LocationFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -785,9 +706,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto - .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override @@ -806,8 +727,7 @@ public com.google.cloud.talent.v4.LocationFilter build() { @java.lang.Override public com.google.cloud.talent.v4.LocationFilter buildPartial() { - com.google.cloud.talent.v4.LocationFilter result = - new com.google.cloud.talent.v4.LocationFilter(this); + com.google.cloud.talent.v4.LocationFilter result = new com.google.cloud.talent.v4.LocationFilter(this); result.address_ = address_; result.regionCode_ = regionCode_; if (latLngBuilder_ == null) { @@ -825,39 +745,38 @@ public com.google.cloud.talent.v4.LocationFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.LocationFilter) { - return mergeFrom((com.google.cloud.talent.v4.LocationFilter) other); + return mergeFrom((com.google.cloud.talent.v4.LocationFilter)other); } else { super.mergeFrom(other); return this; @@ -909,43 +828,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - address_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 33: - { - distanceInMiles_ = input.readDouble(); - - break; - } // case 33 - case 40: - { - telecommutePreference_ = input.readEnum(); - - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + address_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + regionCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 33: { + distanceInMiles_ = input.readDouble(); + + break; + } // case 33 + case 40: { + telecommutePreference_ = input.readEnum(); + + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -958,20 +873,18 @@ public Builder mergeFrom( private java.lang.Object address_ = ""; /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -980,21 +893,20 @@ public java.lang.String getAddress() { } } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return The bytes for address. */ - public com.google.protobuf.ByteString getAddressBytes() { + public com.google.protobuf.ByteString + getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); address_ = b; return b; } else { @@ -1002,61 +914,54 @@ public com.google.protobuf.ByteString getAddressBytes() { } } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress(java.lang.String value) { + public Builder setAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + address_ = value; onChanged(); return this; } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return This builder for chaining. */ public Builder clearAddress() { - + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes(com.google.protobuf.ByteString value) { + public Builder setAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + address_ = value; onChanged(); return this; @@ -1064,8 +969,6 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) { private java.lang.Object regionCode_ = ""; /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1082,13 +985,13 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * string region_code = 2; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1097,8 +1000,6 @@ public java.lang.String getRegionCode() { } } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1115,14 +1016,15 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1130,8 +1032,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1148,22 +1048,20 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
      * 
* * string region_code = 2; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { + public Builder setRegionCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1180,18 +1078,15 @@ public Builder setRegionCode(java.lang.String value) {
      * 
* * string region_code = 2; - * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1208,16 +1103,16 @@ public Builder clearRegionCode() {
      * 
* * string region_code = 2; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; @@ -1225,33 +1120,26 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1262,8 +1150,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1285,8 +1171,6 @@ public Builder setLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1294,7 +1178,8 @@ public Builder setLatLng(com.google.type.LatLng value) {
      *
      * .google.type.LatLng lat_lng = 3;
      */
-    public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLatLng(
+        com.google.type.LatLng.Builder builderForValue) {
       if (latLngBuilder_ == null) {
         latLng_ = builderForValue.build();
         onChanged();
@@ -1305,8 +1190,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1317,7 +1200,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
     public Builder mergeLatLng(com.google.type.LatLng value) {
       if (latLngBuilder_ == null) {
         if (latLng_ != null) {
-          latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
+          latLng_ =
+            com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
         } else {
           latLng_ = value;
         }
@@ -1329,8 +1213,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1350,8 +1232,6 @@ public Builder clearLatLng() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1360,13 +1240,11 @@ public Builder clearLatLng() {
      * .google.type.LatLng lat_lng = 3;
      */
     public com.google.type.LatLng.Builder getLatLngBuilder() {
-
+      
       onChanged();
       return getLatLngFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1378,12 +1256,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
       if (latLngBuilder_ != null) {
         return latLngBuilder_.getMessageOrBuilder();
       } else {
-        return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_;
+        return latLng_ == null ?
+            com.google.type.LatLng.getDefaultInstance() : latLng_;
       }
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1392,23 +1269,21 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * .google.type.LatLng lat_lng = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
         getLatLngFieldBuilder() {
       if (latLngBuilder_ == null) {
-        latLngBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.LatLng,
-                com.google.type.LatLng.Builder,
-                com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean());
+        latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
+                getLatLng(),
+                getParentForChildren(),
+                isClean());
         latLng_ = null;
       }
       return latLngBuilder_;
     }
 
-    private double distanceInMiles_;
+    private double distanceInMiles_ ;
     /**
-     *
-     *
      * 
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1416,7 +1291,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ @java.lang.Override @@ -1424,8 +1298,6 @@ public double getDistanceInMiles() { return distanceInMiles_; } /** - * - * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1433,19 +1305,16 @@ public double getDistanceInMiles() {
      * 
* * double distance_in_miles = 4; - * * @param value The distanceInMiles to set. * @return This builder for chaining. */ public Builder setDistanceInMiles(double value) { - + distanceInMiles_ = value; onChanged(); return this; } /** - * - * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1453,11 +1322,10 @@ public Builder setDistanceInMiles(double value) {
      * 
* * double distance_in_miles = 4; - * * @return This builder for chaining. */ public Builder clearDistanceInMiles() { - + distanceInMiles_ = 0D; onChanged(); return this; @@ -1465,8 +1333,6 @@ public Builder clearDistanceInMiles() { private int telecommutePreference_ = 0; /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1488,19 +1354,13 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override - public int getTelecommutePreferenceValue() { + @java.lang.Override public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1522,22 +1382,17 @@ public int getTelecommutePreferenceValue() {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @param value The enum numeric value on the wire for telecommutePreference to set. * @return This builder for chaining. */ public Builder setTelecommutePreferenceValue(int value) { - + telecommutePreference_ = value; onChanged(); return this; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1559,26 +1414,16 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ @java.lang.Override - public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference - getTelecommutePreference() { + public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf( - telecommutePreference_); - return result == null - ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); + return result == null ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1600,26 +1445,20 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @param value The telecommutePreference to set. * @return This builder for chaining. */ - public Builder setTelecommutePreference( - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference value) { + public Builder setTelecommutePreference(com.google.cloud.talent.v4.LocationFilter.TelecommutePreference value) { if (value == null) { throw new NullPointerException(); } - + telecommutePreference_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1641,21 +1480,18 @@ public Builder setTelecommutePreference(
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return This builder for chaining. */ public Builder clearTelecommutePreference() { - + telecommutePreference_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1665,12 +1501,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.LocationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.LocationFilter) private static final com.google.cloud.talent.v4.LocationFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.LocationFilter(); } @@ -1679,27 +1515,27 @@ public static com.google.cloud.talent.v4.LocationFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1714,4 +1550,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.LocationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java similarity index 88% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java index 4d0548ba5596..185f5e7508dd 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface LocationFilterOrBuilder - extends +public interface LocationFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.LocationFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The address. */ java.lang.String getAddress(); /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The bytes for address. */ - com.google.protobuf.ByteString getAddressBytes(); + com.google.protobuf.ByteString + getAddressBytes(); /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -67,13 +44,10 @@ public interface LocationFilterOrBuilder
    * 
* * string region_code = 2; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -90,40 +64,32 @@ public interface LocationFilterOrBuilder
    * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -134,8 +100,6 @@ public interface LocationFilterOrBuilder
   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
 
   /**
-   *
-   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -143,14 +107,11 @@ public interface LocationFilterOrBuilder
    * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ double getDistanceInMiles(); /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -172,15 +133,11 @@ public interface LocationFilterOrBuilder
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ int getTelecommutePreferenceValue(); /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -202,9 +159,7 @@ public interface LocationFilterOrBuilder
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java similarity index 83% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java index 50d378a0937a..7047998b8482 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface LocationOrBuilder - extends +public interface LocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Location) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -34,13 +16,10 @@ public interface LocationOrBuilder
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -49,14 +28,11 @@ public interface LocationOrBuilder
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; - * * @return The locationType. */ com.google.cloud.talent.v4.Location.LocationType getLocationType(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -65,13 +41,10 @@ public interface LocationOrBuilder
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -80,13 +53,10 @@ public interface LocationOrBuilder
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -99,32 +69,24 @@ public interface LocationOrBuilder
   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
 
   /**
-   *
-   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
@@ -134,8 +96,6 @@ public interface LocationOrBuilder com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** - * - * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -146,7 +106,6 @@ public interface LocationOrBuilder
    * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ double getRadiusMiles(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java index fc2560165de0..015925caed96 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * An enum that represents the job posting region. In most cases, job postings
  * don't need to specify a region. If a region is given, jobs are
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.PostingRegion}
  */
-public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
+public enum PostingRegion
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
@@ -42,8 +24,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   POSTING_REGION_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
@@ -59,8 +39,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   ADMINISTRATIVE_AREA(1),
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
@@ -72,8 +50,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   NATION(2),
   /**
-   *
-   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -87,8 +63,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
@@ -98,8 +72,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int POSTING_REGION_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
@@ -115,8 +87,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ADMINISTRATIVE_AREA_VALUE = 1;
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
@@ -128,8 +98,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int NATION_VALUE = 2;
   /**
-   *
-   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -140,6 +108,7 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TELECOMMUTE_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -164,51 +133,50 @@ public static PostingRegion valueOf(int value) {
    */
   public static PostingRegion forNumber(int value) {
     switch (value) {
-      case 0:
-        return POSTING_REGION_UNSPECIFIED;
-      case 1:
-        return ADMINISTRATIVE_AREA;
-      case 2:
-        return NATION;
-      case 3:
-        return TELECOMMUTE;
-      default:
-        return null;
+      case 0: return POSTING_REGION_UNSPECIFIED;
+      case 1: return ADMINISTRATIVE_AREA;
+      case 2: return NATION;
+      case 3: return TELECOMMUTE;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public PostingRegion findValueByNumber(int number) {
-          return PostingRegion.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      PostingRegion> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PostingRegion findValueByNumber(int number) {
+            return PostingRegion.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(6);
   }
 
   private static final PostingRegion[] VALUES = values();
 
-  public static PostingRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PostingRegion valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -224,3 +192,4 @@ private PostingRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.PostingRegion)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
similarity index 78%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
index 4b85c24956c6..c00fbaa71b27 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Meta information related to the job searcher or entity
  * conducting the job search. This information is used to improve the
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.RequestMetadata}
  */
-public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.RequestMetadata)
     RequestMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestMetadata.newBuilder() to construct.
   private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RequestMetadata() {
     domain_ = "";
     sessionId_ = "";
@@ -47,35 +29,32 @@ private RequestMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto
-        .internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.RequestMetadata.class,
-            com.google.cloud.talent.v4.RequestMetadata.Builder.class);
+            com.google.cloud.talent.v4.RequestMetadata.class, com.google.cloud.talent.v4.RequestMetadata.Builder.class);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 1;
   private volatile java.lang.Object domain_;
   /**
-   *
-   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -91,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string domain = 1; - * * @return The domain. */ @java.lang.Override @@ -100,15 +78,14 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -124,15 +101,16 @@ public java.lang.String getDomain() {
    * 
* * string domain = 1; - * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -143,8 +121,6 @@ public com.google.protobuf.ByteString getDomainBytes() { public static final int SESSION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sessionId_; /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -158,7 +134,6 @@ public com.google.protobuf.ByteString getDomainBytes() {
    * 
* * string session_id = 2; - * * @return The sessionId. */ @java.lang.Override @@ -167,15 +142,14 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -189,15 +163,16 @@ public java.lang.String getSessionId() {
    * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -208,8 +183,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() { public static final int USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object userId_; /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -223,7 +196,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() {
    * 
* * string user_id = 3; - * * @return The userId. */ @java.lang.Override @@ -232,15 +204,14 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -254,15 +225,16 @@ public java.lang.String getUserId() {
    * 
* * string user_id = 3; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -273,8 +245,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int ALLOW_MISSING_IDS_FIELD_NUMBER = 4; private boolean allowMissingIds_; /** - * - * *
    * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -283,7 +253,6 @@ public com.google.protobuf.ByteString getUserIdBytes() {
    * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ @java.lang.Override @@ -294,15 +263,12 @@ public boolean getAllowMissingIds() { public static final int DEVICE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.DeviceInfo deviceInfo_; /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ @java.lang.Override @@ -310,26 +276,19 @@ public boolean hasDeviceInfo() { return deviceInfo_ != null; } /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo getDeviceInfo() { - return deviceInfo_ == null - ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() - : deviceInfo_; + return deviceInfo_ == null ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_; } /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
@@ -343,7 +302,6 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -355,7 +313,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
     }
@@ -390,10 +349,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_);
     }
     if (allowMissingIds_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissingIds_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, allowMissingIds_);
     }
     if (deviceInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeviceInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getDeviceInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -403,21 +364,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.RequestMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.RequestMetadata other =
-        (com.google.cloud.talent.v4.RequestMetadata) obj;
+    com.google.cloud.talent.v4.RequestMetadata other = (com.google.cloud.talent.v4.RequestMetadata) obj;
 
-    if (!getDomain().equals(other.getDomain())) return false;
-    if (!getSessionId().equals(other.getSessionId())) return false;
-    if (!getUserId().equals(other.getUserId())) return false;
-    if (getAllowMissingIds() != other.getAllowMissingIds()) return false;
+    if (!getDomain()
+        .equals(other.getDomain())) return false;
+    if (!getSessionId()
+        .equals(other.getSessionId())) return false;
+    if (!getUserId()
+        .equals(other.getUserId())) return false;
+    if (getAllowMissingIds()
+        != other.getAllowMissingIds()) return false;
     if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
     if (hasDeviceInfo()) {
-      if (!getDeviceInfo().equals(other.getDeviceInfo())) return false;
+      if (!getDeviceInfo()
+          .equals(other.getDeviceInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -437,7 +402,8 @@ public int hashCode() {
     hash = (37 * hash) + USER_ID_FIELD_NUMBER;
     hash = (53 * hash) + getUserId().hashCode();
     hash = (37 * hash) + ALLOW_MISSING_IDS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissingIds());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowMissingIds());
     if (hasDeviceInfo()) {
       hash = (37 * hash) + DEVICE_INFO_FIELD_NUMBER;
       hash = (53 * hash) + getDeviceInfo().hashCode();
@@ -447,104 +413,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.RequestMetadata parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.RequestMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Meta information related to the job searcher or entity
    * conducting the job search. This information is used to improve the
@@ -553,32 +512,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.RequestMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.RequestMetadata)
       com.google.cloud.talent.v4.RequestMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.RequestMetadata.class,
-              com.google.cloud.talent.v4.RequestMetadata.Builder.class);
+              com.google.cloud.talent.v4.RequestMetadata.class, com.google.cloud.talent.v4.RequestMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.RequestMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -600,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto
-          .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -621,8 +581,7 @@ public com.google.cloud.talent.v4.RequestMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.RequestMetadata buildPartial() {
-      com.google.cloud.talent.v4.RequestMetadata result =
-          new com.google.cloud.talent.v4.RequestMetadata(this);
+      com.google.cloud.talent.v4.RequestMetadata result = new com.google.cloud.talent.v4.RequestMetadata(this);
       result.domain_ = domain_;
       result.sessionId_ = sessionId_;
       result.userId_ = userId_;
@@ -640,39 +599,38 @@ public com.google.cloud.talent.v4.RequestMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.RequestMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4.RequestMetadata) other);
+        return mergeFrom((com.google.cloud.talent.v4.RequestMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -725,43 +683,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                domain_ = input.readStringRequireUtf8();
+            case 10: {
+              domain_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                sessionId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              sessionId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                userId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              userId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                allowMissingIds_ = input.readBool();
+              break;
+            } // case 26
+            case 32: {
+              allowMissingIds_ = input.readBool();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getDeviceInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getDeviceInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -774,8 +728,6 @@ public Builder mergeFrom(
 
     private java.lang.Object domain_ = "";
     /**
-     *
-     *
      * 
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -791,13 +743,13 @@ public Builder mergeFrom(
      * 
* * string domain = 1; - * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -806,8 +758,6 @@ public java.lang.String getDomain() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -823,14 +773,15 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; - * * @return The bytes for domain. */ - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -838,8 +789,6 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -855,22 +804,20 @@ public com.google.protobuf.ByteString getDomainBytes() {
      * 
* * string domain = 1; - * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain(java.lang.String value) { + public Builder setDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -886,18 +833,15 @@ public Builder setDomain(java.lang.String value) {
      * 
* * string domain = 1; - * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -913,16 +857,16 @@ public Builder clearDomain() {
      * 
* * string domain = 1; - * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -930,8 +874,6 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) { private java.lang.Object sessionId_ = ""; /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -945,13 +887,13 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) {
      * 
* * string session_id = 2; - * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -960,8 +902,6 @@ public java.lang.String getSessionId() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -975,14 +915,15 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -990,8 +931,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1005,22 +944,20 @@ public com.google.protobuf.ByteString getSessionIdBytes() {
      * 
* * string session_id = 2; - * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId(java.lang.String value) { + public Builder setSessionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sessionId_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1034,18 +971,15 @@ public Builder setSessionId(java.lang.String value) {
      * 
* * string session_id = 2; - * * @return This builder for chaining. */ public Builder clearSessionId() { - + sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1059,16 +993,16 @@ public Builder clearSessionId() {
      * 
* * string session_id = 2; - * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionId_ = value; onChanged(); return this; @@ -1076,8 +1010,6 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1091,13 +1023,13 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string user_id = 3; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -1106,8 +1038,6 @@ public java.lang.String getUserId() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1121,14 +1051,15 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -1136,8 +1067,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1151,22 +1080,20 @@ public com.google.protobuf.ByteString getUserIdBytes() {
      * 
* * string user_id = 3; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { + public Builder setUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userId_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1180,18 +1107,15 @@ public Builder setUserId(java.lang.String value) {
      * 
* * string user_id = 3; - * * @return This builder for chaining. */ public Builder clearUserId() { - + userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1205,25 +1129,23 @@ public Builder clearUserId() {
      * 
* * string user_id = 3; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; onChanged(); return this; } - private boolean allowMissingIds_; + private boolean allowMissingIds_ ; /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1232,7 +1154,6 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ @java.lang.Override @@ -1240,8 +1161,6 @@ public boolean getAllowMissingIds() { return allowMissingIds_; } /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1250,19 +1169,16 @@ public boolean getAllowMissingIds() {
      * 
* * bool allow_missing_ids = 4; - * * @param value The allowMissingIds to set. * @return This builder for chaining. */ public Builder setAllowMissingIds(boolean value) { - + allowMissingIds_ = value; onChanged(); return this; } /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1271,11 +1187,10 @@ public Builder setAllowMissingIds(boolean value) {
      * 
* * bool allow_missing_ids = 4; - * * @return This builder for chaining. */ public Builder clearAllowMissingIds() { - + allowMissingIds_ = false; onChanged(); return this; @@ -1283,49 +1198,36 @@ public Builder clearAllowMissingIds() { private com.google.cloud.talent.v4.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.DeviceInfo, - com.google.cloud.talent.v4.DeviceInfo.Builder, - com.google.cloud.talent.v4.DeviceInfoOrBuilder> - deviceInfoBuilder_; + com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder> deviceInfoBuilder_; /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ public boolean hasDeviceInfo() { return deviceInfoBuilder_ != null || deviceInfo_ != null; } /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ public com.google.cloud.talent.v4.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { - return deviceInfo_ == null - ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() - : deviceInfo_; + return deviceInfo_ == null ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1347,8 +1249,6 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1356,7 +1256,8 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
      *
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
-    public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo.Builder builderForValue) {
+    public Builder setDeviceInfo(
+        com.google.cloud.talent.v4.DeviceInfo.Builder builderForValue) {
       if (deviceInfoBuilder_ == null) {
         deviceInfo_ = builderForValue.build();
         onChanged();
@@ -1367,8 +1268,6 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1380,9 +1279,7 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       if (deviceInfoBuilder_ == null) {
         if (deviceInfo_ != null) {
           deviceInfo_ =
-              com.google.cloud.talent.v4.DeviceInfo.newBuilder(deviceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
         } else {
           deviceInfo_ = value;
         }
@@ -1394,8 +1291,6 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1415,8 +1310,6 @@ public Builder clearDeviceInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1425,13 +1318,11 @@ public Builder clearDeviceInfo() {
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
     public com.google.cloud.talent.v4.DeviceInfo.Builder getDeviceInfoBuilder() {
-
+      
       onChanged();
       return getDeviceInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1443,14 +1334,11 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
       if (deviceInfoBuilder_ != null) {
         return deviceInfoBuilder_.getMessageOrBuilder();
       } else {
-        return deviceInfo_ == null
-            ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance()
-            : deviceInfo_;
+        return deviceInfo_ == null ?
+            com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1459,24 +1347,21 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.DeviceInfo,
-            com.google.cloud.talent.v4.DeviceInfo.Builder,
-            com.google.cloud.talent.v4.DeviceInfoOrBuilder>
+        com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder> 
         getDeviceInfoFieldBuilder() {
       if (deviceInfoBuilder_ == null) {
-        deviceInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.DeviceInfo,
-                com.google.cloud.talent.v4.DeviceInfo.Builder,
-                com.google.cloud.talent.v4.DeviceInfoOrBuilder>(
-                getDeviceInfo(), getParentForChildren(), isClean());
+        deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder>(
+                getDeviceInfo(),
+                getParentForChildren(),
+                isClean());
         deviceInfo_ = null;
       }
       return deviceInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1486,12 +1371,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.RequestMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.RequestMetadata)
   private static final com.google.cloud.talent.v4.RequestMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.RequestMetadata();
   }
@@ -1500,27 +1385,27 @@ public static com.google.cloud.talent.v4.RequestMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1535,4 +1420,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.RequestMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
similarity index 86%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
index 47d1940f75b4..2759d8afffa4 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
-public interface RequestMetadataOrBuilder
-    extends
+public interface RequestMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.RequestMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -41,13 +23,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string domain = 1; - * * @return The domain. */ java.lang.String getDomain(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -63,14 +42,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string domain = 1; - * * @return The bytes for domain. */ - com.google.protobuf.ByteString getDomainBytes(); + com.google.protobuf.ByteString + getDomainBytes(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -84,13 +61,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string session_id = 2; - * * @return The sessionId. */ java.lang.String getSessionId(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -104,14 +78,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString getSessionIdBytes(); + com.google.protobuf.ByteString + getSessionIdBytes(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -125,13 +97,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string user_id = 3; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -145,14 +114,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string user_id = 3; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -161,40 +128,31 @@ public interface RequestMetadataOrBuilder
    * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ boolean getAllowMissingIds(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ boolean hasDeviceInfo(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ com.google.cloud.talent.v4.DeviceInfo getDeviceInfo(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
similarity index 65%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
index 358f9d27d96e..7490544ac27a 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
@@ -1,84 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Additional information returned to client, such as debugging information.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ResponseMetadata} */ -public final class ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResponseMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ResponseMetadata) ResponseMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResponseMetadata.newBuilder() to construct. private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResponseMetadata() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResponseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ResponseMetadata.class, - com.google.cloud.talent.v4.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4.ResponseMetadata.class, com.google.cloud.talent.v4.ResponseMetadata.Builder.class); } public static final int REQUEST_ID_FIELD_NUMBER = 1; private volatile java.lang.Object requestId_; /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The requestId. */ @java.lang.Override @@ -87,30 +65,30 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -119,7 +97,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -155,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ResponseMetadata)) { return super.equals(obj); } - com.google.cloud.talent.v4.ResponseMetadata other = - (com.google.cloud.talent.v4.ResponseMetadata) obj; + com.google.cloud.talent.v4.ResponseMetadata other = (com.google.cloud.talent.v4.ResponseMetadata) obj; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,136 +160,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.ResponseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Additional information returned to client, such as debugging information.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ResponseMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ResponseMetadata) com.google.cloud.talent.v4.ResponseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ResponseMetadata.class, - com.google.cloud.talent.v4.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4.ResponseMetadata.class, com.google.cloud.talent.v4.ResponseMetadata.Builder.class); } // Construct using com.google.cloud.talent.v4.ResponseMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override @@ -342,8 +314,7 @@ public com.google.cloud.talent.v4.ResponseMetadata build() { @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata buildPartial() { - com.google.cloud.talent.v4.ResponseMetadata result = - new com.google.cloud.talent.v4.ResponseMetadata(this); + com.google.cloud.talent.v4.ResponseMetadata result = new com.google.cloud.talent.v4.ResponseMetadata(this); result.requestId_ = requestId_; onBuilt(); return result; @@ -353,39 +324,38 @@ public com.google.cloud.talent.v4.ResponseMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ResponseMetadata) { - return mergeFrom((com.google.cloud.talent.v4.ResponseMetadata) other); + return mergeFrom((com.google.cloud.talent.v4.ResponseMetadata)other); } else { super.mergeFrom(other); return this; @@ -424,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -449,21 +417,19 @@ public Builder mergeFrom( private java.lang.Object requestId_ = ""; /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -472,22 +438,21 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -495,71 +460,64 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -569,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ResponseMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ResponseMetadata) private static final com.google.cloud.talent.v4.ResponseMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ResponseMetadata(); } @@ -583,27 +541,27 @@ public static com.google.cloud.talent.v4.ResponseMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -618,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ResponseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java new file mode 100644 index 000000000000..bf504816080c --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/common.proto + +package com.google.cloud.talent.v4; + +public interface ResponseMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ResponseMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * A unique id associated with this call.
+   * This id is logged for tracking purposes.
+   * 
+ * + * string request_id = 1; + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + *
+   * A unique id associated with this call.
+   * This id is logged for tracking purposes.
+   * 
+ * + * string request_id = 1; + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString + getRequestIdBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java similarity index 85% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java index 52cf17728980..3a48baffbe26 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * The Request body of the `SearchJobs` call.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest} */ -public final class SearchJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsRequest) SearchJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchJobsRequest.newBuilder() to construct. private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; @@ -50,33 +32,30 @@ private SearchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.class, - com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.class, com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); } /** - * - * *
    * A string-represented enumeration of the job search mode. The service
    * operate differently for different modes of service.
@@ -84,10 +63,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.SearchMode}
    */
-  public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SearchMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -97,8 +75,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     SEARCH_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -108,8 +84,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     JOB_SEARCH(1),
     /**
-     *
-     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -125,8 +99,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -136,8 +108,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SEARCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -147,8 +117,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int JOB_SEARCH_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -161,6 +129,7 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FEATURED_JOB_SEARCH_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -185,49 +154,49 @@ public static SearchMode valueOf(int value) {
      */
     public static SearchMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return SEARCH_MODE_UNSPECIFIED;
-        case 1:
-          return JOB_SEARCH;
-        case 2:
-          return FEATURED_JOB_SEARCH;
-        default:
-          return null;
+        case 0: return SEARCH_MODE_UNSPECIFIED;
+        case 1: return JOB_SEARCH;
+        case 2: return FEATURED_JOB_SEARCH;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        SearchMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public SearchMode findValueByNumber(int number) {
+              return SearchMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public SearchMode findValueByNumber(int number) {
-            return SearchMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final SearchMode[] VALUES = values();
 
-    public static SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SearchMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -245,8 +214,6 @@ private SearchMode(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -262,10 +229,9 @@ private SearchMode(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel}
    */
-  public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DiversificationLevel
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The diversification level isn't specified.
      * 
@@ -274,8 +240,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE */ DIVERSIFICATION_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -286,8 +250,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     DISABLED(1),
     /**
-     *
-     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -298,8 +260,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     SIMPLE(2),
     /**
-     *
-     *
      * 
      * Only one job from the same company will be shown at once, other jobs
      * under same company are pushed to the end of the last page of search
@@ -310,8 +270,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     ONE_PER_COMPANY(3),
     /**
-     *
-     *
      * 
      * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
      * same company to be shown at once, the other jobs under same company are
@@ -322,8 +280,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     TWO_PER_COMPANY(4),
     /**
-     *
-     *
      * 
      * The result list is ordered such that somewhat similar results are pushed
      * to the end of the last page of the search results. This option is
@@ -337,8 +293,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
     ;
 
     /**
-     *
-     *
      * 
      * The diversification level isn't specified.
      * 
@@ -347,8 +301,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE */ public static final int DIVERSIFICATION_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -359,8 +311,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int DISABLED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -371,8 +321,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int SIMPLE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Only one job from the same company will be shown at once, other jobs
      * under same company are pushed to the end of the last page of search
@@ -383,8 +331,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int ONE_PER_COMPANY_VALUE = 3;
     /**
-     *
-     *
      * 
      * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
      * same company to be shown at once, the other jobs under same company are
@@ -395,8 +341,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int TWO_PER_COMPANY_VALUE = 4;
     /**
-     *
-     *
      * 
      * The result list is ordered such that somewhat similar results are pushed
      * to the end of the last page of the search results. This option is
@@ -407,6 +351,7 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int DIVERSIFY_BY_LOOSER_SIMILARITY_VALUE = 5;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -431,20 +376,13 @@ public static DiversificationLevel valueOf(int value) {
      */
     public static DiversificationLevel forNumber(int value) {
       switch (value) {
-        case 0:
-          return DIVERSIFICATION_LEVEL_UNSPECIFIED;
-        case 1:
-          return DISABLED;
-        case 2:
-          return SIMPLE;
-        case 3:
-          return ONE_PER_COMPANY;
-        case 4:
-          return TWO_PER_COMPANY;
-        case 5:
-          return DIVERSIFY_BY_LOOSER_SIMILARITY;
-        default:
-          return null;
+        case 0: return DIVERSIFICATION_LEVEL_UNSPECIFIED;
+        case 1: return DISABLED;
+        case 2: return SIMPLE;
+        case 3: return ONE_PER_COMPANY;
+        case 4: return TWO_PER_COMPANY;
+        case 5: return DIVERSIFY_BY_LOOSER_SIMILARITY;
+        default: return null;
       }
     }
 
@@ -452,28 +390,28 @@ public static DiversificationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DiversificationLevel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DiversificationLevel findValueByNumber(int number) {
+              return DiversificationLevel.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public DiversificationLevel findValueByNumber(int number) {
-                return DiversificationLevel.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -482,7 +420,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static DiversificationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -500,8 +439,6 @@ private DiversificationLevel(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Controls what keyword matching behavior the search has. When keyword
    * matching is enabled, a keyword match returns jobs that may not match given
@@ -521,10 +458,9 @@ private DiversificationLevel(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode}
    */
-  public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum KeywordMatchMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -534,8 +470,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     KEYWORD_MATCH_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Disables keyword matching.
      * 
@@ -544,8 +478,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ KEYWORD_MATCH_DISABLED(1), /** - * - * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
@@ -557,8 +489,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     KEYWORD_MATCH_ALL(2),
     /**
-     *
-     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
      * 
@@ -570,8 +500,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -581,8 +509,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Disables keyword matching.
      * 
@@ -591,8 +517,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; /** - * - * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
@@ -604,8 +528,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KEYWORD_MATCH_ALL_VALUE = 2;
     /**
-     *
-     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
      * 
@@ -614,6 +536,7 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -638,44 +561,40 @@ public static KeywordMatchMode valueOf(int value) { */ public static KeywordMatchMode forNumber(int value) { switch (value) { - case 0: - return KEYWORD_MATCH_MODE_UNSPECIFIED; - case 1: - return KEYWORD_MATCH_DISABLED; - case 2: - return KEYWORD_MATCH_ALL; - case 3: - return KEYWORD_MATCH_TITLE_ONLY; - default: - return null; + case 0: return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: return KEYWORD_MATCH_DISABLED; + case 2: return KEYWORD_MATCH_ALL; + case 3: return KEYWORD_MATCH_TITLE_ONLY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + KeywordMatchMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeywordMatchMode findValueByNumber(int number) { - return KeywordMatchMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); } @@ -684,7 +603,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static KeywordMatchMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -701,14 +621,11 @@ private KeywordMatchMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode) } - public interface CustomRankingInfoOrBuilder - extends + public interface CustomRankingInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -716,16 +633,11 @@ public interface CustomRankingInfoOrBuilder
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ int getImportanceLevelValue(); /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -733,18 +645,12 @@ public interface CustomRankingInfoOrBuilder
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel(); /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -765,13 +671,10 @@ public interface CustomRankingInfoOrBuilder
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ java.lang.String getRankingExpression(); /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -792,30 +695,27 @@ public interface CustomRankingInfoOrBuilder
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ - com.google.protobuf.ByteString getRankingExpressionBytes(); + com.google.protobuf.ByteString + getRankingExpressionBytes(); } /** - * - * *
    * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo} */ - public static final class CustomRankingInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CustomRankingInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) CustomRankingInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomRankingInfo.newBuilder() to construct. private CustomRankingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomRankingInfo() { importanceLevel_ = 0; rankingExpression_ = ""; @@ -823,44 +723,39 @@ private CustomRankingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomRankingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); } /** - * - * *
      * The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression].
      * 
* - * Protobuf enum {@code - * google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} + * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} */ - public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportanceLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value if the importance level isn't specified.
        * 
@@ -869,8 +764,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { */ IMPORTANCE_LEVEL_UNSPECIFIED(0), /** - * - * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -881,8 +774,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       NONE(1),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -893,8 +784,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       LOW(2),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -905,8 +794,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       MILD(3),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -917,8 +804,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       MEDIUM(4),
       /**
-       *
-       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -929,8 +814,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       HIGH(5),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -944,8 +827,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Default value if the importance level isn't specified.
        * 
@@ -954,8 +835,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORTANCE_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -966,8 +845,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NONE_VALUE = 1;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -978,8 +855,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int LOW_VALUE = 2;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -990,8 +865,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MILD_VALUE = 3;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -1002,8 +875,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MEDIUM_VALUE = 4;
       /**
-       *
-       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -1014,8 +885,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int HIGH_VALUE = 5;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -1026,6 +895,7 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int EXTREME_VALUE = 6;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1050,22 +920,14 @@ public static ImportanceLevel valueOf(int value) {
        */
       public static ImportanceLevel forNumber(int value) {
         switch (value) {
-          case 0:
-            return IMPORTANCE_LEVEL_UNSPECIFIED;
-          case 1:
-            return NONE;
-          case 2:
-            return LOW;
-          case 3:
-            return MILD;
-          case 4:
-            return MEDIUM;
-          case 5:
-            return HIGH;
-          case 6:
-            return EXTREME;
-          default:
-            return null;
+          case 0: return IMPORTANCE_LEVEL_UNSPECIFIED;
+          case 1: return NONE;
+          case 2: return LOW;
+          case 3: return MILD;
+          case 4: return MEDIUM;
+          case 5: return HIGH;
+          case 6: return EXTREME;
+          default: return null;
         }
       }
 
@@ -1073,31 +935,29 @@ public static ImportanceLevel forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ImportanceLevel> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ImportanceLevel findValueByNumber(int number) {
+                return ImportanceLevel.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ImportanceLevel findValueByNumber(int number) {
-                  return ImportanceLevel.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ImportanceLevel[] VALUES = values();
@@ -1105,7 +965,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ImportanceLevel valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -1125,8 +986,6 @@ private ImportanceLevel(int value) {
     public static final int IMPORTANCE_LEVEL_FIELD_NUMBER = 1;
     private int importanceLevel_;
     /**
-     *
-     *
      * 
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1134,19 +993,13 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override - public int getImportanceLevelValue() { + @java.lang.Override public int getImportanceLevelValue() { return importanceLevel_; } /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1154,30 +1007,18 @@ public int getImportanceLevelValue() {
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel() { + @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf( - importanceLevel_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; } public static final int RANKING_EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object rankingExpression_; /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1198,7 +1039,6 @@ public int getImportanceLevelValue() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ @java.lang.Override @@ -1207,15 +1047,14 @@ public java.lang.String getRankingExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; } } /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1236,15 +1075,16 @@ public java.lang.String getRankingExpression() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ @java.lang.Override - public com.google.protobuf.ByteString getRankingExpressionBytes() { + public com.google.protobuf.ByteString + getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1253,7 +1093,6 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1265,11 +1104,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (importanceLevel_ - != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .IMPORTANCE_LEVEL_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (importanceLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { @@ -1284,11 +1121,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (importanceLevel_ - != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .IMPORTANCE_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, importanceLevel_); + if (importanceLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rankingExpression_); @@ -1301,16 +1136,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other = - (com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) obj; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) obj; if (importanceLevel_ != other.importanceLevel_) return false; - if (!getRankingExpression().equals(other.getRankingExpression())) return false; + if (!getRankingExpression() + .equals(other.getRankingExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1332,94 +1167,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1429,41 +1257,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1475,14 +1301,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo - getDefaultInstanceForType() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance(); } @@ -1497,8 +1322,7 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo buildPartial() { - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo result = - new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(this); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo result = new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(this); result.importanceLevel_ = importanceLevel_; result.rankingExpression_ = rankingExpression_; onBuilt(); @@ -1509,52 +1333,46 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other) { - if (other - == com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other) { + if (other == com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) return this; if (other.importanceLevel_ != 0) { setImportanceLevelValue(other.getImportanceLevelValue()); } @@ -1588,25 +1406,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - importanceLevel_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - rankingExpression_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + importanceLevel_ = input.readEnum(); + + break; + } // case 8 + case 18: { + rankingExpression_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1619,8 +1434,6 @@ public Builder mergeFrom( private int importanceLevel_ = 0; /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1628,19 +1441,13 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override - public int getImportanceLevelValue() { + @java.lang.Override public int getImportanceLevelValue() { return importanceLevel_; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1648,22 +1455,17 @@ public int getImportanceLevelValue() {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for importanceLevel to set. * @return This builder for chaining. */ public Builder setImportanceLevelValue(int value) { - + importanceLevel_ = value; onChanged(); return this; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1671,27 +1473,16 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf( - importanceLevel_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1699,26 +1490,20 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The importanceLevel to set. * @return This builder for chaining. */ - public Builder setImportanceLevel( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { + public Builder setImportanceLevel(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { if (value == null) { throw new NullPointerException(); } - + importanceLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1726,14 +1511,11 @@ public Builder setImportanceLevel(
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearImportanceLevel() { - + importanceLevel_ = 0; onChanged(); return this; @@ -1741,8 +1523,6 @@ public Builder clearImportanceLevel() { private java.lang.Object rankingExpression_ = ""; /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1763,13 +1543,13 @@ public Builder clearImportanceLevel() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ public java.lang.String getRankingExpression() { java.lang.Object ref = rankingExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; @@ -1778,8 +1558,6 @@ public java.lang.String getRankingExpression() { } } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1800,14 +1578,15 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ - public com.google.protobuf.ByteString getRankingExpressionBytes() { + public com.google.protobuf.ByteString + getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1815,8 +1594,6 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { } } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1837,22 +1614,20 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpression(java.lang.String value) { + public Builder setRankingExpression( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rankingExpression_ = value; onChanged(); return this; } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1873,18 +1648,15 @@ public Builder setRankingExpression(java.lang.String value) {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRankingExpression() { - + rankingExpression_ = getDefaultInstance().getRankingExpression(); onChanged(); return this; } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1905,21 +1677,20 @@ public Builder clearRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { + public Builder setRankingExpressionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rankingExpression_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1932,44 +1703,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) - private static final com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo - getDefaultInstance() { + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomRankingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomRankingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1981,27 +1749,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo - getDefaultInstanceForType() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -2010,33 +1773,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -2047,58 +1808,42 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SEARCH_MODE_FIELD_NUMBER = 2; private int searchMode_; /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override - public int getSearchModeValue() { + @java.lang.Override public int getSearchModeValue() { return searchMode_; } /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ - @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { + @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; } public static final int REQUEST_METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.RequestMetadata requestMetadata_; /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ @java.lang.Override @@ -2106,38 +1851,27 @@ public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ @java.lang.Override public com.google.cloud.talent.v4.RequestMetadata getRequestMetadata() { - return requestMetadata_ == null - ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; } /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { @@ -2147,14 +1881,11 @@ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrB public static final int JOB_QUERY_FIELD_NUMBER = 4; private com.google.cloud.talent.v4.JobQuery jobQuery_; /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ @java.lang.Override @@ -2162,14 +1893,11 @@ public boolean hasJobQuery() { return jobQuery_ != null; } /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return The jobQuery. */ @java.lang.Override @@ -2177,8 +1905,6 @@ public com.google.cloud.talent.v4.JobQuery getJobQuery() { return jobQuery_ == null ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; } /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -2193,8 +1919,6 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { public static final int ENABLE_BROADENING_FIELD_NUMBER = 5; private boolean enableBroadening_; /** - * - * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -2203,7 +1927,6 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() {
    * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ @java.lang.Override @@ -2214,8 +1937,6 @@ public boolean getEnableBroadening() { public static final int HISTOGRAM_QUERIES_FIELD_NUMBER = 7; private java.util.List histogramQueries_; /** - * - * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2243,8 +1964,8 @@ public boolean getEnableBroadening() {
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2309,8 +2030,6 @@ public java.util.List getHistogramQue
     return histogramQueries_;
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2338,8 +2057,8 @@ public java.util.List getHistogramQue
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2400,13 +2119,11 @@ public java.util.List getHistogramQue
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHistogramQueriesOrBuilderList() {
     return histogramQueries_;
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2434,8 +2151,8 @@ public java.util.List getHistogramQue
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2500,8 +2217,6 @@ public int getHistogramQueriesCount() {
     return histogramQueries_.size();
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2529,8 +2244,8 @@ public int getHistogramQueriesCount() {
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2595,8 +2310,6 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
     return histogramQueries_.get(index);
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2624,8 +2337,8 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -2694,46 +2407,35 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
   public static final int JOB_VIEW_FIELD_NUMBER = 8;
   private int jobView_;
   /**
-   *
-   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The jobView. */ - @java.lang.Override - public com.google.cloud.talent.v4.JobView getJobView() { + @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = - com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } public static final int OFFSET_FIELD_NUMBER = 9; private int offset_; /** - * - * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -2746,7 +2448,6 @@ public com.google.cloud.talent.v4.JobView getJobView() {
    * 
* * int32 offset = 9; - * * @return The offset. */ @java.lang.Override @@ -2757,8 +2458,6 @@ public int getOffset() { public static final int MAX_PAGE_SIZE_FIELD_NUMBER = 10; private int maxPageSize_; /** - * - * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -2766,7 +2465,6 @@ public int getOffset() {
    * 
* * int32 max_page_size = 10; - * * @return The maxPageSize. */ @java.lang.Override @@ -2777,8 +2475,6 @@ public int getMaxPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object pageToken_; /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -2786,7 +2482,6 @@ public int getMaxPageSize() {
    * 
* * string page_token = 11; - * * @return The pageToken. */ @java.lang.Override @@ -2795,15 +2490,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -2811,15 +2505,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2830,8 +2525,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 12; private volatile java.lang.Object orderBy_; /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2884,7 +2577,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 12; - * * @return The orderBy. */ @java.lang.Override @@ -2893,15 +2585,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2954,15 +2645,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2973,8 +2665,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int DIVERSIFICATION_LEVEL_FIELD_NUMBER = 13; private int diversificationLevel_; /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2986,19 +2676,13 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * is specified.
    * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override - public int getDiversificationLevelValue() { + @java.lang.Override public int getDiversificationLevelValue() { return diversificationLevel_; } /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -3010,37 +2694,24 @@ public int getDiversificationLevelValue() {
    * is specified.
    * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel - getDiversificationLevel() { + @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf( - diversificationLevel_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; } public static final int CUSTOM_RANKING_INFO_FIELD_NUMBER = 14; private com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo customRankingInfo_; /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ @java.lang.Override @@ -3048,46 +2719,34 @@ public boolean hasCustomRankingInfo() { return customRankingInfo_ != null; } /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { return getCustomRankingInfo(); } public static final int DISABLE_KEYWORD_MATCH_FIELD_NUMBER = 16; private boolean disableKeywordMatch_; /** - * - * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -3114,22 +2773,18 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomR
    * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ @java.lang.Override - @java.lang.Deprecated - public boolean getDisableKeywordMatch() { + @java.lang.Deprecated public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; private int keywordMatchMode_; /** - * - * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -3137,18 +2792,13 @@ public boolean getDisableKeywordMatch() {
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override - public int getKeywordMatchModeValue() { + @java.lang.Override public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** - * - * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -3156,23 +2806,16 @@ public int getKeywordMatchModeValue() {
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ - @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3184,13 +2827,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (searchMode_ - != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED - .getNumber()) { + if (searchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, searchMode_); } if (requestMetadata_ != null) { @@ -3220,10 +2862,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, orderBy_); } - if (diversificationLevel_ - != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel - .DIVERSIFICATION_LEVEL_UNSPECIFIED - .getNumber()) { + if (diversificationLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(13, diversificationLevel_); } if (customRankingInfo_ != null) { @@ -3232,10 +2871,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } - if (keywordMatchMode_ - != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode - .KEYWORD_MATCH_MODE_UNSPECIFIED - .getNumber()) { + if (keywordMatchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(18, keywordMatchMode_); } getUnknownFields().writeTo(output); @@ -3250,31 +2886,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (searchMode_ - != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, searchMode_); + if (searchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, searchMode_); } if (requestMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequestMetadata()); } if (jobQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getJobQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getJobQuery()); } if (enableBroadening_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableBroadening_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableBroadening_); } for (int i = 0; i < histogramQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, histogramQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, histogramQueries_.get(i)); } if (jobView_ != com.google.cloud.talent.v4.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, jobView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, jobView_); } if (offset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, offset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, offset_); } if (maxPageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, maxPageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, maxPageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, pageToken_); @@ -3282,23 +2924,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, orderBy_); } - if (diversificationLevel_ - != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel - .DIVERSIFICATION_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, diversificationLevel_); + if (diversificationLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(13, diversificationLevel_); } if (customRankingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getCustomRankingInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getCustomRankingInfo()); } if (disableKeywordMatch_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, disableKeywordMatch_); } - if (keywordMatchMode_ - != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode - .KEYWORD_MATCH_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); + if (keywordMatchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(18, keywordMatchMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3308,37 +2948,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsRequest other = - (com.google.cloud.talent.v4.SearchJobsRequest) obj; + com.google.cloud.talent.v4.SearchJobsRequest other = (com.google.cloud.talent.v4.SearchJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (searchMode_ != other.searchMode_) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; + if (!getRequestMetadata() + .equals(other.getRequestMetadata())) return false; } if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - if (!getJobQuery().equals(other.getJobQuery())) return false; + if (!getJobQuery() + .equals(other.getJobQuery())) return false; } - if (getEnableBroadening() != other.getEnableBroadening()) return false; - if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; + if (getEnableBroadening() + != other.getEnableBroadening()) return false; + if (!getHistogramQueriesList() + .equals(other.getHistogramQueriesList())) return false; if (jobView_ != other.jobView_) return false; - if (getOffset() != other.getOffset()) return false; - if (getMaxPageSize() != other.getMaxPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (getOffset() + != other.getOffset()) return false; + if (getMaxPageSize() + != other.getMaxPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (diversificationLevel_ != other.diversificationLevel_) return false; if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; + if (!getCustomRankingInfo() + .equals(other.getCustomRankingInfo())) return false; } - if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; + if (getDisableKeywordMatch() + != other.getDisableKeywordMatch()) return false; if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3364,7 +3014,8 @@ public int hashCode() { hash = (53 * hash) + getJobQuery().hashCode(); } hash = (37 * hash) + ENABLE_BROADENING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableBroadening()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableBroadening()); if (getHistogramQueriesCount() > 0) { hash = (37 * hash) + HISTOGRAM_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getHistogramQueriesList().hashCode(); @@ -3386,7 +3037,8 @@ public int hashCode() { hash = (53 * hash) + getCustomRankingInfo().hashCode(); } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableKeywordMatch()); hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3394,136 +3046,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request body of the `SearchJobs` call.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsRequest) com.google.cloud.talent.v4.SearchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.class, - com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.class, com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3578,9 +3224,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override @@ -3599,8 +3245,7 @@ public com.google.cloud.talent.v4.SearchJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { - com.google.cloud.talent.v4.SearchJobsRequest result = - new com.google.cloud.talent.v4.SearchJobsRequest(this); + com.google.cloud.talent.v4.SearchJobsRequest result = new com.google.cloud.talent.v4.SearchJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.searchMode_ = searchMode_; @@ -3645,39 +3290,38 @@ public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -3720,10 +3364,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest other) { histogramQueriesBuilder_ = null; histogramQueries_ = other.histogramQueries_; bitField0_ = (bitField0_ & ~0x00000001); - histogramQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHistogramQueriesFieldBuilder() - : null; + histogramQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHistogramQueriesFieldBuilder() : null; } else { histogramQueriesBuilder_.addAllMessages(other.histogramQueries_); } @@ -3784,111 +3427,101 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - searchMode_ = input.readEnum(); + break; + } // case 10 + case 16: { + searchMode_ = input.readEnum(); - break; - } // case 16 - case 26: - { - input.readMessage(getRequestMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 16 + case 26: { + input.readMessage( + getRequestMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - input.readMessage(getJobQueryFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getJobQueryFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 40: - { - enableBroadening_ = input.readBool(); + break; + } // case 34 + case 40: { + enableBroadening_ = input.readBool(); - break; - } // case 40 - case 58: - { - com.google.cloud.talent.v4.HistogramQuery m = - input.readMessage( - com.google.cloud.talent.v4.HistogramQuery.parser(), extensionRegistry); - if (histogramQueriesBuilder_ == null) { - ensureHistogramQueriesIsMutable(); - histogramQueries_.add(m); - } else { - histogramQueriesBuilder_.addMessage(m); - } - break; - } // case 58 - case 64: - { - jobView_ = input.readEnum(); + break; + } // case 40 + case 58: { + com.google.cloud.talent.v4.HistogramQuery m = + input.readMessage( + com.google.cloud.talent.v4.HistogramQuery.parser(), + extensionRegistry); + if (histogramQueriesBuilder_ == null) { + ensureHistogramQueriesIsMutable(); + histogramQueries_.add(m); + } else { + histogramQueriesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: { + jobView_ = input.readEnum(); - break; - } // case 64 - case 72: - { - offset_ = input.readInt32(); + break; + } // case 64 + case 72: { + offset_ = input.readInt32(); - break; - } // case 72 - case 80: - { - maxPageSize_ = input.readInt32(); + break; + } // case 72 + case 80: { + maxPageSize_ = input.readInt32(); - break; - } // case 80 - case 90: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 80 + case 90: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 90 - case 98: - { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 90 + case 98: { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 98 - case 104: - { - diversificationLevel_ = input.readEnum(); + break; + } // case 98 + case 104: { + diversificationLevel_ = input.readEnum(); - break; - } // case 104 - case 114: - { - input.readMessage( - getCustomRankingInfoFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 104 + case 114: { + input.readMessage( + getCustomRankingInfoFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 114 - case 128: - { - disableKeywordMatch_ = input.readBool(); + break; + } // case 114 + case 128: { + disableKeywordMatch_ = input.readBool(); - break; - } // case 128 - case 144: - { - keywordMatchMode_ = input.readEnum(); + break; + } // case 128 + case 144: { + keywordMatchMode_ = input.readEnum(); - break; - } // case 144 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3898,29 +3531,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3929,25 +3557,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -3955,73 +3580,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -4029,71 +3641,55 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int searchMode_ = 0; /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override - public int getSearchModeValue() { + @java.lang.Override public int getSearchModeValue() { return searchMode_; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @param value The enum numeric value on the wire for searchMode to set. * @return This builder for chaining. */ public Builder setSearchModeValue(int value) { - + searchMode_ = value; onChanged(); return this; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @param value The searchMode to set. * @return This builder for chaining. */ @@ -4101,25 +3697,22 @@ public Builder setSearchMode(com.google.cloud.talent.v4.SearchJobsRequest.Search if (value == null) { throw new NullPointerException(); } - + searchMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return This builder for chaining. */ public Builder clearSearchMode() { - + searchMode_ = 0; onChanged(); return this; @@ -4127,64 +3720,45 @@ public Builder clearSearchMode() { private com.google.cloud.talent.v4.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, - com.google.cloud.talent.v4.RequestMetadata.Builder, - com.google.cloud.talent.v4.RequestMetadataOrBuilder> - requestMetadataBuilder_; + com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder> requestMetadataBuilder_; /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ public com.google.cloud.talent.v4.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { - return requestMetadata_ == null - ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequestMetadata(com.google.cloud.talent.v4.RequestMetadata value) { if (requestMetadataBuilder_ == null) { @@ -4200,17 +3774,13 @@ public Builder setRequestMetadata(com.google.cloud.talent.v4.RequestMetadata val return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequestMetadata( com.google.cloud.talent.v4.RequestMetadata.Builder builderForValue) { @@ -4224,25 +3794,19 @@ public Builder setRequestMetadata( return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRequestMetadata(com.google.cloud.talent.v4.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = - com.google.cloud.talent.v4.RequestMetadata.newBuilder(requestMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.RequestMetadata.newBuilder(requestMetadata_).mergeFrom(value).buildPartial(); } else { requestMetadata_ = value; } @@ -4254,17 +3818,13 @@ public Builder mergeRequestMetadata(com.google.cloud.talent.v4.RequestMetadata v return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { @@ -4278,70 +3838,54 @@ public Builder clearRequestMetadata() { return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.RequestMetadata.Builder getRequestMetadataBuilder() { - + onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { - return requestMetadata_ == null - ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? + com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; } } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, - com.google.cloud.talent.v4.RequestMetadata.Builder, - com.google.cloud.talent.v4.RequestMetadataOrBuilder> + com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { - requestMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, - com.google.cloud.talent.v4.RequestMetadata.Builder, - com.google.cloud.talent.v4.RequestMetadataOrBuilder>( - getRequestMetadata(), getParentForChildren(), isClean()); + requestMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder>( + getRequestMetadata(), + getParentForChildren(), + isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; @@ -4349,47 +3893,34 @@ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrB private com.google.cloud.talent.v4.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, - com.google.cloud.talent.v4.JobQuery.Builder, - com.google.cloud.talent.v4.JobQueryOrBuilder> - jobQueryBuilder_; + com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder> jobQueryBuilder_; /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ public boolean hasJobQuery() { return jobQueryBuilder_ != null || jobQuery_ != null; } - /** - * - * + /** *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return The jobQuery. */ public com.google.cloud.talent.v4.JobQuery getJobQuery() { if (jobQueryBuilder_ == null) { - return jobQuery_ == null - ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; } else { return jobQueryBuilder_.getMessage(); } } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4410,15 +3941,14 @@ public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery value) { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; */ - public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery.Builder builderForValue) { + public Builder setJobQuery( + com.google.cloud.talent.v4.JobQuery.Builder builderForValue) { if (jobQueryBuilder_ == null) { jobQuery_ = builderForValue.build(); onChanged(); @@ -4429,8 +3959,6 @@ public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery.Builder builderFo return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4441,9 +3969,7 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4.JobQuery value) { if (jobQueryBuilder_ == null) { if (jobQuery_ != null) { jobQuery_ = - com.google.cloud.talent.v4.JobQuery.newBuilder(jobQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.JobQuery.newBuilder(jobQuery_).mergeFrom(value).buildPartial(); } else { jobQuery_ = value; } @@ -4455,8 +3981,6 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4.JobQuery value) { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4475,8 +3999,6 @@ public Builder clearJobQuery() { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4484,13 +4006,11 @@ public Builder clearJobQuery() { * .google.cloud.talent.v4.JobQuery job_query = 4; */ public com.google.cloud.talent.v4.JobQuery.Builder getJobQueryBuilder() { - + onChanged(); return getJobQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4501,14 +4021,11 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { if (jobQueryBuilder_ != null) { return jobQueryBuilder_.getMessageOrBuilder(); } else { - return jobQuery_ == null - ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? + com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; } } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4516,26 +4033,21 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { * .google.cloud.talent.v4.JobQuery job_query = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, - com.google.cloud.talent.v4.JobQuery.Builder, - com.google.cloud.talent.v4.JobQueryOrBuilder> + com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder> getJobQueryFieldBuilder() { if (jobQueryBuilder_ == null) { - jobQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, - com.google.cloud.talent.v4.JobQuery.Builder, - com.google.cloud.talent.v4.JobQueryOrBuilder>( - getJobQuery(), getParentForChildren(), isClean()); + jobQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder>( + getJobQuery(), + getParentForChildren(), + isClean()); jobQuery_ = null; } return jobQueryBuilder_; } - private boolean enableBroadening_; + private boolean enableBroadening_ ; /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4544,7 +4056,6 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() {
      * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ @java.lang.Override @@ -4552,8 +4063,6 @@ public boolean getEnableBroadening() { return enableBroadening_; } /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4562,19 +4071,16 @@ public boolean getEnableBroadening() {
      * 
* * bool enable_broadening = 5; - * * @param value The enableBroadening to set. * @return This builder for chaining. */ public Builder setEnableBroadening(boolean value) { - + enableBroadening_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4583,36 +4089,28 @@ public Builder setEnableBroadening(boolean value) {
      * 
* * bool enable_broadening = 5; - * * @return This builder for chaining. */ public Builder clearEnableBroadening() { - + enableBroadening_ = false; onChanged(); return this; } private java.util.List histogramQueries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHistogramQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - histogramQueries_ = - new java.util.ArrayList(histogramQueries_); + histogramQueries_ = new java.util.ArrayList(histogramQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQuery, - com.google.cloud.talent.v4.HistogramQuery.Builder, - com.google.cloud.talent.v4.HistogramQueryOrBuilder> - histogramQueriesBuilder_; + com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder> histogramQueriesBuilder_; /** - * - * *
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4640,8 +4138,8 @@ private void ensureHistogramQueriesIsMutable() {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -4709,8 +4207,6 @@ public java.util.List getHistogramQue
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4738,8 +4234,8 @@ public java.util.List getHistogramQue
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -4807,8 +4303,6 @@ public int getHistogramQueriesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4836,8 +4330,8 @@ public int getHistogramQueriesCount() {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -4905,8 +4399,6 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4934,8 +4426,8 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -4995,7 +4487,8 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.HistogramQuery value) {
+    public Builder setHistogramQueries(
+        int index, com.google.cloud.talent.v4.HistogramQuery value) {
       if (histogramQueriesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5009,8 +4502,6 @@ public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.Histogr
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5038,8 +4529,8 @@ public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.Histogr
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5111,8 +4602,6 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5140,8 +4629,8 @@ public Builder setHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5215,8 +4704,6 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5244,8 +4731,8 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5305,7 +4792,8 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.HistogramQuery value) {
+    public Builder addHistogramQueries(
+        int index, com.google.cloud.talent.v4.HistogramQuery value) {
       if (histogramQueriesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5319,8 +4807,6 @@ public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.Histogr
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5348,8 +4834,8 @@ public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.Histogr
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5421,8 +4907,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5450,8 +4934,8 @@ public Builder addHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5523,8 +5007,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5552,8 +5034,8 @@ public Builder addHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5617,7 +5099,8 @@ public Builder addAllHistogramQueries(
         java.lang.Iterable values) {
       if (histogramQueriesBuilder_ == null) {
         ensureHistogramQueriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, histogramQueries_);
         onChanged();
       } else {
         histogramQueriesBuilder_.addAllMessages(values);
@@ -5625,8 +5108,6 @@ public Builder addAllHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5654,8 +5135,8 @@ public Builder addAllHistogramQueries(
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5726,8 +5207,6 @@ public Builder clearHistogramQueries() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5755,8 +5234,8 @@ public Builder clearHistogramQueries() {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5827,8 +5306,6 @@ public Builder removeHistogramQueries(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5856,8 +5333,8 @@ public Builder removeHistogramQueries(int index) {
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -5917,12 +5394,11 @@ public Builder removeHistogramQueries(int index) {
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuilder(int index) {
+    public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuilder(
+        int index) {
       return getHistogramQueriesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5950,8 +5426,8 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuil
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6014,14 +5490,11 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuil
     public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
         int index) {
       if (histogramQueriesBuilder_ == null) {
-        return histogramQueries_.get(index);
-      } else {
+        return histogramQueries_.get(index);  } else {
         return histogramQueriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6049,8 +5522,8 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6110,8 +5583,8 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesOrBuilderList() {
+    public java.util.List 
+         getHistogramQueriesOrBuilderList() {
       if (histogramQueriesBuilder_ != null) {
         return histogramQueriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -6119,8 +5592,6 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6148,8 +5619,8 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6210,12 +5681,10 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
     public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder() {
-      return getHistogramQueriesFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6243,8 +5712,8 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6304,13 +5773,12 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder(int index) {
-      return getHistogramQueriesFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
+    public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder(
+        int index) {
+      return getHistogramQueriesFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6338,8 +5806,8 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
      * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
      *   "FULL_TIME", "PART_TIME".
-     * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-     * "MEDIUM", "BIG".
+     * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+     * "SMALL", "MEDIUM", "BIG".
      * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
      *   in days.
      *   Must specify list of numeric buckets in spec.
@@ -6399,22 +5867,16 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesBuilderList() {
+    public java.util.List 
+         getHistogramQueriesBuilderList() {
       return getHistogramQueriesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.HistogramQuery,
-            com.google.cloud.talent.v4.HistogramQuery.Builder,
-            com.google.cloud.talent.v4.HistogramQueryOrBuilder>
+        com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder> 
         getHistogramQueriesFieldBuilder() {
       if (histogramQueriesBuilder_ == null) {
-        histogramQueriesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.HistogramQuery,
-                com.google.cloud.talent.v4.HistogramQuery.Builder,
-                com.google.cloud.talent.v4.HistogramQueryOrBuilder>(
+        histogramQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder>(
                 histogramQueries_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -6426,69 +5888,55 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
 
     private int jobView_ = 0;
     /**
-     *
-     *
      * 
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = - com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @param value The jobView to set. * @return This builder for chaining. */ @@ -6496,34 +5944,29 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - private int offset_; + private int offset_ ; /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6536,7 +5979,6 @@ public Builder clearJobView() {
      * 
* * int32 offset = 9; - * * @return The offset. */ @java.lang.Override @@ -6544,8 +5986,6 @@ public int getOffset() { return offset_; } /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6558,19 +5998,16 @@ public int getOffset() {
      * 
* * int32 offset = 9; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6583,20 +6020,17 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 9; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; } - private int maxPageSize_; + private int maxPageSize_ ; /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6604,7 +6038,6 @@ public Builder clearOffset() {
      * 
* * int32 max_page_size = 10; - * * @return The maxPageSize. */ @java.lang.Override @@ -6612,8 +6045,6 @@ public int getMaxPageSize() { return maxPageSize_; } /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6621,19 +6052,16 @@ public int getMaxPageSize() {
      * 
* * int32 max_page_size = 10; - * * @param value The maxPageSize to set. * @return This builder for chaining. */ public Builder setMaxPageSize(int value) { - + maxPageSize_ = value; onChanged(); return this; } /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6641,11 +6069,10 @@ public Builder setMaxPageSize(int value) {
      * 
* * int32 max_page_size = 10; - * * @return This builder for chaining. */ public Builder clearMaxPageSize() { - + maxPageSize_ = 0; onChanged(); return this; @@ -6653,8 +6080,6 @@ public Builder clearMaxPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6662,13 +6087,13 @@ public Builder clearMaxPageSize() {
      * 
* * string page_token = 11; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -6677,8 +6102,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6686,14 +6109,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6701,8 +6125,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6710,22 +6132,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 11; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6733,18 +6153,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 11; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6752,16 +6169,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 11; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -6769,8 +6186,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6823,13 +6238,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 12; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -6838,8 +6253,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6892,14 +6305,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -6907,8 +6321,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6961,22 +6373,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 12; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7029,18 +6439,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 12; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7093,16 +6500,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 12; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -7110,8 +6517,6 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private int diversificationLevel_ = 0; /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7123,19 +6528,13 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override - public int getDiversificationLevelValue() { + @java.lang.Override public int getDiversificationLevelValue() { return diversificationLevel_; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7147,22 +6546,17 @@ public int getDiversificationLevelValue() {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @param value The enum numeric value on the wire for diversificationLevel to set. * @return This builder for chaining. */ public Builder setDiversificationLevelValue(int value) { - + diversificationLevel_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7174,26 +6568,16 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel - getDiversificationLevel() { + public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf( - diversificationLevel_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7205,26 +6589,20 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @param value The diversificationLevel to set. * @return This builder for chaining. */ - public Builder setDiversificationLevel( - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel value) { + public Builder setDiversificationLevel(com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel value) { if (value == null) { throw new NullPointerException(); } - + diversificationLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7236,14 +6614,11 @@ public Builder setDiversificationLevel(
      * is specified.
      * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return This builder for chaining. */ public Builder clearDiversificationLevel() { - + diversificationLevel_ = 0; onChanged(); return this; @@ -7251,61 +6626,44 @@ public Builder clearDiversificationLevel() { private com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> - customRankingInfoBuilder_; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> customRankingInfoBuilder_; /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ public boolean hasCustomRankingInfo() { return customRankingInfoBuilder_ != null || customRankingInfo_ != null; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } else { return customRankingInfoBuilder_.getMessage(); } } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public Builder setCustomRankingInfo( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { + public Builder setCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7319,15 +6677,12 @@ public Builder setCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ public Builder setCustomRankingInfo( com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder builderForValue) { @@ -7341,25 +6696,18 @@ public Builder setCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public Builder mergeCustomRankingInfo( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { + public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (customRankingInfo_ != null) { customRankingInfo_ = - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder( - customRankingInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder(customRankingInfo_).mergeFrom(value).buildPartial(); } else { customRankingInfo_ = value; } @@ -7371,15 +6719,12 @@ public Builder mergeCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ public Builder clearCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { @@ -7393,75 +6738,58 @@ public Builder clearCustomRankingInfo() { return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder - getCustomRankingInfoBuilder() { - + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder getCustomRankingInfoBuilder() { + onChanged(); return getCustomRankingInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { if (customRankingInfoBuilder_ != null) { return customRankingInfoBuilder_.getMessageOrBuilder(); } else { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> getCustomRankingInfoFieldBuilder() { if (customRankingInfoBuilder_ == null) { - customRankingInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder>( - getCustomRankingInfo(), getParentForChildren(), isClean()); + customRankingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder>( + getCustomRankingInfo(), + getParentForChildren(), + isClean()); customRankingInfo_ = null; } return customRankingInfoBuilder_; } - private boolean disableKeywordMatch_; + private boolean disableKeywordMatch_ ; /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7488,19 +6816,15 @@ public Builder clearCustomRankingInfo() {
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ @java.lang.Override - @java.lang.Deprecated - public boolean getDisableKeywordMatch() { + @java.lang.Deprecated public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7527,22 +6851,18 @@ public boolean getDisableKeywordMatch() {
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDisableKeywordMatch(boolean value) { - + @java.lang.Deprecated public Builder setDisableKeywordMatch(boolean value) { + disableKeywordMatch_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7569,14 +6889,12 @@ public Builder setDisableKeywordMatch(boolean value) {
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearDisableKeywordMatch() { - + @java.lang.Deprecated public Builder clearDisableKeywordMatch() { + disableKeywordMatch_ = false; onChanged(); return this; @@ -7584,8 +6902,6 @@ public Builder clearDisableKeywordMatch() { private int keywordMatchMode_ = 0; /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7593,18 +6909,13 @@ public Builder clearDisableKeywordMatch() {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override - public int getKeywordMatchModeValue() { + @java.lang.Override public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7612,21 +6923,17 @@ public int getKeywordMatchModeValue() {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @param value The enum numeric value on the wire for keywordMatchMode to set. * @return This builder for chaining. */ public Builder setKeywordMatchModeValue(int value) { - + keywordMatchMode_ = value; onChanged(); return this; } /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7634,23 +6941,16 @@ public Builder setKeywordMatchModeValue(int value) {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null - ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; } /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7658,25 +6958,20 @@ public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordM
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @param value The keywordMatchMode to set. * @return This builder for chaining. */ - public Builder setKeywordMatchMode( - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { + public Builder setKeywordMatchMode(com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { if (value == null) { throw new NullPointerException(); } - + keywordMatchMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -7684,20 +6979,18 @@ public Builder setKeywordMatchMode(
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return This builder for chaining. */ public Builder clearKeywordMatchMode() { - + keywordMatchMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7707,12 +7000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsRequest) private static final com.google.cloud.talent.v4.SearchJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsRequest(); } @@ -7721,27 +7014,27 @@ public static com.google.cloud.talent.v4.SearchJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7756,4 +7049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SearchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java similarity index 93% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java index 0dfbd092fa81..64ad6fd81ba6 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java @@ -1,162 +1,109 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface SearchJobsRequestOrBuilder - extends +public interface SearchJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ int getSearchModeValue(); /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ boolean hasRequestMetadata(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ com.google.cloud.talent.v4.RequestMetadata getRequestMetadata(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ boolean hasJobQuery(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; - * * @return The jobQuery. */ com.google.cloud.talent.v4.JobQuery getJobQuery(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -166,8 +113,6 @@ public interface SearchJobsRequestOrBuilder com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder(); /** - * - * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -176,14 +121,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ boolean getEnableBroadening(); /** - * - * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -211,8 +153,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -272,10 +214,9 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  java.util.List getHistogramQueriesList();
+  java.util.List 
+      getHistogramQueriesList();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -303,8 +244,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -366,8 +307,6 @@ public interface SearchJobsRequestOrBuilder
    */
   com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index);
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -395,8 +334,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -458,8 +397,6 @@ public interface SearchJobsRequestOrBuilder
    */
   int getHistogramQueriesCount();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -487,8 +424,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -548,11 +485,9 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  java.util.List
+  java.util.List 
       getHistogramQueriesOrBuilderList();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -580,8 +515,8 @@ public interface SearchJobsRequestOrBuilder
    * * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
    * * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
    *   "FULL_TIME", "PART_TIME".
-   * * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-   * "MEDIUM", "BIG".
+   * * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+   * "SMALL", "MEDIUM", "BIG".
    * * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
    *   in days.
    *   Must specify list of numeric buckets in spec.
@@ -641,38 +576,31 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(int index);
+  com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** - * - * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; - * * @return The jobView. */ com.google.cloud.talent.v4.JobView getJobView(); /** - * - * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -685,14 +613,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * int32 offset = 9; - * * @return The offset. */ int getOffset(); /** - * - * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -700,14 +625,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * int32 max_page_size = 10; - * * @return The maxPageSize. */ int getMaxPageSize(); /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -715,13 +637,10 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string page_token = 11; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -729,14 +648,12 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -789,13 +706,10 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string order_by = 12; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -848,14 +762,12 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -867,16 +779,11 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ int getDiversificationLevelValue(); /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -888,59 +795,42 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ boolean hasCustomRankingInfo(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder(); /** - * - * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -967,17 +857,13 @@ public interface SearchJobsRequestOrBuilder
    * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See - * google/cloud/talent/v4/job_service.proto;l=739 + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. + * See google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ - @java.lang.Deprecated - boolean getDisableKeywordMatch(); + @java.lang.Deprecated boolean getDisableKeywordMatch(); /** - * - * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -985,15 +871,11 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ int getKeywordMatchModeValue(); /** - * - * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -1001,9 +883,7 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java similarity index 77% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java index 1a09357dddff..8c4e26d5575a 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Response for SearchJob method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse} */ -public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse) SearchJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchJobsResponse.newBuilder() to construct. private SearchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchJobsResponse() { matchingJobs_ = java.util.Collections.emptyList(); histogramQueryResults_ = java.util.Collections.emptyList(); @@ -46,62 +28,52 @@ private SearchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.class, - com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.class, com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); } - public interface MatchingJobOrBuilder - extends + public interface MatchingJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
@@ -111,35 +83,28 @@ public interface MatchingJobOrBuilder com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder(); /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The jobSummary. */ java.lang.String getJobSummary(); /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ - com.google.protobuf.ByteString getJobSummaryBytes(); + com.google.protobuf.ByteString + getJobSummaryBytes(); /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -147,13 +112,10 @@ public interface MatchingJobOrBuilder
      * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ java.lang.String getJobTitleSnippet(); /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -161,14 +123,12 @@ public interface MatchingJobOrBuilder
      * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ - com.google.protobuf.ByteString getJobTitleSnippetBytes(); + com.google.protobuf.ByteString + getJobTitleSnippetBytes(); /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -177,13 +137,10 @@ public interface MatchingJobOrBuilder
      * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ java.lang.String getSearchTextSnippet(); /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -192,40 +149,32 @@ public interface MatchingJobOrBuilder
      * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ - com.google.protobuf.ByteString getSearchTextSnippetBytes(); + com.google.protobuf.ByteString + getSearchTextSnippetBytes(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ boolean hasCommuteInfo(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -236,24 +185,21 @@ public interface MatchingJobOrBuilder
     com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.MatchingJob} */ - public static final class MatchingJob extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MatchingJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) MatchingJobOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MatchingJob.newBuilder() to construct. private MatchingJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MatchingJob() { jobSummary_ = ""; jobTitleSnippet_ = ""; @@ -262,41 +208,37 @@ private MatchingJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MatchingJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -304,14 +246,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -319,8 +258,6 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
@@ -335,15 +272,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private volatile java.lang.Object jobSummary_; /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The jobSummary. */ @java.lang.Override @@ -352,30 +286,30 @@ public java.lang.String getJobSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; } } /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ @java.lang.Override - public com.google.protobuf.ByteString getJobSummaryBytes() { + public com.google.protobuf.ByteString + getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -386,8 +320,6 @@ public com.google.protobuf.ByteString getJobSummaryBytes() { public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 3; private volatile java.lang.Object jobTitleSnippet_; /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -395,7 +327,6 @@ public com.google.protobuf.ByteString getJobSummaryBytes() {
      * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ @java.lang.Override @@ -404,15 +335,14 @@ public java.lang.String getJobTitleSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; } } /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -420,15 +350,16 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString + getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -439,8 +370,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() { public static final int SEARCH_TEXT_SNIPPET_FIELD_NUMBER = 4; private volatile java.lang.Object searchTextSnippet_; /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -449,7 +378,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
      * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ @java.lang.Override @@ -458,15 +386,14 @@ public java.lang.String getSearchTextSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; } } /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -475,15 +402,16 @@ public java.lang.String getSearchTextSnippet() {
      * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString + getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -494,15 +422,12 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() { public static final int COMMUTE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commuteInfo_; /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ @java.lang.Override @@ -510,26 +435,19 @@ public boolean hasCommuteInfo() { return commuteInfo_ != null; } /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo() { - return commuteInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() - : commuteInfo_; + return commuteInfo_ == null ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; } /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -538,13 +456,11 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(
      * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder
-        getCommuteInfoOrBuilder() {
+    public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
       return getCommuteInfo();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -556,7 +472,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -582,7 +499,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJob());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSummary_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobSummary_);
@@ -594,7 +512,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchTextSnippet_);
       }
       if (commuteInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteInfo());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getCommuteInfo());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -604,24 +523,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other =
-          (com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) obj;
+      com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob().equals(other.getJob())) return false;
-      }
-      if (!getJobSummary().equals(other.getJobSummary())) return false;
-      if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false;
-      if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false;
+        if (!getJob()
+            .equals(other.getJob())) return false;
+      }
+      if (!getJobSummary()
+          .equals(other.getJobSummary())) return false;
+      if (!getJobTitleSnippet()
+          .equals(other.getJobTitleSnippet())) return false;
+      if (!getSearchTextSnippet()
+          .equals(other.getSearchTextSnippet())) return false;
       if (hasCommuteInfo() != other.hasCommuteInfo()) return false;
       if (hasCommuteInfo()) {
-        if (!getCommuteInfo().equals(other.getCommuteInfo())) return false;
+        if (!getCommuteInfo()
+            .equals(other.getCommuteInfo())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -654,94 +577,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -751,41 +667,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.MatchingJob} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -811,9 +725,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override @@ -832,8 +746,7 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob result = - new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob(this); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob result = new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -855,41 +768,38 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob)other); } else { super.mergeFrom(other); return this; @@ -897,8 +807,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other) { - if (other == com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -943,43 +852,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - jobSummary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - jobTitleSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - searchTextSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - input.readMessage(getCommuteInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + jobSummary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + jobTitleSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + searchTextSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + input.readMessage( + getCommuteInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -992,33 +899,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; - * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -1029,8 +927,6 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1051,15 +947,14 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; */ - public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -1070,8 +965,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1081,7 +974,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -1093,8 +987,6 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1113,8 +1005,6 @@ public Builder clearJob() { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1122,13 +1012,11 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 1; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1139,12 +1027,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1152,17 +1039,14 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -1170,21 +1054,19 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobSummary_ = ""; /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return The jobSummary. */ public java.lang.String getJobSummary() { java.lang.Object ref = jobSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; @@ -1193,22 +1075,21 @@ public java.lang.String getJobSummary() { } } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ - public com.google.protobuf.ByteString getJobSummaryBytes() { + public com.google.protobuf.ByteString + getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -1216,64 +1097,57 @@ public com.google.protobuf.ByteString getJobSummaryBytes() { } } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @param value The jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummary(java.lang.String value) { + public Builder setJobSummary( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobSummary_ = value; onChanged(); return this; } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return This builder for chaining. */ public Builder clearJobSummary() { - + jobSummary_ = getDefaultInstance().getJobSummary(); onChanged(); return this; } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @param value The bytes for jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { + public Builder setJobSummaryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobSummary_ = value; onChanged(); return this; @@ -1281,8 +1155,6 @@ public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { private java.lang.Object jobTitleSnippet_ = ""; /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1290,13 +1162,13 @@ public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) {
        * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ public java.lang.String getJobTitleSnippet() { java.lang.Object ref = jobTitleSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; @@ -1305,8 +1177,6 @@ public java.lang.String getJobTitleSnippet() { } } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1314,14 +1184,15 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ - public com.google.protobuf.ByteString getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString + getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -1329,8 +1200,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() { } } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1338,22 +1207,20 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
        * 
* * string job_title_snippet = 3; - * * @param value The jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippet(java.lang.String value) { + public Builder setJobTitleSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTitleSnippet_ = value; onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1361,18 +1228,15 @@ public Builder setJobTitleSnippet(java.lang.String value) {
        * 
* * string job_title_snippet = 3; - * * @return This builder for chaining. */ public Builder clearJobTitleSnippet() { - + jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet(); onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1380,16 +1244,16 @@ public Builder clearJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; - * * @param value The bytes for jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setJobTitleSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTitleSnippet_ = value; onChanged(); return this; @@ -1397,8 +1261,6 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { private java.lang.Object searchTextSnippet_ = ""; /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1407,13 +1269,13 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) {
        * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ public java.lang.String getSearchTextSnippet() { java.lang.Object ref = searchTextSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; @@ -1422,8 +1284,6 @@ public java.lang.String getSearchTextSnippet() { } } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1432,14 +1292,15 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ - public com.google.protobuf.ByteString getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString + getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -1447,8 +1308,6 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() { } } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1457,22 +1316,20 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() {
        * 
* * string search_text_snippet = 4; - * * @param value The searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippet(java.lang.String value) { + public Builder setSearchTextSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchTextSnippet_ = value; onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1481,18 +1338,15 @@ public Builder setSearchTextSnippet(java.lang.String value) {
        * 
* * string search_text_snippet = 4; - * * @return This builder for chaining. */ public Builder clearSearchTextSnippet() { - + searchTextSnippet_ = getDefaultInstance().getSearchTextSnippet(); onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1501,16 +1355,16 @@ public Builder clearSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; - * * @param value The bytes for searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setSearchTextSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchTextSnippet_ = value; onChanged(); return this; @@ -1518,49 +1372,36 @@ public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> - commuteInfoBuilder_; + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> commuteInfoBuilder_; /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
        * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ public boolean hasCommuteInfo() { return commuteInfoBuilder_ != null || commuteInfo_ != null; } /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
        * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo() { if (commuteInfoBuilder_ == null) { - return commuteInfo_ == null - ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() - : commuteInfo_; + return commuteInfo_ == null ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; } else { return commuteInfoBuilder_.getMessage(); } } /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1568,8 +1409,7 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder setCommuteInfo(
-          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
+      public Builder setCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1583,8 +1423,6 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1604,8 +1442,6 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1613,14 +1449,11 @@ public Builder setCommuteInfo(
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder mergeCommuteInfo(
-          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
+      public Builder mergeCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (commuteInfo_ != null) {
             commuteInfo_ =
-                com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_).mergeFrom(value).buildPartial();
           } else {
             commuteInfo_ = value;
           }
@@ -1632,8 +1465,6 @@ public Builder mergeCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1653,8 +1484,6 @@ public Builder clearCommuteInfo() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1662,15 +1491,12 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder
-          getCommuteInfoBuilder() {
-
+      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder() {
+        
         onChanged();
         return getCommuteInfoFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1678,19 +1504,15 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder
-          getCommuteInfoOrBuilder() {
+      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
         if (commuteInfoBuilder_ != null) {
           return commuteInfoBuilder_.getMessageOrBuilder();
         } else {
-          return commuteInfo_ == null
-              ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()
-              : commuteInfo_;
+          return commuteInfo_ == null ?
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_;
         }
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1699,22 +1521,18 @@ public Builder clearCommuteInfo() {
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo,
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder,
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>
+          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> 
           getCommuteInfoFieldBuilder() {
         if (commuteInfoBuilder_ == null) {
-          commuteInfoBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo,
-                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder,
-                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>(
-                  getCommuteInfo(), getParentForChildren(), isClean());
+          commuteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>(
+                  getCommuteInfo(),
+                  getParentForChildren(),
+                  isClean());
           commuteInfo_ = null;
         }
         return commuteInfoBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1727,12 +1545,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse.MatchingJob)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse.MatchingJob)
     private static final com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob();
     }
@@ -1741,28 +1559,27 @@ public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public MatchingJob parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public MatchingJob parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1777,40 +1594,32 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CommuteInfoOrBuilder
-      extends
+  public interface CommuteInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ boolean hasJobLocation(); /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return The jobLocation. */ com.google.cloud.talent.v4.Location getJobLocation(); /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1820,8 +1629,6 @@ public interface CommuteInfoOrBuilder com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1830,13 +1637,10 @@ public interface CommuteInfoOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); - /** - * - * + /** *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1845,13 +1649,10 @@ public interface CommuteInfoOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1864,63 +1665,57 @@ public interface CommuteInfoOrBuilder
     com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Commute details related to this job.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.CommuteInfo} */ - public static final class CommuteInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CommuteInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) CommuteInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteInfo.newBuilder() to construct. private CommuteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommuteInfo() {} + private CommuteInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommuteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); } public static final int JOB_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Location jobLocation_; /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ @java.lang.Override @@ -1928,25 +1723,18 @@ public boolean hasJobLocation() { return jobLocation_ != null; } /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return The jobLocation. */ @java.lang.Override public com.google.cloud.talent.v4.Location getJobLocation() { - return jobLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; } /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1961,8 +1749,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1971,7 +1757,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() {
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -1979,8 +1764,6 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1989,18 +1772,13 @@ public boolean hasTravelDuration() {
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -2016,7 +1794,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2028,7 +1805,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (jobLocation_ != null) {
         output.writeMessage(1, getJobLocation());
       }
@@ -2045,10 +1823,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (jobLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobLocation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJobLocation());
       }
       if (travelDuration_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getTravelDuration());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2058,21 +1838,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other =
-          (com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) obj;
+      com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) obj;
 
       if (hasJobLocation() != other.hasJobLocation()) return false;
       if (hasJobLocation()) {
-        if (!getJobLocation().equals(other.getJobLocation())) return false;
+        if (!getJobLocation()
+            .equals(other.getJobLocation())) return false;
       }
       if (hasTravelDuration() != other.hasTravelDuration()) return false;
       if (hasTravelDuration()) {
-        if (!getTravelDuration().equals(other.getTravelDuration())) return false;
+        if (!getTravelDuration()
+            .equals(other.getTravelDuration())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2099,94 +1880,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2196,41 +1970,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Commute details related to this job.
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.CommuteInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2250,9 +2022,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override @@ -2271,8 +2043,7 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo result = - new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo(this); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo result = new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo(this); if (jobLocationBuilder_ == null) { result.jobLocation_ = jobLocation_; } else { @@ -2291,41 +2062,38 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)other); } else { super.mergeFrom(other); return this; @@ -2333,8 +2101,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other) { - if (other == com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()) return this; if (other.hasJobLocation()) { mergeJobLocation(other.getJobLocation()); } @@ -2367,26 +2134,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2399,47 +2166,34 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> - jobLocationBuilder_; + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> jobLocationBuilder_; /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ public boolean hasJobLocation() { return jobLocationBuilder_ != null || jobLocation_ != null; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; - * * @return The jobLocation. */ public com.google.cloud.talent.v4.Location getJobLocation() { if (jobLocationBuilder_ == null) { - return jobLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; } else { return jobLocationBuilder_.getMessage(); } } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2460,15 +2214,14 @@ public Builder setJobLocation(com.google.cloud.talent.v4.Location value) { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; */ - public Builder setJobLocation(com.google.cloud.talent.v4.Location.Builder builderForValue) { + public Builder setJobLocation( + com.google.cloud.talent.v4.Location.Builder builderForValue) { if (jobLocationBuilder_ == null) { jobLocation_ = builderForValue.build(); onChanged(); @@ -2479,8 +2232,6 @@ public Builder setJobLocation(com.google.cloud.talent.v4.Location.Builder builde return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2491,9 +2242,7 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4.Location value) { if (jobLocationBuilder_ == null) { if (jobLocation_ != null) { jobLocation_ = - com.google.cloud.talent.v4.Location.newBuilder(jobLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Location.newBuilder(jobLocation_).mergeFrom(value).buildPartial(); } else { jobLocation_ = value; } @@ -2505,8 +2254,6 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4.Location value) { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2525,8 +2272,6 @@ public Builder clearJobLocation() { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2534,13 +2279,11 @@ public Builder clearJobLocation() { * .google.cloud.talent.v4.Location job_location = 1; */ public com.google.cloud.talent.v4.Location.Builder getJobLocationBuilder() { - + onChanged(); return getJobLocationFieldBuilder().getBuilder(); } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2551,14 +2294,11 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { if (jobLocationBuilder_ != null) { return jobLocationBuilder_.getMessageOrBuilder(); } else { - return jobLocation_ == null - ? com.google.cloud.talent.v4.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? + com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; } } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2566,17 +2306,14 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { * .google.cloud.talent.v4.Location job_location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> getJobLocationFieldBuilder() { if (jobLocationBuilder_ == null) { - jobLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder>( - getJobLocation(), getParentForChildren(), isClean()); + jobLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>( + getJobLocation(), + getParentForChildren(), + isClean()); jobLocation_ = null; } return jobLocationBuilder_; @@ -2584,13 +2321,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - travelDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2599,15 +2331,12 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() {
        * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2616,21 +2345,16 @@ public boolean hasTravelDuration() {
        * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2654,8 +2378,6 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2665,7 +2387,8 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration travel_duration = 2;
        */
-      public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTravelDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (travelDurationBuilder_ == null) {
           travelDuration_ = builderForValue.build();
           onChanged();
@@ -2676,8 +2399,6 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2691,9 +2412,7 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         if (travelDurationBuilder_ == null) {
           if (travelDuration_ != null) {
             travelDuration_ =
-                com.google.protobuf.Duration.newBuilder(travelDuration_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial();
           } else {
             travelDuration_ = value;
           }
@@ -2705,8 +2424,6 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2728,8 +2445,6 @@ public Builder clearTravelDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2740,13 +2455,11 @@ public Builder clearTravelDuration() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       public com.google.protobuf.Duration.Builder getTravelDurationBuilder() {
-
+        
         onChanged();
         return getTravelDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2760,14 +2473,11 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
         if (travelDurationBuilder_ != null) {
           return travelDurationBuilder_.getMessageOrBuilder();
         } else {
-          return travelDuration_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : travelDuration_;
+          return travelDuration_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : travelDuration_;
         }
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2778,22 +2488,18 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getTravelDurationFieldBuilder() {
         if (travelDurationBuilder_ == null) {
-          travelDurationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getTravelDuration(), getParentForChildren(), isClean());
+          travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getTravelDuration(),
+                  getParentForChildren(),
+                  isClean());
           travelDuration_ = null;
         }
         return travelDurationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2806,12 +2512,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
     private static final com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo();
     }
@@ -2820,28 +2526,27 @@ public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CommuteInfo parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CommuteInfo parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2856,13 +2561,12 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int MATCHING_JOBS_FIELD_NUMBER = 1;
   private java.util.List matchingJobs_;
   /**
-   *
-   *
    * 
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2870,13 +2574,10 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInsta * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List - getMatchingJobsList() { + public java.util.List getMatchingJobsList() { return matchingJobs_; } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2884,14 +2585,11 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInsta * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + public java.util.List getMatchingJobsOrBuilderList() { return matchingJobs_; } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2903,8 +2601,6 @@ public int getMatchingJobsCount() { return matchingJobs_.size(); } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2916,8 +2612,6 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs return matchingJobs_.get(index); } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2925,16 +2619,14 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder - getMatchingJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( + int index) { return matchingJobs_.get(index); } public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER = 2; private java.util.List histogramQueryResults_; /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2943,13 +2635,10 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
   @java.lang.Override
-  public java.util.List
-      getHistogramQueryResultsList() {
+  public java.util.List getHistogramQueryResultsList() {
     return histogramQueryResults_;
   }
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2958,13 +2647,11 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHistogramQueryResultsOrBuilderList() {
     return histogramQueryResults_;
   }
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2977,8 +2664,6 @@ public int getHistogramQueryResultsCount() {
     return histogramQueryResults_.size();
   }
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2991,8 +2676,6 @@ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(
     return histogramQueryResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -3009,15 +2692,12 @@ public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQuer
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -3026,30 +2706,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -3060,8 +2740,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int LOCATION_FILTERS_FIELD_NUMBER = 4; private java.util.List locationFilters_; /** - * - * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3075,8 +2753,6 @@ public java.util.List getLocationFiltersLis
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3086,13 +2762,11 @@ public java.util.List getLocationFiltersLis
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3106,8 +2780,6 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3121,8 +2793,6 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -3132,22 +2802,20 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
+  public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
+      int index) {
     return locationFilters_.get(index);
   }
 
   public static final int TOTAL_SIZE_FIELD_NUMBER = 6;
   private int totalSize_;
   /**
-   *
-   *
    * 
    * Number of jobs that match the specified query.
    * Note: This size is precise only if the total is less than 100,000.
    * 
* * int32 total_size = 6; - * * @return The totalSize. */ @java.lang.Override @@ -3158,15 +2826,12 @@ public int getTotalSize() { public static final int METADATA_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -3174,26 +2839,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -3209,8 +2867,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER = 8;
   private int broadenedQueryJobsCount_;
   /**
-   *
-   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -3222,7 +2878,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
    * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -3233,14 +2888,11 @@ public int getBroadenedQueryJobsCount() { public static final int SPELL_CORRECTION_FIELD_NUMBER = 9; private com.google.cloud.talent.v4.SpellingCorrection spellCorrection_; /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ @java.lang.Override @@ -3248,25 +2900,18 @@ public boolean hasSpellCorrection() { return spellCorrection_ != null; } /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ @java.lang.Override public com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection() { - return spellCorrection_ == null - ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; } /** - * - * *
    * The spell checking result, and correction.
    * 
@@ -3279,7 +2924,6 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3291,7 +2935,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < matchingJobs_.size(); i++) { output.writeMessage(1, matchingJobs_.get(i)); } @@ -3326,30 +2971,35 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < matchingJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchingJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, matchingJobs_.get(i)); } for (int i = 0; i < histogramQueryResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, histogramQueryResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, histogramQueryResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, locationFilters_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, totalSize_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getMetadata()); } if (broadenedQueryJobsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, broadenedQueryJobsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, broadenedQueryJobsCount_); } if (spellCorrection_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSpellCorrection()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getSpellCorrection()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3359,27 +3009,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsResponse other = - (com.google.cloud.talent.v4.SearchJobsResponse) obj; - - if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; - if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; - if (getTotalSize() != other.getTotalSize()) return false; + com.google.cloud.talent.v4.SearchJobsResponse other = (com.google.cloud.talent.v4.SearchJobsResponse) obj; + + if (!getMatchingJobsList() + .equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList() + .equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList() + .equals(other.getLocationFiltersList())) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata().equals(other.getMetadata())) return false; + if (!getMetadata() + .equals(other.getMetadata())) return false; } - if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; + if (getBroadenedQueryJobsCount() + != other.getBroadenedQueryJobsCount()) return false; if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; + if (!getSpellCorrection() + .equals(other.getSpellCorrection())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3423,136 +3080,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for SearchJob method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse) com.google.cloud.talent.v4.SearchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.class, - com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.class, com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3599,9 +3250,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override @@ -3620,8 +3271,7 @@ public com.google.cloud.talent.v4.SearchJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse result = - new com.google.cloud.talent.v4.SearchJobsResponse(this); + com.google.cloud.talent.v4.SearchJobsResponse result = new com.google.cloud.talent.v4.SearchJobsResponse(this); int from_bitField0_ = bitField0_; if (matchingJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3671,39 +3321,38 @@ public com.google.cloud.talent.v4.SearchJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse) other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -3730,10 +3379,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { matchingJobsBuilder_ = null; matchingJobs_ = other.matchingJobs_; bitField0_ = (bitField0_ & ~0x00000001); - matchingJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMatchingJobsFieldBuilder() - : null; + matchingJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchingJobsFieldBuilder() : null; } else { matchingJobsBuilder_.addAllMessages(other.matchingJobs_); } @@ -3757,10 +3405,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { histogramQueryResultsBuilder_ = null; histogramQueryResults_ = other.histogramQueryResults_; bitField0_ = (bitField0_ & ~0x00000002); - histogramQueryResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHistogramQueryResultsFieldBuilder() - : null; + histogramQueryResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHistogramQueryResultsFieldBuilder() : null; } else { histogramQueryResultsBuilder_.addAllMessages(other.histogramQueryResults_); } @@ -3788,10 +3435,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000004); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationFiltersFieldBuilder() - : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationFiltersFieldBuilder() : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -3835,84 +3481,80 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob m = - input.readMessage( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.parser(), - extensionRegistry); - if (matchingJobsBuilder_ == null) { - ensureMatchingJobsIsMutable(); - matchingJobs_.add(m); - } else { - matchingJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4.HistogramQueryResult m = - input.readMessage( - com.google.cloud.talent.v4.HistogramQueryResult.parser(), - extensionRegistry); - if (histogramQueryResultsBuilder_ == null) { - ensureHistogramQueryResultsIsMutable(); - histogramQueryResults_.add(m); - } else { - histogramQueryResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob m = + input.readMessage( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.parser(), + extensionRegistry); + if (matchingJobsBuilder_ == null) { + ensureMatchingJobsIsMutable(); + matchingJobs_.add(m); + } else { + matchingJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4.HistogramQueryResult m = + input.readMessage( + com.google.cloud.talent.v4.HistogramQueryResult.parser(), + extensionRegistry); + if (histogramQueryResultsBuilder_ == null) { + ensureHistogramQueryResultsIsMutable(); + histogramQueryResults_.add(m); + } else { + histogramQueryResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - com.google.cloud.talent.v4.Location m = - input.readMessage( - com.google.cloud.talent.v4.Location.parser(), extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 34 - case 48: - { - totalSize_ = input.readInt32(); + break; + } // case 26 + case 34: { + com.google.cloud.talent.v4.Location m = + input.readMessage( + com.google.cloud.talent.v4.Location.parser(), + extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 34 + case 48: { + totalSize_ = input.readInt32(); - break; - } // case 48 - case 58: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 48 + case 58: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - case 64: - { - broadenedQueryJobsCount_ = input.readInt32(); + break; + } // case 58 + case 64: { + broadenedQueryJobsCount_ = input.readInt32(); - break; - } // case 64 - case 74: - { - input.readMessage(getSpellCorrectionFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 64 + case 74: { + input.readMessage( + getSpellCorrectionFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3922,39 +3564,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - matchingJobs_ = java.util.Collections.emptyList(); - + private java.util.List matchingJobs_ = + java.util.Collections.emptyList(); private void ensureMatchingJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - matchingJobs_ = - new java.util.ArrayList( - matchingJobs_); + matchingJobs_ = new java.util.ArrayList(matchingJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> - matchingJobsBuilder_; + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> matchingJobsBuilder_; /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List - getMatchingJobsList() { + public java.util.List getMatchingJobsList() { if (matchingJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchingJobs_); } else { @@ -3962,14 +3593,11 @@ private void ensureMatchingJobsIsMutable() { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public int getMatchingJobsCount() { if (matchingJobsBuilder_ == null) { @@ -3979,14 +3607,11 @@ public int getMatchingJobsCount() { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -3996,14 +3621,11 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder setMatchingJobs( int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { @@ -4020,18 +3642,14 @@ public Builder setMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder setMatchingJobs( - int index, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.set(index, builderForValue.build()); @@ -4042,17 +3660,13 @@ public Builder setMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public Builder addMatchingJobs( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { + public Builder addMatchingJobs(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { if (matchingJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4066,14 +3680,11 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { @@ -4090,14 +3701,11 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { @@ -4111,18 +3719,14 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( - int index, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.add(index, builderForValue.build()); @@ -4133,21 +3737,18 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addAllMatchingJobs( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchingJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchingJobs_); onChanged(); } else { matchingJobsBuilder_.addAllMessages(values); @@ -4155,14 +3756,11 @@ public Builder addAllMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder clearMatchingJobs() { if (matchingJobsBuilder_ == null) { @@ -4175,14 +3773,11 @@ public Builder clearMatchingJobs() { return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder removeMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -4195,50 +3790,39 @@ public Builder removeMatchingJobs(int index) { return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder( int index) { return getMatchingJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder - getMatchingJobsOrBuilder(int index) { + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( + int index) { if (matchingJobsBuilder_ == null) { - return matchingJobs_.get(index); - } else { + return matchingJobs_.get(index); } else { return matchingJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> - getMatchingJobsOrBuilderList() { + public java.util.List + getMatchingJobsOrBuilderList() { if (matchingJobsBuilder_ != null) { return matchingJobsBuilder_.getMessageOrBuilderList(); } else { @@ -4246,101 +3830,75 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder getMatc } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder - addMatchingJobsBuilder() { - return getMatchingJobsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder() { + return getMatchingJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder( int index) { - return getMatchingJobsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); + return getMatchingJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List - getMatchingJobsBuilderList() { + public java.util.List + getMatchingJobsBuilderList() { return getMatchingJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsFieldBuilder() { if (matchingJobsBuilder_ == null) { - matchingJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + matchingJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>( + matchingJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; } private java.util.List histogramQueryResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHistogramQueryResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - histogramQueryResults_ = - new java.util.ArrayList( - histogramQueryResults_); + histogramQueryResults_ = new java.util.ArrayList(histogramQueryResults_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, - com.google.cloud.talent.v4.HistogramQueryResult.Builder, - com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> - histogramQueryResultsBuilder_; + com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> histogramQueryResultsBuilder_; /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsList() { + public java.util.List getHistogramQueryResultsList() { if (histogramQueryResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(histogramQueryResults_); } else { @@ -4348,15 +3906,12 @@ private void ensureHistogramQueryResultsIsMutable() { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public int getHistogramQueryResultsCount() { if (histogramQueryResultsBuilder_ == null) { @@ -4366,15 +3921,12 @@ public int getHistogramQueryResultsCount() { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4384,15 +3936,12 @@ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults( } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult value) { @@ -4409,15 +3958,12 @@ public Builder setHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4431,15 +3977,12 @@ public Builder setHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults(com.google.cloud.talent.v4.HistogramQueryResult value) { if (histogramQueryResultsBuilder_ == null) { @@ -4455,15 +3998,12 @@ public Builder addHistogramQueryResults(com.google.cloud.talent.v4.HistogramQuer return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult value) { @@ -4480,15 +4020,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4502,15 +4039,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4524,21 +4058,19 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder addAllHistogramQueryResults( java.lang.Iterable values) { if (histogramQueryResultsBuilder_ == null) { ensureHistogramQueryResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueryResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, histogramQueryResults_); onChanged(); } else { histogramQueryResultsBuilder_.addAllMessages(values); @@ -4546,15 +4078,12 @@ public Builder addAllHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder clearHistogramQueryResults() { if (histogramQueryResultsBuilder_ == null) { @@ -4567,15 +4096,12 @@ public Builder clearHistogramQueryResults() { return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public Builder removeHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4588,52 +4114,42 @@ public Builder removeHistogramQueryResults(int index) { return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public com.google.cloud.talent.v4.HistogramQueryResult.Builder getHistogramQueryResultsBuilder( int index) { return getHistogramQueryResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder - getHistogramQueryResultsOrBuilder(int index) { + public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( + int index) { if (histogramQueryResultsBuilder_ == null) { - return histogramQueryResults_.get(index); - } else { + return histogramQueryResults_.get(index); } else { return histogramQueryResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsOrBuilderList() { + public java.util.List + getHistogramQueryResultsOrBuilderList() { if (histogramQueryResultsBuilder_ != null) { return histogramQueryResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4641,64 +4157,48 @@ public com.google.cloud.talent.v4.HistogramQueryResult.Builder getHistogramQuery } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4.HistogramQueryResult.Builder - addHistogramQueryResultsBuilder() { - return getHistogramQueryResultsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQueryResultsBuilder() { + return getHistogramQueryResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQueryResultsBuilder( int index) { - return getHistogramQueryResultsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); + return getHistogramQueryResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsBuilderList() { + public java.util.List + getHistogramQueryResultsBuilderList() { return getHistogramQueryResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, - com.google.cloud.talent.v4.HistogramQueryResult.Builder, - com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> + com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> getHistogramQueryResultsFieldBuilder() { if (histogramQueryResultsBuilder_ == null) { - histogramQueryResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, - com.google.cloud.talent.v4.HistogramQueryResult.Builder, - com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>( + histogramQueryResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>( histogramQueryResults_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4710,21 +4210,19 @@ public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQuery private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4733,22 +4231,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4756,89 +4253,75 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - locationFilters_ = - new java.util.ArrayList(locationFilters_); + locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Location, - com.google.cloud.talent.v4.Location.Builder, - com.google.cloud.talent.v4.LocationOrBuilder> - locationFiltersBuilder_; + com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> locationFiltersBuilder_; /** - * - * *
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4855,8 +4338,6 @@ public java.util.List getLocationFiltersLis
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4873,8 +4354,6 @@ public int getLocationFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4891,8 +4370,6 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4901,7 +4378,8 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder setLocationFilters(int index, com.google.cloud.talent.v4.Location value) {
+    public Builder setLocationFilters(
+        int index, com.google.cloud.talent.v4.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4915,8 +4393,6 @@ public Builder setLocationFilters(int index, com.google.cloud.talent.v4.Location
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4937,8 +4413,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4961,8 +4435,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4971,7 +4443,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location value) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location value) {
+    public Builder addLocationFilters(
+        int index, com.google.cloud.talent.v4.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4985,8 +4458,6 @@ public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4995,7 +4466,8 @@ public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder addLocationFilters(com.google.cloud.talent.v4.Location.Builder builderForValue) {
+    public Builder addLocationFilters(
+        com.google.cloud.talent.v4.Location.Builder builderForValue) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
         locationFilters_.add(builderForValue.build());
@@ -5006,8 +4478,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5028,8 +4498,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5042,7 +4510,8 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -5050,8 +4519,6 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5071,8 +4538,6 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5092,8 +4557,6 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5102,12 +4565,11 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(int index) {
+    public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(
+        int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5116,16 +4578,14 @@ public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(int
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
+    public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
+        int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);
-      } else {
+        return locationFilters_.get(index);  } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5134,8 +4594,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public java.util.List
-        getLocationFiltersOrBuilderList() {
+    public java.util.List 
+         getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -5143,8 +4603,6 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5154,12 +4612,10 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
     public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4.Location.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4.Location.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5168,13 +4624,12 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder() {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(int index) {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4.Location.getDefaultInstance());
+    public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(
+        int index) {
+      return getLocationFiltersFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4.Location.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -5183,22 +4638,16 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(int
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public java.util.List
-        getLocationFiltersBuilderList() {
+    public java.util.List 
+         getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.Location,
-            com.google.cloud.talent.v4.Location.Builder,
-            com.google.cloud.talent.v4.LocationOrBuilder>
+        com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4.Location,
-                com.google.cloud.talent.v4.Location.Builder,
-                com.google.cloud.talent.v4.LocationOrBuilder>(
+        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -5208,17 +4657,14 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(int
       return locationFiltersBuilder_;
     }
 
-    private int totalSize_;
+    private int totalSize_ ;
     /**
-     *
-     *
      * 
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; - * * @return The totalSize. */ @java.lang.Override @@ -5226,38 +4672,32 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; @@ -5265,49 +4705,36 @@ public Builder clearTotalSize() { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, - com.google.cloud.talent.v4.ResponseMetadata.Builder, - com.google.cloud.talent.v4.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5329,8 +4756,6 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5350,8 +4775,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5363,9 +4786,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -5377,8 +4798,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5398,8 +4817,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5408,13 +4825,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5426,14 +4841,11 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5442,26 +4854,21 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata,
-            com.google.cloud.talent.v4.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4.ResponseMetadata,
-                com.google.cloud.talent.v4.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private int broadenedQueryJobsCount_;
+    private int broadenedQueryJobsCount_ ;
     /**
-     *
-     *
      * 
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5473,7 +4880,6 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -5481,8 +4887,6 @@ public int getBroadenedQueryJobsCount() { return broadenedQueryJobsCount_; } /** - * - * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5494,19 +4898,16 @@ public int getBroadenedQueryJobsCount() {
      * 
* * int32 broadened_query_jobs_count = 8; - * * @param value The broadenedQueryJobsCount to set. * @return This builder for chaining. */ public Builder setBroadenedQueryJobsCount(int value) { - + broadenedQueryJobsCount_ = value; onChanged(); return this; } /** - * - * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5518,11 +4919,10 @@ public Builder setBroadenedQueryJobsCount(int value) {
      * 
* * int32 broadened_query_jobs_count = 8; - * * @return This builder for chaining. */ public Builder clearBroadenedQueryJobsCount() { - + broadenedQueryJobsCount_ = 0; onChanged(); return this; @@ -5530,47 +4930,34 @@ public Builder clearBroadenedQueryJobsCount() { private com.google.cloud.talent.v4.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, - com.google.cloud.talent.v4.SpellingCorrection.Builder, - com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> - spellCorrectionBuilder_; + com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> spellCorrectionBuilder_; /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ public boolean hasSpellCorrection() { return spellCorrectionBuilder_ != null || spellCorrection_ != null; } /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ public com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection() { if (spellCorrectionBuilder_ == null) { - return spellCorrection_ == null - ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; } else { return spellCorrectionBuilder_.getMessage(); } } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5591,8 +4978,6 @@ public Builder setSpellCorrection(com.google.cloud.talent.v4.SpellingCorrection return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5611,8 +4996,6 @@ public Builder setSpellCorrection( return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5623,9 +5006,7 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4.SpellingCorrectio if (spellCorrectionBuilder_ == null) { if (spellCorrection_ != null) { spellCorrection_ = - com.google.cloud.talent.v4.SpellingCorrection.newBuilder(spellCorrection_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.SpellingCorrection.newBuilder(spellCorrection_).mergeFrom(value).buildPartial(); } else { spellCorrection_ = value; } @@ -5637,8 +5018,6 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4.SpellingCorrectio return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5657,8 +5036,6 @@ public Builder clearSpellCorrection() { return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5666,13 +5043,11 @@ public Builder clearSpellCorrection() { * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; */ public com.google.cloud.talent.v4.SpellingCorrection.Builder getSpellCorrectionBuilder() { - + onChanged(); return getSpellCorrectionFieldBuilder().getBuilder(); } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5683,14 +5058,11 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection if (spellCorrectionBuilder_ != null) { return spellCorrectionBuilder_.getMessageOrBuilder(); } else { - return spellCorrection_ == null - ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? + com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; } } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5698,24 +5070,21 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, - com.google.cloud.talent.v4.SpellingCorrection.Builder, - com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> + com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> getSpellCorrectionFieldBuilder() { if (spellCorrectionBuilder_ == null) { - spellCorrectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, - com.google.cloud.talent.v4.SpellingCorrection.Builder, - com.google.cloud.talent.v4.SpellingCorrectionOrBuilder>( - getSpellCorrection(), getParentForChildren(), isClean()); + spellCorrectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder>( + getSpellCorrection(), + getParentForChildren(), + isClean()); spellCorrection_ = null; } return spellCorrectionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5725,12 +5094,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse) private static final com.google.cloud.talent.v4.SearchJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse(); } @@ -5739,27 +5108,27 @@ public static com.google.cloud.talent.v4.SearchJobsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5774,4 +5143,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SearchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java similarity index 88% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java index 3767d6f48293..ff7f36f9b532 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface SearchJobsResponseOrBuilder - extends +public interface SearchJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List getMatchingJobsList(); + java.util.List + getMatchingJobsList(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -44,8 +25,6 @@ public interface SearchJobsResponseOrBuilder */ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs(int index); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -54,19 +33,15 @@ public interface SearchJobsResponseOrBuilder */ int getMatchingJobsCount(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List + java.util.List getMatchingJobsOrBuilderList(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -77,8 +52,6 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo int index); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -86,10 +59,9 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    *
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
-  java.util.List getHistogramQueryResultsList();
+  java.util.List 
+      getHistogramQueryResultsList();
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -99,8 +71,6 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    */
   com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(int index);
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -110,8 +80,6 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    */
   int getHistogramQueryResultsCount();
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -119,11 +87,9 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    *
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
-  java.util.List
+  java.util.List 
       getHistogramQueryResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -135,35 +101,28 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
       int index);
 
   /**
-   *
-   *
    * 
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -172,10 +131,9 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  java.util.List getLocationFiltersList();
+  java.util.List 
+      getLocationFiltersList();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -186,8 +144,6 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    */
   com.google.cloud.talent.v4.Location getLocationFilters(int index);
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -198,8 +154,6 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    */
   int getLocationFiltersCount();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -208,11 +162,9 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  java.util.List
+  java.util.List 
       getLocationFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -221,51 +173,41 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index);
+  com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Number of jobs that match the specified query.
    * Note: This size is precise only if the total is less than 100,000.
    * 
* * int32 total_size = 6; - * * @return The totalSize. */ int getTotalSize(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; - * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -276,8 +218,6 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
   com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -289,38 +229,29 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ int getBroadenedQueryJobsCount(); /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ boolean hasSpellCorrection(); /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection(); /** - * - * *
    * The spell checking result, and correction.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java similarity index 71% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java index 7cffbbe206bc..9f8075ce5aa3 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** - * - * *
  * Spell check result.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SpellingCorrection} */ -public final class SpellingCorrection extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpellingCorrection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SpellingCorrection) SpellingCorrectionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpellingCorrection.newBuilder() to construct. private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpellingCorrection() { correctedText_ = ""; correctedHtml_ = ""; @@ -44,41 +26,37 @@ private SpellingCorrection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpellingCorrection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SpellingCorrection.class, - com.google.cloud.talent.v4.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4.SpellingCorrection.class, com.google.cloud.talent.v4.SpellingCorrection.Builder.class); } public static final int CORRECTED_FIELD_NUMBER = 1; private boolean corrected_; /** - * - * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; - * * @return The corrected. */ @java.lang.Override @@ -89,14 +67,11 @@ public boolean getCorrected() { public static final int CORRECTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object correctedText_; /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The correctedText. */ @java.lang.Override @@ -105,29 +80,29 @@ public java.lang.String getCorrectedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; } } /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ @java.lang.Override - public com.google.protobuf.ByteString getCorrectedTextBytes() { + public com.google.protobuf.ByteString + getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedText_ = b; return b; } else { @@ -138,8 +113,6 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() { public static final int CORRECTED_HTML_FIELD_NUMBER = 3; private volatile java.lang.Object correctedHtml_; /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -150,7 +123,6 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() {
    * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ @java.lang.Override @@ -159,15 +131,14 @@ public java.lang.String getCorrectedHtml() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; } } /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -178,15 +149,16 @@ public java.lang.String getCorrectedHtml() {
    * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ @java.lang.Override - public com.google.protobuf.ByteString getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString + getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -195,7 +167,6 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (corrected_ != false) { output.writeBool(1, corrected_); } @@ -227,7 +199,8 @@ public int getSerializedSize() { size = 0; if (corrected_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, corrected_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, corrected_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correctedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, correctedText_); @@ -243,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SpellingCorrection)) { return super.equals(obj); } - com.google.cloud.talent.v4.SpellingCorrection other = - (com.google.cloud.talent.v4.SpellingCorrection) obj; + com.google.cloud.talent.v4.SpellingCorrection other = (com.google.cloud.talent.v4.SpellingCorrection) obj; - if (getCorrected() != other.getCorrected()) return false; - if (!getCorrectedText().equals(other.getCorrectedText())) return false; - if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; + if (getCorrected() + != other.getCorrected()) return false; + if (!getCorrectedText() + .equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml() + .equals(other.getCorrectedHtml())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,7 +241,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCorrected()); hash = (37 * hash) + CORRECTED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getCorrectedText().hashCode(); hash = (37 * hash) + CORRECTED_HTML_FIELD_NUMBER; @@ -276,136 +252,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.SpellingCorrection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Spell check result.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SpellingCorrection} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SpellingCorrection) com.google.cloud.talent.v4.SpellingCorrectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SpellingCorrection.class, - com.google.cloud.talent.v4.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4.SpellingCorrection.class, com.google.cloud.talent.v4.SpellingCorrection.Builder.class); } // Construct using com.google.cloud.talent.v4.SpellingCorrection.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override @@ -440,8 +410,7 @@ public com.google.cloud.talent.v4.SpellingCorrection build() { @java.lang.Override public com.google.cloud.talent.v4.SpellingCorrection buildPartial() { - com.google.cloud.talent.v4.SpellingCorrection result = - new com.google.cloud.talent.v4.SpellingCorrection(this); + com.google.cloud.talent.v4.SpellingCorrection result = new com.google.cloud.talent.v4.SpellingCorrection(this); result.corrected_ = corrected_; result.correctedText_ = correctedText_; result.correctedHtml_ = correctedHtml_; @@ -453,39 +422,38 @@ public com.google.cloud.talent.v4.SpellingCorrection buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SpellingCorrection) { - return mergeFrom((com.google.cloud.talent.v4.SpellingCorrection) other); + return mergeFrom((com.google.cloud.talent.v4.SpellingCorrection)other); } else { super.mergeFrom(other); return this; @@ -531,31 +499,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - corrected_ = input.readBool(); - - break; - } // case 8 - case 18: - { - correctedText_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - correctedHtml_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + corrected_ = input.readBool(); + + break; + } // case 8 + case 18: { + correctedText_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + correctedHtml_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -566,16 +530,13 @@ public Builder mergeFrom( return this; } - private boolean corrected_; + private boolean corrected_ ; /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @return The corrected. */ @java.lang.Override @@ -583,36 +544,30 @@ public boolean getCorrected() { return corrected_; } /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @param value The corrected to set. * @return This builder for chaining. */ public Builder setCorrected(boolean value) { - + corrected_ = value; onChanged(); return this; } /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @return This builder for chaining. */ public Builder clearCorrected() { - + corrected_ = false; onChanged(); return this; @@ -620,20 +575,18 @@ public Builder clearCorrected() { private java.lang.Object correctedText_ = ""; /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return The correctedText. */ public java.lang.String getCorrectedText() { java.lang.Object ref = correctedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; @@ -642,21 +595,20 @@ public java.lang.String getCorrectedText() { } } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ - public com.google.protobuf.ByteString getCorrectedTextBytes() { + public com.google.protobuf.ByteString + getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedText_ = b; return b; } else { @@ -664,61 +616,54 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() { } } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @param value The correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedText(java.lang.String value) { + public Builder setCorrectedText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedText_ = value; onChanged(); return this; } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return This builder for chaining. */ public Builder clearCorrectedText() { - + correctedText_ = getDefaultInstance().getCorrectedText(); onChanged(); return this; } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @param value The bytes for correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { + public Builder setCorrectedTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedText_ = value; onChanged(); return this; @@ -726,8 +671,6 @@ public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object correctedHtml_ = ""; /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -738,13 +681,13 @@ public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) {
      * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ public java.lang.String getCorrectedHtml() { java.lang.Object ref = correctedHtml_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; @@ -753,8 +696,6 @@ public java.lang.String getCorrectedHtml() { } } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -765,14 +706,15 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ - public com.google.protobuf.ByteString getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString + getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -780,8 +722,6 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() { } } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -792,22 +732,20 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() {
      * 
* * string corrected_html = 3; - * * @param value The correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtml(java.lang.String value) { + public Builder setCorrectedHtml( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedHtml_ = value; onChanged(); return this; } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -818,18 +756,15 @@ public Builder setCorrectedHtml(java.lang.String value) {
      * 
* * string corrected_html = 3; - * * @return This builder for chaining. */ public Builder clearCorrectedHtml() { - + correctedHtml_ = getDefaultInstance().getCorrectedHtml(); onChanged(); return this; } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -840,23 +775,23 @@ public Builder clearCorrectedHtml() {
      * 
* * string corrected_html = 3; - * * @param value The bytes for correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { + public Builder setCorrectedHtmlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedHtml_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SpellingCorrection) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SpellingCorrection) private static final com.google.cloud.talent.v4.SpellingCorrection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SpellingCorrection(); } @@ -880,27 +815,27 @@ public static com.google.cloud.talent.v4.SpellingCorrection getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpellingCorrection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpellingCorrection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SpellingCorrection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java index 96e411970526..460680d980c6 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java @@ -1,69 +1,43 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface SpellingCorrectionOrBuilder - extends +public interface SpellingCorrectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SpellingCorrection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; - * * @return The corrected. */ boolean getCorrected(); /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The correctedText. */ java.lang.String getCorrectedText(); /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ - com.google.protobuf.ByteString getCorrectedTextBytes(); + com.google.protobuf.ByteString + getCorrectedTextBytes(); /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -74,13 +48,10 @@ public interface SpellingCorrectionOrBuilder
    * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ java.lang.String getCorrectedHtml(); /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -91,8 +62,8 @@ public interface SpellingCorrectionOrBuilder
    * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ - com.google.protobuf.ByteString getCorrectedHtmlBytes(); + com.google.protobuf.ByteString + getCorrectedHtmlBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java index d34feb7436f9..9cef52604d00 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant.proto package com.google.cloud.talent.v4; /** - * - * *
  * A Tenant resource represents a tenant in the service. A tenant is a group or
  * entity that shares common access with specific privileges for resources like
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Tenant}
  */
-public final class Tenant extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tenant extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Tenant)
     TenantOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tenant.newBuilder() to construct.
   private Tenant(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tenant() {
     name_ = "";
     externalId_ = "";
@@ -47,35 +29,32 @@ private Tenant() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tenant();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4.TenantProto
-        .internal_static_google_cloud_talent_v4_Tenant_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.TenantProto
-        .internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
+    return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.Tenant.class,
-            com.google.cloud.talent.v4.Tenant.Builder.class);
+            com.google.cloud.talent.v4.Tenant.class, com.google.cloud.talent.v4.Tenant.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -85,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -94,15 +72,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -112,15 +89,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,15 +109,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ @java.lang.Override @@ -148,30 +123,30 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -180,7 +155,6 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +166,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -222,15 +197,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Tenant)) { return super.equals(obj); } com.google.cloud.talent.v4.Tenant other = (com.google.cloud.talent.v4.Tenant) obj; - if (!getName().equals(other.getName())) return false; - if (!getExternalId().equals(other.getExternalId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getExternalId() + .equals(other.getExternalId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,103 +228,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Tenant parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Tenant parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4.Tenant parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4.Tenant parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Tenant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Tenant parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.Tenant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.Tenant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Tenant resource represents a tenant in the service. A tenant is a group or
    * entity that shares common access with specific privileges for resources like
@@ -357,32 +328,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4.Tenant}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Tenant)
       com.google.cloud.talent.v4.TenantOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4.TenantProto
-          .internal_static_google_cloud_talent_v4_Tenant_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.TenantProto
-          .internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
+      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.Tenant.class,
-              com.google.cloud.talent.v4.Tenant.Builder.class);
+              com.google.cloud.talent.v4.Tenant.class, com.google.cloud.talent.v4.Tenant.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Tenant.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -394,9 +366,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4.TenantProto
-          .internal_static_google_cloud_talent_v4_Tenant_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
     }
 
     @java.lang.Override
@@ -426,39 +398,38 @@ public com.google.cloud.talent.v4.Tenant buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Tenant) {
-        return mergeFrom((com.google.cloud.talent.v4.Tenant) other);
+        return mergeFrom((com.google.cloud.talent.v4.Tenant)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,25 +472,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                externalId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              externalId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -532,8 +500,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -543,13 +509,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -558,8 +524,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -569,14 +533,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -584,8 +549,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -595,22 +558,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -620,18 +581,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -641,16 +599,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -658,21 +616,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalId_ = ""; /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -681,22 +637,21 @@ public java.lang.String getExternalId() { } } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -704,71 +659,64 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId(java.lang.String value) { + public Builder setExternalId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +726,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Tenant) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Tenant) private static final com.google.cloud.talent.v4.Tenant DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Tenant(); } @@ -792,27 +740,27 @@ public static com.google.cloud.talent.v4.Tenant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tenant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tenant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,4 +775,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Tenant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java similarity index 66% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java index 232e4cb12843..464d16958d06 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant.proto package com.google.cloud.talent.v4; -public interface TenantOrBuilder - extends +public interface TenantOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Tenant) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -35,13 +17,10 @@ public interface TenantOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -51,35 +30,30 @@ public interface TenantOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ java.lang.String getExternalId(); /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - com.google.protobuf.ByteString getExternalIdBytes(); + com.google.protobuf.ByteString + getExternalIdBytes(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java new file mode 100644 index 000000000000..9e5bfef61cea --- /dev/null +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java @@ -0,0 +1,65 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant.proto + +package com.google.cloud.talent.v4; + +public final class TenantProto { + private TenantProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Tenant_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/talent/v4/tenant.proto\022\026g" + + "oogle.cloud.talent.v4\032\037google/api/field_" + + "behavior.proto\032\031google/api/resource.prot" + + "o\"v\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013external_id" + + "\030\002 \001(\tB\003\340A\002:D\352AA\n\032jobs.googleapis.com/Te" + + "nant\022#projects/{project}/tenants/{tenant" + + "}Bo\n\032com.google.cloud.talent.v4B\013TenantP" + + "rotoP\001Z * Message representing a period of time between two timestamps. *
* * Protobuf type {@code google.cloud.talent.v4.TimestampRange} */ -public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimestampRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.TimestampRange) TimestampRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimestampRange() {} + private TimestampRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimestampRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.TimestampRange.class, - com.google.cloud.talent.v4.TimestampRange.Builder.class); + com.google.cloud.talent.v4.TimestampRange.class, com.google.cloud.talent.v4.TimestampRange.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Begin of the period (inclusive).
    * 
@@ -114,14 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -129,14 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -144,8 +112,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * End of the period (exclusive).
    * 
@@ -158,7 +124,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -187,10 +153,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.TimestampRange)) { return super.equals(obj); } - com.google.cloud.talent.v4.TimestampRange other = - (com.google.cloud.talent.v4.TimestampRange) obj; + com.google.cloud.talent.v4.TimestampRange other = (com.google.cloud.talent.v4.TimestampRange) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -240,136 +209,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.TimestampRange parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.TimestampRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message representing a period of time between two timestamps.
    * 
* * Protobuf type {@code google.cloud.talent.v4.TimestampRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.TimestampRange) com.google.cloud.talent.v4.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.TimestampRange.class, - com.google.cloud.talent.v4.TimestampRange.Builder.class); + com.google.cloud.talent.v4.TimestampRange.class, com.google.cloud.talent.v4.TimestampRange.Builder.class); } // Construct using com.google.cloud.talent.v4.TimestampRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto - .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override @@ -410,8 +373,7 @@ public com.google.cloud.talent.v4.TimestampRange build() { @java.lang.Override public com.google.cloud.talent.v4.TimestampRange buildPartial() { - com.google.cloud.talent.v4.TimestampRange result = - new com.google.cloud.talent.v4.TimestampRange(this); + com.google.cloud.talent.v4.TimestampRange result = new com.google.cloud.talent.v4.TimestampRange(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -430,39 +392,38 @@ public com.google.cloud.talent.v4.TimestampRange buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.TimestampRange) { - return mergeFrom((com.google.cloud.talent.v4.TimestampRange) other); + return mergeFrom((com.google.cloud.talent.v4.TimestampRange)other); } else { super.mergeFrom(other); return this; @@ -503,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,33 +496,24 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -571,8 +524,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -593,15 +544,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -612,8 +562,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -624,7 +572,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -636,8 +584,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -656,8 +602,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -665,13 +609,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -682,12 +624,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -695,17 +636,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -713,33 +651,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -750,8 +679,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -772,15 +699,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -791,8 +717,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -803,7 +727,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -815,8 +739,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -835,8 +757,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -844,13 +764,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -861,12 +779,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -874,24 +791,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -901,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.TimestampRange) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.TimestampRange) private static final com.google.cloud.talent.v4.TimestampRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.TimestampRange(); } @@ -915,27 +829,27 @@ public static com.google.cloud.talent.v4.TimestampRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java similarity index 67% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java index 775b0aeffc63..fae1667a3322 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface TimestampRangeOrBuilder - extends +public interface TimestampRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.TimestampRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Begin of the period (inclusive).
    * 
@@ -59,32 +35,24 @@ public interface TimestampRangeOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * End of the period (exclusive).
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java index d2c436575a90..8877fdca2aa8 100644 --- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java @@ -1,82 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** - * - * *
  * Request for updating a specified company.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateCompanyRequest} */ -public final class UpdateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateCompanyRequest) UpdateCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCompanyRequest.newBuilder() to construct. private UpdateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCompanyRequest() {} + private UpdateCompanyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateCompanyRequest.class, - com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.UpdateCompanyRequest.class, com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); } public static final int COMPANY_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Company company_; /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasCompany() { return company_ != null; } /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.talent.v4.Company getCompany() { return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { @@ -117,8 +88,6 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -128,7 +97,6 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -147,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -173,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (company_ != null) {
       output.writeMessage(1, getCompany());
     }
@@ -202,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (company_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCompany());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCompany());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateCompanyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateCompanyRequest other =
-        (com.google.cloud.talent.v4.UpdateCompanyRequest) obj;
+    com.google.cloud.talent.v4.UpdateCompanyRequest other = (com.google.cloud.talent.v4.UpdateCompanyRequest) obj;
 
     if (hasCompany() != other.hasCompany()) return false;
     if (hasCompany()) {
-      if (!getCompany().equals(other.getCompany())) return false;
+      if (!getCompany()
+          .equals(other.getCompany())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -255,136 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateCompanyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request for updating a specified company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateCompanyRequest) com.google.cloud.talent.v4.UpdateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateCompanyRequest.class, - com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.UpdateCompanyRequest.class, com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto - .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override @@ -425,8 +385,7 @@ public com.google.cloud.talent.v4.UpdateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateCompanyRequest buildPartial() { - com.google.cloud.talent.v4.UpdateCompanyRequest result = - new com.google.cloud.talent.v4.UpdateCompanyRequest(this); + com.google.cloud.talent.v4.UpdateCompanyRequest result = new com.google.cloud.talent.v4.UpdateCompanyRequest(this); if (companyBuilder_ == null) { result.company_ = company_; } else { @@ -445,39 +404,38 @@ public com.google.cloud.talent.v4.UpdateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4.UpdateCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.UpdateCompanyRequest other) { - if (other == com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance()) return this; if (other.hasCompany()) { mergeCompany(other.getCompany()); } @@ -519,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getCompanyFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,55 +508,39 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> - companyBuilder_; + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companyBuilder_; /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ public com.google.cloud.talent.v4.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null - ? com.google.cloud.talent.v4.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } else { return companyBuilder_.getMessage(); } } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { @@ -614,16 +556,14 @@ public Builder setCompany(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder setCompany( + com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -634,22 +574,17 @@ public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForV return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4.Company.newBuilder(company_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4.Company.newBuilder(company_).mergeFrom(value).buildPartial(); } else { company_ = value; } @@ -661,14 +596,11 @@ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -682,61 +614,48 @@ public Builder clearCompany() { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null - ? com.google.cloud.talent.v4.Company.getDefaultInstance() - : company_; + return company_ == null ? + com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, - com.google.cloud.talent.v4.Company.Builder, - com.google.cloud.talent.v4.CompanyOrBuilder>( - getCompany(), getParentForChildren(), isClean()); + companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( + getCompany(), + getParentForChildren(), + isClean()); company_ = null; } return companyBuilder_; @@ -744,13 +663,8 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -760,15 +674,12 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -778,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -817,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -829,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -840,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -856,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -868,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -892,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -905,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -926,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -945,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -972,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateCompanyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateCompanyRequest)
   private static final com.google.cloud.talent.v4.UpdateCompanyRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateCompanyRequest();
   }
@@ -986,27 +877,27 @@ public static com.google.cloud.talent.v4.UpdateCompanyRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateCompanyRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateCompanyRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1021,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateCompanyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
similarity index 77%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
index 5c7bc3677d63..bb5a6e6af1ce 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateCompanyRequestOrBuilder
-    extends
+public interface UpdateCompanyRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateCompanyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ boolean hasCompany(); /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ com.google.cloud.talent.v4.Company getCompany(); /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -73,13 +44,10 @@ public interface UpdateCompanyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -89,13 +57,10 @@ public interface UpdateCompanyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
index 290c287161c6..99a4ad4f9ee7 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
@@ -1,81 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Update job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateJobRequest} */ -public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateJobRequest) UpdateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateJobRequest() {} + private UpdateJobRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateJobRequest.class, - com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4.UpdateJobRequest.class, com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be updated.
    * 
@@ -114,8 +88,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -125,7 +97,6 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -133,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -144,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -152,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -170,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -182,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -199,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getJob());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -212,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateJobRequest other =
-        (com.google.cloud.talent.v4.UpdateJobRequest) obj;
+    com.google.cloud.talent.v4.UpdateJobRequest other = (com.google.cloud.talent.v4.UpdateJobRequest) obj;
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob().equals(other.getJob())) return false;
+      if (!getJob()
+          .equals(other.getJob())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -252,136 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Update job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateJobRequest) com.google.cloud.talent.v4.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateJobRequest.class, - com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4.UpdateJobRequest.class, com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto - .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override @@ -422,8 +385,7 @@ public com.google.cloud.talent.v4.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateJobRequest buildPartial() { - com.google.cloud.talent.v4.UpdateJobRequest result = - new com.google.cloud.talent.v4.UpdateJobRequest(this); + com.google.cloud.talent.v4.UpdateJobRequest result = new com.google.cloud.talent.v4.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -442,39 +404,38 @@ public com.google.cloud.talent.v4.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4.UpdateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -515,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,33 +508,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -583,8 +536,6 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -605,15 +556,14 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -624,8 +574,6 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -635,7 +583,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -647,8 +596,6 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -667,8 +614,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -676,13 +621,11 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -693,12 +636,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -706,17 +648,14 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, - com.google.cloud.talent.v4.Job.Builder, - com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -724,13 +663,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -740,15 +674,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -758,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -797,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -809,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -820,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -836,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -848,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -872,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -885,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -906,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -925,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -952,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateJobRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateJobRequest)
   private static final com.google.cloud.talent.v4.UpdateJobRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateJobRequest();
   }
@@ -966,27 +877,27 @@ public static com.google.cloud.talent.v4.UpdateJobRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateJobRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateJobRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1001,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateJobRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
similarity index 79%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
index 3e29fb29fa06..aab8d86d434e 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateJobRequestOrBuilder
-    extends
+public interface UpdateJobRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateJobRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
@@ -59,8 +35,6 @@ public interface UpdateJobRequestOrBuilder com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -70,13 +44,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -86,13 +57,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
index 140347efaeaa..5f06bc547614 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
@@ -1,82 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Request for updating a specified tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateTenantRequest} */ -public final class UpdateTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateTenantRequest) UpdateTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTenantRequest.newBuilder() to construct. private UpdateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTenantRequest() {} + private UpdateTenantRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateTenantRequest.class, - com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4.UpdateTenantRequest.class, com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Tenant tenant_; /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasTenant() { return tenant_ != null; } /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.talent.v4.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { @@ -117,8 +88,6 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -128,7 +97,6 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -147,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -173,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tenant_ != null) {
       output.writeMessage(1, getTenant());
     }
@@ -202,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tenant_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTenant());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTenant());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateTenantRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateTenantRequest other =
-        (com.google.cloud.talent.v4.UpdateTenantRequest) obj;
+    com.google.cloud.talent.v4.UpdateTenantRequest other = (com.google.cloud.talent.v4.UpdateTenantRequest) obj;
 
     if (hasTenant() != other.hasTenant()) return false;
     if (hasTenant()) {
-      if (!getTenant().equals(other.getTenant())) return false;
+      if (!getTenant()
+          .equals(other.getTenant())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -255,136 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateTenantRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request for updating a specified tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateTenantRequest) com.google.cloud.talent.v4.UpdateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateTenantRequest.class, - com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4.UpdateTenantRequest.class, com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto - .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override @@ -425,8 +385,7 @@ public com.google.cloud.talent.v4.UpdateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateTenantRequest buildPartial() { - com.google.cloud.talent.v4.UpdateTenantRequest result = - new com.google.cloud.talent.v4.UpdateTenantRequest(this); + com.google.cloud.talent.v4.UpdateTenantRequest result = new com.google.cloud.talent.v4.UpdateTenantRequest(this); if (tenantBuilder_ == null) { result.tenant_ = tenant_; } else { @@ -445,39 +404,38 @@ public com.google.cloud.talent.v4.UpdateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4.UpdateTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -518,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getTenantFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -549,35 +508,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> - tenantBuilder_; + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantBuilder_; /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ public com.google.cloud.talent.v4.Tenant getTenant() { @@ -588,14 +536,11 @@ public com.google.cloud.talent.v4.Tenant getTenant() { } } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { @@ -611,16 +556,14 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder setTenant( + com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -631,20 +574,17 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForVal return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -656,14 +596,11 @@ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -677,59 +614,48 @@ public Builder clearTenant() { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null ? + com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, - com.google.cloud.talent.v4.Tenant.Builder, - com.google.cloud.talent.v4.TenantOrBuilder>( - getTenant(), getParentForChildren(), isClean()); + tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( + getTenant(), + getParentForChildren(), + isClean()); tenant_ = null; } return tenantBuilder_; @@ -737,13 +663,8 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -753,15 +674,12 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -771,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -810,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -822,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -833,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -849,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -861,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -885,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -898,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -919,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -938,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -965,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateTenantRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateTenantRequest)
   private static final com.google.cloud.talent.v4.UpdateTenantRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateTenantRequest();
   }
@@ -979,27 +877,27 @@ public static com.google.cloud.talent.v4.UpdateTenantRequest getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTenantRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTenantRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1014,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateTenantRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
similarity index 77%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
index 0bc467800db4..fd9fd2d7d65e 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateTenantRequestOrBuilder
-    extends
+public interface UpdateTenantRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateTenantRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ boolean hasTenant(); /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ com.google.cloud.talent.v4.Tenant getTenant(); /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -73,13 +44,10 @@ public interface UpdateTenantRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -89,13 +57,10 @@ public interface UpdateTenantRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
index 2a3a3732a573..804937976dbf 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
- *
- *
  * 
  * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
@@ -28,11 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.Visibility}
  */
-@java.lang.Deprecated
-public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated public enum Visibility
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +22,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ VISIBILITY_UNSPECIFIED(0), /** - * - * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -51,8 +30,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ ACCOUNT_ONLY(1), /** - * - * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -62,8 +39,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   SHARED_WITH_GOOGLE(2),
   /**
-   *
-   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -76,8 +51,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -86,8 +59,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VISIBILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -96,8 +67,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCOUNT_ONLY_VALUE = 1; /** - * - * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -107,8 +76,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SHARED_WITH_GOOGLE_VALUE = 2;
   /**
-   *
-   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -118,6 +85,7 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SHARED_WITH_PUBLIC_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -142,51 +110,50 @@ public static Visibility valueOf(int value) {
    */
   public static Visibility forNumber(int value) {
     switch (value) {
-      case 0:
-        return VISIBILITY_UNSPECIFIED;
-      case 1:
-        return ACCOUNT_ONLY;
-      case 2:
-        return SHARED_WITH_GOOGLE;
-      case 3:
-        return SHARED_WITH_PUBLIC;
-      default:
-        return null;
+      case 0: return VISIBILITY_UNSPECIFIED;
+      case 1: return ACCOUNT_ONLY;
+      case 2: return SHARED_WITH_GOOGLE;
+      case 3: return SHARED_WITH_PUBLIC;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public Visibility findValueByNumber(int number) {
-          return Visibility.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      Visibility> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Visibility findValueByNumber(int number) {
+            return Visibility.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(7);
   }
 
   private static final Visibility[] VALUES = values();
 
-  public static Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Visibility valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -202,3 +169,4 @@ private Visibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.Visibility)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
similarity index 94%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
index 9845aa9683e6..075e7bcfbb23 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
@@ -96,13 +96,16 @@ message Company {
   // A URI that hosts the employer's company logo.
   string image_uri = 10;
 
+  // This field is deprecated. Please set the searchability of the custom
+  // attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
+  //
   // A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
   // corresponding `string_values` are used in keyword searches. Jobs with
   // `string_values` under these specified field keys are returned if any
   // of the values match the search keyword. Custom field values with
   // parenthesis, brackets and special symbols are not searchable as-is,
   // and those keyword queries must be surrounded by quotes.
-  repeated string keyword_searchable_job_custom_attributes = 11;
+  repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];
 
   // Output only. Derived details about the company.
   DerivedInfo derived_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
similarity index 99%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
index b17751dcb372..3e93164c9f81 100644
--- a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
+++ b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
@@ -556,8 +556,8 @@ message SearchJobsRequest {
   // * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
   // * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
   //   "FULL_TIME", "PART_TIME".
-  // * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
-  // "MEDIUM", "BIG".
+  // * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
+  // "SMALL", "MEDIUM", "BIG".
   // * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
   //   in days.
   //   Must specify list of numeric buckets in spec.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
rename to owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
index 1f2bcc67d53a..c97cf9e44ee0 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
@@ -28,6 +28,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.CompanyServiceStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
index 21d25617a9eb..e8cd1d3d6051 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
@@ -25,6 +25,7 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.CompletionStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
index cc719d0f4f37..4bf82aaec8d0 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
@@ -25,6 +25,7 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.EventServiceStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
index bb698eeaf6f2..f2030a66c915 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
@@ -31,6 +31,7 @@
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.OperationCallSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.JobServiceStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
index a3853a4af5e0..57574866f33d 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
@@ -28,6 +28,7 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
+import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.TenantServiceStubSettings;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
index 0ab7d33f083f..875154b34c0e 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
@@ -38,6 +38,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
index fd80f19900b6..0db9a1a61211 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
@@ -30,6 +30,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
index 5b9a7c813c2a..319914877683 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
@@ -30,6 +30,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
index 8c4ece08a1f2..4cb825f979de 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
@@ -49,6 +49,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
index e6e4ef1d534e..6e486095bba4 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
@@ -38,6 +38,7 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
+import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
similarity index 99%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
index 57839564a727..49ae9ec9ea14 100644
--- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
+++ b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
@@ -32,6 +32,7 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
+import com.google.api.gax.longrunning.OperationSnapshot;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.OperationCallable;
 import com.google.api.gax.rpc.UnaryCallable;
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
diff --git a/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java b/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
similarity index 100%
rename from java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
rename to owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java
new file mode 100644
index 000000000000..1e585a1375b3
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java
@@ -0,0 +1,651 @@
+package com.google.cloud.talent.v4beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ * 
+ * A service that handles company management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/company_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompanyServiceGrpc { + + private CompanyServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.CompanyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompany", + requestType = com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCompanyMethod() { + io.grpc.MethodDescriptor getCreateCompanyMethod; + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + CompanyServiceGrpc.getCreateCompanyMethod = getCreateCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("CreateCompany")) + .build(); + } + } + } + return getCreateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompany", + requestType = com.google.cloud.talent.v4beta1.GetCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCompanyMethod() { + io.grpc.MethodDescriptor getGetCompanyMethod; + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + CompanyServiceGrpc.getGetCompanyMethod = getGetCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) + .build(); + } + } + } + return getGetCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", + requestType = com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateCompanyMethod() { + io.grpc.MethodDescriptor getUpdateCompanyMethod; + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + CompanyServiceGrpc.getUpdateCompanyMethod = getUpdateCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) + .build(); + } + } + } + return getUpdateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", + requestType = com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteCompanyMethod() { + io.grpc.MethodDescriptor getDeleteCompanyMethod; + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + CompanyServiceGrpc.getDeleteCompanyMethod = getDeleteCompanyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) + .build(); + } + } + } + return getDeleteCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCompaniesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompanies", + requestType = com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCompaniesMethod() { + io.grpc.MethodDescriptor getListCompaniesMethod; + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + CompanyServiceGrpc.getListCompaniesMethod = getListCompaniesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("ListCompanies")) + .build(); + } + } + } + return getListCompaniesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static CompanyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + }; + return CompanyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompanyServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + }; + return CompanyServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CompanyServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + }; + return CompanyServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static abstract class CompanyServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompanyMethod(), responseObserver); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyMethod(), responseObserver); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCompanyMethod(), responseObserver); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompaniesMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company>( + this, METHODID_CREATE_COMPANY))) + .addMethod( + getGetCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company>( + this, METHODID_GET_COMPANY))) + .addMethod( + getUpdateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company>( + this, METHODID_UPDATE_COMPANY))) + .addMethod( + getDeleteCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_COMPANY))) + .addMethod( + getListCompaniesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse>( + this, METHODID_LIST_COMPANIES))) + .build(); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceStub extends io.grpc.stub.AbstractAsyncStub { + private CompanyServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CompanyServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.protobuf.Empty deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListCompaniesResponse listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompaniesMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private CompanyServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCompany( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_COMPANY = 0; + private static final int METHODID_GET_COMPANY = 1; + private static final int METHODID_UPDATE_COMPANY = 2; + private static final int METHODID_DELETE_COMPANY = 3; + private static final int METHODID_LIST_COMPANIES = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompanyServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_COMPANY: + serviceImpl.createCompany((com.google.cloud.talent.v4beta1.CreateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_COMPANY: + serviceImpl.getCompany((com.google.cloud.talent.v4beta1.GetCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_COMPANY: + serviceImpl.updateCompany((com.google.cloud.talent.v4beta1.UpdateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_COMPANY: + serviceImpl.deleteCompany((com.google.cloud.talent.v4beta1.DeleteCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPANIES: + serviceImpl.listCompanies((com.google.cloud.talent.v4beta1.ListCompaniesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompanyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CompanyService"); + } + } + + private static final class CompanyServiceFileDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier { + CompanyServiceFileDescriptorSupplier() {} + } + + private static final class CompanyServiceMethodDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompanyServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompanyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) + .addMethod(getCreateCompanyMethod()) + .addMethod(getGetCompanyMethod()) + .addMethod(getUpdateCompanyMethod()) + .addMethod(getDeleteCompanyMethod()) + .addMethod(getListCompaniesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java new file mode 100644 index 000000000000..4b22e20c0607 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java @@ -0,0 +1,307 @@ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * A service handles auto completion.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompletionGrpc { + + private CompletionGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.Completion"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCompleteQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", + requestType = com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, + responseType = com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCompleteQueryMethod() { + io.grpc.MethodDescriptor getCompleteQueryMethod; + if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { + synchronized (CompletionGrpc.class) { + if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { + CompletionGrpc.getCompleteQueryMethod = getCompleteQueryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance())) + .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) + .build(); + } + } + } + return getCompleteQueryMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static CompletionStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + }; + return CompletionStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompletionBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + }; + return CompletionBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static CompletionFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + }; + return CompletionFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service handles auto completion.
+   * 
+ */ + public static abstract class CompletionImplBase implements io.grpc.BindableService { + + /** + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public void completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteQueryMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCompleteQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse>( + this, METHODID_COMPLETE_QUERY))) + .build(); + } + } + + /** + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { + private CompletionStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + + /** + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public void completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CompletionBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + + /** + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.CompleteQueryResponse completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteQueryMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionFutureStub extends io.grpc.stub.AbstractFutureStub { + private CompletionFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + + /** + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture completeQuery( + com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_COMPLETE_QUERY = 0; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompletionImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompletionImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_COMPLETE_QUERY: + serviceImpl.completeQuery((com.google.cloud.talent.v4beta1.CompleteQueryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompletionBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Completion"); + } + } + + private static final class CompletionFileDescriptorSupplier + extends CompletionBaseDescriptorSupplier { + CompletionFileDescriptorSupplier() {} + } + + private static final class CompletionMethodDescriptorSupplier + extends CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompletionMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompletionGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) + .addMethod(getCompleteQueryMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java similarity index 54% rename from java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java rename to owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java index c0ad64e9396f..adfc6ef7ad41 100644 --- a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java +++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.talent.v4beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * A service handles client event report.
  * 
@@ -35,105 +18,89 @@ private EventServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.EventService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent> - getCreateClientEventMethod; + private static volatile io.grpc.MethodDescriptor getCreateClientEventMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateClientEvent", requestType = com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, responseType = com.google.cloud.talent.v4beta1.ClientEvent.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent> - getCreateClientEventMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent> - getCreateClientEventMethod; + public static io.grpc.MethodDescriptor getCreateClientEventMethod() { + io.grpc.MethodDescriptor getCreateClientEventMethod; if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { synchronized (EventServiceGrpc.class) { if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { - EventServiceGrpc.getCreateClientEventMethod = - getCreateClientEventMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateClientEventRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance())) - .setSchemaDescriptor( - new EventServiceMethodDescriptorSupplier("CreateClientEvent")) - .build(); + EventServiceGrpc.getCreateClientEventMethod = getCreateClientEventMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance())) + .setSchemaDescriptor(new EventServiceMethodDescriptorSupplier("CreateClientEvent")) + .build(); } } } return getCreateClientEventMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static EventServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceStub(channel, callOptions); + } + }; return EventServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static EventServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + public static EventServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceBlockingStub(channel, callOptions); + } + }; return EventServiceBlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static EventServiceFutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static EventServiceFutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceFutureStub(channel, callOptions); + } + }; return EventServiceFutureStub.newStub(factory, channel); } /** - * - * *
    * A service handles client event report.
    * 
*/ - public abstract static class EventServiceImplBase implements io.grpc.BindableService { + public static abstract class EventServiceImplBase implements io.grpc.BindableService { /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -144,48 +111,42 @@ public abstract static class EventServiceImplBase implements io.grpc.BindableSer
      * about self service tools.
      * 
*/ - public void createClientEvent( - com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + public void createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClientEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClientEventMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateClientEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent>( - this, METHODID_CREATE_CLIENT_EVENT))) + getCreateClientEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent>( + this, METHODID_CREATE_CLIENT_EVENT))) .build(); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceStub - extends io.grpc.stub.AbstractAsyncStub { - private EventServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceStub extends io.grpc.stub.AbstractAsyncStub { + private EventServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected EventServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new EventServiceStub(channel, callOptions); } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -196,26 +157,21 @@ protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * about self service tools.
      * 
*/ - public void createClientEvent( - com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + public void createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private EventServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private EventServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -226,8 +182,6 @@ protected EventServiceBlockingStub build( } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -238,23 +192,20 @@ protected EventServiceBlockingStub build(
      * about self service tools.
      * 
*/ - public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent( - com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateClientEventMethod(), getCallOptions(), request); } } /** - * - * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceFutureStub - extends io.grpc.stub.AbstractFutureStub { - private EventServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private EventServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -265,8 +216,6 @@ protected EventServiceFutureStub build( } /** - * - * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -277,9 +226,8 @@ protected EventServiceFutureStub build(
      * about self service tools.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.talent.v4beta1.ClientEvent> - createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + public com.google.common.util.concurrent.ListenableFuture createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request); } @@ -287,11 +235,11 @@ protected EventServiceFutureStub build( private static final int METHODID_CREATE_CLIENT_EVENT = 0; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final EventServiceImplBase serviceImpl; private final int methodId; @@ -305,10 +253,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CLIENT_EVENT: - serviceImpl.createClientEvent( - (com.google.cloud.talent.v4beta1.CreateClientEventRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createClientEvent((com.google.cloud.talent.v4beta1.CreateClientEventRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -326,9 +272,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class EventServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class EventServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { EventServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -370,12 +315,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (EventServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) - .addMethod(getCreateClientEventMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) + .addMethod(getCreateClientEventMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java new file mode 100644 index 000000000000..98e485ab9043 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java @@ -0,0 +1,1145 @@ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * A service handles job management, including job CRUD, enumeration and search.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/job_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class JobServiceGrpc { + + private JobServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.JobService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJob", + requestType = com.google.cloud.talent.v4beta1.CreateJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateJobMethod() { + io.grpc.MethodDescriptor getCreateJobMethod; + if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { + JobServiceGrpc.getCreateJobMethod = getCreateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) + .build(); + } + } + } + return getCreateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchCreateJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", + requestType = com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchCreateJobsMethod() { + io.grpc.MethodDescriptor getBatchCreateJobsMethod; + if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { + JobServiceGrpc.getBatchCreateJobsMethod = getBatchCreateJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) + .build(); + } + } + } + return getBatchCreateJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJob", + requestType = com.google.cloud.talent.v4beta1.GetJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJobMethod() { + io.grpc.MethodDescriptor getGetJobMethod; + if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { + JobServiceGrpc.getGetJobMethod = getGetJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) + .build(); + } + } + } + return getGetJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateJob", + requestType = com.google.cloud.talent.v4beta1.UpdateJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateJobMethod() { + io.grpc.MethodDescriptor getUpdateJobMethod; + if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { + JobServiceGrpc.getUpdateJobMethod = getUpdateJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) + .build(); + } + } + } + return getUpdateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchUpdateJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", + requestType = com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchUpdateJobsMethod() { + io.grpc.MethodDescriptor getBatchUpdateJobsMethod; + if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { + JobServiceGrpc.getBatchUpdateJobsMethod = getBatchUpdateJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) + .build(); + } + } + } + return getBatchUpdateJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJob", + requestType = com.google.cloud.talent.v4beta1.DeleteJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteJobMethod() { + io.grpc.MethodDescriptor getDeleteJobMethod; + if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { + JobServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) + .build(); + } + } + } + return getDeleteJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchDeleteJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", + requestType = com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchDeleteJobsMethod() { + io.grpc.MethodDescriptor getBatchDeleteJobsMethod; + if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { + JobServiceGrpc.getBatchDeleteJobsMethod = getBatchDeleteJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) + .build(); + } + } + } + return getBatchDeleteJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobs", + requestType = com.google.cloud.talent.v4beta1.ListJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListJobsMethod() { + io.grpc.MethodDescriptor getListJobsMethod; + if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { + JobServiceGrpc.getListJobsMethod = getListJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) + .build(); + } + } + } + return getListJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchJobs", + requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchJobsMethod() { + io.grpc.MethodDescriptor getSearchJobsMethod; + if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { + JobServiceGrpc.getSearchJobsMethod = getSearchJobsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) + .build(); + } + } + } + return getSearchJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSearchJobsForAlertMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", + requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSearchJobsForAlertMethod() { + io.grpc.MethodDescriptor getSearchJobsForAlertMethod; + if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { + JobServiceGrpc.getSearchJobsForAlertMethod = getSearchJobsForAlertMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) + .build(); + } + } + } + return getSearchJobsForAlertMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static JobServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + }; + return JobServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static JobServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + }; + return JobServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static JobServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + }; + return JobServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static abstract class JobServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); + } + + /** + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public void batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateJobsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public void getJob(com.google.cloud.talent.v4beta1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + } + + /** + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public void updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); + } + + /** + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public void batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateJobsMethod(), responseObserver); + } + + /** + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); + } + + /** + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public void batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteJobsMethod(), responseObserver); + } + + /** + *
+     * Lists jobs by filter.
+     * 
+ */ + public void listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsForAlertMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateJobRequest, + com.google.cloud.talent.v4beta1.Job>( + this, METHODID_CREATE_JOB))) + .addMethod( + getBatchCreateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_CREATE_JOBS))) + .addMethod( + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetJobRequest, + com.google.cloud.talent.v4beta1.Job>( + this, METHODID_GET_JOB))) + .addMethod( + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateJobRequest, + com.google.cloud.talent.v4beta1.Job>( + this, METHODID_UPDATE_JOB))) + .addMethod( + getBatchUpdateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, + com.google.longrunning.Operation>( + this, METHODID_BATCH_UPDATE_JOBS))) + .addMethod( + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) + .addMethod( + getBatchDeleteJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, + com.google.protobuf.Empty>( + this, METHODID_BATCH_DELETE_JOBS))) + .addMethod( + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse>( + this, METHODID_LIST_JOBS))) + .addMethod( + getSearchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS))) + .addMethod( + getSearchJobsForAlertMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS_FOR_ALERT))) + .build(); + } + } + + /** + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { + private JobServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public void batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public void getJob(com.google.cloud.talent.v4beta1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public void updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public void batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public void batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists jobs by filter.
+     * 
+ */ + public void listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private JobServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job getJob(com.google.cloud.talent.v4beta1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public com.google.longrunning.Operation batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.protobuf.Empty deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists jobs by filter.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private JobServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createJob( + com.google.cloud.talent.v4beta1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchCreateJobs( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.talent.v4beta1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateJob( + com.google.cloud.talent.v4beta1.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchUpdateJobs( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchDeleteJobs( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists jobs by filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchJobs( + com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture searchJobsForAlert( + com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_JOB = 0; + private static final int METHODID_BATCH_CREATE_JOBS = 1; + private static final int METHODID_GET_JOB = 2; + private static final int METHODID_UPDATE_JOB = 3; + private static final int METHODID_BATCH_UPDATE_JOBS = 4; + private static final int METHODID_DELETE_JOB = 5; + private static final int METHODID_BATCH_DELETE_JOBS = 6; + private static final int METHODID_LIST_JOBS = 7; + private static final int METHODID_SEARCH_JOBS = 8; + private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 9; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final JobServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(JobServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_JOB: + serviceImpl.createJob((com.google.cloud.talent.v4beta1.CreateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_JOBS: + serviceImpl.batchCreateJobs((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB: + serviceImpl.getJob((com.google.cloud.talent.v4beta1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_JOB: + serviceImpl.updateJob((com.google.cloud.talent.v4beta1.UpdateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_UPDATE_JOBS: + serviceImpl.batchUpdateJobs((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_JOB: + serviceImpl.deleteJob((com.google.cloud.talent.v4beta1.DeleteJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_DELETE_JOBS: + serviceImpl.batchDeleteJobs((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOBS: + serviceImpl.listJobs((com.google.cloud.talent.v4beta1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_JOBS: + serviceImpl.searchJobs((com.google.cloud.talent.v4beta1.SearchJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SEARCH_JOBS_FOR_ALERT: + serviceImpl.searchJobsForAlert((com.google.cloud.talent.v4beta1.SearchJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class JobServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + JobServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("JobService"); + } + } + + private static final class JobServiceFileDescriptorSupplier + extends JobServiceBaseDescriptorSupplier { + JobServiceFileDescriptorSupplier() {} + } + + private static final class JobServiceMethodDescriptorSupplier + extends JobServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + JobServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (JobServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new JobServiceFileDescriptorSupplier()) + .addMethod(getCreateJobMethod()) + .addMethod(getBatchCreateJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getBatchUpdateJobsMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getBatchDeleteJobsMethod()) + .addMethod(getListJobsMethod()) + .addMethod(getSearchJobsMethod()) + .addMethod(getSearchJobsForAlertMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java new file mode 100644 index 000000000000..008a5c2bc577 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java @@ -0,0 +1,647 @@ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * A service that handles tenant management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TenantServiceGrpc { + + private TenantServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.TenantService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTenant", + requestType = com.google.cloud.talent.v4beta1.CreateTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTenantMethod() { + io.grpc.MethodDescriptor getCreateTenantMethod; + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + TenantServiceGrpc.getCreateTenantMethod = getCreateTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("CreateTenant")) + .build(); + } + } + } + return getCreateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTenant", + requestType = com.google.cloud.talent.v4beta1.GetTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTenantMethod() { + io.grpc.MethodDescriptor getGetTenantMethod; + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + TenantServiceGrpc.getGetTenantMethod = getGetTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) + .build(); + } + } + } + return getGetTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", + requestType = com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTenantMethod() { + io.grpc.MethodDescriptor getUpdateTenantMethod; + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + TenantServiceGrpc.getUpdateTenantMethod = getUpdateTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("UpdateTenant")) + .build(); + } + } + } + return getUpdateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", + requestType = com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTenantMethod() { + io.grpc.MethodDescriptor getDeleteTenantMethod; + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + TenantServiceGrpc.getDeleteTenantMethod = getDeleteTenantMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("DeleteTenant")) + .build(); + } + } + } + return getDeleteTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTenantsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTenants", + requestType = com.google.cloud.talent.v4beta1.ListTenantsRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListTenantsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTenantsMethod() { + io.grpc.MethodDescriptor getListTenantsMethod; + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + TenantServiceGrpc.getListTenantsMethod = getListTenantsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) + .build(); + } + } + } + return getListTenantsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static TenantServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + }; + return TenantServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TenantServiceBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + }; + return TenantServiceBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static TenantServiceFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + }; + return TenantServiceFutureStub.newStub(factory, channel); + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static abstract class TenantServiceImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTenantMethod(), responseObserver); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTenantMethod(), responseObserver); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTenantMethod(), responseObserver); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTenantsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>( + this, METHODID_CREATE_TENANT))) + .addMethod( + getGetTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>( + this, METHODID_GET_TENANT))) + .addMethod( + getUpdateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>( + this, METHODID_UPDATE_TENANT))) + .addMethod( + getDeleteTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TENANT))) + .addMethod( + getListTenantsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse>( + this, METHODID_LIST_TENANTS))) + .build(); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceStub extends io.grpc.stub.AbstractAsyncStub { + private TenantServiceStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private TenantServiceBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.protobuf.Empty deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTenantMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListTenantsResponse listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTenantsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub { + private TenantServiceFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TENANT = 0; + private static final int METHODID_GET_TENANT = 1; + private static final int METHODID_UPDATE_TENANT = 2; + private static final int METHODID_DELETE_TENANT = 3; + private static final int METHODID_LIST_TENANTS = 4; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TenantServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TENANT: + serviceImpl.createTenant((com.google.cloud.talent.v4beta1.CreateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TENANT: + serviceImpl.getTenant((com.google.cloud.talent.v4beta1.GetTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TENANT: + serviceImpl.updateTenant((com.google.cloud.talent.v4beta1.UpdateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TENANT: + serviceImpl.deleteTenant((com.google.cloud.talent.v4beta1.DeleteTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TENANTS: + serviceImpl.listTenants((com.google.cloud.talent.v4beta1.ListTenantsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TenantServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TenantService"); + } + } + + private static final class TenantServiceFileDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier { + TenantServiceFileDescriptorSupplier() {} + } + + private static final class TenantServiceMethodDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TenantServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TenantServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) + .addMethod(getCreateTenantMethod()) + .addMethod(getGetTenantMethod()) + .addMethod(getUpdateTenantMethod()) + .addMethod(getDeleteTenantMethod()) + .addMethod(getListTenantsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java index f73e65a663d5..cba932201150 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request to create a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchCreateJobsRequest} */ -public final class BatchCreateJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchCreateJobsRequest) BatchCreateJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateJobsRequest.newBuilder() to construct. private BatchCreateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -44,35 +26,32 @@ private BatchCreateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,84 +104,64 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The jobs to be created.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -239,7 +194,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, jobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -249,16 +205,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchCreateJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other = - (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) obj; + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other = (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getJobsList().equals(other.getJobsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,136 +239,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to create a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchCreateJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchCreateJobsRequest) com.google.cloud.talent.v4beta1.BatchCreateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override @@ -449,8 +399,7 @@ public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest result = - new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest result = new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -470,39 +419,38 @@ public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -510,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -534,10 +481,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -569,32 +515,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -604,13 +548,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -618,16 +559,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -636,8 +575,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -645,17 +582,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -663,8 +599,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -672,25 +606,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -698,21 +628,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -720,50 +645,40 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -773,15 +688,11 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -791,15 +702,11 @@ public int getJobsCount() { } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -809,17 +716,14 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder setJobs( + int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -833,17 +737,14 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -854,15 +755,11 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { @@ -878,17 +775,14 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder addJobs( + int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -902,17 +796,14 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -923,17 +814,14 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForVal return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -944,21 +832,18 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -966,15 +851,11 @@ public Builder addAllJobs( return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -987,15 +868,11 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1008,50 +885,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1059,69 +925,56 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) } } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be created.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1131,12 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchCreateJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchCreateJobsRequest) private static final com.google.cloud.talent.v4beta1.BatchCreateJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(); } @@ -1145,27 +998,27 @@ public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1180,4 +1033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java new file mode 100644 index 000000000000..5ed86508d229 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java @@ -0,0 +1,79 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface BatchCreateJobsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchCreateJobsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant under which the job is created.
+   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
+   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
+   * is created. For example, "projects/foo".
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The resource name of the tenant under which the job is created.
+   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
+   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
+   * is created. For example, "projects/foo".
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getJobsList(); + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.talent.v4beta1.Job getJobs(int index); + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + int getJobsCount(); + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getJobsOrBuilderList(); + /** + *
+   * Required. The jobs to be created.
+   * 
+ * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index); +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java similarity index 68% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java index 5104b5ba74a8..99a4ae947c2b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Batch delete jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} */ -public final class BatchDeleteJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchDeleteJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) BatchDeleteJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchDeleteJobsRequest.newBuilder() to construct. private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchDeleteJobsRequest() { parent_ = ""; filter_ = ""; @@ -44,35 +26,32 @@ private BatchDeleteJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchDeleteJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,8 +104,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -143,7 +115,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -152,15 +123,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -172,15 +142,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -189,7 +160,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -231,16 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other = - (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) obj; + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other = (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +234,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Batch delete jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) com.google.cloud.talent.v4beta1.BatchDeleteJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override @@ -424,8 +389,7 @@ public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest result = - new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest result = new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; onBuilt(); @@ -436,39 +400,38 @@ public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -476,8 +439,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -512,25 +474,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -543,8 +502,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -552,16 +509,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -570,8 +525,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -579,17 +532,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -597,8 +549,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -606,25 +556,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -632,21 +578,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -654,19 +595,17 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -674,8 +613,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -687,13 +624,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -702,8 +639,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -715,14 +650,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -730,8 +666,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -743,22 +677,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -770,18 +702,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -793,23 +722,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -819,12 +748,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) private static final com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(); } @@ -833,27 +762,27 @@ public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -868,4 +797,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java index d92e7600d773..1512c0dd95bc 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface BatchDeleteJobsRequestOrBuilder - extends +public interface BatchDeleteJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface BatchDeleteJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,17 +27,13 @@ public interface BatchDeleteJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -72,13 +45,10 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -90,8 +60,8 @@ public interface BatchDeleteJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java index fdc364adcb6d..7183af8a39b7 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Metadata used for long running operations returned by CTS batch APIs.
  * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.BatchOperationMetadata}
  */
-public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchOperationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchOperationMetadata)
     BatchOperationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchOperationMetadata.newBuilder() to construct.
   private BatchOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchOperationMetadata() {
     state_ = 0;
     stateDescription_ = "";
@@ -45,35 +27,35 @@ private BatchOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.BatchOperationMetadata.class,
-            com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
+            com.google.cloud.talent.v4beta1.BatchOperationMetadata.class, com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
   }
 
-  /** Protobuf enum {@code google.cloud.talent.v4beta1.BatchOperationMetadata.State} */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  /**
+   * Protobuf enum {@code google.cloud.talent.v4beta1.BatchOperationMetadata.State}
+   */
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -82,8 +64,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The batch operation is being prepared for processing.
      * 
@@ -92,8 +72,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ INITIALIZING(1), /** - * - * *
      * The batch operation is actively being processed.
      * 
@@ -102,8 +80,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PROCESSING(2), /** - * - * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -113,8 +89,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUCCEEDED(3),
     /**
-     *
-     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -123,8 +97,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -134,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CANCELLING(5),
     /**
-     *
-     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -149,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -159,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The batch operation is being prepared for processing.
      * 
@@ -169,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INITIALIZING_VALUE = 1; /** - * - * *
      * The batch operation is actively being processed.
      * 
@@ -179,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROCESSING_VALUE = 2; /** - * - * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -190,8 +152,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUCCEEDED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -200,8 +160,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -211,8 +169,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLING_VALUE = 5;
     /**
-     *
-     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -223,6 +179,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -247,59 +204,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return INITIALIZING;
-        case 2:
-          return PROCESSING;
-        case 3:
-          return SUCCEEDED;
-        case 4:
-          return FAILED;
-        case 5:
-          return CANCELLING;
-        case 6:
-          return CANCELLED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return INITIALIZING;
+        case 2: return PROCESSING;
+        case 3: return SUCCEEDED;
+        case 4: return FAILED;
+        case 5: return CANCELLING;
+        case 6: return CANCELLED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -319,52 +270,38 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_;
   /**
-   *
-   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { + @java.lang.Override public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object stateDescription_; /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The stateDescription. */ @java.lang.Override @@ -373,29 +310,29 @@ public java.lang.String getStateDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; } } /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getStateDescriptionBytes() { + public com.google.protobuf.ByteString + getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -406,14 +343,11 @@ public com.google.protobuf.ByteString getStateDescriptionBytes() { public static final int SUCCESS_COUNT_FIELD_NUMBER = 3; private int successCount_; /** - * - * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; - * * @return The successCount. */ @java.lang.Override @@ -424,14 +358,11 @@ public int getSuccessCount() { public static final int FAILURE_COUNT_FIELD_NUMBER = 4; private int failureCount_; /** - * - * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; - * * @return The failureCount. */ @java.lang.Override @@ -442,14 +373,11 @@ public int getFailureCount() { public static final int TOTAL_COUNT_FIELD_NUMBER = 5; private int totalCount_; /** - * - * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; - * * @return The totalCount. */ @java.lang.Override @@ -460,14 +388,11 @@ public int getTotalCount() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -475,14 +400,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -490,8 +412,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the batch operation is created.
    * 
@@ -506,8 +426,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -515,7 +433,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -523,8 +440,6 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -532,7 +447,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ @java.lang.Override @@ -540,8 +454,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -558,15 +470,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 8;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -574,15 +483,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ @java.lang.Override @@ -590,8 +496,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -605,7 +509,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -617,10 +520,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (state_
-        != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
@@ -653,31 +555,36 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateDescription_);
     }
     if (successCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(3, successCount_);
     }
     if (failureCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, failureCount_);
     }
     if (totalCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(5, totalCount_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getUpdateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -687,30 +594,36 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchOperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.BatchOperationMetadata other =
-        (com.google.cloud.talent.v4beta1.BatchOperationMetadata) obj;
+    com.google.cloud.talent.v4beta1.BatchOperationMetadata other = (com.google.cloud.talent.v4beta1.BatchOperationMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getStateDescription().equals(other.getStateDescription())) return false;
-    if (getSuccessCount() != other.getSuccessCount()) return false;
-    if (getFailureCount() != other.getFailureCount()) return false;
-    if (getTotalCount() != other.getTotalCount()) return false;
+    if (!getStateDescription()
+        .equals(other.getStateDescription())) return false;
+    if (getSuccessCount()
+        != other.getSuccessCount()) return false;
+    if (getFailureCount()
+        != other.getFailureCount()) return false;
+    if (getTotalCount()
+        != other.getTotalCount()) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getCreateTime()
+          .equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -751,104 +664,96 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.talent.v4beta1.BatchOperationMetadata prototype) {
+  public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchOperationMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata used for long running operations returned by CTS batch APIs.
    * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -856,32 +761,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.BatchOperationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchOperationMetadata)
       com.google.cloud.talent.v4beta1.BatchOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.BatchOperationMetadata.class,
-              com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
+              com.google.cloud.talent.v4beta1.BatchOperationMetadata.class, com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.BatchOperationMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -917,9 +823,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -938,8 +844,7 @@ public com.google.cloud.talent.v4beta1.BatchOperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.BatchOperationMetadata buildPartial() {
-      com.google.cloud.talent.v4beta1.BatchOperationMetadata result =
-          new com.google.cloud.talent.v4beta1.BatchOperationMetadata(this);
+      com.google.cloud.talent.v4beta1.BatchOperationMetadata result = new com.google.cloud.talent.v4beta1.BatchOperationMetadata(this);
       result.state_ = state_;
       result.stateDescription_ = stateDescription_;
       result.successCount_ = successCount_;
@@ -968,39 +873,38 @@ public com.google.cloud.talent.v4beta1.BatchOperationMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.BatchOperationMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.BatchOperationMetadata) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.BatchOperationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1008,8 +912,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchOperationMetadata other) {
-      if (other == com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -1061,61 +964,58 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                stateDescription_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                successCount_ = input.readInt32();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                failureCount_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 40:
-              {
-                totalCount_ = input.readInt32();
-
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              stateDescription_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              successCount_ = input.readInt32();
+
+              break;
+            } // case 24
+            case 32: {
+              failureCount_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 40: {
+              totalCount_ = input.readInt32();
+
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1128,67 +1028,51 @@ public Builder mergeFrom(
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); - return result == null - ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); + return result == null ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED : result; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1196,24 +1080,21 @@ public Builder setState(com.google.cloud.talent.v4beta1.BatchOperationMetadata.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1221,20 +1102,18 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; @@ -1243,21 +1122,20 @@ public java.lang.String getStateDescription() { } } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString getStateDescriptionBytes() { + public com.google.protobuf.ByteString + getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -1265,76 +1143,66 @@ public com.google.protobuf.ByteString getStateDescriptionBytes() { } } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription(java.lang.String value) { + public Builder setStateDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateDescription_ = value; onChanged(); return this; } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @return This builder for chaining. */ public Builder clearStateDescription() { - + stateDescription_ = getDefaultInstance().getStateDescription(); onChanged(); return this; } /** - * - * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; - * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setStateDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; onChanged(); return this; } - private int successCount_; + private int successCount_ ; /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @return The successCount. */ @java.lang.Override @@ -1342,51 +1210,42 @@ public int getSuccessCount() { return successCount_; } /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @param value The successCount to set. * @return This builder for chaining. */ public Builder setSuccessCount(int value) { - + successCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; - * * @return This builder for chaining. */ public Builder clearSuccessCount() { - + successCount_ = 0; onChanged(); return this; } - private int failureCount_; + private int failureCount_ ; /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @return The failureCount. */ @java.lang.Override @@ -1394,51 +1253,42 @@ public int getFailureCount() { return failureCount_; } /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @param value The failureCount to set. * @return This builder for chaining. */ public Builder setFailureCount(int value) { - + failureCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; - * * @return This builder for chaining. */ public Builder clearFailureCount() { - + failureCount_ = 0; onChanged(); return this; } - private int totalCount_; + private int totalCount_ ; /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @return The totalCount. */ @java.lang.Override @@ -1446,36 +1296,30 @@ public int getTotalCount() { return totalCount_; } /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { - + totalCount_ = value; onChanged(); return this; } /** - * - * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; - * * @return This builder for chaining. */ public Builder clearTotalCount() { - + totalCount_ = 0; onChanged(); return this; @@ -1483,47 +1327,34 @@ public Builder clearTotalCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1544,15 +1375,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1563,8 +1393,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1575,7 +1403,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1587,8 +1415,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1607,8 +1433,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1616,13 +1440,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1633,14 +1455,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time when the batch operation is created.
      * 
@@ -1648,17 +1467,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1666,13 +1482,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1680,15 +1491,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1696,21 +1504,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1733,8 +1536,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1743,7 +1544,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 7;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1754,8 +1556,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1768,7 +1568,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1780,8 +1580,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1802,8 +1600,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1813,13 +1609,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1832,14 +1626,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : updateTime_;
+        return updateTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1849,17 +1640,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(), getParentForChildren(), isClean());
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(),
+                getParentForChildren(),
+                isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
@@ -1867,35 +1655,26 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1906,8 +1685,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1929,8 +1706,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1938,7 +1713,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 8;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1949,8 +1725,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1962,7 +1736,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1974,8 +1748,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1995,8 +1767,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2005,13 +1775,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2023,12 +1791,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -2037,24 +1804,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2064,12 +1828,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchOperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchOperationMetadata)
   private static final com.google.cloud.talent.v4beta1.BatchOperationMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchOperationMetadata();
   }
@@ -2078,27 +1842,27 @@ public static com.google.cloud.talent.v4beta1.BatchOperationMetadata getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchOperationMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchOperationMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2113,4 +1877,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.BatchOperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
similarity index 83%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
index 7e5119dc36d5..6c1230cb6f1a 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
@@ -1,144 +1,100 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface BatchOperationMetadataOrBuilder
-    extends
+public interface BatchOperationMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchOperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; - * * @return The state. */ com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState(); /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The stateDescription. */ java.lang.String getStateDescription(); /** - * - * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; - * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString getStateDescriptionBytes(); + com.google.protobuf.ByteString + getStateDescriptionBytes(); /** - * - * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; - * * @return The successCount. */ int getSuccessCount(); /** - * - * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; - * * @return The failureCount. */ int getFailureCount(); /** - * - * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; - * * @return The totalCount. */ int getTotalCount(); /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the batch operation is created.
    * 
@@ -148,8 +104,6 @@ public interface BatchOperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -157,13 +111,10 @@ public interface BatchOperationMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -171,13 +122,10 @@ public interface BatchOperationMetadataOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 7; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -189,34 +137,26 @@ public interface BatchOperationMetadataOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
new file mode 100644
index 000000000000..85c307bfbd03
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
@@ -0,0 +1,39 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/batch.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public final class BatchProto {
+  private BatchProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\'google/cloud/talent/v4beta1/batch.prot" +
+      "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go" +
+      "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z" +
+      "Agoogle.golang.org/genproto/googleapis/c" +
+      "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
similarity index 71%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
index 94d5c38306cc..2f94835fd372 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Request to update a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchUpdateJobsRequest} */ -public final class BatchUpdateJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchUpdateJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchUpdateJobsRequest) BatchUpdateJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchUpdateJobsRequest.newBuilder() to construct. private BatchUpdateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchUpdateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -44,35 +26,32 @@ private BatchUpdateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchUpdateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -130,87 +104,66 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -226,7 +179,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index)
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -234,8 +186,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -251,7 +201,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -259,8 +208,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -283,7 +230,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -295,7 +241,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -318,10 +265,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, jobs_.get(i));
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -331,19 +280,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other =
-        (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) obj;
+    com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other = (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getJobsList().equals(other.getJobsList())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getJobsList()
+        .equals(other.getJobsList())) return false;
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -372,136 +323,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request to update a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchUpdateJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchUpdateJobsRequest) com.google.cloud.talent.v4beta1.BatchUpdateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -524,9 +468,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override @@ -545,8 +489,7 @@ public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest result = - new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest result = new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -571,39 +514,38 @@ public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -611,8 +553,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -635,10 +576,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -673,38 +613,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -714,13 +653,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -728,16 +664,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -746,8 +680,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -755,17 +687,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -773,8 +704,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -782,25 +711,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -808,21 +733,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -830,50 +750,40 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -883,15 +793,11 @@ public java.util.List getJobsList() { } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -901,15 +807,11 @@ public int getJobsCount() { } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -919,17 +821,14 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder setJobs( + int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -943,17 +842,14 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -964,15 +860,11 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { @@ -988,17 +880,14 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder addJobs( + int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1012,17 +901,14 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -1033,17 +919,14 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForVal return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -1054,21 +937,18 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -1076,15 +956,11 @@ public Builder addAllJobs( return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -1097,15 +973,11 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1118,50 +990,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1169,62 +1030,49 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) } } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** - * - * *
      * Required. The jobs to be updated.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -1232,13 +1080,8 @@ public java.util.List getJobsBuilde private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1254,15 +1097,12 @@ public java.util.List getJobsBuilde
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1278,21 +1118,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1323,8 +1158,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1341,7 +1174,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1352,8 +1186,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1374,7 +1206,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1386,8 +1218,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1416,8 +1246,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1435,13 +1263,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1462,14 +1288,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1487,24 +1310,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1514,12 +1334,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
   private static final com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest();
   }
@@ -1528,27 +1348,27 @@ public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchUpdateJobsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchUpdateJobsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1563,4 +1383,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
index 3090370f05d7..8c5158b822e0 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface BatchUpdateJobsRequestOrBuilder
-    extends
+public interface BatchUpdateJobsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface BatchUpdateJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,78 +27,57 @@ public interface BatchUpdateJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.Job getJobs(int index); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getJobsCount(); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * Required. The jobs to be updated.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -137,13 +93,10 @@ public interface BatchUpdateJobsRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -159,13 +112,10 @@ public interface BatchUpdateJobsRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
index 8e1090279844..11b614b80138 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/event.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * An event issued when an end user interacts with the application that
  * implements Cloud Talent Solution. Providing this information improves the
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.ClientEvent}
  */
-public final class ClientEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ClientEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ClientEvent)
     ClientEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ClientEvent.newBuilder() to construct.
   private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ClientEvent() {
     requestId_ = "";
     eventId_ = "";
@@ -49,41 +31,37 @@ private ClientEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ClientEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.EventProto
-        .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.EventProto
-        .internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.ClientEvent.class,
-            com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
+            com.google.cloud.talent.v4beta1.ClientEvent.class, com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
-
   public enum EventCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JOB_EVENT(5),
     EVENT_NOT_SET(0);
     private final int value;
-
     private EventCase(int value) {
       this.value = value;
     }
@@ -99,29 +77,25 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return JOB_EVENT;
-        case 0:
-          return EVENT_NOT_SET;
-        default:
-          return null;
+        case 5: return JOB_EVENT;
+        case 0: return EVENT_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase getEventCase() {
-    return EventCase.forNumber(eventCase_);
+  public EventCase
+  getEventCase() {
+    return EventCase.forNumber(
+        eventCase_);
   }
 
   public static final int REQUEST_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object requestId_;
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -129,7 +103,6 @@ public EventCase getEventCase() {
    * 
* * string request_id = 1; - * * @return The requestId. */ @java.lang.Override @@ -138,15 +111,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -154,15 +126,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -173,14 +146,11 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int EVENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object eventId_; /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ @java.lang.Override @@ -189,29 +159,29 @@ public java.lang.String getEventId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } } /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventId_ = b; return b; } else { @@ -222,15 +192,11 @@ public com.google.protobuf.ByteString getEventIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -238,15 +204,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ @java.lang.Override @@ -254,14 +216,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -270,15 +229,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int JOB_EVENT_FIELD_NUMBER = 5; /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -286,27 +242,22 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return The jobEvent. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() { if (eventCase_ == 5) { - return (com.google.cloud.talent.v4beta1.JobEvent) event_; + return (com.google.cloud.talent.v4beta1.JobEvent) event_; } return com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance(); } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -317,7 +268,7 @@ public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() {
   @java.lang.Override
   public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder() {
     if (eventCase_ == 5) {
-      return (com.google.cloud.talent.v4beta1.JobEvent) event_;
+       return (com.google.cloud.talent.v4beta1.JobEvent) event_;
     }
     return com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance();
   }
@@ -325,15 +276,12 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
   public static final int EVENT_NOTES_FIELD_NUMBER = 9;
   private volatile java.lang.Object eventNotes_;
   /**
-   *
-   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; - * * @return The eventNotes. */ @java.lang.Override @@ -342,30 +290,30 @@ public java.lang.String getEventNotes() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; } } /** - * - * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ @java.lang.Override - public com.google.protobuf.ByteString getEventNotesBytes() { + public com.google.protobuf.ByteString + getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -374,7 +322,6 @@ public com.google.protobuf.ByteString getEventNotesBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +333,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -418,12 +366,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (eventCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.talent.v4beta1.JobEvent) event_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.talent.v4beta1.JobEvent) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventNotes_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, eventNotes_); @@ -436,25 +384,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ClientEvent)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ClientEvent other = - (com.google.cloud.talent.v4beta1.ClientEvent) obj; + com.google.cloud.talent.v4beta1.ClientEvent other = (com.google.cloud.talent.v4beta1.ClientEvent) obj; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEventId().equals(other.getEventId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEventId() + .equals(other.getEventId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } - if (!getEventNotes().equals(other.getEventNotes())) return false; + if (!getEventNotes() + .equals(other.getEventNotes())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - if (!getJobEvent().equals(other.getJobEvent())) return false; + if (!getJobEvent() + .equals(other.getJobEvent())) return false; break; case 0: default: @@ -493,104 +445,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ClientEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An event issued when an end user interacts with the application that
    * implements Cloud Talent Solution. Providing this information improves the
@@ -601,32 +546,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.ClientEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ClientEvent)
       com.google.cloud.talent.v4beta1.ClientEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.ClientEvent.class,
-              com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
+              com.google.cloud.talent.v4beta1.ClientEvent.class, com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.ClientEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -651,9 +597,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
     }
 
     @java.lang.Override
@@ -672,8 +618,7 @@ public com.google.cloud.talent.v4beta1.ClientEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() {
-      com.google.cloud.talent.v4beta1.ClientEvent result =
-          new com.google.cloud.talent.v4beta1.ClientEvent(this);
+      com.google.cloud.talent.v4beta1.ClientEvent result = new com.google.cloud.talent.v4beta1.ClientEvent(this);
       result.requestId_ = requestId_;
       result.eventId_ = eventId_;
       if (createTimeBuilder_ == null) {
@@ -698,39 +643,38 @@ public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.ClientEvent) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.ClientEvent) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.ClientEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -755,15 +699,13 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ClientEvent other) {
         onChanged();
       }
       switch (other.getEventCase()) {
-        case JOB_EVENT:
-          {
-            mergeJobEvent(other.getJobEvent());
-            break;
-          }
-        case EVENT_NOT_SET:
-          {
-            break;
-          }
+        case JOB_EVENT: {
+          mergeJobEvent(other.getJobEvent());
+          break;
+        }
+        case EVENT_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -791,43 +733,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                requestId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                eventId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getJobEventFieldBuilder().getBuilder(), extensionRegistry);
-                eventCase_ = 5;
-                break;
-              } // case 42
-            case 74:
-              {
-                eventNotes_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              requestId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              eventId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getJobEventFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              eventCase_ = 5;
+              break;
+            } // case 42
+            case 74: {
+              eventNotes_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -837,12 +777,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int eventCase_ = 0;
     private java.lang.Object event_;
-
-    public EventCase getEventCase() {
-      return EventCase.forNumber(eventCase_);
+    public EventCase
+        getEventCase() {
+      return EventCase.forNumber(
+          eventCase_);
     }
 
     public Builder clearEvent() {
@@ -852,10 +792,9 @@ public Builder clearEvent() {
       return this;
     }
 
+
     private java.lang.Object requestId_ = "";
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -863,13 +802,13 @@ public Builder clearEvent() {
      * 
* * string request_id = 1; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -878,8 +817,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -887,14 +824,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -902,8 +840,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -911,22 +847,20 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 1; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -934,18 +868,15 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 1; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -953,16 +884,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 1; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -970,20 +901,18 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object eventId_ = ""; /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; @@ -992,21 +921,20 @@ public java.lang.String getEventId() { } } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString getEventIdBytes() { + public com.google.protobuf.ByteString + getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventId_ = b; return b; } else { @@ -1014,61 +942,54 @@ public com.google.protobuf.ByteString getEventIdBytes() { } } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId(java.lang.String value) { + public Builder setEventId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** - * - * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes(com.google.protobuf.ByteString value) { + public Builder setEventIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -1076,55 +997,39 @@ public Builder setEventIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1140,16 +1045,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1160,20 +1063,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1185,14 +1085,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1206,81 +1103,62 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobEvent, - com.google.cloud.talent.v4beta1.JobEvent.Builder, - com.google.cloud.talent.v4beta1.JobEventOrBuilder> - jobEventBuilder_; + com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder> jobEventBuilder_; /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -1288,15 +1166,12 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return The jobEvent. */ @java.lang.Override @@ -1314,8 +1189,6 @@ public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() { } } /** - * - * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1337,8 +1210,6 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1346,7 +1217,8 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
      *
      * .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      */
-    public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent.Builder builderForValue) {
+    public Builder setJobEvent(
+        com.google.cloud.talent.v4beta1.JobEvent.Builder builderForValue) {
       if (jobEventBuilder_ == null) {
         event_ = builderForValue.build();
         onChanged();
@@ -1357,8 +1229,6 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1368,13 +1238,10 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent.Builder buil
      */
     public Builder mergeJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       if (jobEventBuilder_ == null) {
-        if (eventCase_ == 5
-            && event_ != com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance()) {
-          event_ =
-              com.google.cloud.talent.v4beta1.JobEvent.newBuilder(
-                      (com.google.cloud.talent.v4beta1.JobEvent) event_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (eventCase_ == 5 &&
+            event_ != com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance()) {
+          event_ = com.google.cloud.talent.v4beta1.JobEvent.newBuilder((com.google.cloud.talent.v4beta1.JobEvent) event_)
+              .mergeFrom(value).buildPartial();
         } else {
           event_ = value;
         }
@@ -1390,8 +1257,6 @@ public Builder mergeJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1416,8 +1281,6 @@ public Builder clearJobEvent() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1429,8 +1292,6 @@ public com.google.cloud.talent.v4beta1.JobEvent.Builder getJobEventBuilder() {
       return getJobEventFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1450,8 +1311,6 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1460,47 +1319,39 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
      * .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.JobEvent,
-            com.google.cloud.talent.v4beta1.JobEvent.Builder,
-            com.google.cloud.talent.v4beta1.JobEventOrBuilder>
+        com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder> 
         getJobEventFieldBuilder() {
       if (jobEventBuilder_ == null) {
         if (!(eventCase_ == 5)) {
           event_ = com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance();
         }
-        jobEventBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.JobEvent,
-                com.google.cloud.talent.v4beta1.JobEvent.Builder,
-                com.google.cloud.talent.v4beta1.JobEventOrBuilder>(
+        jobEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder>(
                 (com.google.cloud.talent.v4beta1.JobEvent) event_,
                 getParentForChildren(),
                 isClean());
         event_ = null;
       }
       eventCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return jobEventBuilder_;
     }
 
     private java.lang.Object eventNotes_ = "";
     /**
-     *
-     *
      * 
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @return The eventNotes. */ public java.lang.String getEventNotes() { java.lang.Object ref = eventNotes_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; @@ -1509,22 +1360,21 @@ public java.lang.String getEventNotes() { } } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ - public com.google.protobuf.ByteString getEventNotesBytes() { + public com.google.protobuf.ByteString + getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -1532,71 +1382,64 @@ public com.google.protobuf.ByteString getEventNotesBytes() { } } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @param value The eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotes(java.lang.String value) { + public Builder setEventNotes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventNotes_ = value; onChanged(); return this; } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @return This builder for chaining. */ public Builder clearEventNotes() { - + eventNotes_ = getDefaultInstance().getEventNotes(); onChanged(); return this; } /** - * - * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; - * * @param value The bytes for eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { + public Builder setEventNotesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventNotes_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1606,12 +1449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ClientEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ClientEvent) private static final com.google.cloud.talent.v4beta1.ClientEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ClientEvent(); } @@ -1620,27 +1463,27 @@ public static com.google.cloud.talent.v4beta1.ClientEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1655,4 +1498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ClientEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java index 1be2def8cd22..bf24c0274f3c 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; -public interface ClientEventOrBuilder - extends +public interface ClientEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ClientEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -33,13 +15,10 @@ public interface ClientEventOrBuilder
    * 
* * string request_id = 1; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -47,103 +26,79 @@ public interface ClientEventOrBuilder
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The eventId. */ java.lang.String getEventId(); /** - * - * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for eventId. */ - com.google.protobuf.ByteString getEventIdBytes(); + com.google.protobuf.ByteString + getEventIdBytes(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return Whether the jobEvent field is set. */ boolean hasJobEvent(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; - * * @return The jobEvent. */ com.google.cloud.talent.v4beta1.JobEvent getJobEvent(); /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -154,31 +109,26 @@ public interface ClientEventOrBuilder
   com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder();
 
   /**
-   *
-   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; - * * @return The eventNotes. */ java.lang.String getEventNotes(); /** - * - * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; - * * @return The bytes for eventNotes. */ - com.google.protobuf.ByteString getEventNotesBytes(); + com.google.protobuf.ByteString + getEventNotesBytes(); public com.google.cloud.talent.v4beta1.ClientEvent.EventCase getEventCase(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java new file mode 100644 index 000000000000..2532d2fbddb3 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java @@ -0,0 +1,308 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/common.proto + +package com.google.cloud.talent.v4beta1; + +public final class CommonProto { + private CommonProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Location_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/talent/v4beta1/common.pro" + + "to\022\033google.cloud.talent.v4beta1\032\037google/" + + "api/field_behavior.proto\032\037google/protobu" + + "f/timestamp.proto\032\036google/protobuf/wrapp" + + "ers.proto\032\030google/type/latlng.proto\032\027goo" + + "gle/type/money.proto\032 google/type/postal" + + "_address.proto\"n\n\016TimestampRange\022.\n\nstar" + + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + + "\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001" + + "(\01622.google.cloud.talent.v4beta1.Locatio" + + "n.LocationType\0222\n\016postal_address\030\002 \001(\0132\032" + + ".google.type.PostalAddress\022$\n\007lat_lng\030\003 " + + "\001(\0132\023.google.type.LatLng\022\024\n\014radius_miles" + + "\030\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE" + + "_UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTR" + + "ATIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020" + + "\003\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_" + + "LOCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LO" + + "CALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_A" + + "DDRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001" + + " \001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(" + + "\t\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_i" + + "nfo\030\005 \001(\0132\'.google.cloud.talent.v4beta1." + + "DeviceInfo\"&\n\020ResponseMetadata\022\022\n\nreques" + + "t_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type" + + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Dev" + + "iceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDevice" + + "Type\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB" + + "\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004" + + "\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017CustomAttribute\022" + + "\025\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 " + + "\003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032\n\022keyword_searc" + + "hable\030\004 \001(\010\"W\n\022SpellingCorrection\022\021\n\tcor" + + "rected\030\001 \001(\010\022\026\n\016corrected_text\030\002 \001(\t\022\026\n\016" + + "corrected_html\030\003 \001(\t\"\246\t\n\020CompensationInf" + + "o\022P\n\007entries\030\001 \003(\0132?.google.cloud.talent" + + ".v4beta1.CompensationInfo.CompensationEn" + + "try\022p\n\"annualized_base_compensation_rang" + + "e\030\002 \001(\0132?.google.cloud.talent.v4beta1.Co" + + "mpensationInfo.CompensationRangeB\003\340A\003\022q\n" + + "#annualized_total_compensation_range\030\003 \001" + + "(\0132?.google.cloud.talent.v4beta1.Compens" + + "ationInfo.CompensationRangeB\003\340A\003\032\222\003\n\021Com" + + "pensationEntry\022L\n\004type\030\001 \001(\0162>.google.cl" + + "oud.talent.v4beta1.CompensationInfo.Comp" + + "ensationType\022L\n\004unit\030\002 \001(\0162>.google.clou" + + "d.talent.v4beta1.CompensationInfo.Compen" + + "sationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type" + + ".MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.t" + + "alent.v4beta1.CompensationInfo.Compensat" + + "ionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expec" + + "ted_units_per_year\030\006 \001(\0132\034.google.protob" + + "uf.DoubleValueB\025\n\023compensation_amount\032o\n" + + "\021CompensationRange\022,\n\020max_compensation\030\002" + + " \001(\0132\022.google.type.Money\022,\n\020min_compensa" + + "tion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compe" + + "nsationType\022!\n\035COMPENSATION_TYPE_UNSPECI" + + "FIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_B" + + "ONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017" + + "\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPE" + + "NSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035C" + + "OMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY" + + "\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n" + + "\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPEN" + + "SATION_UNIT\020\007\"\314\003\n\026BatchOperationMetadata" + + "\022H\n\005state\030\001 \001(\01629.google.cloud.talent.v4" + + "beta1.BatchOperationMetadata.State\022\031\n\021st" + + "ate_description\030\002 \001(\t\022\025\n\rsuccess_count\030\003" + + " \001(\005\022\025\n\rfailure_count\030\004 \001(\005\022\023\n\013total_cou" + + "nt\030\005 \001(\005\022/\n\013create_time\030\006 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022/\n\013update_time\030\007 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\010end_time\030\010" + + " \001(\0132\032.google.protobuf.Timestamp\"z\n\005Stat" + + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIALIZING" + + "\020\001\022\016\n\nPROCESSING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI" + + "LED\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLED\020\006*y\n\013" + + "CompanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020" + + "\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006M" + + "EDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*" + + "\342\001\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIE" + + "D\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMES" + + "TIC_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MED" + + "ICAL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_L" + + "EAVE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS" + + "\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeT" + + "ype\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIM" + + "ARY_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCA" + + "TION\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n" + + "\030ADULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATE" + + "S_OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVA" + + "LENT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOC" + + "TORAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType" + + "\022\037\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFUL" + + "L_TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022" + + "\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006" + + "INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n" + + "\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TY" + + "PE\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIE" + + "D\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n" + + "\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*" + + "\272\006\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIF" + + "IED\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADM" + + "INISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_" + + "AND_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_" + + "FASHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATI" + + "ONS\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017CO" + + "MPUTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUS" + + "TOMER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERT" + + "AINMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTD" + + "OORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCE" + + "S\020\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPA" + + "IR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUF" + + "ACTURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUN" + + "ICATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MI" + + "NING\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027" + + "\n\023PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030" + + "\022\036\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALE" + + "S_AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERIN" + + "G\020\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022" + + "!\n\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TR" + + "ANSPORTATION_AND_LOGISTICS\020\036*e\n\rPostingR" + + "egion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n" + + "\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TE" + + "LECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VISIBILITY_" + + "UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARE" + + "D_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003\032" + + "\002\030\001*q\n\020HtmlSanitization\022!\n\035HTML_SANITIZA" + + "TION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZATION_" + + "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" + + "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" + + "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" + + "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." + + "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" + + "lang.org/genproto/googleapis/cloud/talen" + + "t/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + com.google.type.MoneyProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor, + new java.lang.String[] { "StartTime", "EndTime", }); + internal_static_google_cloud_talent_v4beta1_Location_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Location_descriptor, + new java.lang.String[] { "LocationType", "PostalAddress", "LatLng", "RadiusMiles", }); + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor, + new java.lang.String[] { "Domain", "SessionId", "UserId", "AllowMissingIds", "DeviceInfo", }); + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor, + new java.lang.String[] { "RequestId", }); + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor, + new java.lang.String[] { "DeviceType", "Id", }); + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor, + new java.lang.String[] { "StringValues", "LongValues", "Filterable", "KeywordSearchable", }); + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor, + new java.lang.String[] { "Corrected", "CorrectedText", "CorrectedHtml", }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor, + new java.lang.String[] { "Entries", "AnnualizedBaseCompensationRange", "AnnualizedTotalCompensationRange", }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor, + new java.lang.String[] { "Type", "Unit", "Amount", "Range", "Description", "ExpectedUnitsPerYear", "CompensationAmount", }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor = + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor, + new java.lang.String[] { "MaxCompensation", "MinCompensation", }); + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor, + new java.lang.String[] { "State", "StateDescription", "SuccessCount", "FailureCount", "TotalCount", "CreateTime", "UpdateTime", "EndTime", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + com.google.type.MoneyProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java similarity index 71% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java index 3342f74bbbf8..dc657049c539 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Parameters needed for commute search.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CommuteFilter} */ -public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommuteFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CommuteFilter) CommuteFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommuteFilter.newBuilder() to construct. private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommuteFilter() { commuteMethod_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommuteFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CommuteFilter.class, - com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); + com.google.cloud.talent.v4beta1.CommuteFilter.class, com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); } /** - * - * *
    * The traffic density to use when calculating commute time.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic} */ - public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { + public enum RoadTraffic + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Road traffic situation isn't specified.
      * 
@@ -88,8 +66,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ ROAD_TRAFFIC_UNSPECIFIED(0), /** - * - * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -98,8 +74,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ TRAFFIC_FREE(1), /** - * - * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -111,8 +85,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Road traffic situation isn't specified.
      * 
@@ -121,8 +93,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -131,8 +101,6 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRAFFIC_FREE_VALUE = 1; /** - * - * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -141,6 +109,7 @@ public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUSY_HOUR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +134,49 @@ public static RoadTraffic valueOf(int value) { */ public static RoadTraffic forNumber(int value) { switch (value) { - case 0: - return ROAD_TRAFFIC_UNSPECIFIED; - case 1: - return TRAFFIC_FREE; - case 2: - return BUSY_HOUR; - default: - return null; + case 0: return ROAD_TRAFFIC_UNSPECIFIED; + case 1: return TRAFFIC_FREE; + case 2: return BUSY_HOUR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RoadTraffic> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoadTraffic findValueByNumber(int number) { + return RoadTraffic.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoadTraffic findValueByNumber(int number) { - return RoadTraffic.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommuteFilter.getDescriptor().getEnumTypes().get(0); } private static final RoadTraffic[] VALUES = values(); - public static RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoadTraffic valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -226,16 +195,13 @@ private RoadTraffic(int value) { private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - public enum TrafficOptionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROAD_TRAFFIC(5), DEPARTURE_TIME(6), TRAFFICOPTION_NOT_SET(0); private final int value; - private TrafficOptionCase(int value) { this.value = value; } @@ -251,79 +217,59 @@ public static TrafficOptionCase valueOf(int value) { public static TrafficOptionCase forNumber(int value) { switch (value) { - case 5: - return ROAD_TRAFFIC; - case 6: - return DEPARTURE_TIME; - case 0: - return TRAFFICOPTION_NOT_SET; - default: - return null; + case 5: return ROAD_TRAFFIC; + case 6: return DEPARTURE_TIME; + case 0: return TRAFFICOPTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TrafficOptionCase getTrafficOptionCase() { - return TrafficOptionCase.forNumber(trafficOptionCase_); + public TrafficOptionCase + getTrafficOptionCase() { + return TrafficOptionCase.forNumber( + trafficOptionCase_); } public static final int COMMUTE_METHOD_FIELD_NUMBER = 1; private int commuteMethod_; /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override - public int getCommuteMethodValue() { + @java.lang.Override public int getCommuteMethodValue() { return commuteMethod_; } /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteMethod result = - com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4beta1.CommuteMethod result = com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4beta1.CommuteMethod.UNRECOGNIZED : result; } public static final int START_COORDINATES_FIELD_NUMBER = 2; private com.google.type.LatLng startCoordinates_; /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ @java.lang.Override @@ -331,34 +277,25 @@ public boolean hasStartCoordinates() { return startCoordinates_ != null; } /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ @java.lang.Override public com.google.type.LatLng getStartCoordinates() { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { @@ -368,16 +305,12 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration travelDuration_; /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -385,34 +318,25 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @@ -422,8 +346,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER = 4; private boolean allowImpreciseAddresses_; /** - * - * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -433,7 +355,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
    * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -443,28 +364,22 @@ public boolean getAllowImpreciseAddresses() { public static final int ROAD_TRAFFIC_FIELD_NUMBER = 5; /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ public int getRoadTrafficValue() { @@ -474,33 +389,25 @@ public int getRoadTrafficValue() { return 0; } /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null - ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; } return com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 6; /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -508,7 +415,6 @@ public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic(
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -516,8 +422,6 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -525,19 +429,16 @@ public boolean hasDepartureTime() {
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ @java.lang.Override public com.google.type.TimeOfDay getDepartureTime() { if (trafficOptionCase_ == 6) { - return (com.google.type.TimeOfDay) trafficOption_; + return (com.google.type.TimeOfDay) trafficOption_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -549,13 +450,12 @@ public com.google.type.TimeOfDay getDepartureTime() {
   @java.lang.Override
   public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
     if (trafficOptionCase_ == 6) {
-      return (com.google.type.TimeOfDay) trafficOption_;
+       return (com.google.type.TimeOfDay) trafficOption_;
     }
     return com.google.type.TimeOfDay.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -567,9 +467,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (commuteMethod_
-        != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (commuteMethod_ != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
@@ -596,28 +496,29 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (commuteMethod_
-        != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, commuteMethod_);
+    if (commuteMethod_ != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartCoordinates());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartCoordinates());
     }
     if (travelDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTravelDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getTravelDuration());
     }
     if (allowImpreciseAddresses_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowImpreciseAddresses_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, allowImpreciseAddresses_);
     }
     if (trafficOptionCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeEnumSize(
-              5, ((java.lang.Integer) trafficOption_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, ((java.lang.Integer) trafficOption_));
     }
     if (trafficOptionCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.type.TimeOfDay) trafficOption_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.type.TimeOfDay) trafficOption_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -627,31 +528,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.CommuteFilter)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.CommuteFilter other =
-        (com.google.cloud.talent.v4beta1.CommuteFilter) obj;
+    com.google.cloud.talent.v4beta1.CommuteFilter other = (com.google.cloud.talent.v4beta1.CommuteFilter) obj;
 
     if (commuteMethod_ != other.commuteMethod_) return false;
     if (hasStartCoordinates() != other.hasStartCoordinates()) return false;
     if (hasStartCoordinates()) {
-      if (!getStartCoordinates().equals(other.getStartCoordinates())) return false;
+      if (!getStartCoordinates()
+          .equals(other.getStartCoordinates())) return false;
     }
     if (hasTravelDuration() != other.hasTravelDuration()) return false;
     if (hasTravelDuration()) {
-      if (!getTravelDuration().equals(other.getTravelDuration())) return false;
+      if (!getTravelDuration()
+          .equals(other.getTravelDuration())) return false;
     }
-    if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false;
+    if (getAllowImpreciseAddresses()
+        != other.getAllowImpreciseAddresses()) return false;
     if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false;
     switch (trafficOptionCase_) {
       case 5:
-        if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false;
+        if (getRoadTrafficValue()
+            != other.getRoadTrafficValue()) return false;
         break;
       case 6:
-        if (!getDepartureTime().equals(other.getDepartureTime())) return false;
+        if (!getDepartureTime()
+            .equals(other.getDepartureTime())) return false;
         break;
       case 0:
       default:
@@ -678,7 +583,8 @@ public int hashCode() {
       hash = (53 * hash) + getTravelDuration().hashCode();
     }
     hash = (37 * hash) + ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowImpreciseAddresses());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowImpreciseAddresses());
     switch (trafficOptionCase_) {
       case 5:
         hash = (37 * hash) + ROAD_TRAFFIC_FIELD_NUMBER;
@@ -696,136 +602,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.CommuteFilter prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Parameters needed for commute search.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CommuteFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CommuteFilter) com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CommuteFilter.class, - com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); + com.google.cloud.talent.v4beta1.CommuteFilter.class, com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -854,9 +754,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override @@ -875,8 +775,7 @@ public com.google.cloud.talent.v4beta1.CommuteFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { - com.google.cloud.talent.v4beta1.CommuteFilter result = - new com.google.cloud.talent.v4beta1.CommuteFilter(this); + com.google.cloud.talent.v4beta1.CommuteFilter result = new com.google.cloud.talent.v4beta1.CommuteFilter(this); result.commuteMethod_ = commuteMethod_; if (startCoordinatesBuilder_ == null) { result.startCoordinates_ = startCoordinates_; @@ -908,39 +807,38 @@ public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CommuteFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.CommuteFilter) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CommuteFilter)other); } else { super.mergeFrom(other); return this; @@ -962,20 +860,17 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CommuteFilter other) { setAllowImpreciseAddresses(other.getAllowImpreciseAddresses()); } switch (other.getTrafficOptionCase()) { - case ROAD_TRAFFIC: - { - setRoadTrafficValue(other.getRoadTrafficValue()); - break; - } - case DEPARTURE_TIME: - { - mergeDepartureTime(other.getDepartureTime()); - break; - } - case TRAFFICOPTION_NOT_SET: - { - break; - } + case ROAD_TRAFFIC: { + setRoadTrafficValue(other.getRoadTrafficValue()); + break; + } + case DEPARTURE_TIME: { + mergeDepartureTime(other.getDepartureTime()); + break; + } + case TRAFFICOPTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1003,51 +898,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - commuteMethod_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage( - getStartCoordinatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - allowImpreciseAddresses_ = input.readBool(); - - break; - } // case 32 - case 40: - { - int rawValue = input.readEnum(); - trafficOptionCase_ = 5; - trafficOption_ = rawValue; - break; - } // case 40 - case 50: - { - input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); - trafficOptionCase_ = 6; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + commuteMethod_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getStartCoordinatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + allowImpreciseAddresses_ = input.readBool(); + + break; + } // case 32 + case 40: { + int rawValue = input.readEnum(); + trafficOptionCase_ = 5; + trafficOption_ = rawValue; + break; + } // case 40 + case 50: { + input.readMessage( + getDepartureTimeFieldBuilder().getBuilder(), + extensionRegistry); + trafficOptionCase_ = 6; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1057,12 +950,12 @@ public Builder mergeFrom( } // finally return this; } - private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - - public TrafficOptionCase getTrafficOptionCase() { - return TrafficOptionCase.forNumber(trafficOptionCase_); + public TrafficOptionCase + getTrafficOptionCase() { + return TrafficOptionCase.forNumber( + trafficOptionCase_); } public Builder clearTrafficOption() { @@ -1072,75 +965,54 @@ public Builder clearTrafficOption() { return this; } + private int commuteMethod_ = 0; /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override - public int getCommuteMethodValue() { + @java.lang.Override public int getCommuteMethodValue() { return commuteMethod_; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for commuteMethod to set. * @return This builder for chaining. */ public Builder setCommuteMethodValue(int value) { - + commuteMethod_ = value; onChanged(); return this; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteMethod result = - com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4beta1.CommuteMethod result = com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4beta1.CommuteMethod.UNRECOGNIZED : result; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The commuteMethod to set. * @return This builder for chaining. */ @@ -1148,26 +1020,21 @@ public Builder setCommuteMethod(com.google.cloud.talent.v4beta1.CommuteMethod va if (value == null) { throw new NullPointerException(); } - + commuteMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearCommuteMethod() { - + commuteMethod_ = 0; onChanged(); return this; @@ -1175,56 +1042,42 @@ public Builder clearCommuteMethod() { private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - startCoordinatesBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ public boolean hasStartCoordinates() { return startCoordinatesBuilder_ != null || startCoordinates_ != null; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ public com.google.type.LatLng getStartCoordinates() { if (startCoordinatesBuilder_ == null) { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } else { return startCoordinatesBuilder_.getMessage(); } } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { @@ -1240,17 +1093,15 @@ public Builder setStartCoordinates(com.google.type.LatLng value) { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValue) { + public Builder setStartCoordinates( + com.google.type.LatLng.Builder builderForValue) { if (startCoordinatesBuilder_ == null) { startCoordinates_ = builderForValue.build(); onChanged(); @@ -1261,21 +1112,18 @@ public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValu return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { if (startCoordinates_ != null) { startCoordinates_ = - com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); + com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); } else { startCoordinates_ = value; } @@ -1287,15 +1135,12 @@ public Builder mergeStartCoordinates(com.google.type.LatLng value) { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStartCoordinates() { if (startCoordinatesBuilder_ == null) { @@ -1309,62 +1154,51 @@ public Builder clearStartCoordinates() { return this; } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.LatLng.Builder getStartCoordinatesBuilder() { - + onChanged(); return getStartCoordinatesFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { if (startCoordinatesBuilder_ != null) { return startCoordinatesBuilder_.getMessageOrBuilder(); } else { - return startCoordinates_ == null - ? com.google.type.LatLng.getDefaultInstance() - : startCoordinates_; + return startCoordinates_ == null ? + com.google.type.LatLng.getDefaultInstance() : startCoordinates_; } } /** - * - * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getStartCoordinatesFieldBuilder() { if (startCoordinatesBuilder_ == null) { - startCoordinatesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>( - getStartCoordinates(), getParentForChildren(), isClean()); + startCoordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getStartCoordinates(), + getParentForChildren(), + isClean()); startCoordinates_ = null; } return startCoordinatesBuilder_; @@ -1372,61 +1206,42 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - travelDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { @@ -1442,18 +1257,15 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTravelDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (travelDurationBuilder_ == null) { travelDuration_ = builderForValue.build(); onChanged(); @@ -1464,24 +1276,18 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { if (travelDuration_ != null) { travelDuration_ = - com.google.protobuf.Duration.newBuilder(travelDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial(); } else { travelDuration_ = value; } @@ -1493,16 +1299,12 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTravelDuration() { if (travelDurationBuilder_ == null) { @@ -1516,76 +1318,58 @@ public Builder clearTravelDuration() { return this; } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - + onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { if (travelDurationBuilder_ != null) { return travelDurationBuilder_.getMessageOrBuilder(); } else { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } } /** - * - * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getTravelDurationFieldBuilder() { if (travelDurationBuilder_ == null) { - travelDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTravelDuration(), getParentForChildren(), isClean()); + travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTravelDuration(), + getParentForChildren(), + isClean()); travelDuration_ = null; } return travelDurationBuilder_; } - private boolean allowImpreciseAddresses_; + private boolean allowImpreciseAddresses_ ; /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1595,7 +1379,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
      * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -1603,8 +1386,6 @@ public boolean getAllowImpreciseAddresses() { return allowImpreciseAddresses_; } /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1614,19 +1395,16 @@ public boolean getAllowImpreciseAddresses() {
      * 
* * bool allow_imprecise_addresses = 4; - * * @param value The allowImpreciseAddresses to set. * @return This builder for chaining. */ public Builder setAllowImpreciseAddresses(boolean value) { - + allowImpreciseAddresses_ = value; onChanged(); return this; } /** - * - * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1636,25 +1414,21 @@ public Builder setAllowImpreciseAddresses(boolean value) {
      * 
* * bool allow_imprecise_addresses = 4; - * * @return This builder for chaining. */ public Builder clearAllowImpreciseAddresses() { - + allowImpreciseAddresses_ = false; onChanged(); return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ @java.lang.Override @@ -1662,14 +1436,11 @@ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ @java.lang.Override @@ -1680,14 +1451,11 @@ public int getRoadTrafficValue() { return 0; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @param value The enum numeric value on the wire for roadTraffic to set. * @return This builder for chaining. */ @@ -1698,38 +1466,29 @@ public Builder setRoadTrafficValue(int value) { return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null - ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; } return com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @param value The roadTraffic to set. * @return This builder for chaining. */ @@ -1743,14 +1502,11 @@ public Builder setRoadTraffic(com.google.cloud.talent.v4beta1.CommuteFilter.Road return this; } /** - * - * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return This builder for chaining. */ public Builder clearRoadTraffic() { @@ -1763,13 +1519,8 @@ public Builder clearRoadTraffic() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, - com.google.type.TimeOfDay.Builder, - com.google.type.TimeOfDayOrBuilder> - departureTimeBuilder_; + com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> departureTimeBuilder_; /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1777,7 +1528,6 @@ public Builder clearRoadTraffic() {
      * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -1785,8 +1535,6 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1794,7 +1542,6 @@ public boolean hasDepartureTime() {
      * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ @java.lang.Override @@ -1812,8 +1559,6 @@ public com.google.type.TimeOfDay getDepartureTime() { } } /** - * - * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1836,8 +1581,6 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1846,7 +1589,8 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
      *
      * .google.type.TimeOfDay departure_time = 6;
      */
-    public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValue) {
+    public Builder setDepartureTime(
+        com.google.type.TimeOfDay.Builder builderForValue) {
       if (departureTimeBuilder_ == null) {
         trafficOption_ = builderForValue.build();
         onChanged();
@@ -1857,8 +1601,6 @@ public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1869,12 +1611,10 @@ public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValu
      */
     public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       if (departureTimeBuilder_ == null) {
-        if (trafficOptionCase_ == 6
-            && trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
-          trafficOption_ =
-              com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (trafficOptionCase_ == 6 &&
+            trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
+          trafficOption_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
+              .mergeFrom(value).buildPartial();
         } else {
           trafficOption_ = value;
         }
@@ -1890,8 +1630,6 @@ public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1917,8 +1655,6 @@ public Builder clearDepartureTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1931,8 +1667,6 @@ public com.google.type.TimeOfDay.Builder getDepartureTimeBuilder() {
       return getDepartureTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1953,8 +1687,6 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1964,30 +1696,26 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
      * .google.type.TimeOfDay departure_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.TimeOfDay,
-            com.google.type.TimeOfDay.Builder,
-            com.google.type.TimeOfDayOrBuilder>
+        com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
         getDepartureTimeFieldBuilder() {
       if (departureTimeBuilder_ == null) {
         if (!(trafficOptionCase_ == 6)) {
           trafficOption_ = com.google.type.TimeOfDay.getDefaultInstance();
         }
-        departureTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.TimeOfDay,
-                com.google.type.TimeOfDay.Builder,
-                com.google.type.TimeOfDayOrBuilder>(
-                (com.google.type.TimeOfDay) trafficOption_, getParentForChildren(), isClean());
+        departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                (com.google.type.TimeOfDay) trafficOption_,
+                getParentForChildren(),
+                isClean());
         trafficOption_ = null;
       }
       trafficOptionCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return departureTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1997,12 +1725,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CommuteFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CommuteFilter)
   private static final com.google.cloud.talent.v4beta1.CommuteFilter DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CommuteFilter();
   }
@@ -2011,27 +1739,27 @@ public static com.google.cloud.talent.v4beta1.CommuteFilter getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CommuteFilter parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CommuteFilter parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2046,4 +1774,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.CommuteFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
similarity index 78%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
index 69cb2fa664a2..db813e68004f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
@@ -1,142 +1,92 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/filters.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface CommuteFilterOrBuilder
-    extends
+public interface CommuteFilterOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CommuteFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for commuteMethod. */ int getCommuteMethodValue(); /** - * - * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The commuteMethod. */ com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the startCoordinates field is set. */ boolean hasStartCoordinates(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The startCoordinates. */ com.google.type.LatLng getStartCoordinates(); /** - * - * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** - * - * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder(); /** - * - * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -146,51 +96,39 @@ public interface CommuteFilterOrBuilder
    * 
* * bool allow_imprecise_addresses = 4; - * * @return The allowImpreciseAddresses. */ boolean getAllowImpreciseAddresses(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return Whether the roadTraffic field is set. */ boolean hasRoadTraffic(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The enum numeric value on the wire for roadTraffic. */ int getRoadTrafficValue(); /** - * - * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; - * * @return The roadTraffic. */ com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -198,13 +136,10 @@ public interface CommuteFilterOrBuilder
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -212,13 +147,10 @@ public interface CommuteFilterOrBuilder
    * 
* * .google.type.TimeOfDay departure_time = 6; - * * @return The departureTime. */ com.google.type.TimeOfDay getDepartureTime(); /** - * - * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
index d2ac39141d31..2e6c1e1f20db 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Method for commute.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CommuteMethod} */ -public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum CommuteMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Commute method isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ COMMUTE_METHOD_UNSPECIFIED(0), /** - * - * *
    * Commute time is calculated based on driving time.
    * 
@@ -49,8 +29,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ DRIVING(1), /** - * - * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -60,8 +38,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   TRANSIT(2),
   /**
-   *
-   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -70,8 +46,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ WALKING(3), /** - * - * *
    * Commute time is calculated based on biking time.
    * 
@@ -83,8 +57,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Commute method isn't specified.
    * 
@@ -93,8 +65,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Commute time is calculated based on driving time.
    * 
@@ -103,8 +73,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRIVING_VALUE = 1; /** - * - * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -114,8 +82,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TRANSIT_VALUE = 2;
   /**
-   *
-   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -124,8 +90,6 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WALKING_VALUE = 3; /** - * - * *
    * Commute time is calculated based on biking time.
    * 
@@ -134,6 +98,7 @@ public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CYCLING_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -158,53 +123,51 @@ public static CommuteMethod valueOf(int value) { */ public static CommuteMethod forNumber(int value) { switch (value) { - case 0: - return COMMUTE_METHOD_UNSPECIFIED; - case 1: - return DRIVING; - case 2: - return TRANSIT; - case 3: - return WALKING; - case 4: - return CYCLING; - default: - return null; + case 0: return COMMUTE_METHOD_UNSPECIFIED; + case 1: return DRIVING; + case 2: return TRANSIT; + case 3: return WALKING; + case 4: return CYCLING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CommuteMethod findValueByNumber(int number) { - return CommuteMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + CommuteMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CommuteMethod findValueByNumber(int number) { + return CommuteMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(9); } private static final CommuteMethod[] VALUES = values(); - public static CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CommuteMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -220,3 +183,4 @@ private CommuteMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CommuteMethod) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java similarity index 75% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java index 35d4d4ae0237..5e5fc1054f6a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * A Company resource represents a company in the service. A company is the
  * entity that owns job postings, that is, the hiring entity responsible for
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Company}
  */
-public final class Company extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Company extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Company)
     CompanyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Company.newBuilder() to construct.
   private Company(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Company() {
     name_ = "";
     displayName_ = "";
@@ -54,64 +36,54 @@ private Company() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Company();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CompanyResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CompanyResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Company.class,
-            com.google.cloud.talent.v4beta1.Company.Builder.class);
+            com.google.cloud.talent.v4beta1.Company.class, com.google.cloud.talent.v4beta1.Company.Builder.class);
   }
 
-  public interface DerivedInfoOrBuilder
-      extends
+  public interface DerivedInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Company.DerivedInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ boolean hasHeadquartersLocation(); /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return The headquartersLocation. */ com.google.cloud.talent.v4beta1.Location getHeadquartersLocation(); /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -122,64 +94,58 @@ public interface DerivedInfoOrBuilder
     com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Derived details about the company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Company.DerivedInfo} */ - public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DerivedInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Company.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DerivedInfo() {} + private DerivedInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); } public static final int HEADQUARTERS_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Location headquartersLocation_; /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ @java.lang.Override @@ -187,26 +153,19 @@ public boolean hasHeadquartersLocation() { return headquartersLocation_ != null; } /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return The headquartersLocation. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location getHeadquartersLocation() { - return headquartersLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : headquartersLocation_; + return headquartersLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_; } /** - * - * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -220,7 +179,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -232,7 +190,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (headquartersLocation_ != null) {
         output.writeMessage(1, getHeadquartersLocation());
       }
@@ -246,8 +205,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (headquartersLocation_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeadquartersLocation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getHeadquartersLocation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -257,17 +216,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.Company.DerivedInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.Company.DerivedInfo other =
-          (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj;
+      com.google.cloud.talent.v4beta1.Company.DerivedInfo other = (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj;
 
       if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
       if (hasHeadquartersLocation()) {
-        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
+        if (!getHeadquartersLocation()
+            .equals(other.getHeadquartersLocation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -290,94 +249,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.Company.DerivedInfo prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.Company.DerivedInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -387,41 +339,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Derived details about the company.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Company.DerivedInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Company.DerivedInfo) com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +385,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto - .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override @@ -456,8 +406,7 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { - com.google.cloud.talent.v4beta1.Company.DerivedInfo result = - new com.google.cloud.talent.v4beta1.Company.DerivedInfo(this); + com.google.cloud.talent.v4beta1.Company.DerivedInfo result = new com.google.cloud.talent.v4beta1.Company.DerivedInfo(this); if (headquartersLocationBuilder_ == null) { result.headquartersLocation_ = headquartersLocation_; } else { @@ -471,41 +420,38 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Company.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Company.DerivedInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Company.DerivedInfo)other); } else { super.mergeFrom(other); return this; @@ -513,8 +459,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Company.DerivedInfo other) { - if (other == com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance()) return this; if (other.hasHeadquartersLocation()) { mergeHeadquartersLocation(other.getHeadquartersLocation()); } @@ -544,20 +489,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getHeadquartersLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getHeadquartersLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,49 +514,36 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> - headquartersLocationBuilder_; + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> headquartersLocationBuilder_; /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return Whether the headquartersLocation field is set. */ public boolean hasHeadquartersLocation() { return headquartersLocationBuilder_ != null || headquartersLocation_ != null; } /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; - * * @return The headquartersLocation. */ public com.google.cloud.talent.v4beta1.Location getHeadquartersLocation() { if (headquartersLocationBuilder_ == null) { - return headquartersLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : headquartersLocation_; + return headquartersLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_; } else { return headquartersLocationBuilder_.getMessage(); } } /** - * - * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -634,8 +565,6 @@ public Builder setHeadquartersLocation(com.google.cloud.talent.v4beta1.Location
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -655,8 +584,6 @@ public Builder setHeadquartersLocation(
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -668,9 +595,7 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4beta1.Locatio
         if (headquartersLocationBuilder_ == null) {
           if (headquartersLocation_ != null) {
             headquartersLocation_ =
-                com.google.cloud.talent.v4beta1.Location.newBuilder(headquartersLocation_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4beta1.Location.newBuilder(headquartersLocation_).mergeFrom(value).buildPartial();
           } else {
             headquartersLocation_ = value;
           }
@@ -682,8 +607,6 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4beta1.Locatio
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -703,8 +626,6 @@ public Builder clearHeadquartersLocation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -713,13 +634,11 @@ public Builder clearHeadquartersLocation() {
        * .google.cloud.talent.v4beta1.Location headquarters_location = 1;
        */
       public com.google.cloud.talent.v4beta1.Location.Builder getHeadquartersLocationBuilder() {
-
+        
         onChanged();
         return getHeadquartersLocationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -731,14 +650,11 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
         if (headquartersLocationBuilder_ != null) {
           return headquartersLocationBuilder_.getMessageOrBuilder();
         } else {
-          return headquartersLocation_ == null
-              ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance()
-              : headquartersLocation_;
+          return headquartersLocation_ == null ?
+              com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_;
         }
       }
       /**
-       *
-       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -747,22 +663,18 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
        * .google.cloud.talent.v4beta1.Location headquarters_location = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Location,
-              com.google.cloud.talent.v4beta1.Location.Builder,
-              com.google.cloud.talent.v4beta1.LocationOrBuilder>
+          com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
           getHeadquartersLocationFieldBuilder() {
         if (headquartersLocationBuilder_ == null) {
-          headquartersLocationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4beta1.Location,
-                  com.google.cloud.talent.v4beta1.Location.Builder,
-                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
-                  getHeadquartersLocation(), getParentForChildren(), isClean());
+          headquartersLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+                  getHeadquartersLocation(),
+                  getParentForChildren(),
+                  isClean());
           headquartersLocation_ = null;
         }
         return headquartersLocationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -775,12 +687,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Company.DerivedInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Company.DerivedInfo)
     private static final com.google.cloud.talent.v4beta1.Company.DerivedInfo DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Company.DerivedInfo();
     }
@@ -789,28 +701,27 @@ public static com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DerivedInfo parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DerivedInfo parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -825,13 +736,12 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -844,7 +754,6 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceFor
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -853,15 +762,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -874,15 +782,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -893,14 +802,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -909,29 +815,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -942,8 +848,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int EXTERNAL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object externalId_; /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -951,7 +855,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ @java.lang.Override @@ -960,15 +863,14 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -976,15 +878,16 @@ public java.lang.String getExternalId() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -995,44 +898,33 @@ public com.google.protobuf.ByteString getExternalIdBytes() { public static final int SIZE_FIELD_NUMBER = 4; private int size_; /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ - @java.lang.Override - public int getSizeValue() { + @java.lang.Override public int getSizeValue() { return size_; } /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The size. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompanySize getSize() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompanySize result = - com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); + com.google.cloud.talent.v4beta1.CompanySize result = com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4beta1.CompanySize.UNRECOGNIZED : result; } public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER = 5; private volatile java.lang.Object headquartersAddress_; /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -1041,7 +933,6 @@ public com.google.cloud.talent.v4beta1.CompanySize getSize() {
    * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ @java.lang.Override @@ -1050,15 +941,14 @@ public java.lang.String getHeadquartersAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; } } /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -1067,15 +957,16 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString + getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -1086,8 +977,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() { public static final int HIRING_AGENCY_FIELD_NUMBER = 6; private boolean hiringAgency_; /** - * - * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -1095,7 +984,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() {
    * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ @java.lang.Override @@ -1106,8 +994,6 @@ public boolean getHiringAgency() { public static final int EEO_TEXT_FIELD_NUMBER = 7; private volatile java.lang.Object eeoText_; /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1116,7 +1002,6 @@ public boolean getHiringAgency() {
    * 
* * string eeo_text = 7; - * * @return The eeoText. */ @java.lang.Override @@ -1125,15 +1010,14 @@ public java.lang.String getEeoText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; } } /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1142,15 +1026,16 @@ public java.lang.String getEeoText() {
    * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ @java.lang.Override - public com.google.protobuf.ByteString getEeoTextBytes() { + public com.google.protobuf.ByteString + getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eeoText_ = b; return b; } else { @@ -1161,8 +1046,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() { public static final int WEBSITE_URI_FIELD_NUMBER = 8; private volatile java.lang.Object websiteUri_; /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1170,7 +1053,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() {
    * 
* * string website_uri = 8; - * * @return The websiteUri. */ @java.lang.Override @@ -1179,15 +1061,14 @@ public java.lang.String getWebsiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; } } /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1195,15 +1076,16 @@ public java.lang.String getWebsiteUri() {
    * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString getWebsiteUriBytes() { + public com.google.protobuf.ByteString + getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -1214,15 +1096,12 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() { public static final int CAREER_SITE_URI_FIELD_NUMBER = 9; private volatile java.lang.Object careerSiteUri_; /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ @java.lang.Override @@ -1231,30 +1110,30 @@ public java.lang.String getCareerSiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; } } /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString getCareerSiteUriBytes() { + public com.google.protobuf.ByteString + getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -1265,14 +1144,11 @@ public com.google.protobuf.ByteString getCareerSiteUriBytes() { public static final int IMAGE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object imageUri_; /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The imageUri. */ @java.lang.Override @@ -1281,29 +1157,29 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -1314,8 +1190,6 @@ public com.google.protobuf.ByteString getImageUriBytes() { public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_; /** - * - * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1328,18 +1202,15 @@ public com.google.protobuf.ByteString getImageUriBytes() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_; } /** - * - * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1352,18 +1223,14 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated - public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** - * - * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1376,19 +1243,15 @@ public int getKeywordSearchableJobCustomAttributesCount() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated - public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** - * - * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1401,30 +1264,24 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } public static final int DERIVED_INFO_FIELD_NUMBER = 12; private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -1432,34 +1289,23 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -1469,8 +1315,6 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn public static final int SUSPENDED_FIELD_NUMBER = 13; private boolean suspended_; /** - * - * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -1478,7 +1322,6 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ @java.lang.Override @@ -1487,7 +1330,6 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1499,7 +1341,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1531,8 +1374,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageUri_); } for (int i = 0; i < keywordSearchableJobCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); } if (derivedInfo_ != null) { output.writeMessage(12, getDerivedInfo()); @@ -1559,13 +1401,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalId_); } if (size_ != com.google.cloud.talent.v4beta1.CompanySize.COMPANY_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, size_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headquartersAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, headquartersAddress_); } if (hiringAgency_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hiringAgency_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, hiringAgency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eeoText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eeoText_); @@ -1588,10 +1432,12 @@ public int getSerializedSize() { size += 1 * getKeywordSearchableJobCustomAttributesList().size(); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDerivedInfo()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, suspended_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1601,30 +1447,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Company)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Company other = (com.google.cloud.talent.v4beta1.Company) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getExternalId().equals(other.getExternalId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getExternalId() + .equals(other.getExternalId())) return false; if (size_ != other.size_) return false; - if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; - if (getHiringAgency() != other.getHiringAgency()) return false; - if (!getEeoText().equals(other.getEeoText())) return false; - if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; - if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; - if (!getImageUri().equals(other.getImageUri())) return false; + if (!getHeadquartersAddress() + .equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() + != other.getHiringAgency()) return false; + if (!getEeoText() + .equals(other.getEeoText())) return false; + if (!getWebsiteUri() + .equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri() + .equals(other.getCareerSiteUri())) return false; + if (!getImageUri() + .equals(other.getImageUri())) return false; if (!getKeywordSearchableJobCustomAttributesList() .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo() + .equals(other.getDerivedInfo())) return false; } - if (getSuspended() != other.getSuspended()) return false; + if (getSuspended() + != other.getSuspended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1647,7 +1504,8 @@ public int hashCode() { hash = (37 * hash) + HEADQUARTERS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getHeadquartersAddress().hashCode(); hash = (37 * hash) + HIRING_AGENCY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHiringAgency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHiringAgency()); hash = (37 * hash) + EEO_TEXT_FIELD_NUMBER; hash = (53 * hash) + getEeoText().hashCode(); hash = (37 * hash) + WEBSITE_URI_FIELD_NUMBER; @@ -1665,110 +1523,104 @@ public int hashCode() { hash = (53 * hash) + getDerivedInfo().hashCode(); } hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuspended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.Company parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Company parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Company prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Company resource represents a company in the service. A company is the
    * entity that owns job postings, that is, the hiring entity responsible for
@@ -1777,32 +1629,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Company}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Company)
       com.google.cloud.talent.v4beta1.CompanyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Company.class,
-              com.google.cloud.talent.v4beta1.Company.Builder.class);
+              com.google.cloud.talent.v4beta1.Company.class, com.google.cloud.talent.v4beta1.Company.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Company.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1840,9 +1693,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
     }
 
     @java.lang.Override
@@ -1861,8 +1714,7 @@ public com.google.cloud.talent.v4beta1.Company build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.Company buildPartial() {
-      com.google.cloud.talent.v4beta1.Company result =
-          new com.google.cloud.talent.v4beta1.Company(this);
+      com.google.cloud.talent.v4beta1.Company result = new com.google.cloud.talent.v4beta1.Company(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1875,8 +1727,7 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() {
       result.careerSiteUri_ = careerSiteUri_;
       result.imageUri_ = imageUri_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableJobCustomAttributes_ =
-            keywordSearchableJobCustomAttributes_.getUnmodifiableView();
+        keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_;
@@ -1894,39 +1745,38 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Company) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Company) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Company)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2015,92 +1865,80 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                externalId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              externalId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                size_ = input.readEnum();
+              break;
+            } // case 26
+            case 32: {
+              size_ = input.readEnum();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                headquartersAddress_ = input.readStringRequireUtf8();
+              break;
+            } // case 32
+            case 42: {
+              headquartersAddress_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 48:
-              {
-                hiringAgency_ = input.readBool();
+              break;
+            } // case 42
+            case 48: {
+              hiringAgency_ = input.readBool();
 
-                break;
-              } // case 48
-            case 58:
-              {
-                eeoText_ = input.readStringRequireUtf8();
+              break;
+            } // case 48
+            case 58: {
+              eeoText_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 58
-            case 66:
-              {
-                websiteUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 58
+            case 66: {
+              websiteUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 66
-            case 74:
-              {
-                careerSiteUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 66
+            case 74: {
+              careerSiteUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 74
-            case 82:
-              {
-                imageUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 74
+            case 82: {
+              imageUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 82
-            case 90:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureKeywordSearchableJobCustomAttributesIsMutable();
-                keywordSearchableJobCustomAttributes_.add(s);
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 82
+            case 90: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureKeywordSearchableJobCustomAttributesIsMutable();
+              keywordSearchableJobCustomAttributes_.add(s);
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getDerivedInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 98
-            case 104:
-              {
-                suspended_ = input.readBool();
+              break;
+            } // case 98
+            case 104: {
+              suspended_ = input.readBool();
 
-                break;
-              } // case 104
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 104
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2110,13 +1948,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2129,13 +1964,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2144,8 +1979,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2158,14 +1991,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2173,8 +2007,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2187,22 +2019,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2215,18 +2045,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2239,16 +2066,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2256,20 +2083,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2278,21 +2103,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -2300,61 +2124,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2362,8 +2179,6 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalId_ = ""; /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2371,13 +2186,13 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -2386,8 +2201,6 @@ public java.lang.String getExternalId() { } } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2395,14 +2208,15 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -2410,8 +2224,6 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2419,22 +2231,20 @@ public com.google.protobuf.ByteString getExternalIdBytes() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId(java.lang.String value) { + public Builder setExternalId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2442,18 +2252,15 @@ public Builder setExternalId(java.lang.String value) {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** - * - * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2461,16 +2268,16 @@ public Builder clearExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -2478,65 +2285,51 @@ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { private int size_ = 0; /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ - @java.lang.Override - public int getSizeValue() { + @java.lang.Override public int getSizeValue() { return size_; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @param value The enum numeric value on the wire for size to set. * @return This builder for chaining. */ public Builder setSizeValue(int value) { - + size_ = value; onChanged(); return this; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The size. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompanySize result = - com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); + com.google.cloud.talent.v4beta1.CompanySize result = com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4beta1.CompanySize.UNRECOGNIZED : result; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @param value The size to set. * @return This builder for chaining. */ @@ -2544,24 +2337,21 @@ public Builder setSize(com.google.cloud.talent.v4beta1.CompanySize value) { if (value == null) { throw new NullPointerException(); } - + size_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0; onChanged(); return this; @@ -2569,8 +2359,6 @@ public Builder clearSize() { private java.lang.Object headquartersAddress_ = ""; /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2579,13 +2367,13 @@ public Builder clearSize() {
      * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ public java.lang.String getHeadquartersAddress() { java.lang.Object ref = headquartersAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; @@ -2594,8 +2382,6 @@ public java.lang.String getHeadquartersAddress() { } } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2604,14 +2390,15 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ - public com.google.protobuf.ByteString getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString + getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -2619,8 +2406,6 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() { } } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2629,22 +2414,20 @@ public com.google.protobuf.ByteString getHeadquartersAddressBytes() {
      * 
* * string headquarters_address = 5; - * * @param value The headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddress(java.lang.String value) { + public Builder setHeadquartersAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + headquartersAddress_ = value; onChanged(); return this; } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2653,18 +2436,15 @@ public Builder setHeadquartersAddress(java.lang.String value) {
      * 
* * string headquarters_address = 5; - * * @return This builder for chaining. */ public Builder clearHeadquartersAddress() { - + headquartersAddress_ = getDefaultInstance().getHeadquartersAddress(); onChanged(); return this; } /** - * - * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2673,25 +2453,23 @@ public Builder clearHeadquartersAddress() {
      * 
* * string headquarters_address = 5; - * * @param value The bytes for headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value) { + public Builder setHeadquartersAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + headquartersAddress_ = value; onChanged(); return this; } - private boolean hiringAgency_; + private boolean hiringAgency_ ; /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2699,7 +2477,6 @@ public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value)
      * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ @java.lang.Override @@ -2707,8 +2484,6 @@ public boolean getHiringAgency() { return hiringAgency_; } /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2716,19 +2491,16 @@ public boolean getHiringAgency() {
      * 
* * bool hiring_agency = 6; - * * @param value The hiringAgency to set. * @return This builder for chaining. */ public Builder setHiringAgency(boolean value) { - + hiringAgency_ = value; onChanged(); return this; } /** - * - * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2736,11 +2508,10 @@ public Builder setHiringAgency(boolean value) {
      * 
* * bool hiring_agency = 6; - * * @return This builder for chaining. */ public Builder clearHiringAgency() { - + hiringAgency_ = false; onChanged(); return this; @@ -2748,8 +2519,6 @@ public Builder clearHiringAgency() { private java.lang.Object eeoText_ = ""; /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2758,13 +2527,13 @@ public Builder clearHiringAgency() {
      * 
* * string eeo_text = 7; - * * @return The eeoText. */ public java.lang.String getEeoText() { java.lang.Object ref = eeoText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; @@ -2773,8 +2542,6 @@ public java.lang.String getEeoText() { } } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2783,14 +2550,15 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ - public com.google.protobuf.ByteString getEeoTextBytes() { + public com.google.protobuf.ByteString + getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); eeoText_ = b; return b; } else { @@ -2798,8 +2566,6 @@ public com.google.protobuf.ByteString getEeoTextBytes() { } } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2808,22 +2574,20 @@ public com.google.protobuf.ByteString getEeoTextBytes() {
      * 
* * string eeo_text = 7; - * * @param value The eeoText to set. * @return This builder for chaining. */ - public Builder setEeoText(java.lang.String value) { + public Builder setEeoText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eeoText_ = value; onChanged(); return this; } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2832,18 +2596,15 @@ public Builder setEeoText(java.lang.String value) {
      * 
* * string eeo_text = 7; - * * @return This builder for chaining. */ public Builder clearEeoText() { - + eeoText_ = getDefaultInstance().getEeoText(); onChanged(); return this; } /** - * - * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2852,16 +2613,16 @@ public Builder clearEeoText() {
      * 
* * string eeo_text = 7; - * * @param value The bytes for eeoText to set. * @return This builder for chaining. */ - public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { + public Builder setEeoTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eeoText_ = value; onChanged(); return this; @@ -2869,8 +2630,6 @@ public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object websiteUri_ = ""; /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2878,13 +2637,13 @@ public Builder setEeoTextBytes(com.google.protobuf.ByteString value) {
      * 
* * string website_uri = 8; - * * @return The websiteUri. */ public java.lang.String getWebsiteUri() { java.lang.Object ref = websiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; @@ -2893,8 +2652,6 @@ public java.lang.String getWebsiteUri() { } } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2902,14 +2659,15 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ - public com.google.protobuf.ByteString getWebsiteUriBytes() { + public com.google.protobuf.ByteString + getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -2917,8 +2675,6 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() { } } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2926,22 +2682,20 @@ public com.google.protobuf.ByteString getWebsiteUriBytes() {
      * 
* * string website_uri = 8; - * * @param value The websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUri(java.lang.String value) { + public Builder setWebsiteUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + websiteUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2949,18 +2703,15 @@ public Builder setWebsiteUri(java.lang.String value) {
      * 
* * string website_uri = 8; - * * @return This builder for chaining. */ public Builder clearWebsiteUri() { - + websiteUri_ = getDefaultInstance().getWebsiteUri(); onChanged(); return this; } /** - * - * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2968,16 +2719,16 @@ public Builder clearWebsiteUri() {
      * 
* * string website_uri = 8; - * * @param value The bytes for websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { + public Builder setWebsiteUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + websiteUri_ = value; onChanged(); return this; @@ -2985,21 +2736,19 @@ public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object careerSiteUri_ = ""; /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ public java.lang.String getCareerSiteUri() { java.lang.Object ref = careerSiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; @@ -3008,22 +2757,21 @@ public java.lang.String getCareerSiteUri() { } } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ - public com.google.protobuf.ByteString getCareerSiteUriBytes() { + public com.google.protobuf.ByteString + getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -3031,64 +2779,57 @@ public com.google.protobuf.ByteString getCareerSiteUriBytes() { } } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @param value The careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUri(java.lang.String value) { + public Builder setCareerSiteUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + careerSiteUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @return This builder for chaining. */ public Builder clearCareerSiteUri() { - + careerSiteUri_ = getDefaultInstance().getCareerSiteUri(); onChanged(); return this; } /** - * - * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; - * * @param value The bytes for careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { + public Builder setCareerSiteUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + careerSiteUri_ = value; onChanged(); return this; @@ -3096,20 +2837,18 @@ public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageUri_ = ""; /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -3118,21 +2857,20 @@ public java.lang.String getImageUri() { } } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -3140,79 +2878,67 @@ public com.google.protobuf.ByteString getImageUriBytes() { } } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri(java.lang.String value) { + public Builder setImageUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** - * - * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; - * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes(com.google.protobuf.ByteString value) { + public Builder setImageUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeywordSearchableJobCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableJobCustomAttributes_ = - new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); + keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3224,20 +2950,16 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3249,20 +2971,15 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttri
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated - public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3274,21 +2991,16 @@ public int getKeywordSearchableJobCustomAttributesCount() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated - public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3300,21 +3012,17 @@ public java.lang.String getKeywordSearchableJobCustomAttributes(int index) {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3326,28 +3034,24 @@ public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesByt
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index to set the value at. * @param value The keywordSearchableJobCustomAttributes to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setKeywordSearchableJobCustomAttributes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.set(index, value); onChanged(); return this; } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3359,27 +3063,23 @@ public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.Stri
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param value The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) { + @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); return this; } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3391,16 +3091,13 @@ public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param values The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllKeywordSearchableJobCustomAttributes( + @java.lang.Deprecated public Builder addAllKeywordSearchableJobCustomAttributes( java.lang.Iterable values) { ensureKeywordSearchableJobCustomAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3409,8 +3106,6 @@ public Builder addAllKeywordSearchableJobCustomAttributes( return this; } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3422,23 +3117,18 @@ public Builder addAllKeywordSearchableJobCustomAttributes(
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearKeywordSearchableJobCustomAttributes() { + @java.lang.Deprecated public Builder clearKeywordSearchableJobCustomAttributes() { keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** - * - * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3450,21 +3140,18 @@ public Builder clearKeywordSearchableJobCustomAttributes() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param value The bytes of the keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addKeywordSearchableJobCustomAttributesBytes( + @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); @@ -3473,58 +3160,39 @@ public Builder addKeywordSearchableJobCustomAttributesBytes( private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> - derivedInfoBuilder_; + com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> derivedInfoBuilder_; /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -3540,15 +3208,11 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInf return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo( com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder builderForValue) { @@ -3562,23 +3226,17 @@ public Builder setDerivedInfo( return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder(derivedInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); } else { derivedInfo_ = value; } @@ -3590,15 +3248,11 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedI return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -3612,73 +3266,55 @@ public Builder clearDerivedInfo() { return this; } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? + com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; } } /** - * - * *
      * Output only. Derived details about the company.
      * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> + com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, - com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder>( - getDerivedInfo(), getParentForChildren(), isClean()); + derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder>( + getDerivedInfo(), + getParentForChildren(), + isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; } - private boolean suspended_; + private boolean suspended_ ; /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3686,7 +3322,6 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ @java.lang.Override @@ -3694,8 +3329,6 @@ public boolean getSuspended() { return suspended_; } /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3703,19 +3336,16 @@ public boolean getSuspended() {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The suspended to set. * @return This builder for chaining. */ public Builder setSuspended(boolean value) { - + suspended_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3723,18 +3353,17 @@ public Builder setSuspended(boolean value) {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSuspended() { - + suspended_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3744,12 +3373,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Company) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Company) private static final com.google.cloud.talent.v4beta1.Company DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Company(); } @@ -3758,27 +3387,27 @@ public static com.google.cloud.talent.v4beta1.Company getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Company parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Company parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3793,4 +3422,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Company getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java similarity index 80% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java index cf1a85ae296c..107985724e1b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company.proto package com.google.cloud.talent.v4beta1; -public interface CompanyOrBuilder - extends +public interface CompanyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Company) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -38,13 +20,10 @@ public interface CompanyOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -57,39 +36,32 @@ public interface CompanyOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -97,13 +69,10 @@ public interface CompanyOrBuilder
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ java.lang.String getExternalId(); /** - * - * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -111,39 +80,31 @@ public interface CompanyOrBuilder
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - com.google.protobuf.ByteString getExternalIdBytes(); + com.google.protobuf.ByteString + getExternalIdBytes(); /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The enum numeric value on the wire for size. */ int getSizeValue(); /** - * - * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; - * * @return The size. */ com.google.cloud.talent.v4beta1.CompanySize getSize(); /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -152,13 +113,10 @@ public interface CompanyOrBuilder
    * 
* * string headquarters_address = 5; - * * @return The headquartersAddress. */ java.lang.String getHeadquartersAddress(); /** - * - * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -167,14 +125,12 @@ public interface CompanyOrBuilder
    * 
* * string headquarters_address = 5; - * * @return The bytes for headquartersAddress. */ - com.google.protobuf.ByteString getHeadquartersAddressBytes(); + com.google.protobuf.ByteString + getHeadquartersAddressBytes(); /** - * - * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -182,14 +138,11 @@ public interface CompanyOrBuilder
    * 
* * bool hiring_agency = 6; - * * @return The hiringAgency. */ boolean getHiringAgency(); /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -198,13 +151,10 @@ public interface CompanyOrBuilder
    * 
* * string eeo_text = 7; - * * @return The eeoText. */ java.lang.String getEeoText(); /** - * - * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -213,14 +163,12 @@ public interface CompanyOrBuilder
    * 
* * string eeo_text = 7; - * * @return The bytes for eeoText. */ - com.google.protobuf.ByteString getEeoTextBytes(); + com.google.protobuf.ByteString + getEeoTextBytes(); /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -228,13 +176,10 @@ public interface CompanyOrBuilder
    * 
* * string website_uri = 8; - * * @return The websiteUri. */ java.lang.String getWebsiteUri(); /** - * - * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -242,66 +187,54 @@ public interface CompanyOrBuilder
    * 
* * string website_uri = 8; - * * @return The bytes for websiteUri. */ - com.google.protobuf.ByteString getWebsiteUriBytes(); + com.google.protobuf.ByteString + getWebsiteUriBytes(); /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The careerSiteUri. */ java.lang.String getCareerSiteUri(); /** - * - * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; - * * @return The bytes for careerSiteUri. */ - com.google.protobuf.ByteString getCareerSiteUriBytes(); + com.google.protobuf.ByteString + getCareerSiteUriBytes(); /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The imageUri. */ java.lang.String getImageUri(); /** - * - * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; - * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString getImageUriBytes(); + com.google.protobuf.ByteString + getImageUriBytes(); /** - * - * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -314,16 +247,13 @@ public interface CompanyOrBuilder
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated - java.util.List getKeywordSearchableJobCustomAttributesList(); + @java.lang.Deprecated java.util.List + getKeywordSearchableJobCustomAttributesList(); /** - * - * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -336,16 +266,12 @@ public interface CompanyOrBuilder
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated - int getKeywordSearchableJobCustomAttributesCount(); + @java.lang.Deprecated int getKeywordSearchableJobCustomAttributesCount(); /** - * - * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -358,17 +284,13 @@ public interface CompanyOrBuilder
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated - java.lang.String getKeywordSearchableJobCustomAttributes(int index); + @java.lang.Deprecated java.lang.String getKeywordSearchableJobCustomAttributes(int index); /** - * - * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -381,59 +303,42 @@ public interface CompanyOrBuilder
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is - * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. + * See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getKeywordSearchableJobCustomAttributesBytes(int index); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo(); /** - * - * *
    * Output only. Derived details about the company.
    * 
* - * - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** - * - * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -441,7 +346,6 @@ public interface CompanyOrBuilder
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The suspended. */ boolean getSuspended(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java new file mode 100644 index 000000000000..f97ecddad09d --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java @@ -0,0 +1,92 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/company.proto + +package com.google.cloud.talent.v4beta1; + +public final class CompanyResourceProto { + private CompanyResourceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Company_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/talent/v4beta1/company.pr" + + "oto\022\033google.cloud.talent.v4beta1\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032(google/cloud/talent/v4beta" + + "1/common.proto\"\200\005\n\007Company\022\014\n\004name\030\001 \001(\t" + + "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013external_" + + "id\030\003 \001(\tB\003\340A\002\0226\n\004size\030\004 \001(\0162(.google.clo" + + "ud.talent.v4beta1.CompanySize\022\034\n\024headqua" + + "rters_address\030\005 \001(\t\022\025\n\rhiring_agency\030\006 \001" + + "(\010\022\020\n\010eeo_text\030\007 \001(\t\022\023\n\013website_uri\030\010 \001(" + + "\t\022\027\n\017career_site_uri\030\t \001(\t\022\021\n\timage_uri\030" + + "\n \001(\t\0224\n(keyword_searchable_job_custom_a" + + "ttributes\030\013 \003(\tB\002\030\001\022K\n\014derived_info\030\014 \001(" + + "\01320.google.cloud.talent.v4beta1.Company." + + "DerivedInfoB\003\340A\003\022\026\n\tsuspended\030\r \001(\010B\003\340A\003" + + "\032S\n\013DerivedInfo\022D\n\025headquarters_location" + + "\030\001 \001(\0132%.google.cloud.talent.v4beta1.Loc" + + "ation:\201\001\352A~\n\033jobs.googleapis.com/Company" + + "\0227projects/{project}/tenants/{tenant}/co" + + "mpanies/{company}\022&projects/{project}/co" + + "mpanies/{company}B\202\001\n\037com.google.cloud.t" + + "alent.v4beta1B\024CompanyResourceProtoP\001ZAg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Company_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Company_descriptor, + new java.lang.String[] { "Name", "DisplayName", "ExternalId", "Size", "HeadquartersAddress", "HiringAgency", "EeoText", "WebsiteUri", "CareerSiteUri", "ImageUri", "KeywordSearchableJobCustomAttributes", "DerivedInfo", "Suspended", }); + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Company_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor, + new java.lang.String[] { "HeadquartersLocation", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java new file mode 100644 index 000000000000..85748caf2c0f --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java @@ -0,0 +1,188 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/company_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class CompanyServiceProto { + private CompanyServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/talent/v4beta1/company_se" + + "rvice.proto\022\033google.cloud.talent.v4beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032(goo" + + "gle/cloud/talent/v4beta1/common.proto\032)g" + + "oogle/cloud/talent/v4beta1/company.proto" + + "\032\033google/protobuf/empty.proto\032 google/pr" + + "otobuf/field_mask.proto\"\207\001\n\024CreateCompan" + + "yRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\022\033jobs.g" + + "oogleapis.com/Company\022:\n\007company\030\002 \001(\0132$" + + ".google.cloud.talent.v4beta1.CompanyB\003\340A" + + "\002\"F\n\021GetCompanyRequest\0221\n\004name\030\001 \001(\tB#\340A" + + "\002\372A\035\n\033jobs.googleapis.com/Company\"\203\001\n\024Up" + + "dateCompanyRequest\022:\n\007company\030\001 \001(\0132$.go" + + "ogle.cloud.talent.v4beta1.CompanyB\003\340A\002\022/" + + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMask\"I\n\024DeleteCompanyRequest\0221\n\004name\030" + + "\001 \001(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Compa" + + "ny\"\215\001\n\024ListCompaniesRequest\0223\n\006parent\030\001 " + + "\001(\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company" + + "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" + + "\031\n\021require_open_jobs\030\004 \001(\010\"\252\001\n\025ListCompa" + + "niesResponse\0227\n\tcompanies\030\001 \003(\0132$.google" + + ".cloud.talent.v4beta1.Company\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.googl" + + "e.cloud.talent.v4beta1.ResponseMetadata2" + + "\322\t\n\016CompanyService\022\343\001\n\rCreateCompany\0221.g" + + "oogle.cloud.talent.v4beta1.CreateCompany" + + "Request\032$.google.cloud.talent.v4beta1.Co" + + "mpany\"y\202\323\344\223\002b\"0/v4beta1/{parent=projects" + + "/*/tenants/*}/companies:\001*Z+\"&/v4beta1/{" + + "parent=projects/*}/companies:\001*\332A\016parent" + + ",company\022\315\001\n\nGetCompany\022..google.cloud.t" + + "alent.v4beta1.GetCompanyRequest\032$.google" + + ".cloud.talent.v4beta1.Company\"i\202\323\344\223\002\\\0220/" + + "v4beta1/{name=projects/*/tenants/*/compa" + + "nies/*}Z(\022&/v4beta1/{name=projects/*/com" + + "panies/*}\332A\004name\022\355\001\n\rUpdateCompany\0221.goo" + + "gle.cloud.talent.v4beta1.UpdateCompanyRe" + + "quest\032$.google.cloud.talent.v4beta1.Comp" + + "any\"\202\001\202\323\344\223\002r28/v4beta1/{company.name=pro" + + "jects/*/tenants/*/companies/*}:\001*Z32./v4" + + "beta1/{company.name=projects/*/companies" + + "/*}:\001*\332A\007company\022\305\001\n\rDeleteCompany\0221.goo" + + "gle.cloud.talent.v4beta1.DeleteCompanyRe" + + "quest\032\026.google.protobuf.Empty\"i\202\323\344\223\002\\*0/" + + "v4beta1/{name=projects/*/tenants/*/compa" + + "nies/*}Z(*&/v4beta1/{name=projects/*/com" + + "panies/*}\332A\004name\022\343\001\n\rListCompanies\0221.goo" + + "gle.cloud.talent.v4beta1.ListCompaniesRe" + + "quest\0322.google.cloud.talent.v4beta1.List" + + "CompaniesResponse\"k\202\323\344\223\002\\\0220/v4beta1/{par" + + "ent=projects/*/tenants/*}/companiesZ(\022&/" + + "v4beta1/{parent=projects/*}/companies\332A\006" + + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + + "/www.googleapis.com/auth/cloud-platform," + + "https://www.googleapis.com/auth/jobsB\201\001\n" + + "\037com.google.cloud.talent.v4beta1B\023Compan" + + "yServiceProtoP\001ZAgoogle.golang.org/genpr" + + "oto/googleapis/cloud/talent/v4beta1;tale" + + "nt\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor, + new java.lang.String[] { "Parent", "Company", }); + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor, + new java.lang.String[] { "Company", "UpdateMask", }); + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", "RequireOpenJobs", }); + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor, + new java.lang.String[] { "Companies", "NextPageToken", "Metadata", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java index 2516f3abd629..59c4a40ecd3e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents the size of the company.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompanySize} */ -public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { +public enum CompanySize + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if the size isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ COMPANY_SIZE_UNSPECIFIED(0), /** - * - * *
    * The company has less than 50 employees.
    * 
@@ -49,8 +29,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ MINI(1), /** - * - * *
    * The company has between 50 and 99 employees.
    * 
@@ -59,8 +37,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ SMALL(2), /** - * - * *
    * The company has between 100 and 499 employees.
    * 
@@ -69,8 +45,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ SMEDIUM(3), /** - * - * *
    * The company has between 500 and 999 employees.
    * 
@@ -79,8 +53,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ MEDIUM(4), /** - * - * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -89,8 +61,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ BIG(5), /** - * - * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -99,8 +69,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ BIGGER(6), /** - * - * *
    * The company has 10,000 or more employees.
    * 
@@ -112,8 +80,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value if the size isn't specified.
    * 
@@ -122,8 +88,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPANY_SIZE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The company has less than 50 employees.
    * 
@@ -132,8 +96,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MINI_VALUE = 1; /** - * - * *
    * The company has between 50 and 99 employees.
    * 
@@ -142,8 +104,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SMALL_VALUE = 2; /** - * - * *
    * The company has between 100 and 499 employees.
    * 
@@ -152,8 +112,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SMEDIUM_VALUE = 3; /** - * - * *
    * The company has between 500 and 999 employees.
    * 
@@ -162,8 +120,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIUM_VALUE = 4; /** - * - * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -172,8 +128,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIG_VALUE = 5; /** - * - * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -182,8 +136,6 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGGER_VALUE = 6; /** - * - * *
    * The company has 10,000 or more employees.
    * 
@@ -192,6 +144,7 @@ public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GIANT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static CompanySize valueOf(int value) { */ public static CompanySize forNumber(int value) { switch (value) { - case 0: - return COMPANY_SIZE_UNSPECIFIED; - case 1: - return MINI; - case 2: - return SMALL; - case 3: - return SMEDIUM; - case 4: - return MEDIUM; - case 5: - return BIG; - case 6: - return BIGGER; - case 7: - return GIANT; - default: - return null; + case 0: return COMPANY_SIZE_UNSPECIFIED; + case 1: return MINI; + case 2: return SMALL; + case 3: return SMEDIUM; + case 4: return MEDIUM; + case 5: return BIG; + case 6: return BIGGER; + case 7: return GIANT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompanySize findValueByNumber(int number) { - return CompanySize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + CompanySize> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompanySize findValueByNumber(int number) { + return CompanySize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final CompanySize[] VALUES = values(); - public static CompanySize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CompanySize valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private CompanySize(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CompanySize) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java similarity index 67% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java index 8ef1a3485600..6677ead94614 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Filter on job compensation type and amount.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationFilter} */ -public final class CompensationFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompensationFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationFilter) CompensationFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompensationFilter.newBuilder() to construct. private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); @@ -44,43 +26,39 @@ private CompensationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationFilter.class, - com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); + com.google.cloud.talent.v4beta1.CompensationFilter.class, com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); } /** - * - * *
    * Specify the type of filtering.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationFilter.FilterType} */ - public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -89,8 +67,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { */ FILTER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -104,8 +80,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNIT_ONLY(1),
     /**
-     *
-     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -122,8 +96,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     UNIT_AND_AMOUNT(2),
     /**
-     *
-     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -133,8 +105,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     ANNUALIZED_BASE_AMOUNT(3),
     /**
-     *
-     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -147,8 +117,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -157,8 +125,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FILTER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -172,8 +138,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIT_ONLY_VALUE = 1;
     /**
-     *
-     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -190,8 +154,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UNIT_AND_AMOUNT_VALUE = 2;
     /**
-     *
-     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -201,8 +163,6 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANNUALIZED_BASE_AMOUNT_VALUE = 3;
     /**
-     *
-     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -212,6 +172,7 @@ public enum FilterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ANNUALIZED_TOTAL_AMOUNT_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -236,55 +197,51 @@ public static FilterType valueOf(int value) {
      */
     public static FilterType forNumber(int value) {
       switch (value) {
-        case 0:
-          return FILTER_TYPE_UNSPECIFIED;
-        case 1:
-          return UNIT_ONLY;
-        case 2:
-          return UNIT_AND_AMOUNT;
-        case 3:
-          return ANNUALIZED_BASE_AMOUNT;
-        case 4:
-          return ANNUALIZED_TOTAL_AMOUNT;
-        default:
-          return null;
+        case 0: return FILTER_TYPE_UNSPECIFIED;
+        case 1: return UNIT_ONLY;
+        case 2: return UNIT_AND_AMOUNT;
+        case 3: return ANNUALIZED_BASE_AMOUNT;
+        case 4: return ANNUALIZED_TOTAL_AMOUNT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        FilterType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public FilterType findValueByNumber(int number) {
+              return FilterType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public FilterType findValueByNumber(int number) {
-            return FilterType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompensationFilter.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompensationFilter.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FilterType[] VALUES = values();
 
-    public static FilterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FilterType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -304,96 +261,63 @@ private FilterType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED : result; } public static final int UNITS_FIELD_NUMBER = 2; private java.util.List units_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> - units_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> units_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>() { - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert( - java.lang.Integer from) { + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } }; /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ @java.lang.Override - public java.util.List - getUnitsList() { + public java.util.List getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>( - units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>(units_, units_converter_); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ @java.lang.Override @@ -401,17 +325,12 @@ public int getUnitsCount() { return units_.size(); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ @@ -420,35 +339,26 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit return units_converter_.convert(units_.get(index)); } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ @java.lang.Override - public java.util.List getUnitsValueList() { + public java.util.List + getUnitsValueList() { return units_; } /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -456,20 +366,16 @@ public java.util.List getUnitsValueList() { public int getUnitsValue(int index) { return units_.get(index); } - private int unitsMemoizedSerializedSize; public static final int RANGE_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ @java.lang.Override @@ -477,25 +383,18 @@ public boolean hasRange() { return range_ != null; } /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { - return range_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() - : range_; + return range_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } /** - * - * *
    * Compensation range.
    * 
@@ -503,23 +402,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { return getRange(); } public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER = 4; private boolean includeJobsWithUnspecifiedCompensationRange_; /** - * - * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -528,7 +423,6 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -540,11 +434,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); - if (type_ - != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (getUnitsList().size() > 0) { @@ -569,30 +462,29 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; for (int i = 0; i < units_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(units_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(units_.get(i)); } size += dataSize; - if (!getUnitsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - unitsMemoizedSerializedSize = dataSize; + if (!getUnitsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }unitsMemoizedSerializedSize = dataSize; } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRange()); } if (includeJobsWithUnspecifiedCompensationRange_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, includeJobsWithUnspecifiedCompensationRange_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, includeJobsWithUnspecifiedCompensationRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -602,19 +494,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompensationFilter other = - (com.google.cloud.talent.v4beta1.CompensationFilter) obj; + com.google.cloud.talent.v4beta1.CompensationFilter other = (com.google.cloud.talent.v4beta1.CompensationFilter) obj; if (type_ != other.type_) return false; if (!units_.equals(other.units_)) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange().equals(other.getRange())) return false; + if (!getRange() + .equals(other.getRange())) return false; } if (getIncludeJobsWithUnspecifiedCompensationRange() != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; @@ -640,145 +532,137 @@ public int hashCode() { hash = (53 * hash) + getRange().hashCode(); } hash = (37 * hash) + INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean( - getIncludeJobsWithUnspecifiedCompensationRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeJobsWithUnspecifiedCompensationRange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Filter on job compensation type and amount.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationFilter) com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationFilter.class, - com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); + com.google.cloud.talent.v4beta1.CompensationFilter.class, com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -798,9 +682,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override @@ -819,8 +703,7 @@ public com.google.cloud.talent.v4beta1.CompensationFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { - com.google.cloud.talent.v4beta1.CompensationFilter result = - new com.google.cloud.talent.v4beta1.CompensationFilter(this); + com.google.cloud.talent.v4beta1.CompensationFilter result = new com.google.cloud.talent.v4beta1.CompensationFilter(this); int from_bitField0_ = bitField0_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { @@ -833,8 +716,7 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { } else { result.range_ = rangeBuilder_.build(); } - result.includeJobsWithUnspecifiedCompensationRange_ = - includeJobsWithUnspecifiedCompensationRange_; + result.includeJobsWithUnspecifiedCompensationRange_ = includeJobsWithUnspecifiedCompensationRange_; onBuilt(); return result; } @@ -843,39 +725,38 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationFilter) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationFilter)other); } else { super.mergeFrom(other); return this; @@ -883,8 +764,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationFilter other) { - if (other == com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -902,8 +782,7 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationFilter othe mergeRange(other.getRange()); } if (other.getIncludeJobsWithUnspecifiedCompensationRange() != false) { - setIncludeJobsWithUnspecifiedCompensationRange( - other.getIncludeJobsWithUnspecifiedCompensationRange()); + setIncludeJobsWithUnspecifiedCompensationRange(other.getIncludeJobsWithUnspecifiedCompensationRange()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -931,50 +810,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); - - break; - } // case 8 - case 16: - { + case 8: { + type_ = input.readEnum(); + + break; + } // case 8 + case 16: { + int tmpRaw = input.readEnum(); + ensureUnitsIsMutable(); + units_.add(tmpRaw); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureUnitsIsMutable(); units_.add(tmpRaw); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureUnitsIsMutable(); - units_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: - { - input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: { + input.readMessage( + getRangeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -984,80 +859,55 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int type_ = 0; /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED : result; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1065,33 +915,28 @@ public Builder setType(com.google.cloud.talent.v4beta1.CompensationFilter.Filter if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. Type of filter.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private java.util.List units_ = java.util.Collections.emptyList(); - + private java.util.List units_ = + java.util.Collections.emptyList(); private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); @@ -1099,54 +944,37 @@ private void ensureUnitsIsMutable() { } } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ - public java.util.List - getUnitsList() { + public java.util.List getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>( - units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>(units_, units_converter_); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ public int getUnitsCount() { return units_.size(); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ @@ -1154,17 +982,12 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit return units_converter_.convert(units_.get(index)); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The units to set. * @return This builder for chaining. @@ -1180,22 +1003,16 @@ public Builder setUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The units to add. * @return This builder for chaining. */ - public Builder addUnits( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { + public Builder addUnits(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { if (value == null) { throw new NullPointerException(); } @@ -1205,24 +1022,17 @@ public Builder addUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The units to add. * @return This builder for chaining. */ public Builder addAllUnits( - java.lang.Iterable< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> - values) { + java.lang.Iterable values) { ensureUnitsIsMutable(); for (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value : values) { units_.add(value.getNumber()); @@ -1231,17 +1041,12 @@ public Builder addAllUnits( return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearUnits() { @@ -1251,34 +1056,25 @@ public Builder clearUnits() { return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ - public java.util.List getUnitsValueList() { + public java.util.List + getUnitsValueList() { return java.util.Collections.unmodifiableList(units_); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -1286,39 +1082,30 @@ public int getUnitsValue(int index) { return units_.get(index); } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ - public Builder setUnitsValue(int index, int value) { + public Builder setUnitsValue( + int index, int value) { ensureUnitsIsMutable(); units_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for units to add. * @return This builder for chaining. */ @@ -1329,21 +1116,17 @@ public Builder addUnitsValue(int value) { return this; } /** - * - * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param values The enum numeric values on the wire for units to add. * @return This builder for chaining. */ - public Builder addAllUnitsValue(java.lang.Iterable values) { + public Builder addAllUnitsValue( + java.lang.Iterable values) { ensureUnitsIsMutable(); for (int value : values) { units_.add(value); @@ -1354,56 +1137,41 @@ public Builder addAllUnitsValue(java.lang.Iterable values) { private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> - rangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { - return range_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : range_; + return range_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } else { return rangeBuilder_.getMessage(); } } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1417,8 +1185,6 @@ public Builder setRange( return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1426,8 +1192,7 @@ public Builder setRange( * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { if (rangeBuilder_ == null) { range_ = builderForValue.build(); onChanged(); @@ -1438,22 +1203,17 @@ public Builder setRange( return this; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public Builder mergeRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (range_ != null) { range_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(range_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(range_).mergeFrom(value).buildPartial(); } else { range_ = value; } @@ -1465,8 +1225,6 @@ public Builder mergeRange( return this; } /** - * - * *
      * Compensation range.
      * 
@@ -1485,43 +1243,33 @@ public Builder clearRange() { return this; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - getRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getRangeBuilder() { + onChanged(); return getRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { - return range_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : range_; + return range_ == null ? + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; } } /** - * - * *
      * Compensation range.
      * 
@@ -1529,33 +1277,27 @@ public Builder clearRange() { * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getRange(), getParentForChildren(), isClean()); + rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getRange(), + getParentForChildren(), + isClean()); range_ = null; } return rangeBuilder_; } - private boolean includeJobsWithUnspecifiedCompensationRange_; + private boolean includeJobsWithUnspecifiedCompensationRange_ ; /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -1563,45 +1305,39 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { return includeJobsWithUnspecifiedCompensationRange_; } /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @param value The includeJobsWithUnspecifiedCompensationRange to set. * @return This builder for chaining. */ public Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value) { - + includeJobsWithUnspecifiedCompensationRange_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return This builder for chaining. */ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { - + includeJobsWithUnspecifiedCompensationRange_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1611,12 +1347,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationFilter) private static final com.google.cloud.talent.v4beta1.CompensationFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationFilter(); } @@ -1625,27 +1361,27 @@ public static com.google.cloud.talent.v4beta1.CompensationFilter getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1660,4 +1396,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompensationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java index f08780f6e696..d05d091b50ca 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java @@ -1,162 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface CompensationFilterOrBuilder - extends +public interface CompensationFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. Type of filter.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the units. */ java.util.List getUnitsList(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The count of units. */ int getUnitsCount(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the element to return. * @return The units at the given index. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnits(int index); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @return A list containing the enum numeric values on the wire for units. */ - java.util.List getUnitsValueList(); + java.util.List + getUnitsValueList(); /** - * - * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ int getUnitsValue(int index); /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; - * * @return The range. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange(); /** - * - * *
    * Compensation range.
    * 
@@ -166,15 +108,12 @@ public interface CompensationFilterOrBuilder com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** - * - * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; - * * @return The includeJobsWithUnspecifiedCompensationRange. */ boolean getIncludeJobsWithUnspecifiedCompensationRange(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java index 76155aa807ef..a5e9a07d3ced 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java @@ -1,75 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Job compensation details.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo} */ -public final class CompensationInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompensationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo) CompensationInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompensationInfo.newBuilder() to construct. private CompensationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationInfo() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.class, - com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.class, com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); } /** - * - * *
    * The type of compensation.
    * For compensation amounts specified in non-monetary amounts,
@@ -88,10 +67,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationType}
    */
-  public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CompensationType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -100,8 +78,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ COMPENSATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -113,8 +89,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum
      */
     BASE(1),
     /**
-     *
-     *
      * 
      * Bonus.
      * 
@@ -123,8 +97,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ BONUS(2), /** - * - * *
      * Signing bonus.
      * 
@@ -133,8 +105,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ SIGNING_BONUS(3), /** - * - * *
      * Equity.
      * 
@@ -143,8 +113,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ EQUITY(4), /** - * - * *
      * Profit sharing.
      * 
@@ -153,8 +121,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ PROFIT_SHARING(5), /** - * - * *
      * Commission.
      * 
@@ -163,8 +129,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ COMMISSIONS(6), /** - * - * *
      * Tips.
      * 
@@ -173,8 +137,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ TIPS(7), /** - * - * *
      * Other compensation type.
      * 
@@ -186,8 +148,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default value.
      * 
@@ -196,8 +156,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -209,8 +167,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int BASE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Bonus.
      * 
@@ -219,8 +175,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int BONUS_VALUE = 2; /** - * - * *
      * Signing bonus.
      * 
@@ -229,8 +183,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int SIGNING_BONUS_VALUE = 3; /** - * - * *
      * Equity.
      * 
@@ -239,8 +191,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int EQUITY_VALUE = 4; /** - * - * *
      * Profit sharing.
      * 
@@ -249,8 +199,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int PROFIT_SHARING_VALUE = 5; /** - * - * *
      * Commission.
      * 
@@ -259,8 +207,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMMISSIONS_VALUE = 6; /** - * - * *
      * Tips.
      * 
@@ -269,8 +215,6 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int TIPS_VALUE = 7; /** - * - * *
      * Other compensation type.
      * 
@@ -279,6 +223,7 @@ public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_COMPENSATION_TYPE_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -303,54 +248,45 @@ public static CompensationType valueOf(int value) { */ public static CompensationType forNumber(int value) { switch (value) { - case 0: - return COMPENSATION_TYPE_UNSPECIFIED; - case 1: - return BASE; - case 2: - return BONUS; - case 3: - return SIGNING_BONUS; - case 4: - return EQUITY; - case 5: - return PROFIT_SHARING; - case 6: - return COMMISSIONS; - case 7: - return TIPS; - case 8: - return OTHER_COMPENSATION_TYPE; - default: - return null; + case 0: return COMPENSATION_TYPE_UNSPECIFIED; + case 1: return BASE; + case 2: return BONUS; + case 3: return SIGNING_BONUS; + case 4: return EQUITY; + case 5: return PROFIT_SHARING; + case 6: return COMMISSIONS; + case 7: return TIPS; + case 8: return OTHER_COMPENSATION_TYPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompensationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationType findValueByNumber(int number) { + return CompensationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationType findValueByNumber(int number) { - return CompensationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CompensationInfo.getDescriptor().getEnumTypes().get(0); } @@ -359,7 +295,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompensationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -377,18 +314,15 @@ private CompensationType(int value) { } /** - * - * *
    * Pay frequency.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit} */ - public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum { + public enum CompensationUnit + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -397,8 +331,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ COMPENSATION_UNIT_UNSPECIFIED(0), /** - * - * *
      * Hourly.
      * 
@@ -407,8 +339,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ HOURLY(1), /** - * - * *
      * Daily.
      * 
@@ -417,8 +347,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ DAILY(2), /** - * - * *
      * Weekly
      * 
@@ -427,8 +355,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ WEEKLY(3), /** - * - * *
      * Monthly.
      * 
@@ -437,8 +363,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ MONTHLY(4), /** - * - * *
      * Yearly.
      * 
@@ -447,8 +371,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ YEARLY(5), /** - * - * *
      * One time.
      * 
@@ -457,8 +379,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ ONE_TIME(6), /** - * - * *
      * Other compensation units.
      * 
@@ -470,8 +390,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default value.
      * 
@@ -480,8 +398,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Hourly.
      * 
@@ -490,8 +406,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int HOURLY_VALUE = 1; /** - * - * *
      * Daily.
      * 
@@ -500,8 +414,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int DAILY_VALUE = 2; /** - * - * *
      * Weekly
      * 
@@ -510,8 +422,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int WEEKLY_VALUE = 3; /** - * - * *
      * Monthly.
      * 
@@ -520,8 +430,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int MONTHLY_VALUE = 4; /** - * - * *
      * Yearly.
      * 
@@ -530,8 +438,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int YEARLY_VALUE = 5; /** - * - * *
      * One time.
      * 
@@ -540,8 +446,6 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int ONE_TIME_VALUE = 6; /** - * - * *
      * Other compensation units.
      * 
@@ -550,6 +454,7 @@ public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum */ public static final int OTHER_COMPENSATION_UNIT_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -574,52 +479,44 @@ public static CompensationUnit valueOf(int value) { */ public static CompensationUnit forNumber(int value) { switch (value) { - case 0: - return COMPENSATION_UNIT_UNSPECIFIED; - case 1: - return HOURLY; - case 2: - return DAILY; - case 3: - return WEEKLY; - case 4: - return MONTHLY; - case 5: - return YEARLY; - case 6: - return ONE_TIME; - case 7: - return OTHER_COMPENSATION_UNIT; - default: - return null; + case 0: return COMPENSATION_UNIT_UNSPECIFIED; + case 1: return HOURLY; + case 2: return DAILY; + case 3: return WEEKLY; + case 4: return MONTHLY; + case 5: return YEARLY; + case 6: return ONE_TIME; + case 7: return OTHER_COMPENSATION_UNIT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CompensationUnit> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationUnit findValueByNumber(int number) { + return CompensationUnit.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationUnit findValueByNumber(int number) { - return CompensationUnit.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CompensationInfo.getDescriptor().getEnumTypes().get(1); } @@ -628,7 +525,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static CompensationUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -645,92 +543,71 @@ private CompensationUnit(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit) } - public interface CompensationEntryOrBuilder - extends + public interface CompensationEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The type. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType(); /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ int getUnitValue(); /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit(); /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ boolean hasAmount(); /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return The amount. */ com.google.type.Money getAmount(); /** - * - * *
      * Compensation amount.
      * 
@@ -740,32 +617,24 @@ public interface CompensationEntryOrBuilder com.google.type.MoneyOrBuilder getAmountOrBuilder(); /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ boolean hasRange(); /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange(); /** - * - * *
      * Compensation range.
      * 
@@ -775,8 +644,6 @@ public interface CompensationEntryOrBuilder com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -784,13 +651,10 @@ public interface CompensationEntryOrBuilder
      * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -798,14 +662,12 @@ public interface CompensationEntryOrBuilder
      * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -818,13 +680,10 @@ public interface CompensationEntryOrBuilder
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ boolean hasExpectedUnitsPerYear(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -837,13 +696,10 @@ public interface CompensationEntryOrBuilder
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ com.google.protobuf.DoubleValue getExpectedUnitsPerYear(); /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -859,12 +715,9 @@ public interface CompensationEntryOrBuilder
      */
     com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder();
 
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.CompensationAmountCase
-        getCompensationAmountCase();
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase();
   }
   /**
-   *
-   *
    * 
    * A compensation entry that represents one component of compensation, such
    * as base pay, bonus, or other compensation type.
@@ -877,16 +730,15 @@ public interface CompensationEntryOrBuilder
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry}
    */
-  public static final class CompensationEntry extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CompensationEntry extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
       CompensationEntryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CompensationEntry.newBuilder() to construct.
     private CompensationEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CompensationEntry() {
       type_ = 0;
       unit_ = 0;
@@ -895,42 +747,38 @@ private CompensationEntry() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CompensationEntry();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class,
-              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
+              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
     }
 
     private int compensationAmountCase_ = 0;
     private java.lang.Object compensationAmount_;
-
     public enum CompensationAmountCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AMOUNT(3),
       RANGE(4),
       COMPENSATIONAMOUNT_NOT_SET(0);
       private final int value;
-
       private CompensationAmountCase(int value) {
         this.value = value;
       }
@@ -946,116 +794,88 @@ public static CompensationAmountCase valueOf(int value) {
 
       public static CompensationAmountCase forNumber(int value) {
         switch (value) {
-          case 3:
-            return AMOUNT;
-          case 4:
-            return RANGE;
-          case 0:
-            return COMPENSATIONAMOUNT_NOT_SET;
-          default:
-            return null;
+          case 3: return AMOUNT;
+          case 4: return RANGE;
+          case 0: return COMPENSATIONAMOUNT_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public CompensationAmountCase getCompensationAmountCase() {
-      return CompensationAmountCase.forNumber(compensationAmountCase_);
+    public CompensationAmountCase
+    getCompensationAmountCase() {
+      return CompensationAmountCase.forNumber(
+          compensationAmountCase_);
     }
 
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
-     *
-     *
      * 
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED : result; } public static final int UNIT_FIELD_NUMBER = 2; private int unit_; /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override - public int getUnitValue() { + @java.lang.Override public int getUnitValue() { return unit_; } /** - * - * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } public static final int AMOUNT_FIELD_NUMBER = 3; /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ @java.lang.Override @@ -1063,26 +883,21 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** - * - * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; - * * @return The amount. */ @java.lang.Override public com.google.type.Money getAmount() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } /** - * - * *
      * Compensation amount.
      * 
@@ -1092,21 +907,18 @@ public com.google.type.Money getAmount() { @java.lang.Override public com.google.type.MoneyOrBuilder getAmountOrBuilder() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } public static final int RANGE_FIELD_NUMBER = 4; /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -1114,28 +926,21 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** - * - * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } /** - * - * *
      * Compensation range.
      * 
@@ -1143,21 +948,16 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -1165,7 +965,6 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan
      * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -1174,15 +973,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -1190,15 +988,16 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1209,8 +1008,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER = 6; private com.google.protobuf.DoubleValue expectedUnitsPerYear_; /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1223,7 +1020,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ @java.lang.Override @@ -1231,8 +1027,6 @@ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYear_ != null; } /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1245,18 +1039,13 @@ public boolean hasExpectedUnitsPerYear() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ @java.lang.Override public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { - return expectedUnitsPerYear_ == null - ? com.google.protobuf.DoubleValue.getDefaultInstance() - : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; } /** - * - * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1276,7 +1065,6 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1288,27 +1076,19 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (type_
-          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType
-              .COMPENSATION_TYPE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (type_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, type_);
       }
-      if (unit_
-          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
-              .COMPENSATION_UNIT_UNSPECIFIED
-              .getNumber()) {
+      if (unit_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
         output.writeEnum(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
         output.writeMessage(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        output.writeMessage(
-            4,
-            (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
-                compensationAmount_);
+        output.writeMessage(4, (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
@@ -1325,36 +1105,28 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_
-          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType
-              .COMPENSATION_TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
-      }
-      if (unit_
-          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
-              .COMPENSATION_UNIT_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unit_);
+      if (type_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, type_);
+      }
+      if (unit_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                3, (com.google.type.Money) compensationAmount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                4,
-                (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
-                    compensationAmount_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
       }
       if (expectedUnitsPerYear_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpectedUnitsPerYear());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, getExpectedUnitsPerYear());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1364,28 +1136,31 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other =
-          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;
+      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;
 
       if (type_ != other.type_) return false;
       if (unit_ != other.unit_) return false;
-      if (!getDescription().equals(other.getDescription())) return false;
+      if (!getDescription()
+          .equals(other.getDescription())) return false;
       if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
       if (hasExpectedUnitsPerYear()) {
-        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
+        if (!getExpectedUnitsPerYear()
+            .equals(other.getExpectedUnitsPerYear())) return false;
       }
       if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
       switch (compensationAmountCase_) {
         case 3:
-          if (!getAmount().equals(other.getAmount())) return false;
+          if (!getAmount()
+              .equals(other.getAmount())) return false;
           break;
         case 4:
-          if (!getRange().equals(other.getRange())) return false;
+          if (!getRange()
+              .equals(other.getRange())) return false;
           break;
         case 0:
         default:
@@ -1429,95 +1204,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1527,8 +1294,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A compensation entry that represents one component of compensation, such
      * as base pay, bonus, or other compensation type.
@@ -1541,34 +1306,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
         com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.talent.v4beta1.CommonProto
-            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.talent.v4beta1.CommonProto
-            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
+        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class,
-                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
+                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1596,16 +1360,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.talent.v4beta1.CommonProto
-            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-          getDefaultInstanceForType() {
-        return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-            .getDefaultInstance();
+      public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
+        return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1619,8 +1381,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry build(
 
       @java.lang.Override
       public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildPartial() {
-        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry result =
-            new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry(this);
+        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry result = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry(this);
         result.type_ = type_;
         result.unit_ = unit_;
         if (compensationAmountCase_ == 3) {
@@ -1652,53 +1413,46 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildP
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) {
-          return mergeFrom(
-              (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) other);
+          return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other) {
-        if (other
-            == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other) {
+        if (other == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -1713,20 +1467,17 @@ public Builder mergeFrom(
           mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
         }
         switch (other.getCompensationAmountCase()) {
-          case AMOUNT:
-            {
-              mergeAmount(other.getAmount());
-              break;
-            }
-          case RANGE:
-            {
-              mergeRange(other.getRange());
-              break;
-            }
-          case COMPENSATIONAMOUNT_NOT_SET:
-            {
-              break;
-            }
+          case AMOUNT: {
+            mergeAmount(other.getAmount());
+            break;
+          }
+          case RANGE: {
+            mergeRange(other.getRange());
+            break;
+          }
+          case COMPENSATIONAMOUNT_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1754,50 +1505,48 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  type_ = input.readEnum();
-
-                  break;
-                } // case 8
-              case 16:
-                {
-                  unit_ = input.readEnum();
-
-                  break;
-                } // case 16
-              case 26:
-                {
-                  input.readMessage(getAmountFieldBuilder().getBuilder(), extensionRegistry);
-                  compensationAmountCase_ = 3;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
-                  compensationAmountCase_ = 4;
-                  break;
-                } // case 34
-              case 42:
-                {
-                  description_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 42
-              case 50:
-                {
-                  input.readMessage(
-                      getExpectedUnitsPerYearFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 50
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                type_ = input.readEnum();
+
+                break;
+              } // case 8
+              case 16: {
+                unit_ = input.readEnum();
+
+                break;
+              } // case 16
+              case 26: {
+                input.readMessage(
+                    getAmountFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                compensationAmountCase_ = 3;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getRangeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                compensationAmountCase_ = 4;
+                break;
+              } // case 34
+              case 42: {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+              case 50: {
+                input.readMessage(
+                    getExpectedUnitsPerYearFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 50
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1807,12 +1556,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int compensationAmountCase_ = 0;
       private java.lang.Object compensationAmount_;
-
-      public CompensationAmountCase getCompensationAmountCase() {
-        return CompensationAmountCase.forNumber(compensationAmountCase_);
+      public CompensationAmountCase
+          getCompensationAmountCase() {
+        return CompensationAmountCase.forNumber(
+            compensationAmountCase_);
       }
 
       public Builder clearCompensationAmount() {
@@ -1822,100 +1571,81 @@ public Builder clearCompensationAmount() {
         return this;
       }
 
+
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED : result; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType value) { + public Builder setType(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1923,115 +1653,91 @@ public Builder clearType() { private int unit_ = 0; /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override - public int getUnitValue() { + @java.lang.Override public int getUnitValue() { return unit_; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @param value The enum numeric value on the wire for unit to set. * @return This builder for chaining. */ public Builder setUnitValue(int value) { - + unit_ = value; onChanged(); return this; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return The unit. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { + public Builder setUnit(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { if (value == null) { throw new NullPointerException(); } - + unit_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; - * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - amountBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> amountBuilder_; /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; - * * @return Whether the amount field is set. */ @java.lang.Override @@ -2039,14 +1745,11 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; - * * @return The amount. */ @java.lang.Override @@ -2064,8 +1767,6 @@ public com.google.type.Money getAmount() { } } /** - * - * *
        * Compensation amount.
        * 
@@ -2086,15 +1787,14 @@ public Builder setAmount(com.google.type.Money value) { return this; } /** - * - * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; */ - public Builder setAmount(com.google.type.Money.Builder builderForValue) { + public Builder setAmount( + com.google.type.Money.Builder builderForValue) { if (amountBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -2105,8 +1805,6 @@ public Builder setAmount(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2115,12 +1813,10 @@ public Builder setAmount(com.google.type.Money.Builder builderForValue) { */ public Builder mergeAmount(com.google.type.Money value) { if (amountBuilder_ == null) { - if (compensationAmountCase_ == 3 - && compensationAmount_ != com.google.type.Money.getDefaultInstance()) { - compensationAmount_ = - com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) - .mergeFrom(value) - .buildPartial(); + if (compensationAmountCase_ == 3 && + compensationAmount_ != com.google.type.Money.getDefaultInstance()) { + compensationAmount_ = com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) + .mergeFrom(value).buildPartial(); } else { compensationAmount_ = value; } @@ -2136,8 +1832,6 @@ public Builder mergeAmount(com.google.type.Money value) { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2161,8 +1855,6 @@ public Builder clearAmount() { return this; } /** - * - * *
        * Compensation amount.
        * 
@@ -2173,8 +1865,6 @@ public com.google.type.Money.Builder getAmountBuilder() { return getAmountFieldBuilder().getBuilder(); } /** - * - * *
        * Compensation amount.
        * 
@@ -2193,8 +1883,6 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { } } /** - * - * *
        * Compensation amount.
        * 
@@ -2202,40 +1890,32 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { * .google.type.Money amount = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { if (!(compensationAmountCase_ == 3)) { compensationAmount_ = com.google.type.Money.getDefaultInstance(); } - amountBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, - com.google.type.Money.Builder, - com.google.type.MoneyOrBuilder>( - (com.google.type.Money) compensationAmount_, getParentForChildren(), isClean()); + amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( + (com.google.type.Money) compensationAmount_, + getParentForChildren(), + isClean()); compensationAmount_ = null; } compensationAmountCase_ = 3; - onChanged(); - ; + onChanged();; return amountBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> - rangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return Whether the range field is set. */ @java.lang.Override @@ -2243,44 +1923,35 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; - * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } else { if (compensationAmountCase_ == 4) { return rangeBuilder_.getMessage(); } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2294,8 +1965,6 @@ public Builder setRange( return this; } /** - * - * *
        * Compensation range.
        * 
@@ -2303,8 +1972,7 @@ public Builder setRange( * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { if (rangeBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -2315,27 +1983,18 @@ public Builder setRange( return this; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public Builder mergeRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { - if (compensationAmountCase_ == 4 - && compensationAmount_ - != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance()) { - compensationAmount_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( - (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_) - .mergeFrom(value) - .buildPartial(); + if (compensationAmountCase_ == 4 && + compensationAmount_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance()) { + compensationAmount_ = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_) + .mergeFrom(value).buildPartial(); } else { compensationAmount_ = value; } @@ -2351,8 +2010,6 @@ public Builder mergeRange( return this; } /** - * - * *
        * Compensation range.
        * 
@@ -2376,21 +2033,16 @@ public Builder clearRange() { return this; } /** - * - * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - getRangeBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getRangeBuilder() { return getRangeFieldBuilder().getBuilder(); } /** - * - * *
        * Compensation range.
        * 
@@ -2398,22 +2050,17 @@ public Builder clearRange() { * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { if ((compensationAmountCase_ == 4) && (rangeBuilder_ != null)) { return rangeBuilder_.getMessageOrBuilder(); } else { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } } /** - * - * *
        * Compensation range.
        * 
@@ -2421,37 +2068,26 @@ public Builder clearRange() { * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { if (!(compensationAmountCase_ == 4)) { - compensationAmount_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + compensationAmount_ = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } - rangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) - compensationAmount_, + rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 4; - onChanged(); - ; + onChanged();; return rangeBuilder_; } private java.lang.Object description_ = ""; /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2459,13 +2095,13 @@ public Builder clearRange() {
        * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2474,8 +2110,6 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2483,14 +2117,15 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2498,8 +2133,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2507,22 +2140,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
        * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2530,18 +2161,15 @@ public Builder setDescription(java.lang.String value) {
        * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2549,16 +2177,16 @@ public Builder clearDescription() {
        * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2566,13 +2194,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, - com.google.protobuf.DoubleValue.Builder, - com.google.protobuf.DoubleValueOrBuilder> - expectedUnitsPerYearBuilder_; + com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> expectedUnitsPerYearBuilder_; /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2585,15 +2208,12 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return Whether the expectedUnitsPerYear field is set. */ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYearBuilder_ != null || expectedUnitsPerYear_ != null; } /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2606,21 +2226,16 @@ public boolean hasExpectedUnitsPerYear() {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; - * * @return The expectedUnitsPerYear. */ public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { if (expectedUnitsPerYearBuilder_ == null) { - return expectedUnitsPerYear_ == null - ? com.google.protobuf.DoubleValue.getDefaultInstance() - : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; } else { return expectedUnitsPerYearBuilder_.getMessage(); } } /** - * - * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2648,8 +2263,6 @@ public Builder setExpectedUnitsPerYear(com.google.protobuf.DoubleValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2675,8 +2288,6 @@ public Builder setExpectedUnitsPerYear(
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2694,9 +2305,7 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         if (expectedUnitsPerYearBuilder_ == null) {
           if (expectedUnitsPerYear_ != null) {
             expectedUnitsPerYear_ =
-                com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_).mergeFrom(value).buildPartial();
           } else {
             expectedUnitsPerYear_ = value;
           }
@@ -2708,8 +2317,6 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2735,8 +2342,6 @@ public Builder clearExpectedUnitsPerYear() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2751,13 +2356,11 @@ public Builder clearExpectedUnitsPerYear() {
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       public com.google.protobuf.DoubleValue.Builder getExpectedUnitsPerYearBuilder() {
-
+        
         onChanged();
         return getExpectedUnitsPerYearFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2775,14 +2378,11 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
         if (expectedUnitsPerYearBuilder_ != null) {
           return expectedUnitsPerYearBuilder_.getMessageOrBuilder();
         } else {
-          return expectedUnitsPerYear_ == null
-              ? com.google.protobuf.DoubleValue.getDefaultInstance()
-              : expectedUnitsPerYear_;
+          return expectedUnitsPerYear_ == null ?
+              com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_;
         }
       }
       /**
-       *
-       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2797,22 +2397,18 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.DoubleValue,
-              com.google.protobuf.DoubleValue.Builder,
-              com.google.protobuf.DoubleValueOrBuilder>
+          com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> 
           getExpectedUnitsPerYearFieldBuilder() {
         if (expectedUnitsPerYearBuilder_ == null) {
-          expectedUnitsPerYearBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.DoubleValue,
-                  com.google.protobuf.DoubleValue.Builder,
-                  com.google.protobuf.DoubleValueOrBuilder>(
-                  getExpectedUnitsPerYear(), getParentForChildren(), isClean());
+          expectedUnitsPerYearBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
+                  getExpectedUnitsPerYear(),
+                  getParentForChildren(),
+                  isClean());
           expectedUnitsPerYear_ = null;
         }
         return expectedUnitsPerYearBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2825,44 +2421,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
-    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry();
     }
 
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompensationEntry parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompensationEntry parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2874,20 +2467,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CompensationRangeOrBuilder
-      extends
+  public interface CompensationRangeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2896,13 +2486,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ boolean hasMaxCompensation(); /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2911,13 +2498,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ com.google.type.Money getMaxCompensation(); /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2930,8 +2514,6 @@ public interface CompensationRangeOrBuilder
     com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder();
 
     /**
-     *
-     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2939,13 +2521,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ boolean hasMinCompensation(); /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2953,13 +2532,10 @@ public interface CompensationRangeOrBuilder
      * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ com.google.type.Money getMinCompensation(); /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2971,57 +2547,52 @@ public interface CompensationRangeOrBuilder
     com.google.type.MoneyOrBuilder getMinCompensationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Compensation range.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationRange} */ - public static final class CompensationRange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompensationRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) CompensationRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationRange.newBuilder() to construct. private CompensationRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CompensationRange() {} + private CompensationRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompensationRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); } public static final int MAX_COMPENSATION_FIELD_NUMBER = 2; private com.google.type.Money maxCompensation_; /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3030,7 +2601,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ @java.lang.Override @@ -3038,8 +2608,6 @@ public boolean hasMaxCompensation() { return maxCompensation_ != null; } /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3048,18 +2616,13 @@ public boolean hasMaxCompensation() {
      * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ @java.lang.Override public com.google.type.Money getMaxCompensation() { - return maxCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : maxCompensation_; + return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; } /** - * - * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -3077,8 +2640,6 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
     public static final int MIN_COMPENSATION_FIELD_NUMBER = 1;
     private com.google.type.Money minCompensation_;
     /**
-     *
-     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3086,7 +2647,6 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
      * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ @java.lang.Override @@ -3094,8 +2654,6 @@ public boolean hasMinCompensation() { return minCompensation_ != null; } /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3103,18 +2661,13 @@ public boolean hasMinCompensation() {
      * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ @java.lang.Override public com.google.type.Money getMinCompensation() { - return minCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : minCompensation_; + return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; } /** - * - * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -3129,7 +2682,6 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3141,7 +2693,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (minCompensation_ != null) {
         output.writeMessage(1, getMinCompensation());
       }
@@ -3158,10 +2711,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (minCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinCompensation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getMinCompensation());
       }
       if (maxCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxCompensation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMaxCompensation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3171,21 +2726,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other =
-          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj;
+      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj;
 
       if (hasMaxCompensation() != other.hasMaxCompensation()) return false;
       if (hasMaxCompensation()) {
-        if (!getMaxCompensation().equals(other.getMaxCompensation())) return false;
+        if (!getMaxCompensation()
+            .equals(other.getMaxCompensation())) return false;
       }
       if (hasMinCompensation() != other.hasMinCompensation()) return false;
       if (hasMinCompensation()) {
-        if (!getMinCompensation().equals(other.getMinCompensation())) return false;
+        if (!getMinCompensation()
+            .equals(other.getMinCompensation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3212,95 +2768,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3310,42 +2858,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Compensation range.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationRange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); } - // Construct using - // com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder() - private Builder() {} + // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3365,16 +2910,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance(); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); } @java.lang.Override @@ -3388,8 +2931,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange build( @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildPartial() { - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange result = - new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange(this); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange result = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange(this); if (maxCompensationBuilder_ == null) { result.maxCompensation_ = maxCompensation_; } else { @@ -3408,53 +2950,46 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) { - return mergeFrom( - (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other) { - if (other - == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other) { + if (other == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance()) return this; if (other.hasMaxCompensation()) { mergeMaxCompensation(other.getMaxCompensation()); } @@ -3487,27 +3022,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getMinCompensationFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getMinCompensationFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage( - getMaxCompensationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: { + input.readMessage( + getMaxCompensationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3520,11 +3054,8 @@ public Builder mergeFrom( private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> - maxCompensationBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3533,15 +3064,12 @@ public Builder mergeFrom(
        * 
* * .google.type.Money max_compensation = 2; - * * @return Whether the maxCompensation field is set. */ public boolean hasMaxCompensation() { return maxCompensationBuilder_ != null || maxCompensation_ != null; } /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3550,21 +3078,16 @@ public boolean hasMaxCompensation() {
        * 
* * .google.type.Money max_compensation = 2; - * * @return The maxCompensation. */ public com.google.type.Money getMaxCompensation() { if (maxCompensationBuilder_ == null) { - return maxCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : maxCompensation_; + return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; } else { return maxCompensationBuilder_.getMessage(); } } /** - * - * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3588,8 +3111,6 @@ public Builder setMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3599,7 +3120,8 @@ public Builder setMaxCompensation(com.google.type.Money value) {
        *
        * .google.type.Money max_compensation = 2;
        */
-      public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue) {
+      public Builder setMaxCompensation(
+          com.google.type.Money.Builder builderForValue) {
         if (maxCompensationBuilder_ == null) {
           maxCompensation_ = builderForValue.build();
           onChanged();
@@ -3610,8 +3132,6 @@ public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3625,7 +3145,7 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         if (maxCompensationBuilder_ == null) {
           if (maxCompensation_ != null) {
             maxCompensation_ =
-                com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
           } else {
             maxCompensation_ = value;
           }
@@ -3637,8 +3157,6 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3660,8 +3178,6 @@ public Builder clearMaxCompensation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3672,13 +3188,11 @@ public Builder clearMaxCompensation() {
        * .google.type.Money max_compensation = 2;
        */
       public com.google.type.Money.Builder getMaxCompensationBuilder() {
-
+        
         onChanged();
         return getMaxCompensationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3692,14 +3206,11 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
         if (maxCompensationBuilder_ != null) {
           return maxCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return maxCompensation_ == null
-              ? com.google.type.Money.getDefaultInstance()
-              : maxCompensation_;
+          return maxCompensation_ == null ?
+              com.google.type.Money.getDefaultInstance() : maxCompensation_;
         }
       }
       /**
-       *
-       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3710,15 +3221,14 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * .google.type.Money max_compensation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
           getMaxCompensationFieldBuilder() {
         if (maxCompensationBuilder_ == null) {
-          maxCompensationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Money,
-                  com.google.type.Money.Builder,
-                  com.google.type.MoneyOrBuilder>(
-                  getMaxCompensation(), getParentForChildren(), isClean());
+          maxCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                  getMaxCompensation(),
+                  getParentForChildren(),
+                  isClean());
           maxCompensation_ = null;
         }
         return maxCompensationBuilder_;
@@ -3726,11 +3236,8 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
 
       private com.google.type.Money minCompensation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
-          minCompensationBuilder_;
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_;
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3738,15 +3245,12 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * 
* * .google.type.Money min_compensation = 1; - * * @return Whether the minCompensation field is set. */ public boolean hasMinCompensation() { return minCompensationBuilder_ != null || minCompensation_ != null; } /** - * - * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3754,21 +3258,16 @@ public boolean hasMinCompensation() {
        * 
* * .google.type.Money min_compensation = 1; - * * @return The minCompensation. */ public com.google.type.Money getMinCompensation() { if (minCompensationBuilder_ == null) { - return minCompensation_ == null - ? com.google.type.Money.getDefaultInstance() - : minCompensation_; + return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; } else { return minCompensationBuilder_.getMessage(); } } /** - * - * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3791,8 +3290,6 @@ public Builder setMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3801,7 +3298,8 @@ public Builder setMinCompensation(com.google.type.Money value) {
        *
        * .google.type.Money min_compensation = 1;
        */
-      public Builder setMinCompensation(com.google.type.Money.Builder builderForValue) {
+      public Builder setMinCompensation(
+          com.google.type.Money.Builder builderForValue) {
         if (minCompensationBuilder_ == null) {
           minCompensation_ = builderForValue.build();
           onChanged();
@@ -3812,8 +3310,6 @@ public Builder setMinCompensation(com.google.type.Money.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3826,7 +3322,7 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         if (minCompensationBuilder_ == null) {
           if (minCompensation_ != null) {
             minCompensation_ =
-                com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
+              com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
           } else {
             minCompensation_ = value;
           }
@@ -3838,8 +3334,6 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3860,8 +3354,6 @@ public Builder clearMinCompensation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3871,13 +3363,11 @@ public Builder clearMinCompensation() {
        * .google.type.Money min_compensation = 1;
        */
       public com.google.type.Money.Builder getMinCompensationBuilder() {
-
+        
         onChanged();
         return getMinCompensationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3890,14 +3380,11 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
         if (minCompensationBuilder_ != null) {
           return minCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return minCompensation_ == null
-              ? com.google.type.Money.getDefaultInstance()
-              : minCompensation_;
+          return minCompensation_ == null ?
+              com.google.type.Money.getDefaultInstance() : minCompensation_;
         }
       }
       /**
-       *
-       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3907,20 +3394,18 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
        * .google.type.Money min_compensation = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
           getMinCompensationFieldBuilder() {
         if (minCompensationBuilder_ == null) {
-          minCompensationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.type.Money,
-                  com.google.type.Money.Builder,
-                  com.google.type.MoneyOrBuilder>(
-                  getMinCompensation(), getParentForChildren(), isClean());
+          minCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
+                  getMinCompensation(),
+                  getParentForChildren(),
+                  isClean());
           minCompensation_ = null;
         }
         return minCompensationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3933,44 +3418,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
-    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange();
     }
 
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CompensationRange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CompensationRange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3982,18 +3464,15 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
-  private java.util.List
-      entries_;
+  private java.util.List entries_;
   /**
-   *
-   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -4001,17 +3480,13 @@ public com.google.protobuf.Parser getParserForType() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override - public java.util.List - getEntriesList() { + public java.util.List getEntriesList() { return entries_; } /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -4019,18 +3494,14 @@ public com.google.protobuf.Parser getParserForType() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -4038,16 +3509,13 @@ public com.google.protobuf.Parser getParserForType() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -4055,16 +3523,13 @@ public int getEntriesCount() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -4072,21 +3537,17 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder - getEntriesOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } public static final int ANNUALIZED_BASE_COMPENSATION_RANGE_FIELD_NUMBER = 2; - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedBaseCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedBaseCompensationRange_; /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4094,10 +3555,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ @java.lang.Override @@ -4105,8 +3563,6 @@ public boolean hasAnnualizedBaseCompensationRange() { return annualizedBaseCompensationRange_ != null; } /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4114,22 +3570,14 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedBaseCompensationRange_; + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { + return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4137,22 +3585,16 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { return getAnnualizedBaseCompensationRange(); } public static final int ANNUALIZED_TOTAL_COMPENSATION_RANGE_FIELD_NUMBER = 3; - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4160,10 +3602,7 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ @java.lang.Override @@ -4171,8 +3610,6 @@ public boolean hasAnnualizedTotalCompensationRange() { return annualizedTotalCompensationRange_ != null; } /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4180,22 +3617,14 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() - : annualizedTotalCompensationRange_; + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { + return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4203,18 +3632,14 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { return getAnnualizedTotalCompensationRange(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4226,7 +3651,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -4246,17 +3672,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, entries_.get(i)); } if (annualizedBaseCompensationRange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getAnnualizedBaseCompensationRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAnnualizedBaseCompensationRange()); } if (annualizedTotalCompensationRange_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getAnnualizedTotalCompensationRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAnnualizedTotalCompensationRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4266,23 +3691,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompensationInfo other = - (com.google.cloud.talent.v4beta1.CompensationInfo) obj; + com.google.cloud.talent.v4beta1.CompensationInfo other = (com.google.cloud.talent.v4beta1.CompensationInfo) obj; - if (!getEntriesList().equals(other.getEntriesList())) return false; - if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) - return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) return false; if (hasAnnualizedBaseCompensationRange()) { - if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) - return false; + if (!getAnnualizedBaseCompensationRange() + .equals(other.getAnnualizedBaseCompensationRange())) return false; } - if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) - return false; + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) return false; if (hasAnnualizedTotalCompensationRange()) { if (!getAnnualizedTotalCompensationRange() .equals(other.getAnnualizedTotalCompensationRange())) return false; @@ -4315,136 +3738,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Job compensation details.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo) com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.class, - com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.class, com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4471,9 +3888,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override @@ -4492,8 +3909,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { - com.google.cloud.talent.v4beta1.CompensationInfo result = - new com.google.cloud.talent.v4beta1.CompensationInfo(this); + com.google.cloud.talent.v4beta1.CompensationInfo result = new com.google.cloud.talent.v4beta1.CompensationInfo(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -4522,39 +3938,38 @@ public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo)other); } else { super.mergeFrom(other); return this; @@ -4562,8 +3977,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo other) { - if (other == com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()) return this; if (entriesBuilder_ == null) { if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { @@ -4582,10 +3996,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo other) entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -4623,43 +4036,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry m = - input.readMessage( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage( - getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry m = + input.readMessage( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage( - getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4669,30 +4078,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - entries_ = java.util.Collections.emptyList(); - + private java.util.List entries_ = + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = - new java.util.ArrayList< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry>(entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> - entriesBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> entriesBuilder_; /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4700,11 +4100,9 @@ private void ensureEntriesIsMutable() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public java.util.List - getEntriesList() { + public java.util.List getEntriesList() { if (entriesBuilder_ == null) { return java.util.Collections.unmodifiableList(entries_); } else { @@ -4712,8 +4110,6 @@ private void ensureEntriesIsMutable() { } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4721,8 +4117,7 @@ private void ensureEntriesIsMutable() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public int getEntriesCount() { if (entriesBuilder_ == null) { @@ -4732,8 +4127,6 @@ public int getEntriesCount() { } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4741,11 +4134,9 @@ public int getEntriesCount() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries( - int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { @@ -4753,8 +4144,6 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4762,8 +4151,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder setEntries( int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { @@ -4780,8 +4168,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4789,13 +4175,10 @@ public Builder setEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder setEntries( - int index, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - builderForValue) { + int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); @@ -4806,8 +4189,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4815,11 +4196,9 @@ public Builder setEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public Builder addEntries( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { + public Builder addEntries(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4833,8 +4212,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4842,8 +4219,7 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder addEntries( int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { @@ -4860,8 +4236,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4869,12 +4243,10 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder addEntries( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); @@ -4885,8 +4257,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4894,13 +4264,10 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder addEntries( - int index, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - builderForValue) { + int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); @@ -4911,8 +4278,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4920,16 +4285,14 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder addAllEntries( - java.lang.Iterable< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry> - values) { + java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -4937,8 +4300,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4946,8 +4307,7 @@ public Builder addAllEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder clearEntries() { if (entriesBuilder_ == null) { @@ -4960,8 +4320,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4969,8 +4327,7 @@ public Builder clearEntries() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { @@ -4983,8 +4340,6 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4992,16 +4347,13 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - getEntriesBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5009,20 +4361,16 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder - getEntriesOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5030,12 +4378,10 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -5043,8 +4389,6 @@ public Builder removeEntries(int index) { } } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5052,19 +4396,13 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry - .getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder addEntriesBuilder() { + return getEntriesFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()); } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5072,20 +4410,14 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder - addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry - .getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()); } /** - * - * *
      * Job compensation information.
      * At most one entry can be of type
@@ -5093,42 +4425,31 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - public java.util.List< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder> - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( - entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedBaseCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedBaseCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> - annualizedBaseCompensationRangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> annualizedBaseCompensationRangeBuilder_; /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5136,19 +4457,13 @@ public Builder removeEntries(int index) {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ public boolean hasAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRangeBuilder_ != null - || annualizedBaseCompensationRange_ != null; + return annualizedBaseCompensationRangeBuilder_ != null || annualizedBaseCompensationRange_ != null; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5156,26 +4471,17 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } else { return annualizedBaseCompensationRangeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5183,12 +4489,9 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5202,8 +4505,6 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5211,13 +4512,10 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { if (annualizedBaseCompensationRangeBuilder_ == null) { annualizedBaseCompensationRange_ = builderForValue.build(); onChanged(); @@ -5228,8 +4526,6 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5237,19 +4533,13 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (annualizedBaseCompensationRange_ != null) { annualizedBaseCompensationRange_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( - annualizedBaseCompensationRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(annualizedBaseCompensationRange_).mergeFrom(value).buildPartial(); } else { annualizedBaseCompensationRange_ = value; } @@ -5261,8 +4551,6 @@ public Builder mergeAnnualizedBaseCompensationRange( return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5270,9 +4558,7 @@ public Builder mergeAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { @@ -5286,8 +4572,6 @@ public Builder clearAnnualizedBaseCompensationRange() { return this; } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5295,19 +4579,14 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - getAnnualizedBaseCompensationRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder() { + onChanged(); return getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5315,24 +4594,17 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { if (annualizedBaseCompensationRangeBuilder_ != null) { return annualizedBaseCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedBaseCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null ? + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; } } /** - * - * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5340,37 +4612,26 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedBaseCompensationRangeFieldBuilder() { if (annualizedBaseCompensationRangeBuilder_ == null) { - annualizedBaseCompensationRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedBaseCompensationRange(), getParentForChildren(), isClean()); + annualizedBaseCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedBaseCompensationRange(), + getParentForChildren(), + isClean()); annualizedBaseCompensationRange_ = null; } return annualizedBaseCompensationRangeBuilder_; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> - annualizedTotalCompensationRangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> annualizedTotalCompensationRangeBuilder_; /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5378,19 +4639,13 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ public boolean hasAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRangeBuilder_ != null - || annualizedTotalCompensationRange_ != null; + return annualizedTotalCompensationRangeBuilder_ != null || annualizedTotalCompensationRange_ != null; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5398,26 +4653,17 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } else { return annualizedTotalCompensationRangeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5425,12 +4671,9 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5444,8 +4687,6 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5453,13 +4694,10 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { if (annualizedTotalCompensationRangeBuilder_ == null) { annualizedTotalCompensationRange_ = builderForValue.build(); onChanged(); @@ -5470,8 +4708,6 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5479,19 +4715,13 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (annualizedTotalCompensationRange_ != null) { annualizedTotalCompensationRange_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( - annualizedTotalCompensationRange_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(annualizedTotalCompensationRange_).mergeFrom(value).buildPartial(); } else { annualizedTotalCompensationRange_ = value; } @@ -5503,8 +4733,6 @@ public Builder mergeAnnualizedTotalCompensationRange( return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5512,9 +4740,7 @@ public Builder mergeAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { @@ -5528,8 +4754,6 @@ public Builder clearAnnualizedTotalCompensationRange() { return this; } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5537,19 +4761,14 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder - getAnnualizedTotalCompensationRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder() { + onChanged(); return getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5557,24 +4776,17 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { if (annualizedTotalCompensationRangeBuilder_ != null) { return annualizedTotalCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedTotalCompensationRange_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - .getDefaultInstance() - : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null ? + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; } } /** - * - * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -5582,29 +4794,24 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedTotalCompensationRangeFieldBuilder() { if (annualizedTotalCompensationRangeBuilder_ == null) { - annualizedTotalCompensationRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedTotalCompensationRange(), getParentForChildren(), isClean()); + annualizedTotalCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedTotalCompensationRange(), + getParentForChildren(), + isClean()); annualizedTotalCompensationRange_ = null; } return annualizedTotalCompensationRangeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5614,12 +4821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo) private static final com.google.cloud.talent.v4beta1.CompensationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo(); } @@ -5628,27 +4835,27 @@ public static com.google.cloud.talent.v4beta1.CompensationInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5663,4 +4870,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompensationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java similarity index 71% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java index 791b425ff47b..1dd2c1f244e5 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface CompensationInfoOrBuilder - extends +public interface CompensationInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -33,14 +15,11 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - java.util.List + java.util.List getEntriesList(); /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -48,13 +27,10 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index); /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -62,13 +38,10 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ int getEntriesCount(); /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -76,15 +49,11 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ - java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * Job compensation information.
    * At most one entry can be of type
@@ -92,15 +61,12 @@ public interface CompensationInfoOrBuilder
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; - * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( int index); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -108,16 +74,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedBaseCompensationRange field is set. */ boolean hasAnnualizedBaseCompensationRange(); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -125,17 +86,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedBaseCompensationRange. */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedBaseCompensationRange(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange(); /** - * - * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -143,16 +98,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedBaseCompensationRangeOrBuilder(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -160,16 +110,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the annualizedTotalCompensationRange field is set. */ boolean hasAnnualizedTotalCompensationRange(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -177,17 +122,11 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The annualizedTotalCompensationRange. */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange - getAnnualizedTotalCompensationRange(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange(); /** - * - * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -195,10 +134,7 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder - getAnnualizedTotalCompensationRangeOrBuilder(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java similarity index 74% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java index c013de0bb15b..34eae73659d8 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Auto-complete parameters.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryRequest} */ -public final class CompleteQueryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteQueryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryRequest) CompleteQueryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteQueryRequest.newBuilder() to construct. private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteQueryRequest() { parent_ = ""; query_ = ""; @@ -48,43 +30,39 @@ private CompleteQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, - com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); } /** - * - * *
    * Enum to specify the scope of completion.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope} */ - public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -93,8 +71,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETION_SCOPE_UNSPECIFIED(0), /** - * - * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -103,8 +79,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ TENANT(1), /** - * - * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -117,8 +91,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -127,8 +99,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -137,8 +107,6 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TENANT_VALUE = 1; /** - * - * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -148,6 +116,7 @@ public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PUBLIC_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -172,45 +141,40 @@ public static CompletionScope valueOf(int value) {
      */
     public static CompletionScope forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMPLETION_SCOPE_UNSPECIFIED;
-        case 1:
-          return TENANT;
-        case 2:
-          return PUBLIC;
-        default:
-          return null;
+        case 0: return COMPLETION_SCOPE_UNSPECIFIED;
+        case 1: return TENANT;
+        case 2: return PUBLIC;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CompletionScope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CompletionScope findValueByNumber(int number) {
+              return CompletionScope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public CompletionScope findValueByNumber(int number) {
-                return CompletionScope.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final CompletionScope[] VALUES = values();
@@ -218,7 +182,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static CompletionScope valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -236,18 +201,15 @@ private CompletionScope(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Enum to specify auto-completion topics.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType} */ - public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -256,8 +218,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -268,8 +228,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     JOB_TITLE(1),
     /**
-     *
-     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -281,8 +239,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     COMPANY_NAME(2),
     /**
-     *
-     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -297,8 +253,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -307,8 +261,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -319,8 +271,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int JOB_TITLE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -332,8 +282,6 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMPANY_NAME_VALUE = 2;
     /**
-     *
-     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -345,6 +293,7 @@ public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMBINED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -369,53 +318,50 @@ public static CompletionType valueOf(int value) {
      */
     public static CompletionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return COMPLETION_TYPE_UNSPECIFIED;
-        case 1:
-          return JOB_TITLE;
-        case 2:
-          return COMPANY_NAME;
-        case 3:
-          return COMBINED;
-        default:
-          return null;
+        case 0: return COMPLETION_TYPE_UNSPECIFIED;
+        case 1: return JOB_TITLE;
+        case 2: return COMPANY_NAME;
+        case 3: return COMBINED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CompletionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CompletionType findValueByNumber(int number) {
+              return CompletionType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public CompletionType findValueByNumber(int number) {
-            return CompletionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final CompletionType[] VALUES = values();
 
-    public static CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CompletionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -435,8 +381,6 @@ private CompletionType(int value) {
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -445,10 +389,7 @@ private CompletionType(int value) {
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -457,15 +398,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -474,18 +414,17 @@ public java.lang.String getParent() {
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -496,15 +435,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ @java.lang.Override @@ -513,30 +449,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -547,8 +483,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int LANGUAGE_CODES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList languageCodes_; /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -558,15 +492,13 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_; } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -576,15 +508,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
    * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -594,7 +523,6 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -602,8 +530,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -613,26 +539,23 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ @java.lang.Override @@ -643,8 +566,6 @@ public int getPageSize() { public static final int COMPANY_FIELD_NUMBER = 5; private volatile java.lang.Object company_; /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -655,7 +576,6 @@ public int getPageSize() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ @java.lang.Override @@ -664,15 +584,14 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -683,15 +602,16 @@ public java.lang.String getCompany() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -702,81 +622,58 @@ public com.google.protobuf.ByteString getCompanyBytes() { public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 7; private int type_; /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -788,7 +685,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -804,16 +702,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_); } - if (scope_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope - .COMPLETION_SCOPE_UNSPECIFIED - .getNumber()) { + if (scope_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(6, scope_); } - if (type_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(7, type_); } getUnknownFields().writeTo(output); @@ -840,22 +732,19 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_); } - if (scope_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope - .COMPLETION_SCOPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); + if (scope_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, scope_); } - if (type_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); + if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -865,19 +754,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompleteQueryRequest other = - (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getQuery().equals(other.getQuery())) return false; - if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getCompany().equals(other.getCompany())) return false; + com.google.cloud.talent.v4beta1.CompleteQueryRequest other = (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getLanguageCodesList() + .equals(other.getLanguageCodesList())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getCompany() + .equals(other.getCompany())) return false; if (scope_ != other.scope_) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -913,135 +806,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Auto-complete parameters.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryRequest) com.google.cloud.talent.v4beta1.CompleteQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, - com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompleteQueryRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1063,9 +950,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override @@ -1084,8 +971,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryRequest result = - new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this); + com.google.cloud.talent.v4beta1.CompleteQueryRequest result = new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.query_ = query_; @@ -1106,39 +992,38 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -1146,8 +1031,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryRequest other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1205,56 +1089,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - query_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: - { - company_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: - { - scope_ = input.readEnum(); - - break; - } // case 48 - case 56: - { - type_ = input.readEnum(); - - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + query_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: { + company_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: { + scope_ = input.readEnum(); + + break; + } // case 48 + case 56: { + type_ = input.readEnum(); + + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1264,13 +1140,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1279,16 +1152,14 @@ public Builder mergeFrom(
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1297,8 +1168,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1307,17 +1176,16 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1325,8 +1193,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1335,25 +1201,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1362,21 +1224,16 @@ public Builder setParent(java.lang.String value) {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1385,19 +1242,17 @@ public Builder clearParent() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1405,21 +1260,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object query_ = ""; /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1428,22 +1281,21 @@ public java.lang.String getQuery() { } } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -1451,81 +1303,70 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList languageCodes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1535,15 +1376,13 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1553,15 +1392,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
      * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1571,7 +1407,6 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1579,8 +1414,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1590,16 +1423,14 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1609,23 +1440,21 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) {
      * 
* * repeated string language_codes = 3; - * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes(int index, java.lang.String value) { + public Builder setLanguageCodes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1635,22 +1464,20 @@ public Builder setLanguageCodes(int index, java.lang.String value) {
      * 
* * repeated string language_codes = 3; - * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes(java.lang.String value) { + public Builder addLanguageCodes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1660,19 +1487,18 @@ public Builder addLanguageCodes(java.lang.String value) {
      * 
* * repeated string language_codes = 3; - * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes(java.lang.Iterable values) { + public Builder addAllLanguageCodes( + java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageCodes_); onChanged(); return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1682,7 +1508,6 @@ public Builder addAllLanguageCodes(java.lang.Iterable values)
      * 
* * repeated string language_codes = 3; - * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -1692,8 +1517,6 @@ public Builder clearLanguageCodes() { return this; } /** - * - * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1703,32 +1526,29 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 3; - * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ @java.lang.Override @@ -1736,38 +1556,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1775,8 +1589,6 @@ public Builder clearPageSize() { private java.lang.Object company_ = ""; /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1787,13 +1599,13 @@ public Builder clearPageSize() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -1802,8 +1614,6 @@ public java.lang.String getCompany() { } } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1814,14 +1624,15 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -1829,8 +1640,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { } } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1841,22 +1650,20 @@ public com.google.protobuf.ByteString getCompanyBytes() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany(java.lang.String value) { + public Builder setCompany( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1867,18 +1674,15 @@ public Builder setCompany(java.lang.String value) {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** - * - * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1889,16 +1693,16 @@ public Builder clearCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -1906,93 +1710,73 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { private int scope_ = 0; /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope value) { + public Builder setScope(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -2000,100 +1784,80 @@ public Builder clearScope() { private int type_ = 0; /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { + public Builder setType(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2103,12 +1867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryRequest) private static final com.google.cloud.talent.v4beta1.CompleteQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryRequest(); } @@ -2117,27 +1881,27 @@ public static com.google.cloud.talent.v4beta1.CompleteQueryRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2152,4 +1916,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompleteQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java similarity index 81% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java index 7fc0e9f12929..7e7c803dd86d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; -public interface CompleteQueryRequestOrBuilder - extends +public interface CompleteQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -34,16 +16,11 @@ public interface CompleteQueryRequestOrBuilder
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -52,44 +29,35 @@ public interface CompleteQueryRequestOrBuilder
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -99,13 +67,11 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @return A list containing the languageCodes. */ - java.util.List getLanguageCodesList(); + java.util.List + getLanguageCodesList(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -115,13 +81,10 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -131,14 +94,11 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** - * - * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -148,29 +108,24 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * repeated string language_codes = 3; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString getLanguageCodesBytes(int index); + com.google.protobuf.ByteString + getLanguageCodesBytes(int index); /** - * - * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -181,13 +136,10 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The company. */ java.lang.String getCompany(); /** - * - * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -198,57 +150,45 @@ public interface CompleteQueryRequestOrBuilder
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } - * * @return The bytes for company. */ - com.google.protobuf.ByteString getCompanyBytes(); + com.google.protobuf.ByteString + getCompanyBytes(); /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; - * * @return The scope. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope(); /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; - * * @return The type. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java index 6c31498eaccb..6fefa2eaa188 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java @@ -1,173 +1,134 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Response of auto-complete query.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse} */ -public final class CompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteQueryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryResponse) CompleteQueryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteQueryResponse.newBuilder() to construct. private CompleteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteQueryResponse() { completionResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); } - public interface CompletionResultOrBuilder - extends + public interface CompletionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ java.lang.String getSuggestion(); /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString getSuggestionBytes(); + com.google.protobuf.ByteString + getSuggestionBytes(); /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType(); /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The imageUri. */ java.lang.String getImageUri(); /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString getImageUriBytes(); + com.google.protobuf.ByteString + getImageUriBytes(); } /** - * - * *
    * Resource that represents completion results.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult} */ - public static final class CompletionResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompletionResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) CompletionResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompletionResult.newBuilder() to construct. private CompletionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompletionResult() { suggestion_ = ""; type_ = 0; @@ -176,41 +137,37 @@ private CompletionResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompletionResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; private volatile java.lang.Object suggestion_; /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The suggestion. */ @java.lang.Override @@ -219,29 +176,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** - * - * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -252,53 +209,39 @@ public com.google.protobuf.ByteString getSuggestionBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } public static final int IMAGE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object imageUri_; /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The imageUri. */ @java.lang.Override @@ -307,30 +250,30 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** - * - * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -339,7 +282,6 @@ public com.google.protobuf.ByteString getImageUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,14 +293,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } - if (type_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { @@ -376,11 +316,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } - if (type_ - != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType - .COMPLETION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageUri_); @@ -393,18 +331,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)) { + if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = - (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; - if (!getSuggestion().equals(other.getSuggestion())) return false; + if (!getSuggestion() + .equals(other.getSuggestion())) return false; if (type_ != other.type_) return false; - if (!getImageUri().equals(other.getImageUri())) return false; + if (!getImageUri() + .equals(other.getImageUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -428,95 +366,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -526,43 +456,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Resource that represents completion results.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - .class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); } - // Construct using - // com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -576,22 +502,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .getDefaultInstance(); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult build() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = - buildPartial(); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -600,8 +523,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = - new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(this); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(this); result.suggestion_ = suggestion_; result.type_ = type_; result.imageUri_ = imageUri_; @@ -613,54 +535,46 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) { - return mergeFrom( - (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) other); + if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) { + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other) { - if (other - == com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other) { + if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; onChanged(); @@ -698,31 +612,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - suggestion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - imageUri_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + suggestion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + + break; + } // case 16 + case 26: { + imageUri_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,20 +645,18 @@ public Builder mergeFrom( private java.lang.Object suggestion_ = ""; /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -757,21 +665,20 @@ public java.lang.String getSuggestion() { } } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString getSuggestionBytes() { + public com.google.protobuf.ByteString + getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestion_ = b; return b; } else { @@ -779,61 +686,54 @@ public com.google.protobuf.ByteString getSuggestionBytes() { } } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion(java.lang.String value) { + public Builder setSuggestion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); return this; } /** - * - * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; - * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { + public Builder setSuggestionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); return this; @@ -841,93 +741,73 @@ public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { + public Builder setType(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -935,21 +815,19 @@ public Builder clearType() { private java.lang.Object imageUri_ = ""; /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -958,22 +836,21 @@ public java.lang.String getImageUri() { } } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString getImageUriBytes() { + public com.google.protobuf.ByteString + getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageUri_ = b; return b; } else { @@ -981,69 +858,61 @@ public com.google.protobuf.ByteString getImageUriBytes() { } } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri(java.lang.String value) { + public Builder setImageUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** - * - * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; - * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes(com.google.protobuf.ByteString value) { + public Builder setImageUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1056,45 +925,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) - private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(); + DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompletionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompletionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1106,108 +971,81 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int COMPLETION_RESULTS_FIELD_NUMBER = 1; - private java.util.List - completionResults_; + private java.util.List completionResults_; /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public java.util.List - getCompletionResultsList() { + public java.util.List getCompletionResultsList() { return completionResults_; } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + public java.util.List getCompletionResultsOrBuilderList() { return completionResults_; } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override public int getCompletionResultsCount() { return completionResults_.size(); } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getCompletionResults(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { return completionResults_.get(index); } /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index) { return completionResults_.get(index); } public static final int METADATA_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1215,26 +1053,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -1248,7 +1079,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1260,7 +1090,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < completionResults_.size(); i++) {
       output.writeMessage(1, completionResults_.get(i));
     }
@@ -1277,11 +1108,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < completionResults_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, completionResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, completionResults_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1291,18 +1123,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.CompleteQueryResponse other =
-        (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj;
+    com.google.cloud.talent.v4beta1.CompleteQueryResponse other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj;
 
-    if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false;
+    if (!getCompletionResultsList()
+        .equals(other.getCompletionResultsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1329,136 +1162,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.talent.v4beta1.CompleteQueryResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response of auto-complete query.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryResponse) com.google.cloud.talent.v4beta1.CompleteQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompleteQueryResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1479,9 +1305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto - .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override @@ -1500,8 +1326,7 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse result = - new com.google.cloud.talent.v4beta1.CompleteQueryResponse(this); + com.google.cloud.talent.v4beta1.CompleteQueryResponse result = new com.google.cloud.talent.v4beta1.CompleteQueryResponse(this); int from_bitField0_ = bitField0_; if (completionResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1525,39 +1350,38 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse)other); } else { super.mergeFrom(other); return this; @@ -1565,8 +1389,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance()) return this; if (completionResultsBuilder_ == null) { if (!other.completionResults_.isEmpty()) { if (completionResults_.isEmpty()) { @@ -1585,10 +1408,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse o completionResultsBuilder_ = null; completionResults_ = other.completionResults_; bitField0_ = (bitField0_ & ~0x00000001); - completionResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompletionResultsFieldBuilder() - : null; + completionResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompletionResultsFieldBuilder() : null; } else { completionResultsBuilder_.addAllMessages(other.completionResults_); } @@ -1623,34 +1445,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult m = - input.readMessage( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .parser(), - extensionRegistry); - if (completionResultsBuilder_ == null) { - ensureCompletionResultsIsMutable(); - completionResults_.add(m); - } else { - completionResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult m = + input.readMessage( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.parser(), + extensionRegistry); + if (completionResultsBuilder_ == null) { + ensureCompletionResultsIsMutable(); + completionResults_.add(m); + } else { + completionResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1660,41 +1480,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - completionResults_ = java.util.Collections.emptyList(); - + private java.util.List completionResults_ = + java.util.Collections.emptyList(); private void ensureCompletionResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - completionResults_ = - new java.util.ArrayList< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult>( - completionResults_); + completionResults_ = new java.util.ArrayList(completionResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> - completionResultsBuilder_; + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> completionResultsBuilder_; /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List - getCompletionResultsList() { + public java.util.List getCompletionResultsList() { if (completionResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(completionResults_); } else { @@ -1702,15 +1509,11 @@ private void ensureCompletionResultsIsMutable() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public int getCompletionResultsCount() { if (completionResultsBuilder_ == null) { @@ -1720,18 +1523,13 @@ public int getCompletionResultsCount() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - getCompletionResults(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { if (completionResultsBuilder_ == null) { return completionResults_.get(index); } else { @@ -1739,15 +1537,11 @@ public int getCompletionResultsCount() { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder setCompletionResults( int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { @@ -1764,20 +1558,14 @@ public Builder setCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder setCompletionResults( - int index, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - builderForValue) { + int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.set(index, builderForValue.build()); @@ -1788,18 +1576,13 @@ public Builder setCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public Builder addCompletionResults( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { + public Builder addCompletionResults(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { if (completionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1813,15 +1596,11 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { @@ -1838,19 +1617,14 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(builderForValue.build()); @@ -1861,20 +1635,14 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addCompletionResults( - int index, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - builderForValue) { + int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(index, builderForValue.build()); @@ -1885,23 +1653,18 @@ public Builder addCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder addAllCompletionResults( - java.lang.Iterable< - ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult> - values) { + java.lang.Iterable values) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completionResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, completionResults_); onChanged(); } else { completionResultsBuilder_.addAllMessages(values); @@ -1909,15 +1672,11 @@ public Builder addAllCompletionResults( return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder clearCompletionResults() { if (completionResultsBuilder_ == null) { @@ -1930,15 +1689,11 @@ public Builder clearCompletionResults() { return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ public Builder removeCompletionResults(int index) { if (completionResultsBuilder_ == null) { @@ -1951,54 +1706,39 @@ public Builder removeCompletionResults(int index) { return this; } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - getCompletionResultsBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder( + int index) { return getCompletionResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index) { if (completionResultsBuilder_ == null) { - return completionResults_.get(index); - } else { + return completionResults_.get(index); } else { return completionResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List< - ? extends - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> - getCompletionResultsOrBuilderList() { + public java.util.List + getCompletionResultsOrBuilderList() { if (completionResultsBuilder_ != null) { return completionResultsBuilder_.getMessageOrBuilderList(); } else { @@ -2006,70 +1746,45 @@ public Builder removeCompletionResults(int index) { } } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - addCompletionResultsBuilder() { - return getCompletionResultsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder() { + return getCompletionResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder - addCompletionResultsBuilder(int index) { - return getCompletionResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult - .getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder( + int index) { + return getCompletionResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()); } /** - * - * *
      * Results of the matching job/company candidates.
      * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - public java.util.List< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder> - getCompletionResultsBuilderList() { + public java.util.List + getCompletionResultsBuilderList() { return getCompletionResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsFieldBuilder() { if (completionResultsBuilder_ == null) { - completionResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( + completionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2081,49 +1796,36 @@ public Builder removeCompletionResults(int index) { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2145,8 +1847,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2166,8 +1866,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2179,9 +1877,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -2193,8 +1889,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2214,8 +1908,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2224,13 +1916,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2242,14 +1932,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -2258,24 +1945,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2285,12 +1969,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryResponse)
   private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryResponse();
   }
@@ -2299,27 +1983,27 @@ public static com.google.cloud.talent.v4beta1.CompleteQueryResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CompleteQueryResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CompleteQueryResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2334,4 +2018,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.CompleteQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
similarity index 54%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
index 1dbfeca0f11c..96a27c0ade3d 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
@@ -1,123 +1,77 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/completion_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface CompleteQueryResponseOrBuilder
-    extends
+public interface CompleteQueryResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - java.util.List + java.util.List getCompletionResultsList(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults( - int index); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ int getCompletionResultsCount(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - java.util.List< - ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + java.util.List getCompletionResultsOrBuilderList(); /** - * - * *
    * Results of the matching job/company candidates.
    * 
* - * - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; - * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; */ - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder - getCompletionResultsOrBuilder(int index); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( + int index); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
new file mode 100644
index 000000000000..aac3780db1aa
--- /dev/null
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
@@ -0,0 +1,126 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/completion_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public final class CompletionServiceProto {
+  private CompletionServiceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n4google/cloud/talent/v4beta1/completion" +
+      "_service.proto\022\033google.cloud.talent.v4be" +
+      "ta1\032\034google/api/annotations.proto\032\027googl" +
+      "e/api/client.proto\032\037google/api/field_beh" +
+      "avior.proto\032\031google/api/resource.proto\032(" +
+      "google/cloud/talent/v4beta1/common.proto" +
+      "\"\223\004\n\024CompleteQueryRequest\0223\n\006parent\030\001 \001(" +
+      "\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022\022" +
+      "\n\005query\030\002 \001(\tB\003\340A\002\022\026\n\016language_codes\030\003 \003" +
+      "(\t\022\026\n\tpage_size\030\004 \001(\005B\003\340A\002\0221\n\007company\030\005 " +
+      "\001(\tB \372A\035\n\033jobs.googleapis.com/Company\022P\n" +
+      "\005scope\030\006 \001(\0162A.google.cloud.talent.v4bet" +
+      "a1.CompleteQueryRequest.CompletionScope\022" +
+      "N\n\004type\030\007 \001(\0162@.google.cloud.talent.v4be" +
+      "ta1.CompleteQueryRequest.CompletionType\"" +
+      "K\n\017CompletionScope\022 \n\034COMPLETION_SCOPE_U" +
+      "NSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016" +
+      "CompletionType\022\037\n\033COMPLETION_TYPE_UNSPEC" +
+      "IFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002" +
+      "\022\014\n\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse" +
+      "\022_\n\022completion_results\030\001 \003(\0132C.google.cl" +
+      "oud.talent.v4beta1.CompleteQueryResponse" +
+      ".CompletionResult\022?\n\010metadata\030\002 \001(\0132-.go" +
+      "ogle.cloud.talent.v4beta1.ResponseMetada" +
+      "ta\032\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 " +
+      "\001(\t\022N\n\004type\030\002 \001(\0162@.google.cloud.talent." +
+      "v4beta1.CompleteQueryRequest.CompletionT" +
+      "ype\022\021\n\timage_uri\030\003 \001(\t2\325\002\n\nCompletion\022\330\001" +
+      "\n\rCompleteQuery\0221.google.cloud.talent.v4" +
+      "beta1.CompleteQueryRequest\0322.google.clou" +
+      "d.talent.v4beta1.CompleteQueryResponse\"`" +
+      "\202\323\344\223\002Z\022//v4beta1/{parent=projects/*/tena" +
+      "nts/*}:completeZ\'\022%/v4beta1/{parent=proj" +
+      "ects/*}:complete\032l\312A\023jobs.googleapis.com" +
+      "\322AShttps://www.googleapis.com/auth/cloud" +
+      "-platform,https://www.googleapis.com/aut" +
+      "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet" +
+      "a1B\026CompletionServiceProtoP\001ZAgoogle.gol" +
+      "ang.org/genproto/googleapis/cloud/talent" +
+      "/v4beta1;talent\242\002\003CTSb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(),
+        });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor,
+        new java.lang.String[] { "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type", });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor,
+        new java.lang.String[] { "CompletionResults", "Metadata", });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor =
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor,
+        new java.lang.String[] { "Suggestion", "Type", "ImageUri", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.talent.v4beta1.CommonProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
similarity index 63%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
index 0b278a03521a..29b1143ad456 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/event_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * The report event request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateClientEventRequest} */ -public final class CreateClientEventRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClientEventRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateClientEventRequest) CreateClientEventRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClientEventRequest.newBuilder() to construct. private CreateClientEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClientEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClientEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, - com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -107,18 +82,17 @@ public java.lang.String getParent() {
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,17 +103,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CLIENT_EVENT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ @java.lang.Override @@ -147,36 +116,25 @@ public boolean hasClientEvent() { return clientEvent_ != null; } /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ClientEvent getClientEvent() { - return clientEvent_ == null - ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; } /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder() { @@ -184,7 +142,6 @@ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -216,7 +174,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (clientEvent_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientEvent()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getClientEvent()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,18 +185,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateClientEventRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateClientEventRequest other = - (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; + com.google.cloud.talent.v4beta1.CreateClientEventRequest other = (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - if (!getClientEvent().equals(other.getClientEvent())) return false; + if (!getClientEvent() + .equals(other.getClientEvent())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -262,136 +222,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.CreateClientEventRequest prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateClientEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The report event request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateClientEventRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateClientEventRequest) com.google.cloud.talent.v4beta1.CreateClientEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, - com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateClientEventRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.EventServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override @@ -428,8 +381,7 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateClientEventRequest result = - new com.google.cloud.talent.v4beta1.CreateClientEventRequest(this); + com.google.cloud.talent.v4beta1.CreateClientEventRequest result = new com.google.cloud.talent.v4beta1.CreateClientEventRequest(this); result.parent_ = parent_; if (clientEventBuilder_ == null) { result.clientEvent_ = clientEvent_; @@ -444,39 +396,38 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateClientEventRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateClientEventRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateClientEventRequest)other); } else { super.mergeFrom(other); return this; @@ -484,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateClientEventRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -519,25 +469,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getClientEventFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getClientEventFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,8 +499,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -559,16 +506,14 @@ public Builder mergeFrom(
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -577,8 +522,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -586,17 +529,16 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -604,8 +546,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -613,25 +553,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -639,21 +575,16 @@ public Builder setParent(java.lang.String value) {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -661,19 +592,17 @@ public Builder clearParent() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -681,61 +610,42 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, - com.google.cloud.talent.v4beta1.ClientEvent.Builder, - com.google.cloud.talent.v4beta1.ClientEventOrBuilder> - clientEventBuilder_; + com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder> clientEventBuilder_; /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ public boolean hasClientEvent() { return clientEventBuilder_ != null || clientEvent_ != null; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ public com.google.cloud.talent.v4beta1.ClientEvent getClientEvent() { if (clientEventBuilder_ == null) { - return clientEvent_ == null - ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; } else { return clientEventBuilder_.getMessage(); } } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) { if (clientEventBuilder_ == null) { @@ -751,16 +661,12 @@ public Builder setClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setClientEvent( com.google.cloud.talent.v4beta1.ClientEvent.Builder builderForValue) { @@ -774,24 +680,18 @@ public Builder setClientEvent( return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) { if (clientEventBuilder_ == null) { if (clientEvent_ != null) { clientEvent_ = - com.google.cloud.talent.v4beta1.ClientEvent.newBuilder(clientEvent_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.ClientEvent.newBuilder(clientEvent_).mergeFrom(value).buildPartial(); } else { clientEvent_ = value; } @@ -803,16 +703,12 @@ public Builder mergeClientEvent(com.google.cloud.talent.v4beta1.ClientEvent valu return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearClientEvent() { if (clientEventBuilder_ == null) { @@ -826,74 +722,58 @@ public Builder clearClientEvent() { return this; } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.ClientEvent.Builder getClientEventBuilder() { - + onChanged(); return getClientEventFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder() { if (clientEventBuilder_ != null) { return clientEventBuilder_.getMessageOrBuilder(); } else { - return clientEvent_ == null - ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() - : clientEvent_; + return clientEvent_ == null ? + com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; } } /** - * - * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, - com.google.cloud.talent.v4beta1.ClientEvent.Builder, - com.google.cloud.talent.v4beta1.ClientEventOrBuilder> + com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder> getClientEventFieldBuilder() { if (clientEventBuilder_ == null) { - clientEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, - com.google.cloud.talent.v4beta1.ClientEvent.Builder, - com.google.cloud.talent.v4beta1.ClientEventOrBuilder>( - getClientEvent(), getParentForChildren(), isClean()); + clientEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder>( + getClientEvent(), + getParentForChildren(), + isClean()); clientEvent_ = null; } return clientEventBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -903,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateClientEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateClientEventRequest) private static final com.google.cloud.talent.v4beta1.CreateClientEventRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateClientEventRequest(); } @@ -917,27 +797,27 @@ public static com.google.cloud.talent.v4beta1.CreateClientEventRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClientEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClientEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -952,4 +832,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateClientEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java similarity index 55% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java index 6e2e3d9c3e26..aed1052e582d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateClientEventRequestOrBuilder - extends +public interface CreateClientEventRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateClientEventRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -33,16 +15,11 @@ public interface CreateClientEventRequestOrBuilder
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -50,55 +27,39 @@ public interface CreateClientEventRequestOrBuilder
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the clientEvent field is set. */ boolean hasClientEvent(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The clientEvent. */ com.google.cloud.talent.v4beta1.ClientEvent getClientEvent(); /** - * - * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java similarity index 63% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java index 3a01983324c1..63e7830509aa 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The Request of the CreateCompany method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateCompanyRequest} */ -public final class CreateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateCompanyRequest) CreateCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCompanyRequest.newBuilder() to construct. private CreateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCompanyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, - com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -107,18 +82,17 @@ public java.lang.String getParent() {
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,16 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int COMPANY_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Company company_; /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ @java.lang.Override @@ -146,34 +115,23 @@ public boolean hasCompany() { return company_ != null; } /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company getCompany() { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @@ -181,7 +139,6 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -213,7 +171,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (company_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompany()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCompany()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -223,18 +182,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateCompanyRequest other = - (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; + com.google.cloud.talent.v4beta1.CreateCompanyRequest other = (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - if (!getCompany().equals(other.getCompany())) return false; + if (!getCompany() + .equals(other.getCompany())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -259,135 +219,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request of the CreateCompany method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateCompanyRequest) com.google.cloud.talent.v4beta1.CreateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, - com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override @@ -424,8 +378,7 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateCompanyRequest result = - new com.google.cloud.talent.v4beta1.CreateCompanyRequest(this); + com.google.cloud.talent.v4beta1.CreateCompanyRequest result = new com.google.cloud.talent.v4beta1.CreateCompanyRequest(this); result.parent_ = parent_; if (companyBuilder_ == null) { result.company_ = company_; @@ -440,39 +393,38 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -480,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -515,25 +466,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getCompanyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,8 +496,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -555,16 +503,14 @@ public Builder mergeFrom(
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -573,8 +519,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -582,17 +526,16 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -600,8 +543,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -609,25 +550,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -635,21 +572,16 @@ public Builder setParent(java.lang.String value) {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -657,19 +589,17 @@ public Builder clearParent() {
      * is created, for example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -677,58 +607,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> - companyBuilder_; + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companyBuilder_; /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ public com.google.cloud.talent.v4beta1.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } else { return companyBuilder_.getMessage(); } } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { @@ -744,17 +655,14 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder setCompany( + com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -765,23 +673,17 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builde return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4beta1.Company.newBuilder(company_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Company.newBuilder(company_).mergeFrom(value).buildPartial(); } else { company_ = value; } @@ -793,15 +695,11 @@ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -815,71 +713,55 @@ public Builder clearCompany() { return this; } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? + com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } } /** - * - * *
      * Required. The company to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - getCompany(), getParentForChildren(), isClean()); + companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + getCompany(), + getParentForChildren(), + isClean()); company_ = null; } return companyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -889,12 +771,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateCompanyRequest) private static final com.google.cloud.talent.v4beta1.CreateCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateCompanyRequest(); } @@ -903,27 +785,27 @@ public static com.google.cloud.talent.v4beta1.CreateCompanyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -938,4 +820,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java similarity index 51% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java index 9d8ebf909be7..958278518b0e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateCompanyRequestOrBuilder - extends +public interface CreateCompanyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateCompanyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -33,16 +15,11 @@ public interface CreateCompanyRequestOrBuilder
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -50,52 +27,36 @@ public interface CreateCompanyRequestOrBuilder
    * is created, for example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ boolean hasCompany(); /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ com.google.cloud.talent.v4beta1.Company getCompany(); /** - * - * *
    * Required. The company to be created.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java index 12700fd398fe..f7ae73206358 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Create job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateJobRequest} */ -public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateJobRequest) CreateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateJobRequest.class, - com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateJobRequest.class, com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -79,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -107,18 +82,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,15 +103,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Job job_; /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ @java.lang.Override @@ -145,15 +115,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ @java.lang.Override @@ -161,14 +127,11 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @@ -176,7 +139,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +150,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -208,7 +171,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -218,18 +182,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateJobRequest other = - (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; + com.google.cloud.talent.v4beta1.CreateJobRequest other = (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -253,136 +218,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Create job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateJobRequest) com.google.cloud.talent.v4beta1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateJobRequest.class, - com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateJobRequest.class, com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +357,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override @@ -419,8 +378,7 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateJobRequest result = - new com.google.cloud.talent.v4beta1.CreateJobRequest(this); + com.google.cloud.talent.v4beta1.CreateJobRequest result = new com.google.cloud.talent.v4beta1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -435,39 +393,38 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -475,8 +432,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -510,25 +466,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,8 +496,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -550,16 +503,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -568,8 +519,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -577,17 +526,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -595,8 +543,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -604,25 +550,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -630,21 +572,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -652,19 +589,17 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -672,35 +607,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -711,14 +635,11 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { @@ -734,16 +655,14 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -754,20 +673,17 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValu return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -779,14 +695,11 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -800,66 +713,55 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -869,12 +771,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateJobRequest) private static final com.google.cloud.talent.v4beta1.CreateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateJobRequest(); } @@ -883,27 +785,27 @@ public static com.google.cloud.talent.v4beta1.CreateJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -918,4 +820,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java similarity index 58% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java index 2713e432a75c..9a41f0619a5a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateJobRequestOrBuilder - extends +public interface CreateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface CreateJobRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,49 +27,36 @@ public interface CreateJobRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** - * - * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java index 1aaab0f75c51..cac7205f4e00 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The Request of the CreateTenant method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateTenantRequest} */ -public final class CreateTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateTenantRequest) CreateTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTenantRequest.newBuilder() to construct. private CreateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTenantRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateTenantRequest.class, - com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateTenantRequest.class, com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -127,15 +101,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TENANT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Tenant tenant_; /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ @java.lang.Override @@ -143,15 +113,11 @@ public boolean hasTenant() { return tenant_ != null; } /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ @java.lang.Override @@ -159,14 +125,11 @@ public com.google.cloud.talent.v4beta1.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @@ -174,7 +137,6 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,7 +169,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tenant_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTenant()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTenant()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,18 +180,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateTenantRequest other = - (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; + com.google.cloud.talent.v4beta1.CreateTenantRequest other = (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - if (!getTenant().equals(other.getTenant())) return false; + if (!getTenant() + .equals(other.getTenant())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -252,135 +217,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request of the CreateTenant method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateTenantRequest) com.google.cloud.talent.v4beta1.CreateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateTenantRequest.class, - com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateTenantRequest.class, com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override @@ -417,8 +376,7 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateTenantRequest result = - new com.google.cloud.talent.v4beta1.CreateTenantRequest(this); + com.google.cloud.talent.v4beta1.CreateTenantRequest result = new com.google.cloud.talent.v4beta1.CreateTenantRequest(this); result.parent_ = parent_; if (tenantBuilder_ == null) { result.tenant_ = tenant_; @@ -433,39 +391,38 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -473,8 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -508,25 +464,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getTenantFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,24 +494,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -565,25 +516,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -591,73 +539,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -665,58 +600,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> - tenantBuilder_; + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantBuilder_; /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ public com.google.cloud.talent.v4beta1.Tenant getTenant() { if (tenantBuilder_ == null) { - return tenant_ == null - ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() - : tenant_; + return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } else { return tenantBuilder_.getMessage(); } } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { @@ -732,17 +648,14 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder setTenant( + com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -753,23 +666,17 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderF return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -781,15 +688,11 @@ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -803,71 +706,55 @@ public Builder clearTenant() { return this; } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null - ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() - : tenant_; + return tenant_ == null ? + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } } /** - * - * *
      * Required. The tenant to be created.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder>( - getTenant(), getParentForChildren(), isClean()); + tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( + getTenant(), + getParentForChildren(), + isClean()); tenant_ = null; } return tenantBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -877,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateTenantRequest) private static final com.google.cloud.talent.v4beta1.CreateTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateTenantRequest(); } @@ -891,27 +778,27 @@ public static com.google.cloud.talent.v4beta1.CreateTenantRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java similarity index 54% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java index 85efb9675bce..424c9479c231 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java @@ -1,96 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateTenantRequestOrBuilder - extends +public interface CreateTenantRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateTenantRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ boolean hasTenant(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ com.google.cloud.talent.v4beta1.Tenant getTenant(); /** - * - * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java index 7b477a792761..b63142b1ff8b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Custom attribute values that are either filterable or non-filterable.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CustomAttribute} */ -public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CustomAttribute extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CustomAttribute) CustomAttributeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CustomAttribute.newBuilder() to construct. private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; longValues_ = emptyLongList(); @@ -44,35 +26,32 @@ private CustomAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CustomAttribute.class, - com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); + com.google.cloud.talent.v4beta1.CustomAttribute.class, com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); } public static final int STRING_VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList stringValues_; /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -85,15 +64,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList getStringValuesList() { + public com.google.protobuf.ProtocolStringList + getStringValuesList() { return stringValues_; } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -106,15 +83,12 @@ public com.google.protobuf.ProtocolStringList getStringValuesList() {
    * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -127,7 +101,6 @@ public int getStringValuesCount() {
    * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -135,8 +108,6 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -149,19 +120,17 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString getStringValuesBytes(int index) { + public com.google.protobuf.ByteString + getStringValuesBytes(int index) { return stringValues_.getByteString(index); } public static final int LONG_VALUES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList longValues_; /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -170,16 +139,14 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) {
    * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ @java.lang.Override - public java.util.List getLongValuesList() { + public java.util.List + getLongValuesList() { return longValues_; } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -188,15 +155,12 @@ public java.util.List getLongValuesList() {
    * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -205,21 +169,17 @@ public int getLongValuesCount() {
    * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ public long getLongValues(int index) { return longValues_.getLong(index); } - private int longValuesMemoizedSerializedSize = -1; public static final int FILTERABLE_FIELD_NUMBER = 3; private boolean filterable_; /** - * - * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -228,7 +188,6 @@ public long getLongValues(int index) {
    * 
* * bool filterable = 3; - * * @return The filterable. */ @java.lang.Override @@ -239,8 +198,6 @@ public boolean getFilterable() { public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER = 4; private boolean keywordSearchable_; /** - * - * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -249,7 +206,6 @@ public boolean getFilterable() {
    * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ @java.lang.Override @@ -258,7 +214,6 @@ public boolean getKeywordSearchable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stringValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValues_.getRaw(i)); @@ -308,21 +264,24 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); } longValuesMemoizedSerializedSize = dataSize; } if (filterable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, filterable_); } if (keywordSearchable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, keywordSearchable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, keywordSearchable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,18 +291,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CustomAttribute)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CustomAttribute other = - (com.google.cloud.talent.v4beta1.CustomAttribute) obj; - - if (!getStringValuesList().equals(other.getStringValuesList())) return false; - if (!getLongValuesList().equals(other.getLongValuesList())) return false; - if (getFilterable() != other.getFilterable()) return false; - if (getKeywordSearchable() != other.getKeywordSearchable()) return false; + com.google.cloud.talent.v4beta1.CustomAttribute other = (com.google.cloud.talent.v4beta1.CustomAttribute) obj; + + if (!getStringValuesList() + .equals(other.getStringValuesList())) return false; + if (!getLongValuesList() + .equals(other.getLongValuesList())) return false; + if (getFilterable() + != other.getFilterable()) return false; + if (getKeywordSearchable() + != other.getKeywordSearchable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -364,144 +326,140 @@ public int hashCode() { hash = (53 * hash) + getLongValuesList().hashCode(); } hash = (37 * hash) + FILTERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFilterable()); hash = (37 * hash) + KEYWORD_SEARCHABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeywordSearchable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getKeywordSearchable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CustomAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Custom attribute values that are either filterable or non-filterable.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CustomAttribute} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CustomAttribute) com.google.cloud.talent.v4beta1.CustomAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CustomAttribute.class, - com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); + com.google.cloud.talent.v4beta1.CustomAttribute.class, com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CustomAttribute.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override @@ -538,8 +496,7 @@ public com.google.cloud.talent.v4beta1.CustomAttribute build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { - com.google.cloud.talent.v4beta1.CustomAttribute result = - new com.google.cloud.talent.v4beta1.CustomAttribute(this); + com.google.cloud.talent.v4beta1.CustomAttribute result = new com.google.cloud.talent.v4beta1.CustomAttribute(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); @@ -561,39 +518,38 @@ public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CustomAttribute) { - return mergeFrom((com.google.cloud.talent.v4beta1.CustomAttribute) other); + return mergeFrom((com.google.cloud.talent.v4beta1.CustomAttribute)other); } else { super.mergeFrom(other); return this; @@ -601,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CustomAttribute other) { - if (other == com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance()) return this; if (!other.stringValues_.isEmpty()) { if (stringValues_.isEmpty()) { stringValues_ = other.stringValues_; @@ -655,50 +610,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureStringValuesIsMutable(); - stringValues_.add(s); - break; - } // case 10 - case 16: - { - long v = input.readInt64(); - ensureLongValuesIsMutable(); - longValues_.addLong(v); - break; - } // case 16 - case 18: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureLongValuesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - longValues_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 18 - case 24: - { - filterable_ = input.readBool(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureStringValuesIsMutable(); + stringValues_.add(s); + break; + } // case 10 + case 16: { + long v = input.readInt64(); + ensureLongValuesIsMutable(); + longValues_.addLong(v); + break; + } // case 16 + case 18: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureLongValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + longValues_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 18 + case 24: { + filterable_ = input.readBool(); - break; - } // case 24 - case 32: - { - keywordSearchable_ = input.readBool(); + break; + } // case 24 + case 32: { + keywordSearchable_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -708,21 +657,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList stringValues_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStringValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -735,15 +679,13 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList getStringValuesList() { + public com.google.protobuf.ProtocolStringList + getStringValuesList() { return stringValues_.getUnmodifiableView(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -756,15 +698,12 @@ public com.google.protobuf.ProtocolStringList getStringValuesList() {
      * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -777,7 +716,6 @@ public int getStringValuesCount() {
      * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -785,8 +723,6 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -799,16 +735,14 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString getStringValuesBytes(int index) { + public com.google.protobuf.ByteString + getStringValuesBytes(int index) { return stringValues_.getByteString(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -821,23 +755,21 @@ public com.google.protobuf.ByteString getStringValuesBytes(int index) {
      * 
* * repeated string string_values = 1; - * * @param index The index to set the value at. * @param value The stringValues to set. * @return This builder for chaining. */ - public Builder setStringValues(int index, java.lang.String value) { + public Builder setStringValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.set(index, value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -850,22 +782,20 @@ public Builder setStringValues(int index, java.lang.String value) {
      * 
* * repeated string string_values = 1; - * * @param value The stringValues to add. * @return This builder for chaining. */ - public Builder addStringValues(java.lang.String value) { + public Builder addStringValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -878,19 +808,18 @@ public Builder addStringValues(java.lang.String value) {
      * 
* * repeated string string_values = 1; - * * @param values The stringValues to add. * @return This builder for chaining. */ - public Builder addAllStringValues(java.lang.Iterable values) { + public Builder addAllStringValues( + java.lang.Iterable values) { ensureStringValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stringValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stringValues_); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -903,7 +832,6 @@ public Builder addAllStringValues(java.lang.Iterable values) {
      * 
* * repeated string string_values = 1; - * * @return This builder for chaining. */ public Builder clearStringValues() { @@ -913,8 +841,6 @@ public Builder clearStringValues() { return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -927,15 +853,15 @@ public Builder clearStringValues() {
      * 
* * repeated string string_values = 1; - * * @param value The bytes of the stringValues to add. * @return This builder for chaining. */ - public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { + public Builder addStringValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); @@ -943,16 +869,13 @@ public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); - private void ensureLongValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -961,17 +884,14 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ - public java.util.List getLongValuesList() { - return ((bitField0_ & 0x00000002) != 0) - ? java.util.Collections.unmodifiableList(longValues_) - : longValues_; + public java.util.List + getLongValuesList() { + return ((bitField0_ & 0x00000002) != 0) ? + java.util.Collections.unmodifiableList(longValues_) : longValues_; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -980,15 +900,12 @@ public java.util.List getLongValuesList() {
      * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -997,7 +914,6 @@ public int getLongValuesCount() {
      * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ @@ -1005,8 +921,6 @@ public long getLongValues(int index) { return longValues_.getLong(index); } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1015,20 +929,18 @@ public long getLongValues(int index) {
      * 
* * repeated int64 long_values = 2; - * * @param index The index to set the value at. * @param value The longValues to set. * @return This builder for chaining. */ - public Builder setLongValues(int index, long value) { + public Builder setLongValues( + int index, long value) { ensureLongValuesIsMutable(); longValues_.setLong(index, value); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1037,7 +949,6 @@ public Builder setLongValues(int index, long value) {
      * 
* * repeated int64 long_values = 2; - * * @param value The longValues to add. * @return This builder for chaining. */ @@ -1048,8 +959,6 @@ public Builder addLongValues(long value) { return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1058,19 +967,18 @@ public Builder addLongValues(long value) {
      * 
* * repeated int64 long_values = 2; - * * @param values The longValues to add. * @return This builder for chaining. */ - public Builder addAllLongValues(java.lang.Iterable values) { + public Builder addAllLongValues( + java.lang.Iterable values) { ensureLongValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, longValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, longValues_); onChanged(); return this; } /** - * - * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -1079,7 +987,6 @@ public Builder addAllLongValues(java.lang.Iterable val
      * 
* * repeated int64 long_values = 2; - * * @return This builder for chaining. */ public Builder clearLongValues() { @@ -1089,10 +996,8 @@ public Builder clearLongValues() { return this; } - private boolean filterable_; + private boolean filterable_ ; /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1101,7 +1006,6 @@ public Builder clearLongValues() {
      * 
* * bool filterable = 3; - * * @return The filterable. */ @java.lang.Override @@ -1109,8 +1013,6 @@ public boolean getFilterable() { return filterable_; } /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1119,19 +1021,16 @@ public boolean getFilterable() {
      * 
* * bool filterable = 3; - * * @param value The filterable to set. * @return This builder for chaining. */ public Builder setFilterable(boolean value) { - + filterable_ = value; onChanged(); return this; } /** - * - * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1140,20 +1039,17 @@ public Builder setFilterable(boolean value) {
      * 
* * bool filterable = 3; - * * @return This builder for chaining. */ public Builder clearFilterable() { - + filterable_ = false; onChanged(); return this; } - private boolean keywordSearchable_; + private boolean keywordSearchable_ ; /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1162,7 +1058,6 @@ public Builder clearFilterable() {
      * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ @java.lang.Override @@ -1170,8 +1065,6 @@ public boolean getKeywordSearchable() { return keywordSearchable_; } /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1180,19 +1073,16 @@ public boolean getKeywordSearchable() {
      * 
* * bool keyword_searchable = 4; - * * @param value The keywordSearchable to set. * @return This builder for chaining. */ public Builder setKeywordSearchable(boolean value) { - + keywordSearchable_ = value; onChanged(); return this; } /** - * - * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1201,18 +1091,17 @@ public Builder setKeywordSearchable(boolean value) {
      * 
* * bool keyword_searchable = 4; - * * @return This builder for chaining. */ public Builder clearKeywordSearchable() { - + keywordSearchable_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1222,12 +1111,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CustomAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CustomAttribute) private static final com.google.cloud.talent.v4beta1.CustomAttribute DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CustomAttribute(); } @@ -1236,27 +1125,27 @@ public static com.google.cloud.talent.v4beta1.CustomAttribute getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1271,4 +1160,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CustomAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java similarity index 87% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java index 9a1302e5db3b..8a54c664071f 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface CustomAttributeOrBuilder - extends +public interface CustomAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CustomAttribute) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -38,13 +20,11 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @return A list containing the stringValues. */ - java.util.List getStringValuesList(); + java.util.List + getStringValuesList(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -57,13 +37,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @return The count of stringValues. */ int getStringValuesCount(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -76,14 +53,11 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @param index The index of the element to return. * @return The stringValues at the given index. */ java.lang.String getStringValues(int index); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -96,15 +70,13 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated string string_values = 1; - * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - com.google.protobuf.ByteString getStringValuesBytes(int index); + com.google.protobuf.ByteString + getStringValuesBytes(int index); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -113,13 +85,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @return A list containing the longValues. */ java.util.List getLongValuesList(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -128,13 +97,10 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @return The count of longValues. */ int getLongValuesCount(); /** - * - * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -143,15 +109,12 @@ public interface CustomAttributeOrBuilder
    * 
* * repeated int64 long_values = 2; - * * @param index The index of the element to return. * @return The longValues at the given index. */ long getLongValues(int index); /** - * - * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -160,14 +123,11 @@ public interface CustomAttributeOrBuilder
    * 
* * bool filterable = 3; - * * @return The filterable. */ boolean getFilterable(); /** - * - * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -176,7 +136,6 @@ public interface CustomAttributeOrBuilder
    * 
* * bool keyword_searchable = 4; - * * @return The keywordSearchable. */ boolean getKeywordSearchable(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java similarity index 81% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java index 0e72a3fcae2a..ab7cc30ff6a6 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Educational degree level defined in International Standard Classification
  * of Education (ISCED).
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.DegreeType}
  */
-public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
+public enum DegreeType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -42,8 +24,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   DEGREE_TYPE_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -54,8 +34,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PRIMARY_EDUCATION(1),
   /**
-   *
-   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -67,8 +45,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   LOWER_SECONDARY_EDUCATION(2),
   /**
-   *
-   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -81,8 +57,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   UPPER_SECONDARY_EDUCATION(3),
   /**
-   *
-   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -94,8 +68,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   ADULT_REMEDIAL_EDUCATION(4),
   /**
-   *
-   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -107,8 +79,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   ASSOCIATES_OR_EQUIVALENT(5),
   /**
-   *
-   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -119,8 +89,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   BACHELORS_OR_EQUIVALENT(6),
   /**
-   *
-   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -131,8 +99,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   MASTERS_OR_EQUIVALENT(7),
   /**
-   *
-   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -147,8 +113,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -159,8 +123,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DEGREE_TYPE_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -171,8 +133,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PRIMARY_EDUCATION_VALUE = 1;
   /**
-   *
-   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -184,8 +144,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LOWER_SECONDARY_EDUCATION_VALUE = 2;
   /**
-   *
-   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -198,8 +156,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int UPPER_SECONDARY_EDUCATION_VALUE = 3;
   /**
-   *
-   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -211,8 +167,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ADULT_REMEDIAL_EDUCATION_VALUE = 4;
   /**
-   *
-   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -224,8 +178,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ASSOCIATES_OR_EQUIVALENT_VALUE = 5;
   /**
-   *
-   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -236,8 +188,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BACHELORS_OR_EQUIVALENT_VALUE = 6;
   /**
-   *
-   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -248,8 +198,6 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MASTERS_OR_EQUIVALENT_VALUE = 7;
   /**
-   *
-   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -261,6 +209,7 @@ public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DOCTORAL_OR_EQUIVALENT_VALUE = 8;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -285,61 +234,55 @@ public static DegreeType valueOf(int value) {
    */
   public static DegreeType forNumber(int value) {
     switch (value) {
-      case 0:
-        return DEGREE_TYPE_UNSPECIFIED;
-      case 1:
-        return PRIMARY_EDUCATION;
-      case 2:
-        return LOWER_SECONDARY_EDUCATION;
-      case 3:
-        return UPPER_SECONDARY_EDUCATION;
-      case 4:
-        return ADULT_REMEDIAL_EDUCATION;
-      case 5:
-        return ASSOCIATES_OR_EQUIVALENT;
-      case 6:
-        return BACHELORS_OR_EQUIVALENT;
-      case 7:
-        return MASTERS_OR_EQUIVALENT;
-      case 8:
-        return DOCTORAL_OR_EQUIVALENT;
-      default:
-        return null;
+      case 0: return DEGREE_TYPE_UNSPECIFIED;
+      case 1: return PRIMARY_EDUCATION;
+      case 2: return LOWER_SECONDARY_EDUCATION;
+      case 3: return UPPER_SECONDARY_EDUCATION;
+      case 4: return ADULT_REMEDIAL_EDUCATION;
+      case 5: return ASSOCIATES_OR_EQUIVALENT;
+      case 6: return BACHELORS_OR_EQUIVALENT;
+      case 7: return MASTERS_OR_EQUIVALENT;
+      case 8: return DOCTORAL_OR_EQUIVALENT;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DegreeType> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DegreeType findValueByNumber(int number) {
+            return DegreeType.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public DegreeType findValueByNumber(int number) {
-          return DegreeType.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DegreeType[] VALUES = values();
 
-  public static DegreeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DegreeType valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -355,3 +298,4 @@ private DegreeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.DegreeType)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
similarity index 65%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
index 30cc735734c7..f07be11354ce 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Request to delete a company.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteCompanyRequest} */ -public final class DeleteCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteCompanyRequest) DeleteCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteCompanyRequest.newBuilder() to construct. private DeleteCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -111,18 +86,17 @@ public java.lang.String getName() {
    * example, "projects/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +141,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = - (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; + com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,135 +169,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteCompanyRequest) com.google.cloud.talent.v4beta1.DeleteCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override @@ -354,8 +322,7 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteCompanyRequest result = - new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(this); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest result = new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -365,39 +332,38 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -473,16 +434,14 @@ public Builder mergeFrom(
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -502,17 +459,16 @@ public java.lang.String getName() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -531,25 +485,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -559,21 +509,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -583,26 +528,24 @@ public Builder clearName() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest) private static final com.google.cloud.talent.v4beta1.DeleteCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(); } @@ -626,27 +569,27 @@ public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java similarity index 53% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java index ddfbf7a80814..0a0dab559ffa 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface DeleteCompanyRequestOrBuilder - extends +public interface DeleteCompanyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteCompanyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -35,16 +17,11 @@ public interface DeleteCompanyRequestOrBuilder
    * example, "projects/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -54,11 +31,9 @@ public interface DeleteCompanyRequestOrBuilder
    * example, "projects/foo/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java index ef497c7d888d..b005f8975f28 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Delete job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteJobRequest} */ -public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteJobRequest) DeleteJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteJobRequest.class, - com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteJobRequest.class, com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -111,18 +86,17 @@ public java.lang.String getName() {
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +141,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteJobRequest other = - (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; + com.google.cloud.talent.v4beta1.DeleteJobRequest other = (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,136 +168,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Delete job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteJobRequest) com.google.cloud.talent.v4beta1.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteJobRequest.class, - com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteJobRequest.class, com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override @@ -354,8 +322,7 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteJobRequest result = - new com.google.cloud.talent.v4beta1.DeleteJobRequest(this); + com.google.cloud.talent.v4beta1.DeleteJobRequest result = new com.google.cloud.talent.v4beta1.DeleteJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -365,39 +332,38 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteJobRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -473,16 +434,14 @@ public Builder mergeFrom(
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -502,17 +459,16 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -531,25 +485,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -559,21 +509,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -583,26 +528,24 @@ public Builder clearName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteJobRequest) private static final com.google.cloud.talent.v4beta1.DeleteJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteJobRequest(); } @@ -626,27 +569,27 @@ public static com.google.cloud.talent.v4beta1.DeleteJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java similarity index 51% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java index ff441ebae65b..017cd593e192 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface DeleteJobRequestOrBuilder - extends +public interface DeleteJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -35,16 +17,11 @@ public interface DeleteJobRequestOrBuilder
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -54,11 +31,9 @@ public interface DeleteJobRequestOrBuilder
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java index 1f0c0d6fe994..d51c2f5fde45 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request to delete a tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteTenantRequest} */ -public final class DeleteTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteTenantRequest) DeleteTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTenantRequest.newBuilder() to construct. private DeleteTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, - com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteTenantRequest other = - (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; + com.google.cloud.talent.v4beta1.DeleteTenantRequest other = (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -189,135 +163,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request to delete a tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteTenantRequest) com.google.cloud.talent.v4beta1.DeleteTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, - com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteTenantRequest result = - new com.google.cloud.talent.v4beta1.DeleteTenantRequest(this); + com.google.cloud.talent.v4beta1.DeleteTenantRequest result = new com.google.cloud.talent.v4beta1.DeleteTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -399,8 +365,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -431,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -482,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -508,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteTenantRequest) private static final com.google.cloud.talent.v4beta1.DeleteTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteTenantRequest(); } @@ -605,27 +548,27 @@ public static com.google.cloud.talent.v4beta1.DeleteTenantRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java new file mode 100644 index 000000000000..7b3ca2a3b5a6 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface DeleteTenantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java similarity index 68% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java index 0523a79ba467..0c82a6c193c1 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Device information collected from the job seeker, candidate, or
  * other entity conducting the job search. Providing this information improves
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.DeviceInfo}
  */
-public final class DeviceInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeviceInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeviceInfo)
     DeviceInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeviceInfo.newBuilder() to construct.
   private DeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeviceInfo() {
     deviceType_ = 0;
     id_ = "";
@@ -46,43 +28,39 @@ private DeviceInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeviceInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.DeviceInfo.class,
-            com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
+            com.google.cloud.talent.v4beta1.DeviceInfo.class, com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enumeration describing an API access portal and exposure mechanism.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.DeviceInfo.DeviceType} */ - public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { + public enum DeviceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The device type isn't specified.
      * 
@@ -91,8 +69,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ DEVICE_TYPE_UNSPECIFIED(0), /** - * - * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -102,8 +78,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     WEB(1),
     /**
-     *
-     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -113,8 +87,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     MOBILE_WEB(2),
     /**
-     *
-     *
      * 
      * An Android device native application.
      * 
@@ -123,8 +95,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ ANDROID(3), /** - * - * *
      * An iOS device native application.
      * 
@@ -133,8 +103,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ IOS(4), /** - * - * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -144,8 +112,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOT(5),
     /**
-     *
-     *
      * 
      * Other devices types.
      * 
@@ -157,8 +123,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The device type isn't specified.
      * 
@@ -167,8 +131,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEVICE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -178,8 +140,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int WEB_VALUE = 1;
     /**
-     *
-     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -189,8 +149,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MOBILE_WEB_VALUE = 2;
     /**
-     *
-     *
      * 
      * An Android device native application.
      * 
@@ -199,8 +157,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANDROID_VALUE = 3; /** - * - * *
      * An iOS device native application.
      * 
@@ -209,8 +165,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IOS_VALUE = 4; /** - * - * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -220,8 +174,6 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOT_VALUE = 5;
     /**
-     *
-     *
      * 
      * Other devices types.
      * 
@@ -230,6 +182,7 @@ public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,57 +207,53 @@ public static DeviceType valueOf(int value) { */ public static DeviceType forNumber(int value) { switch (value) { - case 0: - return DEVICE_TYPE_UNSPECIFIED; - case 1: - return WEB; - case 2: - return MOBILE_WEB; - case 3: - return ANDROID; - case 4: - return IOS; - case 5: - return BOT; - case 6: - return OTHER; - default: - return null; + case 0: return DEVICE_TYPE_UNSPECIFIED; + case 1: return WEB; + case 2: return MOBILE_WEB; + case 3: return ANDROID; + case 4: return IOS; + case 5: return BOT; + case 6: return OTHER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DeviceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeviceType findValueByNumber(int number) { - return DeviceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final DeviceType[] VALUES = values(); - public static DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeviceType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -324,53 +273,39 @@ private DeviceType(int value) { public static final int DEVICE_TYPE_FIELD_NUMBER = 1; private int deviceType_; /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override - public int getDeviceTypeValue() { + @java.lang.Override public int getDeviceTypeValue() { return deviceType_; } /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null - ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED : result; } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -379,30 +314,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -411,7 +346,6 @@ public com.google.protobuf.ByteString getIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,10 +357,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (deviceType_ - != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (deviceType_ != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { @@ -441,10 +374,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (deviceType_ - != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deviceType_); + if (deviceType_ != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); @@ -457,16 +389,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeviceInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeviceInfo other = - (com.google.cloud.talent.v4beta1.DeviceInfo) obj; + com.google.cloud.talent.v4beta1.DeviceInfo other = (com.google.cloud.talent.v4beta1.DeviceInfo) obj; if (deviceType_ != other.deviceType_) return false; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,104 +419,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeviceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Device information collected from the job seeker, candidate, or
    * other entity conducting the job search. Providing this information improves
@@ -593,32 +518,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.DeviceInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeviceInfo)
       com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.DeviceInfo.class,
-              com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
+              com.google.cloud.talent.v4beta1.DeviceInfo.class, com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -630,9 +556,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
@@ -651,8 +577,7 @@ public com.google.cloud.talent.v4beta1.DeviceInfo build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() {
-      com.google.cloud.talent.v4beta1.DeviceInfo result =
-          new com.google.cloud.talent.v4beta1.DeviceInfo(this);
+      com.google.cloud.talent.v4beta1.DeviceInfo result = new com.google.cloud.talent.v4beta1.DeviceInfo(this);
       result.deviceType_ = deviceType_;
       result.id_ = id_;
       onBuilt();
@@ -663,39 +588,38 @@ public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.DeviceInfo) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.DeviceInfo) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.DeviceInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -737,25 +661,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                deviceType_ = input.readEnum();
+            case 8: {
+              deviceType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                id_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              id_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -768,67 +689,51 @@ public Builder mergeFrom(
 
     private int deviceType_ = 0;
     /**
-     *
-     *
      * 
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override - public int getDeviceTypeValue() { + @java.lang.Override public int getDeviceTypeValue() { return deviceType_; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @param value The enum numeric value on the wire for deviceType to set. * @return This builder for chaining. */ public Builder setDeviceTypeValue(int value) { - + deviceType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null - ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED : result; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @param value The deviceType to set. * @return This builder for chaining. */ @@ -836,24 +741,21 @@ public Builder setDeviceType(com.google.cloud.talent.v4beta1.DeviceInfo.DeviceTy if (value == null) { throw new NullPointerException(); } - + deviceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return This builder for chaining. */ public Builder clearDeviceType() { - + deviceType_ = 0; onChanged(); return this; @@ -861,21 +763,19 @@ public Builder clearDeviceType() { private java.lang.Object id_ = ""; /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -884,22 +784,21 @@ public java.lang.String getId() { } } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -907,71 +806,64 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -981,12 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeviceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeviceInfo) private static final com.google.cloud.talent.v4beta1.DeviceInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeviceInfo(); } @@ -995,27 +887,27 @@ public static com.google.cloud.talent.v4beta1.DeviceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeviceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeviceInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeviceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java index d723c94a14d9..4117afcead67 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java @@ -1,77 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface DeviceInfoOrBuilder - extends +public interface DeviceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeviceInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The enum numeric value on the wire for deviceType. */ int getDeviceTypeValue(); /** - * - * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; - * * @return The deviceType. */ com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType(); /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java index 010200f29ed8..281274bdd173 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents the employment type of a job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.EmploymentType} */ -public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { +public enum EmploymentType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value if the employment type isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ EMPLOYMENT_TYPE_UNSPECIFIED(0), /** - * - * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -50,8 +30,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FULL_TIME(1),
   /**
-   *
-   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -61,8 +39,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PART_TIME(2),
   /**
-   *
-   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -72,8 +48,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CONTRACTOR(3),
   /**
-   *
-   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -85,8 +59,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   CONTRACT_TO_HIRE(4),
   /**
-   *
-   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -96,8 +68,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   TEMPORARY(5),
   /**
-   *
-   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -108,8 +78,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   INTERN(6),
   /**
-   *
-   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -119,8 +87,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   VOLUNTEER(7),
   /**
-   *
-   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -130,8 +96,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   PER_DIEM(8),
   /**
-   *
-   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -142,8 +106,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   FLY_IN_FLY_OUT(9),
   /**
-   *
-   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -155,8 +117,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the employment type isn't specified.
    * 
@@ -165,8 +125,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EMPLOYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -176,8 +134,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FULL_TIME_VALUE = 1;
   /**
-   *
-   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -187,8 +143,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PART_TIME_VALUE = 2;
   /**
-   *
-   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -198,8 +152,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CONTRACTOR_VALUE = 3;
   /**
-   *
-   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -211,8 +163,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CONTRACT_TO_HIRE_VALUE = 4;
   /**
-   *
-   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -222,8 +172,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TEMPORARY_VALUE = 5;
   /**
-   *
-   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -234,8 +182,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INTERN_VALUE = 6;
   /**
-   *
-   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -245,8 +191,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VOLUNTEER_VALUE = 7;
   /**
-   *
-   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -256,8 +200,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PER_DIEM_VALUE = 8;
   /**
-   *
-   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -268,8 +210,6 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FLY_IN_FLY_OUT_VALUE = 9;
   /**
-   *
-   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -278,6 +218,7 @@ public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OTHER_EMPLOYMENT_TYPE_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -302,65 +243,57 @@ public static EmploymentType valueOf(int value) { */ public static EmploymentType forNumber(int value) { switch (value) { - case 0: - return EMPLOYMENT_TYPE_UNSPECIFIED; - case 1: - return FULL_TIME; - case 2: - return PART_TIME; - case 3: - return CONTRACTOR; - case 4: - return CONTRACT_TO_HIRE; - case 5: - return TEMPORARY; - case 6: - return INTERN; - case 7: - return VOLUNTEER; - case 8: - return PER_DIEM; - case 9: - return FLY_IN_FLY_OUT; - case 10: - return OTHER_EMPLOYMENT_TYPE; - default: - return null; + case 0: return EMPLOYMENT_TYPE_UNSPECIFIED; + case 1: return FULL_TIME; + case 2: return PART_TIME; + case 3: return CONTRACTOR; + case 4: return CONTRACT_TO_HIRE; + case 5: return TEMPORARY; + case 6: return INTERN; + case 7: return VOLUNTEER; + case 8: return PER_DIEM; + case 9: return FLY_IN_FLY_OUT; + case 10: return OTHER_EMPLOYMENT_TYPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EmploymentType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EmploymentType findValueByNumber(int number) { + return EmploymentType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EmploymentType findValueByNumber(int number) { - return EmploymentType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(3); } private static final EmploymentType[] VALUES = values(); - public static EmploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EmploymentType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -376,3 +309,4 @@ private EmploymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.EmploymentType) } + diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java new file mode 100644 index 000000000000..909b5676cb97 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java @@ -0,0 +1,90 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/event.proto + +package com.google.cloud.talent.v4beta1; + +public final class EventProto { + private EventProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/talent/v4beta1/event.prot" + + "o\022\033google.cloud.talent.v4beta1\032\037google/a" + + "pi/field_behavior.proto\032\037google/protobuf" + + "/timestamp.proto\"\310\001\n\013ClientEvent\022\022\n\nrequ" + + "est_id\030\001 \001(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013c" + + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\002\022:\n\tjob_event\030\005 \001(\0132%.google.cl" + + "oud.talent.v4beta1.JobEventH\000\022\023\n\013event_n" + + "otes\030\t \001(\tB\007\n\005event\"\366\003\n\010JobEvent\022E\n\004type" + + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Job" + + "Event.JobEventTypeB\003\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340" + + "A\002\022\017\n\007profile\030\003 \001(\t\"\376\002\n\014JobEventType\022\036\n\032" + + "JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSI" + + "ON\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APP" + + "LICATION_START\020\004\022\026\n\022APPLICATION_FINISH\020\005" + + "\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n\024AP" + + "PLICATION_REDIRECT\020\007\022!\n\035APPLICATION_STAR" + + "T_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRECT_" + + "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" + + "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" + + "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" + + "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" + + "\nEventProtoP\001ZAgoogle.golang.org/genprot" + + "o/googleapis/cloud/talent/v4beta1;talent" + + "\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor, + new java.lang.String[] { "RequestId", "EventId", "CreateTime", "JobEvent", "EventNotes", "Event", }); + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor, + new java.lang.String[] { "Type", "Jobs", "Profile", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java new file mode 100644 index 000000000000..f03ff6b2311a --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java @@ -0,0 +1,88 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/event_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class EventServiceProto { + private EventServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/talent/v4beta1/event_serv" + + "ice.proto\022\033google.cloud.talent.v4beta1\032\034" + + "google/api/annotations.proto\032\027google/api" + + "/client.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\'googl" + + "e/cloud/talent/v4beta1/event.proto\"\224\001\n\030C" + + "reateClientEventRequest\0223\n\006parent\030\001 \001(\tB" + + "#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022C\n\014" + + "client_event\030\002 \001(\0132(.google.cloud.talent" + + ".v4beta1.ClientEventB\003\340A\0022\372\002\n\014EventServi" + + "ce\022\373\001\n\021CreateClientEvent\0225.google.cloud." + + "talent.v4beta1.CreateClientEventRequest\032" + + "(.google.cloud.talent.v4beta1.ClientEven" + + "t\"\204\001\202\323\344\223\002h\"3/v4beta1/{parent=projects/*/" + + "tenants/*}/clientEvents:\001*Z.\")/v4beta1/{" + + "parent=projects/*}/clientEvents:\001*\332A\023par" + + "ent,client_event\032l\312A\023jobs.googleapis.com" + + "\322AShttps://www.googleapis.com/auth/cloud" + + "-platform,https://www.googleapis.com/aut" + + "h/jobsB\177\n\037com.google.cloud.talent.v4beta" + + "1B\021EventServiceProtoP\001ZAgoogle.golang.or" + + "g/genproto/googleapis/cloud/talent/v4bet" + + "a1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.EventProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor, + new java.lang.String[] { "Parent", "ClientEvent", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.EventProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java new file mode 100644 index 000000000000..4b39f1746b4f --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java @@ -0,0 +1,152 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/filters.proto + +package com.google.cloud.talent.v4beta1; + +public final class FiltersProto { + private FiltersProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/talent/v4beta1/filters.pr" + + "oto\022\033google.cloud.talent.v4beta1\032\037google" + + "/api/field_behavior.proto\032(google/cloud/" + + "talent/v4beta1/common.proto\032\036google/prot" + + "obuf/duration.proto\032\030google/type/latlng." + + "proto\032\033google/type/timeofday.proto\"\200\005\n\010J" + + "obQuery\022\r\n\005query\030\001 \001(\t\022\033\n\023query_language" + + "_code\030\016 \001(\t\022\021\n\tcompanies\030\002 \003(\t\022E\n\020locati" + + "on_filters\030\003 \003(\0132+.google.cloud.talent.v" + + "4beta1.LocationFilter\022@\n\016job_categories\030" + + "\004 \003(\0162(.google.cloud.talent.v4beta1.JobC" + + "ategory\022B\n\016commute_filter\030\005 \001(\0132*.google" + + ".cloud.talent.v4beta1.CommuteFilter\022\035\n\025c" + + "ompany_display_names\030\006 \003(\t\022L\n\023compensati" + + "on_filter\030\007 \001(\0132/.google.cloud.talent.v4" + + "beta1.CompensationFilter\022\037\n\027custom_attri" + + "bute_filter\030\010 \001(\t\022\033\n\023disable_spell_check" + + "\030\t \001(\010\022E\n\020employment_types\030\n \003(\0162+.googl" + + "e.cloud.talent.v4beta1.EmploymentType\022\026\n" + + "\016language_codes\030\013 \003(\t\022G\n\022publish_time_ra" + + "nge\030\014 \001(\0132+.google.cloud.talent.v4beta1." + + "TimestampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\203\003" + + "\n\016LocationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013reg" + + "ion_code\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google" + + ".type.LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022" + + "a\n\026telecommute_preference\030\005 \001(\0162A.google" + + ".cloud.talent.v4beta1.LocationFilter.Tel" + + "ecommutePreference\022\017\n\007negated\030\006 \001(\010\"\225\001\n\025" + + "TelecommutePreference\022&\n\"TELECOMMUTE_PRE" + + "FERENCE_UNSPECIFIED\020\000\022\034\n\024TELECOMMUTE_EXC" + + "LUDED\020\001\032\002\010\001\022\027\n\023TELECOMMUTE_ALLOWED\020\002\022\035\n\031" + + "TELECOMMUTE_JOBS_EXCLUDED\020\003\"\312\003\n\022Compensa" + + "tionFilter\022M\n\004type\030\001 \001(\0162:.google.cloud." + + "talent.v4beta1.CompensationFilter.Filter" + + "TypeB\003\340A\002\022R\n\005units\030\002 \003(\0162>.google.cloud." + + "talent.v4beta1.CompensationInfo.Compensa" + + "tionUnitB\003\340A\002\022N\n\005range\030\003 \001(\0132?.google.cl" + + "oud.talent.v4beta1.CompensationInfo.Comp" + + "ensationRange\0228\n0include_jobs_with_unspe" + + "cified_compensation_range\030\004 \001(\010\"\206\001\n\nFilt" + + "erType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n\tU" + + "NIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANNUA" + + "LIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTAL_" + + "AMOUNT\020\004\"\313\003\n\rCommuteFilter\022G\n\016commute_me" + + "thod\030\001 \001(\0162*.google.cloud.talent.v4beta1" + + ".CommuteMethodB\003\340A\002\0223\n\021start_coordinates" + + "\030\002 \001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017trav" + + "el_duration\030\003 \001(\0132\031.google.protobuf.Dura" + + "tionB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004" + + " \001(\010\022N\n\014road_traffic\030\005 \001(\01626.google.clou" + + "d.talent.v4beta1.CommuteFilter.RoadTraff" + + "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" + + "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" + + "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" + + "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" + + "ogle.cloud.talent.v4beta1B\014FiltersProtoP" + + "\001ZAgoogle.golang.org/genproto/googleapis" + + "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor, + new java.lang.String[] { "Query", "QueryLanguageCode", "Companies", "LocationFilters", "JobCategories", "CommuteFilter", "CompanyDisplayNames", "CompensationFilter", "CustomAttributeFilter", "DisableSpellCheck", "EmploymentTypes", "LanguageCodes", "PublishTimeRange", "ExcludedJobs", }); + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor, + new java.lang.String[] { "Address", "RegionCode", "LatLng", "DistanceInMiles", "TelecommutePreference", "Negated", }); + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor, + new java.lang.String[] { "Type", "Units", "Range", "IncludeJobsWithUnspecifiedCompensationRange", }); + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor, + new java.lang.String[] { "CommuteMethod", "StartCoordinates", "TravelDuration", "AllowImpreciseAddresses", "RoadTraffic", "DepartureTime", "TrafficOption", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java index d384369e9a71..d471a20719f4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request for getting a company by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetCompanyRequest} */ -public final class GetCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetCompanyRequest) GetCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCompanyRequest.newBuilder() to construct. private GetCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetCompanyRequest.class, - com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetCompanyRequest.class, com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/api-test-project/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -111,18 +86,17 @@ public java.lang.String getName() {
    * example, "projects/api-test-project/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +141,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetCompanyRequest other = - (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; + com.google.cloud.talent.v4beta1.GetCompanyRequest other = (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -195,135 +169,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for getting a company by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetCompanyRequest) com.google.cloud.talent.v4beta1.GetCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetCompanyRequest.class, - com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetCompanyRequest.class, com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override @@ -354,8 +322,7 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetCompanyRequest result = - new com.google.cloud.talent.v4beta1.GetCompanyRequest(this); + com.google.cloud.talent.v4beta1.GetCompanyRequest result = new com.google.cloud.talent.v4beta1.GetCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -365,39 +332,38 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +371,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.GetCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -473,16 +434,14 @@ public Builder mergeFrom(
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -502,17 +459,16 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -520,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -531,25 +485,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -559,21 +509,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -583,26 +528,24 @@ public Builder clearName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetCompanyRequest) private static final com.google.cloud.talent.v4beta1.GetCompanyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetCompanyRequest(); } @@ -626,27 +569,27 @@ public static com.google.cloud.talent.v4beta1.GetCompanyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java similarity index 54% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java index dae7329e9b4e..3a8a56e7aeef 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface GetCompanyRequestOrBuilder - extends +public interface GetCompanyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetCompanyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -35,16 +17,11 @@ public interface GetCompanyRequestOrBuilder
    * example, "projects/api-test-project/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -54,11 +31,9 @@ public interface GetCompanyRequestOrBuilder
    * example, "projects/api-test-project/companies/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java index 941e441a4012..775d81b8b0cd 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetJobRequest} */ -public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetJobRequest) GetJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetJobRequest.class, - com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetJobRequest.class, com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -111,18 +86,17 @@ public java.lang.String getName() {
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -167,15 +141,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetJobRequest other = - (com.google.cloud.talent.v4beta1.GetJobRequest) obj; + com.google.cloud.talent.v4beta1.GetJobRequest other = (com.google.cloud.talent.v4beta1.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,136 +168,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetJobRequest) com.google.cloud.talent.v4beta1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetJobRequest.class, - com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetJobRequest.class, com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override @@ -354,8 +322,7 @@ public com.google.cloud.talent.v4beta1.GetJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetJobRequest result = - new com.google.cloud.talent.v4beta1.GetJobRequest(this); + com.google.cloud.talent.v4beta1.GetJobRequest result = new com.google.cloud.talent.v4beta1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -365,39 +332,38 @@ public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -436,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,8 +425,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -472,16 +434,14 @@ public Builder mergeFrom(
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -490,8 +450,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -501,17 +459,16 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,8 +476,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -530,25 +485,21 @@ public com.google.protobuf.ByteString getNameBytes() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -558,21 +509,16 @@ public Builder setName(java.lang.String value) {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -582,26 +528,24 @@ public Builder clearName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -611,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetJobRequest) private static final com.google.cloud.talent.v4beta1.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetJobRequest(); } @@ -625,27 +569,27 @@ public static com.google.cloud.talent.v4beta1.GetJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java similarity index 51% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java index 9c20b03e4b69..e3a789068a5a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface GetJobRequestOrBuilder - extends +public interface GetJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -35,16 +17,11 @@ public interface GetJobRequestOrBuilder
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -54,11 +31,9 @@ public interface GetJobRequestOrBuilder
    * example, "projects/foo/jobs/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java similarity index 62% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java index dc3d1907304c..335a40231447 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java @@ -1,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request for getting a tenant by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest} */ -public final class GetTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetTenantRequest) GetTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTenantRequest.newBuilder() to construct. private GetTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetTenantRequest.class, - com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetTenantRequest.class, com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +66,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -161,15 +135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetTenantRequest other = - (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; + com.google.cloud.talent.v4beta1.GetTenantRequest other = (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for getting a tenant by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetTenantRequest) com.google.cloud.talent.v4beta1.GetTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetTenantRequest.class, - com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetTenantRequest.class, com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetTenantRequest result = - new com.google.cloud.talent.v4beta1.GetTenantRequest(this); + com.google.cloud.talent.v4beta1.GetTenantRequest result = new com.google.cloud.talent.v4beta1.GetTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -399,8 +365,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.GetTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -431,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -482,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -508,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -591,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetTenantRequest) private static final com.google.cloud.talent.v4beta1.GetTenantRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetTenantRequest(); } @@ -605,27 +548,27 @@ public static com.google.cloud.talent.v4beta1.GetTenantRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java new file mode 100644 index 000000000000..7b3679d4f337 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface GetTenantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java new file mode 100644 index 000000000000..35920efb47f7 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java @@ -0,0 +1,78 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/histogram.proto + +package com.google.cloud.talent.v4beta1; + +public final class HistogramProto { + private HistogramProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/talent/v4beta1/histogram." + + "proto\022\033google.cloud.talent.v4beta1\")\n\016Hi" + + "stogramQuery\022\027\n\017histogram_query\030\001 \001(\t\"\266\001" + + "\n\024HistogramQueryResult\022\027\n\017histogram_quer" + + "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" + + "d.talent.v4beta1.HistogramQueryResult.Hi" + + "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" + + "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor, + new java.lang.String[] { "HistogramQuery", }); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor, + new java.lang.String[] { "HistogramQuery", "Histogram", }); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java similarity index 69% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java index dd6c694716e5..216804e4f60e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The histogram request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQuery} */ -public final class HistogramQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HistogramQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.HistogramQuery) HistogramQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HistogramQuery.newBuilder() to construct. private HistogramQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HistogramQuery() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HistogramQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQuery.class, - com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQuery.class, com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** - * - * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ @java.lang.Override @@ -89,15 +67,14 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** - * - * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -106,15 +83,16 @@ public java.lang.String getHistogramQuery() {
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -123,7 +101,6 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_); } @@ -159,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.HistogramQuery)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.HistogramQuery other = - (com.google.cloud.talent.v4beta1.HistogramQuery) obj; + com.google.cloud.talent.v4beta1.HistogramQuery other = (com.google.cloud.talent.v4beta1.HistogramQuery) obj; - if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; + if (!getHistogramQuery() + .equals(other.getHistogramQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.HistogramQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The histogram request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.HistogramQuery) com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQuery.class, - com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQuery.class, com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.HistogramQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override @@ -346,8 +318,7 @@ public com.google.cloud.talent.v4beta1.HistogramQuery build() { @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { - com.google.cloud.talent.v4beta1.HistogramQuery result = - new com.google.cloud.talent.v4beta1.HistogramQuery(this); + com.google.cloud.talent.v4beta1.HistogramQuery result = new com.google.cloud.talent.v4beta1.HistogramQuery(this); result.histogramQuery_ = histogramQuery_; onBuilt(); return result; @@ -357,39 +328,38 @@ public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.HistogramQuery) { - return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQuery) other); + return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQuery)other); } else { super.mergeFrom(other); return this; @@ -428,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,8 +421,6 @@ public Builder mergeFrom( private java.lang.Object histogramQuery_ = ""; /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -463,13 +429,13 @@ public Builder mergeFrom(
      * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -478,8 +444,6 @@ public java.lang.String getHistogramQuery() { } } /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -488,14 +452,15 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -503,8 +468,6 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } } /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -513,22 +476,20 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() {
      * 
* * string histogram_query = 1; - * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery(java.lang.String value) { + public Builder setHistogramQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -537,18 +498,15 @@ public Builder setHistogramQuery(java.lang.String value) {
      * 
* * string histogram_query = 1; - * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** - * - * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -557,23 +515,23 @@ public Builder clearHistogramQuery() {
      * 
* * string histogram_query = 1; - * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -583,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.HistogramQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.HistogramQuery) private static final com.google.cloud.talent.v4beta1.HistogramQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.HistogramQuery(); } @@ -597,27 +555,27 @@ public static com.google.cloud.talent.v4beta1.HistogramQuery getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HistogramQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HistogramQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -632,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.HistogramQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java similarity index 64% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java index 5f6869b8e4fe..2b6d25a54ccb 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; -public interface HistogramQueryOrBuilder - extends +public interface HistogramQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.HistogramQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -34,13 +16,10 @@ public interface HistogramQueryOrBuilder
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** - * - * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -49,8 +28,8 @@ public interface HistogramQueryOrBuilder
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString getHistogramQueryBytes(); + com.google.protobuf.ByteString + getHistogramQueryBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java similarity index 66% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java index 6ac148470011..582bf0b6587b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java @@ -1,94 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Histogram result that matches [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in searches.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQueryResult} */ -public final class HistogramQueryResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HistogramQueryResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.HistogramQueryResult) HistogramQueryResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HistogramQueryResult.newBuilder() to construct. private HistogramQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HistogramQueryResult() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HistogramQueryResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQueryResult.class, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQueryResult.class, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ @java.lang.Override @@ -97,29 +76,29 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -128,23 +107,24 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } public static final int HISTOGRAM_FIELD_NUMBER = 2; - private static final class HistogramDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - - private com.google.protobuf.MapField histogram_; - - private com.google.protobuf.MapField internalGetHistogram() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Long> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> histogram_; + private com.google.protobuf.MapField + internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } @@ -153,8 +133,6 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** - * - * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -168,22 +146,22 @@ public int getHistogramCount() {
    *
    * map<string, int64> histogram = 2;
    */
+
   @java.lang.Override
-  public boolean containsHistogram(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHistogram(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHistogram().getMap().containsKey(key);
   }
-  /** Use {@link #getHistogramMap()} instead. */
+  /**
+   * Use {@link #getHistogramMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHistogram() {
     return getHistogramMap();
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -198,12 +176,11 @@ public java.util.Map getHistogram() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
+
   public java.util.Map getHistogramMap() {
     return internalGetHistogram().getMap();
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -218,16 +195,16 @@ public java.util.Map getHistogramMap() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-  public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHistogram().getMap();
+
+  public long getHistogramOrDefault(
+      java.lang.String key,
+      long defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHistogram().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -242,11 +219,12 @@ public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-  public long getHistogramOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHistogram().getMap();
+
+  public long getHistogramOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHistogram().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -254,7 +232,6 @@ public long getHistogramOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -266,12 +243,17 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHistogram(), HistogramDefaultEntryHolder.defaultEntry, 2);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHistogram(),
+        HistogramDefaultEntryHolder.defaultEntry,
+        2);
     getUnknownFields().writeTo(output);
   }
 
@@ -284,15 +266,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, histogramQuery_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHistogram().getMap().entrySet()) {
-      com.google.protobuf.MapEntry histogram__ =
-          HistogramDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, histogram__);
+    for (java.util.Map.Entry entry
+         : internalGetHistogram().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      histogram__ = HistogramDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, histogram__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -302,16 +284,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.HistogramQueryResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.HistogramQueryResult other =
-        (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj;
+    com.google.cloud.talent.v4beta1.HistogramQueryResult other = (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj;
 
-    if (!getHistogramQuery().equals(other.getHistogramQuery())) return false;
-    if (!internalGetHistogram().equals(other.internalGetHistogram())) return false;
+    if (!getHistogramQuery()
+        .equals(other.getHistogramQuery())) return false;
+    if (!internalGetHistogram().equals(
+        other.internalGetHistogram())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -335,155 +318,151 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.HistogramQueryResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Histogram result that matches [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in searches.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQueryResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.HistogramQueryResult) com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 2: return internalGetMutableHistogram(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQueryResult.class, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQueryResult.class, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.HistogramQueryResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.HistogramProto - .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @java.lang.Override @@ -515,8 +494,7 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult build() { @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { - com.google.cloud.talent.v4beta1.HistogramQueryResult result = - new com.google.cloud.talent.v4beta1.HistogramQueryResult(this); + com.google.cloud.talent.v4beta1.HistogramQueryResult result = new com.google.cloud.talent.v4beta1.HistogramQueryResult(this); int from_bitField0_ = bitField0_; result.histogramQuery_ = histogramQuery_; result.histogram_ = internalGetHistogram(); @@ -529,39 +507,38 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.HistogramQueryResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQueryResult) other); + return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQueryResult)other); } else { super.mergeFrom(other); return this; @@ -569,13 +546,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.HistogramQueryResult other) { - if (other == com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()) return this; if (!other.getHistogramQuery().isEmpty()) { histogramQuery_ = other.histogramQuery_; onChanged(); } - internalGetMutableHistogram().mergeFrom(other.internalGetHistogram()); + internalGetMutableHistogram().mergeFrom( + other.internalGetHistogram()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -602,30 +579,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - com.google.protobuf.MapEntry histogram__ = - input.readMessage( - HistogramDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableHistogram() - .getMutableMap() - .put(histogram__.getKey(), histogram__.getValue()); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + com.google.protobuf.MapEntry + histogram__ = input.readMessage( + HistogramDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableHistogram().getMutableMap().put( + histogram__.getKey(), histogram__.getValue()); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -635,25 +607,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object histogramQuery_ = ""; /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -662,21 +631,20 @@ public java.lang.String getHistogramQuery() { } } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString getHistogramQueryBytes() { + public com.google.protobuf.ByteString + getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -684,82 +652,75 @@ public com.google.protobuf.ByteString getHistogramQueryBytes() { } } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery(java.lang.String value) { + public Builder setHistogramQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** - * - * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; - * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - private com.google.protobuf.MapField histogram_; - - private com.google.protobuf.MapField internalGetHistogram() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.Long> histogram_; + private com.google.protobuf.MapField + internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } - private com.google.protobuf.MapField - internalGetMutableHistogram() { - onChanged(); - ; + internalGetMutableHistogram() { + onChanged();; if (histogram_ == null) { - histogram_ = - com.google.protobuf.MapField.newMapField(HistogramDefaultEntryHolder.defaultEntry); + histogram_ = com.google.protobuf.MapField.newMapField( + HistogramDefaultEntryHolder.defaultEntry); } if (!histogram_.isMutable()) { histogram_ = histogram_.copy(); @@ -771,8 +732,6 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** - * - * *
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -786,22 +745,22 @@ public int getHistogramCount() {
      *
      * map<string, int64> histogram = 2;
      */
+
     @java.lang.Override
-    public boolean containsHistogram(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHistogram(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHistogram().getMap().containsKey(key);
     }
-    /** Use {@link #getHistogramMap()} instead. */
+    /**
+     * Use {@link #getHistogramMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHistogram() {
       return getHistogramMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -816,12 +775,11 @@ public java.util.Map getHistogram() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
+
     public java.util.Map getHistogramMap() {
       return internalGetHistogram().getMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -836,16 +794,16 @@ public java.util.Map getHistogramMap() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-    public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHistogram().getMap();
+
+    public long getHistogramOrDefault(
+        java.lang.String key,
+        long defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHistogram().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -860,11 +818,12 @@ public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-    public long getHistogramOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHistogram().getMap();
+
+    public long getHistogramOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHistogram().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -872,12 +831,11 @@ public long getHistogramOrThrow(java.lang.String key) {
     }
 
     public Builder clearHistogram() {
-      internalGetMutableHistogram().getMutableMap().clear();
+      internalGetMutableHistogram().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -891,21 +849,23 @@ public Builder clearHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder removeHistogram(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHistogram().getMutableMap().remove(key);
+
+    public Builder removeHistogram(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHistogram().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHistogram() {
+    public java.util.Map
+    getMutableHistogram() {
       return internalGetMutableHistogram().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -919,17 +879,16 @@ public java.util.Map getMutableHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putHistogram(java.lang.String key, long value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-
-      internalGetMutableHistogram().getMutableMap().put(key, value);
+    public Builder putHistogram(
+        java.lang.String key,
+        long value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      
+      internalGetMutableHistogram().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -943,13 +902,16 @@ public Builder putHistogram(java.lang.String key, long value) {
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putAllHistogram(java.util.Map values) {
-      internalGetMutableHistogram().getMutableMap().putAll(values);
+
+    public Builder putAllHistogram(
+        java.util.Map values) {
+      internalGetMutableHistogram().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -959,12 +921,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.HistogramQueryResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.HistogramQueryResult)
   private static final com.google.cloud.talent.v4beta1.HistogramQueryResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.HistogramQueryResult();
   }
@@ -973,27 +935,27 @@ public static com.google.cloud.talent.v4beta1.HistogramQueryResult getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HistogramQueryResult parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HistogramQueryResult parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1008,4 +970,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.HistogramQueryResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
similarity index 76%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
index 1aebca305fb1..35045e571b0f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
@@ -1,56 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/histogram.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface HistogramQueryResultOrBuilder
-    extends
+public interface HistogramQueryResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.HistogramQueryResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** - * - * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; - * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString getHistogramQueryBytes(); + com.google.protobuf.ByteString + getHistogramQueryBytes(); /** - * - * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -66,8 +43,6 @@ public interface HistogramQueryResultOrBuilder
    */
   int getHistogramCount();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -81,13 +56,15 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  boolean containsHistogram(java.lang.String key);
-  /** Use {@link #getHistogramMap()} instead. */
+  boolean containsHistogram(
+      java.lang.String key);
+  /**
+   * Use {@link #getHistogramMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHistogram();
+  java.util.Map
+  getHistogram();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -101,10 +78,9 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  java.util.Map getHistogramMap();
+  java.util.Map
+  getHistogramMap();
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -118,10 +94,11 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  long getHistogramOrDefault(java.lang.String key, long defaultValue);
+
+  long getHistogramOrDefault(
+      java.lang.String key,
+      long defaultValue);
   /**
-   *
-   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -135,5 +112,7 @@ public interface HistogramQueryResultOrBuilder
    *
    * map<string, int64> histogram = 2;
    */
-  long getHistogramOrThrow(java.lang.String key);
+
+  long getHistogramOrThrow(
+      java.lang.String key);
 }
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
similarity index 68%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
index 1ba1e845509d..63c0406d239b 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Option for HTML content sanitization on user input fields, for example, job
  * description. By setting this option, user can determine whether and how
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.HtmlSanitization}
  */
-public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum {
+public enum HtmlSanitization
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +23,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ HTML_SANITIZATION_UNSPECIFIED(0), /** - * - * *
    * Disables sanitization on HTML input.
    * 
@@ -51,8 +31,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ HTML_SANITIZATION_DISABLED(1), /** - * - * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -65,8 +43,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -75,8 +51,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTML_SANITIZATION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Disables sanitization on HTML input.
    * 
@@ -85,8 +59,6 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum */ public static final int HTML_SANITIZATION_DISABLED_VALUE = 1; /** - * - * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -96,6 +68,7 @@ public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int SIMPLE_FORMATTING_ONLY_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -120,49 +93,49 @@ public static HtmlSanitization valueOf(int value) {
    */
   public static HtmlSanitization forNumber(int value) {
     switch (value) {
-      case 0:
-        return HTML_SANITIZATION_UNSPECIFIED;
-      case 1:
-        return HTML_SANITIZATION_DISABLED;
-      case 2:
-        return SIMPLE_FORMATTING_ONLY;
-      default:
-        return null;
+      case 0: return HTML_SANITIZATION_UNSPECIFIED;
+      case 1: return HTML_SANITIZATION_DISABLED;
+      case 2: return SIMPLE_FORMATTING_ONLY;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public HtmlSanitization findValueByNumber(int number) {
-          return HtmlSanitization.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      HtmlSanitization> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public HtmlSanitization findValueByNumber(int number) {
+            return HtmlSanitization.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(8);
   }
 
   private static final HtmlSanitization[] VALUES = values();
 
-  public static HtmlSanitization valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static HtmlSanitization valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -178,3 +151,4 @@ private HtmlSanitization(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.HtmlSanitization)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
similarity index 80%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
index eb75c3c3d5dc..62250d83d94b 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * A Job resource represents a job posting (also referred to as a "job listing"
  * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Job}
  */
-public final class Job extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Job extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job)
     JobOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Job() {
     name_ = "";
     company_ = "";
@@ -62,49 +44,46 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.JobResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 10:
         return internalGetCustomAttributes();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.JobResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Job.class,
-            com.google.cloud.talent.v4beta1.Job.Builder.class);
+            com.google.cloud.talent.v4beta1.Job.class, com.google.cloud.talent.v4beta1.Job.Builder.class);
   }
 
-  public interface ApplicationInfoOrBuilder
-      extends
+  public interface ApplicationInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ApplicationInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -112,13 +91,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - java.util.List getEmailsList(); + java.util.List + getEmailsList(); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -126,13 +103,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @return The count of emails. */ int getEmailsCount(); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -140,14 +114,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ java.lang.String getEmails(int index); /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -155,15 +126,13 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - com.google.protobuf.ByteString getEmailsBytes(int index); + com.google.protobuf.ByteString + getEmailsBytes(int index); /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -173,13 +142,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * string instruction = 2; - * * @return The instruction. */ java.lang.String getInstruction(); /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -189,14 +155,12 @@ public interface ApplicationInfoOrBuilder
      * 
* * string instruction = 2; - * * @return The bytes for instruction. */ - com.google.protobuf.ByteString getInstructionBytes(); + com.google.protobuf.ByteString + getInstructionBytes(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -204,13 +168,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -218,13 +180,10 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -232,14 +191,11 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -247,31 +203,28 @@ public interface ApplicationInfoOrBuilder
      * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); } /** - * - * *
    * Application related details of a job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo} */ - public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ApplicationInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo) ApplicationInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplicationInfo.newBuilder() to construct. private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ApplicationInfo() { emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; instruction_ = ""; @@ -280,35 +233,32 @@ private ApplicationInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ApplicationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); } public static final int EMAILS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList emails_; /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -316,15 +266,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList getEmailsList() { + public com.google.protobuf.ProtocolStringList + getEmailsList() { return emails_; } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -332,15 +280,12 @@ public com.google.protobuf.ProtocolStringList getEmailsList() {
      * 
* * repeated string emails = 1; - * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -348,7 +293,6 @@ public int getEmailsCount() {
      * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -356,8 +300,6 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** - * - * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -365,19 +307,17 @@ public java.lang.String getEmails(int index) {
      * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString getEmailsBytes(int index) { + public com.google.protobuf.ByteString + getEmailsBytes(int index) { return emails_.getByteString(index); } public static final int INSTRUCTION_FIELD_NUMBER = 2; private volatile java.lang.Object instruction_; /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -387,7 +327,6 @@ public com.google.protobuf.ByteString getEmailsBytes(int index) {
      * 
* * string instruction = 2; - * * @return The instruction. */ @java.lang.Override @@ -396,15 +335,14 @@ public java.lang.String getInstruction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; } } /** - * - * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -414,15 +352,16 @@ public java.lang.String getInstruction() {
      * 
* * string instruction = 2; - * * @return The bytes for instruction. */ @java.lang.Override - public com.google.protobuf.ByteString getInstructionBytes() { + public com.google.protobuf.ByteString + getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instruction_ = b; return b; } else { @@ -433,8 +372,6 @@ public com.google.protobuf.ByteString getInstructionBytes() { public static final int URIS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uris_; /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -442,15 +379,13 @@ public com.google.protobuf.ByteString getInstructionBytes() {
      * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -458,15 +393,12 @@ public com.google.protobuf.ProtocolStringList getUrisList() {
      * 
* * repeated string uris = 3; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -474,7 +406,6 @@ public int getUrisCount() {
      * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -482,8 +413,6 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -491,16 +420,15 @@ public java.lang.String getUris(int index) {
      * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,7 +440,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < emails_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i)); } @@ -558,17 +487,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = - (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; + com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; - if (!getEmailsList().equals(other.getEmailsList())) return false; - if (!getInstruction().equals(other.getInstruction())) return false; - if (!getUrisList().equals(other.getUrisList())) return false; + if (!getEmailsList() + .equals(other.getEmailsList())) return false; + if (!getInstruction() + .equals(other.getInstruction())) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -596,94 +527,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -693,41 +617,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Application related details of a job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo) com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -741,9 +663,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override @@ -762,8 +684,7 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { - com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = - new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); @@ -784,41 +705,38 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo)other); } else { super.mergeFrom(other); return this; @@ -826,8 +744,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ApplicationInfo other) { - if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()) return this; if (!other.emails_.isEmpty()) { if (emails_.isEmpty()) { emails_ = other.emails_; @@ -878,33 +795,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmailsIsMutable(); - emails_.add(s); - break; - } // case 10 - case 18: - { - instruction_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmailsIsMutable(); + emails_.add(s); + break; + } // case 10 + case 18: { + instruction_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -914,21 +827,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList emails_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEmailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -936,15 +844,13 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; - * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList getEmailsList() { + public com.google.protobuf.ProtocolStringList + getEmailsList() { return emails_.getUnmodifiableView(); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -952,15 +858,12 @@ public com.google.protobuf.ProtocolStringList getEmailsList() {
        * 
* * repeated string emails = 1; - * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -968,7 +871,6 @@ public int getEmailsCount() {
        * 
* * repeated string emails = 1; - * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -976,8 +878,6 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -985,16 +885,14 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; - * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString getEmailsBytes(int index) { + public com.google.protobuf.ByteString + getEmailsBytes(int index) { return emails_.getByteString(index); } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1002,23 +900,21 @@ public com.google.protobuf.ByteString getEmailsBytes(int index) {
        * 
* * repeated string emails = 1; - * * @param index The index to set the value at. * @param value The emails to set. * @return This builder for chaining. */ - public Builder setEmails(int index, java.lang.String value) { + public Builder setEmails( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.set(index, value); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1026,22 +922,20 @@ public Builder setEmails(int index, java.lang.String value) {
        * 
* * repeated string emails = 1; - * * @param value The emails to add. * @return This builder for chaining. */ - public Builder addEmails(java.lang.String value) { + public Builder addEmails( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.add(value); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1049,19 +943,18 @@ public Builder addEmails(java.lang.String value) {
        * 
* * repeated string emails = 1; - * * @param values The emails to add. * @return This builder for chaining. */ - public Builder addAllEmails(java.lang.Iterable values) { + public Builder addAllEmails( + java.lang.Iterable values) { ensureEmailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, emails_); onChanged(); return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1069,7 +962,6 @@ public Builder addAllEmails(java.lang.Iterable values) {
        * 
* * repeated string emails = 1; - * * @return This builder for chaining. */ public Builder clearEmails() { @@ -1079,8 +971,6 @@ public Builder clearEmails() { return this; } /** - * - * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -1088,15 +978,15 @@ public Builder clearEmails() {
        * 
* * repeated string emails = 1; - * * @param value The bytes of the emails to add. * @return This builder for chaining. */ - public Builder addEmailsBytes(com.google.protobuf.ByteString value) { + public Builder addEmailsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEmailsIsMutable(); emails_.add(value); onChanged(); @@ -1105,8 +995,6 @@ public Builder addEmailsBytes(com.google.protobuf.ByteString value) { private java.lang.Object instruction_ = ""; /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1116,13 +1004,13 @@ public Builder addEmailsBytes(com.google.protobuf.ByteString value) {
        * 
* * string instruction = 2; - * * @return The instruction. */ public java.lang.String getInstruction() { java.lang.Object ref = instruction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; @@ -1131,8 +1019,6 @@ public java.lang.String getInstruction() { } } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1142,14 +1028,15 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; - * * @return The bytes for instruction. */ - public com.google.protobuf.ByteString getInstructionBytes() { + public com.google.protobuf.ByteString + getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instruction_ = b; return b; } else { @@ -1157,8 +1044,6 @@ public com.google.protobuf.ByteString getInstructionBytes() { } } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1168,22 +1053,20 @@ public com.google.protobuf.ByteString getInstructionBytes() {
        * 
* * string instruction = 2; - * * @param value The instruction to set. * @return This builder for chaining. */ - public Builder setInstruction(java.lang.String value) { + public Builder setInstruction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instruction_ = value; onChanged(); return this; } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1193,18 +1076,15 @@ public Builder setInstruction(java.lang.String value) {
        * 
* * string instruction = 2; - * * @return This builder for chaining. */ public Builder clearInstruction() { - + instruction_ = getDefaultInstance().getInstruction(); onChanged(); return this; } /** - * - * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1214,33 +1094,29 @@ public Builder clearInstruction() {
        * 
* * string instruction = 2; - * * @param value The bytes for instruction to set. * @return This builder for chaining. */ - public Builder setInstructionBytes(com.google.protobuf.ByteString value) { + public Builder setInstructionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instruction_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1248,15 +1124,13 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1264,15 +1138,12 @@ public com.google.protobuf.ProtocolStringList getUrisList() {
        * 
* * repeated string uris = 3; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1280,7 +1151,6 @@ public int getUrisCount() {
        * 
* * repeated string uris = 3; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -1288,8 +1158,6 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1297,16 +1165,14 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1314,23 +1180,21 @@ public com.google.protobuf.ByteString getUrisBytes(int index) {
        * 
* * repeated string uris = 3; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1338,22 +1202,20 @@ public Builder setUris(int index, java.lang.String value) {
        * 
* * repeated string uris = 3; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1361,19 +1223,18 @@ public Builder addUris(java.lang.String value) {
        * 
* * repeated string uris = 3; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1381,7 +1242,6 @@ public Builder addAllUris(java.lang.Iterable values) {
        * 
* * repeated string uris = 3; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -1391,8 +1251,6 @@ public Builder clearUris() { return this; } /** - * - * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1400,21 +1258,20 @@ public Builder clearUris() {
        * 
* * repeated string uris = 3; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1427,12 +1284,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo) private static final com.google.cloud.talent.v4beta1.Job.ApplicationInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(); } @@ -1441,28 +1298,27 @@ public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplicationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplicationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1477,16 +1333,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DerivedInfoOrBuilder - extends + public interface DerivedInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.DerivedInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1495,10 +1349,9 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    java.util.List getLocationsList();
+    java.util.List 
+        getLocationsList();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1509,8 +1362,6 @@ public interface DerivedInfoOrBuilder
      */
     com.google.cloud.talent.v4beta1.Location getLocations(int index);
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1521,8 +1372,6 @@ public interface DerivedInfoOrBuilder
      */
     int getLocationsCount();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1531,11 +1380,9 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    java.util.List
+    java.util.List 
         getLocationsOrBuilderList();
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1544,90 +1391,74 @@ public interface DerivedInfoOrBuilder
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index);
+    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List getJobCategoriesValueList(); + java.util.List + getJobCategoriesValueList(); /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); } /** - * - * *
    * Derived details about the job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo} */ - public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DerivedInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DerivedInfo() { locations_ = java.util.Collections.emptyList(); jobCategories_ = java.util.Collections.emptyList(); @@ -1635,35 +1466,32 @@ private DerivedInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** - * - * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1677,8 +1505,6 @@ public java.util.List getLocationsList
       return locations_;
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1688,13 +1514,11 @@ public java.util.List getLocationsList
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getLocationsOrBuilderList() {
       return locations_;
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1708,8 +1532,6 @@ public int getLocationsCount() {
       return locations_.size();
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1723,8 +1545,6 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
       return locations_.get(index);
     }
     /**
-     *
-     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1734,52 +1554,42 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
+    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
+        int index) {
       return locations_.get(index);
     }
 
     public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
     private java.util.List jobCategories_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
-        jobCategories_converter_ =
+        java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory> jobCategories_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
               public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.talent.v4beta1.JobCategory result =
-                    com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
-                return result == null
-                    ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
-                    : result;
+                com.google.cloud.talent.v4beta1.JobCategory result = com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
+                return result == null ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ @java.lang.Override @@ -1787,14 +1597,11 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -1803,29 +1610,24 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return jobCategories_; } /** - * - * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -1833,11 +1635,9 @@ public java.util.List getJobCategoriesValueList() { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } - private int jobCategoriesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1849,7 +1649,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); @@ -1871,20 +1672,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, locations_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobCategoriesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1894,15 +1695,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.DerivedInfo other = - (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; + com.google.cloud.talent.v4beta1.Job.DerivedInfo other = (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; - if (!getLocationsList().equals(other.getLocationsList())) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1929,93 +1730,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.DerivedInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2025,41 +1820,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Derived details about the job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.DerivedInfo) com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2076,9 +1869,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override @@ -2097,8 +1890,7 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { - com.google.cloud.talent.v4beta1.Job.DerivedInfo result = - new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); + com.google.cloud.talent.v4beta1.Job.DerivedInfo result = new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2122,41 +1914,38 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo)other); } else { super.mergeFrom(other); return this; @@ -2164,8 +1953,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) { - if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()) return this; if (locationsBuilder_ == null) { if (!other.locations_.isEmpty()) { if (locations_.isEmpty()) { @@ -2184,10 +1972,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); - locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationsFieldBuilder() - : null; + locationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationsFieldBuilder() : null; } else { locationsBuilder_.addAllMessages(other.locations_); } @@ -2229,45 +2016,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.Location m = - input.readMessage( - com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry); - if (locationsBuilder_ == null) { - ensureLocationsIsMutable(); - locations_.add(m); - } else { - locationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 24: - { + case 10: { + com.google.cloud.talent.v4beta1.Location m = + input.readMessage( + com.google.cloud.talent.v4beta1.Location.parser(), + extensionRegistry); + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(m); + } else { + locationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 24: { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + break; + } // case 24 + case 26: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - break; - } // case 24 - case 26: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2277,29 +2061,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List locations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - locations_ = - new java.util.ArrayList(locations_); + locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> - locationsBuilder_; + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> locationsBuilder_; /** - * - * *
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2316,8 +2092,6 @@ public java.util.List getLocationsList
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2334,8 +2108,6 @@ public int getLocationsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2352,8 +2124,6 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2362,7 +2132,8 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public Builder setLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
+      public Builder setLocations(
+          int index, com.google.cloud.talent.v4beta1.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2376,8 +2147,6 @@ public Builder setLocations(int index, com.google.cloud.talent.v4beta1.Location
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2398,8 +2167,6 @@ public Builder setLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2422,8 +2189,6 @@ public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2432,7 +2197,8 @@ public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public Builder addLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
+      public Builder addLocations(
+          int index, com.google.cloud.talent.v4beta1.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2446,8 +2212,6 @@ public Builder addLocations(int index, com.google.cloud.talent.v4beta1.Location
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2468,8 +2232,6 @@ public Builder addLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2490,8 +2252,6 @@ public Builder addLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2504,7 +2264,8 @@ public Builder addAllLocations(
           java.lang.Iterable values) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, locations_);
           onChanged();
         } else {
           locationsBuilder_.addAllMessages(values);
@@ -2512,8 +2273,6 @@ public Builder addAllLocations(
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2533,8 +2292,6 @@ public Builder clearLocations() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2554,8 +2311,6 @@ public Builder removeLocations(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2564,12 +2319,11 @@ public Builder removeLocations(int index) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(int index) {
+      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(
+          int index) {
         return getLocationsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2578,16 +2332,14 @@ public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(int
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
+      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
+          int index) {
         if (locationsBuilder_ == null) {
-          return locations_.get(index);
-        } else {
+          return locations_.get(index);  } else {
           return locationsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2596,8 +2348,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(i
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public java.util.List
-          getLocationsOrBuilderList() {
+      public java.util.List 
+           getLocationsOrBuilderList() {
         if (locationsBuilder_ != null) {
           return locationsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2605,8 +2357,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(i
         }
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2616,12 +2366,10 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(i
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
       public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
-        return getLocationsFieldBuilder()
-            .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+        return getLocationsFieldBuilder().addBuilder(
+            com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2630,13 +2378,12 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int index) {
-        return getLocationsFieldBuilder()
-            .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(
+          int index) {
+        return getLocationsFieldBuilder().addBuilder(
+            index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2645,30 +2392,27 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public java.util.List
-          getLocationsBuilderList() {
+      public java.util.List 
+           getLocationsBuilderList() {
         return getLocationsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Location,
-              com.google.cloud.talent.v4beta1.Location.Builder,
-              com.google.cloud.talent.v4beta1.LocationOrBuilder>
+          com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
           getLocationsFieldBuilder() {
         if (locationsBuilder_ == null) {
-          locationsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.cloud.talent.v4beta1.Location,
-                  com.google.cloud.talent.v4beta1.Location.Builder,
-                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
-                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+                  locations_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           locations_ = null;
         }
         return locationsBuilder_;
       }
 
-      private java.util.List jobCategories_ = java.util.Collections.emptyList();
-
+      private java.util.List jobCategories_ =
+        java.util.Collections.emptyList();
       private void ensureJobCategoriesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2676,44 +2420,34 @@ private void ensureJobCategoriesIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2721,14 +2455,11 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. @@ -2744,14 +2475,11 @@ public Builder setJobCategories( return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2765,14 +2493,11 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2786,14 +2511,11 @@ public Builder addAllJobCategories( return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2803,28 +2525,23 @@ public Builder clearJobCategories() { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2832,33 +2549,28 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue(int index, int value) { + public Builder setJobCategoriesValue( + int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -2869,18 +2581,16 @@ public Builder addJobCategoriesValue(int value) { return this; } /** - * - * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; - * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue(java.lang.Iterable values) { + public Builder addAllJobCategoriesValue( + java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -2888,7 +2598,6 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2901,12 +2610,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.DerivedInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.DerivedInfo) private static final com.google.cloud.talent.v4beta1.Job.DerivedInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.DerivedInfo(); } @@ -2915,28 +2624,27 @@ public static com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DerivedInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DerivedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2951,30 +2659,25 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ProcessingOptionsOrBuilder - extends + public interface ProcessingOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ProcessingOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ boolean getDisableStreetAddressResolution(); /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2988,13 +2691,10 @@ public interface ProcessingOptionsOrBuilder
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ int getHtmlSanitizationValue(); /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3008,72 +2708,64 @@ public interface ProcessingOptionsOrBuilder
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization(); } /** - * - * *
    * Options for job processing.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions} */ - public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ProcessingOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions) ProcessingOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessingOptions.newBuilder() to construct. private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProcessingOptions() { htmlSanitization_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProcessingOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); } public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1; private boolean disableStreetAddressResolution_; /** - * - * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3084,8 +2776,6 @@ public boolean getDisableStreetAddressResolution() { public static final int HTML_SANITIZATION_FIELD_NUMBER = 2; private int htmlSanitization_; /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3099,16 +2789,12 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override - public int getHtmlSanitizationValue() { + @java.lang.Override public int getHtmlSanitizationValue() { return htmlSanitization_; } /** - * - * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -3122,21 +2808,15 @@ public int getHtmlSanitizationValue() {
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { + @java.lang.Override public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.HtmlSanitization result = - com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); - return result == null - ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.HtmlSanitization result = com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); + return result == null ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3148,13 +2828,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disableStreetAddressResolution_ != false) { output.writeBool(1, disableStreetAddressResolution_); } - if (htmlSanitization_ - != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED - .getNumber()) { + if (htmlSanitization_ != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { output.writeEnum(2, htmlSanitization_); } getUnknownFields().writeTo(output); @@ -3167,14 +2846,12 @@ public int getSerializedSize() { size = 0; if (disableStreetAddressResolution_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, disableStreetAddressResolution_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disableStreetAddressResolution_); } - if (htmlSanitization_ - != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_); + if (htmlSanitization_ != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, htmlSanitization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3184,16 +2861,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = - (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; + com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; - if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) - return false; + if (getDisableStreetAddressResolution() + != other.getDisableStreetAddressResolution()) return false; if (htmlSanitization_ != other.htmlSanitization_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3207,9 +2883,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableStreetAddressResolution()); hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER; hash = (53 * hash) + htmlSanitization_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3218,94 +2893,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3315,41 +2983,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options for job processing.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions) com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3361,9 +3027,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto - .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override @@ -3382,8 +3048,7 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { - com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = - new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this); result.disableStreetAddressResolution_ = disableStreetAddressResolution_; result.htmlSanitization_ = htmlSanitization_; onBuilt(); @@ -3394,41 +3059,38 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions)other); } else { super.mergeFrom(other); return this; @@ -3436,8 +3098,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ProcessingOptions other) { - if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()) return this; if (other.getDisableStreetAddressResolution() != false) { setDisableStreetAddressResolution(other.getDisableStreetAddressResolution()); } @@ -3470,25 +3131,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disableStreetAddressResolution_ = input.readBool(); - - break; - } // case 8 - case 16: - { - htmlSanitization_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disableStreetAddressResolution_ = input.readBool(); + + break; + } // case 8 + case 16: { + htmlSanitization_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3499,17 +3157,14 @@ public Builder mergeFrom( return this; } - private boolean disableStreetAddressResolution_; + private boolean disableStreetAddressResolution_ ; /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3517,38 +3172,32 @@ public boolean getDisableStreetAddressResolution() { return disableStreetAddressResolution_; } /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @param value The disableStreetAddressResolution to set. * @return This builder for chaining. */ public Builder setDisableStreetAddressResolution(boolean value) { - + disableStreetAddressResolution_ = value; onChanged(); return this; } /** - * - * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; - * * @return This builder for chaining. */ public Builder clearDisableStreetAddressResolution() { - + disableStreetAddressResolution_ = false; onChanged(); return this; @@ -3556,8 +3205,6 @@ public Builder clearDisableStreetAddressResolution() { private int htmlSanitization_ = 0; /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3571,16 +3218,12 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override - public int getHtmlSanitizationValue() { + @java.lang.Override public int getHtmlSanitizationValue() { return htmlSanitization_; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3594,19 +3237,16 @@ public int getHtmlSanitizationValue() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @param value The enum numeric value on the wire for htmlSanitization to set. * @return This builder for chaining. */ public Builder setHtmlSanitizationValue(int value) { - + htmlSanitization_ = value; onChanged(); return this; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3620,21 +3260,15 @@ public Builder setHtmlSanitizationValue(int value) {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return The htmlSanitization. */ @java.lang.Override public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.HtmlSanitization result = - com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); - return result == null - ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.HtmlSanitization result = com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); + return result == null ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED : result; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3648,7 +3282,6 @@ public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @param value The htmlSanitization to set. * @return This builder for chaining. */ @@ -3656,14 +3289,12 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitizat if (value == null) { throw new NullPointerException(); } - + htmlSanitization_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3677,16 +3308,14 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitizat
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; - * * @return This builder for chaining. */ public Builder clearHtmlSanitization() { - + htmlSanitization_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3699,12 +3328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions) private static final com.google.cloud.talent.v4beta1.Job.ProcessingOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(); } @@ -3713,28 +3342,27 @@ public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessingOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessingOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3749,13 +3377,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3770,7 +3397,6 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceF
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -3779,15 +3405,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3802,15 +3427,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3821,8 +3447,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COMPANY_FIELD_NUMBER = 2; private volatile java.lang.Object company_; /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3832,10 +3456,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * example, "projects/foo/companies/bar".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ @java.lang.Override @@ -3844,15 +3465,14 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3862,18 +3482,17 @@ public java.lang.String getCompany() {
    * example, "projects/foo/companies/bar".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -3884,8 +3503,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { public static final int REQUISITION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requisitionId_; /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3896,7 +3513,6 @@ public com.google.protobuf.ByteString getCompanyBytes() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ @java.lang.Override @@ -3905,15 +3521,14 @@ public java.lang.String getRequisitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; } } /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3924,15 +3539,16 @@ public java.lang.String getRequisitionId() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequisitionIdBytes() { + public com.google.protobuf.ByteString + getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -3943,15 +3559,12 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() { public static final int TITLE_FIELD_NUMBER = 4; private volatile java.lang.Object title_; /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ @java.lang.Override @@ -3960,30 +3573,30 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -3994,8 +3607,6 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -4008,7 +3619,6 @@ public com.google.protobuf.ByteString getTitleBytes() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ @java.lang.Override @@ -4017,15 +3627,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -4038,15 +3647,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -4057,8 +3667,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int ADDRESSES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList addresses_; /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4076,15 +3684,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList getAddressesList() { + public com.google.protobuf.ProtocolStringList + getAddressesList() { return addresses_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4102,15 +3708,12 @@ public com.google.protobuf.ProtocolStringList getAddressesList() {
    * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4128,7 +3731,6 @@ public int getAddressesCount() {
    * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -4136,8 +3738,6 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -4155,25 +3755,22 @@ public java.lang.String getAddresses(int index) {
    * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString getAddressesBytes(int index) { + public com.google.protobuf.ByteString + getAddressesBytes(int index) { return addresses_.getByteString(index); } public static final int APPLICATION_INFO_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ @java.lang.Override @@ -4181,25 +3778,18 @@ public boolean hasApplicationInfo() { return applicationInfo_ != null; } /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() { - return applicationInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } /** - * - * *
    * Job application information.
    * 
@@ -4207,53 +3797,41 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder - getApplicationInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder() { return getApplicationInfo(); } public static final int JOB_BENEFITS_FIELD_NUMBER = 8; private java.util.List jobBenefits_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit> - jobBenefits_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit> jobBenefits_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>() { public com.google.cloud.talent.v4beta1.JobBenefit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobBenefit result = - com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.JobBenefit result = com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED : result; } }; /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ @java.lang.Override public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>( - jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(jobBenefits_, jobBenefits_converter_); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ @java.lang.Override @@ -4261,14 +3839,11 @@ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -4277,29 +3852,24 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ @java.lang.Override - public java.util.List getJobBenefitsValueList() { + public java.util.List + getJobBenefitsValueList() { return jobBenefits_; } /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -4307,21 +3877,17 @@ public java.util.List getJobBenefitsValueList() { public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } - private int jobBenefitsMemoizedSerializedSize; public static final int COMPENSATION_INFO_FIELD_NUMBER = 9; private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ @java.lang.Override @@ -4329,26 +3895,19 @@ public boolean hasCompensationInfo() { return compensationInfo_ != null; } /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() { - return compensationInfo_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() - : compensationInfo_; + return compensationInfo_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_; } /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -4362,29 +3921,21 @@ public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensation
   }
 
   public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;
-
   private static final class CustomAttributesDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-        defaultEntry =
+        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> defaultEntry =
             com.google.protobuf.MapEntry
-                .
-                    newDefaultInstance(
-                        com.google.cloud.talent.v4beta1.JobResourceProto
-                            .internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor,
-                        com.google.protobuf.WireFormat.FieldType.STRING,
-                        "",
-                        com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                        com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
   }
-
-  private com.google.protobuf.MapField<
-          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-      customAttributes_;
-
   private com.google.protobuf.MapField<
-          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-      internalGetCustomAttributes() {
+      java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> customAttributes_;
+  private com.google.protobuf.MapField
+  internalGetCustomAttributes() {
     if (customAttributes_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomAttributesDefaultEntryHolder.defaultEntry);
@@ -4396,8 +3947,6 @@ public int getCustomAttributesCount() {
     return internalGetCustomAttributes().getMap().size();
   }
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4411,26 +3960,24 @@ public int getCustomAttributesCount() {
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ + @java.lang.Override - public boolean containsCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomAttributes().getMap().containsKey(key); } - /** Use {@link #getCustomAttributesMap()} instead. */ + /** + * Use {@link #getCustomAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getCustomAttributes() { + public java.util.Map getCustomAttributes() { return getCustomAttributesMap(); } /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4444,17 +3991,14 @@ public boolean containsCustomAttributes(java.lang.String key) {
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override - public java.util.Map - getCustomAttributesMap() { + + public java.util.Map getCustomAttributesMap() { return internalGetCustomAttributes().getMap(); } /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4468,22 +4012,19 @@ public boolean containsCustomAttributes(java.lang.String key) {
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( - java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4497,15 +4038,13 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -4517,45 +4056,34 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThro public static final int DEGREE_TYPES_FIELD_NUMBER = 11; private java.util.List degreeTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType> - degreeTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType> degreeTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>() { public com.google.cloud.talent.v4beta1.DegreeType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DegreeType result = - com.google.cloud.talent.v4beta1.DegreeType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.DegreeType result = com.google.cloud.talent.v4beta1.DegreeType.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED : result; } }; /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ @java.lang.Override public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>( - degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(degreeTypes_, degreeTypes_converter_); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ @java.lang.Override @@ -4563,14 +4091,11 @@ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -4579,29 +4104,24 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ @java.lang.Override - public java.util.List getDegreeTypesValueList() { + public java.util.List + getDegreeTypesValueList() { return degreeTypes_; } /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -4609,14 +4129,11 @@ public java.util.List getDegreeTypesValueList() { public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } - private int degreeTypesMemoizedSerializedSize; public static final int DEPARTMENT_FIELD_NUMBER = 12; private volatile java.lang.Object department_; /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -4624,7 +4141,6 @@ public int getDegreeTypesValue(int index) {
    * 
* * string department = 12; - * * @return The department. */ @java.lang.Override @@ -4633,15 +4149,14 @@ public java.lang.String getDepartment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; } } /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -4649,15 +4164,16 @@ public java.lang.String getDepartment() {
    * 
* * string department = 12; - * * @return The bytes for department. */ @java.lang.Override - public com.google.protobuf.ByteString getDepartmentBytes() { + public com.google.protobuf.ByteString + getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); department_ = b; return b; } else { @@ -4668,22 +4184,16 @@ public com.google.protobuf.ByteString getDepartmentBytes() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> - employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() { public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.EmploymentType result = - com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.EmploymentType result = com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED : result; } }; /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4691,18 +4201,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4710,7 +4216,6 @@ public java.util.List getEmploym
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ @java.lang.Override @@ -4718,8 +4223,6 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4727,7 +4230,6 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4736,8 +4238,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4745,16 +4245,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return employmentTypes_; } /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4762,7 +4260,6 @@ public java.util.List getEmploymentTypesValueList() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4770,14 +4267,11 @@ public java.util.List getEmploymentTypesValueList() { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } - private int employmentTypesMemoizedSerializedSize; public static final int INCENTIVES_FIELD_NUMBER = 14; private volatile java.lang.Object incentives_; /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4785,7 +4279,6 @@ public int getEmploymentTypesValue(int index) {
    * 
* * string incentives = 14; - * * @return The incentives. */ @java.lang.Override @@ -4794,15 +4287,14 @@ public java.lang.String getIncentives() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; } } /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4810,15 +4302,16 @@ public java.lang.String getIncentives() {
    * 
* * string incentives = 14; - * * @return The bytes for incentives. */ @java.lang.Override - public com.google.protobuf.ByteString getIncentivesBytes() { + public com.google.protobuf.ByteString + getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incentives_ = b; return b; } else { @@ -4829,8 +4322,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object languageCode_; /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4844,7 +4335,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() {
    * 
* * string language_code = 15; - * * @return The languageCode. */ @java.lang.Override @@ -4853,15 +4343,14 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4875,15 +4364,16 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4894,44 +4384,33 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int JOB_LEVEL_FIELD_NUMBER = 16; private int jobLevel_; /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override - public int getJobLevelValue() { + @java.lang.Override public int getJobLevelValue() { return jobLevel_; } /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The jobLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { + @java.lang.Override public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobLevel result = - com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4beta1.JobLevel result = com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result; } public static final int PROMOTION_VALUE_FIELD_NUMBER = 17; private int promotionValue_; /** - * - * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -4942,7 +4421,6 @@ public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() {
    * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ @java.lang.Override @@ -4953,8 +4431,6 @@ public int getPromotionValue() { public static final int QUALIFICATIONS_FIELD_NUMBER = 18; private volatile java.lang.Object qualifications_; /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4965,7 +4441,6 @@ public int getPromotionValue() {
    * 
* * string qualifications = 18; - * * @return The qualifications. */ @java.lang.Override @@ -4974,15 +4449,14 @@ public java.lang.String getQualifications() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; } } /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4993,15 +4467,16 @@ public java.lang.String getQualifications() {
    * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ @java.lang.Override - public com.google.protobuf.ByteString getQualificationsBytes() { + public com.google.protobuf.ByteString + getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); qualifications_ = b; return b; } else { @@ -5012,8 +4487,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() { public static final int RESPONSIBILITIES_FIELD_NUMBER = 19; private volatile java.lang.Object responsibilities_; /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -5024,7 +4497,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() {
    * 
* * string responsibilities = 19; - * * @return The responsibilities. */ @java.lang.Override @@ -5033,15 +4505,14 @@ public java.lang.String getResponsibilities() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; } } /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -5052,15 +4523,16 @@ public java.lang.String getResponsibilities() {
    * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ @java.lang.Override - public com.google.protobuf.ByteString getResponsibilitiesBytes() { + public com.google.protobuf.ByteString + getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -5071,8 +4543,6 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() { public static final int POSTING_REGION_FIELD_NUMBER = 20; private int postingRegion_; /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -5084,16 +4554,12 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() {
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override - public int getPostingRegionValue() { + @java.lang.Override public int getPostingRegionValue() { return postingRegion_; } /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -5105,22 +4571,17 @@ public int getPostingRegionValue() {
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The postingRegion. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { + @java.lang.Override public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.PostingRegion result = - com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4beta1.PostingRegion result = com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result; } public static final int VISIBILITY_FIELD_NUMBER = 21; private int visibility_; /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -5128,19 +4589,14 @@ public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() {
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override - @java.lang.Deprecated - public int getVisibilityValue() { + @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -5148,32 +4604,25 @@ public int getVisibilityValue() {
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.talent.v4beta1.Visibility getVisibility() { + @java.lang.Override @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Visibility result = - com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4beta1.Visibility result = com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result; } public static final int JOB_START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp jobStartTime_; /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ @java.lang.Override @@ -5181,26 +4630,19 @@ public boolean hasJobStartTime() { return jobStartTime_ != null; } /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobStartTime() { - return jobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobStartTime_; + return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; } /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -5216,15 +4658,12 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
   public static final int JOB_END_TIME_FIELD_NUMBER = 23;
   private com.google.protobuf.Timestamp jobEndTime_;
   /**
-   *
-   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ @java.lang.Override @@ -5232,15 +4671,12 @@ public boolean hasJobEndTime() { return jobEndTime_ != null; } /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ @java.lang.Override @@ -5248,8 +4684,6 @@ public com.google.protobuf.Timestamp getJobEndTime() { return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -5265,8 +4699,6 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
   public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
   private com.google.protobuf.Timestamp postingPublishTime_;
   /**
-   *
-   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5274,7 +4706,6 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ @java.lang.Override @@ -5282,8 +4713,6 @@ public boolean hasPostingPublishTime() { return postingPublishTime_ != null; } /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5291,18 +4720,13 @@ public boolean hasPostingPublishTime() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingPublishTime() { - return postingPublishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingPublishTime_; + return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; } /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -5319,8 +4743,6 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
   public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
   private com.google.protobuf.Timestamp postingExpireTime_;
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5360,7 +4782,6 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ @java.lang.Override @@ -5368,8 +4789,6 @@ public boolean hasPostingExpireTime() { return postingExpireTime_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5409,18 +4828,13 @@ public boolean hasPostingExpireTime() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingExpireTime() { - return postingExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingExpireTime_; + return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -5469,16 +4883,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
   public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
   private com.google.protobuf.Timestamp postingCreateTime_;
   /**
-   *
-   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ @java.lang.Override @@ -5486,34 +4895,23 @@ public boolean hasPostingCreateTime() { return postingCreateTime_ != null; } /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingCreateTime() { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { @@ -5523,16 +4921,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp postingUpdateTime_; /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ @java.lang.Override @@ -5540,34 +4933,23 @@ public boolean hasPostingUpdateTime() { return postingUpdateTime_ != null; } /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingUpdateTime() { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { @@ -5577,14 +4959,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28; private volatile java.lang.Object companyDisplayName_; /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ @java.lang.Override @@ -5593,29 +4972,29 @@ public java.lang.String getCompanyDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; } } /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString + getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -5626,16 +5005,11 @@ public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { public static final int DERIVED_INFO_FIELD_NUMBER = 29; private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -5643,34 +5017,23 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -5680,14 +5043,11 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30; private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ @java.lang.Override @@ -5695,25 +5055,18 @@ public boolean hasProcessingOptions() { return processingOptions_ != null; } /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() { - return processingOptions_ == null - ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } /** - * - * *
    * Options for job processing.
    * 
@@ -5721,13 +5074,11 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOption * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder - getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { return getProcessingOptions(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5739,7 +5090,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -5772,8 +5124,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (compensationInfo_ != null) { output.writeMessage(9, getCompensationInfo()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetCustomAttributes(), + CustomAttributesDefaultEntryHolder.defaultEntry, + 10); if (getDegreeTypesList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize); @@ -5809,12 +5165,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_); } - if (postingRegion_ - != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + if (postingRegion_ != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { output.writeEnum(20, postingRegion_); } - if (visibility_ - != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { + if (visibility_ != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { output.writeEnum(21, visibility_); } if (jobStartTime_ != null) { @@ -5877,46 +5231,46 @@ public int getSerializedSize() { size += 1 * getAddressesList().size(); } if (applicationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getApplicationInfo()); } { int dataSize = 0; for (int i = 0; i < jobBenefits_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobBenefits_.get(i)); } size += dataSize; - if (!getJobBenefitsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobBenefitsMemoizedSerializedSize = dataSize; + if (!getJobBenefitsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobBenefitsMemoizedSerializedSize = dataSize; } if (compensationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo()); - } - for (java.util.Map.Entry - entry : internalGetCustomAttributes().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> - customAttributes__ = - CustomAttributesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getCompensationInfo()); + } + for (java.util.Map.Entry entry + : internalGetCustomAttributes().getMap().entrySet()) { + com.google.protobuf.MapEntry + customAttributes__ = CustomAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, customAttributes__); } { int dataSize = 0; for (int i = 0; i < degreeTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(degreeTypes_.get(i)); } size += dataSize; - if (!getDegreeTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - degreeTypesMemoizedSerializedSize = dataSize; + if (!getDegreeTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }degreeTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_); @@ -5924,15 +5278,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }employmentTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incentives_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_); @@ -5941,10 +5294,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_); } if (jobLevel_ != com.google.cloud.talent.v4beta1.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, jobLevel_); } if (promotionValue_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(17, promotionValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qualifications_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_); @@ -5952,40 +5307,48 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_); } - if (postingRegion_ - != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_); + if (postingRegion_ != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(20, postingRegion_); } - if (visibility_ - != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_); + if (visibility_ != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(21, visibility_); } if (jobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getJobStartTime()); } if (jobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getJobEndTime()); } if (postingPublishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getPostingPublishTime()); } if (postingExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getPostingExpireTime()); } if (postingCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getPostingCreateTime()); } if (postingUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getPostingUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(companyDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getDerivedInfo()); } if (processingOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getProcessingOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5995,72 +5358,96 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Job other = (com.google.cloud.talent.v4beta1.Job) obj; - if (!getName().equals(other.getName())) return false; - if (!getCompany().equals(other.getCompany())) return false; - if (!getRequisitionId().equals(other.getRequisitionId())) return false; - if (!getTitle().equals(other.getTitle())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getAddressesList().equals(other.getAddressesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCompany() + .equals(other.getCompany())) return false; + if (!getRequisitionId() + .equals(other.getRequisitionId())) return false; + if (!getTitle() + .equals(other.getTitle())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getAddressesList() + .equals(other.getAddressesList())) return false; if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; + if (!getApplicationInfo() + .equals(other.getApplicationInfo())) return false; } if (!jobBenefits_.equals(other.jobBenefits_)) return false; if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; + if (!getCompensationInfo() + .equals(other.getCompensationInfo())) return false; } - if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; + if (!internalGetCustomAttributes().equals( + other.internalGetCustomAttributes())) return false; if (!degreeTypes_.equals(other.degreeTypes_)) return false; - if (!getDepartment().equals(other.getDepartment())) return false; + if (!getDepartment() + .equals(other.getDepartment())) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getIncentives().equals(other.getIncentives())) return false; - if (!getLanguageCode().equals(other.getLanguageCode())) return false; + if (!getIncentives() + .equals(other.getIncentives())) return false; + if (!getLanguageCode() + .equals(other.getLanguageCode())) return false; if (jobLevel_ != other.jobLevel_) return false; - if (getPromotionValue() != other.getPromotionValue()) return false; - if (!getQualifications().equals(other.getQualifications())) return false; - if (!getResponsibilities().equals(other.getResponsibilities())) return false; + if (getPromotionValue() + != other.getPromotionValue()) return false; + if (!getQualifications() + .equals(other.getQualifications())) return false; + if (!getResponsibilities() + .equals(other.getResponsibilities())) return false; if (postingRegion_ != other.postingRegion_) return false; if (visibility_ != other.visibility_) return false; if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - if (!getJobStartTime().equals(other.getJobStartTime())) return false; + if (!getJobStartTime() + .equals(other.getJobStartTime())) return false; } if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - if (!getJobEndTime().equals(other.getJobEndTime())) return false; + if (!getJobEndTime() + .equals(other.getJobEndTime())) return false; } if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; + if (!getPostingPublishTime() + .equals(other.getPostingPublishTime())) return false; } if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; + if (!getPostingExpireTime() + .equals(other.getPostingExpireTime())) return false; } if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; + if (!getPostingCreateTime() + .equals(other.getPostingCreateTime())) return false; } if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; + if (!getPostingUpdateTime() + .equals(other.getPostingUpdateTime())) return false; } - if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; + if (!getCompanyDisplayName() + .equals(other.getCompanyDisplayName())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo() + .equals(other.getDerivedInfo())) return false; } if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; + if (!getProcessingOptions() + .equals(other.getProcessingOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6168,103 +5555,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.Job parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Job parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Job parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.talent.v4beta1.Job parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Job resource represents a job posting (also referred to as a "job listing"
    * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
@@ -6273,52 +5654,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Job}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job)
       com.google.cloud.talent.v4beta1.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetCustomAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 10:
           return internalGetMutableCustomAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Job.class,
-              com.google.cloud.talent.v4beta1.Job.Builder.class);
+              com.google.cloud.talent.v4beta1.Job.class, com.google.cloud.talent.v4beta1.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Job.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6425,9 +5809,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
     }
 
     @java.lang.Override
@@ -6543,39 +5927,38 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Job) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Job) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Job)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6630,7 +6013,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job other) {
       if (other.hasCompensationInfo()) {
         mergeCompensationInfo(other.getCompensationInfo());
       }
-      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
+      internalGetMutableCustomAttributes().mergeFrom(
+          other.internalGetCustomAttributes());
       if (!other.degreeTypes_.isEmpty()) {
         if (degreeTypes_.isEmpty()) {
           degreeTypes_ = other.degreeTypes_;
@@ -6737,246 +6121,222 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                company_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              company_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                requisitionId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              requisitionId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                title_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              title_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAddressesIsMutable();
-                addresses_.add(s);
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getApplicationInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAddressesIsMutable();
+              addresses_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getApplicationInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 58
-            case 64:
-              {
+              break;
+            } // case 58
+            case 64: {
+              int tmpRaw = input.readEnum();
+              ensureJobBenefitsIsMutable();
+              jobBenefits_.add(tmpRaw);
+              break;
+            } // case 64
+            case 66: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureJobBenefitsIsMutable();
                 jobBenefits_.add(tmpRaw);
-                break;
-              } // case 64
-            case 66:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureJobBenefitsIsMutable();
-                  jobBenefits_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getCompensationInfoFieldBuilder().getBuilder(), extensionRegistry);
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getCompensationInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 74
-            case 82:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-                    customAttributes__ =
-                        input.readMessage(
-                            CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableCustomAttributes()
-                    .getMutableMap()
-                    .put(customAttributes__.getKey(), customAttributes__.getValue());
-                break;
-              } // case 82
-            case 88:
-              {
+              break;
+            } // case 74
+            case 82: {
+              com.google.protobuf.MapEntry
+              customAttributes__ = input.readMessage(
+                  CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableCustomAttributes().getMutableMap().put(
+                  customAttributes__.getKey(), customAttributes__.getValue());
+              break;
+            } // case 82
+            case 88: {
+              int tmpRaw = input.readEnum();
+              ensureDegreeTypesIsMutable();
+              degreeTypes_.add(tmpRaw);
+              break;
+            } // case 88
+            case 90: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureDegreeTypesIsMutable();
                 degreeTypes_.add(tmpRaw);
-                break;
-              } // case 88
-            case 90:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureDegreeTypesIsMutable();
-                  degreeTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 90
-            case 98:
-              {
-                department_ = input.readStringRequireUtf8();
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 90
+            case 98: {
+              department_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 98
-            case 104:
-              {
+              break;
+            } // case 98
+            case 104: {
+              int tmpRaw = input.readEnum();
+              ensureEmploymentTypesIsMutable();
+              employmentTypes_.add(tmpRaw);
+              break;
+            } // case 104
+            case 106: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureEmploymentTypesIsMutable();
                 employmentTypes_.add(tmpRaw);
-                break;
-              } // case 104
-            case 106:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureEmploymentTypesIsMutable();
-                  employmentTypes_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 106
-            case 114:
-              {
-                incentives_ = input.readStringRequireUtf8();
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 106
+            case 114: {
+              incentives_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 114
-            case 122:
-              {
-                languageCode_ = input.readStringRequireUtf8();
+              break;
+            } // case 114
+            case 122: {
+              languageCode_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 122
-            case 128:
-              {
-                jobLevel_ = input.readEnum();
+              break;
+            } // case 122
+            case 128: {
+              jobLevel_ = input.readEnum();
 
-                break;
-              } // case 128
-            case 136:
-              {
-                promotionValue_ = input.readInt32();
+              break;
+            } // case 128
+            case 136: {
+              promotionValue_ = input.readInt32();
 
-                break;
-              } // case 136
-            case 146:
-              {
-                qualifications_ = input.readStringRequireUtf8();
+              break;
+            } // case 136
+            case 146: {
+              qualifications_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 146
-            case 154:
-              {
-                responsibilities_ = input.readStringRequireUtf8();
+              break;
+            } // case 146
+            case 154: {
+              responsibilities_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 154
-            case 160:
-              {
-                postingRegion_ = input.readEnum();
+              break;
+            } // case 154
+            case 160: {
+              postingRegion_ = input.readEnum();
 
-                break;
-              } // case 160
-            case 168:
-              {
-                visibility_ = input.readEnum();
+              break;
+            } // case 160
+            case 168: {
+              visibility_ = input.readEnum();
 
-                break;
-              } // case 168
-            case 178:
-              {
-                input.readMessage(getJobStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 168
+            case 178: {
+              input.readMessage(
+                  getJobStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(getJobEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getJobEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 186
-            case 194:
-              {
-                input.readMessage(
-                    getPostingPublishTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 186
+            case 194: {
+              input.readMessage(
+                  getPostingPublishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 194
-            case 202:
-              {
-                input.readMessage(
-                    getPostingExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 194
+            case 202: {
+              input.readMessage(
+                  getPostingExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(
-                    getPostingCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getPostingCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 210
-            case 218:
-              {
-                input.readMessage(
-                    getPostingUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 210
+            case 218: {
+              input.readMessage(
+                  getPostingUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 218
-            case 226:
-              {
-                companyDisplayName_ = input.readStringRequireUtf8();
+              break;
+            } // case 218
+            case 226: {
+              companyDisplayName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 226
-            case 234:
-              {
-                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 226
+            case 234: {
+              input.readMessage(
+                  getDerivedInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 234
-            case 242:
-              {
-                input.readMessage(
-                    getProcessingOptionsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 234
+            case 242: {
+              input.readMessage(
+                  getProcessingOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 242
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 242
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6986,13 +6346,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7007,13 +6364,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -7022,8 +6379,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7038,14 +6393,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7053,8 +6409,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7069,22 +6423,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7099,18 +6451,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -7125,16 +6474,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7142,8 +6491,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object company_ = ""; /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7153,16 +6500,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -7171,8 +6516,6 @@ public java.lang.String getCompany() { } } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7182,17 +6525,16 @@ public java.lang.String getCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ - public com.google.protobuf.ByteString getCompanyBytes() { + public com.google.protobuf.ByteString + getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); company_ = b; return b; } else { @@ -7200,8 +6542,6 @@ public com.google.protobuf.ByteString getCompanyBytes() { } } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7211,25 +6551,21 @@ public com.google.protobuf.ByteString getCompanyBytes() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany(java.lang.String value) { + public Builder setCompany( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7239,21 +6575,16 @@ public Builder setCompany(java.lang.String value) {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -7263,19 +6594,17 @@ public Builder clearCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -7283,8 +6612,6 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) { private java.lang.Object requisitionId_ = ""; /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7295,13 +6622,13 @@ public Builder setCompanyBytes(com.google.protobuf.ByteString value) {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ public java.lang.String getRequisitionId() { java.lang.Object ref = requisitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; @@ -7310,8 +6637,6 @@ public java.lang.String getRequisitionId() { } } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7322,14 +6647,15 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ - public com.google.protobuf.ByteString getRequisitionIdBytes() { + public com.google.protobuf.ByteString + getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -7337,8 +6663,6 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() { } } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7349,22 +6673,20 @@ public com.google.protobuf.ByteString getRequisitionIdBytes() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionId(java.lang.String value) { + public Builder setRequisitionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requisitionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7375,18 +6697,15 @@ public Builder setRequisitionId(java.lang.String value) {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRequisitionId() { - + requisitionId_ = getDefaultInstance().getRequisitionId(); onChanged(); return this; } /** - * - * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -7397,16 +6716,16 @@ public Builder clearRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequisitionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requisitionId_ = value; onChanged(); return this; @@ -7414,21 +6733,19 @@ public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object title_ = ""; /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -7437,22 +6754,21 @@ public java.lang.String getTitle() { } } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ - public com.google.protobuf.ByteString getTitleBytes() { + public com.google.protobuf.ByteString + getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); title_ = b; return b; } else { @@ -7460,64 +6776,57 @@ public com.google.protobuf.ByteString getTitleBytes() { } } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle(java.lang.String value) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** - * - * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes(com.google.protobuf.ByteString value) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -7525,8 +6834,6 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7539,13 +6846,13 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7554,8 +6861,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7568,14 +6873,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -7583,8 +6889,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7597,22 +6901,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7625,18 +6927,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -7649,33 +6948,29 @@ public Builder clearDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList addresses_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7693,15 +6988,13 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList getAddressesList() { + public com.google.protobuf.ProtocolStringList + getAddressesList() { return addresses_.getUnmodifiableView(); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7719,15 +7012,12 @@ public com.google.protobuf.ProtocolStringList getAddressesList() {
      * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7745,7 +7035,6 @@ public int getAddressesCount() {
      * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -7753,8 +7042,6 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7772,16 +7059,14 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString getAddressesBytes(int index) { + public com.google.protobuf.ByteString + getAddressesBytes(int index) { return addresses_.getByteString(index); } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7799,23 +7084,21 @@ public com.google.protobuf.ByteString getAddressesBytes(int index) {
      * 
* * repeated string addresses = 6; - * * @param index The index to set the value at. * @param value The addresses to set. * @return This builder for chaining. */ - public Builder setAddresses(int index, java.lang.String value) { + public Builder setAddresses( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.set(index, value); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7833,22 +7116,20 @@ public Builder setAddresses(int index, java.lang.String value) {
      * 
* * repeated string addresses = 6; - * * @param value The addresses to add. * @return This builder for chaining. */ - public Builder addAddresses(java.lang.String value) { + public Builder addAddresses( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.add(value); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7866,19 +7147,18 @@ public Builder addAddresses(java.lang.String value) {
      * 
* * repeated string addresses = 6; - * * @param values The addresses to add. * @return This builder for chaining. */ - public Builder addAllAddresses(java.lang.Iterable values) { + public Builder addAllAddresses( + java.lang.Iterable values) { ensureAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, addresses_); onChanged(); return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7896,7 +7176,6 @@ public Builder addAllAddresses(java.lang.Iterable values) {
      * 
* * repeated string addresses = 6; - * * @return This builder for chaining. */ public Builder clearAddresses() { @@ -7906,8 +7185,6 @@ public Builder clearAddresses() { return this; } /** - * - * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7925,15 +7202,15 @@ public Builder clearAddresses() {
      * 
* * repeated string addresses = 6; - * * @param value The bytes of the addresses to add. * @return This builder for chaining. */ - public Builder addAddressesBytes(com.google.protobuf.ByteString value) { + public Builder addAddressesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAddressesIsMutable(); addresses_.add(value); onChanged(); @@ -7942,47 +7219,34 @@ public Builder addAddressesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> - applicationInfoBuilder_; + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> applicationInfoBuilder_; /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ public boolean hasApplicationInfo() { return applicationInfoBuilder_ != null || applicationInfo_ != null; } /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() { if (applicationInfoBuilder_ == null) { - return applicationInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } else { return applicationInfoBuilder_.getMessage(); } } /** - * - * *
      * Job application information.
      * 
@@ -8003,8 +7267,6 @@ public Builder setApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicatio return this; } /** - * - * *
      * Job application information.
      * 
@@ -8023,8 +7285,6 @@ public Builder setApplicationInfo( return this; } /** - * - * *
      * Job application information.
      * 
@@ -8035,9 +7295,7 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicat if (applicationInfoBuilder_ == null) { if (applicationInfo_ != null) { applicationInfo_ = - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_).mergeFrom(value).buildPartial(); } else { applicationInfo_ = value; } @@ -8049,8 +7307,6 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicat return this; } /** - * - * *
      * Job application information.
      * 
@@ -8069,8 +7325,6 @@ public Builder clearApplicationInfo() { return this; } /** - * - * *
      * Job application information.
      * 
@@ -8078,32 +7332,26 @@ public Builder clearApplicationInfo() { * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder getApplicationInfoBuilder() { - + onChanged(); return getApplicationInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ - public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder - getApplicationInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder() { if (applicationInfoBuilder_ != null) { return applicationInfoBuilder_.getMessageOrBuilder(); } else { - return applicationInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() - : applicationInfo_; + return applicationInfo_ == null ? + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; } } /** - * - * *
      * Job application information.
      * 
@@ -8111,24 +7359,21 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder getApplicatio * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> getApplicationInfoFieldBuilder() { if (applicationInfoBuilder_ == null) { - applicationInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, - com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>( - getApplicationInfo(), getParentForChildren(), isClean()); + applicationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>( + getApplicationInfo(), + getParentForChildren(), + isClean()); applicationInfo_ = null; } return applicationInfoBuilder_; } - private java.util.List jobBenefits_ = java.util.Collections.emptyList(); - + private java.util.List jobBenefits_ = + java.util.Collections.emptyList(); private void ensureJobBenefitsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); @@ -8136,44 +7381,34 @@ private void ensureJobBenefitsIsMutable() { } } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>( - jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(jobBenefits_, jobBenefits_converter_); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -8181,19 +7416,17 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index to set the value at. * @param value The jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefits(int index, com.google.cloud.talent.v4beta1.JobBenefit value) { + public Builder setJobBenefits( + int index, com.google.cloud.talent.v4beta1.JobBenefit value) { if (value == null) { throw new NullPointerException(); } @@ -8203,14 +7436,11 @@ public Builder setJobBenefits(int index, com.google.cloud.talent.v4beta1.JobBene return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param value The jobBenefits to add. * @return This builder for chaining. */ @@ -8224,14 +7454,11 @@ public Builder addJobBenefits(com.google.cloud.talent.v4beta1.JobBenefit value) return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param values The jobBenefits to add. * @return This builder for chaining. */ @@ -8245,14 +7472,11 @@ public Builder addAllJobBenefits( return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return This builder for chaining. */ public Builder clearJobBenefits() { @@ -8262,28 +7486,23 @@ public Builder clearJobBenefits() { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - public java.util.List getJobBenefitsValueList() { + public java.util.List + getJobBenefitsValueList() { return java.util.Collections.unmodifiableList(jobBenefits_); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -8291,33 +7510,28 @@ public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefitsValue(int index, int value) { + public Builder setJobBenefitsValue( + int index, int value) { ensureJobBenefitsIsMutable(); jobBenefits_.set(index, value); onChanged(); return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param value The enum numeric value on the wire for jobBenefits to add. * @return This builder for chaining. */ @@ -8328,18 +7542,16 @@ public Builder addJobBenefitsValue(int value) { return this; } /** - * - * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param values The enum numeric values on the wire for jobBenefits to add. * @return This builder for chaining. */ - public Builder addAllJobBenefitsValue(java.lang.Iterable values) { + public Builder addAllJobBenefitsValue( + java.lang.Iterable values) { ensureJobBenefitsIsMutable(); for (int value : values) { jobBenefits_.add(value); @@ -8350,49 +7562,36 @@ public Builder addAllJobBenefitsValue(java.lang.Iterable valu private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo, - com.google.cloud.talent.v4beta1.CompensationInfo.Builder, - com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> - compensationInfoBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> compensationInfoBuilder_; /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ public boolean hasCompensationInfo() { return compensationInfoBuilder_ != null || compensationInfo_ != null; } /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() { if (compensationInfoBuilder_ == null) { - return compensationInfo_ == null - ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() - : compensationInfo_; + return compensationInfo_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_; } else { return compensationInfoBuilder_.getMessage(); } } /** - * - * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8414,8 +7613,6 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4beta1.CompensationI
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8435,8 +7632,6 @@ public Builder setCompensationInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8448,9 +7643,7 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
       if (compensationInfoBuilder_ == null) {
         if (compensationInfo_ != null) {
           compensationInfo_ =
-              com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_).mergeFrom(value).buildPartial();
         } else {
           compensationInfo_ = value;
         }
@@ -8462,8 +7655,6 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8483,8 +7674,6 @@ public Builder clearCompensationInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8493,13 +7682,11 @@ public Builder clearCompensationInfo() {
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
     public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationInfoBuilder() {
-
+      
       onChanged();
       return getCompensationInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8507,19 +7694,15 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationI
      *
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
-    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder
-        getCompensationInfoOrBuilder() {
+    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder() {
       if (compensationInfoBuilder_ != null) {
         return compensationInfoBuilder_.getMessageOrBuilder();
       } else {
-        return compensationInfo_ == null
-            ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()
-            : compensationInfo_;
+        return compensationInfo_ == null ?
+            com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -8528,45 +7711,35 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationI
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CompensationInfo,
-            com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
-            com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>
+        com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> 
         getCompensationInfoFieldBuilder() {
       if (compensationInfoBuilder_ == null) {
-        compensationInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.CompensationInfo,
-                com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
-                com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
-                getCompensationInfo(), getParentForChildren(), isClean());
+        compensationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
+                getCompensationInfo(),
+                getParentForChildren(),
+                isClean());
         compensationInfo_ = null;
       }
       return compensationInfoBuilder_;
     }
 
     private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-        customAttributes_;
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-        internalGetCustomAttributes() {
+        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> customAttributes_;
+    private com.google.protobuf.MapField
+    internalGetCustomAttributes() {
       if (customAttributes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       return customAttributes_;
     }
-
-    private com.google.protobuf.MapField<
-            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
-        internalGetMutableCustomAttributes() {
-      onChanged();
-      ;
+    private com.google.protobuf.MapField
+    internalGetMutableCustomAttributes() {
+      onChanged();;
       if (customAttributes_ == null) {
-        customAttributes_ =
-            com.google.protobuf.MapField.newMapField(
-                CustomAttributesDefaultEntryHolder.defaultEntry);
+        customAttributes_ = com.google.protobuf.MapField.newMapField(
+            CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       if (!customAttributes_.isMutable()) {
         customAttributes_ = customAttributes_.copy();
@@ -8578,8 +7751,6 @@ public int getCustomAttributesCount() {
       return internalGetCustomAttributes().getMap().size();
     }
     /**
-     *
-     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8593,26 +7764,24 @@ public int getCustomAttributesCount() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ + @java.lang.Override - public boolean containsCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomAttributes().getMap().containsKey(key); } - /** Use {@link #getCustomAttributesMap()} instead. */ + /** + * Use {@link #getCustomAttributesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getCustomAttributes() { + public java.util.Map getCustomAttributes() { return getCustomAttributesMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8626,17 +7795,14 @@ public boolean containsCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override - public java.util.Map - getCustomAttributesMap() { + + public java.util.Map getCustomAttributesMap() { return internalGetCustomAttributes().getMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8650,22 +7816,19 @@ public boolean containsCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( - java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8679,15 +7842,13 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ @java.lang.Override + public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -8697,12 +7858,11 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThro } public Builder clearCustomAttributes() { - internalGetMutableCustomAttributes().getMutableMap().clear(); + internalGetMutableCustomAttributes().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8716,25 +7876,25 @@ public Builder clearCustomAttributes() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ - public Builder removeCustomAttributes(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableCustomAttributes().getMutableMap().remove(key); + + public Builder removeCustomAttributes( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableCustomAttributes().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableCustomAttributes() { + getMutableCustomAttributes() { return internalGetMutableCustomAttributes().getMutableMap(); } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8748,24 +7908,21 @@ public Builder removeCustomAttributes(java.lang.String key) {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ public Builder putCustomAttributes( - java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.cloud.talent.v4beta1.CustomAttribute value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableCustomAttributes().getMutableMap().put(key, value); + internalGetMutableCustomAttributes().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8779,17 +7936,18 @@ public Builder putCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ + public Builder putAllCustomAttributes( java.util.Map values) { - internalGetMutableCustomAttributes().getMutableMap().putAll(values); + internalGetMutableCustomAttributes().getMutableMap() + .putAll(values); return this; } - private java.util.List degreeTypes_ = java.util.Collections.emptyList(); - + private java.util.List degreeTypes_ = + java.util.Collections.emptyList(); private void ensureDegreeTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); @@ -8797,44 +7955,34 @@ private void ensureDegreeTypesIsMutable() { } } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>( - degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(degreeTypes_, degreeTypes_converter_); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -8842,19 +7990,17 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index to set the value at. * @param value The degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypes(int index, com.google.cloud.talent.v4beta1.DegreeType value) { + public Builder setDegreeTypes( + int index, com.google.cloud.talent.v4beta1.DegreeType value) { if (value == null) { throw new NullPointerException(); } @@ -8864,14 +8010,11 @@ public Builder setDegreeTypes(int index, com.google.cloud.talent.v4beta1.DegreeT return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param value The degreeTypes to add. * @return This builder for chaining. */ @@ -8885,14 +8028,11 @@ public Builder addDegreeTypes(com.google.cloud.talent.v4beta1.DegreeType value) return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param values The degreeTypes to add. * @return This builder for chaining. */ @@ -8906,14 +8046,11 @@ public Builder addAllDegreeTypes( return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return This builder for chaining. */ public Builder clearDegreeTypes() { @@ -8923,28 +8060,23 @@ public Builder clearDegreeTypes() { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - public java.util.List getDegreeTypesValueList() { + public java.util.List + getDegreeTypesValueList() { return java.util.Collections.unmodifiableList(degreeTypes_); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -8952,33 +8084,28 @@ public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypesValue(int index, int value) { + public Builder setDegreeTypesValue( + int index, int value) { ensureDegreeTypesIsMutable(); degreeTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param value The enum numeric value on the wire for degreeTypes to add. * @return This builder for chaining. */ @@ -8989,18 +8116,16 @@ public Builder addDegreeTypesValue(int value) { return this; } /** - * - * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param values The enum numeric values on the wire for degreeTypes to add. * @return This builder for chaining. */ - public Builder addAllDegreeTypesValue(java.lang.Iterable values) { + public Builder addAllDegreeTypesValue( + java.lang.Iterable values) { ensureDegreeTypesIsMutable(); for (int value : values) { degreeTypes_.add(value); @@ -9011,8 +8136,6 @@ public Builder addAllDegreeTypesValue(java.lang.Iterable valu private java.lang.Object department_ = ""; /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9020,13 +8143,13 @@ public Builder addAllDegreeTypesValue(java.lang.Iterable valu
      * 
* * string department = 12; - * * @return The department. */ public java.lang.String getDepartment() { java.lang.Object ref = department_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; @@ -9035,8 +8158,6 @@ public java.lang.String getDepartment() { } } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9044,14 +8165,15 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; - * * @return The bytes for department. */ - public com.google.protobuf.ByteString getDepartmentBytes() { + public com.google.protobuf.ByteString + getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); department_ = b; return b; } else { @@ -9059,8 +8181,6 @@ public com.google.protobuf.ByteString getDepartmentBytes() { } } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9068,22 +8188,20 @@ public com.google.protobuf.ByteString getDepartmentBytes() {
      * 
* * string department = 12; - * * @param value The department to set. * @return This builder for chaining. */ - public Builder setDepartment(java.lang.String value) { + public Builder setDepartment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + department_ = value; onChanged(); return this; } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9091,18 +8209,15 @@ public Builder setDepartment(java.lang.String value) {
      * 
* * string department = 12; - * * @return This builder for chaining. */ public Builder clearDepartment() { - + department_ = getDefaultInstance().getDepartment(); onChanged(); return this; } /** - * - * *
      * The department or functional area within the company with the open
      * position.
@@ -9110,23 +8225,23 @@ public Builder clearDepartment() {
      * 
* * string department = 12; - * * @param value The bytes for department to set. * @return This builder for chaining. */ - public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { + public Builder setDepartmentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + department_ = value; onChanged(); return this; } - private java.util.List employmentTypes_ = java.util.Collections.emptyList(); - + private java.util.List employmentTypes_ = + java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -9134,8 +8249,6 @@ private void ensureEmploymentTypesIsMutable() { } } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9143,17 +8256,13 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9161,15 +8270,12 @@ public java.util.List getEmploym
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9177,7 +8283,6 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -9185,8 +8290,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9194,7 +8297,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. @@ -9210,8 +8312,6 @@ public Builder setEmploymentTypes( return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9219,7 +8319,6 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -9233,8 +8332,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9242,7 +8339,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -9256,8 +8352,6 @@ public Builder addAllEmploymentTypes( return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9265,7 +8359,6 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -9275,8 +8368,6 @@ public Builder clearEmploymentTypes() { return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9284,15 +8375,13 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9300,7 +8389,6 @@ public java.util.List getEmploymentTypesValueList() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -9308,8 +8396,6 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9317,20 +8403,18 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue(int index, int value) { + public Builder setEmploymentTypesValue( + int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9338,7 +8422,6 @@ public Builder setEmploymentTypesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -9349,8 +8432,6 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** - * - * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -9358,11 +8439,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue( + java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -9373,8 +8454,6 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable private java.lang.Object incentives_ = ""; /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9382,13 +8461,13 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable
      * 
* * string incentives = 14; - * * @return The incentives. */ public java.lang.String getIncentives() { java.lang.Object ref = incentives_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; @@ -9397,8 +8476,6 @@ public java.lang.String getIncentives() { } } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9406,14 +8483,15 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; - * * @return The bytes for incentives. */ - public com.google.protobuf.ByteString getIncentivesBytes() { + public com.google.protobuf.ByteString + getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incentives_ = b; return b; } else { @@ -9421,8 +8499,6 @@ public com.google.protobuf.ByteString getIncentivesBytes() { } } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9430,22 +8506,20 @@ public com.google.protobuf.ByteString getIncentivesBytes() {
      * 
* * string incentives = 14; - * * @param value The incentives to set. * @return This builder for chaining. */ - public Builder setIncentives(java.lang.String value) { + public Builder setIncentives( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incentives_ = value; onChanged(); return this; } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9453,18 +8527,15 @@ public Builder setIncentives(java.lang.String value) {
      * 
* * string incentives = 14; - * * @return This builder for chaining. */ public Builder clearIncentives() { - + incentives_ = getDefaultInstance().getIncentives(); onChanged(); return this; } /** - * - * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -9472,16 +8543,16 @@ public Builder clearIncentives() {
      * 
* * string incentives = 14; - * * @param value The bytes for incentives to set. * @return This builder for chaining. */ - public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { + public Builder setIncentivesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incentives_ = value; onChanged(); return this; @@ -9489,8 +8560,6 @@ public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { private java.lang.Object languageCode_ = ""; /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9504,13 +8573,13 @@ public Builder setIncentivesBytes(com.google.protobuf.ByteString value) {
      * 
* * string language_code = 15; - * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -9519,8 +8588,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9534,14 +8601,15 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString getLanguageCodeBytes() { + public com.google.protobuf.ByteString + getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); languageCode_ = b; return b; } else { @@ -9549,8 +8617,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { } } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9564,22 +8630,20 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
      * 
* * string language_code = 15; - * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode(java.lang.String value) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9593,18 +8657,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 15; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -9618,16 +8679,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 15; - * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -9635,65 +8696,51 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { private int jobLevel_ = 0; /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override - public int getJobLevelValue() { + @java.lang.Override public int getJobLevelValue() { return jobLevel_; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @param value The enum numeric value on the wire for jobLevel to set. * @return This builder for chaining. */ public Builder setJobLevelValue(int value) { - + jobLevel_ = value; onChanged(); return this; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The jobLevel. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobLevel result = - com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4beta1.JobLevel result = com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @param value The jobLevel to set. * @return This builder for chaining. */ @@ -9701,33 +8748,28 @@ public Builder setJobLevel(com.google.cloud.talent.v4beta1.JobLevel value) { if (value == null) { throw new NullPointerException(); } - + jobLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return This builder for chaining. */ public Builder clearJobLevel() { - + jobLevel_ = 0; onChanged(); return this; } - private int promotionValue_; + private int promotionValue_ ; /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9738,7 +8780,6 @@ public Builder clearJobLevel() {
      * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ @java.lang.Override @@ -9746,8 +8787,6 @@ public int getPromotionValue() { return promotionValue_; } /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9758,19 +8797,16 @@ public int getPromotionValue() {
      * 
* * int32 promotion_value = 17; - * * @param value The promotionValue to set. * @return This builder for chaining. */ public Builder setPromotionValue(int value) { - + promotionValue_ = value; onChanged(); return this; } /** - * - * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -9781,11 +8817,10 @@ public Builder setPromotionValue(int value) {
      * 
* * int32 promotion_value = 17; - * * @return This builder for chaining. */ public Builder clearPromotionValue() { - + promotionValue_ = 0; onChanged(); return this; @@ -9793,8 +8828,6 @@ public Builder clearPromotionValue() { private java.lang.Object qualifications_ = ""; /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9805,13 +8838,13 @@ public Builder clearPromotionValue() {
      * 
* * string qualifications = 18; - * * @return The qualifications. */ public java.lang.String getQualifications() { java.lang.Object ref = qualifications_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; @@ -9820,8 +8853,6 @@ public java.lang.String getQualifications() { } } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9832,14 +8863,15 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ - public com.google.protobuf.ByteString getQualificationsBytes() { + public com.google.protobuf.ByteString + getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); qualifications_ = b; return b; } else { @@ -9847,8 +8879,6 @@ public com.google.protobuf.ByteString getQualificationsBytes() { } } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9859,22 +8889,20 @@ public com.google.protobuf.ByteString getQualificationsBytes() {
      * 
* * string qualifications = 18; - * * @param value The qualifications to set. * @return This builder for chaining. */ - public Builder setQualifications(java.lang.String value) { + public Builder setQualifications( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + qualifications_ = value; onChanged(); return this; } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9885,18 +8913,15 @@ public Builder setQualifications(java.lang.String value) {
      * 
* * string qualifications = 18; - * * @return This builder for chaining. */ public Builder clearQualifications() { - + qualifications_ = getDefaultInstance().getQualifications(); onChanged(); return this; } /** - * - * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9907,16 +8932,16 @@ public Builder clearQualifications() {
      * 
* * string qualifications = 18; - * * @param value The bytes for qualifications to set. * @return This builder for chaining. */ - public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { + public Builder setQualificationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + qualifications_ = value; onChanged(); return this; @@ -9924,8 +8949,6 @@ public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object responsibilities_ = ""; /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9936,13 +8959,13 @@ public Builder setQualificationsBytes(com.google.protobuf.ByteString value) {
      * 
* * string responsibilities = 19; - * * @return The responsibilities. */ public java.lang.String getResponsibilities() { java.lang.Object ref = responsibilities_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; @@ -9951,8 +8974,6 @@ public java.lang.String getResponsibilities() { } } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9963,14 +8984,15 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ - public com.google.protobuf.ByteString getResponsibilitiesBytes() { + public com.google.protobuf.ByteString + getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -9978,8 +9000,6 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() { } } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9990,22 +9010,20 @@ public com.google.protobuf.ByteString getResponsibilitiesBytes() {
      * 
* * string responsibilities = 19; - * * @param value The responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilities(java.lang.String value) { + public Builder setResponsibilities( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responsibilities_ = value; onChanged(); return this; } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -10016,18 +9034,15 @@ public Builder setResponsibilities(java.lang.String value) {
      * 
* * string responsibilities = 19; - * * @return This builder for chaining. */ public Builder clearResponsibilities() { - + responsibilities_ = getDefaultInstance().getResponsibilities(); onChanged(); return this; } /** - * - * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -10038,16 +9053,16 @@ public Builder clearResponsibilities() {
      * 
* * string responsibilities = 19; - * * @param value The bytes for responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { + public Builder setResponsibilitiesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responsibilities_ = value; onChanged(); return this; @@ -10055,8 +9070,6 @@ public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { private int postingRegion_ = 0; /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10068,16 +9081,12 @@ public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override - public int getPostingRegionValue() { + @java.lang.Override public int getPostingRegionValue() { return postingRegion_; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10089,19 +9098,16 @@ public int getPostingRegionValue() {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @param value The enum numeric value on the wire for postingRegion to set. * @return This builder for chaining. */ public Builder setPostingRegionValue(int value) { - + postingRegion_ = value; onChanged(); return this; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10113,19 +9119,15 @@ public Builder setPostingRegionValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The postingRegion. */ @java.lang.Override public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.PostingRegion result = - com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4beta1.PostingRegion result = com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10137,7 +9139,6 @@ public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @param value The postingRegion to set. * @return This builder for chaining. */ @@ -10145,14 +9146,12 @@ public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion va if (value == null) { throw new NullPointerException(); } - + postingRegion_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -10164,11 +9163,10 @@ public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion va
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return This builder for chaining. */ public Builder clearPostingRegion() { - + postingRegion_ = 0; onChanged(); return this; @@ -10176,8 +9174,6 @@ public Builder clearPostingRegion() { private int visibility_ = 0; /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10185,19 +9181,14 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override - @java.lang.Deprecated - public int getVisibilityValue() { + @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { return visibility_; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10205,22 +9196,18 @@ public int getVisibilityValue() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @param value The enum numeric value on the wire for visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setVisibilityValue(int value) { - + @java.lang.Deprecated public Builder setVisibilityValue(int value) { + visibility_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10228,22 +9215,17 @@ public Builder setVisibilityValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.talent.v4beta1.Visibility getVisibility() { + @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Visibility result = - com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4beta1.Visibility result = com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10251,25 +9233,21 @@ public com.google.cloud.talent.v4beta1.Visibility getVisibility() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @param value The visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { + @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { if (value == null) { throw new NullPointerException(); } - + visibility_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -10277,14 +9255,12 @@ public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearVisibility() { - + @java.lang.Deprecated public Builder clearVisibility() { + visibility_ = 0; onChanged(); return this; @@ -10292,49 +9268,36 @@ public Builder clearVisibility() { private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - jobStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobStartTimeBuilder_; /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ public boolean hasJobStartTime() { return jobStartTimeBuilder_ != null || jobStartTime_ != null; } /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ public com.google.protobuf.Timestamp getJobStartTime() { if (jobStartTimeBuilder_ == null) { - return jobStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobStartTime_; + return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; } else { return jobStartTimeBuilder_.getMessage(); } } /** - * - * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10356,8 +9319,6 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10365,7 +9326,8 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_start_time = 22;
      */
-    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobStartTimeBuilder_ == null) {
         jobStartTime_ = builderForValue.build();
         onChanged();
@@ -10376,8 +9338,6 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10389,9 +9349,7 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       if (jobStartTimeBuilder_ == null) {
         if (jobStartTime_ != null) {
           jobStartTime_ =
-              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(jobStartTime_).mergeFrom(value).buildPartial();
         } else {
           jobStartTime_ = value;
         }
@@ -10403,8 +9361,6 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10424,8 +9380,6 @@ public Builder clearJobStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10434,13 +9388,11 @@ public Builder clearJobStartTime() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {
-
+      
       onChanged();
       return getJobStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10452,14 +9404,11 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
       if (jobStartTimeBuilder_ != null) {
         return jobStartTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobStartTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : jobStartTime_;
+        return jobStartTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -10468,17 +9417,14 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getJobStartTimeFieldBuilder() {
       if (jobStartTimeBuilder_ == null) {
-        jobStartTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getJobStartTime(), getParentForChildren(), isClean());
+        jobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getJobStartTime(),
+                getParentForChildren(),
+                isClean());
         jobStartTime_ = null;
       }
       return jobStartTimeBuilder_;
@@ -10486,49 +9432,36 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp jobEndTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        jobEndTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobEndTimeBuilder_;
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ public boolean hasJobEndTime() { return jobEndTimeBuilder_ != null || jobEndTime_ != null; } /** - * - * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ public com.google.protobuf.Timestamp getJobEndTime() { if (jobEndTimeBuilder_ == null) { - return jobEndTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : jobEndTime_; + return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } else { return jobEndTimeBuilder_.getMessage(); } } /** - * - * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10550,8 +9483,6 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10559,7 +9490,8 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_end_time = 23;
      */
-    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobEndTimeBuilder_ == null) {
         jobEndTime_ = builderForValue.build();
         onChanged();
@@ -10570,8 +9502,6 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10583,7 +9513,7 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       if (jobEndTimeBuilder_ == null) {
         if (jobEndTime_ != null) {
           jobEndTime_ =
-              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
         } else {
           jobEndTime_ = value;
         }
@@ -10595,8 +9525,6 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10616,8 +9544,6 @@ public Builder clearJobEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10626,13 +9552,11 @@ public Builder clearJobEndTime() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {
-
+      
       onChanged();
       return getJobEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10644,14 +9568,11 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
       if (jobEndTimeBuilder_ != null) {
         return jobEndTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobEndTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : jobEndTime_;
+        return jobEndTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -10660,17 +9581,14 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getJobEndTimeFieldBuilder() {
       if (jobEndTimeBuilder_ == null) {
-        jobEndTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getJobEndTime(), getParentForChildren(), isClean());
+        jobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getJobEndTime(),
+                getParentForChildren(),
+                isClean());
         jobEndTime_ = null;
       }
       return jobEndTimeBuilder_;
@@ -10678,13 +9596,8 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingPublishTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingPublishTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingPublishTimeBuilder_;
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10692,15 +9605,12 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ public boolean hasPostingPublishTime() { return postingPublishTimeBuilder_ != null || postingPublishTime_ != null; } /** - * - * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10708,21 +9618,16 @@ public boolean hasPostingPublishTime() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ public com.google.protobuf.Timestamp getPostingPublishTime() { if (postingPublishTimeBuilder_ == null) { - return postingPublishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingPublishTime_; + return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; } else { return postingPublishTimeBuilder_.getMessage(); } } /** - * - * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10745,8 +9650,6 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10755,7 +9658,8 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
-    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingPublishTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingPublishTimeBuilder_ == null) {
         postingPublishTime_ = builderForValue.build();
         onChanged();
@@ -10766,8 +9670,6 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10780,9 +9682,7 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       if (postingPublishTimeBuilder_ == null) {
         if (postingPublishTime_ != null) {
           postingPublishTime_ =
-              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(postingPublishTime_).mergeFrom(value).buildPartial();
         } else {
           postingPublishTime_ = value;
         }
@@ -10794,8 +9694,6 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10816,8 +9714,6 @@ public Builder clearPostingPublishTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10827,13 +9723,11 @@ public Builder clearPostingPublishTime() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {
-
+      
       onChanged();
       return getPostingPublishTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10846,14 +9740,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
       if (postingPublishTimeBuilder_ != null) {
         return postingPublishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingPublishTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : postingPublishTime_;
+        return postingPublishTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -10863,17 +9754,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getPostingPublishTimeFieldBuilder() {
       if (postingPublishTimeBuilder_ == null) {
-        postingPublishTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPostingPublishTime(), getParentForChildren(), isClean());
+        postingPublishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPostingPublishTime(),
+                getParentForChildren(),
+                isClean());
         postingPublishTime_ = null;
       }
       return postingPublishTimeBuilder_;
@@ -10881,13 +9769,8 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingExpireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingExpireTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingExpireTimeBuilder_;
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10927,15 +9810,12 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ public boolean hasPostingExpireTime() { return postingExpireTimeBuilder_ != null || postingExpireTime_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10975,21 +9855,16 @@ public boolean hasPostingExpireTime() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ public com.google.protobuf.Timestamp getPostingExpireTime() { if (postingExpireTimeBuilder_ == null) { - return postingExpireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingExpireTime_; + return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; } else { return postingExpireTimeBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11044,8 +9919,6 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11086,7 +9959,8 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
-    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingExpireTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingExpireTimeBuilder_ == null) {
         postingExpireTime_ = builderForValue.build();
         onChanged();
@@ -11097,8 +9971,6 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11143,9 +10015,7 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       if (postingExpireTimeBuilder_ == null) {
         if (postingExpireTime_ != null) {
           postingExpireTime_ =
-              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(postingExpireTime_).mergeFrom(value).buildPartial();
         } else {
           postingExpireTime_ = value;
         }
@@ -11157,8 +10027,6 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11211,8 +10079,6 @@ public Builder clearPostingExpireTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11254,13 +10120,11 @@ public Builder clearPostingExpireTime() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
-
+      
       onChanged();
       return getPostingExpireTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11305,14 +10169,11 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
       if (postingExpireTimeBuilder_ != null) {
         return postingExpireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingExpireTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : postingExpireTime_;
+        return postingExpireTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -11354,17 +10215,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getPostingExpireTimeFieldBuilder() {
       if (postingExpireTimeBuilder_ == null) {
-        postingExpireTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getPostingExpireTime(), getParentForChildren(), isClean());
+        postingExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getPostingExpireTime(),
+                getParentForChildren(),
+                isClean());
         postingExpireTime_ = null;
       }
       return postingExpireTimeBuilder_;
@@ -11372,58 +10230,39 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        postingCreateTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingCreateTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ public boolean hasPostingCreateTime() { return postingCreateTimeBuilder_ != null || postingCreateTime_ != null; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ public com.google.protobuf.Timestamp getPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } else { return postingCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { @@ -11439,17 +10278,14 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (postingCreateTimeBuilder_ == null) { postingCreateTime_ = builderForValue.build(); onChanged(); @@ -11460,23 +10296,17 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { if (postingCreateTime_ != null) { postingCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingCreateTime_).mergeFrom(value).buildPartial(); } else { postingCreateTime_ = value; } @@ -11488,15 +10318,11 @@ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { @@ -11510,64 +10336,48 @@ public Builder clearPostingCreateTime() { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() { - + onChanged(); return getPostingCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { if (postingCreateTimeBuilder_ != null) { return postingCreateTimeBuilder_.getMessageOrBuilder(); } else { - return postingCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingCreateTime_; + return postingCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; } } /** - * - * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPostingCreateTimeFieldBuilder() { if (postingCreateTimeBuilder_ == null) { - postingCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPostingCreateTime(), getParentForChildren(), isClean()); + postingCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPostingCreateTime(), + getParentForChildren(), + isClean()); postingCreateTime_ = null; } return postingCreateTimeBuilder_; @@ -11575,58 +10385,39 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - postingUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingUpdateTimeBuilder_; /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ public boolean hasPostingUpdateTime() { return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ public com.google.protobuf.Timestamp getPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } else { return postingUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { @@ -11642,17 +10433,14 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (postingUpdateTimeBuilder_ == null) { postingUpdateTime_ = builderForValue.build(); onChanged(); @@ -11663,23 +10451,17 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builde return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { if (postingUpdateTime_ != null) { postingUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_).mergeFrom(value).buildPartial(); } else { postingUpdateTime_ = value; } @@ -11691,15 +10473,11 @@ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { @@ -11713,64 +10491,48 @@ public Builder clearPostingUpdateTime() { return this; } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() { - + onChanged(); return getPostingUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { if (postingUpdateTimeBuilder_ != null) { return postingUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return postingUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : postingUpdateTime_; + return postingUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; } } /** - * - * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getPostingUpdateTimeFieldBuilder() { if (postingUpdateTimeBuilder_ == null) { - postingUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPostingUpdateTime(), getParentForChildren(), isClean()); + postingUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPostingUpdateTime(), + getParentForChildren(), + isClean()); postingUpdateTime_ = null; } return postingUpdateTimeBuilder_; @@ -11778,20 +10540,18 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { private java.lang.Object companyDisplayName_ = ""; /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ public java.lang.String getCompanyDisplayName() { java.lang.Object ref = companyDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; @@ -11800,21 +10560,20 @@ public java.lang.String getCompanyDisplayName() { } } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ - public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString + getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -11822,61 +10581,54 @@ public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { } } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayName(java.lang.String value) { + public Builder setCompanyDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + companyDisplayName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCompanyDisplayName() { - + companyDisplayName_ = getDefaultInstance().getCompanyDisplayName(); onChanged(); return this; } /** - * - * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setCompanyDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + companyDisplayName_ = value; onChanged(); return this; @@ -11884,58 +10636,39 @@ public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> - derivedInfoBuilder_; + com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> derivedInfoBuilder_; /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -11951,15 +10684,11 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo va return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDerivedInfo( com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder builderForValue) { @@ -11973,23 +10702,17 @@ public Builder setDerivedInfo( return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); } else { derivedInfo_ = value; } @@ -12001,15 +10724,11 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -12023,64 +10742,48 @@ public Builder clearDerivedInfo() { return this; } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null - ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() - : derivedInfo_; + return derivedInfo_ == null ? + com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; } } /** - * - * *
      * Output only. Derived details about the job posting.
      * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> + com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, - com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, - com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>( - getDerivedInfo(), getParentForChildren(), isClean()); + derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>( + getDerivedInfo(), + getParentForChildren(), + isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; @@ -12088,55 +10791,41 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> - processingOptionsBuilder_; + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> processingOptionsBuilder_; /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ public boolean hasProcessingOptions() { return processingOptionsBuilder_ != null || processingOptions_ != null; } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() { if (processingOptionsBuilder_ == null) { - return processingOptions_ == null - ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } else { return processingOptionsBuilder_.getMessage(); } } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public Builder setProcessingOptions( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { + public Builder setProcessingOptions(com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { if (processingOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12150,8 +10839,6 @@ public Builder setProcessingOptions( return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12170,22 +10857,17 @@ public Builder setProcessingOptions( return this; } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public Builder mergeProcessingOptions( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { + public Builder mergeProcessingOptions(com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { if (processingOptionsBuilder_ == null) { if (processingOptions_ != null) { processingOptions_ = - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_).mergeFrom(value).buildPartial(); } else { processingOptions_ = value; } @@ -12197,8 +10879,6 @@ public Builder mergeProcessingOptions( return this; } /** - * - * *
      * Options for job processing.
      * 
@@ -12217,42 +10897,33 @@ public Builder clearProcessingOptions() { return this; } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder - getProcessingOptionsBuilder() { - + public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder getProcessingOptionsBuilder() { + onChanged(); return getProcessingOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder - getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { if (processingOptionsBuilder_ != null) { return processingOptionsBuilder_.getMessageOrBuilder(); } else { - return processingOptions_ == null - ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() - : processingOptions_; + return processingOptions_ == null ? + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; } } /** - * - * *
      * Options for job processing.
      * 
@@ -12260,24 +10931,21 @@ public Builder clearProcessingOptions() { * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> getProcessingOptionsFieldBuilder() { if (processingOptionsBuilder_ == null) { - processingOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, - com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>( - getProcessingOptions(), getParentForChildren(), isClean()); + processingOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>( + getProcessingOptions(), + getParentForChildren(), + isClean()); processingOptions_ = null; } return processingOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12287,12 +10955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job) private static final com.google.cloud.talent.v4beta1.Job DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job(); } @@ -12301,27 +10969,27 @@ public static com.google.cloud.talent.v4beta1.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12336,4 +11004,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java index 8a7b2867cb81..40a05c0e30fe 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents employee benefits included with the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.JobBenefit} */ -public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { +public enum JobBenefit + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value if the type isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ JOB_BENEFIT_UNSPECIFIED(0), /** - * - * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -50,8 +30,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   CHILD_CARE(1),
   /**
-   *
-   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -61,8 +39,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   DENTAL(2),
   /**
-   *
-   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -71,8 +47,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ DOMESTIC_PARTNER(3), /** - * - * *
    * The job allows for a flexible work schedule.
    * 
@@ -81,8 +55,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ FLEXIBLE_HOURS(4), /** - * - * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -91,8 +63,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ MEDICAL(5), /** - * - * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -102,8 +72,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   LIFE_INSURANCE(6),
   /**
-   *
-   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -113,8 +81,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   PARENTAL_LEAVE(7),
   /**
-   *
-   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -124,8 +90,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   RETIREMENT_PLAN(8),
   /**
-   *
-   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -134,8 +98,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ SICK_DAYS(9), /** - * - * *
    * The job includes paid time off for vacation.
    * 
@@ -144,8 +106,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ VACATION(10), /** - * - * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -158,8 +118,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value if the type isn't specified.
    * 
@@ -168,8 +126,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_BENEFIT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -179,8 +135,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CHILD_CARE_VALUE = 1;
   /**
-   *
-   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -190,8 +144,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int DENTAL_VALUE = 2;
   /**
-   *
-   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -200,8 +152,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOMESTIC_PARTNER_VALUE = 3; /** - * - * *
    * The job allows for a flexible work schedule.
    * 
@@ -210,8 +160,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLEXIBLE_HOURS_VALUE = 4; /** - * - * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -220,8 +168,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDICAL_VALUE = 5; /** - * - * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -231,8 +177,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int LIFE_INSURANCE_VALUE = 6;
   /**
-   *
-   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -242,8 +186,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PARENTAL_LEAVE_VALUE = 7;
   /**
-   *
-   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -253,8 +195,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int RETIREMENT_PLAN_VALUE = 8;
   /**
-   *
-   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -263,8 +203,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SICK_DAYS_VALUE = 9; /** - * - * *
    * The job includes paid time off for vacation.
    * 
@@ -273,8 +211,6 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VACATION_VALUE = 10; /** - * - * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -284,6 +220,7 @@ public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VISION_VALUE = 11;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -308,67 +245,58 @@ public static JobBenefit valueOf(int value) {
    */
   public static JobBenefit forNumber(int value) {
     switch (value) {
-      case 0:
-        return JOB_BENEFIT_UNSPECIFIED;
-      case 1:
-        return CHILD_CARE;
-      case 2:
-        return DENTAL;
-      case 3:
-        return DOMESTIC_PARTNER;
-      case 4:
-        return FLEXIBLE_HOURS;
-      case 5:
-        return MEDICAL;
-      case 6:
-        return LIFE_INSURANCE;
-      case 7:
-        return PARENTAL_LEAVE;
-      case 8:
-        return RETIREMENT_PLAN;
-      case 9:
-        return SICK_DAYS;
-      case 10:
-        return VACATION;
-      case 11:
-        return VISION;
-      default:
-        return null;
+      case 0: return JOB_BENEFIT_UNSPECIFIED;
+      case 1: return CHILD_CARE;
+      case 2: return DENTAL;
+      case 3: return DOMESTIC_PARTNER;
+      case 4: return FLEXIBLE_HOURS;
+      case 5: return MEDICAL;
+      case 6: return LIFE_INSURANCE;
+      case 7: return PARENTAL_LEAVE;
+      case 8: return RETIREMENT_PLAN;
+      case 9: return SICK_DAYS;
+      case 10: return VACATION;
+      case 11: return VISION;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      JobBenefit> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public JobBenefit findValueByNumber(int number) {
+            return JobBenefit.forNumber(number);
+          }
+        };
 
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public JobBenefit findValueByNumber(int number) {
-          return JobBenefit.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final JobBenefit[] VALUES = values();
 
-  public static JobBenefit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static JobBenefit valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -384,3 +312,4 @@ private JobBenefit(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobBenefit)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
similarity index 79%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
index a842a2873d97..6f404cf5df65 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * An enum that represents the categorization or primary focus of specific
  * role. This value is different than the "industry" associated with a role,
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.JobCategory}
  */
-public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobCategory
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default value if the category isn't specified.
    * 
@@ -41,8 +23,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ JOB_CATEGORY_UNSPECIFIED(0), /** - * - * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -51,8 +31,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ACCOUNTING_AND_FINANCE(1), /** - * - * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -61,8 +39,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ADMINISTRATIVE_AND_OFFICE(2), /** - * - * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -71,8 +47,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ADVERTISING_AND_MARKETING(3), /** - * - * *
    * An animal care job, such as Veterinarian.
    * 
@@ -81,8 +55,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ANIMAL_CARE(4), /** - * - * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -91,8 +63,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ART_FASHION_AND_DESIGN(5), /** - * - * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -101,8 +71,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ BUSINESS_OPERATIONS(6), /** - * - * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -111,8 +79,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CLEANING_AND_FACILITIES(7), /** - * - * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -121,8 +87,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ COMPUTER_AND_IT(8), /** - * - * *
    * A construction job, such as General Laborer.
    * 
@@ -131,8 +95,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CONSTRUCTION(9), /** - * - * *
    * A customer service job, such s Cashier.
    * 
@@ -141,8 +103,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ CUSTOMER_SERVICE(10), /** - * - * *
    * An education job, such as School Teacher.
    * 
@@ -151,8 +111,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ EDUCATION(11), /** - * - * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -161,8 +119,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ ENTERTAINMENT_AND_TRAVEL(12), /** - * - * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -171,8 +127,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ FARMING_AND_OUTDOORS(13), /** - * - * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -181,8 +135,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ HEALTHCARE(14), /** - * - * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -191,8 +143,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ HUMAN_RESOURCES(15), /** - * - * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -201,8 +151,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ INSTALLATION_MAINTENANCE_AND_REPAIR(16), /** - * - * *
    * A legal job, such as Law Clerk.
    * 
@@ -211,8 +159,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ LEGAL(17), /** - * - * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -222,8 +168,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
    */
   MANAGEMENT(18),
   /**
-   *
-   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -232,8 +176,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ MANUFACTURING_AND_WAREHOUSE(19), /** - * - * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -242,8 +184,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ MEDIA_COMMUNICATIONS_AND_WRITING(20), /** - * - * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -252,8 +192,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ OIL_GAS_AND_MINING(21), /** - * - * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -262,8 +200,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ PERSONAL_CARE_AND_SERVICES(22), /** - * - * *
    * A protective services job, such as Security Guard.
    * 
@@ -272,8 +208,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ PROTECTIVE_SERVICES(23), /** - * - * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -282,8 +216,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ REAL_ESTATE(24), /** - * - * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -292,8 +224,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ RESTAURANT_AND_HOSPITALITY(25), /** - * - * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -302,8 +232,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SALES_AND_RETAIL(26), /** - * - * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -312,8 +240,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SCIENCE_AND_ENGINEERING(27), /** - * - * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -322,8 +248,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SOCIAL_SERVICES_AND_NON_PROFIT(28), /** - * - * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -332,8 +256,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ SPORTS_FITNESS_AND_RECREATION(29), /** - * - * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -345,8 +267,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the category isn't specified.
    * 
@@ -355,8 +275,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -365,8 +283,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; /** - * - * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -375,8 +291,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; /** - * - * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -385,8 +299,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADVERTISING_AND_MARKETING_VALUE = 3; /** - * - * *
    * An animal care job, such as Veterinarian.
    * 
@@ -395,8 +307,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANIMAL_CARE_VALUE = 4; /** - * - * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -405,8 +315,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ART_FASHION_AND_DESIGN_VALUE = 5; /** - * - * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -415,8 +323,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUSINESS_OPERATIONS_VALUE = 6; /** - * - * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -425,8 +331,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLEANING_AND_FACILITIES_VALUE = 7; /** - * - * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -435,8 +339,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPUTER_AND_IT_VALUE = 8; /** - * - * *
    * A construction job, such as General Laborer.
    * 
@@ -445,8 +347,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONSTRUCTION_VALUE = 9; /** - * - * *
    * A customer service job, such s Cashier.
    * 
@@ -455,8 +355,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CUSTOMER_SERVICE_VALUE = 10; /** - * - * *
    * An education job, such as School Teacher.
    * 
@@ -465,8 +363,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EDUCATION_VALUE = 11; /** - * - * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -475,8 +371,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; /** - * - * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -485,8 +379,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FARMING_AND_OUTDOORS_VALUE = 13; /** - * - * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -495,8 +387,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEALTHCARE_VALUE = 14; /** - * - * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -505,8 +395,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HUMAN_RESOURCES_VALUE = 15; /** - * - * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -515,8 +403,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; /** - * - * *
    * A legal job, such as Law Clerk.
    * 
@@ -525,8 +411,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LEGAL_VALUE = 17; /** - * - * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -536,8 +420,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int MANAGEMENT_VALUE = 18;
   /**
-   *
-   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -546,8 +428,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; /** - * - * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -556,8 +436,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; /** - * - * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -566,8 +444,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OIL_GAS_AND_MINING_VALUE = 21; /** - * - * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -576,8 +452,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; /** - * - * *
    * A protective services job, such as Security Guard.
    * 
@@ -586,8 +460,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROTECTIVE_SERVICES_VALUE = 23; /** - * - * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -596,8 +468,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REAL_ESTATE_VALUE = 24; /** - * - * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -606,8 +476,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; /** - * - * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -616,8 +484,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SALES_AND_RETAIL_VALUE = 26; /** - * - * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -626,8 +492,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; /** - * - * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -636,8 +500,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; /** - * - * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -646,8 +508,6 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; /** - * - * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -656,6 +516,7 @@ public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -680,105 +541,77 @@ public static JobCategory valueOf(int value) { */ public static JobCategory forNumber(int value) { switch (value) { - case 0: - return JOB_CATEGORY_UNSPECIFIED; - case 1: - return ACCOUNTING_AND_FINANCE; - case 2: - return ADMINISTRATIVE_AND_OFFICE; - case 3: - return ADVERTISING_AND_MARKETING; - case 4: - return ANIMAL_CARE; - case 5: - return ART_FASHION_AND_DESIGN; - case 6: - return BUSINESS_OPERATIONS; - case 7: - return CLEANING_AND_FACILITIES; - case 8: - return COMPUTER_AND_IT; - case 9: - return CONSTRUCTION; - case 10: - return CUSTOMER_SERVICE; - case 11: - return EDUCATION; - case 12: - return ENTERTAINMENT_AND_TRAVEL; - case 13: - return FARMING_AND_OUTDOORS; - case 14: - return HEALTHCARE; - case 15: - return HUMAN_RESOURCES; - case 16: - return INSTALLATION_MAINTENANCE_AND_REPAIR; - case 17: - return LEGAL; - case 18: - return MANAGEMENT; - case 19: - return MANUFACTURING_AND_WAREHOUSE; - case 20: - return MEDIA_COMMUNICATIONS_AND_WRITING; - case 21: - return OIL_GAS_AND_MINING; - case 22: - return PERSONAL_CARE_AND_SERVICES; - case 23: - return PROTECTIVE_SERVICES; - case 24: - return REAL_ESTATE; - case 25: - return RESTAURANT_AND_HOSPITALITY; - case 26: - return SALES_AND_RETAIL; - case 27: - return SCIENCE_AND_ENGINEERING; - case 28: - return SOCIAL_SERVICES_AND_NON_PROFIT; - case 29: - return SPORTS_FITNESS_AND_RECREATION; - case 30: - return TRANSPORTATION_AND_LOGISTICS; - default: - return null; + case 0: return JOB_CATEGORY_UNSPECIFIED; + case 1: return ACCOUNTING_AND_FINANCE; + case 2: return ADMINISTRATIVE_AND_OFFICE; + case 3: return ADVERTISING_AND_MARKETING; + case 4: return ANIMAL_CARE; + case 5: return ART_FASHION_AND_DESIGN; + case 6: return BUSINESS_OPERATIONS; + case 7: return CLEANING_AND_FACILITIES; + case 8: return COMPUTER_AND_IT; + case 9: return CONSTRUCTION; + case 10: return CUSTOMER_SERVICE; + case 11: return EDUCATION; + case 12: return ENTERTAINMENT_AND_TRAVEL; + case 13: return FARMING_AND_OUTDOORS; + case 14: return HEALTHCARE; + case 15: return HUMAN_RESOURCES; + case 16: return INSTALLATION_MAINTENANCE_AND_REPAIR; + case 17: return LEGAL; + case 18: return MANAGEMENT; + case 19: return MANUFACTURING_AND_WAREHOUSE; + case 20: return MEDIA_COMMUNICATIONS_AND_WRITING; + case 21: return OIL_GAS_AND_MINING; + case 22: return PERSONAL_CARE_AND_SERVICES; + case 23: return PROTECTIVE_SERVICES; + case 24: return REAL_ESTATE; + case 25: return RESTAURANT_AND_HOSPITALITY; + case 26: return SALES_AND_RETAIL; + case 27: return SCIENCE_AND_ENGINEERING; + case 28: return SOCIAL_SERVICES_AND_NON_PROFIT; + case 29: return SPORTS_FITNESS_AND_RECREATION; + case 30: return TRANSPORTATION_AND_LOGISTICS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + JobCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobCategory findValueByNumber(int number) { + return JobCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobCategory findValueByNumber(int number) { - return JobCategory.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(5); } private static final JobCategory[] VALUES = values(); - public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobCategory valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -794,3 +627,4 @@ private JobCategory(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobCategory) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java index c7a3b5f85e00..86df01b76dea 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An event issued when a job seeker interacts with the application that
  * implements Cloud Talent Solution.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.JobEvent}
  */
-public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class JobEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobEvent)
     JobEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private JobEvent() {
     type_ = 0;
     jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -46,33 +28,30 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.EventProto
-        .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.EventProto
-        .internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.JobEvent.class,
-            com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
+            com.google.cloud.talent.v4beta1.JobEvent.class, com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enumeration of an event attributed to the behavior of the end user,
    * such as a job seeker.
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.JobEvent.JobEventType}
    */
-  public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum JobEventType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -92,8 +70,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum { */ JOB_EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -105,8 +81,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     IMPRESSION(1),
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -119,8 +93,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     VIEW(2),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -131,8 +103,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     VIEW_REDIRECT(3),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -142,8 +112,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_START(4),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -153,8 +121,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_FINISH(5),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -168,8 +134,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_QUICK_SUBMISSION(6),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -180,8 +144,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_REDIRECT(7),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -193,8 +155,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_START_FROM_SEARCH(8),
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -209,8 +169,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_REDIRECT_FROM_SEARCH(9),
     /**
-     *
-     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -221,8 +179,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     APPLICATION_COMPANY_SUBMIT(10),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -232,8 +188,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOKMARK(11),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -244,8 +198,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     NOTIFICATION(12),
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -258,8 +210,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     HIRED(13),
     /**
-     *
-     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -270,8 +220,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SENT_CV(14),
     /**
-     *
-     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -287,8 +235,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -297,8 +243,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -310,8 +254,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IMPRESSION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -324,8 +266,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEW_VALUE = 2;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -336,8 +276,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int VIEW_REDIRECT_VALUE = 3;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -347,8 +285,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_START_VALUE = 4;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -358,8 +294,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_FINISH_VALUE = 5;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -373,8 +307,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_QUICK_SUBMISSION_VALUE = 6;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -385,8 +317,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_REDIRECT_VALUE = 7;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -398,8 +328,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_START_FROM_SEARCH_VALUE = 8;
     /**
-     *
-     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -414,8 +342,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_REDIRECT_FROM_SEARCH_VALUE = 9;
     /**
-     *
-     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -426,8 +352,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int APPLICATION_COMPANY_SUBMIT_VALUE = 10;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -437,8 +361,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOKMARK_VALUE = 11;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -449,8 +371,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NOTIFICATION_VALUE = 12;
     /**
-     *
-     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -463,8 +383,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HIRED_VALUE = 13;
     /**
-     *
-     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -475,8 +393,6 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SENT_CV_VALUE = 14;
     /**
-     *
-     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -489,6 +405,7 @@ public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INTERVIEW_GRANTED_VALUE = 15;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -513,75 +430,62 @@ public static JobEventType valueOf(int value) {
      */
     public static JobEventType forNumber(int value) {
       switch (value) {
-        case 0:
-          return JOB_EVENT_TYPE_UNSPECIFIED;
-        case 1:
-          return IMPRESSION;
-        case 2:
-          return VIEW;
-        case 3:
-          return VIEW_REDIRECT;
-        case 4:
-          return APPLICATION_START;
-        case 5:
-          return APPLICATION_FINISH;
-        case 6:
-          return APPLICATION_QUICK_SUBMISSION;
-        case 7:
-          return APPLICATION_REDIRECT;
-        case 8:
-          return APPLICATION_START_FROM_SEARCH;
-        case 9:
-          return APPLICATION_REDIRECT_FROM_SEARCH;
-        case 10:
-          return APPLICATION_COMPANY_SUBMIT;
-        case 11:
-          return BOOKMARK;
-        case 12:
-          return NOTIFICATION;
-        case 13:
-          return HIRED;
-        case 14:
-          return SENT_CV;
-        case 15:
-          return INTERVIEW_GRANTED;
-        default:
-          return null;
+        case 0: return JOB_EVENT_TYPE_UNSPECIFIED;
+        case 1: return IMPRESSION;
+        case 2: return VIEW;
+        case 3: return VIEW_REDIRECT;
+        case 4: return APPLICATION_START;
+        case 5: return APPLICATION_FINISH;
+        case 6: return APPLICATION_QUICK_SUBMISSION;
+        case 7: return APPLICATION_REDIRECT;
+        case 8: return APPLICATION_START_FROM_SEARCH;
+        case 9: return APPLICATION_REDIRECT_FROM_SEARCH;
+        case 10: return APPLICATION_COMPANY_SUBMIT;
+        case 11: return BOOKMARK;
+        case 12: return NOTIFICATION;
+        case 13: return HIRED;
+        case 14: return SENT_CV;
+        case 15: return INTERVIEW_GRANTED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobEventType findValueByNumber(int number) {
-            return JobEventType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        JobEventType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public JobEventType findValueByNumber(int number) {
+              return JobEventType.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4beta1.JobEvent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobEventType[] VALUES = values();
 
-    public static JobEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobEventType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -601,50 +505,33 @@ private JobEventType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = - com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED : result; } public static final int JOBS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList jobs_; /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -657,15 +544,13 @@ public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList getJobsList() { + public com.google.protobuf.ProtocolStringList + getJobsList() { return jobs_; } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -678,15 +563,12 @@ public com.google.protobuf.ProtocolStringList getJobsList() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -699,7 +581,6 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -707,8 +588,6 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -721,19 +600,17 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString getJobsBytes(int index) { + public com.google.protobuf.ByteString + getJobsBytes(int index) { return jobs_.getByteString(index); } public static final int PROFILE_FIELD_NUMBER = 3; private volatile java.lang.Object profile_; /** - * - * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -742,7 +619,6 @@ public com.google.protobuf.ByteString getJobsBytes(int index) {
    * 
* * string profile = 3; - * * @return The profile. */ @java.lang.Override @@ -751,15 +627,14 @@ public java.lang.String getProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profile_ = s; return s; } } /** - * - * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -768,15 +643,16 @@ public java.lang.String getProfile() {
    * 
* * string profile = 3; - * * @return The bytes for profile. */ @java.lang.Override - public com.google.protobuf.ByteString getProfileBytes() { + public com.google.protobuf.ByteString + getProfileBytes() { java.lang.Object ref = profile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); profile_ = b; return b; } else { @@ -785,7 +661,6 @@ public com.google.protobuf.ByteString getProfileBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -797,10 +672,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < jobs_.size(); i++) { @@ -818,10 +692,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } { int dataSize = 0; @@ -842,7 +715,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobEvent)) { return super.equals(obj); @@ -850,8 +723,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.JobEvent other = (com.google.cloud.talent.v4beta1.JobEvent) obj; if (type_ != other.type_) return false; - if (!getJobsList().equals(other.getJobsList())) return false; - if (!getProfile().equals(other.getProfile())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; + if (!getProfile() + .equals(other.getProfile())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -876,104 +751,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -981,32 +849,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.JobEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobEvent)
       com.google.cloud.talent.v4beta1.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.JobEvent.class,
-              com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
+              com.google.cloud.talent.v4beta1.JobEvent.class, com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.JobEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1020,9 +889,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.EventProto
-          .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -1041,8 +910,7 @@ public com.google.cloud.talent.v4beta1.JobEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.JobEvent buildPartial() {
-      com.google.cloud.talent.v4beta1.JobEvent result =
-          new com.google.cloud.talent.v4beta1.JobEvent(this);
+      com.google.cloud.talent.v4beta1.JobEvent result = new com.google.cloud.talent.v4beta1.JobEvent(this);
       int from_bitField0_ = bitField0_;
       result.type_ = type_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -1059,39 +927,38 @@ public com.google.cloud.talent.v4beta1.JobEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.JobEvent) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.JobEvent) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.JobEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1143,32 +1010,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                type_ = input.readEnum();
+            case 8: {
+              type_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureJobsIsMutable();
-                jobs_.add(s);
-                break;
-              } // case 18
-            case 26:
-              {
-                profile_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureJobsIsMutable();
+              jobs_.add(s);
+              break;
+            } // case 18
+            case 26: {
+              profile_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1178,80 +1041,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = - com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); - return result == null - ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); + return result == null ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1259,43 +1097,34 @@ public Builder setType(com.google.cloud.talent.v4beta1.JobEvent.JobEventType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList jobs_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1308,15 +1137,13 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList getJobsList() { + public com.google.protobuf.ProtocolStringList + getJobsList() { return jobs_.getUnmodifiableView(); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1329,15 +1156,12 @@ public com.google.protobuf.ProtocolStringList getJobsList() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1350,7 +1174,6 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1358,8 +1181,6 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1372,16 +1193,14 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString getJobsBytes(int index) { + public com.google.protobuf.ByteString + getJobsBytes(int index) { return jobs_.getByteString(index); } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1394,23 +1213,21 @@ public com.google.protobuf.ByteString getJobsBytes(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs(int index, java.lang.String value) { + public Builder setJobs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1423,22 +1240,20 @@ public Builder setJobs(int index, java.lang.String value) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs(java.lang.String value) { + public Builder addJobs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1451,19 +1266,18 @@ public Builder addJobs(java.lang.String value) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs(java.lang.Iterable values) { + public Builder addAllJobs( + java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1476,7 +1290,6 @@ public Builder addAllJobs(java.lang.Iterable values) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobs() { @@ -1486,8 +1299,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1500,15 +1311,15 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes(com.google.protobuf.ByteString value) { + public Builder addJobsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); onChanged(); @@ -1517,8 +1328,6 @@ public Builder addJobsBytes(com.google.protobuf.ByteString value) { private java.lang.Object profile_ = ""; /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1527,13 +1336,13 @@ public Builder addJobsBytes(com.google.protobuf.ByteString value) {
      * 
* * string profile = 3; - * * @return The profile. */ public java.lang.String getProfile() { java.lang.Object ref = profile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profile_ = s; return s; @@ -1542,8 +1351,6 @@ public java.lang.String getProfile() { } } /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1552,14 +1359,15 @@ public java.lang.String getProfile() {
      * 
* * string profile = 3; - * * @return The bytes for profile. */ - public com.google.protobuf.ByteString getProfileBytes() { + public com.google.protobuf.ByteString + getProfileBytes() { java.lang.Object ref = profile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); profile_ = b; return b; } else { @@ -1567,8 +1375,6 @@ public com.google.protobuf.ByteString getProfileBytes() { } } /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1577,22 +1383,20 @@ public com.google.protobuf.ByteString getProfileBytes() {
      * 
* * string profile = 3; - * * @param value The profile to set. * @return This builder for chaining. */ - public Builder setProfile(java.lang.String value) { + public Builder setProfile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + profile_ = value; onChanged(); return this; } /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1601,18 +1405,15 @@ public Builder setProfile(java.lang.String value) {
      * 
* * string profile = 3; - * * @return This builder for chaining. */ public Builder clearProfile() { - + profile_ = getDefaultInstance().getProfile(); onChanged(); return this; } /** - * - * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1621,23 +1422,23 @@ public Builder clearProfile() {
      * 
* * string profile = 3; - * * @param value The bytes for profile to set. * @return This builder for chaining. */ - public Builder setProfileBytes(com.google.protobuf.ByteString value) { + public Builder setProfileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + profile_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1647,12 +1448,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobEvent) private static final com.google.cloud.talent.v4beta1.JobEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobEvent(); } @@ -1661,27 +1462,27 @@ public static com.google.cloud.talent.v4beta1.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1696,4 +1497,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java similarity index 79% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java index 4636c41a58cc..e14f941b5dbe 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java @@ -1,60 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; -public interface JobEventOrBuilder - extends +public interface JobEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -67,13 +39,11 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the jobs. */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -86,13 +56,10 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of jobs. */ int getJobsCount(); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -105,14 +72,11 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** - * - * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -125,15 +89,13 @@ public interface JobEventOrBuilder
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString getJobsBytes(int index); + com.google.protobuf.ByteString + getJobsBytes(int index); /** - * - * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -142,13 +104,10 @@ public interface JobEventOrBuilder
    * 
* * string profile = 3; - * * @return The profile. */ java.lang.String getProfile(); /** - * - * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -157,8 +116,8 @@ public interface JobEventOrBuilder
    * 
* * string profile = 3; - * * @return The bytes for profile. */ - com.google.protobuf.ByteString getProfileBytes(); + com.google.protobuf.ByteString + getProfileBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java index d6a1f7de47fd..81941111809f 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents the required experience level required for the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.JobLevel} */ -public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { +public enum JobLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default value if the level isn't specified.
    * 
@@ -39,8 +21,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ JOB_LEVEL_UNSPECIFIED(0), /** - * - * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -50,8 +30,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   ENTRY_LEVEL(1),
   /**
-   *
-   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -61,8 +39,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   EXPERIENCED(2),
   /**
-   *
-   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -71,8 +47,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ MANAGER(3), /** - * - * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -81,8 +55,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ DIRECTOR(4), /** - * - * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -94,8 +66,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default value if the level isn't specified.
    * 
@@ -104,8 +74,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -115,8 +83,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ENTRY_LEVEL_VALUE = 1;
   /**
-   *
-   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -126,8 +92,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int EXPERIENCED_VALUE = 2;
   /**
-   *
-   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -136,8 +100,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MANAGER_VALUE = 3; /** - * - * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -146,8 +108,6 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECTOR_VALUE = 4; /** - * - * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -156,6 +116,7 @@ public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXECUTIVE_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -180,55 +141,52 @@ public static JobLevel valueOf(int value) { */ public static JobLevel forNumber(int value) { switch (value) { - case 0: - return JOB_LEVEL_UNSPECIFIED; - case 1: - return ENTRY_LEVEL; - case 2: - return EXPERIENCED; - case 3: - return MANAGER; - case 4: - return DIRECTOR; - case 5: - return EXECUTIVE; - default: - return null; + case 0: return JOB_LEVEL_UNSPECIFIED; + case 1: return ENTRY_LEVEL; + case 2: return EXPERIENCED; + case 3: return MANAGER; + case 4: return DIRECTOR; + case 5: return EXECUTIVE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobLevel findValueByNumber(int number) { - return JobLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + JobLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobLevel findValueByNumber(int number) { + return JobLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(4); } private static final JobLevel[] VALUES = values(); - public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobLevel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -244,3 +202,4 @@ private JobLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobLevel) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java index c79c769bfd05..48e3f19e513c 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
  * [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
@@ -29,54 +12,49 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult}
  */
-public final class JobOperationResult extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class JobOperationResult extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobOperationResult)
     JobOperationResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use JobOperationResult.newBuilder() to construct.
   private JobOperationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private JobOperationResult() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new JobOperationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.JobServiceProto
-        .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.JobServiceProto
-        .internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.JobOperationResult.class,
-            com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
+            com.google.cloud.talent.v4beta1.JobOperationResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
   }
 
-  public interface JobResultOrBuilder
-      extends
+  public interface JobResultOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -85,13 +63,10 @@ public interface JobResultOrBuilder
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -100,13 +75,10 @@ public interface JobResultOrBuilder
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -119,34 +91,26 @@ public interface JobResultOrBuilder
     com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder();
 
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -157,57 +121,52 @@ public interface JobResultOrBuilder
     com.google.rpc.StatusOrBuilder getStatusOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Mutation result of a job.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult.JobResult} */ - public static final class JobResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class JobResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobOperationResult.JobResult) JobResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobResult.newBuilder() to construct. private JobResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private JobResult() {} + private JobResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -216,7 +175,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -224,8 +182,6 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -234,7 +190,6 @@ public boolean hasJob() {
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -242,8 +197,6 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** - * - * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -261,15 +214,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
     public static final int STATUS_FIELD_NUMBER = 2;
     private com.google.rpc.Status status_;
     /**
-     *
-     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -277,15 +227,12 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -293,8 +240,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -308,7 +253,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -320,7 +264,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -337,10 +282,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJob());
       }
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getStatus());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -350,21 +297,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.JobOperationResult.JobResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other =
-          (com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) obj;
+      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other = (com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob().equals(other.getJob())) return false;
+        if (!getJob()
+            .equals(other.getJob())) return false;
       }
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus().equals(other.getStatus())) return false;
+        if (!getStatus()
+            .equals(other.getStatus())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -391,94 +339,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -488,41 +429,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Mutation result of a job.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult.JobResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobOperationResult.JobResult) com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -542,14 +481,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance(); } @@ -564,8 +502,7 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult build() { @java.lang.Override public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult buildPartial() { - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult result = - new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult(this); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult result = new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -584,41 +521,38 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) other); + return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult.JobResult)other); } else { super.mergeFrom(other); return this; @@ -626,9 +560,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other) { - if (other - == com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -661,25 +593,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -692,13 +625,8 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; /** - * - * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -707,15 +635,12 @@ public Builder mergeFrom(
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -724,7 +649,6 @@ public boolean hasJob() {
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -735,8 +659,6 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** - * - * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -760,8 +682,6 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -771,7 +691,8 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
        *
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
-      public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+      public Builder setJob(
+          com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
         if (jobBuilder_ == null) {
           job_ = builderForValue.build();
           onChanged();
@@ -782,8 +703,6 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValu
         return this;
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -797,9 +716,7 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
         if (jobBuilder_ == null) {
           if (job_ != null) {
             job_ =
-                com.google.cloud.talent.v4beta1.Job.newBuilder(job_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial();
           } else {
             job_ = value;
           }
@@ -811,8 +728,6 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -834,8 +749,6 @@ public Builder clearJob() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -846,13 +759,11 @@ public Builder clearJob() {
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
       public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() {
-
+        
         onChanged();
         return getJobFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -866,12 +777,11 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
         if (jobBuilder_ != null) {
           return jobBuilder_.getMessageOrBuilder();
         } else {
-          return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
+          return job_ == null ?
+              com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
         }
       }
       /**
-       *
-       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -882,17 +792,14 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Job,
-              com.google.cloud.talent.v4beta1.Job.Builder,
-              com.google.cloud.talent.v4beta1.JobOrBuilder>
+          com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> 
           getJobFieldBuilder() {
         if (jobBuilder_ == null) {
-          jobBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4beta1.Job,
-                  com.google.cloud.talent.v4beta1.Job.Builder,
-                  com.google.cloud.talent.v4beta1.JobOrBuilder>(
-                  getJob(), getParentForChildren(), isClean());
+          jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>(
+                  getJob(),
+                  getParentForChildren(),
+                  isClean());
           job_ = null;
         }
         return jobBuilder_;
@@ -900,33 +807,26 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
 
       private com.google.rpc.Status status_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-          statusBuilder_;
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
        * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
        * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -937,8 +837,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -960,8 +858,6 @@ public Builder setStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -969,7 +865,8 @@ public Builder setStatus(com.google.rpc.Status value) {
        *
        * .google.rpc.Status status = 2;
        */
-      public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+      public Builder setStatus(
+          com.google.rpc.Status.Builder builderForValue) {
         if (statusBuilder_ == null) {
           status_ = builderForValue.build();
           onChanged();
@@ -980,8 +877,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -992,7 +887,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
           if (status_ != null) {
-            status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+            status_ =
+              com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
           } else {
             status_ = value;
           }
@@ -1004,8 +900,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -1025,8 +919,6 @@ public Builder clearStatus() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -1035,13 +927,11 @@ public Builder clearStatus() {
        * .google.rpc.Status status = 2;
        */
       public com.google.rpc.Status.Builder getStatusBuilder() {
-
+        
         onChanged();
         return getStatusFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -1053,12 +943,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
         if (statusBuilder_ != null) {
           return statusBuilder_.getMessageOrBuilder();
         } else {
-          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+          return status_ == null ?
+              com.google.rpc.Status.getDefaultInstance() : status_;
         }
       }
       /**
-       *
-       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -1067,19 +956,18 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        * .google.rpc.Status status = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
           getStatusFieldBuilder() {
         if (statusBuilder_ == null) {
-          statusBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.rpc.Status,
-                  com.google.rpc.Status.Builder,
-                  com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+          statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                  getStatus(),
+                  getParentForChildren(),
+                  isClean());
           status_ = null;
         }
         return statusBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1092,44 +980,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
-    private static final com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.JobOperationResult.JobResult DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult();
     }
 
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public JobResult parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public JobResult parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1141,96 +1026,78 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
-   *
-   *
    * 
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override - public java.util.List - getJobResultsList() { + public java.util.List getJobResultsList() { return jobResults_; } /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> + public java.util.List getJobResultsOrBuilderList() { return jobResults_; } /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override public int getJobResultsCount() { return jobResults_.size(); } /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index) { return jobResults_.get(index); } /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder - getJobResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( + int index) { return jobResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1242,7 +1109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobResults_.size(); i++) { output.writeMessage(1, jobResults_.get(i)); } @@ -1256,7 +1124,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, jobResults_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1266,15 +1135,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobOperationResult)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.JobOperationResult other = - (com.google.cloud.talent.v4beta1.JobOperationResult) obj; + com.google.cloud.talent.v4beta1.JobOperationResult other = (com.google.cloud.talent.v4beta1.JobOperationResult) obj; - if (!getJobResultsList().equals(other.getJobResultsList())) return false; + if (!getJobResultsList() + .equals(other.getJobResultsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1296,103 +1165,96 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobOperationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
    * [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
@@ -1401,32 +1263,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobOperationResult)
       com.google.cloud.talent.v4beta1.JobOperationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto
-          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto
-          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.JobOperationResult.class,
-              com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
+              com.google.cloud.talent.v4beta1.JobOperationResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.JobOperationResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1441,9 +1304,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto
-          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
     }
 
     @java.lang.Override
@@ -1462,8 +1325,7 @@ public com.google.cloud.talent.v4beta1.JobOperationResult build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.JobOperationResult buildPartial() {
-      com.google.cloud.talent.v4beta1.JobOperationResult result =
-          new com.google.cloud.talent.v4beta1.JobOperationResult(this);
+      com.google.cloud.talent.v4beta1.JobOperationResult result = new com.google.cloud.talent.v4beta1.JobOperationResult(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1482,39 +1344,38 @@ public com.google.cloud.talent.v4beta1.JobOperationResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.JobOperationResult) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1522,8 +1383,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult other) {
-      if (other == com.google.cloud.talent.v4beta1.JobOperationResult.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4beta1.JobOperationResult.getDefaultInstance()) return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -1542,10 +1402,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getJobResultsFieldBuilder()
-                    : null;
+            jobResultsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getJobResultsFieldBuilder() : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -1577,27 +1436,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.talent.v4beta1.JobOperationResult.JobResult m =
-                    input.readMessage(
-                        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.parser(),
-                        extensionRegistry);
-                if (jobResultsBuilder_ == null) {
-                  ensureJobResultsIsMutable();
-                  jobResults_.add(m);
-                } else {
-                  jobResultsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.talent.v4beta1.JobOperationResult.JobResult m =
+                  input.readMessage(
+                      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.parser(),
+                      extensionRegistry);
+              if (jobResultsBuilder_ == null) {
+                ensureJobResultsIsMutable();
+                jobResults_.add(m);
+              } else {
+                jobResultsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1607,40 +1464,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List
-        jobResults_ = java.util.Collections.emptyList();
-
+    private java.util.List jobResults_ =
+      java.util.Collections.emptyList();
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        jobResults_ =
-            new java.util.ArrayList(
-                jobResults_);
+        jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.JobOperationResult.JobResult,
-            com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder,
-            com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>
-        jobResultsBuilder_;
+        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> jobResultsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public java.util.List - getJobResultsList() { + public java.util.List getJobResultsList() { if (jobResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(jobResults_); } else { @@ -1648,15 +1494,12 @@ private void ensureJobResultsIsMutable() { } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public int getJobResultsCount() { if (jobResultsBuilder_ == null) { @@ -1666,15 +1509,12 @@ public int getJobResultsCount() { } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index) { if (jobResultsBuilder_ == null) { @@ -1684,15 +1524,12 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResult } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder setJobResults( int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { @@ -1709,19 +1546,15 @@ public Builder setJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder setJobResults( - int index, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { + int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); jobResults_.set(index, builderForValue.build()); @@ -1732,18 +1565,14 @@ public Builder setJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public Builder addJobResults( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { + public Builder addJobResults(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { if (jobResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1757,15 +1586,12 @@ public Builder addJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder addJobResults( int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { @@ -1782,15 +1608,12 @@ public Builder addJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder addJobResults( com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { @@ -1804,19 +1627,15 @@ public Builder addJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder addJobResults( - int index, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { + int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); jobResults_.add(index, builderForValue.build()); @@ -1827,22 +1646,19 @@ public Builder addJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder addAllJobResults( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobResults_); onChanged(); } else { jobResultsBuilder_.addAllMessages(values); @@ -1850,15 +1666,12 @@ public Builder addAllJobResults( return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder clearJobResults() { if (jobResultsBuilder_ == null) { @@ -1871,15 +1684,12 @@ public Builder clearJobResults() { return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ public Builder removeJobResults(int index) { if (jobResultsBuilder_ == null) { @@ -1892,53 +1702,42 @@ public Builder removeJobResults(int index) { return this; } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder - getJobResultsBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder getJobResultsBuilder( + int index) { return getJobResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder - getJobResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( + int index) { if (jobResultsBuilder_ == null) { - return jobResults_.get(index); - } else { + return jobResults_.get(index); } else { return jobResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> - getJobResultsOrBuilderList() { + public java.util.List + getJobResultsOrBuilderList() { if (jobResultsBuilder_ != null) { return jobResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1946,75 +1745,59 @@ public Builder removeJobResults(int index) { } } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder - addJobResultsBuilder() { - return getJobResultsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder addJobResultsBuilder() { + return getJobResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder - addJobResultsBuilder(int index) { - return getJobResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder addJobResultsBuilder( + int index) { + return getJobResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); } /** - * - * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - public java.util.List - getJobResultsBuilderList() { + public java.util.List + getJobResultsBuilderList() { return getJobResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> getJobResultsFieldBuilder() { if (jobResultsBuilder_ == null) { - jobResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, - com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>( - jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>( + jobResults_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobResults_ = null; } return jobResultsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2024,12 +1807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobOperationResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobOperationResult) private static final com.google.cloud.talent.v4beta1.JobOperationResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobOperationResult(); } @@ -2038,27 +1821,27 @@ public static com.google.cloud.talent.v4beta1.JobOperationResult getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobOperationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobOperationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2073,4 +1856,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobOperationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java index 213ed5f5aa39..059dda3272f9 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java @@ -1,87 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface JobOperationResultOrBuilder - extends +public interface JobOperationResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobOperationResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - java.util.List getJobResultsList(); + java.util.List + getJobResultsList(); /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index); /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ int getJobResultsCount(); /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ - java.util.List + java.util.List getJobResultsOrBuilderList(); /** - * - * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; - * + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; */ com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( int index); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java similarity index 90% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java index 65c621323f8c..b161568826c6 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job.proto package com.google.cloud.talent.v4beta1; -public interface JobOrBuilder - extends +public interface JobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -40,13 +22,10 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -61,14 +40,12 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -78,16 +55,11 @@ public interface JobOrBuilder
    * example, "projects/foo/companies/bar".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The company. */ java.lang.String getCompany(); /** - * - * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -97,17 +69,13 @@ public interface JobOrBuilder
    * example, "projects/foo/companies/bar".
    * 
* - * - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for company. */ - com.google.protobuf.ByteString getCompanyBytes(); + com.google.protobuf.ByteString + getCompanyBytes(); /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -118,13 +86,10 @@ public interface JobOrBuilder
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requisitionId. */ java.lang.String getRequisitionId(); /** - * - * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -135,41 +100,34 @@ public interface JobOrBuilder
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for requisitionId. */ - com.google.protobuf.ByteString getRequisitionIdBytes(); + com.google.protobuf.ByteString + getRequisitionIdBytes(); /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The title. */ java.lang.String getTitle(); /** - * - * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for title. */ - com.google.protobuf.ByteString getTitleBytes(); + com.google.protobuf.ByteString + getTitleBytes(); /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -182,13 +140,10 @@ public interface JobOrBuilder
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -201,14 +156,12 @@ public interface JobOrBuilder
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -226,13 +179,11 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @return A list containing the addresses. */ - java.util.List getAddressesList(); + java.util.List + getAddressesList(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -250,13 +201,10 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @return The count of addresses. */ int getAddressesCount(); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -274,14 +222,11 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @param index The index of the element to return. * @return The addresses at the given index. */ java.lang.String getAddresses(int index); /** - * - * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -299,39 +244,31 @@ public interface JobOrBuilder
    * 
* * repeated string addresses = 6; - * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - com.google.protobuf.ByteString getAddressesBytes(int index); + com.google.protobuf.ByteString + getAddressesBytes(int index); /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return Whether the applicationInfo field is set. */ boolean hasApplicationInfo(); /** - * - * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; - * * @return The applicationInfo. */ com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo(); /** - * - * *
    * Job application information.
    * 
@@ -341,97 +278,75 @@ public interface JobOrBuilder com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the jobBenefits. */ java.util.List getJobBenefitsList(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return The count of jobBenefits. */ int getJobBenefitsCount(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - java.util.List getJobBenefitsValueList(); + java.util.List + getJobBenefitsValueList(); /** - * - * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ int getJobBenefitsValue(int index); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return Whether the compensationInfo field is set. */ boolean hasCompensationInfo(); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; - * * @return The compensationInfo. */ com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo(); /** - * - * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -442,8 +357,6 @@ public interface JobOrBuilder
   com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder();
 
   /**
-   *
-   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -457,13 +370,10 @@ public interface JobOrBuilder
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ int getCustomAttributesCount(); /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -477,17 +387,17 @@ public interface JobOrBuilder
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + */ + boolean containsCustomAttributes( + java.lang.String key); + /** + * Use {@link #getCustomAttributesMap()} instead. */ - boolean containsCustomAttributes(java.lang.String key); - /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map - getCustomAttributes(); + getCustomAttributes(); /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -501,14 +411,11 @@ public interface JobOrBuilder
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ java.util.Map - getCustomAttributesMap(); + getCustomAttributesMap(); /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -522,18 +429,15 @@ public interface JobOrBuilder
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ /* nullable */ - com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( +com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.talent.v4beta1.CustomAttribute defaultValue); +com.google.cloud.talent.v4beta1.CustomAttribute defaultValue); /** - * - * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -547,77 +451,62 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - * + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; */ - com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(java.lang.String key); + + com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( + java.lang.String key); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the degreeTypes. */ java.util.List getDegreeTypesList(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return The count of degreeTypes. */ int getDegreeTypesCount(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - java.util.List getDegreeTypesValueList(); + java.util.List + getDegreeTypesValueList(); /** - * - * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ int getDegreeTypesValue(int index); /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -625,13 +514,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string department = 12; - * * @return The department. */ java.lang.String getDepartment(); /** - * - * *
    * The department or functional area within the company with the open
    * position.
@@ -639,14 +525,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string department = 12; - * * @return The bytes for department. */ - com.google.protobuf.ByteString getDepartmentBytes(); + com.google.protobuf.ByteString + getDepartmentBytes(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -654,13 +538,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -668,13 +549,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -682,14 +560,11 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -697,13 +572,11 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List getEmploymentTypesValueList(); + java.util.List + getEmploymentTypesValueList(); /** - * - * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -711,15 +584,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -727,13 +597,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string incentives = 14; - * * @return The incentives. */ java.lang.String getIncentives(); /** - * - * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -741,14 +608,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string incentives = 14; - * * @return The bytes for incentives. */ - com.google.protobuf.ByteString getIncentivesBytes(); + com.google.protobuf.ByteString + getIncentivesBytes(); /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -762,13 +627,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string language_code = 15; - * * @return The languageCode. */ java.lang.String getLanguageCode(); /** - * - * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -782,39 +644,31 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string language_code = 15; - * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString getLanguageCodeBytes(); + com.google.protobuf.ByteString + getLanguageCodeBytes(); /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The enum numeric value on the wire for jobLevel. */ int getJobLevelValue(); /** - * - * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; - * * @return The jobLevel. */ com.google.cloud.talent.v4beta1.JobLevel getJobLevel(); /** - * - * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -825,14 +679,11 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * int32 promotion_value = 17; - * * @return The promotionValue. */ int getPromotionValue(); /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -843,13 +694,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string qualifications = 18; - * * @return The qualifications. */ java.lang.String getQualifications(); /** - * - * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -860,14 +708,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string qualifications = 18; - * * @return The bytes for qualifications. */ - com.google.protobuf.ByteString getQualificationsBytes(); + com.google.protobuf.ByteString + getQualificationsBytes(); /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -878,13 +724,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string responsibilities = 19; - * * @return The responsibilities. */ java.lang.String getResponsibilities(); /** - * - * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -895,14 +738,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * string responsibilities = 19; - * * @return The bytes for responsibilities. */ - com.google.protobuf.ByteString getResponsibilitiesBytes(); + com.google.protobuf.ByteString + getResponsibilitiesBytes(); /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -914,13 +755,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The enum numeric value on the wire for postingRegion. */ int getPostingRegionValue(); /** - * - * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -932,14 +770,11 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; - * * @return The postingRegion. */ com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion(); /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -947,16 +782,12 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Deprecated - int getVisibilityValue(); + @java.lang.Deprecated int getVisibilityValue(); /** - * - * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -964,43 +795,33 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See - * google/cloud/talent/v4beta1/job.proto;l=275 + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. + * See google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ - @java.lang.Deprecated - com.google.cloud.talent.v4beta1.Visibility getVisibility(); + @java.lang.Deprecated com.google.cloud.talent.v4beta1.Visibility getVisibility(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return Whether the jobStartTime field is set. */ boolean hasJobStartTime(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; - * * @return The jobStartTime. */ com.google.protobuf.Timestamp getJobStartTime(); /** - * - * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -1011,34 +832,26 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return Whether the jobEndTime field is set. */ boolean hasJobEndTime(); /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; - * * @return The jobEndTime. */ com.google.protobuf.Timestamp getJobEndTime(); /** - * - * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -1049,8 +862,6 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1058,13 +869,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return Whether the postingPublishTime field is set. */ boolean hasPostingPublishTime(); /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1072,13 +880,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; - * * @return The postingPublishTime. */ com.google.protobuf.Timestamp getPostingPublishTime(); /** - * - * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -1090,8 +895,6 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1131,13 +934,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return Whether the postingExpireTime field is set. */ boolean hasPostingExpireTime(); /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1177,13 +977,10 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; - * * @return The postingExpireTime. */ com.google.protobuf.Timestamp getPostingExpireTime(); /** - * - * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1227,180 +1024,125 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
   com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingCreateTime field is set. */ boolean hasPostingCreateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingCreateTime. */ com.google.protobuf.Timestamp getPostingCreateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the postingUpdateTime field is set. */ boolean hasPostingUpdateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The postingUpdateTime. */ com.google.protobuf.Timestamp getPostingUpdateTime(); /** - * - * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The companyDisplayName. */ java.lang.String getCompanyDisplayName(); /** - * - * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for companyDisplayName. */ - com.google.protobuf.ByteString getCompanyDisplayNameBytes(); + com.google.protobuf.ByteString + getCompanyDisplayNameBytes(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The derivedInfo. */ com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo(); /** - * - * *
    * Output only. Derived details about the job posting.
    * 
* - * - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return Whether the processingOptions field is set. */ boolean hasProcessingOptions(); /** - * - * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; - * * @return The processingOptions. */ com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions(); /** - * - * *
    * Options for job processing.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java similarity index 85% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java index 9b86a69f74d1..661ee23c84bf 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The query required to perform a search query.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobQuery} */ -public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 - implements +public final class JobQuery extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobQuery) JobQueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use JobQuery.newBuilder() to construct. private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobQuery() { query_ = ""; queryLanguageCode_ = ""; @@ -52,35 +34,32 @@ private JobQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new JobQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobQuery.class, - com.google.cloud.talent.v4beta1.JobQuery.Builder.class); + com.google.cloud.talent.v4beta1.JobQuery.class, com.google.cloud.talent.v4beta1.JobQuery.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -88,7 +67,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string query = 1; - * * @return The query. */ @java.lang.Override @@ -97,15 +75,14 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -113,15 +90,16 @@ public java.lang.String getQuery() {
    * 
* * string query = 1; - * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -132,8 +110,6 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object queryLanguageCode_; /** - * - * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -145,7 +121,6 @@ public com.google.protobuf.ByteString getQueryBytes() {
    * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ @java.lang.Override @@ -154,15 +129,14 @@ public java.lang.String getQueryLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; } } /** - * - * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -174,15 +148,16 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString + getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -193,8 +168,6 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { public static final int COMPANIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companies_; /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -210,15 +183,13 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() {
    * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList getCompaniesList() { + public com.google.protobuf.ProtocolStringList + getCompaniesList() { return companies_; } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -234,15 +205,12 @@ public com.google.protobuf.ProtocolStringList getCompaniesList() {
    * 
* * repeated string companies = 2; - * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -258,7 +226,6 @@ public int getCompaniesCount() {
    * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -266,8 +233,6 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -283,19 +248,17 @@ public java.lang.String getCompanies(int index) {
    * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString getCompaniesBytes(int index) { + public com.google.protobuf.ByteString + getCompaniesBytes(int index) { return companies_.getByteString(index); } public static final int LOCATION_FILTERS_FIELD_NUMBER = 3; private java.util.List locationFilters_; /** - * - * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -315,8 +278,6 @@ public java.util.List getLocatio
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -332,13 +293,11 @@ public java.util.List getLocatio
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -358,8 +317,6 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -379,8 +336,6 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind
     return locationFilters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -404,22 +359,16 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
   public static final int JOB_CATEGORIES_FIELD_NUMBER = 4;
   private java.util.List jobCategories_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-          java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
-      jobCategories_converter_ =
+      java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory> jobCategories_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
             public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4beta1.JobCategory result =
-                  com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
-              return result == null
-                  ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
-                  : result;
+              com.google.cloud.talent.v4beta1.JobCategory result = com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
+              return result == null ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED : result;
             }
           };
   /**
-   *
-   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -429,18 +378,14 @@ public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer fro
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -450,7 +395,6 @@ public java.util.List getJobCategor
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ @java.lang.Override @@ -458,8 +402,6 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -469,7 +411,6 @@ public int getJobCategoriesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -478,8 +419,6 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -489,16 +428,14 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return jobCategories_; } /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -508,7 +445,6 @@ public java.util.List getJobCategoriesValueList() {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -516,14 +452,11 @@ public java.util.List getJobCategoriesValueList() { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } - private int jobCategoriesMemoizedSerializedSize; public static final int COMMUTE_FILTER_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -533,7 +466,6 @@ public int getJobCategoriesValue(int index) {
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ @java.lang.Override @@ -541,8 +473,6 @@ public boolean hasCommuteFilter() { return commuteFilter_ != null; } /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -552,18 +482,13 @@ public boolean hasCommuteFilter() {
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter() { - return commuteFilter_ == null - ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() - : commuteFilter_; + return commuteFilter_ == null ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_; } /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -582,8 +507,6 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
   public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList companyDisplayNames_;
   /**
-   *
-   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -607,15 +530,13 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
    * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList + getCompanyDisplayNamesList() { return companyDisplayNames_; } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -639,15 +560,12 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
    * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -671,7 +589,6 @@ public int getCompanyDisplayNamesCount() {
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -679,8 +596,6 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -704,19 +619,17 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } public static final int COMPENSATION_FILTER_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -726,7 +639,6 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ @java.lang.Override @@ -734,8 +646,6 @@ public boolean hasCompensationFilter() { return compensationFilter_ != null; } /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -745,18 +655,13 @@ public boolean hasCompensationFilter() {
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter() { - return compensationFilter_ == null - ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() - : compensationFilter_; + return compensationFilter_ == null ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_; } /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -768,16 +673,13 @@ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(
    * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder
-      getCompensationFilterOrBuilder() {
+  public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder() {
     return getCompensationFilter();
   }
 
   public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER = 8;
   private volatile java.lang.Object customAttributeFilter_;
   /**
-   *
-   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -799,7 +701,6 @@ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(
    * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ @java.lang.Override @@ -808,15 +709,14 @@ public java.lang.String getCustomAttributeFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; } } /** - * - * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -838,15 +738,16 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString + getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -857,8 +758,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER = 9; private boolean disableSpellCheck_; /** - * - * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -867,7 +766,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() {
    * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ @java.lang.Override @@ -878,22 +776,16 @@ public boolean getDisableSpellCheck() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 10; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> - employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() { public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.EmploymentType result = - com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); - return result == null - ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.EmploymentType result = com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); + return result == null ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED : result; } }; /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -904,18 +796,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -926,7 +814,6 @@ public java.util.List getEmploym
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ @java.lang.Override @@ -934,8 +821,6 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -946,7 +831,6 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -955,8 +839,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -967,16 +849,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return employmentTypes_; } /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -987,7 +867,6 @@ public java.util.List getEmploymentTypesValueList() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -995,14 +874,11 @@ public java.util.List getEmploymentTypesValueList() { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } - private int employmentTypesMemoizedSerializedSize; public static final int LANGUAGE_CODES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList languageCodes_; /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1015,15 +891,13 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_; } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1036,15 +910,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
    * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1057,7 +928,6 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1065,8 +935,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -1079,26 +947,23 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER = 12; private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ @java.lang.Override @@ -1106,26 +971,19 @@ public boolean hasPublishTimeRange() { return publishTimeRange_ != null; } /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ @java.lang.Override public com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange() { - return publishTimeRange_ == null - ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() - : publishTimeRange_; + return publishTimeRange_ == null ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_; } /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -1141,45 +999,37 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
   public static final int EXCLUDED_JOBS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList excludedJobs_;
   /**
-   *
-   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList + getExcludedJobsList() { return excludedJobs_; } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -1187,24 +1037,21 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString + getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1216,7 +1063,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); @@ -1289,23 +1137,24 @@ public int getSerializedSize() { size += 1 * getCompaniesList().size(); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, locationFilters_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }jobCategoriesMemoizedSerializedSize = dataSize; } if (commuteFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCommuteFilter()); } { int dataSize = 0; @@ -1316,26 +1165,27 @@ public int getSerializedSize() { size += 1 * getCompanyDisplayNamesList().size(); } if (compensationFilter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompensationFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCompensationFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customAttributeFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customAttributeFilter_); } if (disableSpellCheck_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableSpellCheck_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, disableSpellCheck_); } { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }employmentTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -1346,7 +1196,8 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (publishTimeRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getPublishTimeRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getPublishTimeRange()); } { int dataSize = 0; @@ -1367,36 +1218,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobQuery)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.JobQuery other = (com.google.cloud.talent.v4beta1.JobQuery) obj; - if (!getQuery().equals(other.getQuery())) return false; - if (!getQueryLanguageCode().equals(other.getQueryLanguageCode())) return false; - if (!getCompaniesList().equals(other.getCompaniesList())) return false; - if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; + if (!getQueryLanguageCode() + .equals(other.getQueryLanguageCode())) return false; + if (!getCompaniesList() + .equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList() + .equals(other.getLocationFiltersList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; + if (!getCommuteFilter() + .equals(other.getCommuteFilter())) return false; } - if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; + if (!getCompanyDisplayNamesList() + .equals(other.getCompanyDisplayNamesList())) return false; if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; + if (!getCompensationFilter() + .equals(other.getCompensationFilter())) return false; } - if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; - if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; + if (!getCustomAttributeFilter() + .equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() + != other.getDisableSpellCheck()) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (!getLanguageCodesList() + .equals(other.getLanguageCodesList())) return false; if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; + if (!getPublishTimeRange() + .equals(other.getPublishTimeRange())) return false; } - if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; + if (!getExcludedJobsList() + .equals(other.getExcludedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1439,7 +1302,8 @@ public int hashCode() { hash = (37 * hash) + CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER; hash = (53 * hash) + getCustomAttributeFilter().hashCode(); hash = (37 * hash) + DISABLE_SPELL_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableSpellCheck()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableSpellCheck()); if (getEmploymentTypesCount() > 0) { hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER; hash = (53 * hash) + employmentTypes_.hashCode(); @@ -1461,136 +1325,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The query required to perform a search query.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobQuery} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobQuery) com.google.cloud.talent.v4beta1.JobQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobQuery.class, - com.google.cloud.talent.v4beta1.JobQuery.Builder.class); + com.google.cloud.talent.v4beta1.JobQuery.class, com.google.cloud.talent.v4beta1.JobQuery.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.JobQuery.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1643,9 +1501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override @@ -1664,8 +1522,7 @@ public com.google.cloud.talent.v4beta1.JobQuery build() { @java.lang.Override public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { - com.google.cloud.talent.v4beta1.JobQuery result = - new com.google.cloud.talent.v4beta1.JobQuery(this); + com.google.cloud.talent.v4beta1.JobQuery result = new com.google.cloud.talent.v4beta1.JobQuery(this); int from_bitField0_ = bitField0_; result.query_ = query_; result.queryLanguageCode_ = queryLanguageCode_; @@ -1733,39 +1590,38 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.JobQuery) { - return mergeFrom((com.google.cloud.talent.v4beta1.JobQuery) other); + return mergeFrom((com.google.cloud.talent.v4beta1.JobQuery)other); } else { super.mergeFrom(other); return this; @@ -1810,10 +1666,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobQuery other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000002); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationFiltersFieldBuilder() - : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationFiltersFieldBuilder() : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -1911,136 +1766,124 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - query_ = input.readStringRequireUtf8(); + case 10: { + query_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompaniesIsMutable(); - companies_.add(s); - break; - } // case 18 - case 26: - { - com.google.cloud.talent.v4beta1.LocationFilter m = - input.readMessage( - com.google.cloud.talent.v4beta1.LocationFilter.parser(), extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompaniesIsMutable(); + companies_.add(s); + break; + } // case 18 + case 26: { + com.google.cloud.talent.v4beta1.LocationFilter m = + input.readMessage( + com.google.cloud.talent.v4beta1.LocationFilter.parser(), + extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + break; + } // case 32 + case 34: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - break; - } // case 32 - case 34: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: - { - input.readMessage(getCommuteFilterFieldBuilder().getBuilder(), extensionRegistry); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: { + input.readMessage( + getCommuteFilterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompanyDisplayNamesIsMutable(); - companyDisplayNames_.add(s); - break; - } // case 50 - case 58: - { - input.readMessage( - getCompensationFilterFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompanyDisplayNamesIsMutable(); + companyDisplayNames_.add(s); + break; + } // case 50 + case 58: { + input.readMessage( + getCompensationFilterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - case 66: - { - customAttributeFilter_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: { + customAttributeFilter_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 72: - { - disableSpellCheck_ = input.readBool(); + break; + } // case 66 + case 72: { + disableSpellCheck_ = input.readBool(); - break; - } // case 72 - case 80: - { + break; + } // case 72 + case 80: { + int tmpRaw = input.readEnum(); + ensureEmploymentTypesIsMutable(); + employmentTypes_.add(tmpRaw); + break; + } // case 80 + case 82: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEmploymentTypesIsMutable(); employmentTypes_.add(tmpRaw); - break; - } // case 80 - case 82: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEmploymentTypesIsMutable(); - employmentTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 82 - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 90 - case 98: - { - input.readMessage( - getPublishTimeRangeFieldBuilder().getBuilder(), extensionRegistry); + } + input.popLimit(oldLimit); + break; + } // case 82 + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 90 + case 98: { + input.readMessage( + getPublishTimeRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 98 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludedJobsIsMutable(); - excludedJobs_.add(s); - break; - } // case 106 - case 114: - { - queryLanguageCode_ = input.readStringRequireUtf8(); + break; + } // case 98 + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedJobsIsMutable(); + excludedJobs_.add(s); + break; + } // case 106 + case 114: { + queryLanguageCode_ = input.readStringRequireUtf8(); - break; - } // case 114 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 114 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2050,13 +1893,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object query_ = ""; /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2064,13 +1904,13 @@ public Builder mergeFrom(
      * 
* * string query = 1; - * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -2079,8 +1919,6 @@ public java.lang.String getQuery() { } } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2088,14 +1926,15 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; - * * @return The bytes for query. */ - public com.google.protobuf.ByteString getQueryBytes() { + public com.google.protobuf.ByteString + getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); query_ = b; return b; } else { @@ -2103,8 +1942,6 @@ public com.google.protobuf.ByteString getQueryBytes() { } } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2112,22 +1949,20 @@ public com.google.protobuf.ByteString getQueryBytes() {
      * 
* * string query = 1; - * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery(java.lang.String value) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2135,18 +1970,15 @@ public Builder setQuery(java.lang.String value) {
      * 
* * string query = 1; - * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** - * - * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -2154,16 +1986,16 @@ public Builder clearQuery() {
      * 
* * string query = 1; - * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes(com.google.protobuf.ByteString value) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -2171,8 +2003,6 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) { private java.lang.Object queryLanguageCode_ = ""; /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2184,13 +2014,13 @@ public Builder setQueryBytes(com.google.protobuf.ByteString value) {
      * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ public java.lang.String getQueryLanguageCode() { java.lang.Object ref = queryLanguageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; @@ -2199,8 +2029,6 @@ public java.lang.String getQueryLanguageCode() { } } /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2212,14 +2040,15 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ - public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString + getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -2227,8 +2056,6 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { } } /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2240,22 +2067,20 @@ public com.google.protobuf.ByteString getQueryLanguageCodeBytes() {
      * 
* * string query_language_code = 14; - * * @param value The queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCode(java.lang.String value) { + public Builder setQueryLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryLanguageCode_ = value; onChanged(); return this; } /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2267,18 +2092,15 @@ public Builder setQueryLanguageCode(java.lang.String value) {
      * 
* * string query_language_code = 14; - * * @return This builder for chaining. */ public Builder clearQueryLanguageCode() { - + queryLanguageCode_ = getDefaultInstance().getQueryLanguageCode(); onChanged(); return this; } /** - * - * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2290,33 +2112,29 @@ public Builder clearQueryLanguageCode() {
      * 
* * string query_language_code = 14; - * * @param value The bytes for queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value) { + public Builder setQueryLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryLanguageCode_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList companies_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList companies_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2332,15 +2150,13 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList getCompaniesList() { + public com.google.protobuf.ProtocolStringList + getCompaniesList() { return companies_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2356,15 +2172,12 @@ public com.google.protobuf.ProtocolStringList getCompaniesList() {
      * 
* * repeated string companies = 2; - * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2380,7 +2193,6 @@ public int getCompaniesCount() {
      * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -2388,8 +2200,6 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2405,16 +2215,14 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString getCompaniesBytes(int index) { + public com.google.protobuf.ByteString + getCompaniesBytes(int index) { return companies_.getByteString(index); } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2430,23 +2238,21 @@ public com.google.protobuf.ByteString getCompaniesBytes(int index) {
      * 
* * repeated string companies = 2; - * * @param index The index to set the value at. * @param value The companies to set. * @return This builder for chaining. */ - public Builder setCompanies(int index, java.lang.String value) { + public Builder setCompanies( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2462,22 +2268,20 @@ public Builder setCompanies(int index, java.lang.String value) {
      * 
* * repeated string companies = 2; - * * @param value The companies to add. * @return This builder for chaining. */ - public Builder addCompanies(java.lang.String value) { + public Builder addCompanies( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2493,19 +2297,18 @@ public Builder addCompanies(java.lang.String value) {
      * 
* * repeated string companies = 2; - * * @param values The companies to add. * @return This builder for chaining. */ - public Builder addAllCompanies(java.lang.Iterable values) { + public Builder addAllCompanies( + java.lang.Iterable values) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companies_); onChanged(); return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2521,7 +2324,6 @@ public Builder addAllCompanies(java.lang.Iterable values) {
      * 
* * repeated string companies = 2; - * * @return This builder for chaining. */ public Builder clearCompanies() { @@ -2531,8 +2333,6 @@ public Builder clearCompanies() { return this; } /** - * - * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2548,15 +2348,15 @@ public Builder clearCompanies() {
      * 
* * repeated string companies = 2; - * * @param value The bytes of the companies to add. * @return This builder for chaining. */ - public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { + public Builder addCompaniesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompaniesIsMutable(); companies_.add(value); onChanged(); @@ -2564,26 +2364,18 @@ public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - locationFilters_ = - new java.util.ArrayList( - locationFilters_); + locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.LocationFilter, - com.google.cloud.talent.v4beta1.LocationFilter.Builder, - com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> - locationFiltersBuilder_; + com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> locationFiltersBuilder_; /** - * - * *
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2606,8 +2398,6 @@ public java.util.List getLocatio
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2630,8 +2420,6 @@ public int getLocationFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2654,8 +2442,6 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2685,8 +2471,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2713,8 +2497,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2743,8 +2525,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.LocationFilter
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2774,8 +2554,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2802,8 +2580,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2830,8 +2606,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2850,7 +2624,8 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -2858,8 +2633,6 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2885,8 +2658,6 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2912,8 +2683,6 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2933,8 +2702,6 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2952,14 +2719,11 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters
     public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);
-      } else {
+        return locationFilters_.get(index);  } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2974,8 +2738,8 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
      *
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
-    public java.util.List
-        getLocationFiltersOrBuilderList() {
+    public java.util.List 
+         getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2983,8 +2747,6 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
       }
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -3000,12 +2762,10 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
     public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -3022,12 +2782,10 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
      */
     public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFiltersBuilder(
         int index) {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -3042,22 +2800,16 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
      *
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
-    public java.util.List
-        getLocationFiltersBuilderList() {
+    public java.util.List 
+         getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.LocationFilter,
-            com.google.cloud.talent.v4beta1.LocationFilter.Builder,
-            com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>
+        com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> 
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.LocationFilter,
-                com.google.cloud.talent.v4beta1.LocationFilter.Builder,
-                com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>(
+        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -3067,8 +2819,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
       return locationFiltersBuilder_;
     }
 
-    private java.util.List jobCategories_ = java.util.Collections.emptyList();
-
+    private java.util.List jobCategories_ =
+      java.util.Collections.emptyList();
     private void ensureJobCategoriesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -3076,8 +2828,6 @@ private void ensureJobCategoriesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3087,17 +2837,13 @@ private void ensureJobCategoriesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( - jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3107,15 +2853,12 @@ public java.util.List getJobCategor
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3125,7 +2868,6 @@ public int getJobCategoriesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -3133,8 +2875,6 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3144,12 +2884,12 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories(int index, com.google.cloud.talent.v4beta1.JobCategory value) { + public Builder setJobCategories( + int index, com.google.cloud.talent.v4beta1.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -3159,8 +2899,6 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4beta1.JobCa return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3170,7 +2908,6 @@ public Builder setJobCategories(int index, com.google.cloud.talent.v4beta1.JobCa
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -3184,8 +2921,6 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3195,7 +2930,6 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -3209,8 +2943,6 @@ public Builder addAllJobCategories( return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3220,7 +2952,6 @@ public Builder addAllJobCategories(
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -3230,8 +2961,6 @@ public Builder clearJobCategories() { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3241,15 +2970,13 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List getJobCategoriesValueList() { + public java.util.List + getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3259,7 +2986,6 @@ public java.util.List getJobCategoriesValueList() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -3267,8 +2993,6 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3278,20 +3002,18 @@ public int getJobCategoriesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue(int index, int value) { + public Builder setJobCategoriesValue( + int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3301,7 +3023,6 @@ public Builder setJobCategoriesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -3312,8 +3033,6 @@ public Builder addJobCategoriesValue(int value) { return this; } /** - * - * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3323,11 +3042,11 @@ public Builder addJobCategoriesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue(java.lang.Iterable values) { + public Builder addAllJobCategoriesValue( + java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -3338,13 +3057,8 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CommuteFilter, - com.google.cloud.talent.v4beta1.CommuteFilter.Builder, - com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> - commuteFilterBuilder_; + com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> commuteFilterBuilder_; /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3354,15 +3068,12 @@ public Builder addAllJobCategoriesValue(java.lang.Iterable va
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ public boolean hasCommuteFilter() { return commuteFilterBuilder_ != null || commuteFilter_ != null; } /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3372,21 +3083,16 @@ public boolean hasCommuteFilter() {
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ public com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter() { if (commuteFilterBuilder_ == null) { - return commuteFilter_ == null - ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() - : commuteFilter_; + return commuteFilter_ == null ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_; } else { return commuteFilterBuilder_.getMessage(); } } /** - * - * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3411,8 +3117,6 @@ public Builder setCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter va
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3435,8 +3139,6 @@ public Builder setCommuteFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3451,9 +3153,7 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter
       if (commuteFilterBuilder_ == null) {
         if (commuteFilter_ != null) {
           commuteFilter_ =
-              com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder(commuteFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder(commuteFilter_).mergeFrom(value).buildPartial();
         } else {
           commuteFilter_ = value;
         }
@@ -3465,8 +3165,6 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3489,8 +3187,6 @@ public Builder clearCommuteFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3502,13 +3198,11 @@ public Builder clearCommuteFilter() {
      * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
      */
     public com.google.cloud.talent.v4beta1.CommuteFilter.Builder getCommuteFilterBuilder() {
-
+      
       onChanged();
       return getCommuteFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3523,14 +3217,11 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
       if (commuteFilterBuilder_ != null) {
         return commuteFilterBuilder_.getMessageOrBuilder();
       } else {
-        return commuteFilter_ == null
-            ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance()
-            : commuteFilter_;
+        return commuteFilter_ == null ?
+            com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3542,34 +3233,27 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
      * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CommuteFilter,
-            com.google.cloud.talent.v4beta1.CommuteFilter.Builder,
-            com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>
+        com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> 
         getCommuteFilterFieldBuilder() {
       if (commuteFilterBuilder_ == null) {
-        commuteFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.CommuteFilter,
-                com.google.cloud.talent.v4beta1.CommuteFilter.Builder,
-                com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>(
-                getCommuteFilter(), getParentForChildren(), isClean());
+        commuteFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>(
+                getCommuteFilter(),
+                getParentForChildren(),
+                isClean());
         commuteFilter_ = null;
       }
       return commuteFilterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList companyDisplayNames_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureCompanyDisplayNamesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3593,15 +3277,13 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList + getCompanyDisplayNamesList() { return companyDisplayNames_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3625,15 +3307,12 @@ public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() {
      * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3657,7 +3336,6 @@ public int getCompanyDisplayNamesCount() {
      * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -3665,8 +3343,6 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3690,16 +3366,14 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3723,23 +3397,21 @@ public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) {
      * 
* * repeated string company_display_names = 6; - * * @param index The index to set the value at. * @param value The companyDisplayNames to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNames(int index, java.lang.String value) { + public Builder setCompanyDisplayNames( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3763,22 +3435,20 @@ public Builder setCompanyDisplayNames(int index, java.lang.String value) {
      * 
* * repeated string company_display_names = 6; - * * @param value The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNames(java.lang.String value) { + public Builder addCompanyDisplayNames( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3802,19 +3472,18 @@ public Builder addCompanyDisplayNames(java.lang.String value) {
      * 
* * repeated string company_display_names = 6; - * * @param values The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addAllCompanyDisplayNames(java.lang.Iterable values) { + public Builder addAllCompanyDisplayNames( + java.lang.Iterable values) { ensureCompanyDisplayNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companyDisplayNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companyDisplayNames_); onChanged(); return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3838,7 +3507,6 @@ public Builder addAllCompanyDisplayNames(java.lang.Iterable va
      * 
* * repeated string company_display_names = 6; - * * @return This builder for chaining. */ public Builder clearCompanyDisplayNames() { @@ -3848,8 +3516,6 @@ public Builder clearCompanyDisplayNames() { return this; } /** - * - * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3873,15 +3539,15 @@ public Builder clearCompanyDisplayNames() {
      * 
* * repeated string company_display_names = 6; - * * @param value The bytes of the companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) { + public Builder addCompanyDisplayNamesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); @@ -3890,13 +3556,8 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationFilter, - com.google.cloud.talent.v4beta1.CompensationFilter.Builder, - com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> - compensationFilterBuilder_; + com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> compensationFilterBuilder_; /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3906,15 +3567,12 @@ public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value)
      * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ public boolean hasCompensationFilter() { return compensationFilterBuilder_ != null || compensationFilter_ != null; } /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3924,21 +3582,16 @@ public boolean hasCompensationFilter() {
      * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter() { if (compensationFilterBuilder_ == null) { - return compensationFilter_ == null - ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() - : compensationFilter_; + return compensationFilter_ == null ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_; } else { return compensationFilterBuilder_.getMessage(); } } /** - * - * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3963,8 +3616,6 @@ public Builder setCompensationFilter(com.google.cloud.talent.v4beta1.Compensatio
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3987,8 +3638,6 @@ public Builder setCompensationFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3999,14 +3648,11 @@ public Builder setCompensationFilter(
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public Builder mergeCompensationFilter(
-        com.google.cloud.talent.v4beta1.CompensationFilter value) {
+    public Builder mergeCompensationFilter(com.google.cloud.talent.v4beta1.CompensationFilter value) {
       if (compensationFilterBuilder_ == null) {
         if (compensationFilter_ != null) {
           compensationFilter_ =
-              com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder(compensationFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder(compensationFilter_).mergeFrom(value).buildPartial();
         } else {
           compensationFilter_ = value;
         }
@@ -4018,8 +3664,6 @@ public Builder mergeCompensationFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -4042,8 +3686,6 @@ public Builder clearCompensationFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -4054,15 +3696,12 @@ public Builder clearCompensationFilter() {
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public com.google.cloud.talent.v4beta1.CompensationFilter.Builder
-        getCompensationFilterBuilder() {
-
+    public com.google.cloud.talent.v4beta1.CompensationFilter.Builder getCompensationFilterBuilder() {
+      
       onChanged();
       return getCompensationFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -4073,19 +3712,15 @@ public Builder clearCompensationFilter() {
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder
-        getCompensationFilterOrBuilder() {
+    public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder() {
       if (compensationFilterBuilder_ != null) {
         return compensationFilterBuilder_.getMessageOrBuilder();
       } else {
-        return compensationFilter_ == null
-            ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()
-            : compensationFilter_;
+        return compensationFilter_ == null ?
+            com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -4097,17 +3732,14 @@ public Builder clearCompensationFilter() {
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CompensationFilter,
-            com.google.cloud.talent.v4beta1.CompensationFilter.Builder,
-            com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>
+        com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> 
         getCompensationFilterFieldBuilder() {
       if (compensationFilterBuilder_ == null) {
-        compensationFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.CompensationFilter,
-                com.google.cloud.talent.v4beta1.CompensationFilter.Builder,
-                com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>(
-                getCompensationFilter(), getParentForChildren(), isClean());
+        compensationFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>(
+                getCompensationFilter(),
+                getParentForChildren(),
+                isClean());
         compensationFilter_ = null;
       }
       return compensationFilterBuilder_;
@@ -4115,8 +3747,6 @@ public Builder clearCompensationFilter() {
 
     private java.lang.Object customAttributeFilter_ = "";
     /**
-     *
-     *
      * 
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4138,13 +3768,13 @@ public Builder clearCompensationFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ public java.lang.String getCustomAttributeFilter() { java.lang.Object ref = customAttributeFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; @@ -4153,8 +3783,6 @@ public java.lang.String getCustomAttributeFilter() { } } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4176,14 +3804,15 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ - public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString + getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -4191,8 +3820,6 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { } } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4214,22 +3841,20 @@ public com.google.protobuf.ByteString getCustomAttributeFilterBytes() {
      * 
* * string custom_attribute_filter = 8; - * * @param value The customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilter(java.lang.String value) { + public Builder setCustomAttributeFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customAttributeFilter_ = value; onChanged(); return this; } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4251,18 +3876,15 @@ public Builder setCustomAttributeFilter(java.lang.String value) {
      * 
* * string custom_attribute_filter = 8; - * * @return This builder for chaining. */ public Builder clearCustomAttributeFilter() { - + customAttributeFilter_ = getDefaultInstance().getCustomAttributeFilter(); onChanged(); return this; } /** - * - * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -4284,25 +3906,23 @@ public Builder clearCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; - * * @param value The bytes for customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value) { + public Builder setCustomAttributeFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customAttributeFilter_ = value; onChanged(); return this; } - private boolean disableSpellCheck_; + private boolean disableSpellCheck_ ; /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4311,7 +3931,6 @@ public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString valu
      * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ @java.lang.Override @@ -4319,8 +3938,6 @@ public boolean getDisableSpellCheck() { return disableSpellCheck_; } /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4329,19 +3946,16 @@ public boolean getDisableSpellCheck() {
      * 
* * bool disable_spell_check = 9; - * * @param value The disableSpellCheck to set. * @return This builder for chaining. */ public Builder setDisableSpellCheck(boolean value) { - + disableSpellCheck_ = value; onChanged(); return this; } /** - * - * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -4350,18 +3964,17 @@ public Builder setDisableSpellCheck(boolean value) {
      * 
* * bool disable_spell_check = 9; - * * @return This builder for chaining. */ public Builder clearDisableSpellCheck() { - + disableSpellCheck_ = false; onChanged(); return this; } - private java.util.List employmentTypes_ = java.util.Collections.emptyList(); - + private java.util.List employmentTypes_ = + java.util.Collections.emptyList(); private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -4369,8 +3982,6 @@ private void ensureEmploymentTypesIsMutable() { } } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4381,17 +3992,13 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( - employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4402,15 +4009,12 @@ public java.util.List getEmploym
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4421,7 +4025,6 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4429,8 +4032,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4441,7 +4042,6 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. @@ -4457,8 +4057,6 @@ public Builder setEmploymentTypes( return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4469,7 +4067,6 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -4483,8 +4080,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4495,7 +4090,6 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -4509,8 +4103,6 @@ public Builder addAllEmploymentTypes( return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4521,7 +4113,6 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -4531,8 +4122,6 @@ public Builder clearEmploymentTypes() { return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4543,15 +4132,13 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List getEmploymentTypesValueList() { + public java.util.List + getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4562,7 +4149,6 @@ public java.util.List getEmploymentTypesValueList() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4570,8 +4156,6 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4582,20 +4166,18 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue(int index, int value) { + public Builder setEmploymentTypesValue( + int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4606,7 +4188,6 @@ public Builder setEmploymentTypesValue(int index, int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -4617,8 +4198,6 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** - * - * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4629,11 +4208,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue( + java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -4642,18 +4221,14 @@ public Builder addAllEmploymentTypesValue(java.lang.Iterable return this; } - private com.google.protobuf.LazyStringList languageCodes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000020; - } + } } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4666,15 +4241,13 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList + getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4687,15 +4260,12 @@ public com.google.protobuf.ProtocolStringList getLanguageCodesList() {
      * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4708,7 +4278,6 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -4716,8 +4285,6 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4730,16 +4297,14 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString + getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4752,23 +4317,21 @@ public com.google.protobuf.ByteString getLanguageCodesBytes(int index) {
      * 
* * repeated string language_codes = 11; - * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes(int index, java.lang.String value) { + public Builder setLanguageCodes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4781,22 +4344,20 @@ public Builder setLanguageCodes(int index, java.lang.String value) {
      * 
* * repeated string language_codes = 11; - * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes(java.lang.String value) { + public Builder addLanguageCodes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4809,19 +4370,18 @@ public Builder addLanguageCodes(java.lang.String value) {
      * 
* * repeated string language_codes = 11; - * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes(java.lang.Iterable values) { + public Builder addAllLanguageCodes( + java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, languageCodes_); onChanged(); return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4834,7 +4394,6 @@ public Builder addAllLanguageCodes(java.lang.Iterable values)
      * 
* * repeated string language_codes = 11; - * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -4844,8 +4403,6 @@ public Builder clearLanguageCodes() { return this; } /** - * - * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4858,15 +4415,15 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 11; - * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); @@ -4875,49 +4432,36 @@ public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.TimestampRange, - com.google.cloud.talent.v4beta1.TimestampRange.Builder, - com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> - publishTimeRangeBuilder_; + com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> publishTimeRangeBuilder_; /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ public boolean hasPublishTimeRange() { return publishTimeRangeBuilder_ != null || publishTimeRange_ != null; } /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ public com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange() { if (publishTimeRangeBuilder_ == null) { - return publishTimeRange_ == null - ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() - : publishTimeRange_; + return publishTimeRange_ == null ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_; } else { return publishTimeRangeBuilder_.getMessage(); } } /** - * - * *
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4939,8 +4483,6 @@ public Builder setPublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRang
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4960,8 +4502,6 @@ public Builder setPublishTimeRange(
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4973,9 +4513,7 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRa
       if (publishTimeRangeBuilder_ == null) {
         if (publishTimeRange_ != null) {
           publishTimeRange_ =
-              com.google.cloud.talent.v4beta1.TimestampRange.newBuilder(publishTimeRange_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.TimestampRange.newBuilder(publishTimeRange_).mergeFrom(value).buildPartial();
         } else {
           publishTimeRange_ = value;
         }
@@ -4987,8 +4525,6 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRa
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5008,8 +4544,6 @@ public Builder clearPublishTimeRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5018,13 +4552,11 @@ public Builder clearPublishTimeRange() {
      * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
      */
     public com.google.cloud.talent.v4beta1.TimestampRange.Builder getPublishTimeRangeBuilder() {
-
+      
       onChanged();
       return getPublishTimeRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5036,14 +4568,11 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
       if (publishTimeRangeBuilder_ != null) {
         return publishTimeRangeBuilder_.getMessageOrBuilder();
       } else {
-        return publishTimeRange_ == null
-            ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance()
-            : publishTimeRange_;
+        return publishTimeRange_ == null ?
+            com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_;
       }
     }
     /**
-     *
-     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -5052,71 +4581,58 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
      * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.TimestampRange,
-            com.google.cloud.talent.v4beta1.TimestampRange.Builder,
-            com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>
+        com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> 
         getPublishTimeRangeFieldBuilder() {
       if (publishTimeRangeBuilder_ == null) {
-        publishTimeRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.TimestampRange,
-                com.google.cloud.talent.v4beta1.TimestampRange.Builder,
-                com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>(
-                getPublishTimeRange(), getParentForChildren(), isClean());
+        publishTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>(
+                getPublishTimeRange(),
+                getParentForChildren(),
+                isClean());
         publishTimeRange_ = null;
       }
       return publishTimeRangeBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList excludedJobs_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureExcludedJobsIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_);
         bitField0_ |= 0x00000040;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList + getExcludedJobsList() { return excludedJobs_.getUnmodifiableView(); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -5124,95 +4640,85 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString + getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param index The index to set the value at. * @param value The excludedJobs to set. * @return This builder for chaining. */ - public Builder setExcludedJobs(int index, java.lang.String value) { + public Builder setExcludedJobs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.set(index, value); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param value The excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobs(java.lang.String value) { + public Builder addExcludedJobs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param values The excludedJobs to add. * @return This builder for chaining. */ - public Builder addAllExcludedJobs(java.lang.Iterable values) { + public Builder addAllExcludedJobs( + java.lang.Iterable values) { ensureExcludedJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludedJobs_); onChanged(); return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @return This builder for chaining. */ public Builder clearExcludedJobs() { @@ -5222,31 +4728,29 @@ public Builder clearExcludedJobs() { return this; } /** - * - * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; - * * @param value The bytes of the excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { + public Builder addExcludedJobsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5256,12 +4760,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobQuery) private static final com.google.cloud.talent.v4beta1.JobQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobQuery(); } @@ -5270,27 +4774,27 @@ public static com.google.cloud.talent.v4beta1.JobQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5305,4 +4809,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java similarity index 93% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java index 2036ea0028aa..3e418b3128a9 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface JobQueryOrBuilder - extends +public interface JobQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -33,13 +15,10 @@ public interface JobQueryOrBuilder
    * 
* * string query = 1; - * * @return The query. */ java.lang.String getQuery(); /** - * - * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -47,14 +26,12 @@ public interface JobQueryOrBuilder
    * 
* * string query = 1; - * * @return The bytes for query. */ - com.google.protobuf.ByteString getQueryBytes(); + com.google.protobuf.ByteString + getQueryBytes(); /** - * - * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -66,13 +43,10 @@ public interface JobQueryOrBuilder
    * 
* * string query_language_code = 14; - * * @return The queryLanguageCode. */ java.lang.String getQueryLanguageCode(); /** - * - * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -84,14 +58,12 @@ public interface JobQueryOrBuilder
    * 
* * string query_language_code = 14; - * * @return The bytes for queryLanguageCode. */ - com.google.protobuf.ByteString getQueryLanguageCodeBytes(); + com.google.protobuf.ByteString + getQueryLanguageCodeBytes(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -107,13 +79,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @return A list containing the companies. */ - java.util.List getCompaniesList(); + java.util.List + getCompaniesList(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -129,13 +99,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @return The count of companies. */ int getCompaniesCount(); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -151,14 +118,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @param index The index of the element to return. * @return The companies at the given index. */ java.lang.String getCompanies(int index); /** - * - * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -174,15 +138,13 @@ public interface JobQueryOrBuilder
    * 
* * repeated string companies = 2; - * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - com.google.protobuf.ByteString getCompaniesBytes(int index); + com.google.protobuf.ByteString + getCompaniesBytes(int index); /** - * - * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -197,10 +159,9 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  java.util.List getLocationFiltersList();
+  java.util.List 
+      getLocationFiltersList();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -217,8 +178,6 @@ public interface JobQueryOrBuilder
    */
   com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int index);
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -235,8 +194,6 @@ public interface JobQueryOrBuilder
    */
   int getLocationFiltersCount();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -251,11 +208,9 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  java.util.List
+  java.util.List 
       getLocationFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -270,11 +225,10 @@ public interface JobQueryOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index);
+  com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -284,13 +238,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -300,13 +251,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -316,14 +264,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -333,13 +278,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List getJobCategoriesValueList(); + java.util.List + getJobCategoriesValueList(); /** - * - * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -349,15 +292,12 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -367,13 +307,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return Whether the commuteFilter field is set. */ boolean hasCommuteFilter(); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -383,13 +320,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; - * * @return The commuteFilter. */ com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter(); /** - * - * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -403,8 +337,6 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -428,13 +360,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @return A list containing the companyDisplayNames. */ - java.util.List getCompanyDisplayNamesList(); + java.util.List + getCompanyDisplayNamesList(); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -458,13 +388,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @return The count of companyDisplayNames. */ int getCompanyDisplayNamesCount(); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -488,14 +415,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ java.lang.String getCompanyDisplayNames(int index); /** - * - * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -519,15 +443,13 @@ public interface JobQueryOrBuilder
    * 
* * repeated string company_display_names = 6; - * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index); + com.google.protobuf.ByteString + getCompanyDisplayNamesBytes(int index); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -537,13 +459,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return Whether the compensationFilter field is set. */ boolean hasCompensationFilter(); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -553,13 +472,10 @@ public interface JobQueryOrBuilder
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; - * * @return The compensationFilter. */ com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(); /** - * - * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -573,8 +489,6 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -596,13 +510,10 @@ public interface JobQueryOrBuilder
    * 
* * string custom_attribute_filter = 8; - * * @return The customAttributeFilter. */ java.lang.String getCustomAttributeFilter(); /** - * - * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -624,14 +535,12 @@ public interface JobQueryOrBuilder
    * 
* * string custom_attribute_filter = 8; - * * @return The bytes for customAttributeFilter. */ - com.google.protobuf.ByteString getCustomAttributeFilterBytes(); + com.google.protobuf.ByteString + getCustomAttributeFilterBytes(); /** - * - * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -640,14 +549,11 @@ public interface JobQueryOrBuilder
    * 
* * bool disable_spell_check = 9; - * * @return The disableSpellCheck. */ boolean getDisableSpellCheck(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -658,13 +564,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -675,13 +578,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -692,14 +592,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -710,13 +607,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List getEmploymentTypesValueList(); + java.util.List + getEmploymentTypesValueList(); /** - * - * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -727,15 +622,12 @@ public interface JobQueryOrBuilder
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -748,13 +640,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @return A list containing the languageCodes. */ - java.util.List getLanguageCodesList(); + java.util.List + getLanguageCodesList(); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -767,13 +657,10 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -786,14 +673,11 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** - * - * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -806,41 +690,33 @@ public interface JobQueryOrBuilder
    * 
* * repeated string language_codes = 11; - * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString getLanguageCodesBytes(int index); + com.google.protobuf.ByteString + getLanguageCodesBytes(int index); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return Whether the publishTimeRange field is set. */ boolean hasPublishTimeRange(); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; - * * @return The publishTimeRange. */ com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange(); /** - * - * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -851,57 +727,47 @@ public interface JobQueryOrBuilder
   com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRangeOrBuilder();
 
   /**
-   *
-   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return A list containing the excludedJobs. */ - java.util.List getExcludedJobsList(); + java.util.List + getExcludedJobsList(); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @return The count of excludedJobs. */ int getExcludedJobsCount(); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ java.lang.String getExcludedJobs(int index); /** - * - * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; - * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - com.google.protobuf.ByteString getExcludedJobsBytes(int index); + com.google.protobuf.ByteString + getExcludedJobsBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java new file mode 100644 index 000000000000..43c4ce658cf7 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java @@ -0,0 +1,163 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job.proto + +package com.google.cloud.talent.v4beta1; + +public final class JobResourceProto { + private JobResourceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n%google/cloud/talent/v4beta1/job.proto\022" + + "\033google.cloud.talent.v4beta1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032(google/cloud/talent/v4beta1/co" + + "mmon.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\340\017\n\003Job\022\014\n\004name\030\001 \001(\t\0224\n\007company\030\002 \001" + + "(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Company\022" + + "\033\n\016requisition_id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 " + + "\001(\tB\003\340A\002\022\030\n\013description\030\005 \001(\tB\003\340A\002\022\021\n\tad" + + "dresses\030\006 \003(\t\022J\n\020application_info\030\007 \001(\0132" + + "0.google.cloud.talent.v4beta1.Job.Applic" + + "ationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.google" + + ".cloud.talent.v4beta1.JobBenefit\022H\n\021comp" + + "ensation_info\030\t \001(\0132-.google.cloud.talen" + + "t.v4beta1.CompensationInfo\022Q\n\021custom_att" + + "ributes\030\n \003(\01326.google.cloud.talent.v4be" + + "ta1.Job.CustomAttributesEntry\022=\n\014degree_" + + "types\030\013 \003(\0162\'.google.cloud.talent.v4beta" + + "1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020empl" + + "oyment_types\030\r \003(\0162+.google.cloud.talent" + + ".v4beta1.EmploymentType\022\022\n\nincentives\030\016 " + + "\001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_level\030" + + "\020 \001(\0162%.google.cloud.talent.v4beta1.JobL" + + "evel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qualifi" + + "cations\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022" + + "B\n\016posting_region\030\024 \001(\0162*.google.cloud.t" + + "alent.v4beta1.PostingRegion\022?\n\nvisibilit" + + "y\030\025 \001(\0162\'.google.cloud.talent.v4beta1.Vi" + + "sibilityB\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\0220\n\014job_end_time" + + "\030\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024po" + + "sting_publish_time\030\030 \001(\0132\032.google.protob" + + "uf.Timestamp\0227\n\023posting_expire_time\030\031 \001(" + + "\0132\032.google.protobuf.Timestamp\022<\n\023posting" + + "_create_time\030\032 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022<\n\023posting_update_time\030\033 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022!\n\024com" + + "pany_display_name\030\034 \001(\tB\003\340A\003\022G\n\014derived_" + + "info\030\035 \001(\0132,.google.cloud.talent.v4beta1" + + ".Job.DerivedInfoB\003\340A\003\022N\n\022processing_opti" + + "ons\030\036 \001(\01322.google.cloud.talent.v4beta1." + + "Job.ProcessingOptions\032D\n\017ApplicationInfo" + + "\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 \001(\t\022\014\n" + + "\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tlocations" + + "\030\001 \003(\0132%.google.cloud.talent.v4beta1.Loc" + + "ation\022@\n\016job_categories\030\003 \003(\0162(.google.c" + + "loud.talent.v4beta1.JobCategory\032\210\001\n\021Proc" + + "essingOptions\022)\n!disable_street_address_" + + "resolution\030\001 \001(\010\022H\n\021html_sanitization\030\002 " + + "\001(\0162-.google.cloud.talent.v4beta1.HtmlSa" + + "nitization\032e\n\025CustomAttributesEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.t" + + "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" + + "jobs.googleapis.com/Job\022.projects/{proje" + + "ct}/tenants/{tenant}/jobs/{job}\022\035project" + + "s/{project}/jobs/{job}B~\n\037com.google.clo" + + "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Job_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_descriptor, + new java.lang.String[] { "Name", "Company", "RequisitionId", "Title", "Description", "Addresses", "ApplicationInfo", "JobBenefits", "CompensationInfo", "CustomAttributes", "DegreeTypes", "Department", "EmploymentTypes", "Incentives", "LanguageCode", "JobLevel", "PromotionValue", "Qualifications", "Responsibilities", "PostingRegion", "Visibility", "JobStartTime", "JobEndTime", "PostingPublishTime", "PostingExpireTime", "PostingCreateTime", "PostingUpdateTime", "CompanyDisplayName", "DerivedInfo", "ProcessingOptions", }); + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor, + new java.lang.String[] { "Emails", "Instruction", "Uris", }); + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor, + new java.lang.String[] { "Locations", "JobCategories", }); + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor, + new java.lang.String[] { "DisableStreetAddressResolution", "HtmlSanitization", }); + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java new file mode 100644 index 000000000000..18b9f1759c33 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java @@ -0,0 +1,418 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class JobServiceProto { + private JobServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/talent/v4beta1/job_servic" + + "e.proto\022\033google.cloud.talent.v4beta1\032\034go" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032(google/" + + "cloud/talent/v4beta1/common.proto\032)googl" + + "e/cloud/talent/v4beta1/filters.proto\032+go" + + "ogle/cloud/talent/v4beta1/histogram.prot" + + "o\032%google/cloud/talent/v4beta1/job.proto" + + "\032#google/longrunning/operations.proto\032\036g" + + "oogle/protobuf/duration.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\027google/rpc/status.proto\"w\n" + + "\020CreateJobRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A" + + "\031\022\027jobs.googleapis.com/Job\0222\n\003job\030\002 \001(\0132" + + " .google.cloud.talent.v4beta1.JobB\003\340A\002\">" + + "\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027j" + + "obs.googleapis.com/Job\"w\n\020UpdateJobReque" + + "st\0222\n\003job\030\001 \001(\0132 .google.cloud.talent.v4" + + "beta1.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" + + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" + + "is.com/Job\"^\n\026BatchDeleteJobsRequest\022/\n\006" + + "parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.co" + + "m/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\"\266\001\n\017ListJobsR" + + "equest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.goo" + + "gleapis.com/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\n" + + "page_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010j" + + "ob_view\030\005 \001(\0162$.google.cloud.talent.v4be" + + "ta1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs" + + "\030\001 \003(\0132 .google.cloud.talent.v4beta1.Job" + + "\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 " + + "\001(\0132-.google.cloud.talent.v4beta1.Respon" + + "seMetadata\"\273\013\n\021SearchJobsRequest\022/\n\006pare" + + "nt\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Jo" + + "b\022N\n\013search_mode\030\002 \001(\01629.google.cloud.ta" + + "lent.v4beta1.SearchJobsRequest.SearchMod" + + "e\022K\n\020request_metadata\030\003 \001(\0132,.google.clo" + + "ud.talent.v4beta1.RequestMetadataB\003\340A\002\0228" + + "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." + + "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " + + "\001(\010\022\'\n\033require_precise_result_size\030\006 \001(\010" + + "B\002\030\001\022F\n\021histogram_queries\030\007 \003(\0132+.google" + + ".cloud.talent.v4beta1.HistogramQuery\0226\n\010" + + "job_view\030\010 \001(\0162$.google.cloud.talent.v4b" + + "eta1.JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_siz" + + "e\030\n \001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030" + + "\014 \001(\t\022b\n\025diversification_level\030\r \001(\0162C.g" + + "oogle.cloud.talent.v4beta1.SearchJobsReq" + + "uest.DiversificationLevel\022]\n\023custom_rank" + + "ing_info\030\016 \001(\0132@.google.cloud.talent.v4b" + + "eta1.SearchJobsRequest.CustomRankingInfo" + + "\022\035\n\025disable_keyword_match\030\020 \001(\010\022[\n\022keywo" + + "rd_match_mode\030\022 \001(\0162?.google.cloud.talen" + + "t.v4beta1.SearchJobsRequest.KeywordMatch" + + "Mode\032\232\002\n\021CustomRankingInfo\022o\n\020importance" + + "_level\030\001 \001(\0162P.google.cloud.talent.v4bet" + + "a1.SearchJobsRequest.CustomRankingInfo.I" + + "mportanceLevelB\003\340A\002\022\037\n\022ranking_expressio" + + "n\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLevel\022 \n\034IMPOR" + + "TANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003L" + + "OW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007" + + "EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SEARCH_MODE_U" + + "NSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED" + + "_JOB_SEARCH\020\002\"W\n\024DiversificationLevel\022%\n" + + "!DIVERSIFICATION_LEVEL_UNSPECIFIED\020\000\022\014\n\010" + + "DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\207\001\n\020KeywordMatchM" + + "ode\022\"\n\036KEYWORD_MATCH_MODE_UNSPECIFIED\020\000\022" + + "\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n\021KEYWORD_M" + + "ATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TITLE_ONLY\020\003" + + "\"\327\006\n\022SearchJobsResponse\022R\n\rmatching_jobs" + + "\030\001 \003(\0132;.google.cloud.talent.v4beta1.Sea" + + "rchJobsResponse.MatchingJob\022R\n\027histogram" + + "_query_results\030\002 \003(\01321.google.cloud.tale" + + "nt.v4beta1.HistogramQueryResult\022\027\n\017next_" + + "page_token\030\003 \001(\t\022?\n\020location_filters\030\004 \003" + + "(\0132%.google.cloud.talent.v4beta1.Locatio" + + "n\022\034\n\024estimated_total_size\030\005 \001(\005\022\022\n\ntotal" + + "_size\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.c" + + "loud.talent.v4beta1.ResponseMetadata\022\"\n\032" + + "broadened_query_jobs_count\030\010 \001(\005\022I\n\020spel" + + "l_correction\030\t \001(\0132/.google.cloud.talent" + + ".v4beta1.SpellingCorrection\032\334\001\n\013Matching" + + "Job\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v" + + "4beta1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_t" + + "itle_snippet\030\003 \001(\t\022\033\n\023search_text_snippe" + + "t\030\004 \001(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.c" + + "loud.talent.v4beta1.SearchJobsResponse.C" + + "ommuteInfo\032~\n\013CommuteInfo\022;\n\014job_locatio" + + "n\030\001 \001(\0132%.google.cloud.talent.v4beta1.Lo" + + "cation\0222\n\017travel_duration\030\002 \001(\0132\031.google" + + ".protobuf.Duration\"~\n\026BatchCreateJobsReq" + + "uest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googl" + + "eapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .google.clo" + + "ud.talent.v4beta1.JobB\003\340A\002\"\257\001\n\026BatchUpda" + + "teJobsRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027j" + + "obs.googleapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .g" + + "oogle.cloud.talent.v4beta1.JobB\003\340A\002\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "Mask\"\304\001\n\022JobOperationResult\022N\n\013job_resul" + + "ts\030\001 \003(\01329.google.cloud.talent.v4beta1.J" + + "obOperationResult.JobResult\032^\n\tJobResult" + + "\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v4be" + + "ta1.Job\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + + "tus*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" + + "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" + + "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" + + "L\020\0042\316\022\n\nJobService\022\311\001\n\tCreateJob\022-.googl" + + "e.cloud.talent.v4beta1.CreateJobRequest\032" + + " .google.cloud.talent.v4beta1.Job\"k\202\323\344\223\002" + + "X\"+/v4beta1/{parent=projects/*/tenants/*" + + "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" + + "}/jobs:\001*\332A\nparent,job\022\233\002\n\017BatchCreateJo" + + "bs\0223.google.cloud.talent.v4beta1.BatchCr" + + "eateJobsRequest\032\035.google.longrunning.Ope" + + "ration\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projec" + + "ts/*/tenants/*}/jobs:batchCreate:\001*Z2\"-/" + + "v4beta1/{parent=projects/*}/jobs:batchCr" + + "eate:\001*\332A\013parent,jobs\312A,\n\022JobOperationRe" + + "sult\022\026BatchOperationMetadata\022\267\001\n\006GetJob\022" + + "*.google.cloud.talent.v4beta1.GetJobRequ" + + "est\032 .google.cloud.talent.v4beta1.Job\"_\202" + + "\323\344\223\002R\022+/v4beta1/{name=projects/*/tenants" + + "/*/jobs/*}Z#\022!/v4beta1/{name=projects/*/" + + "jobs/*}\332A\004name\022\312\001\n\tUpdateJob\022-.google.cl" + + "oud.talent.v4beta1.UpdateJobRequest\032 .go" + + "ogle.cloud.talent.v4beta1.Job\"l\202\323\344\223\002`2//" + + "v4beta1/{job.name=projects/*/tenants/*/j" + + "obs/*}:\001*Z*2%/v4beta1/{job.name=projects" + + "/*/jobs/*}:\001*\332A\003job\022\233\002\n\017BatchUpdateJobs\022" + + "3.google.cloud.talent.v4beta1.BatchUpdat" + + "eJobsRequest\032\035.google.longrunning.Operat" + + "ion\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projects/" + + "*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/v4b" + + "eta1/{parent=projects/*}/jobs:batchUpdat" + + "e:\001*\332A\013parent,jobs\312A,\n\022JobOperationResul" + + "t\022\026BatchOperationMetadata\022\263\001\n\tDeleteJob\022" + + "-.google.cloud.talent.v4beta1.DeleteJobR" + + "equest\032\026.google.protobuf.Empty\"_\202\323\344\223\002R*+" + + "/v4beta1/{name=projects/*/tenants/*/jobs" + + "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}" + + "\332A\004name\022\344\001\n\017BatchDeleteJobs\0223.google.clo" + + "ud.talent.v4beta1.BatchDeleteJobsRequest" + + "\032\026.google.protobuf.Empty\"\203\001\202\323\344\223\002m\"7/v4be" + + "ta1/{parent=projects/*/tenants/*}/jobs:b" + + "atchDelete:\001*Z/\"-/v4beta1/{parent=projec" + + "ts/*}/jobs:batchDelete\332A\rparent,filter\022\321" + + "\001\n\010ListJobs\022,.google.cloud.talent.v4beta" + + "1.ListJobsRequest\032-.google.cloud.talent." + + "v4beta1.ListJobsResponse\"h\202\323\344\223\002R\022+/v4bet" + + "a1/{parent=projects/*/tenants/*}/jobsZ#\022" + + "!/v4beta1/{parent=projects/*}/jobs\332A\rpar" + + "ent,filter\022\333\001\n\nSearchJobs\022..google.cloud" + + ".talent.v4beta1.SearchJobsRequest\032/.goog" + + "le.cloud.talent.v4beta1.SearchJobsRespon" + + "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/" + + "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p" + + "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea" + + "rchJobsForAlert\022..google.cloud.talent.v4" + + "beta1.SearchJobsRequest\032/.google.cloud.t" + + "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v" + + "\":/v4beta1/{parent=projects/*/tenants/*}" + + "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par" + + "ent=projects/*}/jobs:searchForAlert:\001*\032l" + + "\312A\023jobs.googleapis.com\322AShttps://www.goo" + + "gleapis.com/auth/cloud-platform,https://" + + "www.googleapis.com/auth/jobsB}\n\037com.goog" + + "le.cloud.talent.v4beta1B\017JobServiceProto" + + "P\001ZAgoogle.golang.org/genproto/googleapi" + + "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), + com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor, + new java.lang.String[] { "Parent", "Job", }); + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor, + new java.lang.String[] { "Job", "UpdateMask", }); + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", }); + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageToken", "PageSize", "JobView", }); + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor, + new java.lang.String[] { "Jobs", "NextPageToken", "Metadata", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor, + new java.lang.String[] { "Parent", "SearchMode", "RequestMetadata", "JobQuery", "EnableBroadening", "RequirePreciseResultSize", "HistogramQueries", "JobView", "Offset", "PageSize", "PageToken", "OrderBy", "DiversificationLevel", "CustomRankingInfo", "DisableKeywordMatch", "KeywordMatchMode", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor, + new java.lang.String[] { "ImportanceLevel", "RankingExpression", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor, + new java.lang.String[] { "MatchingJobs", "HistogramQueryResults", "NextPageToken", "LocationFilters", "EstimatedTotalSize", "TotalSize", "Metadata", "BroadenedQueryJobsCount", "SpellCorrection", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor, + new java.lang.String[] { "Job", "JobSummary", "JobTitleSnippet", "SearchTextSnippet", "CommuteInfo", }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor, + new java.lang.String[] { "JobLocation", "TravelDuration", }); + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Jobs", }); + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor, + new java.lang.String[] { "Parent", "Jobs", "UpdateMask", }); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor, + new java.lang.String[] { "JobResults", }); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor = + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor, + new java.lang.String[] { "Job", "Status", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); + com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java similarity index 79% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java index 93c93013c8cf..7d4adaa7b35e 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that specifies the job attributes that are returned in the
  * [MatchingJob.job][google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.job] or
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.JobView}
  */
-public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +23,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ JOB_VIEW_UNSPECIFIED(0), /** - * - * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
@@ -52,8 +32,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_ID_ONLY(1),
   /**
-   *
-   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -64,8 +42,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_MINIMAL(2),
   /**
-   *
-   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -77,8 +53,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   JOB_VIEW_SMALL(3),
   /**
-   *
-   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -90,8 +64,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value.
    * 
@@ -100,8 +72,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
@@ -111,8 +81,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_ID_ONLY_VALUE = 1;
   /**
-   *
-   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -123,8 +91,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_MINIMAL_VALUE = 2;
   /**
-   *
-   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -136,8 +102,6 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int JOB_VIEW_SMALL_VALUE = 3;
   /**
-   *
-   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -146,6 +110,7 @@ public enum JobView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_VIEW_FULL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,53 +135,51 @@ public static JobView valueOf(int value) { */ public static JobView forNumber(int value) { switch (value) { - case 0: - return JOB_VIEW_UNSPECIFIED; - case 1: - return JOB_VIEW_ID_ONLY; - case 2: - return JOB_VIEW_MINIMAL; - case 3: - return JOB_VIEW_SMALL; - case 4: - return JOB_VIEW_FULL; - default: - return null; + case 0: return JOB_VIEW_UNSPECIFIED; + case 1: return JOB_VIEW_ID_ONLY; + case 2: return JOB_VIEW_MINIMAL; + case 3: return JOB_VIEW_SMALL; + case 4: return JOB_VIEW_FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobView findValueByNumber(int number) { - return JobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + JobView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobView findValueByNumber(int number) { + return JobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor().getEnumTypes().get(0); } private static final JobView[] VALUES = values(); - public static JobView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobView valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,3 +195,4 @@ private JobView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobView) } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java similarity index 69% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java index 832939b0ca63..0eb47dabb17a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * List companies for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesRequest} */ -public final class ListCompaniesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompaniesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListCompaniesRequest) ListCompaniesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompaniesRequest.newBuilder() to construct. private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,35 +26,32 @@ private ListCompaniesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompaniesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, - com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -81,10 +60,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +69,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -110,18 +85,17 @@ public java.lang.String getParent() {
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,14 +106,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -148,29 +119,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -181,15 +152,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -200,8 +168,6 @@ public int getPageSize() { public static final int REQUIRE_OPEN_JOBS_FIELD_NUMBER = 4; private boolean requireOpenJobs_; /** - * - * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -210,7 +176,6 @@ public int getPageSize() {
    * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ @java.lang.Override @@ -219,7 +184,6 @@ public boolean getRequireOpenJobs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,7 +195,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -260,10 +225,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (requireOpenJobs_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, requireOpenJobs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, requireOpenJobs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -273,18 +240,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListCompaniesRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListCompaniesRequest other = - (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; + com.google.cloud.talent.v4beta1.ListCompaniesRequest other = (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (getRequireOpenJobs() + != other.getRequireOpenJobs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -303,142 +273,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + REQUIRE_OPEN_JOBS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireOpenJobs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequireOpenJobs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListCompaniesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List companies for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListCompaniesRequest) com.google.cloud.talent.v4beta1.ListCompaniesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, - com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListCompaniesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override @@ -475,8 +440,7 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListCompaniesRequest result = - new com.google.cloud.talent.v4beta1.ListCompaniesRequest(this); + com.google.cloud.talent.v4beta1.ListCompaniesRequest result = new com.google.cloud.talent.v4beta1.ListCompaniesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -489,39 +453,38 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListCompaniesRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesRequest)other); } else { super.mergeFrom(other); return this; @@ -529,8 +492,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -571,37 +533,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 32: - { - requireOpenJobs_ = input.readBool(); + break; + } // case 24 + case 32: { + requireOpenJobs_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,8 +571,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -624,16 +579,14 @@ public Builder mergeFrom(
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -642,8 +595,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -652,17 +603,16 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -670,8 +620,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -680,25 +628,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -707,21 +651,16 @@ public Builder setParent(java.lang.String value) {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -730,19 +669,17 @@ public Builder clearParent() {
      * example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -750,20 +687,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -772,21 +707,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -794,77 +728,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -872,47 +796,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - private boolean requireOpenJobs_; + private boolean requireOpenJobs_ ; /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -921,7 +837,6 @@ public Builder clearPageSize() {
      * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ @java.lang.Override @@ -929,8 +844,6 @@ public boolean getRequireOpenJobs() { return requireOpenJobs_; } /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -939,19 +852,16 @@ public boolean getRequireOpenJobs() {
      * 
* * bool require_open_jobs = 4; - * * @param value The requireOpenJobs to set. * @return This builder for chaining. */ public Builder setRequireOpenJobs(boolean value) { - + requireOpenJobs_ = value; onChanged(); return this; } /** - * - * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -960,18 +870,17 @@ public Builder setRequireOpenJobs(boolean value) {
      * 
* * bool require_open_jobs = 4; - * * @return This builder for chaining. */ public Builder clearRequireOpenJobs() { - + requireOpenJobs_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -981,12 +890,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListCompaniesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesRequest) private static final com.google.cloud.talent.v4beta1.ListCompaniesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListCompaniesRequest(); } @@ -995,27 +904,27 @@ public static com.google.cloud.talent.v4beta1.ListCompaniesRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompaniesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompaniesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +939,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListCompaniesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java similarity index 65% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java index 096d1bbaa8ff..43ab2850f2ca 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface ListCompaniesRequestOrBuilder - extends +public interface ListCompaniesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListCompaniesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -34,16 +16,11 @@ public interface ListCompaniesRequestOrBuilder
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -52,56 +29,44 @@ public interface ListCompaniesRequestOrBuilder
    * example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -110,7 +75,6 @@ public interface ListCompaniesRequestOrBuilder
    * 
* * bool require_open_jobs = 4; - * * @return The requireOpenJobs. */ boolean getRequireOpenJobs(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java index 26c3309e8620..edcee578f028 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The List companies response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesResponse} */ -public final class ListCompaniesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompaniesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListCompaniesResponse) ListCompaniesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompaniesResponse.newBuilder() to construct. private ListCompaniesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompaniesResponse() { companies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListCompaniesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompaniesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, - com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); } public static final int COMPANIES_FIELD_NUMBER = 1; private java.util.List companies_; /** - * - * *
    * Companies for the current client.
    * 
@@ -84,8 +63,6 @@ public java.util.List getCompaniesList( return companies_; } /** - * - * *
    * Companies for the current client.
    * 
@@ -93,13 +70,11 @@ public java.util.List getCompaniesList( * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompaniesOrBuilderList() { return companies_; } /** - * - * *
    * Companies for the current client.
    * 
@@ -111,8 +86,6 @@ public int getCompaniesCount() { return companies_.size(); } /** - * - * *
    * Companies for the current client.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { return companies_.get(index); } /** - * - * *
    * Companies for the current client.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( + int index) { return companies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -189,15 +158,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -205,26 +171,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -238,7 +197,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +208,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < companies_.size(); i++) {
       output.writeMessage(1, companies_.get(i));
     }
@@ -270,13 +229,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < companies_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, companies_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, companies_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +247,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListCompaniesResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListCompaniesResponse other =
-        (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj;
+    com.google.cloud.talent.v4beta1.ListCompaniesResponse other = (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj;
 
-    if (!getCompaniesList().equals(other.getCompaniesList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getCompaniesList()
+        .equals(other.getCompaniesList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -327,136 +290,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.talent.v4beta1.ListCompaniesResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListCompaniesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The List companies response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListCompaniesResponse) com.google.cloud.talent.v4beta1.ListCompaniesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, - com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListCompaniesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override @@ -500,8 +456,7 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListCompaniesResponse result = - new com.google.cloud.talent.v4beta1.ListCompaniesResponse(this); + com.google.cloud.talent.v4beta1.ListCompaniesResponse result = new com.google.cloud.talent.v4beta1.ListCompaniesResponse(this); int from_bitField0_ = bitField0_; if (companiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -526,39 +481,38 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListCompaniesResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesResponse)other); } else { super.mergeFrom(other); return this; @@ -566,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance()) return this; if (companiesBuilder_ == null) { if (!other.companies_.isEmpty()) { if (companies_.isEmpty()) { @@ -586,10 +539,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesResponse o companiesBuilder_ = null; companies_ = other.companies_; bitField0_ = (bitField0_ & ~0x00000001); - companiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompaniesFieldBuilder() - : null; + companiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompaniesFieldBuilder() : null; } else { companiesBuilder_.addAllMessages(other.companies_); } @@ -628,38 +580,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.Company m = - input.readMessage( - com.google.cloud.talent.v4beta1.Company.parser(), extensionRegistry); - if (companiesBuilder_ == null) { - ensureCompaniesIsMutable(); - companies_.add(m); - } else { - companiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4beta1.Company m = + input.readMessage( + com.google.cloud.talent.v4beta1.Company.parser(), + extensionRegistry); + if (companiesBuilder_ == null) { + ensureCompaniesIsMutable(); + companies_.add(m); + } else { + companiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List companies_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> - companiesBuilder_; + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companiesBuilder_; /** - * - * *
      * Companies for the current client.
      * 
@@ -705,8 +649,6 @@ public java.util.List getCompaniesList( } } /** - * - * *
      * Companies for the current client.
      * 
@@ -721,8 +663,6 @@ public int getCompaniesCount() { } } /** - * - * *
      * Companies for the current client.
      * 
@@ -737,15 +677,14 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { } } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder setCompanies(int index, com.google.cloud.talent.v4beta1.Company value) { + public Builder setCompanies( + int index, com.google.cloud.talent.v4beta1.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -759,8 +698,6 @@ public Builder setCompanies(int index, com.google.cloud.talent.v4beta1.Company v return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -779,8 +716,6 @@ public Builder setCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -801,15 +736,14 @@ public Builder addCompanies(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder addCompanies(int index, com.google.cloud.talent.v4beta1.Company value) { + public Builder addCompanies( + int index, com.google.cloud.talent.v4beta1.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -823,15 +757,14 @@ public Builder addCompanies(int index, com.google.cloud.talent.v4beta1.Company v return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder addCompanies(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder addCompanies( + com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); companies_.add(builderForValue.build()); @@ -842,8 +775,6 @@ public Builder addCompanies(com.google.cloud.talent.v4beta1.Company.Builder buil return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -862,8 +793,6 @@ public Builder addCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -874,7 +803,8 @@ public Builder addAllCompanies( java.lang.Iterable values) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, companies_); onChanged(); } else { companiesBuilder_.addAllMessages(values); @@ -882,8 +812,6 @@ public Builder addAllCompanies( return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -901,8 +829,6 @@ public Builder clearCompanies() { return this; } /** - * - * *
      * Companies for the current client.
      * 
@@ -920,44 +846,39 @@ public Builder removeCompanies(int index) { return this; } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.Company.Builder getCompaniesBuilder(int index) { + public com.google.cloud.talent.v4beta1.Company.Builder getCompaniesBuilder( + int index) { return getCompaniesFieldBuilder().getBuilder(index); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( + int index) { if (companiesBuilder_ == null) { - return companies_.get(index); - } else { + return companies_.get(index); } else { return companiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public java.util.List - getCompaniesOrBuilderList() { + public java.util.List + getCompaniesOrBuilderList() { if (companiesBuilder_ != null) { return companiesBuilder_.getMessageOrBuilderList(); } else { @@ -965,8 +886,6 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(in } } /** - * - * *
      * Companies for the current client.
      * 
@@ -974,48 +893,42 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(in * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder() { - return getCompaniesFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); + return getCompaniesFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder(int index) { - return getCompaniesFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder( + int index) { + return getCompaniesFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); } /** - * - * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public java.util.List - getCompaniesBuilderList() { + public java.util.List + getCompaniesBuilderList() { return getCompaniesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompaniesFieldBuilder() { if (companiesBuilder_ == null) { - companiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + companiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + companies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); companies_ = null; } return companiesBuilder_; @@ -1023,20 +936,18 @@ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1045,21 +956,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1067,61 +977,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1129,49 +1032,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1193,8 +1083,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1214,8 +1102,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1227,9 +1113,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1241,8 +1125,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1262,8 +1144,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1272,13 +1152,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1290,14 +1168,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1306,24 +1181,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1333,12 +1205,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
   private static final com.google.cloud.talent.v4beta1.ListCompaniesResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListCompaniesResponse();
   }
@@ -1347,27 +1219,27 @@ public static com.google.cloud.talent.v4beta1.ListCompaniesResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListCompaniesResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListCompaniesResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1382,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListCompaniesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
index 86c1666558af..833e6f8a0c9c 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListCompaniesResponseOrBuilder
-    extends
+public interface ListCompaniesResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListCompaniesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - java.util.List getCompaniesList(); + java.util.List + getCompaniesList(); /** - * - * *
    * Companies for the current client.
    * 
@@ -44,8 +25,6 @@ public interface ListCompaniesResponseOrBuilder */ com.google.cloud.talent.v4beta1.Company getCompanies(int index); /** - * - * *
    * Companies for the current client.
    * 
@@ -54,81 +33,65 @@ public interface ListCompaniesResponseOrBuilder */ int getCompaniesCount(); /** - * - * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - java.util.List + java.util.List getCompaniesOrBuilderList(); /** - * - * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index); + com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
similarity index 74%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
index 3300d0382f9f..1c5e06c955bf 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsRequest} */ -public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListJobsRequest) ListJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsRequest() { parent_ = ""; filter_ = ""; @@ -46,35 +28,32 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsRequest.class, - com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsRequest.class, com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -82,10 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -94,15 +70,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -110,18 +85,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,8 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -155,7 +127,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ @java.lang.Override @@ -164,15 +135,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -194,15 +164,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -213,14 +184,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,29 +197,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -262,8 +230,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -272,7 +238,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -283,8 +248,6 @@ public int getPageSize() { public static final int JOB_VIEW_FIELD_NUMBER = 5; private int jobView_; /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -292,16 +255,12 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -309,19 +268,15 @@ public int getJobViewValue() {
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The jobView. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.JobView getJobView() { + @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = - com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,7 +288,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,10 +324,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (jobView_ != com.google.cloud.talent.v4beta1.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, jobView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, jobView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -381,18 +339,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListJobsRequest other = - (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + com.google.cloud.talent.v4beta1.ListJobsRequest other = (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (jobView_ != other.jobView_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -420,136 +381,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListJobsRequest) com.google.cloud.talent.v4beta1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsRequest.class, - com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsRequest.class, com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override @@ -588,8 +543,7 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListJobsRequest result = - new com.google.cloud.talent.v4beta1.ListJobsRequest(this); + com.google.cloud.talent.v4beta1.ListJobsRequest result = new com.google.cloud.talent.v4beta1.ListJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageToken_ = pageToken_; @@ -603,39 +557,38 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -643,8 +596,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -689,43 +641,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 40: - { - jobView_ = input.readEnum(); + break; + } // case 32 + case 40: { + jobView_ = input.readEnum(); - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -738,8 +684,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -747,16 +691,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -765,8 +707,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -774,17 +714,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -792,8 +731,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -801,25 +738,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -827,21 +760,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -849,19 +777,17 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -869,8 +795,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -892,13 +816,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -907,8 +831,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -930,14 +852,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -945,8 +868,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -968,22 +889,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -1005,18 +924,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -1038,16 +954,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1055,20 +971,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1077,21 +991,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1099,70 +1012,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting point of a query result.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1171,7 +1075,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1179,8 +1082,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1189,19 +1090,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1210,11 +1108,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1222,8 +1119,6 @@ public Builder clearPageSize() { private int jobView_ = 0; /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1231,16 +1126,12 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1248,19 +1139,16 @@ public int getJobViewValue() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1268,19 +1156,15 @@ public Builder setJobViewValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = - com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1288,7 +1172,6 @@ public com.google.cloud.talent.v4beta1.JobView getJobView() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @param value The jobView to set. * @return This builder for chaining. */ @@ -1296,14 +1179,12 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1311,18 +1192,17 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1332,12 +1212,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListJobsRequest) private static final com.google.cloud.talent.v4beta1.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListJobsRequest(); } @@ -1346,27 +1226,27 @@ public static com.google.cloud.talent.v4beta1.ListJobsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1381,4 +1261,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java index e69c59d4f373..7ddddf3afde0 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface ListJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,17 +27,13 @@ public interface ListJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -82,13 +55,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -110,39 +80,32 @@ public interface ListJobsRequestOrBuilder
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting point of a query result.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -151,14 +114,11 @@ public interface ListJobsRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -166,13 +126,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** - * - * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -180,7 +137,6 @@ public interface ListJobsRequestOrBuilder
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; - * * @return The jobView. */ com.google.cloud.talent.v4beta1.JobView getJobView(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java similarity index 73% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java index 29ac567dc666..f73a0801cec4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsResponse} */ -public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListJobsResponse) ListJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsResponse.class, - com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsResponse.class, com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -86,8 +65,6 @@ public java.util.List getJobsList() {
     return jobs_;
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -97,13 +74,11 @@ public java.util.List getJobsList() {
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getJobsOrBuilderList() {
     return jobs_;
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -117,8 +92,6 @@ public int getJobsCount() {
     return jobs_.size();
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -132,8 +105,6 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
     return jobs_.get(index);
   }
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -143,21 +114,19 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) {
+  public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
+      int index) {
     return jobs_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -166,29 +135,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -199,15 +168,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -215,26 +181,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -248,7 +207,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -260,7 +218,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < jobs_.size(); i++) {
       output.writeMessage(1, jobs_.get(i));
     }
@@ -280,13 +239,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, jobs_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -296,19 +257,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListJobsResponse other =
-        (com.google.cloud.talent.v4beta1.ListJobsResponse) obj;
+    com.google.cloud.talent.v4beta1.ListJobsResponse other = (com.google.cloud.talent.v4beta1.ListJobsResponse) obj;
 
-    if (!getJobsList().equals(other.getJobsList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getJobsList()
+        .equals(other.getJobsList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -336,136 +299,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * List jobs response.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListJobsResponse) com.google.cloud.talent.v4beta1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsResponse.class, - com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsResponse.class, com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override @@ -509,8 +466,7 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListJobsResponse result = - new com.google.cloud.talent.v4beta1.ListJobsResponse(this); + com.google.cloud.talent.v4beta1.ListJobsResponse result = new com.google.cloud.talent.v4beta1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -535,39 +491,38 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -575,8 +530,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance()) return this; if (jobsBuilder_ == null) { if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { @@ -595,10 +549,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsResponse other) jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -637,38 +590,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -678,28 +630,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -716,8 +661,6 @@ public java.util.List getJobsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -734,8 +677,6 @@ public int getJobsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -752,8 +693,6 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -762,7 +701,8 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
+    public Builder setJobs(
+        int index, com.google.cloud.talent.v4beta1.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -776,8 +716,6 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -786,7 +724,8 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder setJobs(
+        int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.set(index, builderForValue.build());
@@ -797,8 +736,6 @@ public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -821,8 +758,6 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -831,7 +766,8 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
+    public Builder addJobs(
+        int index, com.google.cloud.talent.v4beta1.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -845,8 +781,6 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -855,7 +789,8 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder addJobs(
+        com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(builderForValue.build());
@@ -866,8 +801,6 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -876,7 +809,8 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForVal
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder addJobs(
+        int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(index, builderForValue.build());
@@ -887,8 +821,6 @@ public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -901,7 +833,8 @@ public Builder addAllJobs(
         java.lang.Iterable values) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, jobs_);
         onChanged();
       } else {
         jobsBuilder_.addAllMessages(values);
@@ -909,8 +842,6 @@ public Builder addAllJobs(
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -930,8 +861,6 @@ public Builder clearJobs() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -951,8 +880,6 @@ public Builder removeJobs(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -961,12 +888,11 @@ public Builder removeJobs(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) {
+    public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(
+        int index) {
       return getJobsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -975,16 +901,14 @@ public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) {
+    public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
+        int index) {
       if (jobsBuilder_ == null) {
-        return jobs_.get(index);
-      } else {
+        return jobs_.get(index);  } else {
         return jobsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -993,8 +917,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index)
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public java.util.List
-        getJobsOrBuilderList() {
+    public java.util.List 
+         getJobsOrBuilderList() {
       if (jobsBuilder_ != null) {
         return jobsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1002,8 +926,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1013,12 +935,10 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index)
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
     public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() {
-      return getJobsFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
+      return getJobsFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1027,13 +947,12 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) {
-      return getJobsFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
+    public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
+        int index) {
+      return getJobsFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -1042,22 +961,20 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public java.util.List getJobsBuilderList() {
+    public java.util.List 
+         getJobsBuilderList() {
       return getJobsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.Job,
-            com.google.cloud.talent.v4beta1.Job.Builder,
-            com.google.cloud.talent.v4beta1.JobOrBuilder>
+        com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> 
         getJobsFieldBuilder() {
       if (jobsBuilder_ == null) {
-        jobsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.Job,
-                com.google.cloud.talent.v4beta1.Job.Builder,
-                com.google.cloud.talent.v4beta1.JobOrBuilder>(
-                jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>(
+                jobs_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         jobs_ = null;
       }
       return jobsBuilder_;
@@ -1065,20 +982,18 @@ public java.util.List getJobsBuilde
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1087,21 +1002,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1109,61 +1023,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1171,49 +1078,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1235,8 +1129,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1256,8 +1148,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1269,9 +1159,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1283,8 +1171,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1304,8 +1190,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1314,13 +1198,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1332,14 +1214,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1348,24 +1227,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1375,12 +1251,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListJobsResponse)
   private static final com.google.cloud.talent.v4beta1.ListJobsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListJobsResponse();
   }
@@ -1389,27 +1265,27 @@ public static com.google.cloud.talent.v4beta1.ListJobsResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListJobsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListJobsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1424,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
similarity index 76%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
index 87828719eaf9..2510362a948d 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListJobsResponseOrBuilder
-    extends
+public interface ListJobsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -34,10 +16,9 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  java.util.List getJobsList();
+  java.util.List 
+      getJobsList();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -48,8 +29,6 @@ public interface ListJobsResponseOrBuilder
    */
   com.google.cloud.talent.v4beta1.Job getJobs(int index);
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -60,8 +39,6 @@ public interface ListJobsResponseOrBuilder
    */
   int getJobsCount();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -70,10 +47,9 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  java.util.List getJobsOrBuilderList();
+  java.util.List 
+      getJobsOrBuilderList();
   /**
-   *
-   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -82,62 +58,50 @@ public interface ListJobsResponseOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index);
+  com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
similarity index 66%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
index ffe0578c83e4..6c56c0036282 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * List tenants for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsRequest} */ -public final class ListTenantsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTenantsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListTenantsRequest) ListTenantsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTenantsRequest.newBuilder() to construct. private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,39 @@ private ListTenantsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTenantsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsRequest.class, - com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsRequest.class, com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,33 +67,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,14 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -144,29 +115,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -177,15 +148,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -194,7 +162,6 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -232,7 +200,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -242,17 +211,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListTenantsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListTenantsRequest other = - (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; + com.google.cloud.talent.v4beta1.ListTenantsRequest other = (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -276,135 +247,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListTenantsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * List tenants for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListTenantsRequest) com.google.cloud.talent.v4beta1.ListTenantsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsRequest.class, - com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsRequest.class, com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListTenantsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override @@ -439,8 +404,7 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListTenantsRequest result = - new com.google.cloud.talent.v4beta1.ListTenantsRequest(this); + com.google.cloud.talent.v4beta1.ListTenantsRequest result = new com.google.cloud.talent.v4beta1.ListTenantsRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -452,39 +416,38 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListTenantsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsRequest)other); } else { super.mergeFrom(other); return this; @@ -492,8 +455,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -531,31 +493,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,24 +526,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -594,25 +548,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -620,73 +571,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,20 +632,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -716,21 +652,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -738,77 +673,67 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -816,45 +741,39 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -864,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListTenantsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListTenantsRequest) private static final com.google.cloud.talent.v4beta1.ListTenantsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListTenantsRequest(); } @@ -878,27 +797,27 @@ public static com.google.cloud.talent.v4beta1.ListTenantsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTenantsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTenantsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -913,4 +832,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListTenantsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java similarity index 56% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java index 4d7c89a12ac6..a0142ebe9a5d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java @@ -1,96 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; -public interface ListTenantsRequestOrBuilder - extends +public interface ListTenantsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListTenantsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java similarity index 72% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java index 6f225bf4fe47..2c4dcbc255e4 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The List tenants response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsResponse} */ -public final class ListTenantsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTenantsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListTenantsResponse) ListTenantsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTenantsResponse.newBuilder() to construct. private ListTenantsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTenantsResponse() { tenants_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListTenantsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTenantsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsResponse.class, - com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsResponse.class, com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); } public static final int TENANTS_FIELD_NUMBER = 1; private java.util.List tenants_; /** - * - * *
    * Tenants for the current client.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTenantsList() { return tenants_; } /** - * - * *
    * Tenants for the current client.
    * 
@@ -93,13 +70,11 @@ public java.util.List getTenantsList() { * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTenantsOrBuilderList() { return tenants_; } /** - * - * *
    * Tenants for the current client.
    * 
@@ -111,8 +86,6 @@ public int getTenantsCount() { return tenants_.size(); } /** - * - * *
    * Tenants for the current client.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { return tenants_.get(index); } /** - * - * *
    * Tenants for the current client.
    * 
@@ -133,21 +104,19 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( + int index) { return tenants_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +125,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -189,15 +158,12 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -205,26 +171,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -238,7 +197,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +208,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < tenants_.size(); i++) {
       output.writeMessage(1, tenants_.get(i));
     }
@@ -270,13 +229,15 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < tenants_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tenants_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, tenants_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -286,19 +247,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListTenantsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListTenantsResponse other =
-        (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj;
+    com.google.cloud.talent.v4beta1.ListTenantsResponse other = (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj;
 
-    if (!getTenantsList().equals(other.getTenantsList())) return false;
-    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+    if (!getTenantsList()
+        .equals(other.getTenantsList())) return false;
+    if (!getNextPageToken()
+        .equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -327,135 +290,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListTenantsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The List tenants response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListTenantsResponse) com.google.cloud.talent.v4beta1.ListTenantsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsResponse.class, - com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsResponse.class, com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListTenantsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override @@ -499,8 +456,7 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListTenantsResponse result = - new com.google.cloud.talent.v4beta1.ListTenantsResponse(this); + com.google.cloud.talent.v4beta1.ListTenantsResponse result = new com.google.cloud.talent.v4beta1.ListTenantsResponse(this); int from_bitField0_ = bitField0_; if (tenantsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +481,38 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListTenantsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsResponse)other); } else { super.mergeFrom(other); return this; @@ -565,8 +520,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance()) return this; if (tenantsBuilder_ == null) { if (!other.tenants_.isEmpty()) { if (tenants_.isEmpty()) { @@ -585,10 +539,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsResponse oth tenantsBuilder_ = null; tenants_ = other.tenants_; bitField0_ = (bitField0_ & ~0x00000001); - tenantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTenantsFieldBuilder() - : null; + tenantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTenantsFieldBuilder() : null; } else { tenantsBuilder_.addAllMessages(other.tenants_); } @@ -627,38 +580,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.Tenant m = - input.readMessage( - com.google.cloud.talent.v4beta1.Tenant.parser(), extensionRegistry); - if (tenantsBuilder_ == null) { - ensureTenantsIsMutable(); - tenants_.add(m); - } else { - tenantsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4beta1.Tenant m = + input.readMessage( + com.google.cloud.talent.v4beta1.Tenant.parser(), + extensionRegistry); + if (tenantsBuilder_ == null) { + ensureTenantsIsMutable(); + tenants_.add(m); + } else { + tenantsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -668,28 +620,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List tenants_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTenantsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> - tenantsBuilder_; + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantsBuilder_; /** - * - * *
      * Tenants for the current client.
      * 
@@ -704,8 +649,6 @@ public java.util.List getTenantsList() { } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -720,8 +663,6 @@ public int getTenantsCount() { } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -736,15 +677,14 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { } } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder setTenants(int index, com.google.cloud.talent.v4beta1.Tenant value) { + public Builder setTenants( + int index, com.google.cloud.talent.v4beta1.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -758,8 +698,6 @@ public Builder setTenants(int index, com.google.cloud.talent.v4beta1.Tenant valu return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -778,8 +716,6 @@ public Builder setTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -800,15 +736,14 @@ public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder addTenants(int index, com.google.cloud.talent.v4beta1.Tenant value) { + public Builder addTenants( + int index, com.google.cloud.talent.v4beta1.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -822,15 +757,14 @@ public Builder addTenants(int index, com.google.cloud.talent.v4beta1.Tenant valu return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder addTenants( + com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); tenants_.add(builderForValue.build()); @@ -841,8 +775,6 @@ public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant.Builder builder return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -861,8 +793,6 @@ public Builder addTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -873,7 +803,8 @@ public Builder addAllTenants( java.lang.Iterable values) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tenants_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tenants_); onChanged(); } else { tenantsBuilder_.addAllMessages(values); @@ -881,8 +812,6 @@ public Builder addAllTenants( return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -900,8 +829,6 @@ public Builder clearTenants() { return this; } /** - * - * *
      * Tenants for the current client.
      * 
@@ -919,44 +846,39 @@ public Builder removeTenants(int index) { return this; } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantsBuilder(int index) { + public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantsBuilder( + int index) { return getTenantsFieldBuilder().getBuilder(index); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( + int index) { if (tenantsBuilder_ == null) { - return tenants_.get(index); - } else { + return tenants_.get(index); } else { return tenantsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public java.util.List - getTenantsOrBuilderList() { + public java.util.List + getTenantsOrBuilderList() { if (tenantsBuilder_ != null) { return tenantsBuilder_.getMessageOrBuilderList(); } else { @@ -964,8 +886,6 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int i } } /** - * - * *
      * Tenants for the current client.
      * 
@@ -973,47 +893,42 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int i * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder() { - return getTenantsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); + return getTenantsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder(int index) { - return getTenantsFieldBuilder() - .addBuilder(index, com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder( + int index) { + return getTenantsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); } /** - * - * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public java.util.List getTenantsBuilderList() { + public java.util.List + getTenantsBuilderList() { return getTenantsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantsFieldBuilder() { if (tenantsBuilder_ == null) { - tenantsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder>( - tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tenantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( + tenants_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tenants_ = null; } return tenantsBuilder_; @@ -1021,20 +936,18 @@ public java.util.List getTenants private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1043,21 +956,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1065,61 +977,54 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1127,49 +1032,36 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1191,8 +1083,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1212,8 +1102,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1225,9 +1113,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1239,8 +1125,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1260,8 +1144,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1270,13 +1152,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1288,14 +1168,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1304,24 +1181,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1331,12 +1205,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListTenantsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListTenantsResponse)
   private static final com.google.cloud.talent.v4beta1.ListTenantsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListTenantsResponse();
   }
@@ -1345,27 +1219,27 @@ public static com.google.cloud.talent.v4beta1.ListTenantsResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ListTenantsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ListTenantsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1380,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListTenantsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
similarity index 73%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
index f85274fe444f..3890d1fc12d0 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListTenantsResponseOrBuilder
-    extends
+public interface ListTenantsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListTenantsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - java.util.List getTenantsList(); + java.util.List + getTenantsList(); /** - * - * *
    * Tenants for the current client.
    * 
@@ -44,8 +25,6 @@ public interface ListTenantsResponseOrBuilder */ com.google.cloud.talent.v4beta1.Tenant getTenants(int index); /** - * - * *
    * Tenants for the current client.
    * 
@@ -54,81 +33,65 @@ public interface ListTenantsResponseOrBuilder */ int getTenantsCount(); /** - * - * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - java.util.List + java.util.List getTenantsOrBuilderList(); /** - * - * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index); + com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
similarity index 75%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
index df25288ace66..6c2432747876 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
@@ -1,85 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * A resource that represents a location with full geographic information.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Location} */ -public final class Location extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Location extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Location) LocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Location() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Location.class, - com.google.cloud.talent.v4beta1.Location.Builder.class); + com.google.cloud.talent.v4beta1.Location.class, com.google.cloud.talent.v4beta1.Location.Builder.class); } /** - * - * *
    * An enum which represents the type of a location.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.Location.LocationType} */ - public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value if the type isn't specified.
      * 
@@ -88,8 +66,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * A country level location.
      * 
@@ -98,8 +74,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ COUNTRY(1), /** - * - * *
      * A state or equivalent level location.
      * 
@@ -108,8 +82,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ ADMINISTRATIVE_AREA(2), /** - * - * *
      * A county or equivalent level location.
      * 
@@ -118,8 +90,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_ADMINISTRATIVE_AREA(3), /** - * - * *
      * A city or equivalent level location.
      * 
@@ -128,8 +98,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCALITY(4), /** - * - * *
      * A postal code level location.
      * 
@@ -138,8 +106,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ POSTAL_CODE(5), /** - * - * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -152,8 +118,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUB_LOCALITY(6),
     /**
-     *
-     *
      * 
      * A district or equivalent level location.
      * 
@@ -162,8 +126,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_LOCALITY_1(7), /** - * - * *
      * A smaller district or equivalent level display.
      * 
@@ -172,8 +134,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ SUB_LOCALITY_2(8), /** - * - * *
      * A neighborhood level location.
      * 
@@ -182,8 +142,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ NEIGHBORHOOD(9), /** - * - * *
      * A street address level location.
      * 
@@ -195,8 +153,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value if the type isn't specified.
      * 
@@ -205,8 +161,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A country level location.
      * 
@@ -215,8 +169,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COUNTRY_VALUE = 1; /** - * - * *
      * A state or equivalent level location.
      * 
@@ -225,8 +177,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADMINISTRATIVE_AREA_VALUE = 2; /** - * - * *
      * A county or equivalent level location.
      * 
@@ -235,8 +185,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_ADMINISTRATIVE_AREA_VALUE = 3; /** - * - * *
      * A city or equivalent level location.
      * 
@@ -245,8 +193,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCALITY_VALUE = 4; /** - * - * *
      * A postal code level location.
      * 
@@ -255,8 +201,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTAL_CODE_VALUE = 5; /** - * - * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -269,8 +213,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUB_LOCALITY_VALUE = 6;
     /**
-     *
-     *
      * 
      * A district or equivalent level location.
      * 
@@ -279,8 +221,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_LOCALITY_1_VALUE = 7; /** - * - * *
      * A smaller district or equivalent level display.
      * 
@@ -289,8 +229,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUB_LOCALITY_2_VALUE = 8; /** - * - * *
      * A neighborhood level location.
      * 
@@ -299,8 +237,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEIGHBORHOOD_VALUE = 9; /** - * - * *
      * A street address level location.
      * 
@@ -309,6 +245,7 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STREET_ADDRESS_VALUE = 10; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -333,65 +270,57 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: - return LOCATION_TYPE_UNSPECIFIED; - case 1: - return COUNTRY; - case 2: - return ADMINISTRATIVE_AREA; - case 3: - return SUB_ADMINISTRATIVE_AREA; - case 4: - return LOCALITY; - case 5: - return POSTAL_CODE; - case 6: - return SUB_LOCALITY; - case 7: - return SUB_LOCALITY_1; - case 8: - return SUB_LOCALITY_2; - case 9: - return NEIGHBORHOOD; - case 10: - return STREET_ADDRESS; - default: - return null; + case 0: return LOCATION_TYPE_UNSPECIFIED; + case 1: return COUNTRY; + case 2: return ADMINISTRATIVE_AREA; + case 3: return SUB_ADMINISTRATIVE_AREA; + case 4: return LOCALITY; + case 5: return POSTAL_CODE; + case 6: return SUB_LOCALITY; + case 7: return SUB_LOCALITY_1; + case 8: return SUB_LOCALITY_2; + case 9: return NEIGHBORHOOD; + case 10: return STREET_ADDRESS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LocationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -411,8 +340,6 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_; /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -421,16 +348,12 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -439,24 +362,17 @@ public int getLocationTypeValue() {
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The locationType. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Location.LocationType result = - com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); - return result == null - ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.Location.LocationType result = com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); + return result == null ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED : result; } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 2; private com.google.type.PostalAddress postalAddress_; /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -465,7 +381,6 @@ public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() {
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -473,8 +388,6 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -483,18 +396,13 @@ public boolean hasPostalAddress() {
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -512,14 +420,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
   public static final int LAT_LNG_FIELD_NUMBER = 3;
   private com.google.type.LatLng latLng_;
   /**
-   *
-   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -527,14 +432,11 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ @java.lang.Override @@ -542,8 +444,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
@@ -558,8 +458,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int RADIUS_MILES_FIELD_NUMBER = 4; private double radiusMiles_; /** - * - * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -570,7 +468,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ @java.lang.Override @@ -579,7 +476,6 @@ public double getRadiusMiles() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -591,10 +487,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (locationType_ - != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (locationType_ != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, locationType_); } if (postalAddress_ != null) { @@ -615,19 +510,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ - != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); + if (locationType_ != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, locationType_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPostalAddress()); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(radiusMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, radiusMiles_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, radiusMiles_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -637,7 +534,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Location)) { return super.equals(obj); @@ -647,14 +544,17 @@ public boolean equals(final java.lang.Object obj) { if (locationType_ != other.locationType_) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress().equals(other.getPostalAddress())) return false; + if (!getPostalAddress() + .equals(other.getPostalAddress())) return false; } if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng().equals(other.getLatLng())) return false; + if (!getLatLng() + .equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getRadiusMiles()) - != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; + != java.lang.Double.doubleToLongBits( + other.getRadiusMiles())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -677,145 +577,137 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + RADIUS_MILES_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRadiusMiles())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRadiusMiles())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.Location parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Location parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resource that represents a location with full geographic information.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Location} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Location) com.google.cloud.talent.v4beta1.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Location.class, - com.google.cloud.talent.v4beta1.Location.Builder.class); + com.google.cloud.talent.v4beta1.Location.class, com.google.cloud.talent.v4beta1.Location.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Location.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -839,9 +731,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override @@ -860,8 +752,7 @@ public com.google.cloud.talent.v4beta1.Location build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Location buildPartial() { - com.google.cloud.talent.v4beta1.Location result = - new com.google.cloud.talent.v4beta1.Location(this); + com.google.cloud.talent.v4beta1.Location result = new com.google.cloud.talent.v4beta1.Location(this); result.locationType_ = locationType_; if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; @@ -882,39 +773,38 @@ public com.google.cloud.talent.v4beta1.Location buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Location) { - return mergeFrom((com.google.cloud.talent.v4beta1.Location) other); + return mergeFrom((com.google.cloud.talent.v4beta1.Location)other); } else { super.mergeFrom(other); return this; @@ -961,37 +851,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - locationType_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 33: - { - radiusMiles_ = input.readDouble(); - - break; - } // case 33 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + locationType_ = input.readEnum(); + + break; + } // case 8 + case 18: { + input.readMessage( + getPostalAddressFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 33: { + radiusMiles_ = input.readDouble(); + + break; + } // case 33 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1004,8 +893,6 @@ public Builder mergeFrom( private int locationType_ = 0; /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1014,16 +901,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override - public int getLocationTypeValue() { + @java.lang.Override public int getLocationTypeValue() { return locationType_; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1032,19 +915,16 @@ public int getLocationTypeValue() {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ public Builder setLocationTypeValue(int value) { - + locationType_ = value; onChanged(); return this; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1053,21 +933,15 @@ public Builder setLocationTypeValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The locationType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Location.LocationType result = - com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); - return result == null - ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.Location.LocationType result = com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); + return result == null ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED : result; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1076,7 +950,6 @@ public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @param value The locationType to set. * @return This builder for chaining. */ @@ -1084,14 +957,12 @@ public Builder setLocationType(com.google.cloud.talent.v4beta1.Location.Location if (value == null) { throw new NullPointerException(); } - + locationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -1100,11 +971,10 @@ public Builder setLocationType(com.google.cloud.talent.v4beta1.Location.Location
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return This builder for chaining. */ public Builder clearLocationType() { - + locationType_ = 0; onChanged(); return this; @@ -1112,13 +982,8 @@ public Builder clearLocationType() { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, - com.google.type.PostalAddress.Builder, - com.google.type.PostalAddressOrBuilder> - postalAddressBuilder_; + com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1127,15 +992,12 @@ public Builder clearLocationType() {
      * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1144,21 +1006,16 @@ public boolean hasPostalAddress() {
      * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null - ? com.google.type.PostalAddress.getDefaultInstance() - : postalAddress_; + return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** - * - * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1182,8 +1039,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1193,7 +1048,8 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
      *
      * .google.type.PostalAddress postal_address = 2;
      */
-    public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) {
+    public Builder setPostalAddress(
+        com.google.type.PostalAddress.Builder builderForValue) {
       if (postalAddressBuilder_ == null) {
         postalAddress_ = builderForValue.build();
         onChanged();
@@ -1204,8 +1060,6 @@ public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1219,9 +1073,7 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       if (postalAddressBuilder_ == null) {
         if (postalAddress_ != null) {
           postalAddress_ =
-              com.google.type.PostalAddress.newBuilder(postalAddress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial();
         } else {
           postalAddress_ = value;
         }
@@ -1233,8 +1085,6 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1256,8 +1106,6 @@ public Builder clearPostalAddress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1268,13 +1116,11 @@ public Builder clearPostalAddress() {
      * .google.type.PostalAddress postal_address = 2;
      */
     public com.google.type.PostalAddress.Builder getPostalAddressBuilder() {
-
+      
       onChanged();
       return getPostalAddressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1288,14 +1134,11 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
       if (postalAddressBuilder_ != null) {
         return postalAddressBuilder_.getMessageOrBuilder();
       } else {
-        return postalAddress_ == null
-            ? com.google.type.PostalAddress.getDefaultInstance()
-            : postalAddress_;
+        return postalAddress_ == null ?
+            com.google.type.PostalAddress.getDefaultInstance() : postalAddress_;
       }
     }
     /**
-     *
-     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1306,17 +1149,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
      * .google.type.PostalAddress postal_address = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.PostalAddress,
-            com.google.type.PostalAddress.Builder,
-            com.google.type.PostalAddressOrBuilder>
+        com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> 
         getPostalAddressFieldBuilder() {
       if (postalAddressBuilder_ == null) {
-        postalAddressBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.PostalAddress,
-                com.google.type.PostalAddress.Builder,
-                com.google.type.PostalAddressOrBuilder>(
-                getPostalAddress(), getParentForChildren(), isClean());
+        postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>(
+                getPostalAddress(),
+                getParentForChildren(),
+                isClean());
         postalAddress_ = null;
       }
       return postalAddressBuilder_;
@@ -1324,31 +1164,24 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
 
     private com.google.type.LatLng latLng_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
-        latLngBuilder_;
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_;
     /**
-     *
-     *
      * 
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1359,8 +1192,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1381,15 +1212,14 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; */ - public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng( + com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -1400,8 +1230,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1411,7 +1239,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = + com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -1423,8 +1252,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1443,8 +1270,6 @@ public Builder clearLatLng() { return this; } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1452,13 +1277,11 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 3; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1469,12 +1292,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? + com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** - * - * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1482,23 +1304,21 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); + latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + getLatLng(), + getParentForChildren(), + isClean()); latLng_ = null; } return latLngBuilder_; } - private double radiusMiles_; + private double radiusMiles_ ; /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1509,7 +1329,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ @java.lang.Override @@ -1517,8 +1336,6 @@ public double getRadiusMiles() { return radiusMiles_; } /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1529,19 +1346,16 @@ public double getRadiusMiles() {
      * 
* * double radius_miles = 4; - * * @param value The radiusMiles to set. * @return This builder for chaining. */ public Builder setRadiusMiles(double value) { - + radiusMiles_ = value; onChanged(); return this; } /** - * - * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1552,18 +1366,17 @@ public Builder setRadiusMiles(double value) {
      * 
* * double radius_miles = 4; - * * @return This builder for chaining. */ public Builder clearRadiusMiles() { - + radiusMiles_ = 0D; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1573,12 +1386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Location) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Location) private static final com.google.cloud.talent.v4beta1.Location DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Location(); } @@ -1587,27 +1400,27 @@ public static com.google.cloud.talent.v4beta1.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1622,4 +1435,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java index eeabbd6d6d1c..1b33e78e344c 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Geographic region of the search.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.LocationFilter} */ -public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LocationFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.LocationFilter) LocationFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LocationFilter.newBuilder() to construct. private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LocationFilter() { address_ = ""; regionCode_ = ""; @@ -45,43 +27,39 @@ private LocationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LocationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.LocationFilter.class, - com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); + com.google.cloud.talent.v4beta1.LocationFilter.class, com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); } /** - * - * *
    * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference} */ - public enum TelecommutePreference implements com.google.protobuf.ProtocolMessageEnum { + public enum TelecommutePreference + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -90,8 +68,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ TELECOMMUTE_PREFERENCE_UNSPECIFIED(0), /** - * - * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -102,8 +78,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
     @java.lang.Deprecated
     TELECOMMUTE_EXCLUDED(1),
     /**
-     *
-     *
      * 
      * Allow telecommute jobs.
      * 
@@ -112,8 +86,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ TELECOMMUTE_ALLOWED(2), /** - * - * *
      * Exclude telecommute jobs.
      * 
@@ -125,8 +97,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage ; /** - * - * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -135,8 +105,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_PREFERENCE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -146,8 +114,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage
      */
     @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Allow telecommute jobs.
      * 
@@ -156,8 +122,6 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; /** - * - * *
      * Exclude telecommute jobs.
      * 
@@ -166,6 +130,7 @@ public enum TelecommutePreference implements com.google.protobuf.ProtocolMessage */ public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -190,16 +155,11 @@ public static TelecommutePreference valueOf(int value) { */ public static TelecommutePreference forNumber(int value) { switch (value) { - case 0: - return TELECOMMUTE_PREFERENCE_UNSPECIFIED; - case 1: - return TELECOMMUTE_EXCLUDED; - case 2: - return TELECOMMUTE_ALLOWED; - case 3: - return TELECOMMUTE_JOBS_EXCLUDED; - default: - return null; + case 0: return TELECOMMUTE_PREFERENCE_UNSPECIFIED; + case 1: return TELECOMMUTE_EXCLUDED; + case 2: return TELECOMMUTE_ALLOWED; + case 3: return TELECOMMUTE_JOBS_EXCLUDED; + default: return null; } } @@ -207,28 +167,28 @@ public static TelecommutePreference forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TelecommutePreference> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TelecommutePreference findValueByNumber(int number) { + return TelecommutePreference.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TelecommutePreference findValueByNumber(int number) { - return TelecommutePreference.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.talent.v4beta1.LocationFilter.getDescriptor().getEnumTypes().get(0); } @@ -237,7 +197,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TelecommutePreference valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -257,14 +218,11 @@ private TelecommutePreference(int value) { public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The address. */ @java.lang.Override @@ -273,29 +231,29 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString getAddressBytes() { + public com.google.protobuf.ByteString + getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); address_ = b; return b; } else { @@ -306,8 +264,6 @@ public com.google.protobuf.ByteString getAddressBytes() { public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -324,7 +280,6 @@ public com.google.protobuf.ByteString getAddressBytes() {
    * 
* * string region_code = 2; - * * @return The regionCode. */ @java.lang.Override @@ -333,15 +288,14 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -358,15 +312,16 @@ public java.lang.String getRegionCode() {
    * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -377,15 +332,12 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { public static final int LAT_LNG_FIELD_NUMBER = 3; private com.google.type.LatLng latLng_; /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ @java.lang.Override @@ -393,15 +345,12 @@ public boolean hasLatLng() { return latLng_ != null; } /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ @java.lang.Override @@ -409,8 +358,6 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -426,8 +373,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
   public static final int DISTANCE_IN_MILES_FIELD_NUMBER = 4;
   private double distanceInMiles_;
   /**
-   *
-   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -435,7 +380,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ @java.lang.Override @@ -446,8 +390,6 @@ public double getDistanceInMiles() { public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER = 5; private int telecommutePreference_; /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -469,19 +411,13 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override - public int getTelecommutePreferenceValue() { + @java.lang.Override public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -503,36 +439,24 @@ public int getTelecommutePreferenceValue() {
    * This field is only used for job search requests.
    * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference - getTelecommutePreference() { + @java.lang.Override public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf( - telecommutePreference_); - return result == null - ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); + return result == null ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; } public static final int NEGATED_FIELD_NUMBER = 6; private boolean negated_; /** - * - * *
    * Whether to apply negation to the filter so profiles matching the filter
    * are excluded.
    * 
* * bool negated = 6; - * * @return The negated. */ @java.lang.Override @@ -541,7 +465,6 @@ public boolean getNegated() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -553,7 +476,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -566,10 +490,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { output.writeDouble(4, distanceInMiles_); } - if (telecommutePreference_ - != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference - .TELECOMMUTE_PREFERENCE_UNSPECIFIED - .getNumber()) { + if (telecommutePreference_ != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { output.writeEnum(5, telecommutePreference_); } if (negated_ != false) { @@ -591,19 +512,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, distanceInMiles_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, distanceInMiles_); } - if (telecommutePreference_ - != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference - .TELECOMMUTE_PREFERENCE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, telecommutePreference_); + if (telecommutePreference_ != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, telecommutePreference_); } if (negated_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, negated_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, negated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -613,24 +535,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.LocationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.LocationFilter other = - (com.google.cloud.talent.v4beta1.LocationFilter) obj; + com.google.cloud.talent.v4beta1.LocationFilter other = (com.google.cloud.talent.v4beta1.LocationFilter) obj; - if (!getAddress().equals(other.getAddress())) return false; - if (!getRegionCode().equals(other.getRegionCode())) return false; + if (!getAddress() + .equals(other.getAddress())) return false; + if (!getRegionCode() + .equals(other.getRegionCode())) return false; if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng().equals(other.getLatLng())) return false; + if (!getLatLng() + .equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; + != java.lang.Double.doubleToLongBits( + other.getDistanceInMiles())) return false; if (telecommutePreference_ != other.telecommutePreference_) return false; - if (getNegated() != other.getNegated()) return false; + if (getNegated() + != other.getNegated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -651,149 +577,142 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + DISTANCE_IN_MILES_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistanceInMiles())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistanceInMiles())); hash = (37 * hash) + TELECOMMUTE_PREFERENCE_FIELD_NUMBER; hash = (53 * hash) + telecommutePreference_; hash = (37 * hash) + NEGATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getNegated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.LocationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Geographic region of the search.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.LocationFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.LocationFilter) com.google.cloud.talent.v4beta1.LocationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.LocationFilter.class, - com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); + com.google.cloud.talent.v4beta1.LocationFilter.class, com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.LocationFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -817,9 +736,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto - .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override @@ -838,8 +757,7 @@ public com.google.cloud.talent.v4beta1.LocationFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { - com.google.cloud.talent.v4beta1.LocationFilter result = - new com.google.cloud.talent.v4beta1.LocationFilter(this); + com.google.cloud.talent.v4beta1.LocationFilter result = new com.google.cloud.talent.v4beta1.LocationFilter(this); result.address_ = address_; result.regionCode_ = regionCode_; if (latLngBuilder_ == null) { @@ -858,39 +776,38 @@ public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.LocationFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.LocationFilter) other); + return mergeFrom((com.google.cloud.talent.v4beta1.LocationFilter)other); } else { super.mergeFrom(other); return this; @@ -945,49 +862,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - address_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 33: - { - distanceInMiles_ = input.readDouble(); - - break; - } // case 33 - case 40: - { - telecommutePreference_ = input.readEnum(); - - break; - } // case 40 - case 48: - { - negated_ = input.readBool(); - - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + address_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + regionCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getLatLngFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 33: { + distanceInMiles_ = input.readDouble(); + + break; + } // case 33 + case 40: { + telecommutePreference_ = input.readEnum(); + + break; + } // case 40 + case 48: { + negated_ = input.readBool(); + + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1000,20 +912,18 @@ public Builder mergeFrom( private java.lang.Object address_ = ""; /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -1022,21 +932,20 @@ public java.lang.String getAddress() { } } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return The bytes for address. */ - public com.google.protobuf.ByteString getAddressBytes() { + public com.google.protobuf.ByteString + getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); address_ = b; return b; } else { @@ -1044,61 +953,54 @@ public com.google.protobuf.ByteString getAddressBytes() { } } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress(java.lang.String value) { + public Builder setAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + address_ = value; onChanged(); return this; } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @return This builder for chaining. */ public Builder clearAddress() { - + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** - * - * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; - * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes(com.google.protobuf.ByteString value) { + public Builder setAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + address_ = value; onChanged(); return this; @@ -1106,8 +1008,6 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) { private java.lang.Object regionCode_ = ""; /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1124,13 +1024,13 @@ public Builder setAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * string region_code = 2; - * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1139,8 +1039,6 @@ public java.lang.String getRegionCode() { } } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1157,14 +1055,15 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString getRegionCodeBytes() { + public com.google.protobuf.ByteString + getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1172,8 +1071,6 @@ public com.google.protobuf.ByteString getRegionCodeBytes() { } } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1190,22 +1087,20 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
      * 
* * string region_code = 2; - * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode(java.lang.String value) { + public Builder setRegionCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1222,18 +1117,15 @@ public Builder setRegionCode(java.lang.String value) {
      * 
* * string region_code = 2; - * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** - * - * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1250,16 +1142,16 @@ public Builder clearRegionCode() {
      * 
* * string region_code = 2; - * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; @@ -1267,33 +1159,26 @@ public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> - latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1304,8 +1189,6 @@ public com.google.type.LatLng getLatLng() { } } /** - * - * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1327,8 +1210,6 @@ public Builder setLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1336,7 +1217,8 @@ public Builder setLatLng(com.google.type.LatLng value) {
      *
      * .google.type.LatLng lat_lng = 3;
      */
-    public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLatLng(
+        com.google.type.LatLng.Builder builderForValue) {
       if (latLngBuilder_ == null) {
         latLng_ = builderForValue.build();
         onChanged();
@@ -1347,8 +1229,6 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1359,7 +1239,8 @@ public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
     public Builder mergeLatLng(com.google.type.LatLng value) {
       if (latLngBuilder_ == null) {
         if (latLng_ != null) {
-          latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
+          latLng_ =
+            com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
         } else {
           latLng_ = value;
         }
@@ -1371,8 +1252,6 @@ public Builder mergeLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1392,8 +1271,6 @@ public Builder clearLatLng() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1402,13 +1279,11 @@ public Builder clearLatLng() {
      * .google.type.LatLng lat_lng = 3;
      */
     public com.google.type.LatLng.Builder getLatLngBuilder() {
-
+      
       onChanged();
       return getLatLngFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1420,12 +1295,11 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
       if (latLngBuilder_ != null) {
         return latLngBuilder_.getMessageOrBuilder();
       } else {
-        return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_;
+        return latLng_ == null ?
+            com.google.type.LatLng.getDefaultInstance() : latLng_;
       }
     }
     /**
-     *
-     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1434,23 +1308,21 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * .google.type.LatLng lat_lng = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
         getLatLngFieldBuilder() {
       if (latLngBuilder_ == null) {
-        latLngBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.type.LatLng,
-                com.google.type.LatLng.Builder,
-                com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean());
+        latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
+                getLatLng(),
+                getParentForChildren(),
+                isClean());
         latLng_ = null;
       }
       return latLngBuilder_;
     }
 
-    private double distanceInMiles_;
+    private double distanceInMiles_ ;
     /**
-     *
-     *
      * 
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1458,7 +1330,6 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ @java.lang.Override @@ -1466,8 +1337,6 @@ public double getDistanceInMiles() { return distanceInMiles_; } /** - * - * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1475,19 +1344,16 @@ public double getDistanceInMiles() {
      * 
* * double distance_in_miles = 4; - * * @param value The distanceInMiles to set. * @return This builder for chaining. */ public Builder setDistanceInMiles(double value) { - + distanceInMiles_ = value; onChanged(); return this; } /** - * - * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1495,11 +1361,10 @@ public Builder setDistanceInMiles(double value) {
      * 
* * double distance_in_miles = 4; - * * @return This builder for chaining. */ public Builder clearDistanceInMiles() { - + distanceInMiles_ = 0D; onChanged(); return this; @@ -1507,8 +1372,6 @@ public Builder clearDistanceInMiles() { private int telecommutePreference_ = 0; /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1530,19 +1393,13 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override - public int getTelecommutePreferenceValue() { + @java.lang.Override public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1564,22 +1421,17 @@ public int getTelecommutePreferenceValue() {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @param value The enum numeric value on the wire for telecommutePreference to set. * @return This builder for chaining. */ public Builder setTelecommutePreferenceValue(int value) { - + telecommutePreference_ = value; onChanged(); return this; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1601,26 +1453,16 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference - getTelecommutePreference() { + public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf( - telecommutePreference_); - return result == null - ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); + return result == null ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1642,26 +1484,20 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @param value The telecommutePreference to set. * @return This builder for chaining. */ - public Builder setTelecommutePreference( - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference value) { + public Builder setTelecommutePreference(com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference value) { if (value == null) { throw new NullPointerException(); } - + telecommutePreference_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1683,30 +1519,24 @@ public Builder setTelecommutePreference(
      * This field is only used for job search requests.
      * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return This builder for chaining. */ public Builder clearTelecommutePreference() { - + telecommutePreference_ = 0; onChanged(); return this; } - private boolean negated_; + private boolean negated_ ; /** - * - * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; - * * @return The negated. */ @java.lang.Override @@ -1714,45 +1544,39 @@ public boolean getNegated() { return negated_; } /** - * - * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; - * * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { - + negated_ = value; onChanged(); return this; } /** - * - * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; - * * @return This builder for chaining. */ public Builder clearNegated() { - + negated_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1762,12 +1586,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.LocationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.LocationFilter) private static final com.google.cloud.talent.v4beta1.LocationFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.LocationFilter(); } @@ -1776,27 +1600,27 @@ public static com.google.cloud.talent.v4beta1.LocationFilter getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1811,4 +1635,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.LocationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java similarity index 86% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java index 503bb48fd1c6..ca480203c29d 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface LocationFilterOrBuilder - extends +public interface LocationFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.LocationFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The address. */ java.lang.String getAddress(); /** - * - * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; - * * @return The bytes for address. */ - com.google.protobuf.ByteString getAddressBytes(); + com.google.protobuf.ByteString + getAddressBytes(); /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -67,13 +44,10 @@ public interface LocationFilterOrBuilder
    * 
* * string region_code = 2; - * * @return The regionCode. */ java.lang.String getRegionCode(); /** - * - * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -90,40 +64,32 @@ public interface LocationFilterOrBuilder
    * 
* * string region_code = 2; - * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString getRegionCodeBytes(); + com.google.protobuf.ByteString + getRegionCodeBytes(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -134,8 +100,6 @@ public interface LocationFilterOrBuilder
   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
 
   /**
-   *
-   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -143,14 +107,11 @@ public interface LocationFilterOrBuilder
    * 
* * double distance_in_miles = 4; - * * @return The distanceInMiles. */ double getDistanceInMiles(); /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -172,16 +133,11 @@ public interface LocationFilterOrBuilder
    * This field is only used for job search requests.
    * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The enum numeric value on the wire for telecommutePreference. */ int getTelecommutePreferenceValue(); /** - * - * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -203,24 +159,18 @@ public interface LocationFilterOrBuilder
    * This field is only used for job search requests.
    * 
* - * - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; - * - * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; * @return The telecommutePreference. */ com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference(); /** - * - * *
    * Whether to apply negation to the filter so profiles matching the filter
    * are excluded.
    * 
* * bool negated = 6; - * * @return The negated. */ boolean getNegated(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java similarity index 83% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java index b19aaa08e413..f0c7568fd6bd 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface LocationOrBuilder - extends +public interface LocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Location) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -34,13 +16,10 @@ public interface LocationOrBuilder
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** - * - * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -49,14 +28,11 @@ public interface LocationOrBuilder
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; - * * @return The locationType. */ com.google.cloud.talent.v4beta1.Location.LocationType getLocationType(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -65,13 +41,10 @@ public interface LocationOrBuilder
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -80,13 +53,10 @@ public interface LocationOrBuilder
    * 
* * .google.type.PostalAddress postal_address = 2; - * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** - * - * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -99,32 +69,24 @@ public interface LocationOrBuilder
   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
 
   /**
-   *
-   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; - * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** - * - * *
    * An object representing a latitude/longitude pair.
    * 
@@ -134,8 +96,6 @@ public interface LocationOrBuilder com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** - * - * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -146,7 +106,6 @@ public interface LocationOrBuilder
    * 
* * double radius_miles = 4; - * * @return The radiusMiles. */ double getRadiusMiles(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java similarity index 78% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java index 9880ffb14916..7e448fd561d0 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * An enum that represents the job posting region. In most cases, job postings
  * don't need to specify a region. If a region is given, jobs are
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.PostingRegion}
  */
-public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
+public enum PostingRegion
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
@@ -42,8 +24,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   POSTING_REGION_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
@@ -59,8 +39,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   ADMINISTRATIVE_AREA(1),
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
@@ -72,8 +50,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   NATION(2),
   /**
-   *
-   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -87,8 +63,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
@@ -98,8 +72,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int POSTING_REGION_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
@@ -115,8 +87,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ADMINISTRATIVE_AREA_VALUE = 1;
   /**
-   *
-   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
@@ -128,8 +98,6 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int NATION_VALUE = 2;
   /**
-   *
-   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -140,6 +108,7 @@ public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TELECOMMUTE_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -164,51 +133,50 @@ public static PostingRegion valueOf(int value) {
    */
   public static PostingRegion forNumber(int value) {
     switch (value) {
-      case 0:
-        return POSTING_REGION_UNSPECIFIED;
-      case 1:
-        return ADMINISTRATIVE_AREA;
-      case 2:
-        return NATION;
-      case 3:
-        return TELECOMMUTE;
-      default:
-        return null;
+      case 0: return POSTING_REGION_UNSPECIFIED;
+      case 1: return ADMINISTRATIVE_AREA;
+      case 2: return NATION;
+      case 3: return TELECOMMUTE;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public PostingRegion findValueByNumber(int number) {
-          return PostingRegion.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      PostingRegion> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public PostingRegion findValueByNumber(int number) {
+            return PostingRegion.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(6);
   }
 
   private static final PostingRegion[] VALUES = values();
 
-  public static PostingRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PostingRegion valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -224,3 +192,4 @@ private PostingRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.PostingRegion)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
similarity index 78%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
index a6cbf2f2c285..888f4c52ddae 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Meta information related to the job searcher or entity
  * conducting the job search. This information is used to improve the
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.RequestMetadata}
  */
-public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.RequestMetadata)
     RequestMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestMetadata.newBuilder() to construct.
   private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RequestMetadata() {
     domain_ = "";
     sessionId_ = "";
@@ -47,35 +29,32 @@ private RequestMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto
-        .internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.RequestMetadata.class,
-            com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
+            com.google.cloud.talent.v4beta1.RequestMetadata.class, com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 1;
   private volatile java.lang.Object domain_;
   /**
-   *
-   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -91,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string domain = 1; - * * @return The domain. */ @java.lang.Override @@ -100,15 +78,14 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -124,15 +101,16 @@ public java.lang.String getDomain() {
    * 
* * string domain = 1; - * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -143,8 +121,6 @@ public com.google.protobuf.ByteString getDomainBytes() { public static final int SESSION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sessionId_; /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -158,7 +134,6 @@ public com.google.protobuf.ByteString getDomainBytes() {
    * 
* * string session_id = 2; - * * @return The sessionId. */ @java.lang.Override @@ -167,15 +142,14 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -189,15 +163,16 @@ public java.lang.String getSessionId() {
    * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -208,8 +183,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() { public static final int USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object userId_; /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -223,7 +196,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() {
    * 
* * string user_id = 3; - * * @return The userId. */ @java.lang.Override @@ -232,15 +204,14 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -254,15 +225,16 @@ public java.lang.String getUserId() {
    * 
* * string user_id = 3; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -273,8 +245,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int ALLOW_MISSING_IDS_FIELD_NUMBER = 4; private boolean allowMissingIds_; /** - * - * *
    * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -283,7 +253,6 @@ public com.google.protobuf.ByteString getUserIdBytes() {
    * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ @java.lang.Override @@ -294,15 +263,12 @@ public boolean getAllowMissingIds() { public static final int DEVICE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ @java.lang.Override @@ -310,26 +276,19 @@ public boolean hasDeviceInfo() { return deviceInfo_ != null; } /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo() { - return deviceInfo_ == null - ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() - : deviceInfo_; + return deviceInfo_ == null ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_; } /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
@@ -343,7 +302,6 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -355,7 +313,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
     }
@@ -390,10 +349,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_);
     }
     if (allowMissingIds_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissingIds_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(4, allowMissingIds_);
     }
     if (deviceInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeviceInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getDeviceInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -403,21 +364,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.RequestMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.RequestMetadata other =
-        (com.google.cloud.talent.v4beta1.RequestMetadata) obj;
+    com.google.cloud.talent.v4beta1.RequestMetadata other = (com.google.cloud.talent.v4beta1.RequestMetadata) obj;
 
-    if (!getDomain().equals(other.getDomain())) return false;
-    if (!getSessionId().equals(other.getSessionId())) return false;
-    if (!getUserId().equals(other.getUserId())) return false;
-    if (getAllowMissingIds() != other.getAllowMissingIds()) return false;
+    if (!getDomain()
+        .equals(other.getDomain())) return false;
+    if (!getSessionId()
+        .equals(other.getSessionId())) return false;
+    if (!getUserId()
+        .equals(other.getUserId())) return false;
+    if (getAllowMissingIds()
+        != other.getAllowMissingIds()) return false;
     if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
     if (hasDeviceInfo()) {
-      if (!getDeviceInfo().equals(other.getDeviceInfo())) return false;
+      if (!getDeviceInfo()
+          .equals(other.getDeviceInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -437,7 +402,8 @@ public int hashCode() {
     hash = (37 * hash) + USER_ID_FIELD_NUMBER;
     hash = (53 * hash) + getUserId().hashCode();
     hash = (37 * hash) + ALLOW_MISSING_IDS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissingIds());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowMissingIds());
     if (hasDeviceInfo()) {
       hash = (37 * hash) + DEVICE_INFO_FIELD_NUMBER;
       hash = (53 * hash) + getDeviceInfo().hashCode();
@@ -447,104 +413,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.RequestMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Meta information related to the job searcher or entity
    * conducting the job search. This information is used to improve the
@@ -553,32 +512,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.RequestMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.RequestMetadata)
       com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.RequestMetadata.class,
-              com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
+              com.google.cloud.talent.v4beta1.RequestMetadata.class, com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -600,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto
-          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -621,8 +581,7 @@ public com.google.cloud.talent.v4beta1.RequestMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() {
-      com.google.cloud.talent.v4beta1.RequestMetadata result =
-          new com.google.cloud.talent.v4beta1.RequestMetadata(this);
+      com.google.cloud.talent.v4beta1.RequestMetadata result = new com.google.cloud.talent.v4beta1.RequestMetadata(this);
       result.domain_ = domain_;
       result.sessionId_ = sessionId_;
       result.userId_ = userId_;
@@ -640,39 +599,38 @@ public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.RequestMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.RequestMetadata) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.RequestMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -680,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.RequestMetadata other) {
-      if (other == com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance()) return this;
       if (!other.getDomain().isEmpty()) {
         domain_ = other.domain_;
         onChanged();
@@ -726,43 +683,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                domain_ = input.readStringRequireUtf8();
+            case 10: {
+              domain_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                sessionId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              sessionId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                userId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              userId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                allowMissingIds_ = input.readBool();
+              break;
+            } // case 26
+            case 32: {
+              allowMissingIds_ = input.readBool();
 
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getDeviceInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getDeviceInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -775,8 +728,6 @@ public Builder mergeFrom(
 
     private java.lang.Object domain_ = "";
     /**
-     *
-     *
      * 
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -792,13 +743,13 @@ public Builder mergeFrom(
      * 
* * string domain = 1; - * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -807,8 +758,6 @@ public java.lang.String getDomain() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -824,14 +773,15 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; - * * @return The bytes for domain. */ - public com.google.protobuf.ByteString getDomainBytes() { + public com.google.protobuf.ByteString + getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); domain_ = b; return b; } else { @@ -839,8 +789,6 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -856,22 +804,20 @@ public com.google.protobuf.ByteString getDomainBytes() {
      * 
* * string domain = 1; - * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain(java.lang.String value) { + public Builder setDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -887,18 +833,15 @@ public Builder setDomain(java.lang.String value) {
      * 
* * string domain = 1; - * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -914,16 +857,16 @@ public Builder clearDomain() {
      * 
* * string domain = 1; - * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes(com.google.protobuf.ByteString value) { + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -931,8 +874,6 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) { private java.lang.Object sessionId_ = ""; /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -946,13 +887,13 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) {
      * 
* * string session_id = 2; - * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -961,8 +902,6 @@ public java.lang.String getSessionId() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -976,14 +915,15 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString getSessionIdBytes() { + public com.google.protobuf.ByteString + getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sessionId_ = b; return b; } else { @@ -991,8 +931,6 @@ public com.google.protobuf.ByteString getSessionIdBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1006,22 +944,20 @@ public com.google.protobuf.ByteString getSessionIdBytes() {
      * 
* * string session_id = 2; - * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId(java.lang.String value) { + public Builder setSessionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sessionId_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1035,18 +971,15 @@ public Builder setSessionId(java.lang.String value) {
      * 
* * string session_id = 2; - * * @return This builder for chaining. */ public Builder clearSessionId() { - + sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -1060,16 +993,16 @@ public Builder clearSessionId() {
      * 
* * string session_id = 2; - * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionId_ = value; onChanged(); return this; @@ -1077,8 +1010,6 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1092,13 +1023,13 @@ public Builder setSessionIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string user_id = 3; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -1107,8 +1038,6 @@ public java.lang.String getUserId() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1122,14 +1051,15 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -1137,8 +1067,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1152,22 +1080,20 @@ public com.google.protobuf.ByteString getUserIdBytes() {
      * 
* * string user_id = 3; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { + public Builder setUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userId_ = value; onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1181,18 +1107,15 @@ public Builder setUserId(java.lang.String value) {
      * 
* * string user_id = 3; - * * @return This builder for chaining. */ public Builder clearUserId() { - + userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /** - * - * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1206,25 +1129,23 @@ public Builder clearUserId() {
      * 
* * string user_id = 3; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; onChanged(); return this; } - private boolean allowMissingIds_; + private boolean allowMissingIds_ ; /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1233,7 +1154,6 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ @java.lang.Override @@ -1241,8 +1161,6 @@ public boolean getAllowMissingIds() { return allowMissingIds_; } /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1251,19 +1169,16 @@ public boolean getAllowMissingIds() {
      * 
* * bool allow_missing_ids = 4; - * * @param value The allowMissingIds to set. * @return This builder for chaining. */ public Builder setAllowMissingIds(boolean value) { - + allowMissingIds_ = value; onChanged(); return this; } /** - * - * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1272,11 +1187,10 @@ public Builder setAllowMissingIds(boolean value) {
      * 
* * bool allow_missing_ids = 4; - * * @return This builder for chaining. */ public Builder clearAllowMissingIds() { - + allowMissingIds_ = false; onChanged(); return this; @@ -1284,49 +1198,36 @@ public Builder clearAllowMissingIds() { private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.DeviceInfo, - com.google.cloud.talent.v4beta1.DeviceInfo.Builder, - com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> - deviceInfoBuilder_; + com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> deviceInfoBuilder_; /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ public boolean hasDeviceInfo() { return deviceInfoBuilder_ != null || deviceInfo_ != null; } /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ public com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { - return deviceInfo_ == null - ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() - : deviceInfo_; + return deviceInfo_ == null ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** - * - * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1348,8 +1249,6 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1369,8 +1268,6 @@ public Builder setDeviceInfo(
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1382,9 +1279,7 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value)
       if (deviceInfoBuilder_ == null) {
         if (deviceInfo_ != null) {
           deviceInfo_ =
-              com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder(deviceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
         } else {
           deviceInfo_ = value;
         }
@@ -1396,8 +1291,6 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1417,8 +1310,6 @@ public Builder clearDeviceInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1427,13 +1318,11 @@ public Builder clearDeviceInfo() {
      * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5;
      */
     public com.google.cloud.talent.v4beta1.DeviceInfo.Builder getDeviceInfoBuilder() {
-
+      
       onChanged();
       return getDeviceInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1445,14 +1334,11 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
       if (deviceInfoBuilder_ != null) {
         return deviceInfoBuilder_.getMessageOrBuilder();
       } else {
-        return deviceInfo_ == null
-            ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance()
-            : deviceInfo_;
+        return deviceInfo_ == null ?
+            com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1461,24 +1347,21 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
      * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.DeviceInfo,
-            com.google.cloud.talent.v4beta1.DeviceInfo.Builder,
-            com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>
+        com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> 
         getDeviceInfoFieldBuilder() {
       if (deviceInfoBuilder_ == null) {
-        deviceInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.DeviceInfo,
-                com.google.cloud.talent.v4beta1.DeviceInfo.Builder,
-                com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>(
-                getDeviceInfo(), getParentForChildren(), isClean());
+        deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>(
+                getDeviceInfo(),
+                getParentForChildren(),
+                isClean());
         deviceInfo_ = null;
       }
       return deviceInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1488,12 +1371,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.RequestMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.RequestMetadata)
   private static final com.google.cloud.talent.v4beta1.RequestMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.RequestMetadata();
   }
@@ -1502,27 +1385,27 @@ public static com.google.cloud.talent.v4beta1.RequestMetadata getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1537,4 +1420,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.RequestMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
similarity index 87%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
index bca38bf8c511..f114b91a946a 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface RequestMetadataOrBuilder
-    extends
+public interface RequestMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.RequestMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -41,13 +23,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string domain = 1; - * * @return The domain. */ java.lang.String getDomain(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -63,14 +42,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string domain = 1; - * * @return The bytes for domain. */ - com.google.protobuf.ByteString getDomainBytes(); + com.google.protobuf.ByteString + getDomainBytes(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -84,13 +61,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string session_id = 2; - * * @return The sessionId. */ java.lang.String getSessionId(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -104,14 +78,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string session_id = 2; - * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString getSessionIdBytes(); + com.google.protobuf.ByteString + getSessionIdBytes(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -125,13 +97,10 @@ public interface RequestMetadataOrBuilder
    * 
* * string user_id = 3; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -145,14 +114,12 @@ public interface RequestMetadataOrBuilder
    * 
* * string user_id = 3; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -161,40 +128,31 @@ public interface RequestMetadataOrBuilder
    * 
* * bool allow_missing_ids = 4; - * * @return The allowMissingIds. */ boolean getAllowMissingIds(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return Whether the deviceInfo field is set. */ boolean hasDeviceInfo(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; - * * @return The deviceInfo. */ com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo(); /** - * - * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
similarity index 65%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
index 7c86c93f1c3b..b3e3aafa1e37 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
@@ -1,84 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Additional information returned to client, such as debugging information.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ResponseMetadata} */ -public final class ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResponseMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ResponseMetadata) ResponseMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResponseMetadata.newBuilder() to construct. private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResponseMetadata() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResponseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ResponseMetadata.class, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4beta1.ResponseMetadata.class, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); } public static final int REQUEST_ID_FIELD_NUMBER = 1; private volatile java.lang.Object requestId_; /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The requestId. */ @java.lang.Override @@ -87,30 +65,30 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -119,7 +97,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -155,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ResponseMetadata)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ResponseMetadata other = - (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; + com.google.cloud.talent.v4beta1.ResponseMetadata other = (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,136 +160,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.ResponseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Additional information returned to client, such as debugging information.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ResponseMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ResponseMetadata) com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ResponseMetadata.class, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4beta1.ResponseMetadata.class, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override @@ -342,8 +314,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { - com.google.cloud.talent.v4beta1.ResponseMetadata result = - new com.google.cloud.talent.v4beta1.ResponseMetadata(this); + com.google.cloud.talent.v4beta1.ResponseMetadata result = new com.google.cloud.talent.v4beta1.ResponseMetadata(this); result.requestId_ = requestId_; onBuilt(); return result; @@ -353,39 +324,38 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ResponseMetadata) { - return mergeFrom((com.google.cloud.talent.v4beta1.ResponseMetadata) other); + return mergeFrom((com.google.cloud.talent.v4beta1.ResponseMetadata)other); } else { super.mergeFrom(other); return this; @@ -393,8 +363,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ResponseMetadata other) { - if (other == com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()) return this; if (!other.getRequestId().isEmpty()) { requestId_ = other.requestId_; onChanged(); @@ -425,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -450,21 +417,19 @@ public Builder mergeFrom( private java.lang.Object requestId_ = ""; /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -473,22 +438,21 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -496,71 +460,64 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { + public Builder setRequestId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** - * - * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ResponseMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ResponseMetadata) private static final com.google.cloud.talent.v4beta1.ResponseMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ResponseMetadata(); } @@ -584,27 +541,27 @@ public static com.google.cloud.talent.v4beta1.ResponseMetadata getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -619,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ResponseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java similarity index 50% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java index 45601997b428..eaf1c9869787 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface ResponseMetadataOrBuilder - extends +public interface ResponseMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ResponseMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java similarity index 85% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java index 12fb92160926..7f374b34ad34 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * The Request body of the `SearchJobs` call.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest} */ -public final class SearchJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsRequest) SearchJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchJobsRequest.newBuilder() to construct. private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; @@ -50,33 +32,30 @@ private SearchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); } /** - * - * *
    * A string-represented enumeration of the job search mode. The service
    * operate differently for different modes of service.
@@ -84,10 +63,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode}
    */
-  public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SearchMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -97,8 +75,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     SEARCH_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -108,8 +84,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     JOB_SEARCH(1),
     /**
-     *
-     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -125,8 +99,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -136,8 +108,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SEARCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -147,8 +117,6 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int JOB_SEARCH_VALUE = 1;
     /**
-     *
-     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -161,6 +129,7 @@ public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FEATURED_JOB_SEARCH_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -185,51 +154,49 @@ public static SearchMode valueOf(int value) {
      */
     public static SearchMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return SEARCH_MODE_UNSPECIFIED;
-        case 1:
-          return JOB_SEARCH;
-        case 2:
-          return FEATURED_JOB_SEARCH;
-        default:
-          return null;
+        case 0: return SEARCH_MODE_UNSPECIFIED;
+        case 1: return JOB_SEARCH;
+        case 2: return FEATURED_JOB_SEARCH;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        SearchMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public SearchMode findValueByNumber(int number) {
+              return SearchMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public SearchMode findValueByNumber(int number) {
-            return SearchMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final SearchMode[] VALUES = values();
 
-    public static SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SearchMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -247,8 +214,6 @@ private SearchMode(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -260,10 +225,9 @@ private SearchMode(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel}
    */
-  public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DiversificationLevel
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The diversification level isn't specified.
      * 
@@ -272,8 +236,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE */ DIVERSIFICATION_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -284,8 +246,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     DISABLED(1),
     /**
-     *
-     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -302,8 +262,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
     ;
 
     /**
-     *
-     *
      * 
      * The diversification level isn't specified.
      * 
@@ -312,8 +270,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE */ public static final int DIVERSIFICATION_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -324,8 +280,6 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int DISABLED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -339,6 +293,7 @@ public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageE
      */
     public static final int SIMPLE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -363,14 +318,10 @@ public static DiversificationLevel valueOf(int value) {
      */
     public static DiversificationLevel forNumber(int value) {
       switch (value) {
-        case 0:
-          return DIVERSIFICATION_LEVEL_UNSPECIFIED;
-        case 1:
-          return DISABLED;
-        case 2:
-          return SIMPLE;
-        default:
-          return null;
+        case 0: return DIVERSIFICATION_LEVEL_UNSPECIFIED;
+        case 1: return DISABLED;
+        case 2: return SIMPLE;
+        default: return null;
       }
     }
 
@@ -378,31 +329,29 @@ public static DiversificationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DiversificationLevel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DiversificationLevel findValueByNumber(int number) {
+              return DiversificationLevel.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public DiversificationLevel findValueByNumber(int number) {
-                return DiversificationLevel.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final DiversificationLevel[] VALUES = values();
@@ -410,7 +359,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static DiversificationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -428,8 +378,6 @@ private DiversificationLevel(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Controls what keyword matching behavior the search has. When keyword
    * matching is enabled, a keyword match returns jobs that may not match given
@@ -449,10 +397,9 @@ private DiversificationLevel(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode}
    */
-  public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum KeywordMatchMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -462,8 +409,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     KEYWORD_MATCH_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Disables keyword matching.
      * 
@@ -472,8 +417,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ KEYWORD_MATCH_DISABLED(1), /** - * - * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
      * [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
@@ -485,8 +428,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     KEYWORD_MATCH_ALL(2),
     /**
-     *
-     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
      * 
@@ -498,8 +439,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -509,8 +448,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Disables keyword matching.
      * 
@@ -519,8 +456,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; /** - * - * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
      * [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
@@ -532,8 +467,6 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KEYWORD_MATCH_ALL_VALUE = 2;
     /**
-     *
-     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
      * 
@@ -542,6 +475,7 @@ public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -566,47 +500,41 @@ public static KeywordMatchMode valueOf(int value) { */ public static KeywordMatchMode forNumber(int value) { switch (value) { - case 0: - return KEYWORD_MATCH_MODE_UNSPECIFIED; - case 1: - return KEYWORD_MATCH_DISABLED; - case 2: - return KEYWORD_MATCH_ALL; - case 3: - return KEYWORD_MATCH_TITLE_ONLY; - default: - return null; + case 0: return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: return KEYWORD_MATCH_DISABLED; + case 2: return KEYWORD_MATCH_ALL; + case 3: return KEYWORD_MATCH_TITLE_ONLY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + KeywordMatchMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeywordMatchMode findValueByNumber(int number) { - return KeywordMatchMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor() - .getEnumTypes() - .get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); } private static final KeywordMatchMode[] VALUES = values(); @@ -614,7 +542,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static KeywordMatchMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -631,14 +560,11 @@ private KeywordMatchMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode) } - public interface CustomRankingInfoOrBuilder - extends + public interface CustomRankingInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -646,16 +572,11 @@ public interface CustomRankingInfoOrBuilder
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ int getImportanceLevelValue(); /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -663,18 +584,12 @@ public interface CustomRankingInfoOrBuilder
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel(); /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -695,13 +610,10 @@ public interface CustomRankingInfoOrBuilder
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ java.lang.String getRankingExpression(); /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -722,30 +634,27 @@ public interface CustomRankingInfoOrBuilder
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ - com.google.protobuf.ByteString getRankingExpressionBytes(); + com.google.protobuf.ByteString + getRankingExpressionBytes(); } /** - * - * *
    * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo} */ - public static final class CustomRankingInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CustomRankingInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) CustomRankingInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomRankingInfo.newBuilder() to construct. private CustomRankingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CustomRankingInfo() { importanceLevel_ = 0; rankingExpression_ = ""; @@ -753,44 +662,39 @@ private CustomRankingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CustomRankingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); } /** - * - * *
      * The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression].
      * 
* - * Protobuf enum {@code - * google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} + * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} */ - public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportanceLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value if the importance level isn't specified.
        * 
@@ -799,8 +703,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { */ IMPORTANCE_LEVEL_UNSPECIFIED(0), /** - * - * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -811,8 +713,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       NONE(1),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -823,8 +723,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       LOW(2),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -835,8 +733,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       MILD(3),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -847,8 +743,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       MEDIUM(4),
       /**
-       *
-       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -859,8 +753,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       HIGH(5),
       /**
-       *
-       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -874,8 +766,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Default value if the importance level isn't specified.
        * 
@@ -884,8 +774,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORTANCE_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -896,8 +784,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NONE_VALUE = 1;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -908,8 +794,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int LOW_VALUE = 2;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -920,8 +804,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MILD_VALUE = 3;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -932,8 +814,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int MEDIUM_VALUE = 4;
       /**
-       *
-       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -944,8 +824,6 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int HIGH_VALUE = 5;
       /**
-       *
-       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -956,6 +834,7 @@ public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int EXTREME_VALUE = 6;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -980,22 +859,14 @@ public static ImportanceLevel valueOf(int value) {
        */
       public static ImportanceLevel forNumber(int value) {
         switch (value) {
-          case 0:
-            return IMPORTANCE_LEVEL_UNSPECIFIED;
-          case 1:
-            return NONE;
-          case 2:
-            return LOW;
-          case 3:
-            return MILD;
-          case 4:
-            return MEDIUM;
-          case 5:
-            return HIGH;
-          case 6:
-            return EXTREME;
-          default:
-            return null;
+          case 0: return IMPORTANCE_LEVEL_UNSPECIFIED;
+          case 1: return NONE;
+          case 2: return LOW;
+          case 3: return MILD;
+          case 4: return MEDIUM;
+          case 5: return HIGH;
+          case 6: return EXTREME;
+          default: return null;
         }
       }
 
@@ -1003,31 +874,29 @@ public static ImportanceLevel forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ImportanceLevel> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ImportanceLevel findValueByNumber(int number) {
+                return ImportanceLevel.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ImportanceLevel findValueByNumber(int number) {
-                  return ImportanceLevel.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ImportanceLevel[] VALUES = values();
@@ -1035,7 +904,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ImportanceLevel valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -1055,8 +925,6 @@ private ImportanceLevel(int value) {
     public static final int IMPORTANCE_LEVEL_FIELD_NUMBER = 1;
     private int importanceLevel_;
     /**
-     *
-     *
      * 
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1064,19 +932,13 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override - public int getImportanceLevelValue() { + @java.lang.Override public int getImportanceLevelValue() { return importanceLevel_; } /** - * - * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1084,30 +946,18 @@ public int getImportanceLevelValue() {
      * An error is thrown if not specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel() { + @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .valueOf(importanceLevel_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; } public static final int RANKING_EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object rankingExpression_; /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1128,7 +978,6 @@ public int getImportanceLevelValue() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ @java.lang.Override @@ -1137,15 +986,14 @@ public java.lang.String getRankingExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; } } /** - * - * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1166,15 +1014,16 @@ public java.lang.String getRankingExpression() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ @java.lang.Override - public com.google.protobuf.ByteString getRankingExpressionBytes() { + public com.google.protobuf.ByteString + getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1183,7 +1032,6 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1195,11 +1043,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (importanceLevel_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .IMPORTANCE_LEVEL_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (importanceLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { @@ -1214,11 +1060,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (importanceLevel_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .IMPORTANCE_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, importanceLevel_); + if (importanceLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rankingExpression_); @@ -1231,16 +1075,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = - (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; if (importanceLevel_ != other.importanceLevel_) return false; - if (!getRankingExpression().equals(other.getRankingExpression())) return false; + if (!getRankingExpression() + .equals(other.getRankingExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1262,95 +1106,87 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo prototype) { + public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1360,42 +1196,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); } - // Construct using - // com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder() - private Builder() {} + // Construct using com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1407,16 +1240,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - .getDefaultInstance(); + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance(); } @java.lang.Override @@ -1430,8 +1261,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo result = - new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(this); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo result = new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(this); result.importanceLevel_ = importanceLevel_; result.rankingExpression_ = rankingExpression_; onBuilt(); @@ -1442,53 +1272,46 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) { - return mergeFrom( - (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other) { - if (other - == com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other) { + if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) return this; if (other.importanceLevel_ != 0) { setImportanceLevelValue(other.getImportanceLevelValue()); } @@ -1522,25 +1345,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - importanceLevel_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - rankingExpression_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + importanceLevel_ = input.readEnum(); + + break; + } // case 8 + case 18: { + rankingExpression_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1553,8 +1373,6 @@ public Builder mergeFrom( private int importanceLevel_ = 0; /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1562,19 +1380,13 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override - public int getImportanceLevelValue() { + @java.lang.Override public int getImportanceLevelValue() { return importanceLevel_; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1582,22 +1394,17 @@ public int getImportanceLevelValue() {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for importanceLevel to set. * @return This builder for chaining. */ public Builder setImportanceLevelValue(int value) { - + importanceLevel_ = value; onChanged(); return this; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1605,27 +1412,16 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The importanceLevel. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - getImportanceLevel() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .valueOf(importanceLevel_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - .UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1633,27 +1429,20 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The importanceLevel to set. * @return This builder for chaining. */ - public Builder setImportanceLevel( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel - value) { + public Builder setImportanceLevel(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { if (value == null) { throw new NullPointerException(); } - + importanceLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1661,14 +1450,11 @@ public Builder setImportanceLevel(
        * An error is thrown if not specified.
        * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearImportanceLevel() { - + importanceLevel_ = 0; onChanged(); return this; @@ -1676,8 +1462,6 @@ public Builder clearImportanceLevel() { private java.lang.Object rankingExpression_ = ""; /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1698,13 +1482,13 @@ public Builder clearImportanceLevel() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rankingExpression. */ public java.lang.String getRankingExpression() { java.lang.Object ref = rankingExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; @@ -1713,8 +1497,6 @@ public java.lang.String getRankingExpression() { } } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1735,14 +1517,15 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for rankingExpression. */ - public com.google.protobuf.ByteString getRankingExpressionBytes() { + public com.google.protobuf.ByteString + getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1750,8 +1533,6 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() { } } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1772,22 +1553,20 @@ public com.google.protobuf.ByteString getRankingExpressionBytes() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpression(java.lang.String value) { + public Builder setRankingExpression( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rankingExpression_ = value; onChanged(); return this; } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1808,18 +1587,15 @@ public Builder setRankingExpression(java.lang.String value) {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRankingExpression() { - + rankingExpression_ = getDefaultInstance().getRankingExpression(); onChanged(); return this; } /** - * - * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1840,21 +1616,20 @@ public Builder clearRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { + public Builder setRankingExpressionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rankingExpression_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1867,44 +1642,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) - private static final com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - DEFAULT_INSTANCE; - + private static final com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomRankingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomRankingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1916,17 +1688,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -1934,10 +1704,7 @@ public com.google.protobuf.Parser getParserForType() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -1946,15 +1713,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -1962,18 +1728,17 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1984,58 +1749,42 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SEARCH_MODE_FIELD_NUMBER = 2; private int searchMode_; /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override - public int getSearchModeValue() { + @java.lang.Override public int getSearchModeValue() { return searchMode_; } /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { + @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; } public static final int REQUEST_METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ @java.lang.Override @@ -2043,38 +1792,27 @@ public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata() { - return requestMetadata_ == null - ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; } /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { @@ -2084,14 +1822,11 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada public static final int JOB_QUERY_FIELD_NUMBER = 4; private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ @java.lang.Override @@ -2099,25 +1834,18 @@ public boolean hasJobQuery() { return jobQuery_ != null; } /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return The jobQuery. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobQuery getJobQuery() { - return jobQuery_ == null - ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; } /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -2132,8 +1860,6 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() public static final int ENABLE_BROADENING_FIELD_NUMBER = 5; private boolean enableBroadening_; /** - * - * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -2142,7 +1868,6 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder()
    * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ @java.lang.Override @@ -2153,29 +1878,23 @@ public boolean getEnableBroadening() { public static final int REQUIRE_PRECISE_RESULT_SIZE_FIELD_NUMBER = 6; private boolean requirePreciseResultSize_; /** - * - * *
    * This field is deprecated.
    * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ @java.lang.Override - @java.lang.Deprecated - public boolean getRequirePreciseResultSize() { + @java.lang.Deprecated public boolean getRequirePreciseResultSize() { return requirePreciseResultSize_; } public static final int HISTOGRAM_QUERIES_FIELD_NUMBER = 7; private java.util.List histogramQueries_; /** - * - * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2269,8 +1988,6 @@ public java.util.List getHistogr
     return histogramQueries_;
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2360,13 +2077,11 @@ public java.util.List getHistogr
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHistogramQueriesOrBuilderList() {
     return histogramQueries_;
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2460,8 +2175,6 @@ public int getHistogramQueriesCount() {
     return histogramQueries_.size();
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2555,8 +2268,6 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
     return histogramQueries_.get(index);
   }
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2654,46 +2365,35 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
   public static final int JOB_VIEW_FIELD_NUMBER = 8;
   private int jobView_;
   /**
-   *
-   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The jobView. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.JobView getJobView() { + @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = - com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } public static final int OFFSET_FIELD_NUMBER = 9; private int offset_; /** - * - * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -2706,7 +2406,6 @@ public com.google.cloud.talent.v4beta1.JobView getJobView() {
    * 
* * int32 offset = 9; - * * @return The offset. */ @java.lang.Override @@ -2717,8 +2416,6 @@ public int getOffset() { public static final int PAGE_SIZE_FIELD_NUMBER = 10; private int pageSize_; /** - * - * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -2726,7 +2423,6 @@ public int getOffset() {
    * 
* * int32 page_size = 10; - * * @return The pageSize. */ @java.lang.Override @@ -2737,8 +2433,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object pageToken_; /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -2746,7 +2440,6 @@ public int getPageSize() {
    * 
* * string page_token = 11; - * * @return The pageToken. */ @java.lang.Override @@ -2755,15 +2448,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -2771,15 +2463,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2790,8 +2483,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 12; private volatile java.lang.Object orderBy_; /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2844,7 +2535,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 12; - * * @return The orderBy. */ @java.lang.Override @@ -2853,15 +2543,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2914,15 +2603,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2933,8 +2623,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int DIVERSIFICATION_LEVEL_FIELD_NUMBER = 13; private int diversificationLevel_; /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2946,19 +2634,13 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * is specified.
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override - public int getDiversificationLevelValue() { + @java.lang.Override public int getDiversificationLevelValue() { return diversificationLevel_; } /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2970,38 +2652,24 @@ public int getDiversificationLevelValue() {
    * is specified.
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel - getDiversificationLevel() { + @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf( - diversificationLevel_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; } public static final int CUSTOM_RANKING_INFO_FIELD_NUMBER = 14; private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ @java.lang.Override @@ -3009,49 +2677,34 @@ public boolean hasCustomRankingInfo() { return customRankingInfo_ != null; } /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getCustomRankingInfo() { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() - : customRankingInfo_; + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { + return customRankingInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { return getCustomRankingInfo(); } public static final int DISABLE_KEYWORD_MATCH_FIELD_NUMBER = 16; private boolean disableKeywordMatch_; /** - * - * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -3078,7 +2731,6 @@ public boolean hasCustomRankingInfo() {
    * 
* * bool disable_keyword_match = 16; - * * @return The disableKeywordMatch. */ @java.lang.Override @@ -3089,50 +2741,35 @@ public boolean getDisableKeywordMatch() { public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; private int keywordMatchMode_; /** - * - * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override - public int getKeywordMatchModeValue() { + @java.lang.Override public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** - * - * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf( - keywordMatchMode_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3144,13 +2781,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (searchMode_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED - .getNumber()) { + if (searchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, searchMode_); } if (requestMetadata_ != null) { @@ -3183,10 +2819,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, orderBy_); } - if (diversificationLevel_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel - .DIVERSIFICATION_LEVEL_UNSPECIFIED - .getNumber()) { + if (diversificationLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(13, diversificationLevel_); } if (customRankingInfo_ != null) { @@ -3195,10 +2828,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } - if (keywordMatchMode_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode - .KEYWORD_MATCH_MODE_UNSPECIFIED - .getNumber()) { + if (keywordMatchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(18, keywordMatchMode_); } getUnknownFields().writeTo(output); @@ -3213,34 +2843,41 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (searchMode_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, searchMode_); + if (searchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, searchMode_); } if (requestMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRequestMetadata()); } if (jobQuery_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getJobQuery()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getJobQuery()); } if (enableBroadening_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableBroadening_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, enableBroadening_); } if (requirePreciseResultSize_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requirePreciseResultSize_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requirePreciseResultSize_); } for (int i = 0; i < histogramQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, histogramQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, histogramQueries_.get(i)); } if (jobView_ != com.google.cloud.talent.v4beta1.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, jobView_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, jobView_); } if (offset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, offset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, offset_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, pageToken_); @@ -3248,23 +2885,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, orderBy_); } - if (diversificationLevel_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel - .DIVERSIFICATION_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, diversificationLevel_); + if (diversificationLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(13, diversificationLevel_); } if (customRankingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getCustomRankingInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getCustomRankingInfo()); } if (disableKeywordMatch_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, disableKeywordMatch_); } - if (keywordMatchMode_ - != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode - .KEYWORD_MATCH_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); + if (keywordMatchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(18, keywordMatchMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3274,38 +2909,49 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsRequest other = - (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; + com.google.cloud.talent.v4beta1.SearchJobsRequest other = (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (searchMode_ != other.searchMode_) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; + if (!getRequestMetadata() + .equals(other.getRequestMetadata())) return false; } if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - if (!getJobQuery().equals(other.getJobQuery())) return false; - } - if (getEnableBroadening() != other.getEnableBroadening()) return false; - if (getRequirePreciseResultSize() != other.getRequirePreciseResultSize()) return false; - if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; + if (!getJobQuery() + .equals(other.getJobQuery())) return false; + } + if (getEnableBroadening() + != other.getEnableBroadening()) return false; + if (getRequirePreciseResultSize() + != other.getRequirePreciseResultSize()) return false; + if (!getHistogramQueriesList() + .equals(other.getHistogramQueriesList())) return false; if (jobView_ != other.jobView_) return false; - if (getOffset() != other.getOffset()) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (getOffset() + != other.getOffset()) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (diversificationLevel_ != other.diversificationLevel_) return false; if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; + if (!getCustomRankingInfo() + .equals(other.getCustomRankingInfo())) return false; } - if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; + if (getDisableKeywordMatch() + != other.getDisableKeywordMatch()) return false; if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3331,9 +2977,11 @@ public int hashCode() { hash = (53 * hash) + getJobQuery().hashCode(); } hash = (37 * hash) + ENABLE_BROADENING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableBroadening()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableBroadening()); hash = (37 * hash) + REQUIRE_PRECISE_RESULT_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequirePreciseResultSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequirePreciseResultSize()); if (getHistogramQueriesCount() > 0) { hash = (37 * hash) + HISTOGRAM_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getHistogramQueriesList().hashCode(); @@ -3355,7 +3003,8 @@ public int hashCode() { hash = (53 * hash) + getCustomRankingInfo().hashCode(); } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisableKeywordMatch()); hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3364,135 +3013,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Request body of the `SearchJobs` call.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsRequest) com.google.cloud.talent.v4beta1.SearchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3549,9 +3192,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override @@ -3570,8 +3213,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsRequest result = - new com.google.cloud.talent.v4beta1.SearchJobsRequest(this); + com.google.cloud.talent.v4beta1.SearchJobsRequest result = new com.google.cloud.talent.v4beta1.SearchJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.searchMode_ = searchMode_; @@ -3617,39 +3259,38 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -3657,8 +3298,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -3696,10 +3336,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest other histogramQueriesBuilder_ = null; histogramQueries_ = other.histogramQueries_; bitField0_ = (bitField0_ & ~0x00000001); - histogramQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHistogramQueriesFieldBuilder() - : null; + histogramQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHistogramQueriesFieldBuilder() : null; } else { histogramQueriesBuilder_.addAllMessages(other.histogramQueries_); } @@ -3760,117 +3399,106 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - searchMode_ = input.readEnum(); + break; + } // case 10 + case 16: { + searchMode_ = input.readEnum(); - break; - } // case 16 - case 26: - { - input.readMessage(getRequestMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 16 + case 26: { + input.readMessage( + getRequestMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - input.readMessage(getJobQueryFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getJobQueryFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 40: - { - enableBroadening_ = input.readBool(); + break; + } // case 34 + case 40: { + enableBroadening_ = input.readBool(); - break; - } // case 40 - case 48: - { - requirePreciseResultSize_ = input.readBool(); + break; + } // case 40 + case 48: { + requirePreciseResultSize_ = input.readBool(); - break; - } // case 48 - case 58: - { - com.google.cloud.talent.v4beta1.HistogramQuery m = - input.readMessage( - com.google.cloud.talent.v4beta1.HistogramQuery.parser(), extensionRegistry); - if (histogramQueriesBuilder_ == null) { - ensureHistogramQueriesIsMutable(); - histogramQueries_.add(m); - } else { - histogramQueriesBuilder_.addMessage(m); - } - break; - } // case 58 - case 64: - { - jobView_ = input.readEnum(); + break; + } // case 48 + case 58: { + com.google.cloud.talent.v4beta1.HistogramQuery m = + input.readMessage( + com.google.cloud.talent.v4beta1.HistogramQuery.parser(), + extensionRegistry); + if (histogramQueriesBuilder_ == null) { + ensureHistogramQueriesIsMutable(); + histogramQueries_.add(m); + } else { + histogramQueriesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: { + jobView_ = input.readEnum(); - break; - } // case 64 - case 72: - { - offset_ = input.readInt32(); + break; + } // case 64 + case 72: { + offset_ = input.readInt32(); - break; - } // case 72 - case 80: - { - pageSize_ = input.readInt32(); + break; + } // case 72 + case 80: { + pageSize_ = input.readInt32(); - break; - } // case 80 - case 90: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 80 + case 90: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 90 - case 98: - { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 90 + case 98: { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 98 - case 104: - { - diversificationLevel_ = input.readEnum(); + break; + } // case 98 + case 104: { + diversificationLevel_ = input.readEnum(); - break; - } // case 104 - case 114: - { - input.readMessage( - getCustomRankingInfoFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 104 + case 114: { + input.readMessage( + getCustomRankingInfoFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 114 - case 128: - { - disableKeywordMatch_ = input.readBool(); + break; + } // case 114 + case 128: { + disableKeywordMatch_ = input.readBool(); - break; - } // case 128 - case 144: - { - keywordMatchMode_ = input.readEnum(); + break; + } // case 128 + case 144: { + keywordMatchMode_ = input.readEnum(); - break; - } // case 144 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3880,13 +3508,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3894,16 +3519,14 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3912,8 +3535,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3921,17 +3542,16 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -3939,8 +3559,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3948,25 +3566,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3974,21 +3588,16 @@ public Builder setParent(java.lang.String value) {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3996,19 +3605,17 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -4016,98 +3623,78 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int searchMode_ = 0; /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override - public int getSearchModeValue() { + @java.lang.Override public int getSearchModeValue() { return searchMode_; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @param value The enum numeric value on the wire for searchMode to set. * @return This builder for chaining. */ public Builder setSearchModeValue(int value) { - + searchMode_ = value; onChanged(); return this; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @param value The searchMode to set. * @return This builder for chaining. */ - public Builder setSearchMode( - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode value) { + public Builder setSearchMode(com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode value) { if (value == null) { throw new NullPointerException(); } - + searchMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return This builder for chaining. */ public Builder clearSearchMode() { - + searchMode_ = 0; onChanged(); return this; @@ -4115,64 +3702,45 @@ public Builder clearSearchMode() { private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, - com.google.cloud.talent.v4beta1.RequestMetadata.Builder, - com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> - requestMetadataBuilder_; + com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> requestMetadataBuilder_; /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ public com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { - return requestMetadata_ == null - ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadata value) { if (requestMetadataBuilder_ == null) { @@ -4188,17 +3756,13 @@ public Builder setRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadat return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequestMetadata( com.google.cloud.talent.v4beta1.RequestMetadata.Builder builderForValue) { @@ -4212,25 +3776,19 @@ public Builder setRequestMetadata( return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = - com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder(requestMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder(requestMetadata_).mergeFrom(value).buildPartial(); } else { requestMetadata_ = value; } @@ -4242,17 +3800,13 @@ public Builder mergeRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetad return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { @@ -4266,70 +3820,54 @@ public Builder clearRequestMetadata() { return this; } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.RequestMetadata.Builder getRequestMetadataBuilder() { - + onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { - return requestMetadata_ == null - ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() - : requestMetadata_; + return requestMetadata_ == null ? + com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; } } /** - * - * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, - com.google.cloud.talent.v4beta1.RequestMetadata.Builder, - com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> + com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { - requestMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, - com.google.cloud.talent.v4beta1.RequestMetadata.Builder, - com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder>( - getRequestMetadata(), getParentForChildren(), isClean()); + requestMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder>( + getRequestMetadata(), + getParentForChildren(), + isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; @@ -4337,47 +3875,34 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, - com.google.cloud.talent.v4beta1.JobQuery.Builder, - com.google.cloud.talent.v4beta1.JobQueryOrBuilder> - jobQueryBuilder_; + com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder> jobQueryBuilder_; /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ public boolean hasJobQuery() { return jobQueryBuilder_ != null || jobQuery_ != null; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return The jobQuery. */ public com.google.cloud.talent.v4beta1.JobQuery getJobQuery() { if (jobQueryBuilder_ == null) { - return jobQuery_ == null - ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; } else { return jobQueryBuilder_.getMessage(); } } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4398,15 +3923,14 @@ public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ - public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery.Builder builderForValue) { + public Builder setJobQuery( + com.google.cloud.talent.v4beta1.JobQuery.Builder builderForValue) { if (jobQueryBuilder_ == null) { jobQuery_ = builderForValue.build(); onChanged(); @@ -4416,9 +3940,7 @@ public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery.Builder buil return this; } - /** - * - * + /** *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4429,9 +3951,7 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { if (jobQueryBuilder_ == null) { if (jobQuery_ != null) { jobQuery_ = - com.google.cloud.talent.v4beta1.JobQuery.newBuilder(jobQuery_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.JobQuery.newBuilder(jobQuery_).mergeFrom(value).buildPartial(); } else { jobQuery_ = value; } @@ -4443,8 +3963,6 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4463,8 +3981,6 @@ public Builder clearJobQuery() { return this; } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4472,13 +3988,11 @@ public Builder clearJobQuery() { * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ public com.google.cloud.talent.v4beta1.JobQuery.Builder getJobQueryBuilder() { - + onChanged(); return getJobQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4489,14 +4003,11 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() if (jobQueryBuilder_ != null) { return jobQueryBuilder_.getMessageOrBuilder(); } else { - return jobQuery_ == null - ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() - : jobQuery_; + return jobQuery_ == null ? + com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; } } /** - * - * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4504,26 +4015,21 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, - com.google.cloud.talent.v4beta1.JobQuery.Builder, - com.google.cloud.talent.v4beta1.JobQueryOrBuilder> + com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder> getJobQueryFieldBuilder() { if (jobQueryBuilder_ == null) { - jobQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, - com.google.cloud.talent.v4beta1.JobQuery.Builder, - com.google.cloud.talent.v4beta1.JobQueryOrBuilder>( - getJobQuery(), getParentForChildren(), isClean()); + jobQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder>( + getJobQuery(), + getParentForChildren(), + isClean()); jobQuery_ = null; } return jobQueryBuilder_; } - private boolean enableBroadening_; + private boolean enableBroadening_ ; /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4532,7 +4038,6 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder()
      * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ @java.lang.Override @@ -4540,8 +4045,6 @@ public boolean getEnableBroadening() { return enableBroadening_; } /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4550,19 +4053,16 @@ public boolean getEnableBroadening() {
      * 
* * bool enable_broadening = 5; - * * @param value The enableBroadening to set. * @return This builder for chaining. */ public Builder setEnableBroadening(boolean value) { - + enableBroadening_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4571,98 +4071,77 @@ public Builder setEnableBroadening(boolean value) {
      * 
* * bool enable_broadening = 5; - * * @return This builder for chaining. */ public Builder clearEnableBroadening() { - + enableBroadening_ = false; onChanged(); return this; } - private boolean requirePreciseResultSize_; + private boolean requirePreciseResultSize_ ; /** - * - * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ @java.lang.Override - @java.lang.Deprecated - public boolean getRequirePreciseResultSize() { + @java.lang.Deprecated public boolean getRequirePreciseResultSize() { return requirePreciseResultSize_; } /** - * - * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @param value The requirePreciseResultSize to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setRequirePreciseResultSize(boolean value) { - + @java.lang.Deprecated public Builder setRequirePreciseResultSize(boolean value) { + requirePreciseResultSize_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearRequirePreciseResultSize() { - + @java.lang.Deprecated public Builder clearRequirePreciseResultSize() { + requirePreciseResultSize_ = false; onChanged(); return this; } private java.util.List histogramQueries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHistogramQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - histogramQueries_ = - new java.util.ArrayList( - histogramQueries_); + histogramQueries_ = new java.util.ArrayList(histogramQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQuery, - com.google.cloud.talent.v4beta1.HistogramQuery.Builder, - com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> - histogramQueriesBuilder_; + com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> histogramQueriesBuilder_; /** - * - * *
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4751,8 +4230,7 @@ private void ensureHistogramQueriesIsMutable() {
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesList() {
+    public java.util.List getHistogramQueriesList() {
       if (histogramQueriesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(histogramQueries_);
       } else {
@@ -4760,8 +4238,6 @@ private void ensureHistogramQueriesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4858,8 +4334,6 @@ public int getHistogramQueriesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4956,8 +4430,6 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5061,8 +4533,6 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5163,8 +4633,6 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5267,8 +4735,6 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4beta1.HistogramQuer
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5372,8 +4838,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5474,8 +4938,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5576,8 +5038,6 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5670,7 +5130,8 @@ public Builder addAllHistogramQueries(
         java.lang.Iterable values) {
       if (histogramQueriesBuilder_ == null) {
         ensureHistogramQueriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, histogramQueries_);
         onChanged();
       } else {
         histogramQueriesBuilder_.addAllMessages(values);
@@ -5678,8 +5139,6 @@ public Builder addAllHistogramQueries(
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5779,8 +5238,6 @@ public Builder clearHistogramQueries() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5880,8 +5337,6 @@ public Builder removeHistogramQueries(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5975,8 +5430,6 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
       return getHistogramQueriesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6068,14 +5521,11 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
     public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
         int index) {
       if (histogramQueriesBuilder_ == null) {
-        return histogramQueries_.get(index);
-      } else {
+        return histogramQueries_.get(index);  } else {
         return histogramQueriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6164,8 +5614,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesOrBuilderList() {
+    public java.util.List 
+         getHistogramQueriesOrBuilderList() {
       if (histogramQueriesBuilder_ != null) {
         return histogramQueriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -6173,8 +5623,6 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
       }
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6264,12 +5712,10 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
     public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQueriesBuilder() {
-      return getHistogramQueriesFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6360,12 +5806,10 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      */
     public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQueriesBuilder(
         int index) {
-      return getHistogramQueriesFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -6454,22 +5898,16 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List
-        getHistogramQueriesBuilderList() {
+    public java.util.List 
+         getHistogramQueriesBuilderList() {
       return getHistogramQueriesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.HistogramQuery,
-            com.google.cloud.talent.v4beta1.HistogramQuery.Builder,
-            com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>
+        com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> 
         getHistogramQueriesFieldBuilder() {
       if (histogramQueriesBuilder_ == null) {
-        histogramQueriesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.HistogramQuery,
-                com.google.cloud.talent.v4beta1.HistogramQuery.Builder,
-                com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>(
+        histogramQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>(
                 histogramQueries_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -6481,69 +5919,55 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
 
     private int jobView_ = 0;
     /**
-     *
-     *
      * 
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override - public int getJobViewValue() { + @java.lang.Override public int getJobViewValue() { return jobView_; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = - com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @param value The jobView to set. * @return This builder for chaining. */ @@ -6551,34 +5975,29 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - private int offset_; + private int offset_ ; /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6591,7 +6010,6 @@ public Builder clearJobView() {
      * 
* * int32 offset = 9; - * * @return The offset. */ @java.lang.Override @@ -6599,8 +6017,6 @@ public int getOffset() { return offset_; } /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6613,19 +6029,16 @@ public int getOffset() {
      * 
* * int32 offset = 9; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6638,20 +6051,17 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 9; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6659,7 +6069,6 @@ public Builder clearOffset() {
      * 
* * int32 page_size = 10; - * * @return The pageSize. */ @java.lang.Override @@ -6667,8 +6076,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6676,19 +6083,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 10; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6696,11 +6100,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 10; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -6708,8 +6111,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6717,13 +6118,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 11; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -6732,8 +6133,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6741,14 +6140,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6756,8 +6156,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6765,22 +6163,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 11; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6788,18 +6184,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 11; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6807,16 +6200,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 11; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -6824,8 +6217,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6878,13 +6269,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 12; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -6893,8 +6284,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6947,14 +6336,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -6962,8 +6352,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7016,22 +6404,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 12; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7084,18 +6470,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 12; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -7148,16 +6531,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 12; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -7165,8 +6548,6 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private int diversificationLevel_ = 0; /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7178,19 +6559,13 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override - public int getDiversificationLevelValue() { + @java.lang.Override public int getDiversificationLevelValue() { return diversificationLevel_; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7202,22 +6577,17 @@ public int getDiversificationLevelValue() {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @param value The enum numeric value on the wire for diversificationLevel to set. * @return This builder for chaining. */ public Builder setDiversificationLevelValue(int value) { - + diversificationLevel_ = value; onChanged(); return this; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7229,26 +6599,16 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel - getDiversificationLevel() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf( - diversificationLevel_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7260,26 +6620,20 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @param value The diversificationLevel to set. * @return This builder for chaining. */ - public Builder setDiversificationLevel( - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel value) { + public Builder setDiversificationLevel(com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel value) { if (value == null) { throw new NullPointerException(); } - + diversificationLevel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -7291,14 +6645,11 @@ public Builder setDiversificationLevel(
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return This builder for chaining. */ public Builder clearDiversificationLevel() { - + diversificationLevel_ = 0; onChanged(); return this; @@ -7306,66 +6657,44 @@ public Builder clearDiversificationLevel() { private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> - customRankingInfoBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> customRankingInfoBuilder_; /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ public boolean hasCustomRankingInfo() { return customRankingInfoBuilder_ != null || customRankingInfo_ != null; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - getCustomRankingInfo() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - .getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } else { return customRankingInfoBuilder_.getMessage(); } } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public Builder setCustomRankingInfo( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { + public Builder setCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7379,20 +6708,15 @@ public Builder setCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ public Builder setCustomRankingInfo( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder - builderForValue) { + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder builderForValue) { if (customRankingInfoBuilder_ == null) { customRankingInfo_ = builderForValue.build(); onChanged(); @@ -7403,26 +6727,18 @@ public Builder setCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public Builder mergeCustomRankingInfo( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { + public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (customRankingInfo_ != null) { customRankingInfo_ = - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder( - customRankingInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder(customRankingInfo_).mergeFrom(value).buildPartial(); } else { customRankingInfo_ = value; } @@ -7434,16 +6750,12 @@ public Builder mergeCustomRankingInfo( return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ public Builder clearCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { @@ -7457,79 +6769,58 @@ public Builder clearCustomRankingInfo() { return this; } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder - getCustomRankingInfoBuilder() { - + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder getCustomRankingInfoBuilder() { + onChanged(); return getCustomRankingInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { if (customRankingInfoBuilder_ != null) { return customRankingInfoBuilder_.getMessageOrBuilder(); } else { - return customRankingInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo - .getDefaultInstance() - : customRankingInfo_; + return customRankingInfo_ == null ? + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; } } /** - * - * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> getCustomRankingInfoFieldBuilder() { if (customRankingInfoBuilder_ == null) { - customRankingInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder>( - getCustomRankingInfo(), getParentForChildren(), isClean()); + customRankingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder>( + getCustomRankingInfo(), + getParentForChildren(), + isClean()); customRankingInfo_ = null; } return customRankingInfoBuilder_; } - private boolean disableKeywordMatch_; + private boolean disableKeywordMatch_ ; /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7556,7 +6847,6 @@ public Builder clearCustomRankingInfo() {
      * 
* * bool disable_keyword_match = 16; - * * @return The disableKeywordMatch. */ @java.lang.Override @@ -7564,8 +6854,6 @@ public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7592,19 +6880,16 @@ public boolean getDisableKeywordMatch() {
      * 
* * bool disable_keyword_match = 16; - * * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ public Builder setDisableKeywordMatch(boolean value) { - + disableKeywordMatch_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -7631,11 +6916,10 @@ public Builder setDisableKeywordMatch(boolean value) {
      * 
* * bool disable_keyword_match = 16; - * * @return This builder for chaining. */ public Builder clearDisableKeywordMatch() { - + disableKeywordMatch_ = false; onChanged(); return this; @@ -7643,122 +6927,90 @@ public Builder clearDisableKeywordMatch() { private int keywordMatchMode_ = 0; /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override - public int getKeywordMatchModeValue() { + @java.lang.Override public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @param value The enum numeric value on the wire for keywordMatchMode to set. * @return This builder for chaining. */ public Builder setKeywordMatchModeValue(int value) { - + keywordMatchMode_ = value; onChanged(); return this; } /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode - getKeywordMatchMode() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf( - keywordMatchMode_); - return result == null - ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; } /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @param value The keywordMatchMode to set. * @return This builder for chaining. */ - public Builder setKeywordMatchMode( - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode value) { + public Builder setKeywordMatchMode(com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode value) { if (value == null) { throw new NullPointerException(); } - + keywordMatchMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return This builder for chaining. */ public Builder clearKeywordMatchMode() { - + keywordMatchMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7768,12 +7020,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsRequest) private static final com.google.cloud.talent.v4beta1.SearchJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsRequest(); } @@ -7782,27 +7034,27 @@ public static com.google.cloud.talent.v4beta1.SearchJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7817,4 +7069,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SearchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java similarity index 94% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java index 07bee1444e37..4eba164b8194 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface SearchJobsRequestOrBuilder - extends +public interface SearchJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -33,16 +15,11 @@ public interface SearchJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -50,115 +27,85 @@ public interface SearchJobsRequestOrBuilder
    * is created. For example, "projects/foo".
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The enum numeric value on the wire for searchMode. */ int getSearchModeValue(); /** - * - * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; - * * @return The searchMode. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requestMetadata field is set. */ boolean hasRequestMetadata(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The requestMetadata. */ com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata(); /** - * - * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return Whether the jobQuery field is set. */ boolean hasJobQuery(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; - * * @return The jobQuery. */ com.google.cloud.talent.v4beta1.JobQuery getJobQuery(); /** - * - * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -168,8 +115,6 @@ public interface SearchJobsRequestOrBuilder com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder(); /** - * - * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -178,30 +123,23 @@ public interface SearchJobsRequestOrBuilder
    * 
* * bool enable_broadening = 5; - * * @return The enableBroadening. */ boolean getEnableBroadening(); /** - * - * *
    * This field is deprecated.
    * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is - * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. + * See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ - @java.lang.Deprecated - boolean getRequirePreciseResultSize(); + @java.lang.Deprecated boolean getRequirePreciseResultSize(); /** - * - * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -290,10 +228,9 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  java.util.List getHistogramQueriesList();
+  java.util.List 
+      getHistogramQueriesList();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -384,8 +321,6 @@ public interface SearchJobsRequestOrBuilder
    */
   com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int index);
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -476,8 +411,6 @@ public interface SearchJobsRequestOrBuilder
    */
   int getHistogramQueriesCount();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -566,11 +499,9 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  java.util.List
+  java.util.List 
       getHistogramQueriesOrBuilderList();
   /**
-   *
-   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -659,38 +590,31 @@ public interface SearchJobsRequestOrBuilder
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(int index);
+  com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** - * - * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; - * * @return The jobView. */ com.google.cloud.talent.v4beta1.JobView getJobView(); /** - * - * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -703,14 +627,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * int32 offset = 9; - * * @return The offset. */ int getOffset(); /** - * - * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -718,14 +639,11 @@ public interface SearchJobsRequestOrBuilder
    * 
* * int32 page_size = 10; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -733,13 +651,10 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string page_token = 11; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -747,14 +662,12 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string page_token = 11; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -807,13 +720,10 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string order_by = 12; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -866,14 +776,12 @@ public interface SearchJobsRequestOrBuilder
    * 
* * string order_by = 12; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -885,16 +793,11 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The enum numeric value on the wire for diversificationLevel. */ int getDiversificationLevelValue(); /** - * - * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -906,62 +809,42 @@ public interface SearchJobsRequestOrBuilder
    * is specified.
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; * @return The diversificationLevel. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return Whether the customRankingInfo field is set. */ boolean hasCustomRankingInfo(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; * @return The customRankingInfo. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo(); /** - * - * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; */ - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder - getCustomRankingInfoOrBuilder(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder(); /** - * - * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -988,38 +871,29 @@ public interface SearchJobsRequestOrBuilder
    * 
* * bool disable_keyword_match = 16; - * * @return The disableKeywordMatch. */ boolean getDisableKeywordMatch(); /** - * - * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The enum numeric value on the wire for keywordMatchMode. */ int getKeywordMatchModeValue(); /** - * - * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; - * - * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; * @return The keywordMatchMode. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java index a1b8bb557b13..bf9524f20de1 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Response for SearchJob method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse} */ -public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SearchJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse) SearchJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SearchJobsResponse.newBuilder() to construct. private SearchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SearchJobsResponse() { matchingJobs_ = java.util.Collections.emptyList(); histogramQueryResults_ = java.util.Collections.emptyList(); @@ -46,62 +28,52 @@ private SearchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SearchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); } - public interface MatchingJobOrBuilder - extends + public interface MatchingJobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
@@ -111,35 +83,28 @@ public interface MatchingJobOrBuilder com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The jobSummary. */ java.lang.String getJobSummary(); /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ - com.google.protobuf.ByteString getJobSummaryBytes(); + com.google.protobuf.ByteString + getJobSummaryBytes(); /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -147,13 +112,10 @@ public interface MatchingJobOrBuilder
      * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ java.lang.String getJobTitleSnippet(); /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -161,14 +123,12 @@ public interface MatchingJobOrBuilder
      * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ - com.google.protobuf.ByteString getJobTitleSnippetBytes(); + com.google.protobuf.ByteString + getJobTitleSnippetBytes(); /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -177,13 +137,10 @@ public interface MatchingJobOrBuilder
      * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ java.lang.String getSearchTextSnippet(); /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -192,40 +149,32 @@ public interface MatchingJobOrBuilder
      * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ - com.google.protobuf.ByteString getSearchTextSnippetBytes(); + com.google.protobuf.ByteString + getSearchTextSnippetBytes(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ boolean hasCommuteInfo(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo(); /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -233,28 +182,24 @@ public interface MatchingJobOrBuilder
      *
      * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
-    com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
-        getCommuteInfoOrBuilder();
+    com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob} */ - public static final class MatchingJob extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MatchingJob extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) MatchingJobOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MatchingJob.newBuilder() to construct. private MatchingJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MatchingJob() { jobSummary_ = ""; jobTitleSnippet_ = ""; @@ -263,41 +208,37 @@ private MatchingJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MatchingJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ @java.lang.Override @@ -305,14 +246,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ @java.lang.Override @@ -320,8 +258,6 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** - * - * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
@@ -336,15 +272,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private volatile java.lang.Object jobSummary_; /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The jobSummary. */ @java.lang.Override @@ -353,30 +286,30 @@ public java.lang.String getJobSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; } } /** - * - * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ @java.lang.Override - public com.google.protobuf.ByteString getJobSummaryBytes() { + public com.google.protobuf.ByteString + getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -387,8 +320,6 @@ public com.google.protobuf.ByteString getJobSummaryBytes() { public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 3; private volatile java.lang.Object jobTitleSnippet_; /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -396,7 +327,6 @@ public com.google.protobuf.ByteString getJobSummaryBytes() {
      * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ @java.lang.Override @@ -405,15 +335,14 @@ public java.lang.String getJobTitleSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; } } /** - * - * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -421,15 +350,16 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString + getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -440,8 +370,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() { public static final int SEARCH_TEXT_SNIPPET_FIELD_NUMBER = 4; private volatile java.lang.Object searchTextSnippet_; /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -450,7 +378,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
      * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ @java.lang.Override @@ -459,15 +386,14 @@ public java.lang.String getSearchTextSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; } } /** - * - * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -476,15 +402,16 @@ public java.lang.String getSearchTextSnippet() {
      * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString + getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -495,15 +422,12 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() { public static final int COMMUTE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ @java.lang.Override @@ -511,26 +435,19 @@ public boolean hasCommuteInfo() { return commuteInfo_ != null; } /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo() { - return commuteInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() - : commuteInfo_; + return commuteInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; } /** - * - * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -539,13 +456,11 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommute
      * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
-        getCommuteInfoOrBuilder() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
       return getCommuteInfo();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -557,7 +472,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -583,7 +499,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJob());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSummary_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobSummary_);
@@ -595,7 +512,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchTextSnippet_);
       }
       if (commuteInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteInfo());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getCommuteInfo());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -605,24 +523,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other =
-          (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj;
+      com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob().equals(other.getJob())) return false;
-      }
-      if (!getJobSummary().equals(other.getJobSummary())) return false;
-      if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false;
-      if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false;
+        if (!getJob()
+            .equals(other.getJob())) return false;
+      }
+      if (!getJobSummary()
+          .equals(other.getJobSummary())) return false;
+      if (!getJobTitleSnippet()
+          .equals(other.getJobTitleSnippet())) return false;
+      if (!getSearchTextSnippet()
+          .equals(other.getSearchTextSnippet())) return false;
       if (hasCommuteInfo() != other.hasCommuteInfo()) return false;
       if (hasCommuteInfo()) {
-        if (!getCommuteInfo().equals(other.getCommuteInfo())) return false;
+        if (!getCommuteInfo()
+            .equals(other.getCommuteInfo())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -655,94 +577,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -752,41 +667,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -812,14 +725,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance(); } @@ -834,8 +746,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob result = - new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob result = new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -857,52 +768,46 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other) { - if (other - == com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other) { + if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -947,43 +852,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - jobSummary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - jobTitleSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - searchTextSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - input.readMessage(getCommuteInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + jobSummary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + jobTitleSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + searchTextSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + input.readMessage( + getCommuteInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -996,33 +899,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; - * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -1033,8 +927,6 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1055,15 +947,14 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; */ - public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -1074,8 +965,6 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValu return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1086,9 +975,7 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -1100,8 +987,6 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1120,8 +1005,6 @@ public Builder clearJob() { return this; } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1129,13 +1012,11 @@ public Builder clearJob() { * .google.cloud.talent.v4beta1.Job job = 1; */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1146,12 +1027,11 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** - * - * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1159,17 +1039,14 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4beta1.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -1177,21 +1054,19 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobSummary_ = ""; /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return The jobSummary. */ public java.lang.String getJobSummary() { java.lang.Object ref = jobSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; @@ -1200,22 +1075,21 @@ public java.lang.String getJobSummary() { } } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return The bytes for jobSummary. */ - public com.google.protobuf.ByteString getJobSummaryBytes() { + public com.google.protobuf.ByteString + getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -1223,64 +1097,57 @@ public com.google.protobuf.ByteString getJobSummaryBytes() { } } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @param value The jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummary(java.lang.String value) { + public Builder setJobSummary( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobSummary_ = value; onChanged(); return this; } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @return This builder for chaining. */ public Builder clearJobSummary() { - + jobSummary_ = getDefaultInstance().getJobSummary(); onChanged(); return this; } /** - * - * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; - * * @param value The bytes for jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { + public Builder setJobSummaryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobSummary_ = value; onChanged(); return this; @@ -1288,8 +1155,6 @@ public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { private java.lang.Object jobTitleSnippet_ = ""; /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1297,13 +1162,13 @@ public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) {
        * 
* * string job_title_snippet = 3; - * * @return The jobTitleSnippet. */ public java.lang.String getJobTitleSnippet() { java.lang.Object ref = jobTitleSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; @@ -1312,8 +1177,6 @@ public java.lang.String getJobTitleSnippet() { } } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1321,14 +1184,15 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; - * * @return The bytes for jobTitleSnippet. */ - public com.google.protobuf.ByteString getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString + getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -1336,8 +1200,6 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() { } } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1345,22 +1207,20 @@ public com.google.protobuf.ByteString getJobTitleSnippetBytes() {
        * 
* * string job_title_snippet = 3; - * * @param value The jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippet(java.lang.String value) { + public Builder setJobTitleSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTitleSnippet_ = value; onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1368,18 +1228,15 @@ public Builder setJobTitleSnippet(java.lang.String value) {
        * 
* * string job_title_snippet = 3; - * * @return This builder for chaining. */ public Builder clearJobTitleSnippet() { - + jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet(); onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1387,16 +1244,16 @@ public Builder clearJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; - * * @param value The bytes for jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setJobTitleSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTitleSnippet_ = value; onChanged(); return this; @@ -1404,8 +1261,6 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { private java.lang.Object searchTextSnippet_ = ""; /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1414,13 +1269,13 @@ public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) {
        * 
* * string search_text_snippet = 4; - * * @return The searchTextSnippet. */ public java.lang.String getSearchTextSnippet() { java.lang.Object ref = searchTextSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; @@ -1429,8 +1284,6 @@ public java.lang.String getSearchTextSnippet() { } } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1439,14 +1292,15 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; - * * @return The bytes for searchTextSnippet. */ - public com.google.protobuf.ByteString getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString + getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -1454,8 +1308,6 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() { } } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1464,22 +1316,20 @@ public com.google.protobuf.ByteString getSearchTextSnippetBytes() {
        * 
* * string search_text_snippet = 4; - * * @param value The searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippet(java.lang.String value) { + public Builder setSearchTextSnippet( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchTextSnippet_ = value; onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1488,18 +1338,15 @@ public Builder setSearchTextSnippet(java.lang.String value) {
        * 
* * string search_text_snippet = 4; - * * @return This builder for chaining. */ public Builder clearSearchTextSnippet() { - + searchTextSnippet_ = getDefaultInstance().getSearchTextSnippet(); onChanged(); return this; } /** - * - * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1508,16 +1355,16 @@ public Builder clearSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; - * * @param value The bytes for searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { + public Builder setSearchTextSnippetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchTextSnippet_ = value; onChanged(); return this; @@ -1525,49 +1372,36 @@ public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> - commuteInfoBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> commuteInfoBuilder_; /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
        * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return Whether the commuteInfo field is set. */ public boolean hasCommuteInfo() { return commuteInfoBuilder_ != null || commuteInfo_ != null; } /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
        * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; - * * @return The commuteInfo. */ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo() { if (commuteInfoBuilder_ == null) { - return commuteInfo_ == null - ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() - : commuteInfo_; + return commuteInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; } else { return commuteInfoBuilder_.getMessage(); } } /** - * - * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1575,8 +1409,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommute
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder setCommuteInfo(
-          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
+      public Builder setCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1590,8 +1423,6 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1611,8 +1442,6 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1620,15 +1449,11 @@ public Builder setCommuteInfo(
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder mergeCommuteInfo(
-          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
+      public Builder mergeCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (commuteInfo_ != null) {
             commuteInfo_ =
-                com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder(
-                        commuteInfo_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_).mergeFrom(value).buildPartial();
           } else {
             commuteInfo_ = value;
           }
@@ -1640,8 +1465,6 @@ public Builder mergeCommuteInfo(
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1661,8 +1484,6 @@ public Builder clearCommuteInfo() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1670,15 +1491,12 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder
-          getCommuteInfoBuilder() {
-
+      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder() {
+        
         onChanged();
         return getCommuteInfoFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1686,19 +1504,15 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
-          getCommuteInfoOrBuilder() {
+      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
         if (commuteInfoBuilder_ != null) {
           return commuteInfoBuilder_.getMessageOrBuilder();
         } else {
-          return commuteInfo_ == null
-              ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()
-              : commuteInfo_;
+          return commuteInfo_ == null ?
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_;
         }
       }
       /**
-       *
-       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1707,22 +1521,18 @@ public Builder clearCommuteInfo() {
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo,
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder,
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>
+          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> 
           getCommuteInfoFieldBuilder() {
         if (commuteInfoBuilder_ == null) {
-          commuteInfoBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo,
-                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder,
-                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>(
-                  getCommuteInfo(), getParentForChildren(), isClean());
+          commuteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>(
+                  getCommuteInfo(),
+                  getParentForChildren(),
+                  isClean());
           commuteInfo_ = null;
         }
         return commuteInfoBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1735,44 +1545,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)
-    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob();
     }
 
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public MatchingJob parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public MatchingJob parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1784,44 +1591,35 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CommuteInfoOrBuilder
-      extends
+  public interface CommuteInfoOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ boolean hasJobLocation(); /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return The jobLocation. */ com.google.cloud.talent.v4beta1.Location getJobLocation(); /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1831,8 +1629,6 @@ public interface CommuteInfoOrBuilder com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1841,13 +1637,10 @@ public interface CommuteInfoOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1856,13 +1649,10 @@ public interface CommuteInfoOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1875,63 +1665,57 @@ public interface CommuteInfoOrBuilder
     com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Commute details related to this job.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo} */ - public static final class CommuteInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CommuteInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) CommuteInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteInfo.newBuilder() to construct. private CommuteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CommuteInfo() {} + private CommuteInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommuteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); } public static final int JOB_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Location jobLocation_; /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ @java.lang.Override @@ -1939,25 +1723,18 @@ public boolean hasJobLocation() { return jobLocation_ != null; } /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return The jobLocation. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location getJobLocation() { - return jobLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; } /** - * - * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1972,8 +1749,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1982,7 +1757,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -1990,8 +1764,6 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -2000,18 +1772,13 @@ public boolean hasTravelDuration() {
      * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } /** - * - * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -2027,7 +1794,6 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2039,7 +1805,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (jobLocation_ != null) {
         output.writeMessage(1, getJobLocation());
       }
@@ -2056,10 +1823,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (jobLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobLocation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getJobLocation());
       }
       if (travelDuration_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getTravelDuration());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2069,21 +1838,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other =
-          (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj;
+      com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj;
 
       if (hasJobLocation() != other.hasJobLocation()) return false;
       if (hasJobLocation()) {
-        if (!getJobLocation().equals(other.getJobLocation())) return false;
+        if (!getJobLocation()
+            .equals(other.getJobLocation())) return false;
       }
       if (hasTravelDuration() != other.hasTravelDuration()) return false;
       if (hasTravelDuration()) {
-        if (!getTravelDuration().equals(other.getTravelDuration())) return false;
+        if (!getTravelDuration()
+            .equals(other.getTravelDuration())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2110,94 +1880,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo prototype) {
+    public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2207,41 +1970,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Commute details related to this job.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2261,14 +2022,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo - getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance(); } @@ -2283,8 +2043,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo result = - new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo result = new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo(this); if (jobLocationBuilder_ == null) { result.jobLocation_ = jobLocation_; } else { @@ -2303,52 +2062,46 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other) { - if (other - == com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other) { + if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()) return this; if (other.hasJobLocation()) { mergeJobLocation(other.getJobLocation()); } @@ -2381,26 +2134,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobLocationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobLocationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2413,47 +2166,34 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> - jobLocationBuilder_; + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> jobLocationBuilder_; /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return Whether the jobLocation field is set. */ public boolean hasJobLocation() { return jobLocationBuilder_ != null || jobLocation_ != null; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; - * * @return The jobLocation. */ public com.google.cloud.talent.v4beta1.Location getJobLocation() { if (jobLocationBuilder_ == null) { - return jobLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; } else { return jobLocationBuilder_.getMessage(); } } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2474,8 +2214,6 @@ public Builder setJobLocation(com.google.cloud.talent.v4beta1.Location value) { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2494,8 +2232,6 @@ public Builder setJobLocation( return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2506,9 +2242,7 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4beta1.Location value) if (jobLocationBuilder_ == null) { if (jobLocation_ != null) { jobLocation_ = - com.google.cloud.talent.v4beta1.Location.newBuilder(jobLocation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Location.newBuilder(jobLocation_).mergeFrom(value).buildPartial(); } else { jobLocation_ = value; } @@ -2520,8 +2254,6 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4beta1.Location value) return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2540,8 +2272,6 @@ public Builder clearJobLocation() { return this; } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2549,13 +2279,11 @@ public Builder clearJobLocation() { * .google.cloud.talent.v4beta1.Location job_location = 1; */ public com.google.cloud.talent.v4beta1.Location.Builder getJobLocationBuilder() { - + onChanged(); return getJobLocationFieldBuilder().getBuilder(); } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2566,14 +2294,11 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder if (jobLocationBuilder_ != null) { return jobLocationBuilder_.getMessageOrBuilder(); } else { - return jobLocation_ == null - ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() - : jobLocation_; + return jobLocation_ == null ? + com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; } } /** - * - * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2581,17 +2306,14 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder * .google.cloud.talent.v4beta1.Location job_location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> getJobLocationFieldBuilder() { if (jobLocationBuilder_ == null) { - jobLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder>( - getJobLocation(), getParentForChildren(), isClean()); + jobLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>( + getJobLocation(), + getParentForChildren(), + isClean()); jobLocation_ = null; } return jobLocationBuilder_; @@ -2599,13 +2321,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - travelDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2614,15 +2331,12 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder
        * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2631,21 +2345,16 @@ public boolean hasTravelDuration() {
        * 
* * .google.protobuf.Duration travel_duration = 2; - * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : travelDuration_; + return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** - * - * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2669,8 +2378,6 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2680,7 +2387,8 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration travel_duration = 2;
        */
-      public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTravelDuration(
+          com.google.protobuf.Duration.Builder builderForValue) {
         if (travelDurationBuilder_ == null) {
           travelDuration_ = builderForValue.build();
           onChanged();
@@ -2691,8 +2399,6 @@ public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2706,9 +2412,7 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         if (travelDurationBuilder_ == null) {
           if (travelDuration_ != null) {
             travelDuration_ =
-                com.google.protobuf.Duration.newBuilder(travelDuration_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial();
           } else {
             travelDuration_ = value;
           }
@@ -2720,8 +2424,6 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2743,8 +2445,6 @@ public Builder clearTravelDuration() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2755,13 +2455,11 @@ public Builder clearTravelDuration() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       public com.google.protobuf.Duration.Builder getTravelDurationBuilder() {
-
+        
         onChanged();
         return getTravelDurationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2775,14 +2473,11 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
         if (travelDurationBuilder_ != null) {
           return travelDurationBuilder_.getMessageOrBuilder();
         } else {
-          return travelDuration_ == null
-              ? com.google.protobuf.Duration.getDefaultInstance()
-              : travelDuration_;
+          return travelDuration_ == null ?
+              com.google.protobuf.Duration.getDefaultInstance() : travelDuration_;
         }
       }
       /**
-       *
-       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2793,22 +2488,18 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
           getTravelDurationFieldBuilder() {
         if (travelDurationBuilder_ == null) {
-          travelDurationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Duration,
-                  com.google.protobuf.Duration.Builder,
-                  com.google.protobuf.DurationOrBuilder>(
-                  getTravelDuration(), getParentForChildren(), isClean());
+          travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                  getTravelDuration(),
+                  getParentForChildren(),
+                  isClean());
           travelDuration_ = null;
         }
         return travelDurationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2821,44 +2512,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
-    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo();
     }
 
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
-        getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CommuteInfo parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CommuteInfo parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2870,184 +2558,146 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
-        getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int MATCHING_JOBS_FIELD_NUMBER = 1;
-  private java.util.List
-      matchingJobs_;
+  private java.util.List matchingJobs_;
   /**
-   *
-   *
    * 
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List - getMatchingJobsList() { + public java.util.List getMatchingJobsList() { return matchingJobs_; } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + public java.util.List getMatchingJobsOrBuilderList() { return matchingJobs_; } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override public int getMatchingJobsCount() { return matchingJobs_.size(); } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { return matchingJobs_.get(index); } /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder - getMatchingJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( + int index) { return matchingJobs_.get(index); } public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER = 2; - private java.util.List - histogramQueryResults_; + private java.util.List histogramQueryResults_; /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override - public java.util.List - getHistogramQueryResultsList() { + public java.util.List getHistogramQueryResultsList() { return histogramQueryResults_; } /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override - public java.util.List + public java.util.List getHistogramQueryResultsOrBuilderList() { return histogramQueryResults_; } /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override public int getHistogramQueryResultsCount() { return histogramQueryResults_.size(); } /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index) { return histogramQueryResults_.get(index); } /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder - getHistogramQueryResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( + int index) { return histogramQueryResults_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -3056,30 +2706,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -3090,8 +2740,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int LOCATION_FILTERS_FIELD_NUMBER = 4; private java.util.List locationFilters_; /** - * - * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3105,8 +2753,6 @@ public java.util.List getLocationFilte
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3116,13 +2762,11 @@ public java.util.List getLocationFilte
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3136,8 +2780,6 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3151,8 +2793,6 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -3162,15 +2802,14 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
+  public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
+      int index) {
     return locationFilters_.get(index);
   }
 
   public static final int ESTIMATED_TOTAL_SIZE_FIELD_NUMBER = 5;
   private int estimatedTotalSize_;
   /**
-   *
-   *
    * 
    * An estimation of the number of jobs that match the specified query.
    * This number isn't guaranteed to be accurate. For accurate results,
@@ -3178,7 +2817,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
    * 
* * int32 estimated_total_size = 5; - * * @return The estimatedTotalSize. */ @java.lang.Override @@ -3189,14 +2827,11 @@ public int getEstimatedTotalSize() { public static final int TOTAL_SIZE_FIELD_NUMBER = 6; private int totalSize_; /** - * - * *
    * The precise result count with limit 100,000.
    * 
* * int32 total_size = 6; - * * @return The totalSize. */ @java.lang.Override @@ -3207,15 +2842,12 @@ public int getTotalSize() { public static final int METADATA_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -3223,26 +2855,19 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -3258,8 +2883,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER = 8;
   private int broadenedQueryJobsCount_;
   /**
-   *
-   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -3271,7 +2894,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
    * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -3282,14 +2904,11 @@ public int getBroadenedQueryJobsCount() { public static final int SPELL_CORRECTION_FIELD_NUMBER = 9; private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ @java.lang.Override @@ -3297,25 +2916,18 @@ public boolean hasSpellCorrection() { return spellCorrection_ != null; } /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection() { - return spellCorrection_ == null - ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; } /** - * - * *
    * The spell checking result, and correction.
    * 
@@ -3328,7 +2940,6 @@ public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorre } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3340,7 +2951,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < matchingJobs_.size(); i++) { output.writeMessage(1, matchingJobs_.get(i)); } @@ -3378,33 +2990,39 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < matchingJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchingJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, matchingJobs_.get(i)); } for (int i = 0; i < histogramQueryResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, histogramQueryResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, histogramQueryResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, locationFilters_.get(i)); } if (estimatedTotalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, estimatedTotalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, estimatedTotalSize_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, totalSize_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getMetadata()); } if (broadenedQueryJobsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, broadenedQueryJobsCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, broadenedQueryJobsCount_); } if (spellCorrection_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSpellCorrection()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getSpellCorrection()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3414,28 +3032,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsResponse other = - (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; - - if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; - if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; - if (getEstimatedTotalSize() != other.getEstimatedTotalSize()) return false; - if (getTotalSize() != other.getTotalSize()) return false; + com.google.cloud.talent.v4beta1.SearchJobsResponse other = (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; + + if (!getMatchingJobsList() + .equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList() + .equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList() + .equals(other.getLocationFiltersList())) return false; + if (getEstimatedTotalSize() + != other.getEstimatedTotalSize()) return false; + if (getTotalSize() + != other.getTotalSize()) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata().equals(other.getMetadata())) return false; + if (!getMetadata() + .equals(other.getMetadata())) return false; } - if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; + if (getBroadenedQueryJobsCount() + != other.getBroadenedQueryJobsCount()) return false; if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; + if (!getSpellCorrection() + .equals(other.getSpellCorrection())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3482,135 +3108,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for SearchJob method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse) com.google.cloud.talent.v4beta1.SearchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3659,9 +3279,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override @@ -3680,8 +3300,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse result = - new com.google.cloud.talent.v4beta1.SearchJobsResponse(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse result = new com.google.cloud.talent.v4beta1.SearchJobsResponse(this); int from_bitField0_ = bitField0_; if (matchingJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3732,39 +3351,38 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -3772,8 +3390,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance()) return this; if (matchingJobsBuilder_ == null) { if (!other.matchingJobs_.isEmpty()) { if (matchingJobs_.isEmpty()) { @@ -3792,10 +3409,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe matchingJobsBuilder_ = null; matchingJobs_ = other.matchingJobs_; bitField0_ = (bitField0_ & ~0x00000001); - matchingJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMatchingJobsFieldBuilder() - : null; + matchingJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMatchingJobsFieldBuilder() : null; } else { matchingJobsBuilder_.addAllMessages(other.matchingJobs_); } @@ -3819,10 +3435,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe histogramQueryResultsBuilder_ = null; histogramQueryResults_ = other.histogramQueryResults_; bitField0_ = (bitField0_ & ~0x00000002); - histogramQueryResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHistogramQueryResultsFieldBuilder() - : null; + histogramQueryResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHistogramQueryResultsFieldBuilder() : null; } else { histogramQueryResultsBuilder_.addAllMessages(other.histogramQueryResults_); } @@ -3850,10 +3465,9 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000004); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLocationFiltersFieldBuilder() - : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getLocationFiltersFieldBuilder() : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -3900,90 +3514,85 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob m = - input.readMessage( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.parser(), - extensionRegistry); - if (matchingJobsBuilder_ == null) { - ensureMatchingJobsIsMutable(); - matchingJobs_.add(m); - } else { - matchingJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.cloud.talent.v4beta1.HistogramQueryResult m = - input.readMessage( - com.google.cloud.talent.v4beta1.HistogramQueryResult.parser(), - extensionRegistry); - if (histogramQueryResultsBuilder_ == null) { - ensureHistogramQueryResultsIsMutable(); - histogramQueryResults_.add(m); - } else { - histogramQueryResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob m = + input.readMessage( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.parser(), + extensionRegistry); + if (matchingJobsBuilder_ == null) { + ensureMatchingJobsIsMutable(); + matchingJobs_.add(m); + } else { + matchingJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.cloud.talent.v4beta1.HistogramQueryResult m = + input.readMessage( + com.google.cloud.talent.v4beta1.HistogramQueryResult.parser(), + extensionRegistry); + if (histogramQueryResultsBuilder_ == null) { + ensureHistogramQueryResultsIsMutable(); + histogramQueryResults_.add(m); + } else { + histogramQueryResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - com.google.cloud.talent.v4beta1.Location m = - input.readMessage( - com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: - { - estimatedTotalSize_ = input.readInt32(); + break; + } // case 26 + case 34: { + com.google.cloud.talent.v4beta1.Location m = + input.readMessage( + com.google.cloud.talent.v4beta1.Location.parser(), + extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: { + estimatedTotalSize_ = input.readInt32(); - break; - } // case 40 - case 48: - { - totalSize_ = input.readInt32(); + break; + } // case 40 + case 48: { + totalSize_ = input.readInt32(); - break; - } // case 48 - case 58: - { - input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 48 + case 58: { + input.readMessage( + getMetadataFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 58 - case 64: - { - broadenedQueryJobsCount_ = input.readInt32(); + break; + } // case 58 + case 64: { + broadenedQueryJobsCount_ = input.readInt32(); - break; - } // case 64 - case 74: - { - input.readMessage(getSpellCorrectionFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 64 + case 74: { + input.readMessage( + getSpellCorrectionFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3993,39 +3602,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - matchingJobs_ = java.util.Collections.emptyList(); - + private java.util.List matchingJobs_ = + java.util.Collections.emptyList(); private void ensureMatchingJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - matchingJobs_ = - new java.util.ArrayList( - matchingJobs_); + matchingJobs_ = new java.util.ArrayList(matchingJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> - matchingJobsBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> matchingJobsBuilder_; - /** - * - * + /** *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List - getMatchingJobsList() { + public java.util.List getMatchingJobsList() { if (matchingJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchingJobs_); } else { @@ -4033,14 +3631,11 @@ private void ensureMatchingJobsIsMutable() { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public int getMatchingJobsCount() { if (matchingJobsBuilder_ == null) { @@ -4050,17 +3645,13 @@ public int getMatchingJobsCount() { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs( - int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { return matchingJobs_.get(index); } else { @@ -4068,14 +3659,11 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchin } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder setMatchingJobs( int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { @@ -4092,18 +3680,14 @@ public Builder setMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder setMatchingJobs( - int index, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.set(index, builderForValue.build()); @@ -4114,17 +3698,13 @@ public Builder setMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public Builder addMatchingJobs( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { + public Builder addMatchingJobs(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { if (matchingJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4138,14 +3718,11 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { @@ -4162,14 +3739,11 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { @@ -4183,18 +3757,14 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addMatchingJobs( - int index, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.add(index, builderForValue.build()); @@ -4205,21 +3775,18 @@ public Builder addMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder addAllMatchingJobs( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchingJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, matchingJobs_); onChanged(); } else { matchingJobsBuilder_.addAllMessages(values); @@ -4227,14 +3794,11 @@ public Builder addAllMatchingJobs( return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder clearMatchingJobs() { if (matchingJobsBuilder_ == null) { @@ -4247,14 +3811,11 @@ public Builder clearMatchingJobs() { return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ public Builder removeMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -4267,50 +3828,39 @@ public Builder removeMatchingJobs(int index) { return this; } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder - getMatchingJobsBuilder(int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder( + int index) { return getMatchingJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder - getMatchingJobsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( + int index) { if (matchingJobsBuilder_ == null) { - return matchingJobs_.get(index); - } else { + return matchingJobs_.get(index); } else { return matchingJobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List< - ? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> - getMatchingJobsOrBuilderList() { + public java.util.List + getMatchingJobsOrBuilderList() { if (matchingJobsBuilder_ != null) { return matchingJobsBuilder_.getMessageOrBuilderList(); } else { @@ -4318,101 +3868,75 @@ public Builder removeMatchingJobs(int index) { } } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder - addMatchingJobsBuilder() { - return getMatchingJobsFieldBuilder() - .addBuilder( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder() { + return getMatchingJobsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder - addMatchingJobsBuilder(int index) { - return getMatchingJobsFieldBuilder() - .addBuilder( - index, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder( + int index) { + return getMatchingJobsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** - * - * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - public java.util.List - getMatchingJobsBuilderList() { + public java.util.List + getMatchingJobsBuilderList() { return getMatchingJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsFieldBuilder() { if (matchingJobsBuilder_ == null) { - matchingJobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + matchingJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( + matchingJobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; } - private java.util.List - histogramQueryResults_ = java.util.Collections.emptyList(); - + private java.util.List histogramQueryResults_ = + java.util.Collections.emptyList(); private void ensureHistogramQueryResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - histogramQueryResults_ = - new java.util.ArrayList( - histogramQueryResults_); + histogramQueryResults_ = new java.util.ArrayList(histogramQueryResults_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, - com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> - histogramQueryResultsBuilder_; + com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> histogramQueryResultsBuilder_; /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsList() { + public java.util.List getHistogramQueryResultsList() { if (histogramQueryResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(histogramQueryResults_); } else { @@ -4420,15 +3944,12 @@ private void ensureHistogramQueryResultsIsMutable() { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public int getHistogramQueryResultsCount() { if (histogramQueryResultsBuilder_ == null) { @@ -4438,18 +3959,14 @@ public int getHistogramQueryResultsCount() { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults( - int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { return histogramQueryResults_.get(index); } else { @@ -4457,15 +3974,12 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryRes } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult value) { @@ -4482,15 +3996,12 @@ public Builder setHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4504,18 +4015,14 @@ public Builder setHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public Builder addHistogramQueryResults( - com.google.cloud.talent.v4beta1.HistogramQueryResult value) { + public Builder addHistogramQueryResults(com.google.cloud.talent.v4beta1.HistogramQueryResult value) { if (histogramQueryResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4529,15 +4036,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult value) { @@ -4554,15 +4058,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4576,15 +4077,12 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4598,21 +4096,19 @@ public Builder addHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder addAllHistogramQueryResults( java.lang.Iterable values) { if (histogramQueryResultsBuilder_ == null) { ensureHistogramQueryResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueryResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, histogramQueryResults_); onChanged(); } else { histogramQueryResultsBuilder_.addAllMessages(values); @@ -4620,15 +4116,12 @@ public Builder addAllHistogramQueryResults( return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder clearHistogramQueryResults() { if (histogramQueryResultsBuilder_ == null) { @@ -4641,15 +4134,12 @@ public Builder clearHistogramQueryResults() { return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ public Builder removeHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4662,52 +4152,42 @@ public Builder removeHistogramQueryResults(int index) { return this; } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder - getHistogramQueryResultsBuilder(int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder getHistogramQueryResultsBuilder( + int index) { return getHistogramQueryResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder - getHistogramQueryResultsOrBuilder(int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( + int index) { if (histogramQueryResultsBuilder_ == null) { - return histogramQueryResults_.get(index); - } else { + return histogramQueryResults_.get(index); } else { return histogramQueryResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsOrBuilderList() { + public java.util.List + getHistogramQueryResultsOrBuilderList() { if (histogramQueryResultsBuilder_ != null) { return histogramQueryResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4715,65 +4195,48 @@ public Builder removeHistogramQueryResults(int index) { } } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder - addHistogramQueryResultsBuilder() { - return getHistogramQueryResultsFieldBuilder() - .addBuilder(com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogramQueryResultsBuilder() { + return getHistogramQueryResultsFieldBuilder().addBuilder( + com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder - addHistogramQueryResultsBuilder(int index) { - return getHistogramQueryResultsFieldBuilder() - .addBuilder( - index, com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogramQueryResultsBuilder( + int index) { + return getHistogramQueryResultsFieldBuilder().addBuilder( + index, com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); } /** - * - * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - public java.util.List - getHistogramQueryResultsBuilderList() { + public java.util.List + getHistogramQueryResultsBuilderList() { return getHistogramQueryResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, - com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> + com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> getHistogramQueryResultsFieldBuilder() { if (histogramQueryResultsBuilder_ == null) { - histogramQueryResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, - com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, - com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( + histogramQueryResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( histogramQueryResults_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4785,21 +4248,19 @@ public Builder removeHistogramQueryResults(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4808,22 +4269,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4831,89 +4291,75 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - locationFilters_ = - new java.util.ArrayList(locationFilters_); + locationFilters_ = new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, - com.google.cloud.talent.v4beta1.Location.Builder, - com.google.cloud.talent.v4beta1.LocationOrBuilder> - locationFiltersBuilder_; + com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> locationFiltersBuilder_; /** - * - * *
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4930,8 +4376,6 @@ public java.util.List getLocationFilte
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4948,8 +4392,6 @@ public int getLocationFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4966,8 +4408,6 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4976,7 +4416,8 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public Builder setLocationFilters(int index, com.google.cloud.talent.v4beta1.Location value) {
+    public Builder setLocationFilters(
+        int index, com.google.cloud.talent.v4beta1.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4990,8 +4431,6 @@ public Builder setLocationFilters(int index, com.google.cloud.talent.v4beta1.Loc
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5012,8 +4451,6 @@ public Builder setLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5036,8 +4473,6 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.Location value
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5046,7 +4481,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.Location value
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public Builder addLocationFilters(int index, com.google.cloud.talent.v4beta1.Location value) {
+    public Builder addLocationFilters(
+        int index, com.google.cloud.talent.v4beta1.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5060,8 +4496,6 @@ public Builder addLocationFilters(int index, com.google.cloud.talent.v4beta1.Loc
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5082,8 +4516,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5104,8 +4536,6 @@ public Builder addLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5118,7 +4548,8 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -5126,8 +4557,6 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5147,8 +4576,6 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5168,8 +4595,6 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5178,12 +4603,11 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilder(int index) {
+    public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilder(
+        int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5195,14 +4619,11 @@ public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilde
     public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);
-      } else {
+        return locationFilters_.get(index);  } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5211,8 +4632,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public java.util.List
-        getLocationFiltersOrBuilderList() {
+    public java.util.List 
+         getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -5220,8 +4641,6 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
       }
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5231,12 +4650,10 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
     public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+      return getLocationFiltersFieldBuilder().addBuilder(
+          com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5245,13 +4662,12 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder(int index) {
-      return getLocationFiltersFieldBuilder()
-          .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+    public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder(
+        int index) {
+      return getLocationFiltersFieldBuilder().addBuilder(
+          index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -5260,22 +4676,16 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public java.util.List
-        getLocationFiltersBuilderList() {
+    public java.util.List 
+         getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.Location,
-            com.google.cloud.talent.v4beta1.Location.Builder,
-            com.google.cloud.talent.v4beta1.LocationOrBuilder>
+        com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.Location,
-                com.google.cloud.talent.v4beta1.Location.Builder,
-                com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -5285,10 +4695,8 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
       return locationFiltersBuilder_;
     }
 
-    private int estimatedTotalSize_;
+    private int estimatedTotalSize_ ;
     /**
-     *
-     *
      * 
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -5296,7 +4704,6 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      * 
* * int32 estimated_total_size = 5; - * * @return The estimatedTotalSize. */ @java.lang.Override @@ -5304,8 +4711,6 @@ public int getEstimatedTotalSize() { return estimatedTotalSize_; } /** - * - * *
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -5313,19 +4718,16 @@ public int getEstimatedTotalSize() {
      * 
* * int32 estimated_total_size = 5; - * * @param value The estimatedTotalSize to set. * @return This builder for chaining. */ public Builder setEstimatedTotalSize(int value) { - + estimatedTotalSize_ = value; onChanged(); return this; } /** - * - * *
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -5333,26 +4735,22 @@ public Builder setEstimatedTotalSize(int value) {
      * 
* * int32 estimated_total_size = 5; - * * @return This builder for chaining. */ public Builder clearEstimatedTotalSize() { - + estimatedTotalSize_ = 0; onChanged(); return this; } - private int totalSize_; + private int totalSize_ ; /** - * - * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; - * * @return The totalSize. */ @java.lang.Override @@ -5360,36 +4758,30 @@ public int getTotalSize() { return totalSize_; } /** - * - * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; - * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** - * - * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; - * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; @@ -5397,49 +4789,36 @@ public Builder clearTotalSize() { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, - com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, - com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> - metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null - ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() - : metadata_; + return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** - * - * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5461,8 +4840,6 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5482,8 +4859,6 @@ public Builder setMetadata(
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5495,9 +4870,7 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
         } else {
           metadata_ = value;
         }
@@ -5509,8 +4882,6 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5530,8 +4901,6 @@ public Builder clearMetadata() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5540,13 +4909,11 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-
+      
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5558,14 +4925,11 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null
-            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
-            : metadata_;
+        return metadata_ == null ?
+            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
       }
     }
     /**
-     *
-     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -5574,26 +4938,21 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata,
-            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
+        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.talent.v4beta1.ResponseMetadata,
-                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
-                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(), getParentForChildren(), isClean());
+        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(),
+                getParentForChildren(),
+                isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private int broadenedQueryJobsCount_;
+    private int broadenedQueryJobsCount_ ;
     /**
-     *
-     *
      * 
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5605,7 +4964,6 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -5613,8 +4971,6 @@ public int getBroadenedQueryJobsCount() { return broadenedQueryJobsCount_; } /** - * - * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5626,19 +4982,16 @@ public int getBroadenedQueryJobsCount() {
      * 
* * int32 broadened_query_jobs_count = 8; - * * @param value The broadenedQueryJobsCount to set. * @return This builder for chaining. */ public Builder setBroadenedQueryJobsCount(int value) { - + broadenedQueryJobsCount_ = value; onChanged(); return this; } /** - * - * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5650,11 +5003,10 @@ public Builder setBroadenedQueryJobsCount(int value) {
      * 
* * int32 broadened_query_jobs_count = 8; - * * @return This builder for chaining. */ public Builder clearBroadenedQueryJobsCount() { - + broadenedQueryJobsCount_ = 0; onChanged(); return this; @@ -5662,47 +5014,34 @@ public Builder clearBroadenedQueryJobsCount() { private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, - com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> - spellCorrectionBuilder_; + com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> spellCorrectionBuilder_; /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ public boolean hasSpellCorrection() { return spellCorrectionBuilder_ != null || spellCorrection_ != null; } /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ public com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection() { if (spellCorrectionBuilder_ == null) { - return spellCorrection_ == null - ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; } else { return spellCorrectionBuilder_.getMessage(); } } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5723,8 +5062,6 @@ public Builder setSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorrec return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5743,8 +5080,6 @@ public Builder setSpellCorrection( return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5755,9 +5090,7 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorr if (spellCorrectionBuilder_ == null) { if (spellCorrection_ != null) { spellCorrection_ = - com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder(spellCorrection_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder(spellCorrection_).mergeFrom(value).buildPartial(); } else { spellCorrection_ = value; } @@ -5769,8 +5102,6 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorr return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5789,8 +5120,6 @@ public Builder clearSpellCorrection() { return this; } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5798,32 +5127,26 @@ public Builder clearSpellCorrection() { * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ public com.google.cloud.talent.v4beta1.SpellingCorrection.Builder getSpellCorrectionBuilder() { - + onChanged(); return getSpellCorrectionFieldBuilder().getBuilder(); } /** - * - * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ - public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder - getSpellCorrectionOrBuilder() { + public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder() { if (spellCorrectionBuilder_ != null) { return spellCorrectionBuilder_.getMessageOrBuilder(); } else { - return spellCorrection_ == null - ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() - : spellCorrection_; + return spellCorrection_ == null ? + com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; } } /** - * - * *
      * The spell checking result, and correction.
      * 
@@ -5831,24 +5154,21 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection.Builder getSpellCorrec * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, - com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> + com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> getSpellCorrectionFieldBuilder() { if (spellCorrectionBuilder_ == null) { - spellCorrectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, - com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder>( - getSpellCorrection(), getParentForChildren(), isClean()); + spellCorrectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder>( + getSpellCorrection(), + getParentForChildren(), + isClean()); spellCorrection_ = null; } return spellCorrectionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5858,12 +5178,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse) private static final com.google.cloud.talent.v4beta1.SearchJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse(); } @@ -5872,27 +5192,27 @@ public static com.google.cloud.talent.v4beta1.SearchJobsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5907,4 +5227,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SearchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java similarity index 85% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java index d63f49648e9b..c0cf4d300fda 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java @@ -1,181 +1,128 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface SearchJobsResponseOrBuilder - extends +public interface SearchJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List + java.util.List getMatchingJobsList(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ int getMatchingJobsCount(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List + java.util.List getMatchingJobsOrBuilderList(); /** - * - * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; - * + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; */ com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( int index); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - java.util.List + java.util.List getHistogramQueryResultsList(); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ int getHistogramQueryResultsCount(); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ - java.util.List + java.util.List getHistogramQueryResultsOrBuilderList(); /** - * - * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; - * + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; */ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( int index); /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -184,10 +131,9 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  java.util.List getLocationFiltersList();
+  java.util.List 
+      getLocationFiltersList();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -198,8 +144,6 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    */
   com.google.cloud.talent.v4beta1.Location getLocationFilters(int index);
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -210,8 +154,6 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    */
   int getLocationFiltersCount();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -220,11 +162,9 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  java.util.List
+  java.util.List 
       getLocationFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -233,11 +173,10 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(int index);
+  com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * An estimation of the number of jobs that match the specified query.
    * This number isn't guaranteed to be accurate. For accurate results,
@@ -245,53 +184,41 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    * 
* * int32 estimated_total_size = 5; - * * @return The estimatedTotalSize. */ int getEstimatedTotalSize(); /** - * - * *
    * The precise result count with limit 100,000.
    * 
* * int32 total_size = 6; - * * @return The totalSize. */ int getTotalSize(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; - * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** - * - * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -302,8 +229,6 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
   com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();
 
   /**
-   *
-   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -315,38 +240,29 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    * 
* * int32 broadened_query_jobs_count = 8; - * * @return The broadenedQueryJobsCount. */ int getBroadenedQueryJobsCount(); /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return Whether the spellCorrection field is set. */ boolean hasSpellCorrection(); /** - * - * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; - * * @return The spellCorrection. */ com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection(); /** - * - * *
    * The spell checking result, and correction.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java similarity index 71% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java index f139abd15133..8146b4382e69 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Spell check result.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SpellingCorrection} */ -public final class SpellingCorrection extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SpellingCorrection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SpellingCorrection) SpellingCorrectionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SpellingCorrection.newBuilder() to construct. private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SpellingCorrection() { correctedText_ = ""; correctedHtml_ = ""; @@ -44,41 +26,37 @@ private SpellingCorrection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SpellingCorrection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SpellingCorrection.class, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4beta1.SpellingCorrection.class, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); } public static final int CORRECTED_FIELD_NUMBER = 1; private boolean corrected_; /** - * - * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; - * * @return The corrected. */ @java.lang.Override @@ -89,14 +67,11 @@ public boolean getCorrected() { public static final int CORRECTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object correctedText_; /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The correctedText. */ @java.lang.Override @@ -105,29 +80,29 @@ public java.lang.String getCorrectedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; } } /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ @java.lang.Override - public com.google.protobuf.ByteString getCorrectedTextBytes() { + public com.google.protobuf.ByteString + getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedText_ = b; return b; } else { @@ -138,8 +113,6 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() { public static final int CORRECTED_HTML_FIELD_NUMBER = 3; private volatile java.lang.Object correctedHtml_; /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -150,7 +123,6 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() {
    * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ @java.lang.Override @@ -159,15 +131,14 @@ public java.lang.String getCorrectedHtml() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; } } /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -178,15 +149,16 @@ public java.lang.String getCorrectedHtml() {
    * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ @java.lang.Override - public com.google.protobuf.ByteString getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString + getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -195,7 +167,6 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (corrected_ != false) { output.writeBool(1, corrected_); } @@ -227,7 +199,8 @@ public int getSerializedSize() { size = 0; if (corrected_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, corrected_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, corrected_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correctedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, correctedText_); @@ -243,17 +216,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SpellingCorrection)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SpellingCorrection other = - (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; + com.google.cloud.talent.v4beta1.SpellingCorrection other = (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; - if (getCorrected() != other.getCorrected()) return false; - if (!getCorrectedText().equals(other.getCorrectedText())) return false; - if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; + if (getCorrected() + != other.getCorrected()) return false; + if (!getCorrectedText() + .equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml() + .equals(other.getCorrectedHtml())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,7 +241,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCorrected()); hash = (37 * hash) + CORRECTED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getCorrectedText().hashCode(); hash = (37 * hash) + CORRECTED_HTML_FIELD_NUMBER; @@ -277,135 +253,129 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.SpellingCorrection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Spell check result.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SpellingCorrection} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SpellingCorrection) com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SpellingCorrection.class, - com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4beta1.SpellingCorrection.class, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override @@ -440,8 +410,7 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { - com.google.cloud.talent.v4beta1.SpellingCorrection result = - new com.google.cloud.talent.v4beta1.SpellingCorrection(this); + com.google.cloud.talent.v4beta1.SpellingCorrection result = new com.google.cloud.talent.v4beta1.SpellingCorrection(this); result.corrected_ = corrected_; result.correctedText_ = correctedText_; result.correctedHtml_ = correctedHtml_; @@ -453,39 +422,38 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SpellingCorrection) { - return mergeFrom((com.google.cloud.talent.v4beta1.SpellingCorrection) other); + return mergeFrom((com.google.cloud.talent.v4beta1.SpellingCorrection)other); } else { super.mergeFrom(other); return this; @@ -493,8 +461,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SpellingCorrection other) { - if (other == com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance()) return this; if (other.getCorrected() != false) { setCorrected(other.getCorrected()); } @@ -532,31 +499,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - corrected_ = input.readBool(); - - break; - } // case 8 - case 18: - { - correctedText_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - correctedHtml_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + corrected_ = input.readBool(); + + break; + } // case 8 + case 18: { + correctedText_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + correctedHtml_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,16 +530,13 @@ public Builder mergeFrom( return this; } - private boolean corrected_; + private boolean corrected_ ; /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @return The corrected. */ @java.lang.Override @@ -584,36 +544,30 @@ public boolean getCorrected() { return corrected_; } /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @param value The corrected to set. * @return This builder for chaining. */ public Builder setCorrected(boolean value) { - + corrected_ = value; onChanged(); return this; } /** - * - * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; - * * @return This builder for chaining. */ public Builder clearCorrected() { - + corrected_ = false; onChanged(); return this; @@ -621,20 +575,18 @@ public Builder clearCorrected() { private java.lang.Object correctedText_ = ""; /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return The correctedText. */ public java.lang.String getCorrectedText() { java.lang.Object ref = correctedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; @@ -643,21 +595,20 @@ public java.lang.String getCorrectedText() { } } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ - public com.google.protobuf.ByteString getCorrectedTextBytes() { + public com.google.protobuf.ByteString + getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedText_ = b; return b; } else { @@ -665,61 +616,54 @@ public com.google.protobuf.ByteString getCorrectedTextBytes() { } } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @param value The correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedText(java.lang.String value) { + public Builder setCorrectedText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedText_ = value; onChanged(); return this; } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @return This builder for chaining. */ public Builder clearCorrectedText() { - + correctedText_ = getDefaultInstance().getCorrectedText(); onChanged(); return this; } /** - * - * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; - * * @param value The bytes for correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { + public Builder setCorrectedTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedText_ = value; onChanged(); return this; @@ -727,8 +671,6 @@ public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { private java.lang.Object correctedHtml_ = ""; /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -739,13 +681,13 @@ public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) {
      * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ public java.lang.String getCorrectedHtml() { java.lang.Object ref = correctedHtml_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; @@ -754,8 +696,6 @@ public java.lang.String getCorrectedHtml() { } } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -766,14 +706,15 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ - public com.google.protobuf.ByteString getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString + getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -781,8 +722,6 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() { } } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -793,22 +732,20 @@ public com.google.protobuf.ByteString getCorrectedHtmlBytes() {
      * 
* * string corrected_html = 3; - * * @param value The correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtml(java.lang.String value) { + public Builder setCorrectedHtml( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedHtml_ = value; onChanged(); return this; } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -819,18 +756,15 @@ public Builder setCorrectedHtml(java.lang.String value) {
      * 
* * string corrected_html = 3; - * * @return This builder for chaining. */ public Builder clearCorrectedHtml() { - + correctedHtml_ = getDefaultInstance().getCorrectedHtml(); onChanged(); return this; } /** - * - * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -841,23 +775,23 @@ public Builder clearCorrectedHtml() {
      * 
* * string corrected_html = 3; - * * @param value The bytes for correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { + public Builder setCorrectedHtmlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedHtml_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SpellingCorrection) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SpellingCorrection) private static final com.google.cloud.talent.v4beta1.SpellingCorrection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SpellingCorrection(); } @@ -881,27 +815,27 @@ public static com.google.cloud.talent.v4beta1.SpellingCorrection getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpellingCorrection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpellingCorrection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -916,4 +850,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SpellingCorrection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java index 480b7df7b017..566923fcb56b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java @@ -1,69 +1,43 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface SpellingCorrectionOrBuilder - extends +public interface SpellingCorrectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SpellingCorrection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; - * * @return The corrected. */ boolean getCorrected(); /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The correctedText. */ java.lang.String getCorrectedText(); /** - * - * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; - * * @return The bytes for correctedText. */ - com.google.protobuf.ByteString getCorrectedTextBytes(); + com.google.protobuf.ByteString + getCorrectedTextBytes(); /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -74,13 +48,10 @@ public interface SpellingCorrectionOrBuilder
    * 
* * string corrected_html = 3; - * * @return The correctedHtml. */ java.lang.String getCorrectedHtml(); /** - * - * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -91,8 +62,8 @@ public interface SpellingCorrectionOrBuilder
    * 
* * string corrected_html = 3; - * * @return The bytes for correctedHtml. */ - com.google.protobuf.ByteString getCorrectedHtmlBytes(); + com.google.protobuf.ByteString + getCorrectedHtmlBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java similarity index 76% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java index cf1f2a4bfe03..0bc9a4537f45 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * A Tenant resource represents a tenant in the service. A tenant is a group or
  * entity that shares common access with specific privileges for resources like
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Tenant}
  */
-public final class Tenant extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tenant extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Tenant)
     TenantOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tenant.newBuilder() to construct.
   private Tenant(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tenant() {
     name_ = "";
     externalId_ = "";
@@ -49,43 +31,39 @@ private Tenant() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tenant();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.talent.v4beta1.TenantResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.TenantResourceProto
-        .internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Tenant.class,
-            com.google.cloud.talent.v4beta1.Tenant.Builder.class);
+            com.google.cloud.talent.v4beta1.Tenant.class, com.google.cloud.talent.v4beta1.Tenant.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Enum that represents how user data owned by the tenant is used.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.Tenant.DataUsageType} */ - public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum { + public enum DataUsageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -94,8 +72,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum { */ DATA_USAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Data owned by this tenant is used to improve search/recommendation
      * quality across tenants.
@@ -105,8 +81,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum {
      */
     AGGREGATED(1),
     /**
-     *
-     *
      * 
      * Data owned by this tenant is used to improve search/recommendation
      * quality for this tenant only.
@@ -119,8 +93,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -129,8 +101,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATA_USAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Data owned by this tenant is used to improve search/recommendation
      * quality across tenants.
@@ -140,8 +110,6 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AGGREGATED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Data owned by this tenant is used to improve search/recommendation
      * quality for this tenant only.
@@ -151,6 +119,7 @@ public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ISOLATED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -175,49 +144,49 @@ public static DataUsageType valueOf(int value) {
      */
     public static DataUsageType forNumber(int value) {
       switch (value) {
-        case 0:
-          return DATA_USAGE_TYPE_UNSPECIFIED;
-        case 1:
-          return AGGREGATED;
-        case 2:
-          return ISOLATED;
-        default:
-          return null;
+        case 0: return DATA_USAGE_TYPE_UNSPECIFIED;
+        case 1: return AGGREGATED;
+        case 2: return ISOLATED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DataUsageType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DataUsageType findValueByNumber(int number) {
+              return DataUsageType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DataUsageType findValueByNumber(int number) {
-            return DataUsageType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.talent.v4beta1.Tenant.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DataUsageType[] VALUES = values();
 
-    public static DataUsageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DataUsageType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -237,8 +206,6 @@ private DataUsageType(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -248,7 +215,6 @@ private DataUsageType(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -257,15 +223,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -275,15 +240,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -294,15 +260,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ @java.lang.Override @@ -311,30 +274,30 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -345,8 +308,6 @@ public com.google.protobuf.ByteString getExternalIdBytes() { public static final int USAGE_TYPE_FIELD_NUMBER = 3; private int usageType_; /** - * - * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -354,16 +315,12 @@ public com.google.protobuf.ByteString getExternalIdBytes() {
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The enum numeric value on the wire for usageType. */ - @java.lang.Override - public int getUsageTypeValue() { + @java.lang.Override public int getUsageTypeValue() { return usageType_; } /** - * - * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -371,24 +328,17 @@ public int getUsageTypeValue() {
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The usageType. */ - @java.lang.Override - public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { + @java.lang.Override public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = - com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); - return result == null - ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); + return result == null ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED : result; } public static final int KEYWORD_SEARCHABLE_PROFILE_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_; /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -399,15 +349,13 @@ public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return A list containing the keywordSearchableProfileCustomAttributes. */ - public com.google.protobuf.ProtocolStringList getKeywordSearchableProfileCustomAttributesList() { + public com.google.protobuf.ProtocolStringList + getKeywordSearchableProfileCustomAttributesList() { return keywordSearchableProfileCustomAttributes_; } /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -418,15 +366,12 @@ public com.google.protobuf.ProtocolStringList getKeywordSearchableProfileCustomA
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return The count of keywordSearchableProfileCustomAttributes. */ public int getKeywordSearchableProfileCustomAttributesCount() { return keywordSearchableProfileCustomAttributes_.size(); } /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -437,7 +382,6 @@ public int getKeywordSearchableProfileCustomAttributesCount() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ @@ -445,8 +389,6 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) { return keywordSearchableProfileCustomAttributes_.get(index); } /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -457,17 +399,15 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes( - int index) { + public com.google.protobuf.ByteString + getKeywordSearchableProfileCustomAttributesBytes(int index) { return keywordSearchableProfileCustomAttributes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -479,21 +419,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, externalId_); } - if (usageType_ - != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (usageType_ != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, usageType_); } for (int i = 0; i < keywordSearchableProfileCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, keywordSearchableProfileCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keywordSearchableProfileCustomAttributes_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -510,10 +448,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, externalId_); } - if (usageType_ - != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, usageType_); + if (usageType_ != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, usageType_); } { int dataSize = 0; @@ -531,15 +468,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Tenant)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Tenant other = (com.google.cloud.talent.v4beta1.Tenant) obj; - if (!getName().equals(other.getName())) return false; - if (!getExternalId().equals(other.getExternalId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getExternalId() + .equals(other.getExternalId())) return false; if (usageType_ != other.usageType_) return false; if (!getKeywordSearchableProfileCustomAttributesList() .equals(other.getKeywordSearchableProfileCustomAttributesList())) return false; @@ -569,104 +508,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Tenant parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Tenant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Tenant resource represents a tenant in the service. A tenant is a group or
    * entity that shares common access with specific privileges for resources like
@@ -676,32 +608,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Tenant}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Tenant)
       com.google.cloud.talent.v4beta1.TenantOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Tenant.class,
-              com.google.cloud.talent.v4beta1.Tenant.Builder.class);
+              com.google.cloud.talent.v4beta1.Tenant.class, com.google.cloud.talent.v4beta1.Tenant.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Tenant.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -717,9 +650,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto
-          .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
     }
 
     @java.lang.Override
@@ -738,15 +671,13 @@ public com.google.cloud.talent.v4beta1.Tenant build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.Tenant buildPartial() {
-      com.google.cloud.talent.v4beta1.Tenant result =
-          new com.google.cloud.talent.v4beta1.Tenant(this);
+      com.google.cloud.talent.v4beta1.Tenant result = new com.google.cloud.talent.v4beta1.Tenant(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.externalId_ = externalId_;
       result.usageType_ = usageType_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableProfileCustomAttributes_ =
-            keywordSearchableProfileCustomAttributes_.getUnmodifiableView();
+        keywordSearchableProfileCustomAttributes_ = keywordSearchableProfileCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableProfileCustomAttributes_ = keywordSearchableProfileCustomAttributes_;
@@ -758,39 +689,38 @@ public com.google.cloud.talent.v4beta1.Tenant buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Tenant) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Tenant) other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Tenant)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -812,13 +742,11 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Tenant other) {
       }
       if (!other.keywordSearchableProfileCustomAttributes_.isEmpty()) {
         if (keywordSearchableProfileCustomAttributes_.isEmpty()) {
-          keywordSearchableProfileCustomAttributes_ =
-              other.keywordSearchableProfileCustomAttributes_;
+          keywordSearchableProfileCustomAttributes_ = other.keywordSearchableProfileCustomAttributes_;
           bitField0_ = (bitField0_ & ~0x00000001);
         } else {
           ensureKeywordSearchableProfileCustomAttributesIsMutable();
-          keywordSearchableProfileCustomAttributes_.addAll(
-              other.keywordSearchableProfileCustomAttributes_);
+          keywordSearchableProfileCustomAttributes_.addAll(other.keywordSearchableProfileCustomAttributes_);
         }
         onChanged();
       }
@@ -848,38 +776,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                externalId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                usageType_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureKeywordSearchableProfileCustomAttributesIsMutable();
-                keywordSearchableProfileCustomAttributes_.add(s);
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              externalId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              usageType_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureKeywordSearchableProfileCustomAttributesIsMutable();
+              keywordSearchableProfileCustomAttributes_.add(s);
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -889,13 +812,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -905,13 +825,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -920,8 +840,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -931,14 +849,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -946,8 +865,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -957,22 +874,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -982,18 +897,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -1003,16 +915,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1020,21 +932,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalId_ = ""; /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -1043,22 +953,21 @@ public java.lang.String getExternalId() { } } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString getExternalIdBytes() { + public com.google.protobuf.ByteString + getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalId_ = b; return b; } else { @@ -1066,64 +975,57 @@ public com.google.protobuf.ByteString getExternalIdBytes() { } } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId(java.lang.String value) { + public Builder setExternalId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** - * - * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -1131,8 +1033,6 @@ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { private int usageType_ = 0; /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1140,16 +1040,12 @@ public Builder setExternalIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The enum numeric value on the wire for usageType. */ - @java.lang.Override - public int getUsageTypeValue() { + @java.lang.Override public int getUsageTypeValue() { return usageType_; } /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1157,19 +1053,16 @@ public int getUsageTypeValue() {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @param value The enum numeric value on the wire for usageType to set. * @return This builder for chaining. */ public Builder setUsageTypeValue(int value) { - + usageType_ = value; onChanged(); return this; } /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1177,21 +1070,15 @@ public Builder setUsageTypeValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The usageType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = - com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); - return result == null - ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED - : result; + com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); + return result == null ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1199,7 +1086,6 @@ public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @param value The usageType to set. * @return This builder for chaining. */ @@ -1207,14 +1093,12 @@ public Builder setUsageType(com.google.cloud.talent.v4beta1.Tenant.DataUsageType if (value == null) { throw new NullPointerException(); } - + usageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1222,29 +1106,23 @@ public Builder setUsageType(com.google.cloud.talent.v4beta1.Tenant.DataUsageType
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return This builder for chaining. */ public Builder clearUsageType() { - + usageType_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeywordSearchableProfileCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableProfileCustomAttributes_ = - new com.google.protobuf.LazyStringArrayList(keywordSearchableProfileCustomAttributes_); + keywordSearchableProfileCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableProfileCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1255,7 +1133,6 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return A list containing the keywordSearchableProfileCustomAttributes. */ public com.google.protobuf.ProtocolStringList @@ -1263,8 +1140,6 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() { return keywordSearchableProfileCustomAttributes_.getUnmodifiableView(); } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1275,15 +1150,12 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return The count of keywordSearchableProfileCustomAttributes. */ public int getKeywordSearchableProfileCustomAttributesCount() { return keywordSearchableProfileCustomAttributes_.size(); } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1294,7 +1166,6 @@ public int getKeywordSearchableProfileCustomAttributesCount() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ @@ -1302,8 +1173,6 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) { return keywordSearchableProfileCustomAttributes_.get(index); } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1314,17 +1183,14 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes( - int index) { + public com.google.protobuf.ByteString + getKeywordSearchableProfileCustomAttributesBytes(int index) { return keywordSearchableProfileCustomAttributes_.getByteString(index); } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1335,23 +1201,21 @@ public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttribute
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index to set the value at. * @param value The keywordSearchableProfileCustomAttributes to set. * @return This builder for chaining. */ - public Builder setKeywordSearchableProfileCustomAttributes(int index, java.lang.String value) { + public Builder setKeywordSearchableProfileCustomAttributes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableProfileCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.set(index, value); onChanged(); return this; } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1362,22 +1226,20 @@ public Builder setKeywordSearchableProfileCustomAttributes(int index, java.lang.
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param value The keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableProfileCustomAttributes(java.lang.String value) { + public Builder addKeywordSearchableProfileCustomAttributes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableProfileCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.add(value); onChanged(); return this; } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1388,7 +1250,6 @@ public Builder addKeywordSearchableProfileCustomAttributes(java.lang.String valu
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param values The keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ @@ -1401,8 +1262,6 @@ public Builder addAllKeywordSearchableProfileCustomAttributes( return this; } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1413,7 +1272,6 @@ public Builder addAllKeywordSearchableProfileCustomAttributes(
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return This builder for chaining. */ public Builder clearKeywordSearchableProfileCustomAttributes() { @@ -1423,8 +1281,6 @@ public Builder clearKeywordSearchableProfileCustomAttributes() { return this; } /** - * - * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1435,24 +1291,23 @@ public Builder clearKeywordSearchableProfileCustomAttributes() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param value The bytes of the keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ public Builder addKeywordSearchableProfileCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1462,12 +1317,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Tenant) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Tenant) private static final com.google.cloud.talent.v4beta1.Tenant DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Tenant(); } @@ -1476,27 +1331,27 @@ public static com.google.cloud.talent.v4beta1.Tenant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tenant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tenant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1511,4 +1366,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Tenant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java similarity index 100% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java similarity index 83% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java index 3e742a8d0842..dd77b8ebddae 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant.proto package com.google.cloud.talent.v4beta1; -public interface TenantOrBuilder - extends +public interface TenantOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Tenant) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -35,13 +17,10 @@ public interface TenantOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -51,41 +30,34 @@ public interface TenantOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The externalId. */ java.lang.String getExternalId(); /** - * - * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for externalId. */ - com.google.protobuf.ByteString getExternalIdBytes(); + com.google.protobuf.ByteString + getExternalIdBytes(); /** - * - * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -93,13 +65,10 @@ public interface TenantOrBuilder
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The enum numeric value on the wire for usageType. */ int getUsageTypeValue(); /** - * - * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -107,14 +76,11 @@ public interface TenantOrBuilder
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; - * * @return The usageType. */ com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType(); /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -125,13 +91,11 @@ public interface TenantOrBuilder
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return A list containing the keywordSearchableProfileCustomAttributes. */ - java.util.List getKeywordSearchableProfileCustomAttributesList(); + java.util.List + getKeywordSearchableProfileCustomAttributesList(); /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -142,13 +106,10 @@ public interface TenantOrBuilder
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @return The count of keywordSearchableProfileCustomAttributes. */ int getKeywordSearchableProfileCustomAttributesCount(); /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -159,14 +120,11 @@ public interface TenantOrBuilder
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ java.lang.String getKeywordSearchableProfileCustomAttributes(int index); /** - * - * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -177,9 +135,9 @@ public interface TenantOrBuilder
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; - * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes(int index); + com.google.protobuf.ByteString + getKeywordSearchableProfileCustomAttributesBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java new file mode 100644 index 000000000000..31ba88ad4a46 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java @@ -0,0 +1,70 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant.proto + +package com.google.cloud.talent.v4beta1; + +public final class TenantResourceProto { + private TenantResourceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/talent/v4beta1/tenant.pro" + + "to\022\033google.cloud.talent.v4beta1\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\"\303\002\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013" + + "external_id\030\002 \001(\tB\003\340A\002\022E\n\nusage_type\030\003 \001" + + "(\01621.google.cloud.talent.v4beta1.Tenant." + + "DataUsageType\0224\n,keyword_searchable_prof" + + "ile_custom_attributes\030\004 \003(\t\"N\n\rDataUsage" + + "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" + + "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" + + "oogleapis.com/Tenant\022#projects/{project}" + + "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" + + "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor, + new java.lang.String[] { "Name", "ExternalId", "UsageType", "KeywordSearchableProfileCustomAttributes", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java new file mode 100644 index 000000000000..a0b1d6283d02 --- /dev/null +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java @@ -0,0 +1,180 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class TenantServiceProto { + private TenantServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/talent/v4beta1/tenant_ser" + + "vice.proto\022\033google.cloud.talent.v4beta1\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032(goog" + + "le/cloud/talent/v4beta1/common.proto\032(go" + + "ogle/cloud/talent/v4beta1/tenant.proto\032\033" + + "google/protobuf/empty.proto\032 google/prot" + + "obuf/field_mask.proto\"\224\001\n\023CreateTenantRe" + + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + + "urcemanager.googleapis.com/Project\0228\n\006te" + + "nant\030\002 \001(\0132#.google.cloud.talent.v4beta1" + + ".TenantB\003\340A\002\"D\n\020GetTenantRequest\0220\n\004name" + + "\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/Tena" + + "nt\"\200\001\n\023UpdateTenantRequest\0228\n\006tenant\030\001 \001" + + "(\0132#.google.cloud.talent.v4beta1.TenantB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"G\n\023DeleteTenantRequest\0220\n\004" + + "name\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/" + + "Tenant\"\200\001\n\022ListTenantsRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + + "leapis.com/Project\022\022\n\npage_token\030\002 \001(\t\022\021" + + "\n\tpage_size\030\003 \001(\005\"\245\001\n\023ListTenantsRespons" + + "e\0224\n\007tenants\030\001 \003(\0132#.google.cloud.talent" + + ".v4beta1.Tenant\022\027\n\017next_page_token\030\002 \001(\t" + + "\022?\n\010metadata\030\003 \001(\0132-.google.cloud.talent" + + ".v4beta1.ResponseMetadata2\240\007\n\rTenantServ" + + "ice\022\246\001\n\014CreateTenant\0220.google.cloud.tale" + + "nt.v4beta1.CreateTenantRequest\032#.google." + + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\002)\"$/v4" + + "beta1/{parent=projects/*}/tenants:\001*\332A\rp" + + "arent,tenant\022\224\001\n\tGetTenant\022-.google.clou" + + "d.talent.v4beta1.GetTenantRequest\032#.goog" + + "le.cloud.talent.v4beta1.Tenant\"3\202\323\344\223\002&\022$" + + "/v4beta1/{name=projects/*/tenants/*}\332A\004n" + + "ame\022\246\001\n\014UpdateTenant\0220.google.cloud.tale" + + "nt.v4beta1.UpdateTenantRequest\032#.google." + + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\00202+/v4" + + "beta1/{tenant.name=projects/*/tenants/*}" + + ":\001*\332A\006tenant\022\215\001\n\014DeleteTenant\0220.google.c" + + "loud.talent.v4beta1.DeleteTenantRequest\032" + + "\026.google.protobuf.Empty\"3\202\323\344\223\002&*$/v4beta" + + "1/{name=projects/*/tenants/*}\332A\004name\022\247\001\n" + + "\013ListTenants\022/.google.cloud.talent.v4bet" + + "a1.ListTenantsRequest\0320.google.cloud.tal" + + "ent.v4beta1.ListTenantsResponse\"5\202\323\344\223\002&\022" + + "$/v4beta1/{parent=projects/*}/tenants\332A\006" + + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + + "/www.googleapis.com/auth/cloud-platform," + + "https://www.googleapis.com/auth/jobsB\200\001\n" + + "\037com.google.cloud.talent.v4beta1B\022Tenant" + + "ServiceProtoP\001ZAgoogle.golang.org/genpro" + + "to/googleapis/cloud/talent/v4beta1;talen" + + "t\242\002\003CTSb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor, + new java.lang.String[] { "Parent", "Tenant", }); + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor, + new java.lang.String[] { "Tenant", "UpdateMask", }); + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", "PageSize", }); + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor, + new java.lang.String[] { "Tenants", "NextPageToken", "Metadata", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java index b740f4ebfc45..f0f1e9762e33 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Message representing a period of time between two timestamps.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.TimestampRange} */ -public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimestampRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.TimestampRange) TimestampRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimestampRange() {} + private TimestampRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimestampRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.TimestampRange.class, - com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); + com.google.cloud.talent.v4beta1.TimestampRange.class, com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Begin of the period (inclusive).
    * 
@@ -114,14 +88,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -129,14 +100,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -144,8 +112,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * End of the period (exclusive).
    * 
@@ -158,7 +124,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -187,10 +153,12 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.TimestampRange)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.TimestampRange other = - (com.google.cloud.talent.v4beta1.TimestampRange) obj; + com.google.cloud.talent.v4beta1.TimestampRange other = (com.google.cloud.talent.v4beta1.TimestampRange) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -240,136 +209,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message representing a period of time between two timestamps.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.TimestampRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.TimestampRange) com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.TimestampRange.class, - com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); + com.google.cloud.talent.v4beta1.TimestampRange.class, com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.TimestampRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto - .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override @@ -410,8 +373,7 @@ public com.google.cloud.talent.v4beta1.TimestampRange build() { @java.lang.Override public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { - com.google.cloud.talent.v4beta1.TimestampRange result = - new com.google.cloud.talent.v4beta1.TimestampRange(this); + com.google.cloud.talent.v4beta1.TimestampRange result = new com.google.cloud.talent.v4beta1.TimestampRange(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -430,39 +392,38 @@ public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.TimestampRange) { - return mergeFrom((com.google.cloud.talent.v4beta1.TimestampRange) other); + return mergeFrom((com.google.cloud.talent.v4beta1.TimestampRange)other); } else { super.mergeFrom(other); return this; @@ -503,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,33 +496,24 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -571,8 +524,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -593,15 +544,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -612,8 +562,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -624,7 +572,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -636,8 +584,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -656,8 +602,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -665,13 +609,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -682,12 +624,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Begin of the period (inclusive).
      * 
@@ -695,17 +636,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -713,33 +651,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -750,8 +679,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -772,15 +699,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -791,8 +717,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -803,7 +727,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -815,8 +739,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -835,8 +757,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -844,13 +764,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -861,12 +779,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * End of the period (exclusive).
      * 
@@ -874,24 +791,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -901,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.TimestampRange) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.TimestampRange) private static final com.google.cloud.talent.v4beta1.TimestampRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.TimestampRange(); } @@ -915,27 +829,27 @@ public static com.google.cloud.talent.v4beta1.TimestampRange getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -950,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java similarity index 67% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java index 022cab467503..2b17343b561b 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface TimestampRangeOrBuilder - extends +public interface TimestampRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.TimestampRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Begin of the period (inclusive).
    * 
@@ -59,32 +35,24 @@ public interface TimestampRangeOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * End of the period (exclusive).
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java similarity index 70% rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java index 81d90150e8f5..52cccfa9f47a 100644 --- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java +++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java @@ -1,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** - * - * *
  * Request for updating a specified company.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateCompanyRequest} */ -public final class UpdateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateCompanyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateCompanyRequest) UpdateCompanyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateCompanyRequest.newBuilder() to construct. private UpdateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateCompanyRequest() {} + private UpdateCompanyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); } public static final int COMPANY_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Company company_; /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ @java.lang.Override @@ -85,34 +62,23 @@ public boolean hasCompany() { return company_ != null; } /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company getCompany() { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @@ -122,8 +88,6 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -133,7 +97,6 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -141,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -152,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -160,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -178,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -190,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (company_ != null) {
       output.writeMessage(1, getCompany());
     }
@@ -207,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (company_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCompany());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCompany());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -220,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateCompanyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateCompanyRequest other =
-        (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateCompanyRequest other = (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj;
 
     if (hasCompany() != other.hasCompany()) return false;
     if (hasCompany()) {
-      if (!getCompany().equals(other.getCompany())) return false;
+      if (!getCompany()
+          .equals(other.getCompany())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -261,135 +222,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateCompanyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request for updating a specified company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateCompanyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateCompanyRequest) com.google.cloud.talent.v4beta1.UpdateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateCompanyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override @@ -430,8 +385,7 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateCompanyRequest result = - new com.google.cloud.talent.v4beta1.UpdateCompanyRequest(this); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest result = new com.google.cloud.talent.v4beta1.UpdateCompanyRequest(this); if (companyBuilder_ == null) { result.company_ = company_; } else { @@ -450,39 +404,38 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateCompanyRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateCompanyRequest)other); } else { super.mergeFrom(other); return this; @@ -490,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance()) return this; if (other.hasCompany()) { mergeCompany(other.getCompany()); } @@ -524,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getCompanyFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,58 +508,39 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> - companyBuilder_; + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companyBuilder_; /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ public com.google.cloud.talent.v4beta1.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } else { return companyBuilder_.getMessage(); } } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { @@ -622,17 +556,14 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder setCompany( + com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -643,23 +574,17 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builde return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4beta1.Company.newBuilder(company_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Company.newBuilder(company_).mergeFrom(value).buildPartial(); } else { company_ = value; } @@ -671,15 +596,11 @@ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -693,64 +614,48 @@ public Builder clearCompany() { return this; } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null - ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() - : company_; + return company_ == null ? + com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; } } /** - * - * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, - com.google.cloud.talent.v4beta1.Company.Builder, - com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - getCompany(), getParentForChildren(), isClean()); + companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + getCompany(), + getParentForChildren(), + isClean()); company_ = null; } return companyBuilder_; @@ -758,13 +663,8 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -774,15 +674,12 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -792,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -831,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -843,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -854,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -870,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -882,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -906,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -919,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -940,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -959,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -986,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateCompanyRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateCompanyRequest();
   }
@@ -1000,27 +877,27 @@ public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateCompanyRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateCompanyRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1035,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateCompanyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
similarity index 71%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
index 113d3ea2fbd3..c94437daeb0f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
@@ -1,72 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateCompanyRequestOrBuilder
-    extends
+public interface UpdateCompanyRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateCompanyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the company field is set. */ boolean hasCompany(); /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The company. */ com.google.cloud.talent.v4beta1.Company getCompany(); /** - * - * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -76,13 +44,10 @@ public interface UpdateCompanyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -92,13 +57,10 @@ public interface UpdateCompanyRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
similarity index 72%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
index bd5480d5f891..608a99990fdb 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
@@ -1,82 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Update job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateJobRequest} */ -public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateJobRequest) UpdateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateJobRequest() {} + private UpdateJobRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateJobRequest.class, - com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateJobRequest.class, com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @@ -117,8 +88,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -128,7 +97,6 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -147,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -173,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -202,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getJob());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateJobRequest other =
-        (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateJobRequest other = (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj;
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob().equals(other.getJob())) return false;
+      if (!getJob()
+          .equals(other.getJob())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -255,136 +221,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Update job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateJobRequest) com.google.cloud.talent.v4beta1.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateJobRequest.class, - com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateJobRequest.class, com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override @@ -425,8 +385,7 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateJobRequest result = - new com.google.cloud.talent.v4beta1.UpdateJobRequest(this); + com.google.cloud.talent.v4beta1.UpdateJobRequest result = new com.google.cloud.talent.v4beta1.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -445,39 +404,38 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateJobRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -519,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,35 +508,24 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -589,14 +536,11 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { @@ -612,16 +556,14 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -632,20 +574,17 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValu return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -657,14 +596,11 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -678,59 +614,48 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, - com.google.cloud.talent.v4beta1.Job.Builder, - com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -738,13 +663,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -754,15 +674,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -772,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -811,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -823,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -834,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -850,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -862,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -886,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -899,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -920,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -939,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -966,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateJobRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateJobRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateJobRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateJobRequest();
   }
@@ -980,27 +877,27 @@ public static com.google.cloud.talent.v4beta1.UpdateJobRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateJobRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateJobRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1015,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateJobRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
similarity index 76%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
index d495bee0edc2..6dc2e597804f 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateJobRequestOrBuilder
-    extends
+public interface UpdateJobRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateJobRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -73,13 +44,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -89,13 +57,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
index 175fd399e727..19d2d7582f6d 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
@@ -1,82 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Request for updating a specified tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateTenantRequest} */ -public final class UpdateTenantRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTenantRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateTenantRequest) UpdateTenantRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTenantRequest.newBuilder() to construct. private UpdateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTenantRequest() {} + private UpdateTenantRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, - com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Tenant tenant_; /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasTenant() { return tenant_ != null; } /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.talent.v4beta1.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @@ -117,8 +88,6 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -128,7 +97,6 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -147,7 +113,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -155,8 +120,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -173,7 +136,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +147,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tenant_ != null) {
       output.writeMessage(1, getTenant());
     }
@@ -202,10 +165,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tenant_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTenant());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTenant());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,21 +180,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateTenantRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateTenantRequest other =
-        (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateTenantRequest other = (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj;
 
     if (hasTenant() != other.hasTenant()) return false;
     if (hasTenant()) {
-      if (!getTenant().equals(other.getTenant())) return false;
+      if (!getTenant()
+          .equals(other.getTenant())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -256,135 +222,129 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateTenantRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request for updating a specified tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateTenantRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateTenantRequest) com.google.cloud.talent.v4beta1.UpdateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, - com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateTenantRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -404,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto - .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override @@ -425,8 +385,7 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateTenantRequest result = - new com.google.cloud.talent.v4beta1.UpdateTenantRequest(this); + com.google.cloud.talent.v4beta1.UpdateTenantRequest result = new com.google.cloud.talent.v4beta1.UpdateTenantRequest(this); if (tenantBuilder_ == null) { result.tenant_ = tenant_; } else { @@ -445,39 +404,38 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateTenantRequest) other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateTenantRequest)other); } else { super.mergeFrom(other); return this; @@ -485,8 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance()) return this; if (other.hasTenant()) { mergeTenant(other.getTenant()); } @@ -519,25 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getTenantFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,58 +508,39 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> - tenantBuilder_; + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantBuilder_; /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ public com.google.cloud.talent.v4beta1.Tenant getTenant() { if (tenantBuilder_ == null) { - return tenant_ == null - ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() - : tenant_; + return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } else { return tenantBuilder_.getMessage(); } } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { @@ -617,17 +556,14 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder setTenant( + com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -638,23 +574,17 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderF return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -666,15 +596,11 @@ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -688,64 +614,48 @@ public Builder clearTenant() { return this; } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null - ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() - : tenant_; + return tenant_ == null ? + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } } /** - * - * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, - com.google.cloud.talent.v4beta1.Tenant.Builder, - com.google.cloud.talent.v4beta1.TenantOrBuilder>( - getTenant(), getParentForChildren(), isClean()); + tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( + getTenant(), + getParentForChildren(), + isClean()); tenant_ = null; } return tenantBuilder_; @@ -753,13 +663,8 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -769,15 +674,12 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -787,21 +689,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -826,8 +723,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -838,7 +733,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -849,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -865,7 +759,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -877,8 +771,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -901,8 +793,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -914,13 +804,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -935,14 +823,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null
-            ? com.google.protobuf.FieldMask.getDefaultInstance()
-            : updateMask_;
+        return updateMask_ == null ?
+            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
       }
     }
     /**
-     *
-     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -954,24 +839,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask,
-            com.google.protobuf.FieldMask.Builder,
-            com.google.protobuf.FieldMaskOrBuilder>
+        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.FieldMask,
-                com.google.protobuf.FieldMask.Builder,
-                com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(), getParentForChildren(), isClean());
+        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(),
+                getParentForChildren(),
+                isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -981,12 +863,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateTenantRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateTenantRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateTenantRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateTenantRequest();
   }
@@ -995,27 +877,27 @@ public static com.google.cloud.talent.v4beta1.UpdateTenantRequest getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTenantRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTenantRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1030,4 +912,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateTenantRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
similarity index 77%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
index aa10337362cf..9827ae393633 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
@@ -1,69 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateTenantRequestOrBuilder
-    extends
+public interface UpdateTenantRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateTenantRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tenant field is set. */ boolean hasTenant(); /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tenant. */ com.google.cloud.talent.v4beta1.Tenant getTenant(); /** - * - * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -73,13 +44,10 @@ public interface UpdateTenantRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -89,13 +57,10 @@ public interface UpdateTenantRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
similarity index 70%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
index 880679a9c968..c16dca5e463e 100644
--- a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
+++ b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
- *
- *
  * 
  * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
@@ -28,11 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.Visibility}
  */
-@java.lang.Deprecated
-public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated public enum Visibility
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -41,8 +22,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ VISIBILITY_UNSPECIFIED(0), /** - * - * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -51,8 +30,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ ACCOUNT_ONLY(1), /** - * - * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -62,8 +39,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   SHARED_WITH_GOOGLE(2),
   /**
-   *
-   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -76,8 +51,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -86,8 +59,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VISIBILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -96,8 +67,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACCOUNT_ONLY_VALUE = 1; /** - * - * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -107,8 +76,6 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SHARED_WITH_GOOGLE_VALUE = 2;
   /**
-   *
-   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -118,6 +85,7 @@ public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int SHARED_WITH_PUBLIC_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -142,51 +110,50 @@ public static Visibility valueOf(int value) {
    */
   public static Visibility forNumber(int value) {
     switch (value) {
-      case 0:
-        return VISIBILITY_UNSPECIFIED;
-      case 1:
-        return ACCOUNT_ONLY;
-      case 2:
-        return SHARED_WITH_GOOGLE;
-      case 3:
-        return SHARED_WITH_PUBLIC;
-      default:
-        return null;
+      case 0: return VISIBILITY_UNSPECIFIED;
+      case 1: return ACCOUNT_ONLY;
+      case 2: return SHARED_WITH_GOOGLE;
+      case 3: return SHARED_WITH_PUBLIC;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public Visibility findValueByNumber(int number) {
-          return Visibility.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      Visibility> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Visibility findValueByNumber(int number) {
+            return Visibility.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(7);
   }
 
   private static final Visibility[] VALUES = values();
 
-  public static Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Visibility valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -202,3 +169,4 @@ private Visibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.Visibility)
 }
+
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
similarity index 100%
rename from java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
rename to owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
diff --git a/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java b/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
rename to owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java

From c1eda6dba009f071329a2ad4ca7d191faf8366f3 Mon Sep 17 00:00:00 2001
From: Owl Bot 
Date: Tue, 8 Nov 2022 03:07:01 +0000
Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?=
 =?UTF-8?q?st-processor?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---
 .../cloud/talent/v4/CompanyServiceClient.java |    0
 .../talent/v4/CompanyServiceSettings.java     |    1 -
 .../cloud/talent/v4/CompletionClient.java     |    0
 .../cloud/talent/v4/CompletionSettings.java   |    1 -
 .../cloud/talent/v4/EventServiceClient.java   |    0
 .../cloud/talent/v4/EventServiceSettings.java |    1 -
 .../cloud/talent/v4/JobServiceClient.java     |    0
 .../cloud/talent/v4/JobServiceSettings.java   |    1 -
 .../cloud/talent/v4/TenantServiceClient.java  |    0
 .../talent/v4/TenantServiceSettings.java      |    1 -
 .../cloud/talent/v4/gapic_metadata.json       |    0
 .../google/cloud/talent/v4/package-info.java  |    0
 .../talent/v4/stub/CompanyServiceStub.java    |    0
 .../v4/stub/CompanyServiceStubSettings.java   |    0
 .../cloud/talent/v4/stub/CompletionStub.java  |    0
 .../v4/stub/CompletionStubSettings.java       |    0
 .../talent/v4/stub/EventServiceStub.java      |    0
 .../v4/stub/EventServiceStubSettings.java     |    0
 .../GrpcCompanyServiceCallableFactory.java    |    0
 .../v4/stub/GrpcCompanyServiceStub.java       |    1 -
 .../stub/GrpcCompletionCallableFactory.java   |    0
 .../talent/v4/stub/GrpcCompletionStub.java    |    1 -
 .../stub/GrpcEventServiceCallableFactory.java |    0
 .../talent/v4/stub/GrpcEventServiceStub.java  |    1 -
 .../stub/GrpcJobServiceCallableFactory.java   |    0
 .../talent/v4/stub/GrpcJobServiceStub.java    |    1 -
 .../GrpcTenantServiceCallableFactory.java     |    0
 .../talent/v4/stub/GrpcTenantServiceStub.java |    1 -
 ...HttpJsonCompanyServiceCallableFactory.java |    0
 .../v4/stub/HttpJsonCompanyServiceStub.java   |    0
 .../HttpJsonCompletionCallableFactory.java    |    0
 .../v4/stub/HttpJsonCompletionStub.java       |    0
 .../HttpJsonEventServiceCallableFactory.java  |    0
 .../v4/stub/HttpJsonEventServiceStub.java     |    0
 .../HttpJsonJobServiceCallableFactory.java    |    0
 .../v4/stub/HttpJsonJobServiceStub.java       |    1 -
 .../HttpJsonTenantServiceCallableFactory.java |    0
 .../v4/stub/HttpJsonTenantServiceStub.java    |    0
 .../cloud/talent/v4/stub/JobServiceStub.java  |    0
 .../v4/stub/JobServiceStubSettings.java       |    0
 .../talent/v4/stub/TenantServiceStub.java     |    0
 .../v4/stub/TenantServiceStubSettings.java    |    0
 .../talent/v4beta1/CompanyServiceClient.java  |    0
 .../v4beta1/CompanyServiceSettings.java       |    1 -
 .../talent/v4beta1/CompletionClient.java      |    0
 .../talent/v4beta1/CompletionSettings.java    |    1 -
 .../talent/v4beta1/EventServiceClient.java    |    0
 .../talent/v4beta1/EventServiceSettings.java  |    1 -
 .../talent/v4beta1/JobServiceClient.java      |    0
 .../talent/v4beta1/JobServiceSettings.java    |    1 -
 .../talent/v4beta1/TenantServiceClient.java   |    0
 .../talent/v4beta1/TenantServiceSettings.java |    1 -
 .../cloud/talent/v4beta1/gapic_metadata.json  |    0
 .../cloud/talent/v4beta1/package-info.java    |    0
 .../v4beta1/stub/CompanyServiceStub.java      |    0
 .../stub/CompanyServiceStubSettings.java      |    0
 .../talent/v4beta1/stub/CompletionStub.java   |    0
 .../v4beta1/stub/CompletionStubSettings.java  |    0
 .../talent/v4beta1/stub/EventServiceStub.java |    0
 .../stub/EventServiceStubSettings.java        |    0
 .../GrpcCompanyServiceCallableFactory.java    |    0
 .../v4beta1/stub/GrpcCompanyServiceStub.java  |    1 -
 .../stub/GrpcCompletionCallableFactory.java   |    0
 .../v4beta1/stub/GrpcCompletionStub.java      |    1 -
 .../stub/GrpcEventServiceCallableFactory.java |    0
 .../v4beta1/stub/GrpcEventServiceStub.java    |    1 -
 .../stub/GrpcJobServiceCallableFactory.java   |    0
 .../v4beta1/stub/GrpcJobServiceStub.java      |    1 -
 .../GrpcTenantServiceCallableFactory.java     |    0
 .../v4beta1/stub/GrpcTenantServiceStub.java   |    1 -
 ...HttpJsonCompanyServiceCallableFactory.java |    0
 .../stub/HttpJsonCompanyServiceStub.java      |    0
 .../HttpJsonCompletionCallableFactory.java    |    0
 .../v4beta1/stub/HttpJsonCompletionStub.java  |    0
 .../HttpJsonEventServiceCallableFactory.java  |    0
 .../stub/HttpJsonEventServiceStub.java        |    0
 .../HttpJsonJobServiceCallableFactory.java    |    0
 .../v4beta1/stub/HttpJsonJobServiceStub.java  |    1 -
 .../HttpJsonTenantServiceCallableFactory.java |    0
 .../stub/HttpJsonTenantServiceStub.java       |    0
 .../talent/v4beta1/stub/JobServiceStub.java   |    0
 .../v4beta1/stub/JobServiceStubSettings.java  |    0
 .../v4beta1/stub/TenantServiceStub.java       |    0
 .../stub/TenantServiceStubSettings.java       |    0
 .../v4/CompanyServiceClientHttpJsonTest.java  |    0
 .../talent/v4/CompanyServiceClientTest.java   |    0
 .../v4/CompletionClientHttpJsonTest.java      |    0
 .../cloud/talent/v4/CompletionClientTest.java |    0
 .../v4/EventServiceClientHttpJsonTest.java    |    0
 .../talent/v4/EventServiceClientTest.java     |    0
 .../v4/JobServiceClientHttpJsonTest.java      |    0
 .../cloud/talent/v4/JobServiceClientTest.java |    0
 .../cloud/talent/v4/MockCompanyService.java   |    0
 .../talent/v4/MockCompanyServiceImpl.java     |    0
 .../cloud/talent/v4/MockCompletion.java       |    0
 .../cloud/talent/v4/MockCompletionImpl.java   |    0
 .../cloud/talent/v4/MockEventService.java     |    0
 .../cloud/talent/v4/MockEventServiceImpl.java |    0
 .../cloud/talent/v4/MockJobService.java       |    0
 .../cloud/talent/v4/MockJobServiceImpl.java   |    0
 .../cloud/talent/v4/MockTenantService.java    |    0
 .../talent/v4/MockTenantServiceImpl.java      |    0
 .../v4/TenantServiceClientHttpJsonTest.java   |    0
 .../talent/v4/TenantServiceClientTest.java    |    0
 .../CompanyServiceClientHttpJsonTest.java     |    0
 .../v4beta1/CompanyServiceClientTest.java     |    0
 .../v4beta1/CompletionClientHttpJsonTest.java |    0
 .../talent/v4beta1/CompletionClientTest.java  |    0
 .../EventServiceClientHttpJsonTest.java       |    0
 .../v4beta1/EventServiceClientTest.java       |    0
 .../v4beta1/JobServiceClientHttpJsonTest.java |    0
 .../talent/v4beta1/JobServiceClientTest.java  |    0
 .../talent/v4beta1/MockCompanyService.java    |    0
 .../v4beta1/MockCompanyServiceImpl.java       |    0
 .../cloud/talent/v4beta1/MockCompletion.java  |    0
 .../talent/v4beta1/MockCompletionImpl.java    |    0
 .../talent/v4beta1/MockEventService.java      |    0
 .../talent/v4beta1/MockEventServiceImpl.java  |    0
 .../cloud/talent/v4beta1/MockJobService.java  |    0
 .../talent/v4beta1/MockJobServiceImpl.java    |    0
 .../talent/v4beta1/MockTenantService.java     |    0
 .../talent/v4beta1/MockTenantServiceImpl.java |    0
 .../TenantServiceClientHttpJsonTest.java      |    0
 .../v4beta1/TenantServiceClientTest.java      |    0
 .../cloud/talent/v4/CompanyServiceGrpc.java   |  805 +++
 .../cloud/talent/v4/CompletionGrpc.java       |  227 +-
 .../cloud/talent/v4/EventServiceGrpc.java     |  222 +-
 .../cloud/talent/v4/JobServiceGrpc.java       |  970 ++--
 .../cloud/talent/v4/TenantServiceGrpc.java    |  798 +++
 .../talent/v4beta1/CompanyServiceGrpc.java    |  826 +++
 .../cloud/talent/v4beta1/CompletionGrpc.java  |  363 ++
 .../talent/v4beta1/EventServiceGrpc.java      |  223 +-
 .../cloud/talent/v4beta1/JobServiceGrpc.java  | 1428 +++++
 .../talent/v4beta1/TenantServiceGrpc.java     |  819 +++
 .../talent/v4/BatchCreateJobsRequest.java     |  605 ++-
 .../v4/BatchCreateJobsRequestOrBuilder.java   |   69 +-
 .../talent/v4/BatchCreateJobsResponse.java    |  405 +-
 .../v4/BatchCreateJobsResponseOrBuilder.java  |   36 +-
 .../talent/v4/BatchDeleteJobsRequest.java     |  462 +-
 .../v4/BatchDeleteJobsRequestOrBuilder.java   |   53 +-
 .../talent/v4/BatchDeleteJobsResponse.java    |  405 +-
 .../v4/BatchDeleteJobsResponseOrBuilder.java  |   36 +-
 .../talent/v4/BatchOperationMetadata.java     |  843 +--
 .../v4/BatchOperationMetadataOrBuilder.java   |   66 +-
 .../talent/v4/BatchUpdateJobsRequest.java     |  686 ++-
 .../v4/BatchUpdateJobsRequestOrBuilder.java   |   77 +-
 .../talent/v4/BatchUpdateJobsResponse.java    |  405 +-
 .../v4/BatchUpdateJobsResponseOrBuilder.java  |   36 +-
 .../google/cloud/talent/v4/ClientEvent.java   |  725 ++-
 .../cloud/talent/v4/ClientEventOrBuilder.java |   70 +-
 .../google/cloud/talent/v4/CommonProto.java   |  345 ++
 .../google/cloud/talent/v4/CommuteFilter.java |  897 ++--
 .../talent/v4/CommuteFilterOrBuilder.java     |   86 +-
 .../google/cloud/talent/v4/CommuteMethod.java |  103 +-
 .../com/google/cloud/talent/v4/Company.java   | 1648 +++---
 .../google/cloud/talent/v4/CompanyName.java   |    0
 .../cloud/talent/v4/CompanyOrBuilder.java     |  164 +-
 .../google/cloud/talent/v4/CompanyProto.java  |  118 +
 .../cloud/talent/v4/CompanyServiceProto.java  |  200 +
 .../google/cloud/talent/v4/CompanySize.java   |  117 +-
 .../cloud/talent/v4/CompensationFilter.java   |  764 ++-
 .../v4/CompensationFilterOrBuilder.java       |   81 +-
 .../cloud/talent/v4/CompensationInfo.java     | 2283 +++++---
 .../talent/v4/CompensationInfoOrBuilder.java  |   85 +-
 .../cloud/talent/v4/CompleteQueryRequest.java |  934 ++--
 .../v4/CompleteQueryRequestOrBuilder.java     |   86 +-
 .../talent/v4/CompleteQueryResponse.java      | 1141 ++--
 .../v4/CompleteQueryResponseOrBuilder.java    |   65 +-
 .../talent/v4/CompletionServiceProto.java     |  143 +
 .../talent/v4/CreateClientEventRequest.java   |  492 +-
 .../v4/CreateClientEventRequestOrBuilder.java |   55 +-
 .../cloud/talent/v4/CreateCompanyRequest.java |  472 +-
 .../v4/CreateCompanyRequestOrBuilder.java     |   52 +-
 .../cloud/talent/v4/CreateJobRequest.java     |  426 +-
 .../talent/v4/CreateJobRequestOrBuilder.java  |   43 +-
 .../cloud/talent/v4/CreateTenantRequest.java  |  461 +-
 .../v4/CreateTenantRequestOrBuilder.java      |   52 +-
 .../cloud/talent/v4/CustomAttribute.java      |  520 +-
 .../talent/v4/CustomAttributeOrBuilder.java   |   51 +-
 .../google/cloud/talent/v4/DegreeType.java    |  122 +-
 .../cloud/talent/v4/DeleteCompanyRequest.java |  351 +-
 .../v4/DeleteCompanyRequestOrBuilder.java     |   60 +
 .../cloud/talent/v4/DeleteJobRequest.java     |  348 +-
 .../talent/v4/DeleteJobRequestOrBuilder.java  |   60 +
 .../cloud/talent/v4/DeleteTenantRequest.java  |  348 +-
 .../v4/DeleteTenantRequestOrBuilder.java      |   58 +
 .../google/cloud/talent/v4/DeviceInfo.java    |  470 +-
 .../cloud/talent/v4/DeviceInfoOrBuilder.java  |   33 +-
 .../cloud/talent/v4/EmploymentType.java       |  136 +-
 .../google/cloud/talent/v4/EventProto.java    |  105 +
 .../cloud/talent/v4/EventServiceProto.java    |  101 +
 .../google/cloud/talent/v4/FiltersProto.java  |  186 +
 .../cloud/talent/v4/GetCompanyRequest.java    |  348 +-
 .../talent/v4/GetCompanyRequestOrBuilder.java |   60 +
 .../google/cloud/talent/v4/GetJobRequest.java |  345 +-
 .../talent/v4/GetJobRequestOrBuilder.java     |   60 +
 .../cloud/talent/v4/GetTenantRequest.java     |  348 +-
 .../talent/v4/GetTenantRequestOrBuilder.java  |   58 +
 .../cloud/talent/v4/HistogramProto.java       |   95 +
 .../cloud/talent/v4/HistogramQuery.java       |  320 +-
 .../talent/v4/HistogramQueryOrBuilder.java    |   27 +-
 .../cloud/talent/v4/HistogramQueryResult.java |  582 ++-
 .../v4/HistogramQueryResultOrBuilder.java     |   59 +-
 .../cloud/talent/v4/HtmlSanitization.java     |   82 +-
 .../java/com/google/cloud/talent/v4/Job.java  | 4577 ++++++++++------
 .../google/cloud/talent/v4/JobBenefit.java    |  143 +-
 .../google/cloud/talent/v4/JobCategory.java   |  276 +-
 .../com/google/cloud/talent/v4/JobEvent.java  |  592 ++-
 .../cloud/talent/v4/JobEventOrBuilder.java    |   50 +-
 .../com/google/cloud/talent/v4/JobLevel.java  |  103 +-
 .../com/google/cloud/talent/v4/JobName.java   |    0
 .../google/cloud/talent/v4/JobOrBuilder.java  |  378 +-
 .../com/google/cloud/talent/v4/JobProto.java  |  208 +
 .../com/google/cloud/talent/v4/JobQuery.java  | 1587 ++++--
 .../cloud/talent/v4/JobQueryOrBuilder.java    |  198 +-
 .../com/google/cloud/talent/v4/JobResult.java |  388 +-
 .../cloud/talent/v4/JobResultOrBuilder.java   |   34 +-
 .../cloud/talent/v4/JobServiceProto.java      |  485 ++
 .../com/google/cloud/talent/v4/JobView.java   |   96 +-
 .../cloud/talent/v4/ListCompaniesRequest.java |  503 +-
 .../v4/ListCompaniesRequestOrBuilder.java     |   50 +-
 .../talent/v4/ListCompaniesResponse.java      |  566 +-
 .../v4/ListCompaniesResponseOrBuilder.java    |   54 +-
 .../cloud/talent/v4/ListJobsRequest.java      |  589 ++-
 .../talent/v4/ListJobsRequestOrBuilder.java   |   62 +-
 .../cloud/talent/v4/ListJobsResponse.java     |  567 +-
 .../talent/v4/ListJobsResponseOrBuilder.java  |   54 +-
 .../cloud/talent/v4/ListTenantsRequest.java   |  462 +-
 .../v4/ListTenantsRequestOrBuilder.java       |   47 +-
 .../cloud/talent/v4/ListTenantsResponse.java  |  559 +-
 .../v4/ListTenantsResponseOrBuilder.java      |   54 +-
 .../com/google/cloud/talent/v4/Location.java  |  623 ++-
 .../cloud/talent/v4/LocationFilter.java       |  688 ++-
 .../talent/v4/LocationFilterOrBuilder.java    |   59 +-
 .../cloud/talent/v4/LocationOrBuilder.java    |   43 +-
 .../google/cloud/talent/v4/PostingRegion.java |   89 +-
 .../google/cloud/talent/v4/ProjectName.java   |    0
 .../cloud/talent/v4/RequestMetadata.java      |  595 ++-
 .../talent/v4/RequestMetadataOrBuilder.java   |   56 +-
 .../cloud/talent/v4/ResponseMetadata.java     |  320 +-
 .../talent/v4/ResponseMetadataOrBuilder.java  |   52 +
 .../cloud/talent/v4/SearchJobsRequest.java    | 2273 +++++---
 .../talent/v4/SearchJobsRequestOrBuilder.java |  176 +-
 .../cloud/talent/v4/SearchJobsResponse.java   | 2273 +++++---
 .../v4/SearchJobsResponseOrBuilder.java       |   97 +-
 .../cloud/talent/v4/SpellingCorrection.java   |  437 +-
 .../v4/SpellingCorrectionOrBuilder.java       |   39 +-
 .../com/google/cloud/talent/v4/Tenant.java    |  392 +-
 .../google/cloud/talent/v4/TenantName.java    |    0
 .../cloud/talent/v4/TenantOrBuilder.java      |   36 +-
 .../google/cloud/talent/v4/TenantProto.java   |   80 +
 .../cloud/talent/v4/TenantServiceProto.java   |  197 +
 .../cloud/talent/v4/TimestampRange.java       |  398 +-
 .../talent/v4/TimestampRangeOrBuilder.java    |   34 +-
 .../cloud/talent/v4/UpdateCompanyRequest.java |  447 +-
 .../v4/UpdateCompanyRequestOrBuilder.java     |   43 +-
 .../cloud/talent/v4/UpdateJobRequest.java     |  405 +-
 .../talent/v4/UpdateJobRequestOrBuilder.java  |   34 +-
 .../cloud/talent/v4/UpdateTenantRequest.java  |  440 +-
 .../v4/UpdateTenantRequestOrBuilder.java      |   43 +-
 .../google/cloud/talent/v4/Visibility.java    |   90 +-
 .../proto/google/cloud/talent/v4/common.proto |    0
 .../google/cloud/talent/v4/company.proto      |    0
 .../cloud/talent/v4/company_service.proto     |    0
 .../cloud/talent/v4/completion_service.proto  |    0
 .../proto/google/cloud/talent/v4/event.proto  |    0
 .../cloud/talent/v4/event_service.proto       |    0
 .../google/cloud/talent/v4/filters.proto      |    0
 .../google/cloud/talent/v4/histogram.proto    |    0
 .../proto/google/cloud/talent/v4/job.proto    |    0
 .../google/cloud/talent/v4/job_service.proto  |    0
 .../proto/google/cloud/talent/v4/tenant.proto |    0
 .../cloud/talent/v4/tenant_service.proto      |    0
 .../v4beta1/BatchCreateJobsRequest.java       |  611 ++-
 .../BatchCreateJobsRequestOrBuilder.java      |  121 +
 .../v4beta1/BatchDeleteJobsRequest.java       |  437 +-
 .../BatchDeleteJobsRequestOrBuilder.java      |   44 +-
 .../v4beta1/BatchOperationMetadata.java       |  848 +--
 .../BatchOperationMetadataOrBuilder.java      |   66 +-
 .../cloud/talent/v4beta1/BatchProto.java      |   50 +
 .../v4beta1/BatchUpdateJobsRequest.java       |  692 ++-
 .../BatchUpdateJobsRequestOrBuilder.java      |   82 +-
 .../cloud/talent/v4beta1/ClientEvent.java     |  729 ++-
 .../talent/v4beta1/ClientEventOrBuilder.java  |   70 +-
 .../cloud/talent/v4beta1/CommonProto.java     |  350 ++
 .../cloud/talent/v4beta1/CommuteFilter.java   |  900 ++--
 .../v4beta1/CommuteFilterOrBuilder.java       |   86 +-
 .../cloud/talent/v4beta1/CommuteMethod.java   |   96 +-
 .../google/cloud/talent/v4beta1/Company.java  | 1655 +++---
 .../cloud/talent/v4beta1/CompanyName.java     |    0
 .../talent/v4beta1/CompanyOrBuilder.java      |  164 +-
 .../talent/v4beta1/CompanyResourceProto.java  |  120 +
 .../talent/v4beta1/CompanyServiceProto.java   |  208 +
 .../cloud/talent/v4beta1/CompanySize.java     |  117 +-
 .../talent/v4beta1/CompensationFilter.java    |  796 ++-
 .../v4beta1/CompensationFilterOrBuilder.java  |   81 +-
 .../talent/v4beta1/CompensationInfo.java      | 2447 ++++++---
 .../v4beta1/CompensationInfoOrBuilder.java    |  100 +-
 .../talent/v4beta1/CompleteQueryRequest.java  |  952 ++--
 .../CompleteQueryRequestOrBuilder.java        |   86 +-
 .../talent/v4beta1/CompleteQueryResponse.java | 1168 +++--
 .../CompleteQueryResponseOrBuilder.java       |   68 +-
 .../v4beta1/CompletionServiceProto.java       |  145 +
 .../v4beta1/CreateClientEventRequest.java     |  492 +-
 .../CreateClientEventRequestOrBuilder.java    |   55 +-
 .../talent/v4beta1/CreateCompanyRequest.java  |  492 +-
 .../CreateCompanyRequestOrBuilder.java        |   55 +-
 .../talent/v4beta1/CreateJobRequest.java      |  468 +-
 .../v4beta1/CreateJobRequestOrBuilder.java    |   52 +-
 .../talent/v4beta1/CreateTenantRequest.java   |  485 +-
 .../v4beta1/CreateTenantRequestOrBuilder.java |   52 +-
 .../cloud/talent/v4beta1/CustomAttribute.java |  523 +-
 .../v4beta1/CustomAttributeOrBuilder.java     |   51 +-
 .../cloud/talent/v4beta1/DegreeType.java      |  122 +-
 .../talent/v4beta1/DeleteCompanyRequest.java  |  355 +-
 .../DeleteCompanyRequestOrBuilder.java        |   35 +-
 .../talent/v4beta1/DeleteJobRequest.java      |  355 +-
 .../v4beta1/DeleteJobRequestOrBuilder.java    |   35 +-
 .../talent/v4beta1/DeleteTenantRequest.java   |  355 +-
 .../v4beta1/DeleteTenantRequestOrBuilder.java |   58 +
 .../cloud/talent/v4beta1/DeviceInfo.java      |  480 +-
 .../talent/v4beta1/DeviceInfoOrBuilder.java   |   33 +-
 .../cloud/talent/v4beta1/EmploymentType.java  |  136 +-
 .../cloud/talent/v4beta1/EventProto.java      |  106 +
 .../talent/v4beta1/EventServiceProto.java     |  103 +
 .../cloud/talent/v4beta1/FiltersProto.java    |  194 +
 .../talent/v4beta1/GetCompanyRequest.java     |  355 +-
 .../v4beta1/GetCompanyRequestOrBuilder.java   |   35 +-
 .../cloud/talent/v4beta1/GetJobRequest.java   |  348 +-
 .../v4beta1/GetJobRequestOrBuilder.java       |   35 +-
 .../talent/v4beta1/GetTenantRequest.java      |  355 +-
 .../v4beta1/GetTenantRequestOrBuilder.java    |   58 +
 .../cloud/talent/v4beta1/HistogramProto.java  |   95 +
 .../cloud/talent/v4beta1/HistogramQuery.java  |  320 +-
 .../v4beta1/HistogramQueryOrBuilder.java      |   27 +-
 .../talent/v4beta1/HistogramQueryResult.java  |  586 ++-
 .../HistogramQueryResultOrBuilder.java        |   59 +-
 .../talent/v4beta1/HtmlSanitization.java      |   82 +-
 .../com/google/cloud/talent/v4beta1/Job.java  | 4652 +++++++++++------
 .../cloud/talent/v4beta1/JobBenefit.java      |  143 +-
 .../cloud/talent/v4beta1/JobCategory.java     |  276 +-
 .../google/cloud/talent/v4beta1/JobEvent.java |  677 ++-
 .../talent/v4beta1/JobEventOrBuilder.java     |   59 +-
 .../google/cloud/talent/v4beta1/JobLevel.java |  103 +-
 .../google/cloud/talent/v4beta1/JobName.java  |    0
 .../talent/v4beta1/JobOperationResult.java    |  925 ++--
 .../v4beta1/JobOperationResultOrBuilder.java  |   48 +-
 .../cloud/talent/v4beta1/JobOrBuilder.java    |  392 +-
 .../google/cloud/talent/v4beta1/JobQuery.java | 1588 ++++--
 .../talent/v4beta1/JobQueryOrBuilder.java     |  198 +-
 .../talent/v4beta1/JobResourceProto.java      |  211 +
 .../cloud/talent/v4beta1/JobServiceProto.java |  479 ++
 .../google/cloud/talent/v4beta1/JobView.java  |   96 +-
 .../talent/v4beta1/ListCompaniesRequest.java  |  499 +-
 .../ListCompaniesRequestOrBuilder.java        |   50 +-
 .../talent/v4beta1/ListCompaniesResponse.java |  570 +-
 .../ListCompaniesResponseOrBuilder.java       |   53 +-
 .../cloud/talent/v4beta1/ListJobsRequest.java |  592 ++-
 .../v4beta1/ListJobsRequestOrBuilder.java     |   62 +-
 .../talent/v4beta1/ListJobsResponse.java      |  572 +-
 .../v4beta1/ListJobsResponseOrBuilder.java    |   54 +-
 .../talent/v4beta1/ListTenantsRequest.java    |  469 +-
 .../v4beta1/ListTenantsRequestOrBuilder.java  |   47 +-
 .../talent/v4beta1/ListTenantsResponse.java   |  566 +-
 .../v4beta1/ListTenantsResponseOrBuilder.java |   53 +-
 .../google/cloud/talent/v4beta1/Location.java |  633 ++-
 .../cloud/talent/v4beta1/LocationFilter.java  |  728 ++-
 .../v4beta1/LocationFilterOrBuilder.java      |   64 +-
 .../talent/v4beta1/LocationOrBuilder.java     |   43 +-
 .../cloud/talent/v4beta1/PostingRegion.java   |   89 +-
 .../cloud/talent/v4beta1/ProjectName.java     |    0
 .../cloud/talent/v4beta1/RequestMetadata.java |  595 ++-
 .../v4beta1/RequestMetadataOrBuilder.java     |   56 +-
 .../talent/v4beta1/ResponseMetadata.java      |  327 +-
 .../v4beta1/ResponseMetadataOrBuilder.java    |   27 +-
 .../talent/v4beta1/SearchJobsRequest.java     | 2354 ++++++---
 .../v4beta1/SearchJobsRequestOrBuilder.java   |  182 +-
 .../talent/v4beta1/SearchJobsResponse.java    | 2420 ++++++---
 .../v4beta1/SearchJobsResponseOrBuilder.java  |  128 +-
 .../talent/v4beta1/SpellingCorrection.java    |  444 +-
 .../v4beta1/SpellingCorrectionOrBuilder.java  |   39 +-
 .../google/cloud/talent/v4beta1/Tenant.java   |  637 ++-
 .../cloud/talent/v4beta1/TenantName.java      |    0
 .../cloud/talent/v4beta1/TenantOrBuilder.java |   60 +-
 .../talent/v4beta1/TenantResourceProto.java   |   85 +
 .../talent/v4beta1/TenantServiceProto.java    |  200 +
 .../cloud/talent/v4beta1/TimestampRange.java  |  398 +-
 .../v4beta1/TimestampRangeOrBuilder.java      |   34 +-
 .../talent/v4beta1/UpdateCompanyRequest.java  |  467 +-
 .../UpdateCompanyRequestOrBuilder.java        |   46 +-
 .../talent/v4beta1/UpdateJobRequest.java      |  447 +-
 .../v4beta1/UpdateJobRequestOrBuilder.java    |   43 +-
 .../talent/v4beta1/UpdateTenantRequest.java   |  460 +-
 .../v4beta1/UpdateTenantRequestOrBuilder.java |   43 +-
 .../cloud/talent/v4beta1/Visibility.java      |   90 +-
 .../google/cloud/talent/v4beta1/batch.proto   |    0
 .../google/cloud/talent/v4beta1/common.proto  |    0
 .../google/cloud/talent/v4beta1/company.proto |    0
 .../talent/v4beta1/company_service.proto      |    0
 .../talent/v4beta1/completion_service.proto   |    0
 .../google/cloud/talent/v4beta1/event.proto   |    0
 .../cloud/talent/v4beta1/event_service.proto  |    0
 .../google/cloud/talent/v4beta1/filters.proto |    0
 .../cloud/talent/v4beta1/histogram.proto      |    0
 .../google/cloud/talent/v4beta1/job.proto     |    0
 .../cloud/talent/v4beta1/job_service.proto    |    0
 .../google/cloud/talent/v4beta1/tenant.proto  |    0
 .../cloud/talent/v4beta1/tenant_service.proto |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../createcompany/AsyncCreateCompany.java     |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../SyncCreateCompanyStringCompany.java       |    0
 .../SyncCreateCompanyTenantnameCompany.java   |    0
 .../deletecompany/AsyncDeleteCompany.java     |    0
 .../deletecompany/SyncDeleteCompany.java      |    0
 .../SyncDeleteCompanyCompanyname.java         |    0
 .../SyncDeleteCompanyString.java              |    0
 .../getcompany/AsyncGetCompany.java           |    0
 .../getcompany/SyncGetCompany.java            |    0
 .../getcompany/SyncGetCompanyCompanyname.java |    0
 .../getcompany/SyncGetCompanyString.java      |    0
 .../listcompanies/AsyncListCompanies.java     |    0
 .../AsyncListCompaniesPaged.java              |    0
 .../listcompanies/SyncListCompanies.java      |    0
 .../SyncListCompaniesString.java              |    0
 .../SyncListCompaniesTenantname.java          |    0
 .../updatecompany/AsyncUpdateCompany.java     |    0
 .../updatecompany/SyncUpdateCompany.java      |    0
 .../SyncUpdateCompanyCompanyFieldmask.java    |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../completequery/AsyncCompleteQuery.java     |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../AsyncCreateClientEvent.java               |    0
 .../SyncCreateClientEvent.java                |    0
 ...yncCreateClientEventStringClientevent.java |    0
 ...reateClientEventTenantnameClientevent.java |    0
 .../SyncCreateClientEvent.java                |    0
 .../batchcreatejobs/AsyncBatchCreateJobs.java |    0
 .../AsyncBatchCreateJobsLRO.java              |    0
 .../batchcreatejobs/SyncBatchCreateJobs.java  |    0
 .../SyncBatchCreateJobsStringListjob.java     |    0
 .../SyncBatchCreateJobsTenantnameListjob.java |    0
 .../batchdeletejobs/AsyncBatchDeleteJobs.java |    0
 .../AsyncBatchDeleteJobsLRO.java              |    0
 .../batchdeletejobs/SyncBatchDeleteJobs.java  |    0
 .../SyncBatchDeleteJobsStringListstring.java  |    0
 ...ncBatchDeleteJobsTenantnameListstring.java |    0
 .../batchupdatejobs/AsyncBatchUpdateJobs.java |    0
 .../AsyncBatchUpdateJobsLRO.java              |    0
 .../batchupdatejobs/SyncBatchUpdateJobs.java  |    0
 .../SyncBatchUpdateJobsStringListjob.java     |    0
 .../SyncBatchUpdateJobsTenantnameListjob.java |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../jobservice/createjob/AsyncCreateJob.java  |    0
 .../jobservice/createjob/SyncCreateJob.java   |    0
 .../createjob/SyncCreateJobStringJob.java     |    0
 .../createjob/SyncCreateJobTenantnameJob.java |    0
 .../jobservice/deletejob/AsyncDeleteJob.java  |    0
 .../jobservice/deletejob/SyncDeleteJob.java   |    0
 .../deletejob/SyncDeleteJobJobname.java       |    0
 .../deletejob/SyncDeleteJobString.java        |    0
 .../v4/jobservice/getjob/AsyncGetJob.java     |    0
 .../v4/jobservice/getjob/SyncGetJob.java      |    0
 .../jobservice/getjob/SyncGetJobJobname.java  |    0
 .../jobservice/getjob/SyncGetJobString.java   |    0
 .../v4/jobservice/listjobs/AsyncListJobs.java |    0
 .../listjobs/AsyncListJobsPaged.java          |    0
 .../v4/jobservice/listjobs/SyncListJobs.java  |    0
 .../listjobs/SyncListJobsStringString.java    |    0
 .../SyncListJobsTenantnameString.java         |    0
 .../searchjobs/AsyncSearchJobs.java           |    0
 .../jobservice/searchjobs/SyncSearchJobs.java |    0
 .../AsyncSearchJobsForAlert.java              |    0
 .../SyncSearchJobsForAlert.java               |    0
 .../jobservice/updatejob/AsyncUpdateJob.java  |    0
 .../jobservice/updatejob/SyncUpdateJob.java   |    0
 .../updatejob/SyncUpdateJobJobFieldmask.java  |    0
 .../createjob/SyncCreateJob.java              |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateClientEvent.java                |    0
 .../createjob/SyncCreateJob.java              |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../createtenant/AsyncCreateTenant.java       |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateTenantProjectnameTenant.java    |    0
 .../SyncCreateTenantStringTenant.java         |    0
 .../deletetenant/AsyncDeleteTenant.java       |    0
 .../deletetenant/SyncDeleteTenant.java        |    0
 .../deletetenant/SyncDeleteTenantString.java  |    0
 .../SyncDeleteTenantTenantname.java           |    0
 .../gettenant/AsyncGetTenant.java             |    0
 .../gettenant/SyncGetTenant.java              |    0
 .../gettenant/SyncGetTenantString.java        |    0
 .../gettenant/SyncGetTenantTenantname.java    |    0
 .../listtenants/AsyncListTenants.java         |    0
 .../listtenants/AsyncListTenantsPaged.java    |    0
 .../listtenants/SyncListTenants.java          |    0
 .../SyncListTenantsProjectname.java           |    0
 .../listtenants/SyncListTenantsString.java    |    0
 .../updatetenant/AsyncUpdateTenant.java       |    0
 .../updatetenant/SyncUpdateTenant.java        |    0
 .../SyncUpdateTenantTenantFieldmask.java      |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../createcompany/AsyncCreateCompany.java     |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../SyncCreateCompanyProjectnameCompany.java  |    0
 .../SyncCreateCompanyStringCompany.java       |    0
 .../SyncCreateCompanyTenantnameCompany.java   |    0
 .../deletecompany/AsyncDeleteCompany.java     |    0
 .../deletecompany/SyncDeleteCompany.java      |    0
 .../SyncDeleteCompanyCompanyname.java         |    0
 .../SyncDeleteCompanyString.java              |    0
 .../getcompany/AsyncGetCompany.java           |    0
 .../getcompany/SyncGetCompany.java            |    0
 .../getcompany/SyncGetCompanyCompanyname.java |    0
 .../getcompany/SyncGetCompanyString.java      |    0
 .../listcompanies/AsyncListCompanies.java     |    0
 .../AsyncListCompaniesPaged.java              |    0
 .../listcompanies/SyncListCompanies.java      |    0
 .../SyncListCompaniesProjectname.java         |    0
 .../SyncListCompaniesString.java              |    0
 .../SyncListCompaniesTenantname.java          |    0
 .../updatecompany/AsyncUpdateCompany.java     |    0
 .../updatecompany/SyncUpdateCompany.java      |    0
 .../SyncUpdateCompanyCompany.java             |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../completequery/AsyncCompleteQuery.java     |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../AsyncCreateClientEvent.java               |    0
 .../SyncCreateClientEvent.java                |    0
 ...eateClientEventProjectnameClientevent.java |    0
 ...yncCreateClientEventStringClientevent.java |    0
 ...reateClientEventTenantnameClientevent.java |    0
 .../SyncCreateClientEvent.java                |    0
 .../batchcreatejobs/AsyncBatchCreateJobs.java |    0
 .../AsyncBatchCreateJobsLRO.java              |    0
 .../batchcreatejobs/SyncBatchCreateJobs.java  |    0
 ...SyncBatchCreateJobsProjectnameListjob.java |    0
 .../SyncBatchCreateJobsStringListjob.java     |    0
 .../SyncBatchCreateJobsTenantnameListjob.java |    0
 .../batchdeletejobs/AsyncBatchDeleteJobs.java |    0
 .../batchdeletejobs/SyncBatchDeleteJobs.java  |    0
 .../SyncBatchDeleteJobsProjectnameString.java |    0
 .../SyncBatchDeleteJobsStringString.java      |    0
 .../SyncBatchDeleteJobsTenantnameString.java  |    0
 .../batchupdatejobs/AsyncBatchUpdateJobs.java |    0
 .../AsyncBatchUpdateJobsLRO.java              |    0
 .../batchupdatejobs/SyncBatchUpdateJobs.java  |    0
 ...SyncBatchUpdateJobsProjectnameListjob.java |    0
 .../SyncBatchUpdateJobsStringListjob.java     |    0
 .../SyncBatchUpdateJobsTenantnameListjob.java |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../jobservice/createjob/AsyncCreateJob.java  |    0
 .../jobservice/createjob/SyncCreateJob.java   |    0
 .../SyncCreateJobProjectnameJob.java          |    0
 .../createjob/SyncCreateJobStringJob.java     |    0
 .../createjob/SyncCreateJobTenantnameJob.java |    0
 .../jobservice/deletejob/AsyncDeleteJob.java  |    0
 .../jobservice/deletejob/SyncDeleteJob.java   |    0
 .../deletejob/SyncDeleteJobJobname.java       |    0
 .../deletejob/SyncDeleteJobString.java        |    0
 .../jobservice/getjob/AsyncGetJob.java        |    0
 .../v4beta1/jobservice/getjob/SyncGetJob.java |    0
 .../jobservice/getjob/SyncGetJobJobname.java  |    0
 .../jobservice/getjob/SyncGetJobString.java   |    0
 .../jobservice/listjobs/AsyncListJobs.java    |    0
 .../listjobs/AsyncListJobsPaged.java          |    0
 .../jobservice/listjobs/SyncListJobs.java     |    0
 .../SyncListJobsProjectnameString.java        |    0
 .../listjobs/SyncListJobsStringString.java    |    0
 .../SyncListJobsTenantnameString.java         |    0
 .../searchjobs/AsyncSearchJobs.java           |    0
 .../searchjobs/AsyncSearchJobsPaged.java      |    0
 .../jobservice/searchjobs/SyncSearchJobs.java |    0
 .../AsyncSearchJobsForAlert.java              |    0
 .../AsyncSearchJobsForAlertPaged.java         |    0
 .../SyncSearchJobsForAlert.java               |    0
 .../jobservice/updatejob/AsyncUpdateJob.java  |    0
 .../jobservice/updatejob/SyncUpdateJob.java   |    0
 .../updatejob/SyncUpdateJobJob.java           |    0
 .../createjob/SyncCreateJob.java              |    0
 .../createcompany/SyncCreateCompany.java      |    0
 .../completequery/SyncCompleteQuery.java      |    0
 .../SyncCreateClientEvent.java                |    0
 .../createjob/SyncCreateJob.java              |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateSetCredentialsProvider.java     |    0
 .../SyncCreateSetCredentialsProvider1.java    |    0
 .../create/SyncCreateSetEndpoint.java         |    0
 .../createtenant/AsyncCreateTenant.java       |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../SyncCreateTenantProjectnameTenant.java    |    0
 .../SyncCreateTenantStringTenant.java         |    0
 .../deletetenant/AsyncDeleteTenant.java       |    0
 .../deletetenant/SyncDeleteTenant.java        |    0
 .../deletetenant/SyncDeleteTenantString.java  |    0
 .../SyncDeleteTenantTenantname.java           |    0
 .../gettenant/AsyncGetTenant.java             |    0
 .../gettenant/SyncGetTenant.java              |    0
 .../gettenant/SyncGetTenantString.java        |    0
 .../gettenant/SyncGetTenantTenantname.java    |    0
 .../listtenants/AsyncListTenants.java         |    0
 .../listtenants/AsyncListTenantsPaged.java    |    0
 .../listtenants/SyncListTenants.java          |    0
 .../SyncListTenantsProjectname.java           |    0
 .../listtenants/SyncListTenantsString.java    |    0
 .../updatetenant/AsyncUpdateTenant.java       |    0
 .../updatetenant/SyncUpdateTenant.java        |    0
 .../updatetenant/SyncUpdateTenantTenant.java  |    0
 .../createtenant/SyncCreateTenant.java        |    0
 .../cloud/talent/v4/CompanyServiceGrpc.java   |  651 ---
 .../cloud/talent/v4/TenantServiceGrpc.java    |  647 ---
 .../google/cloud/talent/v4/CommonProto.java   |  307 --
 .../google/cloud/talent/v4/CompanyProto.java  |   90 -
 .../cloud/talent/v4/CompanyServiceProto.java  |  180 -
 .../talent/v4/CompletionServiceProto.java     |  124 -
 .../v4/DeleteCompanyRequestOrBuilder.java     |   35 -
 .../talent/v4/DeleteJobRequestOrBuilder.java  |   35 -
 .../v4/DeleteTenantRequestOrBuilder.java      |   33 -
 .../google/cloud/talent/v4/EventProto.java    |   89 -
 .../cloud/talent/v4/EventServiceProto.java    |   86 -
 .../google/cloud/talent/v4/FiltersProto.java  |  149 -
 .../talent/v4/GetCompanyRequestOrBuilder.java |   35 -
 .../talent/v4/GetJobRequestOrBuilder.java     |   35 -
 .../talent/v4/GetTenantRequestOrBuilder.java  |   33 -
 .../cloud/talent/v4/HistogramProto.java       |   78 -
 .../com/google/cloud/talent/v4/JobProto.java  |  160 -
 .../cloud/talent/v4/JobServiceProto.java      |  428 --
 .../talent/v4/ResponseMetadataOrBuilder.java  |   31 -
 .../google/cloud/talent/v4/TenantProto.java   |   65 -
 .../cloud/talent/v4/TenantServiceProto.java   |  177 -
 .../talent/v4beta1/CompanyServiceGrpc.java    |  651 ---
 .../cloud/talent/v4beta1/CompletionGrpc.java  |  307 --
 .../cloud/talent/v4beta1/JobServiceGrpc.java  | 1145 ----
 .../talent/v4beta1/TenantServiceGrpc.java     |  647 ---
 .../BatchCreateJobsRequestOrBuilder.java      |   79 -
 .../cloud/talent/v4beta1/BatchProto.java      |   39 -
 .../cloud/talent/v4beta1/CommonProto.java     |  308 --
 .../talent/v4beta1/CompanyResourceProto.java  |   92 -
 .../talent/v4beta1/CompanyServiceProto.java   |  188 -
 .../v4beta1/CompletionServiceProto.java       |  126 -
 .../v4beta1/DeleteTenantRequestOrBuilder.java |   33 -
 .../cloud/talent/v4beta1/EventProto.java      |   90 -
 .../talent/v4beta1/EventServiceProto.java     |   88 -
 .../cloud/talent/v4beta1/FiltersProto.java    |  152 -
 .../v4beta1/GetTenantRequestOrBuilder.java    |   33 -
 .../cloud/talent/v4beta1/HistogramProto.java  |   78 -
 .../talent/v4beta1/JobResourceProto.java      |  163 -
 .../cloud/talent/v4beta1/JobServiceProto.java |  418 --
 .../talent/v4beta1/TenantResourceProto.java   |   70 -
 .../talent/v4beta1/TenantServiceProto.java    |  180 -
 678 files changed, 65856 insertions(+), 39277 deletions(-)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java (99%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java (100%)
 create mode 100644 java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java (50%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java (54%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java (50%)
 create mode 100644 java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
 create mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java
 create mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java (54%)
 create mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java
 create mode 100644 java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java (64%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java (57%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java (83%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java (76%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilter.java (71%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java (71%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java (80%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanySize.java (71%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java (63%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java (75%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java (79%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java (66%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java (55%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequest.java (62%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java (52%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java (55%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java (67%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java (59%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java (54%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java (86%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java (81%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java (61%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java (78%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java (63%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java (62%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQuery.java (67%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java (57%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java (66%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java (76%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java (68%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java (80%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java (76%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java (79%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java (90%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQuery.java (85%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java (93%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java (79%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobView.java (79%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java (68%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java (62%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java (74%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java (66%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java (56%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java (75%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java (88%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java (83%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java (78%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java (86%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java (65%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java (86%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java (94%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java (88%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java (71%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java (66%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceProto.java
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRange.java (69%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java (67%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java (72%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java (79%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java (73%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java (70%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java (62%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java (68%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java (64%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java (74%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java (83%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java (76%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java (75%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java (80%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java (67%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java (63%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java (74%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java (81%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java (54%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java (63%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java (55%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java (63%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java (51%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java (58%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java (62%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java (54%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java (87%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java (81%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java (53%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java (64%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java (51%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java (62%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java (68%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java (62%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java (78%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java (54%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java (64%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java (51%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java (62%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java (69%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java (64%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java (66%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java (68%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java (80%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java (79%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java (79%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java (90%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java (85%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java (93%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java (79%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java (69%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java (74%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java (66%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java (56%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java (73%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java (75%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java (86%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java (83%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java (78%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java (87%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java (65%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java (50%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java (85%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java (94%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java (85%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java (83%)
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java
 create mode 100644 java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java (67%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java (71%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java (72%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java (76%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java (77%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java (70%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java (100%)
 rename {owl-bot-staging/java-talent/v4 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java (100%)
 rename {owl-bot-staging/java-talent/v4beta1 => java-talent}/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java (100%)
 delete mode 100644 owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/FiltersProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java
 delete mode 100644 owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java

diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
index 89bbd85283be..45dde7ee77a8 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompanyServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.CompanyServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
index e3f3aa9d2e96..a514bf13ad3d 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/CompletionSettings.java
@@ -25,7 +25,6 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.CompletionStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
index b3a0bac40cdf..15a4619dfcaa 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceSettings.java
@@ -25,7 +25,6 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.EventServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
index f85255f50cf5..c169c28ac1d6 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/JobServiceSettings.java
@@ -29,7 +29,6 @@
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.OperationCallSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.JobServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
index ea9e39488dcf..1b6f8b048ead 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/TenantServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4.stub.TenantServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/gapic_metadata.json
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/package-info.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompanyServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/CompletionStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/EventServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
index 0309b6b3293f..82f8fc4cac28 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompanyServiceStub.java
@@ -37,7 +37,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
index c27915b13229..6ea25e438a31 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcCompletionStub.java
@@ -29,7 +29,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
index 60fca5115e92..20ce3149e18d 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcEventServiceStub.java
@@ -29,7 +29,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
index d41a07c4ed85..a0e91e423fbf 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcJobServiceStub.java
@@ -48,7 +48,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
index 3dbad4b51d72..7b40fb4e32c1 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/GrpcTenantServiceStub.java
@@ -37,7 +37,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompanyServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonCompletionStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonEventServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
index a6076920f51b..22e90bea250c 100644
--- a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonJobServiceStub.java
@@ -30,7 +30,6 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
-import com.google.api.gax.longrunning.OperationSnapshot;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.OperationCallable;
 import com.google.api.gax.rpc.UnaryCallable;
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/HttpJsonTenantServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/JobServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/TenantServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
index c97cf9e44ee0..1f2bcc67d53a 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.CompanyServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
index e8cd1d3d6051..21d25617a9eb 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/CompletionSettings.java
@@ -25,7 +25,6 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.CompletionStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
index 4bf82aaec8d0..cc719d0f4f37 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/EventServiceSettings.java
@@ -25,7 +25,6 @@
 import com.google.api.gax.rpc.ApiClientHeaderProvider;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.EventServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
index f2030a66c915..bb698eeaf6f2 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/JobServiceSettings.java
@@ -31,7 +31,6 @@
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.OperationCallSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.JobServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceClient.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
index 57574866f33d..a3853a4af5e0 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceSettings.java
@@ -28,7 +28,6 @@
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.ClientSettings;
 import com.google.api.gax.rpc.PagedCallSettings;
-import com.google.api.gax.rpc.StubSettings;
 import com.google.api.gax.rpc.TransportChannelProvider;
 import com.google.api.gax.rpc.UnaryCallSettings;
 import com.google.cloud.talent.v4beta1.stub.TenantServiceStubSettings;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/gapic_metadata.json
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/package-info.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompanyServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/CompletionStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/EventServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
index 875154b34c0e..0ab7d33f083f 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompanyServiceStub.java
@@ -38,7 +38,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
index 0db9a1a61211..fd80f19900b6 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcCompletionStub.java
@@ -30,7 +30,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
index 319914877683..5b9a7c813c2a 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcEventServiceStub.java
@@ -30,7 +30,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
index 4cb825f979de..8c4ece08a1f2 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcJobServiceStub.java
@@ -49,7 +49,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
index 6e486095bba4..e6e4ef1d534e 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/GrpcTenantServiceStub.java
@@ -38,7 +38,6 @@
 import io.grpc.MethodDescriptor;
 import io.grpc.protobuf.ProtoUtils;
 import java.io.IOException;
-import java.util.Map;
 import java.util.concurrent.TimeUnit;
 import javax.annotation.Generated;
 
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompanyServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonCompletionStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonEventServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
similarity index 99%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
index 49ae9ec9ea14..57839564a727 100644
--- a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
+++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonJobServiceStub.java
@@ -32,7 +32,6 @@
 import com.google.api.gax.httpjson.ProtoMessageResponseParser;
 import com.google.api.gax.httpjson.ProtoRestSerializer;
 import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub;
-import com.google.api.gax.longrunning.OperationSnapshot;
 import com.google.api.gax.rpc.ClientContext;
 import com.google.api.gax.rpc.OperationCallable;
 import com.google.api.gax.rpc.UnaryCallable;
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceCallableFactory.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/HttpJsonTenantServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/JobServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStub.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
rename to java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/TenantServiceStubSettings.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompanyServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/CompletionClientTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/EventServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/JobServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyService.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompanyServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletion.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockCompletionImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventService.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockEventServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobService.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockJobServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantService.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/MockTenantServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4/TenantServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompanyServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/CompletionClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/EventServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyService.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompanyServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletion.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockCompletionImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventService.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockEventServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobService.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockJobServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantService.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/MockTenantServiceImpl.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientHttpJsonTest.java
diff --git a/owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java b/java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
rename to java-talent/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/TenantServiceClientTest.java
diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
new file mode 100644
index 000000000000..abf761d7cb03
--- /dev/null
+++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
@@ -0,0 +1,805 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.cloud.talent.v4;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * A service that handles company management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4/company_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompanyServiceGrpc { + + private CompanyServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4.CompanyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> + getCreateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompany", + requestType = com.google.cloud.talent.v4.CreateCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> + getCreateCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateCompanyRequest, com.google.cloud.talent.v4.Company> + getCreateCompanyMethod; + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + CompanyServiceGrpc.getCreateCompanyMethod = + getCreateCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("CreateCompany")) + .build(); + } + } + } + return getCreateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> + getGetCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompany", + requestType = com.google.cloud.talent.v4.GetCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> + getGetCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetCompanyRequest, com.google.cloud.talent.v4.Company> + getGetCompanyMethod; + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + CompanyServiceGrpc.getGetCompanyMethod = + getGetCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetCompanyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) + .build(); + } + } + } + return getGetCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> + getUpdateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", + requestType = com.google.cloud.talent.v4.UpdateCompanyRequest.class, + responseType = com.google.cloud.talent.v4.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> + getUpdateCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateCompanyRequest, com.google.cloud.talent.v4.Company> + getUpdateCompanyMethod; + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + CompanyServiceGrpc.getUpdateCompanyMethod = + getUpdateCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Company.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) + .build(); + } + } + } + return getUpdateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", + requestType = com.google.cloud.talent.v4.DeleteCompanyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod; + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + CompanyServiceGrpc.getDeleteCompanyMethod = + getDeleteCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) + .build(); + } + } + } + return getDeleteCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse> + getListCompaniesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompanies", + requestType = com.google.cloud.talent.v4.ListCompaniesRequest.class, + responseType = com.google.cloud.talent.v4.ListCompaniesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse> + getListCompaniesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse> + getListCompaniesMethod; + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + CompanyServiceGrpc.getListCompaniesMethod = + getListCompaniesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListCompaniesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("ListCompanies")) + .build(); + } + } + } + return getListCompaniesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static CompanyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + }; + return CompanyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompanyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + }; + return CompanyServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CompanyServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + }; + return CompanyServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public abstract static class CompanyServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany( + com.google.cloud.talent.v4.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany( + com.google.cloud.talent.v4.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany( + com.google.cloud.talent.v4.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany( + com.google.cloud.talent.v4.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies( + com.google.cloud.talent.v4.ListCompaniesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCompaniesMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateCompanyRequest, + com.google.cloud.talent.v4.Company>(this, METHODID_CREATE_COMPANY))) + .addMethod( + getGetCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetCompanyRequest, + com.google.cloud.talent.v4.Company>(this, METHODID_GET_COMPANY))) + .addMethod( + getUpdateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateCompanyRequest, + com.google.cloud.talent.v4.Company>(this, METHODID_UPDATE_COMPANY))) + .addMethod( + getDeleteCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteCompanyRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_COMPANY))) + .addMethod( + getListCompaniesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListCompaniesRequest, + com.google.cloud.talent.v4.ListCompaniesResponse>( + this, METHODID_LIST_COMPANIES))) + .build(); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private CompanyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany( + com.google.cloud.talent.v4.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany( + com.google.cloud.talent.v4.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany( + com.google.cloud.talent.v4.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany( + com.google.cloud.talent.v4.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies( + com.google.cloud.talent.v4.ListCompaniesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CompanyServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.cloud.talent.v4.Company createCompany( + com.google.cloud.talent.v4.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.cloud.talent.v4.Company getCompany( + com.google.cloud.talent.v4.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public com.google.cloud.talent.v4.Company updateCompany( + com.google.cloud.talent.v4.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.protobuf.Empty deleteCompany( + com.google.cloud.talent.v4.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4.ListCompaniesResponse listCompanies( + com.google.cloud.talent.v4.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompaniesMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CompanyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getCompany(com.google.cloud.talent.v4.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.ListCompaniesResponse> + listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_COMPANY = 0; + private static final int METHODID_GET_COMPANY = 1; + private static final int METHODID_UPDATE_COMPANY = 2; + private static final int METHODID_DELETE_COMPANY = 3; + private static final int METHODID_LIST_COMPANIES = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompanyServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_COMPANY: + serviceImpl.createCompany( + (com.google.cloud.talent.v4.CreateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_COMPANY: + serviceImpl.getCompany( + (com.google.cloud.talent.v4.GetCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_COMPANY: + serviceImpl.updateCompany( + (com.google.cloud.talent.v4.UpdateCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_COMPANY: + serviceImpl.deleteCompany( + (com.google.cloud.talent.v4.DeleteCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPANIES: + serviceImpl.listCompanies( + (com.google.cloud.talent.v4.ListCompaniesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompanyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CompanyService"); + } + } + + private static final class CompanyServiceFileDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier { + CompanyServiceFileDescriptorSupplier() {} + } + + private static final class CompanyServiceMethodDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompanyServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompanyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) + .addMethod(getCreateCompanyMethod()) + .addMethod(getGetCompanyMethod()) + .addMethod(getUpdateCompanyMethod()) + .addMethod(getDeleteCompanyMethod()) + .addMethod(getListCompaniesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java similarity index 50% rename from owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java rename to java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java index 70710d57be6a..b2cc0c882cbf 100644 --- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java +++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * A service handles auto completion.
  * 
@@ -18,150 +35,176 @@ private CompletionGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.Completion"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCompleteQueryMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse> + getCompleteQueryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", requestType = com.google.cloud.talent.v4.CompleteQueryRequest.class, responseType = com.google.cloud.talent.v4.CompleteQueryResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCompleteQueryMethod() { - io.grpc.MethodDescriptor getCompleteQueryMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse> + getCompleteQueryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse> + getCompleteQueryMethod; if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { synchronized (CompletionGrpc.class) { if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - CompletionGrpc.getCompleteQueryMethod = getCompleteQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) - .build(); + CompletionGrpc.getCompleteQueryMethod = + getCompleteQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CompleteQueryResponse + .getDefaultInstance())) + .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) + .build(); } } } return getCompleteQueryMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static CompletionStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + }; return CompletionStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static CompletionBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static CompletionBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + }; return CompletionBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CompletionFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CompletionFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + }; return CompletionFutureStub.newStub(factory, channel); } /** + * + * *
    * A service handles auto completion.
    * 
*/ - public static abstract class CompletionImplBase implements io.grpc.BindableService { + public abstract static class CompletionImplBase implements io.grpc.BindableService { /** + * + * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public void completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteQueryMethod(), responseObserver); + public void completeQuery( + com.google.cloud.talent.v4.CompleteQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteQueryMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCompleteQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CompleteQueryRequest, - com.google.cloud.talent.v4.CompleteQueryResponse>( - this, METHODID_COMPLETE_QUERY))) + getCompleteQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CompleteQueryRequest, + com.google.cloud.talent.v4.CompleteQueryResponse>( + this, METHODID_COMPLETE_QUERY))) .build(); } } /** + * + * *
    * A service handles auto completion.
    * 
*/ public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { - private CompletionStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private CompletionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CompletionStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CompletionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CompletionStub(channel, callOptions); } /** + * + * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public void completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void completeQuery( + com.google.cloud.talent.v4.CompleteQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service handles auto completion.
    * 
*/ - public static final class CompletionBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CompletionBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CompletionBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CompletionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -172,42 +215,49 @@ protected CompletionBlockingStub build( } /** + * + * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public com.google.cloud.talent.v4.CompleteQueryResponse completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request) { + public com.google.cloud.talent.v4.CompleteQueryResponse completeQuery( + com.google.cloud.talent.v4.CompleteQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCompleteQueryMethod(), getCallOptions(), request); } } /** + * + * *
    * A service handles auto completion.
    * 
*/ - public static final class CompletionFutureStub extends io.grpc.stub.AbstractFutureStub { - private CompletionFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CompletionFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CompletionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CompletionFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CompletionFutureStub(channel, callOptions); } /** + * + * *
      * Completes the specified prefix with keyword suggestions.
      * Intended for use by a job search auto-complete search box.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture completeQuery( - com.google.cloud.talent.v4.CompleteQueryRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.CompleteQueryResponse> + completeQuery(com.google.cloud.talent.v4.CompleteQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); } @@ -215,11 +265,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final CompletionImplBase serviceImpl; private final int methodId; @@ -233,8 +283,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_COMPLETE_QUERY: - serviceImpl.completeQuery((com.google.cloud.talent.v4.CompleteQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.completeQuery( + (com.google.cloud.talent.v4.CompleteQueryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -252,8 +304,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { CompletionBaseDescriptorSupplier() {} @java.lang.Override @@ -295,10 +348,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CompletionGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) - .addMethod(getCompleteQueryMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) + .addMethod(getCompleteQueryMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java similarity index 54% rename from owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java rename to java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java index fa141108eb74..fc86661433ee 100644 --- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java +++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * A service handles client event report.
  * 
@@ -18,89 +35,105 @@ private EventServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.EventService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateClientEventMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent> + getCreateClientEventMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateClientEvent", requestType = com.google.cloud.talent.v4.CreateClientEventRequest.class, responseType = com.google.cloud.talent.v4.ClientEvent.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClientEventMethod() { - io.grpc.MethodDescriptor getCreateClientEventMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent> + getCreateClientEventMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent> + getCreateClientEventMethod; if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { synchronized (EventServiceGrpc.class) { if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { - EventServiceGrpc.getCreateClientEventMethod = getCreateClientEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ClientEvent.getDefaultInstance())) - .setSchemaDescriptor(new EventServiceMethodDescriptorSupplier("CreateClientEvent")) - .build(); + EventServiceGrpc.getCreateClientEventMethod = + getCreateClientEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateClientEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ClientEvent.getDefaultInstance())) + .setSchemaDescriptor( + new EventServiceMethodDescriptorSupplier("CreateClientEvent")) + .build(); } } } return getCreateClientEventMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static EventServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceStub(channel, callOptions); + } + }; return EventServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static EventServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static EventServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceBlockingStub(channel, callOptions); + } + }; return EventServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static EventServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EventServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceFutureStub(channel, callOptions); + } + }; return EventServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static abstract class EventServiceImplBase implements io.grpc.BindableService { + public abstract static class EventServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -111,42 +144,47 @@ public static abstract class EventServiceImplBase implements io.grpc.BindableSer
      * about self service tools.
      * 
*/ - public void createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request, + public void createClientEvent( + com.google.cloud.talent.v4.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClientEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClientEventMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateClientEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateClientEventRequest, - com.google.cloud.talent.v4.ClientEvent>( - this, METHODID_CREATE_CLIENT_EVENT))) + getCreateClientEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateClientEventRequest, + com.google.cloud.talent.v4.ClientEvent>(this, METHODID_CREATE_CLIENT_EVENT))) .build(); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceStub extends io.grpc.stub.AbstractAsyncStub { - private EventServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private EventServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected EventServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new EventServiceStub(channel, callOptions); } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -157,21 +195,26 @@ protected EventServiceStub build(
      * about self service tools.
      * 
*/ - public void createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request, + public void createClientEvent( + com.google.cloud.talent.v4.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private EventServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EventServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -182,6 +225,8 @@ protected EventServiceBlockingStub build( } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -192,20 +237,23 @@ protected EventServiceBlockingStub build(
      * about self service tools.
      * 
*/ - public com.google.cloud.talent.v4.ClientEvent createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request) { + public com.google.cloud.talent.v4.ClientEvent createClientEvent( + com.google.cloud.talent.v4.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateClientEventMethod(), getCallOptions(), request); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private EventServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EventServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -216,6 +264,8 @@ protected EventServiceFutureStub build( } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -226,8 +276,9 @@ protected EventServiceFutureStub build(
      * about self service tools.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createClientEvent( - com.google.cloud.talent.v4.CreateClientEventRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.ClientEvent> + createClientEvent(com.google.cloud.talent.v4.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request); } @@ -235,11 +286,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final EventServiceImplBase serviceImpl; private final int methodId; @@ -253,8 +304,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CLIENT_EVENT: - serviceImpl.createClientEvent((com.google.cloud.talent.v4.CreateClientEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.createClientEvent( + (com.google.cloud.talent.v4.CreateClientEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -272,8 +325,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class EventServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class EventServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { EventServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -315,10 +369,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (EventServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) - .addMethod(getCreateClientEventMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) + .addMethod(getCreateClientEventMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java similarity index 50% rename from owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java rename to java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java index ad495e9d8c87..8538ee796c10 100644 --- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java +++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.talent.v4; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * A service handles job management, including job CRUD, enumeration and search.
  * 
@@ -18,455 +35,590 @@ private JobServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4.JobService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateJobMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> + getCreateJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateJob", requestType = com.google.cloud.talent.v4.CreateJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateJobMethod() { - io.grpc.MethodDescriptor getCreateJobMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> + getCreateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job> + getCreateJobMethod; if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - JobServiceGrpc.getCreateJobMethod = getCreateJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) - .build(); + JobServiceGrpc.getCreateJobMethod = + getCreateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) + .build(); } } } return getCreateJobMethod; } - private static volatile io.grpc.MethodDescriptor getBatchCreateJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", requestType = com.google.cloud.talent.v4.BatchCreateJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateJobsMethod() { - io.grpc.MethodDescriptor getBatchCreateJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod; if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - JobServiceGrpc.getBatchCreateJobsMethod = getBatchCreateJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) - .build(); + JobServiceGrpc.getBatchCreateJobsMethod = + getBatchCreateJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchCreateJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) + .build(); } } } return getBatchCreateJobsMethod; } - private static volatile io.grpc.MethodDescriptor getGetJobMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> + getGetJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetJob", requestType = com.google.cloud.talent.v4.GetJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJobMethod() { - io.grpc.MethodDescriptor getGetJobMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> + getGetJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job> + getGetJobMethod; if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - JobServiceGrpc.getGetJobMethod = getGetJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) - .build(); + JobServiceGrpc.getGetJobMethod = + getGetJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) + .build(); } } } return getGetJobMethod; } - private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> + getUpdateJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateJob", requestType = com.google.cloud.talent.v4.UpdateJobRequest.class, responseType = com.google.cloud.talent.v4.Job.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateJobMethod() { - io.grpc.MethodDescriptor getUpdateJobMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> + getUpdateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job> + getUpdateJobMethod; if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - JobServiceGrpc.getUpdateJobMethod = getUpdateJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) - .build(); + JobServiceGrpc.getUpdateJobMethod = + getUpdateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) + .build(); } } } return getUpdateJobMethod; } - private static volatile io.grpc.MethodDescriptor getBatchUpdateJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", requestType = com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchUpdateJobsMethod() { - io.grpc.MethodDescriptor getBatchUpdateJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod; if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - JobServiceGrpc.getBatchUpdateJobsMethod = getBatchUpdateJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) - .build(); + JobServiceGrpc.getBatchUpdateJobsMethod = + getBatchUpdateJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchUpdateJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) + .build(); } } } return getBatchUpdateJobsMethod; } - private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteJob", requestType = com.google.cloud.talent.v4.DeleteJobRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteJobMethod() { - io.grpc.MethodDescriptor getDeleteJobMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod() { + io.grpc.MethodDescriptor + getDeleteJobMethod; if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - JobServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) - .build(); + JobServiceGrpc.getDeleteJobMethod = + getDeleteJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) + .build(); } } } return getDeleteJobMethod; } - private static volatile io.grpc.MethodDescriptor getBatchDeleteJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> + getBatchDeleteJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", requestType = com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchDeleteJobsMethod() { - io.grpc.MethodDescriptor getBatchDeleteJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> + getBatchDeleteJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, com.google.longrunning.Operation> + getBatchDeleteJobsMethod; if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - JobServiceGrpc.getBatchDeleteJobsMethod = getBatchDeleteJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) - .build(); + JobServiceGrpc.getBatchDeleteJobsMethod = + getBatchDeleteJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.BatchDeleteJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) + .build(); } } } return getBatchDeleteJobsMethod; } - private static volatile io.grpc.MethodDescriptor getListJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> + getListJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListJobs", requestType = com.google.cloud.talent.v4.ListJobsRequest.class, responseType = com.google.cloud.talent.v4.ListJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListJobsMethod() { - io.grpc.MethodDescriptor getListJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> + getListJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListJobsRequest, com.google.cloud.talent.v4.ListJobsResponse> + getListJobsMethod; if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - JobServiceGrpc.getListJobsMethod = getListJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) - .build(); + JobServiceGrpc.getListJobsMethod = + getListJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) + .build(); } } } return getListJobsMethod; } - private static volatile io.grpc.MethodDescriptor getSearchJobsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchJobs", requestType = com.google.cloud.talent.v4.SearchJobsRequest.class, responseType = com.google.cloud.talent.v4.SearchJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchJobsMethod() { - io.grpc.MethodDescriptor getSearchJobsMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsMethod; if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - JobServiceGrpc.getSearchJobsMethod = getSearchJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) - .build(); + JobServiceGrpc.getSearchJobsMethod = + getSearchJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) + .build(); } } } return getSearchJobsMethod; } - private static volatile io.grpc.MethodDescriptor getSearchJobsForAlertMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsForAlertMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", requestType = com.google.cloud.talent.v4.SearchJobsRequest.class, responseType = com.google.cloud.talent.v4.SearchJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchJobsForAlertMethod() { - io.grpc.MethodDescriptor getSearchJobsForAlertMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsForAlertMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse> + getSearchJobsForAlertMethod; if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { synchronized (JobServiceGrpc.class) { if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - JobServiceGrpc.getSearchJobsForAlertMethod = getSearchJobsForAlertMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) - .build(); + JobServiceGrpc.getSearchJobsForAlertMethod = + getSearchJobsForAlertMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.SearchJobsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) + .build(); } } } return getSearchJobsForAlertMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static JobServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + }; return JobServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static JobServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static JobServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + }; return JobServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static JobServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static JobServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + }; return JobServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static abstract class JobServiceImplBase implements io.grpc.BindableService { + public abstract static class JobServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void createJob(com.google.cloud.talent.v4.CreateJobRequest request, + public void createJob( + com.google.cloud.talent.v4.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); } /** + * + * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public void batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request, + public void batchCreateJobs( + com.google.cloud.talent.v4.BatchCreateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateJobsMethod(), responseObserver); } /** + * + * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public void getJob(com.google.cloud.talent.v4.GetJobRequest request, + public void getJob( + com.google.cloud.talent.v4.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** + * + * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public void updateJob(com.google.cloud.talent.v4.UpdateJobRequest request, + public void updateJob( + com.google.cloud.talent.v4.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** + * + * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public void batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request, + public void batchUpdateJobs( + com.google.cloud.talent.v4.BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchUpdateJobsMethod(), responseObserver); } /** + * + * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request, + public void deleteJob( + com.google.cloud.talent.v4.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } /** + * + * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public void batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request, + public void batchDeleteJobs( + com.google.cloud.talent.v4.BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchDeleteJobsMethod(), responseObserver); } /** + * + * *
      * Lists jobs by filter.
      * 
*/ - public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request, + public void listJobs( + com.google.cloud.talent.v4.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -474,12 +626,16 @@ public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request,
      * permission to search against.
      * 
*/ - public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchJobs( + com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -491,200 +647,227 @@ public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request,
      * permission to search against.
      * 
*/ - public void searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsForAlertMethod(), responseObserver); + public void searchJobsForAlert( + com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchJobsForAlertMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateJobRequest, - com.google.cloud.talent.v4.Job>( - this, METHODID_CREATE_JOB))) + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateJobRequest, com.google.cloud.talent.v4.Job>( + this, METHODID_CREATE_JOB))) .addMethod( - getBatchCreateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchCreateJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_CREATE_JOBS))) + getBatchCreateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchCreateJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_JOBS))) .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetJobRequest, - com.google.cloud.talent.v4.Job>( - this, METHODID_GET_JOB))) + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetJobRequest, com.google.cloud.talent.v4.Job>( + this, METHODID_GET_JOB))) .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateJobRequest, - com.google.cloud.talent.v4.Job>( - this, METHODID_UPDATE_JOB))) + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateJobRequest, com.google.cloud.talent.v4.Job>( + this, METHODID_UPDATE_JOB))) .addMethod( - getBatchUpdateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchUpdateJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_UPDATE_JOBS))) + getBatchUpdateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchUpdateJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_JOBS))) .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteJobRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteJobRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) .addMethod( - getBatchDeleteJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.BatchDeleteJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_DELETE_JOBS))) + getBatchDeleteJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.BatchDeleteJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_DELETE_JOBS))) .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListJobsRequest, - com.google.cloud.talent.v4.ListJobsResponse>( - this, METHODID_LIST_JOBS))) + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListJobsRequest, + com.google.cloud.talent.v4.ListJobsResponse>(this, METHODID_LIST_JOBS))) .addMethod( - getSearchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS))) + getSearchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse>(this, METHODID_SEARCH_JOBS))) .addMethod( - getSearchJobsForAlertMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.SearchJobsRequest, - com.google.cloud.talent.v4.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS_FOR_ALERT))) + getSearchJobsForAlertMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.SearchJobsRequest, + com.google.cloud.talent.v4.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS_FOR_ALERT))) .build(); } } /** + * + * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { - private JobServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private JobServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected JobServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new JobServiceStub(channel, callOptions); } /** + * + * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void createJob(com.google.cloud.talent.v4.CreateJobRequest request, + public void createJob( + com.google.cloud.talent.v4.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public void batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request, + public void batchCreateJobs( + com.google.cloud.talent.v4.BatchCreateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public void getJob(com.google.cloud.talent.v4.GetJobRequest request, + public void getJob( + com.google.cloud.talent.v4.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public void updateJob(com.google.cloud.talent.v4.UpdateJobRequest request, + public void updateJob( + com.google.cloud.talent.v4.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public void batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request, + public void batchUpdateJobs( + com.google.cloud.talent.v4.BatchUpdateJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public void deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request, + public void deleteJob( + com.google.cloud.talent.v4.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public void batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request, + public void batchDeleteJobs( + com.google.cloud.talent.v4.BatchDeleteJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists jobs by filter.
      * 
*/ - public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request, + public void listJobs( + com.google.cloud.talent.v4.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -692,13 +875,17 @@ public void listJobs(com.google.cloud.talent.v4.ListJobsRequest request,
      * permission to search against.
      * 
*/ - public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchJobs( + com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -710,21 +897,27 @@ public void searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request,
      * permission to search against.
      * 
*/ - public void searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void searchJobsForAlert( + com.google.cloud.talent.v4.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static final class JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private JobServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class JobServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private JobServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -735,28 +928,36 @@ protected JobServiceBlockingStub build( } /** + * + * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.cloud.talent.v4.Job createJob(com.google.cloud.talent.v4.CreateJobRequest request) { + public com.google.cloud.talent.v4.Job createJob( + com.google.cloud.talent.v4.CreateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateJobMethod(), getCallOptions(), request); } /** + * + * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request) { + public com.google.longrunning.Operation batchCreateJobs( + com.google.cloud.talent.v4.BatchCreateJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
@@ -768,60 +969,77 @@ public com.google.cloud.talent.v4.Job getJob(com.google.cloud.talent.v4.GetJobRe
     }
 
     /**
+     *
+     *
      * 
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public com.google.cloud.talent.v4.Job updateJob(com.google.cloud.talent.v4.UpdateJobRequest request) { + public com.google.cloud.talent.v4.Job updateJob( + com.google.cloud.talent.v4.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** + * + * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { + public com.google.longrunning.Operation batchUpdateJobs( + com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.protobuf.Empty deleteJob(com.google.cloud.talent.v4.DeleteJobRequest request) { + public com.google.protobuf.Empty deleteJob( + com.google.cloud.talent.v4.DeleteJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } /** + * + * *
      * Begins executing a batch delete jobs operation.
      * 
*/ - public com.google.longrunning.Operation batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { + public com.google.longrunning.Operation batchDeleteJobs( + com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Lists jobs by filter.
      * 
*/ - public com.google.cloud.talent.v4.ListJobsResponse listJobs(com.google.cloud.talent.v4.ListJobsRequest request) { + public com.google.cloud.talent.v4.ListJobsResponse listJobs( + com.google.cloud.talent.v4.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -829,12 +1047,15 @@ public com.google.cloud.talent.v4.ListJobsResponse listJobs(com.google.cloud.tal
      * permission to search against.
      * 
*/ - public com.google.cloud.talent.v4.SearchJobsResponse searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request) { + public com.google.cloud.talent.v4.SearchJobsResponse searchJobs( + com.google.cloud.talent.v4.SearchJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -846,90 +1067,104 @@ public com.google.cloud.talent.v4.SearchJobsResponse searchJobs(com.google.cloud
      * permission to search against.
      * 
*/ - public com.google.cloud.talent.v4.SearchJobsResponse searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request) { + public com.google.cloud.talent.v4.SearchJobsResponse searchJobsForAlert( + com.google.cloud.talent.v4.SearchJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); } } /** + * + * *
    * A service handles job management, including job CRUD, enumeration and search.
    * 
*/ - public static final class JobServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private JobServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class JobServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private JobServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected JobServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new JobServiceFutureStub(channel, callOptions); } /** + * + * *
      * Creates a new job.
      * Typically, the job becomes searchable within 10 seconds, but it may take
      * up to 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createJob( - com.google.cloud.talent.v4.CreateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createJob(com.google.cloud.talent.v4.CreateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); } /** + * + * *
      * Begins executing a batch create jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture batchCreateJobs( - com.google.cloud.talent.v4.BatchCreateJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + batchCreateJobs(com.google.cloud.talent.v4.BatchCreateJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Retrieves the specified job, whose status is OPEN or recently EXPIRED
      * within the last 90 days.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getJob( - com.google.cloud.talent.v4.GetJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getJob(com.google.cloud.talent.v4.GetJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** + * + * *
      * Updates specified job.
      * Typically, updated contents become visible in search results within 10
      * seconds, but it may take up to 5 minutes.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateJob( - com.google.cloud.talent.v4.UpdateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateJob(com.google.cloud.talent.v4.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); } /** + * + * *
      * Begins executing a batch update jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture batchUpdateJobs( - com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + batchUpdateJobs(com.google.cloud.talent.v4.BatchUpdateJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes the specified job.
      * Typically, the job becomes unsearchable within 10 seconds, but it may take
@@ -943,28 +1178,35 @@ public com.google.common.util.concurrent.ListenableFuture
      * Begins executing a batch delete jobs operation.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture batchDeleteJobs( - com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture + batchDeleteJobs(com.google.cloud.talent.v4.BatchDeleteJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Lists jobs by filter.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listJobs( - com.google.cloud.talent.v4.ListJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.ListJobsResponse> + listJobs(com.google.cloud.talent.v4.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This call constrains the [visibility][google.cloud.talent.v4.Job.visibility] of jobs
@@ -972,13 +1214,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture searchJobs(
-        com.google.cloud.talent.v4.SearchJobsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.talent.v4.SearchJobsResponse>
+        searchJobs(com.google.cloud.talent.v4.SearchJobsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * This API call is intended for the use case of targeting passive job
@@ -990,8 +1235,9 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture searchJobsForAlert(
-        com.google.cloud.talent.v4.SearchJobsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.talent.v4.SearchJobsResponse>
+        searchJobsForAlert(com.google.cloud.talent.v4.SearchJobsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request);
     }
@@ -1008,11 +1254,11 @@ public com.google.common.util.concurrent.ListenableFuture implements
-      io.grpc.stub.ServerCalls.UnaryMethod,
-      io.grpc.stub.ServerCalls.ServerStreamingMethod,
-      io.grpc.stub.ServerCalls.ClientStreamingMethod,
-      io.grpc.stub.ServerCalls.BidiStreamingMethod {
+  private static final class MethodHandlers
+      implements io.grpc.stub.ServerCalls.UnaryMethod,
+          io.grpc.stub.ServerCalls.ServerStreamingMethod,
+          io.grpc.stub.ServerCalls.ClientStreamingMethod,
+          io.grpc.stub.ServerCalls.BidiStreamingMethod {
     private final JobServiceImplBase serviceImpl;
     private final int methodId;
 
@@ -1026,44 +1272,57 @@ private static final class MethodHandlers implements
     public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
       switch (methodId) {
         case METHODID_CREATE_JOB:
-          serviceImpl.createJob((com.google.cloud.talent.v4.CreateJobRequest) request,
+          serviceImpl.createJob(
+              (com.google.cloud.talent.v4.CreateJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_CREATE_JOBS:
-          serviceImpl.batchCreateJobs((com.google.cloud.talent.v4.BatchCreateJobsRequest) request,
+          serviceImpl.batchCreateJobs(
+              (com.google.cloud.talent.v4.BatchCreateJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_GET_JOB:
-          serviceImpl.getJob((com.google.cloud.talent.v4.GetJobRequest) request,
+          serviceImpl.getJob(
+              (com.google.cloud.talent.v4.GetJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_UPDATE_JOB:
-          serviceImpl.updateJob((com.google.cloud.talent.v4.UpdateJobRequest) request,
+          serviceImpl.updateJob(
+              (com.google.cloud.talent.v4.UpdateJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_UPDATE_JOBS:
-          serviceImpl.batchUpdateJobs((com.google.cloud.talent.v4.BatchUpdateJobsRequest) request,
+          serviceImpl.batchUpdateJobs(
+              (com.google.cloud.talent.v4.BatchUpdateJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_DELETE_JOB:
-          serviceImpl.deleteJob((com.google.cloud.talent.v4.DeleteJobRequest) request,
+          serviceImpl.deleteJob(
+              (com.google.cloud.talent.v4.DeleteJobRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_BATCH_DELETE_JOBS:
-          serviceImpl.batchDeleteJobs((com.google.cloud.talent.v4.BatchDeleteJobsRequest) request,
+          serviceImpl.batchDeleteJobs(
+              (com.google.cloud.talent.v4.BatchDeleteJobsRequest) request,
               (io.grpc.stub.StreamObserver) responseObserver);
           break;
         case METHODID_LIST_JOBS:
-          serviceImpl.listJobs((com.google.cloud.talent.v4.ListJobsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.listJobs(
+              (com.google.cloud.talent.v4.ListJobsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_SEARCH_JOBS:
-          serviceImpl.searchJobs((com.google.cloud.talent.v4.SearchJobsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.searchJobs(
+              (com.google.cloud.talent.v4.SearchJobsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         case METHODID_SEARCH_JOBS_FOR_ALERT:
-          serviceImpl.searchJobsForAlert((com.google.cloud.talent.v4.SearchJobsRequest) request,
-              (io.grpc.stub.StreamObserver) responseObserver);
+          serviceImpl.searchJobsForAlert(
+              (com.google.cloud.talent.v4.SearchJobsRequest) request,
+              (io.grpc.stub.StreamObserver)
+                  responseObserver);
           break;
         default:
           throw new AssertionError();
@@ -1081,8 +1340,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  private static abstract class JobServiceBaseDescriptorSupplier
-      implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+  private abstract static class JobServiceBaseDescriptorSupplier
+      implements io.grpc.protobuf.ProtoFileDescriptorSupplier,
+          io.grpc.protobuf.ProtoServiceDescriptorSupplier {
     JobServiceBaseDescriptorSupplier() {}
 
     @java.lang.Override
@@ -1124,19 +1384,21 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
       synchronized (JobServiceGrpc.class) {
         result = serviceDescriptor;
         if (result == null) {
-          serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
-              .setSchemaDescriptor(new JobServiceFileDescriptorSupplier())
-              .addMethod(getCreateJobMethod())
-              .addMethod(getBatchCreateJobsMethod())
-              .addMethod(getGetJobMethod())
-              .addMethod(getUpdateJobMethod())
-              .addMethod(getBatchUpdateJobsMethod())
-              .addMethod(getDeleteJobMethod())
-              .addMethod(getBatchDeleteJobsMethod())
-              .addMethod(getListJobsMethod())
-              .addMethod(getSearchJobsMethod())
-              .addMethod(getSearchJobsForAlertMethod())
-              .build();
+          serviceDescriptor =
+              result =
+                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+                      .setSchemaDescriptor(new JobServiceFileDescriptorSupplier())
+                      .addMethod(getCreateJobMethod())
+                      .addMethod(getBatchCreateJobsMethod())
+                      .addMethod(getGetJobMethod())
+                      .addMethod(getUpdateJobMethod())
+                      .addMethod(getBatchUpdateJobsMethod())
+                      .addMethod(getDeleteJobMethod())
+                      .addMethod(getBatchDeleteJobsMethod())
+                      .addMethod(getListJobsMethod())
+                      .addMethod(getSearchJobsMethod())
+                      .addMethod(getSearchJobsForAlertMethod())
+                      .build();
         }
       }
     }
diff --git a/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
new file mode 100644
index 000000000000..2b4421a625dc
--- /dev/null
+++ b/java-talent/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java
@@ -0,0 +1,798 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.google.cloud.talent.v4;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ *
+ *
+ * 
+ * A service that handles tenant management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4/tenant_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TenantServiceGrpc { + + private TenantServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4.TenantService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> + getCreateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTenant", + requestType = com.google.cloud.talent.v4.CreateTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> + getCreateTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.CreateTenantRequest, com.google.cloud.talent.v4.Tenant> + getCreateTenantMethod; + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + TenantServiceGrpc.getCreateTenantMethod = + getCreateTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.CreateTenantRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("CreateTenant")) + .build(); + } + } + } + return getCreateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> + getGetTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTenant", + requestType = com.google.cloud.talent.v4.GetTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> + getGetTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.GetTenantRequest, com.google.cloud.talent.v4.Tenant> + getGetTenantMethod; + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + TenantServiceGrpc.getGetTenantMethod = + getGetTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.GetTenantRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) + .build(); + } + } + } + return getGetTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> + getUpdateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", + requestType = com.google.cloud.talent.v4.UpdateTenantRequest.class, + responseType = com.google.cloud.talent.v4.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> + getUpdateTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.UpdateTenantRequest, com.google.cloud.talent.v4.Tenant> + getUpdateTenantMethod; + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + TenantServiceGrpc.getUpdateTenantMethod = + getUpdateTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.UpdateTenantRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.Tenant.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("UpdateTenant")) + .build(); + } + } + } + return getUpdateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", + requestType = com.google.cloud.talent.v4.DeleteTenantRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod; + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + TenantServiceGrpc.getDeleteTenantMethod = + getDeleteTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.DeleteTenantRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("DeleteTenant")) + .build(); + } + } + } + return getDeleteTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse> + getListTenantsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTenants", + requestType = com.google.cloud.talent.v4.ListTenantsRequest.class, + responseType = com.google.cloud.talent.v4.ListTenantsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse> + getListTenantsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse> + getListTenantsMethod; + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + TenantServiceGrpc.getListTenantsMethod = + getListTenantsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListTenantsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4.ListTenantsResponse.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) + .build(); + } + } + } + return getListTenantsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static TenantServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + }; + return TenantServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TenantServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + }; + return TenantServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static TenantServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + }; + return TenantServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public abstract static class TenantServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant( + com.google.cloud.talent.v4.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant( + com.google.cloud.talent.v4.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant( + com.google.cloud.talent.v4.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant( + com.google.cloud.talent.v4.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants( + com.google.cloud.talent.v4.ListTenantsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTenantsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.CreateTenantRequest, + com.google.cloud.talent.v4.Tenant>(this, METHODID_CREATE_TENANT))) + .addMethod( + getGetTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.GetTenantRequest, + com.google.cloud.talent.v4.Tenant>(this, METHODID_GET_TENANT))) + .addMethod( + getUpdateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.UpdateTenantRequest, + com.google.cloud.talent.v4.Tenant>(this, METHODID_UPDATE_TENANT))) + .addMethod( + getDeleteTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.DeleteTenantRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TENANT))) + .addMethod( + getListTenantsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4.ListTenantsRequest, + com.google.cloud.talent.v4.ListTenantsResponse>(this, METHODID_LIST_TENANTS))) + .build(); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private TenantServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant( + com.google.cloud.talent.v4.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant( + com.google.cloud.talent.v4.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant( + com.google.cloud.talent.v4.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant( + com.google.cloud.talent.v4.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants( + com.google.cloud.talent.v4.ListTenantsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private TenantServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant createTenant( + com.google.cloud.talent.v4.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant getTenant( + com.google.cloud.talent.v4.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4.Tenant updateTenant( + com.google.cloud.talent.v4.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.protobuf.Empty deleteTenant( + com.google.cloud.talent.v4.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4.ListTenantsResponse listTenants( + com.google.cloud.talent.v4.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTenantsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private TenantServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createTenant(com.google.cloud.talent.v4.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getTenant(com.google.cloud.talent.v4.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4.ListTenantsResponse> + listTenants(com.google.cloud.talent.v4.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TENANT = 0; + private static final int METHODID_GET_TENANT = 1; + private static final int METHODID_UPDATE_TENANT = 2; + private static final int METHODID_DELETE_TENANT = 3; + private static final int METHODID_LIST_TENANTS = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TenantServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TENANT: + serviceImpl.createTenant( + (com.google.cloud.talent.v4.CreateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TENANT: + serviceImpl.getTenant( + (com.google.cloud.talent.v4.GetTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TENANT: + serviceImpl.updateTenant( + (com.google.cloud.talent.v4.UpdateTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TENANT: + serviceImpl.deleteTenant( + (com.google.cloud.talent.v4.DeleteTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TENANTS: + serviceImpl.listTenants( + (com.google.cloud.talent.v4.ListTenantsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TenantServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TenantService"); + } + } + + private static final class TenantServiceFileDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier { + TenantServiceFileDescriptorSupplier() {} + } + + private static final class TenantServiceMethodDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TenantServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TenantServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) + .addMethod(getCreateTenantMethod()) + .addMethod(getGetTenantMethod()) + .addMethod(getUpdateTenantMethod()) + .addMethod(getDeleteTenantMethod()) + .addMethod(getListTenantsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java new file mode 100644 index 000000000000..1015857aaf7e --- /dev/null +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceGrpc.java @@ -0,0 +1,826 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * A service that handles company management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/company_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompanyServiceGrpc { + + private CompanyServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.CompanyService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompany", + requestType = com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getCreateCompanyMethod; + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { + CompanyServiceGrpc.getCreateCompanyMethod = + getCreateCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateCompanyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("CreateCompany")) + .build(); + } + } + } + return getCreateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getGetCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompany", + requestType = com.google.cloud.talent.v4beta1.GetCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getGetCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getGetCompanyMethod; + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { + CompanyServiceGrpc.getGetCompanyMethod = + getGetCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetCompanyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) + .build(); + } + } + } + return getGetCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getUpdateCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", + requestType = com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, + responseType = com.google.cloud.talent.v4beta1.Company.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getUpdateCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company> + getUpdateCompanyMethod; + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { + CompanyServiceGrpc.getUpdateCompanyMethod = + getUpdateCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) + .build(); + } + } + } + return getUpdateCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", + requestType = com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, com.google.protobuf.Empty> + getDeleteCompanyMethod; + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { + CompanyServiceGrpc.getDeleteCompanyMethod = + getDeleteCompanyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) + .build(); + } + } + } + return getDeleteCompanyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse> + getListCompaniesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompanies", + requestType = com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse> + getListCompaniesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse> + getListCompaniesMethod; + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + synchronized (CompanyServiceGrpc.class) { + if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { + CompanyServiceGrpc.getListCompaniesMethod = + getListCompaniesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListCompaniesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListCompaniesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CompanyServiceMethodDescriptorSupplier("ListCompanies")) + .build(); + } + } + } + return getListCompaniesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static CompanyServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + }; + return CompanyServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompanyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + }; + return CompanyServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CompanyServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompanyServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + }; + return CompanyServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public abstract static class CompanyServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCompanyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCompaniesMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateCompanyRequest, + com.google.cloud.talent.v4beta1.Company>(this, METHODID_CREATE_COMPANY))) + .addMethod( + getGetCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetCompanyRequest, + com.google.cloud.talent.v4beta1.Company>(this, METHODID_GET_COMPANY))) + .addMethod( + getUpdateCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateCompanyRequest, + com.google.cloud.talent.v4beta1.Company>(this, METHODID_UPDATE_COMPANY))) + .addMethod( + getDeleteCompanyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteCompanyRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_COMPANY))) + .addMethod( + getListCompaniesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListCompaniesRequest, + com.google.cloud.talent.v4beta1.ListCompaniesResponse>( + this, METHODID_LIST_COMPANIES))) + .build(); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private CompanyServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public void createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public void getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public void updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public void deleteCompany( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public void listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CompanyServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company createCompany( + com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company getCompany( + com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Company updateCompany( + com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.protobuf.Empty deleteCompany( + com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListCompaniesResponse listCompanies( + com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompaniesMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service that handles company management, including CRUD and enumeration.
+   * 
+ */ + public static final class CompanyServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CompanyServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompanyServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompanyServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new company entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Company> + createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Company> + getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified company.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Company> + updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes specified company.
+     * Prerequisite: The company has no jobs associated with it.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all companies associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ListCompaniesResponse> + listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_COMPANY = 0; + private static final int METHODID_GET_COMPANY = 1; + private static final int METHODID_UPDATE_COMPANY = 2; + private static final int METHODID_DELETE_COMPANY = 3; + private static final int METHODID_LIST_COMPANIES = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompanyServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_COMPANY: + serviceImpl.createCompany( + (com.google.cloud.talent.v4beta1.CreateCompanyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_COMPANY: + serviceImpl.getCompany( + (com.google.cloud.talent.v4beta1.GetCompanyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_COMPANY: + serviceImpl.updateCompany( + (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_COMPANY: + serviceImpl.deleteCompany( + (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPANIES: + serviceImpl.listCompanies( + (com.google.cloud.talent.v4beta1.ListCompaniesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompanyServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CompanyService"); + } + } + + private static final class CompanyServiceFileDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier { + CompanyServiceFileDescriptorSupplier() {} + } + + private static final class CompanyServiceMethodDescriptorSupplier + extends CompanyServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompanyServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompanyServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) + .addMethod(getCreateCompanyMethod()) + .addMethod(getGetCompanyMethod()) + .addMethod(getUpdateCompanyMethod()) + .addMethod(getDeleteCompanyMethod()) + .addMethod(getListCompaniesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java new file mode 100644 index 000000000000..528a11de4b18 --- /dev/null +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java @@ -0,0 +1,363 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * A service handles auto completion.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CompletionGrpc { + + private CompletionGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.Completion"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", + requestType = com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, + responseType = com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + getCompleteQueryMethod; + if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { + synchronized (CompletionGrpc.class) { + if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { + CompletionGrpc.getCompleteQueryMethod = + getCompleteQueryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CompleteQueryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CompleteQueryResponse + .getDefaultInstance())) + .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) + .build(); + } + } + } + return getCompleteQueryMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static CompletionStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + }; + return CompletionStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CompletionBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + }; + return CompletionBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CompletionFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CompletionFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + }; + return CompletionFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service handles auto completion.
+   * 
+ */ + public abstract static class CompletionImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public void completeQuery( + com.google.cloud.talent.v4beta1.CompleteQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteQueryMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCompleteQueryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CompleteQueryRequest, + com.google.cloud.talent.v4beta1.CompleteQueryResponse>( + this, METHODID_COMPLETE_QUERY))) + .build(); + } + } + + /** + * + * + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { + private CompletionStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionStub(channel, callOptions); + } + + /** + * + * + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public void completeQuery( + com.google.cloud.talent.v4beta1.CompleteQueryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CompletionBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.CompleteQueryResponse completeQuery( + com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteQueryMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service handles auto completion.
+   * 
+ */ + public static final class CompletionFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CompletionFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CompletionFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CompletionFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Completes the specified prefix with keyword suggestions.
+     * Intended for use by a job search auto-complete search box.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.CompleteQueryResponse> + completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_COMPLETE_QUERY = 0; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final CompletionImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CompletionImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_COMPLETE_QUERY: + serviceImpl.completeQuery( + (com.google.cloud.talent.v4beta1.CompleteQueryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CompletionBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Completion"); + } + } + + private static final class CompletionFileDescriptorSupplier + extends CompletionBaseDescriptorSupplier { + CompletionFileDescriptorSupplier() {} + } + + private static final class CompletionMethodDescriptorSupplier + extends CompletionBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CompletionMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (CompletionGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) + .addMethod(getCompleteQueryMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java similarity index 54% rename from owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java rename to java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java index adfc6ef7ad41..c0ad64e9396f 100644 --- a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.talent.v4beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * A service handles client event report.
  * 
@@ -18,89 +35,105 @@ private EventServiceGrpc() {} public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.EventService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateClientEventMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateClientEvent", requestType = com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, responseType = com.google.cloud.talent.v4beta1.ClientEvent.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClientEventMethod() { - io.grpc.MethodDescriptor getCreateClientEventMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent> + getCreateClientEventMethod; if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { synchronized (EventServiceGrpc.class) { if ((getCreateClientEventMethod = EventServiceGrpc.getCreateClientEventMethod) == null) { - EventServiceGrpc.getCreateClientEventMethod = getCreateClientEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance())) - .setSchemaDescriptor(new EventServiceMethodDescriptorSupplier("CreateClientEvent")) - .build(); + EventServiceGrpc.getCreateClientEventMethod = + getCreateClientEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateClientEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateClientEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance())) + .setSchemaDescriptor( + new EventServiceMethodDescriptorSupplier("CreateClientEvent")) + .build(); } } } return getCreateClientEventMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static EventServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceStub(channel, callOptions); + } + }; return EventServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static EventServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static EventServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceBlockingStub(channel, callOptions); + } + }; return EventServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static EventServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static EventServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public EventServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new EventServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public EventServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new EventServiceFutureStub(channel, callOptions); + } + }; return EventServiceFutureStub.newStub(factory, channel); } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static abstract class EventServiceImplBase implements io.grpc.BindableService { + public abstract static class EventServiceImplBase implements io.grpc.BindableService { /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -111,42 +144,48 @@ public static abstract class EventServiceImplBase implements io.grpc.BindableSer
      * about self service tools.
      * 
*/ - public void createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + public void createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClientEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClientEventMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateClientEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateClientEventRequest, - com.google.cloud.talent.v4beta1.ClientEvent>( - this, METHODID_CREATE_CLIENT_EVENT))) + getCreateClientEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateClientEventRequest, + com.google.cloud.talent.v4beta1.ClientEvent>( + this, METHODID_CREATE_CLIENT_EVENT))) .build(); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceStub extends io.grpc.stub.AbstractAsyncStub { - private EventServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private EventServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected EventServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected EventServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new EventServiceStub(channel, callOptions); } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -157,21 +196,26 @@ protected EventServiceStub build(
      * about self service tools.
      * 
*/ - public void createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request, + public void createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private EventServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private EventServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -182,6 +226,8 @@ protected EventServiceBlockingStub build( } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -192,20 +238,23 @@ protected EventServiceBlockingStub build(
      * about self service tools.
      * 
*/ - public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + public com.google.cloud.talent.v4beta1.ClientEvent createClientEvent( + com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateClientEventMethod(), getCallOptions(), request); } } /** + * + * *
    * A service handles client event report.
    * 
*/ - public static final class EventServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private EventServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class EventServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private EventServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -216,6 +265,8 @@ protected EventServiceFutureStub build( } /** + * + * *
      * Report events issued when end user interacts with customer's application
      * that uses Cloud Talent Solution. You may inspect the created events in
@@ -226,8 +277,9 @@ protected EventServiceFutureStub build(
      * about self service tools.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createClientEvent( - com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ClientEvent> + createClientEvent(com.google.cloud.talent.v4beta1.CreateClientEventRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClientEventMethod(), getCallOptions()), request); } @@ -235,11 +287,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final EventServiceImplBase serviceImpl; private final int methodId; @@ -253,8 +305,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CLIENT_EVENT: - serviceImpl.createClientEvent((com.google.cloud.talent.v4beta1.CreateClientEventRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.createClientEvent( + (com.google.cloud.talent.v4beta1.CreateClientEventRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -272,8 +326,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class EventServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class EventServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { EventServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -315,10 +370,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (EventServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) - .addMethod(getCreateClientEventMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new EventServiceFileDescriptorSupplier()) + .addMethod(getCreateClientEventMethod()) + .build(); } } } diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java new file mode 100644 index 000000000000..b5c3d0db5a44 --- /dev/null +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java @@ -0,0 +1,1428 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * A service handles job management, including job CRUD, enumeration and search.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/job_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class JobServiceGrpc { + + private JobServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.JobService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJob", + requestType = com.google.cloud.talent.v4beta1.CreateJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateJobRequest, com.google.cloud.talent.v4beta1.Job> + getCreateJobMethod; + if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { + JobServiceGrpc.getCreateJobMethod = + getCreateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) + .build(); + } + } + } + return getCreateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", + requestType = com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, com.google.longrunning.Operation> + getBatchCreateJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, + com.google.longrunning.Operation> + getBatchCreateJobsMethod; + if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { + JobServiceGrpc.getBatchCreateJobsMethod = + getBatchCreateJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) + .build(); + } + } + } + return getBatchCreateJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> + getGetJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJob", + requestType = com.google.cloud.talent.v4beta1.GetJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> + getGetJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetJobRequest, com.google.cloud.talent.v4beta1.Job> + getGetJobMethod; + if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { + JobServiceGrpc.getGetJobMethod = + getGetJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) + .build(); + } + } + } + return getGetJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> + getUpdateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateJob", + requestType = com.google.cloud.talent.v4beta1.UpdateJobRequest.class, + responseType = com.google.cloud.talent.v4beta1.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> + getUpdateJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateJobRequest, com.google.cloud.talent.v4beta1.Job> + getUpdateJobMethod; + if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { + JobServiceGrpc.getUpdateJobMethod = + getUpdateJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) + .build(); + } + } + } + return getUpdateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", + requestType = com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, com.google.longrunning.Operation> + getBatchUpdateJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, + com.google.longrunning.Operation> + getBatchUpdateJobsMethod; + if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { + JobServiceGrpc.getBatchUpdateJobsMethod = + getBatchUpdateJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) + .build(); + } + } + } + return getBatchUpdateJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJob", + requestType = com.google.cloud.talent.v4beta1.DeleteJobRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty> + getDeleteJobMethod; + if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { + JobServiceGrpc.getDeleteJobMethod = + getDeleteJobMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteJobRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) + .build(); + } + } + } + return getDeleteJobMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> + getBatchDeleteJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", + requestType = com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> + getBatchDeleteJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, com.google.protobuf.Empty> + getBatchDeleteJobsMethod; + if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { + JobServiceGrpc.getBatchDeleteJobsMethod = + getBatchDeleteJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) + .build(); + } + } + } + return getBatchDeleteJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse> + getListJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobs", + requestType = com.google.cloud.talent.v4beta1.ListJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse> + getListJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse> + getListJobsMethod; + if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { + JobServiceGrpc.getListJobsMethod = + getListJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) + .build(); + } + } + } + return getListJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchJobs", + requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsMethod; + if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { + JobServiceGrpc.getSearchJobsMethod = + getSearchJobsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) + .build(); + } + } + } + return getSearchJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsForAlertMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", + requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsForAlertMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse> + getSearchJobsForAlertMethod; + if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { + synchronized (JobServiceGrpc.class) { + if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { + JobServiceGrpc.getSearchJobsForAlertMethod = + getSearchJobsForAlertMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.SearchJobsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) + .build(); + } + } + } + return getSearchJobsForAlertMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static JobServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + }; + return JobServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static JobServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + }; + return JobServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static JobServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + }; + return JobServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public abstract static class JobServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void createJob( + com.google.cloud.talent.v4beta1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public void batchCreateJobs( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public void getJob( + com.google.cloud.talent.v4beta1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public void updateJob( + com.google.cloud.talent.v4beta1.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public void batchUpdateJobs( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchUpdateJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public void batchDeleteJobs( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchDeleteJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists jobs by filter.
+     * 
+ */ + public void listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobs( + com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobsForAlert( + com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSearchJobsForAlertMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateJobRequest, + com.google.cloud.talent.v4beta1.Job>(this, METHODID_CREATE_JOB))) + .addMethod( + getBatchCreateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_CREATE_JOBS))) + .addMethod( + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetJobRequest, + com.google.cloud.talent.v4beta1.Job>(this, METHODID_GET_JOB))) + .addMethod( + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateJobRequest, + com.google.cloud.talent.v4beta1.Job>(this, METHODID_UPDATE_JOB))) + .addMethod( + getBatchUpdateJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, + com.google.longrunning.Operation>(this, METHODID_BATCH_UPDATE_JOBS))) + .addMethod( + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteJobRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) + .addMethod( + getBatchDeleteJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, + com.google.protobuf.Empty>(this, METHODID_BATCH_DELETE_JOBS))) + .addMethod( + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListJobsRequest, + com.google.cloud.talent.v4beta1.ListJobsResponse>(this, METHODID_LIST_JOBS))) + .addMethod( + getSearchJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS))) + .addMethod( + getSearchJobsForAlertMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.SearchJobsRequest, + com.google.cloud.talent.v4beta1.SearchJobsResponse>( + this, METHODID_SEARCH_JOBS_FOR_ALERT))) + .build(); + } + } + + /** + * + * + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { + private JobServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void createJob( + com.google.cloud.talent.v4beta1.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public void batchCreateJobs( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public void getJob( + com.google.cloud.talent.v4beta1.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public void updateJob( + com.google.cloud.talent.v4beta1.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public void batchUpdateJobs( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public void deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public void batchDeleteJobs( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists jobs by filter.
+     * 
+ */ + public void listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobs( + com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public void searchJobsForAlert( + com.google.cloud.talent.v4beta1.SearchJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private JobServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job createJob( + com.google.cloud.talent.v4beta1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateJobs( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job getJob( + com.google.cloud.talent.v4beta1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Job updateJob( + com.google.cloud.talent.v4beta1.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public com.google.longrunning.Operation batchUpdateJobs( + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.protobuf.Empty deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteJobs( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists jobs by filter.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs( + com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobs( + com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchJobsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobsForAlert( + com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service handles job management, including job CRUD, enumeration and search.
+   * 
+ */ + public static final class JobServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private JobServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new job.
+     * Typically, the job becomes searchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Begins executing a batch create jobs operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
+     * within the last 90 days.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getJob(com.google.cloud.talent.v4beta1.GetJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified job.
+     * Typically, updated contents become visible in search results within 10
+     * seconds, but it may take up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Begins executing a batch update jobs operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the specified job.
+     * Typically, the job becomes unsearchable within 10 seconds, but it may take
+     * up to 5 minutes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteJob( + com.google.cloud.talent.v4beta1.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists jobs by filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ListJobsResponse> + listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs that the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.SearchJobsResponse> + searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
+     * This API call is intended for the use case of targeting passive job
+     * seekers (for example, job seekers who have signed up to receive email
+     * alerts about potential job opportunities), and has different algorithmic
+     * adjustments that are targeted to passive job seekers.
+     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
+     * present in the database, and only returns jobs the caller has
+     * permission to search against.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.SearchJobsResponse> + searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_JOB = 0; + private static final int METHODID_BATCH_CREATE_JOBS = 1; + private static final int METHODID_GET_JOB = 2; + private static final int METHODID_UPDATE_JOB = 3; + private static final int METHODID_BATCH_UPDATE_JOBS = 4; + private static final int METHODID_DELETE_JOB = 5; + private static final int METHODID_BATCH_DELETE_JOBS = 6; + private static final int METHODID_LIST_JOBS = 7; + private static final int METHODID_SEARCH_JOBS = 8; + private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 9; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final JobServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(JobServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_JOB: + serviceImpl.createJob( + (com.google.cloud.talent.v4beta1.CreateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_JOBS: + serviceImpl.batchCreateJobs( + (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB: + serviceImpl.getJob( + (com.google.cloud.talent.v4beta1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_JOB: + serviceImpl.updateJob( + (com.google.cloud.talent.v4beta1.UpdateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_UPDATE_JOBS: + serviceImpl.batchUpdateJobs( + (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_JOB: + serviceImpl.deleteJob( + (com.google.cloud.talent.v4beta1.DeleteJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_DELETE_JOBS: + serviceImpl.batchDeleteJobs( + (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOBS: + serviceImpl.listJobs( + (com.google.cloud.talent.v4beta1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SEARCH_JOBS: + serviceImpl.searchJobs( + (com.google.cloud.talent.v4beta1.SearchJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SEARCH_JOBS_FOR_ALERT: + serviceImpl.searchJobsForAlert( + (com.google.cloud.talent.v4beta1.SearchJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class JobServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + JobServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("JobService"); + } + } + + private static final class JobServiceFileDescriptorSupplier + extends JobServiceBaseDescriptorSupplier { + JobServiceFileDescriptorSupplier() {} + } + + private static final class JobServiceMethodDescriptorSupplier + extends JobServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + JobServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (JobServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new JobServiceFileDescriptorSupplier()) + .addMethod(getCreateJobMethod()) + .addMethod(getBatchCreateJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getBatchUpdateJobsMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getBatchDeleteJobsMethod()) + .addMethod(getListJobsMethod()) + .addMethod(getSearchJobsMethod()) + .addMethod(getSearchJobsForAlertMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java new file mode 100644 index 000000000000..d91eb72e8a1b --- /dev/null +++ b/java-talent/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java @@ -0,0 +1,819 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.talent.v4beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * A service that handles tenant management, including CRUD and enumeration.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TenantServiceGrpc { + + private TenantServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.TenantService"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTenant", + requestType = com.google.cloud.talent.v4beta1.CreateTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getCreateTenantMethod; + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { + TenantServiceGrpc.getCreateTenantMethod = + getCreateTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.CreateTenantRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("CreateTenant")) + .build(); + } + } + } + return getCreateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetTenantRequest, com.google.cloud.talent.v4beta1.Tenant> + getGetTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTenant", + requestType = com.google.cloud.talent.v4beta1.GetTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetTenantRequest, com.google.cloud.talent.v4beta1.Tenant> + getGetTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.GetTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getGetTenantMethod; + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { + TenantServiceGrpc.getGetTenantMethod = + getGetTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.GetTenantRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) + .build(); + } + } + } + return getGetTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getUpdateTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", + requestType = com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, + responseType = com.google.cloud.talent.v4beta1.Tenant.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getUpdateTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant> + getUpdateTenantMethod; + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { + TenantServiceGrpc.getUpdateTenantMethod = + getUpdateTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.UpdateTenantRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("UpdateTenant")) + .build(); + } + } + } + return getUpdateTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", + requestType = com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, com.google.protobuf.Empty> + getDeleteTenantMethod; + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { + TenantServiceGrpc.getDeleteTenantMethod = + getDeleteTenantMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.DeleteTenantRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new TenantServiceMethodDescriptorSupplier("DeleteTenant")) + .build(); + } + } + } + return getDeleteTenantMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse> + getListTenantsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTenants", + requestType = com.google.cloud.talent.v4beta1.ListTenantsRequest.class, + responseType = com.google.cloud.talent.v4beta1.ListTenantsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse> + getListTenantsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse> + getListTenantsMethod; + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + synchronized (TenantServiceGrpc.class) { + if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { + TenantServiceGrpc.getListTenantsMethod = + getListTenantsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListTenantsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.talent.v4beta1.ListTenantsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) + .build(); + } + } + } + return getListTenantsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static TenantServiceStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + }; + return TenantServiceStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TenantServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + }; + return TenantServiceBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static TenantServiceFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TenantServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + }; + return TenantServiceFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public abstract static class TenantServiceImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTenantMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListTenantsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.CreateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_CREATE_TENANT))) + .addMethod( + getGetTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.GetTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_GET_TENANT))) + .addMethod( + getUpdateTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.UpdateTenantRequest, + com.google.cloud.talent.v4beta1.Tenant>(this, METHODID_UPDATE_TENANT))) + .addMethod( + getDeleteTenantMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.DeleteTenantRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TENANT))) + .addMethod( + getListTenantsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.talent.v4beta1.ListTenantsRequest, + com.google.cloud.talent.v4beta1.ListTenantsResponse>( + this, METHODID_LIST_TENANTS))) + .build(); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceStub + extends io.grpc.stub.AbstractAsyncStub { + private TenantServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public void createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public void getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public void updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public void deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public void listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private TenantServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant createTenant( + com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant getTenant( + com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.Tenant updateTenant( + com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.protobuf.Empty deleteTenant( + com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTenantMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.cloud.talent.v4beta1.ListTenantsResponse listTenants( + com.google.cloud.talent.v4beta1.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTenantsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * A service that handles tenant management, including CRUD and enumeration.
+   * 
+ */ + public static final class TenantServiceFutureStub + extends io.grpc.stub.AbstractFutureStub { + private TenantServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TenantServiceFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TenantServiceFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Creates a new tenant entity.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Tenant> + createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Tenant> + getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.Tenant> + updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes specified tenant.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all tenants associated with the project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.talent.v4beta1.ListTenantsResponse> + listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TENANT = 0; + private static final int METHODID_GET_TENANT = 1; + private static final int METHODID_UPDATE_TENANT = 2; + private static final int METHODID_DELETE_TENANT = 3; + private static final int METHODID_LIST_TENANTS = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final TenantServiceImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TENANT: + serviceImpl.createTenant( + (com.google.cloud.talent.v4beta1.CreateTenantRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_TENANT: + serviceImpl.getTenant( + (com.google.cloud.talent.v4beta1.GetTenantRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TENANT: + serviceImpl.updateTenant( + (com.google.cloud.talent.v4beta1.UpdateTenantRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TENANT: + serviceImpl.deleteTenant( + (com.google.cloud.talent.v4beta1.DeleteTenantRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TENANTS: + serviceImpl.listTenants( + (com.google.cloud.talent.v4beta1.ListTenantsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TenantServiceBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("TenantService"); + } + } + + private static final class TenantServiceFileDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier { + TenantServiceFileDescriptorSupplier() {} + } + + private static final class TenantServiceMethodDescriptorSupplier + extends TenantServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TenantServiceMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TenantServiceGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) + .addMethod(getCreateTenantMethod()) + .addMethod(getGetTenantMethod()) + .addMethod(getUpdateTenantMethod()) + .addMethod(getDeleteTenantMethod()) + .addMethod(getListTenantsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java similarity index 64% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java index 55697f9d7d17..1b9463d35ab9 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Request to create a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsRequest} */ -public final class BatchCreateJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchCreateJobsRequest) BatchCreateJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateJobsRequest.newBuilder() to construct. private BatchCreateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -26,39 +44,45 @@ private BatchCreateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchCreateJobsRequest.class, com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchCreateJobsRequest.class, + com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,69 +128,83 @@ public java.lang.String getParent() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List - getJobsOrBuilderList() { + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -197,8 +236,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -208,17 +246,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.BatchCreateJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.BatchCreateJobsRequest other = (com.google.cloud.talent.v4.BatchCreateJobsRequest) obj; + com.google.cloud.talent.v4.BatchCreateJobsRequest other = + (com.google.cloud.talent.v4.BatchCreateJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -242,129 +279,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchCreateJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.BatchCreateJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchCreateJobsRequest) com.google.cloud.talent.v4.BatchCreateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchCreateJobsRequest.class, com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchCreateJobsRequest.class, + com.google.cloud.talent.v4.BatchCreateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchCreateJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +424,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor; } @java.lang.Override @@ -402,7 +445,8 @@ public com.google.cloud.talent.v4.BatchCreateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchCreateJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchCreateJobsRequest result = new com.google.cloud.talent.v4.BatchCreateJobsRequest(this); + com.google.cloud.talent.v4.BatchCreateJobsRequest result = + new com.google.cloud.talent.v4.BatchCreateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -422,38 +466,39 @@ public com.google.cloud.talent.v4.BatchCreateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchCreateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -461,7 +506,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.BatchCreateJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -484,9 +530,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsRequest other jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -518,30 +565,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4.Job m = - input.readMessage( - com.google.cloud.talent.v4.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4.Job m = + input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -551,24 +599,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -577,22 +630,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -600,84 +656,105 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -687,12 +764,16 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -702,12 +783,16 @@ public int getJobsCount() { } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -717,15 +802,18 @@ public com.google.cloud.talent.v4.Job getJobs(int index) { } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4.Job value) { + public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -739,15 +827,18 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -758,12 +849,16 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addJobs(com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { @@ -779,15 +874,18 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4.Job value) { + public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -801,15 +899,18 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -820,15 +921,18 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -839,19 +943,21 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -859,12 +965,16 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -877,12 +987,16 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -895,42 +1009,53 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -938,59 +1063,71 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.Job.getDefaultInstance()); + public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be created.
      * A maximum of 200 jobs can be created in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1137,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchCreateJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchCreateJobsRequest) private static final com.google.cloud.talent.v4.BatchCreateJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchCreateJobsRequest(); } @@ -1014,27 +1151,27 @@ public static com.google.cloud.talent.v4.BatchCreateJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1186,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.BatchCreateJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java index 1b9202d0f8e0..cf3116ba773a 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsRequestOrBuilder.java @@ -1,82 +1,119 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface BatchCreateJobsRequestOrBuilder extends +public interface BatchCreateJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchCreateJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.Job getJobs(int index); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getJobsCount(); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * Required. The jobs to be created.
    * A maximum of 200 jobs can be created in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java similarity index 73% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java index 30452545d8ff..f781f88bfa7d 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsResponse}
  */
-public final class BatchCreateJobsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchCreateJobsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchCreateJobsResponse)
     BatchCreateJobsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchCreateJobsResponse.newBuilder() to construct.
   private BatchCreateJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchCreateJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchCreateJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchCreateJobsResponse.class, com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchCreateJobsResponse.class,
+            com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -64,6 +85,8 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -72,11 +95,13 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -89,6 +114,8 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -101,6 +128,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -109,12 +138,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -126,8 +155,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -141,8 +169,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,15 +179,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchCreateJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchCreateJobsResponse other = (com.google.cloud.talent.v4.BatchCreateJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchCreateJobsResponse other =
+        (com.google.cloud.talent.v4.BatchCreateJobsResponse) obj;
 
-    if (!getJobResultsList()
-        .equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -182,96 +209,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchCreateJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchCreateJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -279,33 +313,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchCreateJobsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchCreateJobsResponse)
       com.google.cloud.talent.v4.BatchCreateJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchCreateJobsResponse.class, com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchCreateJobsResponse.class,
+              com.google.cloud.talent.v4.BatchCreateJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchCreateJobsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -341,7 +374,8 @@ public com.google.cloud.talent.v4.BatchCreateJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchCreateJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchCreateJobsResponse result = new com.google.cloud.talent.v4.BatchCreateJobsResponse(this);
+      com.google.cloud.talent.v4.BatchCreateJobsResponse result =
+          new com.google.cloud.talent.v4.BatchCreateJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -360,38 +394,39 @@ public com.google.cloud.talent.v4.BatchCreateJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchCreateJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsResponse)other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchCreateJobsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchCreateJobsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4.BatchCreateJobsResponse.getDefaultInstance())
+        return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -418,9 +454,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchCreateJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getJobResultsFieldBuilder() : null;
+            jobResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getJobResultsFieldBuilder()
+                    : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -452,25 +489,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.talent.v4.JobResult m =
-                  input.readMessage(
-                      com.google.cloud.talent.v4.JobResult.parser(),
-                      extensionRegistry);
-              if (jobResultsBuilder_ == null) {
-                ensureJobResultsIsMutable();
-                jobResults_.add(m);
-              } else {
-                jobResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.talent.v4.JobResult m =
+                    input.readMessage(
+                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
+                if (jobResultsBuilder_ == null) {
+                  ensureJobResultsIsMutable();
+                  jobResults_.add(m);
+                } else {
+                  jobResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -480,21 +518,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List jobResults_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
+        jobResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -510,6 +555,8 @@ public java.util.List getJobResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -525,6 +572,8 @@ public int getJobResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -540,6 +589,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -547,8 +598,7 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -562,6 +612,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -581,6 +633,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -602,6 +656,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -609,8 +665,7 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -624,6 +679,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -631,8 +688,7 @@ public Builder addJobResults(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -643,6 +699,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -662,6 +720,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -673,8 +733,7 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -682,6 +741,8 @@ public Builder addAllJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -700,6 +761,8 @@ public Builder clearJobResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -718,6 +781,8 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -725,11 +790,12 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -737,14 +803,16 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);  } else {
+        return jobResults_.get(index);
+      } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -752,8 +820,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsOrBuilderList() {
+    public java.util.List
+        getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -761,6 +829,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -769,10 +839,12 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -780,12 +852,13 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
-        int index) {
-      return getJobResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
+      return getJobResultsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch create operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -793,27 +866,29 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsBuilderList() {
+    public java.util.List getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.JobResult,
+                com.google.cloud.talent.v4.JobResult.Builder,
+                com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -823,12 +898,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchCreateJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchCreateJobsResponse)
   private static final com.google.cloud.talent.v4.BatchCreateJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchCreateJobsResponse();
   }
@@ -837,27 +912,27 @@ public static com.google.cloud.talent.v4.BatchCreateJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchCreateJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchCreateJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -872,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchCreateJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
index 1d098258868a..1df0f93fb09d 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchCreateJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchCreateJobsResponseOrBuilder extends
+public interface BatchCreateJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchCreateJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -15,9 +33,10 @@ public interface BatchCreateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
-      getJobResultsList();
+  java.util.List getJobResultsList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -27,6 +46,8 @@ public interface BatchCreateJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -36,6 +57,8 @@ public interface BatchCreateJobsResponseOrBuilder extends
    */
   int getJobResultsCount();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -43,9 +66,11 @@ public interface BatchCreateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
+  java.util.List
       getJobResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch create operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -53,6 +78,5 @@ public interface BatchCreateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
index 7f0028702d1c..6cd16c627fd1 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Request to delete a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsRequest} */ -public final class BatchDeleteJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchDeleteJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchDeleteJobsRequest) BatchDeleteJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchDeleteJobsRequest.newBuilder() to construct. private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchDeleteJobsRequest() { parent_ = ""; names_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,32 +44,35 @@ private BatchDeleteJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchDeleteJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, + com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -83,17 +108,18 @@ public java.lang.String getParent() {
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,6 +130,8 @@ public java.lang.String getParent() { public static final int NAMES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList names_; /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -112,13 +140,15 @@ public java.lang.String getParent() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_; } /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -127,12 +157,15 @@ public java.lang.String getParent() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -141,6 +174,7 @@ public int getNamesCount() {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -148,6 +182,8 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -156,15 +192,16 @@ public java.lang.String getNames(int index) {
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +213,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -212,17 +248,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.BatchDeleteJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.BatchDeleteJobsRequest other = (com.google.cloud.talent.v4.BatchDeleteJobsRequest) obj; + com.google.cloud.talent.v4.BatchDeleteJobsRequest other = + (com.google.cloud.talent.v4.BatchDeleteJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getNamesList() - .equals(other.getNamesList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getNamesList().equals(other.getNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,129 +281,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.BatchDeleteJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.BatchDeleteJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchDeleteJobsRequest) com.google.cloud.talent.v4.BatchDeleteJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchDeleteJobsRequest.class, + com.google.cloud.talent.v4.BatchDeleteJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchDeleteJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor; } @java.lang.Override @@ -401,7 +442,8 @@ public com.google.cloud.talent.v4.BatchDeleteJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchDeleteJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchDeleteJobsRequest result = new com.google.cloud.talent.v4.BatchDeleteJobsRequest(this); + com.google.cloud.talent.v4.BatchDeleteJobsRequest result = + new com.google.cloud.talent.v4.BatchDeleteJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -417,38 +459,39 @@ public com.google.cloud.talent.v4.BatchDeleteJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchDeleteJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -456,7 +499,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.BatchDeleteJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -497,23 +541,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureNamesIsMutable(); - names_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureNamesIsMutable(); + names_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -523,10 +570,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -534,14 +584,16 @@ public Builder mergeFrom(
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -550,6 +602,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -557,16 +611,17 @@ public java.lang.String getParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -574,6 +629,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -581,21 +638,25 @@ public java.lang.String getParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -603,16 +664,21 @@ public Builder setParent(
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -620,30 +686,36 @@ public Builder clearParent() {
      * The parent of all of the jobs specified in `names` must match this field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList names_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList names_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { names_ = new com.google.protobuf.LazyStringArrayList(names_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -652,13 +724,15 @@ private void ensureNamesIsMutable() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the names. */ - public com.google.protobuf.ProtocolStringList - getNamesList() { + public com.google.protobuf.ProtocolStringList getNamesList() { return names_.getUnmodifiableView(); } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -667,12 +741,15 @@ private void ensureNamesIsMutable() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of names. */ public int getNamesCount() { return names_.size(); } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -681,6 +758,7 @@ public int getNamesCount() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The names at the given index. */ @@ -688,6 +766,8 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -696,14 +776,16 @@ public java.lang.String getNames(int index) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - public com.google.protobuf.ByteString - getNamesBytes(int index) { + public com.google.protobuf.ByteString getNamesBytes(int index) { return names_.getByteString(index); } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -712,21 +794,23 @@ public java.lang.String getNames(int index) {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index to set the value at. * @param value The names to set. * @return This builder for chaining. */ - public Builder setNames( - int index, java.lang.String value) { + public Builder setNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.set(index, value); onChanged(); return this; } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -735,20 +819,22 @@ public Builder setNames(
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param value The names to add. * @return This builder for chaining. */ - public Builder addNames( - java.lang.String value) { + public Builder addNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureNamesIsMutable(); + throw new NullPointerException(); + } + ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -757,18 +843,19 @@ public Builder addNames(
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param values The names to add. * @return This builder for chaining. */ - public Builder addAllNames( - java.lang.Iterable values) { + public Builder addAllNames(java.lang.Iterable values) { ensureNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, names_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, names_); onChanged(); return this; } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -777,6 +864,7 @@ public Builder addAllNames(
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearNames() { @@ -786,6 +874,8 @@ public Builder clearNames() { return this; } /** + * + * *
      * The names of the jobs to delete.
      * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -794,23 +884,23 @@ public Builder clearNames() {
      * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes of the names to add. * @return This builder for chaining. */ - public Builder addNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureNamesIsMutable(); names_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -820,12 +910,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchDeleteJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchDeleteJobsRequest) private static final com.google.cloud.talent.v4.BatchDeleteJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchDeleteJobsRequest(); } @@ -834,27 +924,27 @@ public static com.google.cloud.talent.v4.BatchDeleteJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,6 +959,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.BatchDeleteJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java index 725800a16179..6fb76ebcab87 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface BatchDeleteJobsRequestOrBuilder extends +public interface BatchDeleteJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchDeleteJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,13 +50,17 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * The parent of all of the jobs specified in `names` must match this field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -42,11 +69,13 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return A list containing the names. */ - java.util.List - getNamesList(); + java.util.List getNamesList(); /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -55,10 +84,13 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @return The count of names. */ int getNamesCount(); /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -67,11 +99,14 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The names at the given index. */ java.lang.String getNames(int index); /** + * + * *
    * The names of the jobs to delete.
    * The format is "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}".
@@ -80,9 +115,9 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * repeated string names = 2 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the names at the given index. */ - com.google.protobuf.ByteString - getNamesBytes(int index); + com.google.protobuf.ByteString getNamesBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java similarity index 73% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java index cf5e4662733f..4e994cabf9de 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsResponse}
  */
-public final class BatchDeleteJobsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchDeleteJobsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchDeleteJobsResponse)
     BatchDeleteJobsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchDeleteJobsResponse.newBuilder() to construct.
   private BatchDeleteJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchDeleteJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchDeleteJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchDeleteJobsResponse.class, com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchDeleteJobsResponse.class,
+            com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -64,6 +85,8 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -72,11 +95,13 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -89,6 +114,8 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -101,6 +128,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -109,12 +138,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -126,8 +155,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -141,8 +169,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,15 +179,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchDeleteJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchDeleteJobsResponse other = (com.google.cloud.talent.v4.BatchDeleteJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchDeleteJobsResponse other =
+        (com.google.cloud.talent.v4.BatchDeleteJobsResponse) obj;
 
-    if (!getJobResultsList()
-        .equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -182,96 +209,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchDeleteJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchDeleteJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -279,33 +313,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchDeleteJobsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchDeleteJobsResponse)
       com.google.cloud.talent.v4.BatchDeleteJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchDeleteJobsResponse.class, com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchDeleteJobsResponse.class,
+              com.google.cloud.talent.v4.BatchDeleteJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchDeleteJobsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -341,7 +374,8 @@ public com.google.cloud.talent.v4.BatchDeleteJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchDeleteJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchDeleteJobsResponse result = new com.google.cloud.talent.v4.BatchDeleteJobsResponse(this);
+      com.google.cloud.talent.v4.BatchDeleteJobsResponse result =
+          new com.google.cloud.talent.v4.BatchDeleteJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -360,38 +394,39 @@ public com.google.cloud.talent.v4.BatchDeleteJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchDeleteJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsResponse)other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchDeleteJobsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchDeleteJobsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4.BatchDeleteJobsResponse.getDefaultInstance())
+        return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -418,9 +454,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchDeleteJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getJobResultsFieldBuilder() : null;
+            jobResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getJobResultsFieldBuilder()
+                    : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -452,25 +489,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.talent.v4.JobResult m =
-                  input.readMessage(
-                      com.google.cloud.talent.v4.JobResult.parser(),
-                      extensionRegistry);
-              if (jobResultsBuilder_ == null) {
-                ensureJobResultsIsMutable();
-                jobResults_.add(m);
-              } else {
-                jobResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.talent.v4.JobResult m =
+                    input.readMessage(
+                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
+                if (jobResultsBuilder_ == null) {
+                  ensureJobResultsIsMutable();
+                  jobResults_.add(m);
+                } else {
+                  jobResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -480,21 +518,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List jobResults_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
+        jobResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -510,6 +555,8 @@ public java.util.List getJobResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -525,6 +572,8 @@ public int getJobResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -540,6 +589,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -547,8 +598,7 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -562,6 +612,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -581,6 +633,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -602,6 +656,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -609,8 +665,7 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -624,6 +679,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -631,8 +688,7 @@ public Builder addJobResults(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -643,6 +699,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -662,6 +720,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -673,8 +733,7 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -682,6 +741,8 @@ public Builder addAllJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -700,6 +761,8 @@ public Builder clearJobResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -718,6 +781,8 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -725,11 +790,12 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -737,14 +803,16 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);  } else {
+        return jobResults_.get(index);
+      } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -752,8 +820,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsOrBuilderList() {
+    public java.util.List
+        getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -761,6 +829,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -769,10 +839,12 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -780,12 +852,13 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
-        int index) {
-      return getJobResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
+      return getJobResultsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch delete operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -793,27 +866,29 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsBuilderList() {
+    public java.util.List getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.JobResult,
+                com.google.cloud.talent.v4.JobResult.Builder,
+                com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -823,12 +898,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchDeleteJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchDeleteJobsResponse)
   private static final com.google.cloud.talent.v4.BatchDeleteJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchDeleteJobsResponse();
   }
@@ -837,27 +912,27 @@ public static com.google.cloud.talent.v4.BatchDeleteJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchDeleteJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchDeleteJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -872,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchDeleteJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
index 5e488dd84e88..3261e9ce06c8 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchDeleteJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchDeleteJobsResponseOrBuilder extends
+public interface BatchDeleteJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchDeleteJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -15,9 +33,10 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
-      getJobResultsList();
+  java.util.List getJobResultsList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -27,6 +46,8 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -36,6 +57,8 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    */
   int getJobResultsCount();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -43,9 +66,11 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
+  java.util.List
       getJobResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch delete operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -53,6 +78,5 @@ public interface BatchDeleteJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
index 90ab6d3b11a9..6f5751d1c97a 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Metadata used for long running operations returned by CTS batch APIs.
  * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchOperationMetadata}
  */
-public final class BatchOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchOperationMetadata)
     BatchOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchOperationMetadata.newBuilder() to construct.
   private BatchOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchOperationMetadata() {
     state_ = 0;
     stateDescription_ = "";
@@ -27,35 +45,35 @@ private BatchOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchOperationMetadata.class, com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
+            com.google.cloud.talent.v4.BatchOperationMetadata.class,
+            com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
   }
 
-  /**
-   * Protobuf enum {@code google.cloud.talent.v4.BatchOperationMetadata.State}
-   */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  /** Protobuf enum {@code google.cloud.talent.v4.BatchOperationMetadata.State} */
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -64,6 +82,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The batch operation is being prepared for processing.
      * 
@@ -72,6 +92,8 @@ public enum State */ INITIALIZING(1), /** + * + * *
      * The batch operation is actively being processed.
      * 
@@ -80,6 +102,8 @@ public enum State */ PROCESSING(2), /** + * + * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -89,6 +113,8 @@ public enum State
      */
     SUCCEEDED(3),
     /**
+     *
+     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -97,6 +123,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -106,6 +134,8 @@ public enum State
      */
     CANCELLING(5),
     /**
+     *
+     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -119,6 +149,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -127,6 +159,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The batch operation is being prepared for processing.
      * 
@@ -135,6 +169,8 @@ public enum State */ public static final int INITIALIZING_VALUE = 1; /** + * + * *
      * The batch operation is actively being processed.
      * 
@@ -143,6 +179,8 @@ public enum State */ public static final int PROCESSING_VALUE = 2; /** + * + * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -152,6 +190,8 @@ public enum State
      */
     public static final int SUCCEEDED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -160,6 +200,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -169,6 +211,8 @@ public enum State
      */
     public static final int CANCELLING_VALUE = 5;
     /**
+     *
+     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -179,7 +223,6 @@ public enum State
      */
     public static final int CANCELLED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -204,53 +247,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return INITIALIZING;
-        case 2: return PROCESSING;
-        case 3: return SUCCEEDED;
-        case 4: return FAILED;
-        case 5: return CANCELLING;
-        case 6: return CANCELLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return INITIALIZING;
+        case 2:
+          return PROCESSING;
+        case 3:
+          return SUCCEEDED;
+        case 4:
+          return FAILED;
+        case 5:
+          return CANCELLING;
+        case 6:
+          return CANCELLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.BatchOperationMetadata.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4.BatchOperationMetadata.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -270,38 +319,52 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_;
   /**
+   *
+   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { + @java.lang.Override + public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.BatchOperationMetadata.State result = com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.talent.v4.BatchOperationMetadata.State result = + com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED + : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object stateDescription_; /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The stateDescription. */ @java.lang.Override @@ -310,29 +373,29 @@ public java.lang.String getStateDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; } } /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -343,11 +406,14 @@ public java.lang.String getStateDescription() { public static final int SUCCESS_COUNT_FIELD_NUMBER = 3; private int successCount_; /** + * + * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; + * * @return The successCount. */ @java.lang.Override @@ -358,11 +424,14 @@ public int getSuccessCount() { public static final int FAILURE_COUNT_FIELD_NUMBER = 4; private int failureCount_; /** + * + * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; + * * @return The failureCount. */ @java.lang.Override @@ -373,11 +442,14 @@ public int getFailureCount() { public static final int TOTAL_COUNT_FIELD_NUMBER = 5; private int totalCount_; /** + * + * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; + * * @return The totalCount. */ @java.lang.Override @@ -388,11 +460,14 @@ public int getTotalCount() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -400,11 +475,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -412,6 +490,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the batch operation is created.
    * 
@@ -426,6 +506,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -433,6 +515,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -440,6 +523,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -447,6 +532,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ @java.lang.Override @@ -454,6 +540,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -470,12 +558,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 8;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -483,12 +574,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ @java.lang.Override @@ -496,6 +590,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -509,6 +605,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -520,9 +617,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (state_ != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
@@ -555,36 +652,30 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.talent.v4.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateDescription_);
     }
     if (successCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(3, successCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successCount_);
     }
     if (failureCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, failureCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureCount_);
     }
     if (totalCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(5, totalCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCount_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -594,36 +685,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchOperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchOperationMetadata other = (com.google.cloud.talent.v4.BatchOperationMetadata) obj;
+    com.google.cloud.talent.v4.BatchOperationMetadata other =
+        (com.google.cloud.talent.v4.BatchOperationMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getStateDescription()
-        .equals(other.getStateDescription())) return false;
-    if (getSuccessCount()
-        != other.getSuccessCount()) return false;
-    if (getFailureCount()
-        != other.getFailureCount()) return false;
-    if (getTotalCount()
-        != other.getTotalCount()) return false;
+    if (!getStateDescription().equals(other.getStateDescription())) return false;
+    if (getSuccessCount() != other.getSuccessCount()) return false;
+    if (getFailureCount() != other.getFailureCount()) return false;
+    if (getTotalCount() != other.getTotalCount()) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -664,96 +749,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchOperationMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchOperationMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Metadata used for long running operations returned by CTS batch APIs.
    * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -761,33 +853,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchOperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchOperationMetadata)
       com.google.cloud.talent.v4.BatchOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchOperationMetadata.class, com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
+              com.google.cloud.talent.v4.BatchOperationMetadata.class,
+              com.google.cloud.talent.v4.BatchOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchOperationMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -823,9 +914,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -844,7 +935,8 @@ public com.google.cloud.talent.v4.BatchOperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchOperationMetadata buildPartial() {
-      com.google.cloud.talent.v4.BatchOperationMetadata result = new com.google.cloud.talent.v4.BatchOperationMetadata(this);
+      com.google.cloud.talent.v4.BatchOperationMetadata result =
+          new com.google.cloud.talent.v4.BatchOperationMetadata(this);
       result.state_ = state_;
       result.stateDescription_ = stateDescription_;
       result.successCount_ = successCount_;
@@ -873,38 +965,39 @@ public com.google.cloud.talent.v4.BatchOperationMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchOperationMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchOperationMetadata)other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchOperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -912,7 +1005,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchOperationMetadata other) {
-      if (other == com.google.cloud.talent.v4.BatchOperationMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4.BatchOperationMetadata.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -964,58 +1058,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              stateDescription_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              successCount_ = input.readInt32();
-
-              break;
-            } // case 24
-            case 32: {
-              failureCount_ = input.readInt32();
-
-              break;
-            } // case 32
-            case 40: {
-              totalCount_ = input.readInt32();
-
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                state_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                stateDescription_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                successCount_ = input.readInt32();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                failureCount_ = input.readInt32();
+
+                break;
+              } // case 32
+            case 40:
+              {
+                totalCount_ = input.readInt32();
+
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1028,51 +1125,67 @@ public Builder mergeFrom(
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.talent.v4.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.BatchOperationMetadata.State result = com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.talent.v4.BatchOperationMetadata.State result = + com.google.cloud.talent.v4.BatchOperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.talent.v4.BatchOperationMetadata.State.UNRECOGNIZED + : result; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1080,21 +1193,24 @@ public Builder setState(com.google.cloud.talent.v4.BatchOperationMetadata.State if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1102,18 +1218,20 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; @@ -1122,20 +1240,21 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -1143,66 +1262,76 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription( - java.lang.String value) { + public Builder setStateDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateDescription_ = value; onChanged(); return this; } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return This builder for chaining. */ public Builder clearStateDescription() { - + stateDescription_ = getDefaultInstance().getStateDescription(); onChanged(); return this; } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; onChanged(); return this; } - private int successCount_ ; + private int successCount_; /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @return The successCount. */ @java.lang.Override @@ -1210,42 +1339,51 @@ public int getSuccessCount() { return successCount_; } /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @param value The successCount to set. * @return This builder for chaining. */ public Builder setSuccessCount(int value) { - + successCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @return This builder for chaining. */ public Builder clearSuccessCount() { - + successCount_ = 0; onChanged(); return this; } - private int failureCount_ ; + private int failureCount_; /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @return The failureCount. */ @java.lang.Override @@ -1253,42 +1391,51 @@ public int getFailureCount() { return failureCount_; } /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @param value The failureCount to set. * @return This builder for chaining. */ public Builder setFailureCount(int value) { - + failureCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @return This builder for chaining. */ public Builder clearFailureCount() { - + failureCount_ = 0; onChanged(); return this; } - private int totalCount_ ; + private int totalCount_; /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @return The totalCount. */ @java.lang.Override @@ -1296,30 +1443,36 @@ public int getTotalCount() { return totalCount_; } /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { - + totalCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @return This builder for chaining. */ public Builder clearTotalCount() { - + totalCount_ = 0; onChanged(); return this; @@ -1327,34 +1480,47 @@ public Builder clearTotalCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1375,14 +1541,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1393,6 +1560,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1403,7 +1572,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1415,6 +1584,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1433,6 +1604,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1440,11 +1613,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1455,11 +1630,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1467,14 +1645,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1482,8 +1663,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1491,12 +1677,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1504,16 +1693,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1536,6 +1730,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1544,8 +1740,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 7;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1556,6 +1751,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1568,7 +1765,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1580,6 +1777,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1600,6 +1799,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1609,11 +1810,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1626,11 +1829,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1640,14 +1846,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(),
-                getParentForChildren(),
-                isClean());
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(), getParentForChildren(), isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
@@ -1655,26 +1864,35 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1685,6 +1903,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1706,6 +1926,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1713,8 +1935,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 8;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1725,6 +1946,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1736,7 +1959,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1748,6 +1971,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1767,6 +1992,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1775,11 +2002,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1791,11 +2020,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1804,21 +2034,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1828,12 +2061,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchOperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchOperationMetadata)
   private static final com.google.cloud.talent.v4.BatchOperationMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchOperationMetadata();
   }
@@ -1842,27 +2075,27 @@ public static com.google.cloud.talent.v4.BatchOperationMetadata getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchOperationMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchOperationMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1877,6 +2110,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchOperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
similarity index 83%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
index 4d5f213b0d46..ad809ff05f60 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchOperationMetadataOrBuilder.java
@@ -1,100 +1,144 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchOperationMetadataOrBuilder extends
+public interface BatchOperationMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchOperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4.BatchOperationMetadata.State state = 1; + * * @return The state. */ com.google.cloud.talent.v4.BatchOperationMetadata.State getState(); /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The stateDescription. */ java.lang.String getStateDescription(); /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString - getStateDescriptionBytes(); + com.google.protobuf.ByteString getStateDescriptionBytes(); /** + * + * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; + * * @return The successCount. */ int getSuccessCount(); /** + * + * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; + * * @return The failureCount. */ int getFailureCount(); /** + * + * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; + * * @return The totalCount. */ int getTotalCount(); /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the batch operation is created.
    * 
@@ -104,6 +148,8 @@ public interface BatchOperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -111,10 +157,13 @@ public interface BatchOperationMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -122,10 +171,13 @@ public interface BatchOperationMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -137,26 +189,34 @@ public interface BatchOperationMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
index 55e45473b3e1..ea2d9a2bacc6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Request to update a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsRequest} */ -public final class BatchUpdateJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchUpdateJobsRequest) BatchUpdateJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateJobsRequest.newBuilder() to construct. private BatchUpdateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -26,39 +44,45 @@ private BatchUpdateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, + com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,71 +128,86 @@ public java.lang.String getParent() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List - getJobsOrBuilderList() { + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -182,6 +223,7 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -189,6 +231,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -204,6 +248,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -211,6 +256,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -233,6 +280,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -244,8 +292,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -268,12 +315,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i));
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -283,21 +328,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchUpdateJobsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchUpdateJobsRequest other = (com.google.cloud.talent.v4.BatchUpdateJobsRequest) obj;
+    com.google.cloud.talent.v4.BatchUpdateJobsRequest other =
+        (com.google.cloud.talent.v4.BatchUpdateJobsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (!getJobsList()
-        .equals(other.getJobsList())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (!getJobsList().equals(other.getJobsList())) return false;
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -326,129 +369,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchUpdateJobsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request to update a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchUpdateJobsRequest) com.google.cloud.talent.v4.BatchUpdateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4.BatchUpdateJobsRequest.class, + com.google.cloud.talent.v4.BatchUpdateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.BatchUpdateJobsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor; } @java.lang.Override @@ -492,7 +541,8 @@ public com.google.cloud.talent.v4.BatchUpdateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.BatchUpdateJobsRequest buildPartial() { - com.google.cloud.talent.v4.BatchUpdateJobsRequest result = new com.google.cloud.talent.v4.BatchUpdateJobsRequest(this); + com.google.cloud.talent.v4.BatchUpdateJobsRequest result = + new com.google.cloud.talent.v4.BatchUpdateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -517,38 +567,39 @@ public com.google.cloud.talent.v4.BatchUpdateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.BatchUpdateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -556,7 +607,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsRequest other) { - if (other == com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.BatchUpdateJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -579,9 +631,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsRequest other jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -616,37 +669,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4.Job m = - input.readMessage( - com.google.cloud.talent.v4.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4.Job m = + input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -656,24 +709,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -682,22 +740,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -705,84 +766,105 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -792,12 +874,16 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -807,12 +893,16 @@ public int getJobsCount() { } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -822,15 +912,18 @@ public com.google.cloud.talent.v4.Job getJobs(int index) { } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4.Job value) { + public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -844,15 +937,18 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -863,12 +959,16 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addJobs(com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { @@ -884,15 +984,18 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4.Job value) { + public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -906,15 +1009,18 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -925,15 +1031,18 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -944,19 +1053,21 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -964,12 +1075,16 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -982,12 +1097,16 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -1000,42 +1119,53 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1043,52 +1173,64 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.Job.getDefaultInstance()); + public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be updated.
      * A maximum of 200 jobs can be updated in a batch.
      * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -1096,8 +1238,13 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1113,12 +1260,15 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1134,16 +1284,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1174,6 +1329,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1190,8 +1347,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1202,6 +1358,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1222,7 +1380,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1234,6 +1392,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1262,6 +1422,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1279,11 +1441,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1304,11 +1468,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1326,21 +1493,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1350,12 +1520,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchUpdateJobsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchUpdateJobsRequest)
   private static final com.google.cloud.talent.v4.BatchUpdateJobsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchUpdateJobsRequest();
   }
@@ -1364,27 +1534,27 @@ public static com.google.cloud.talent.v4.BatchUpdateJobsRequest getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchUpdateJobsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchUpdateJobsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1399,6 +1569,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchUpdateJobsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
index 8be3099f415b..876f981854be 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsRequestOrBuilder.java
@@ -1,86 +1,125 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchUpdateJobsRequestOrBuilder extends
+public interface BatchUpdateJobsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchUpdateJobsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.Job getJobs(int index); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getJobsCount(); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * Required. The jobs to be updated.
    * A maximum of 200 jobs can be updated in a batch.
    * 
* - * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.cloud.talent.v4.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -96,10 +135,13 @@ com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -115,10 +157,13 @@ com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
index 0588731105c4..a25fbb1dbb1f 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
  * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsResponse}
  */
-public final class BatchUpdateJobsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchUpdateJobsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.BatchUpdateJobsResponse)
     BatchUpdateJobsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchUpdateJobsResponse.newBuilder() to construct.
   private BatchUpdateJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchUpdateJobsResponse() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchUpdateJobsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobServiceProto
+        .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.BatchUpdateJobsResponse.class, com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
+            com.google.cloud.talent.v4.BatchUpdateJobsResponse.class,
+            com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -64,6 +85,8 @@ public java.util.List getJobResultsList()
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -72,11 +95,13 @@ public java.util.List getJobResultsList()
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getJobResultsOrBuilderList() {
     return jobResults_;
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -89,6 +114,8 @@ public int getJobResultsCount() {
     return jobResults_.size();
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -101,6 +128,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
     return jobResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -109,12 +138,12 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
     return jobResults_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -126,8 +155,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobResults_.size(); i++) {
       output.writeMessage(1, jobResults_.get(i));
     }
@@ -141,8 +169,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -152,15 +179,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.BatchUpdateJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.BatchUpdateJobsResponse other = (com.google.cloud.talent.v4.BatchUpdateJobsResponse) obj;
+    com.google.cloud.talent.v4.BatchUpdateJobsResponse other =
+        (com.google.cloud.talent.v4.BatchUpdateJobsResponse) obj;
 
-    if (!getJobResultsList()
-        .equals(other.getJobResultsList())) return false;
+    if (!getJobResultsList().equals(other.getJobResultsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -182,96 +209,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.BatchUpdateJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.BatchUpdateJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
    * replace [google.longrunning.Operation.response][google.longrunning.Operation.response] in case of success.
@@ -279,33 +313,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.BatchUpdateJobsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.BatchUpdateJobsResponse)
       com.google.cloud.talent.v4.BatchUpdateJobsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.BatchUpdateJobsResponse.class, com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
+              com.google.cloud.talent.v4.BatchUpdateJobsResponse.class,
+              com.google.cloud.talent.v4.BatchUpdateJobsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.BatchUpdateJobsResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,9 +353,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobServiceProto
+          .internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -341,7 +374,8 @@ public com.google.cloud.talent.v4.BatchUpdateJobsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.BatchUpdateJobsResponse buildPartial() {
-      com.google.cloud.talent.v4.BatchUpdateJobsResponse result = new com.google.cloud.talent.v4.BatchUpdateJobsResponse(this);
+      com.google.cloud.talent.v4.BatchUpdateJobsResponse result =
+          new com.google.cloud.talent.v4.BatchUpdateJobsResponse(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -360,38 +394,39 @@ public com.google.cloud.talent.v4.BatchUpdateJobsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.BatchUpdateJobsResponse) {
-        return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsResponse)other);
+        return mergeFrom((com.google.cloud.talent.v4.BatchUpdateJobsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,7 +434,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsResponse other) {
-      if (other == com.google.cloud.talent.v4.BatchUpdateJobsResponse.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4.BatchUpdateJobsResponse.getDefaultInstance())
+        return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -418,9 +454,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.BatchUpdateJobsResponse othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getJobResultsFieldBuilder() : null;
+            jobResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getJobResultsFieldBuilder()
+                    : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -452,25 +489,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.talent.v4.JobResult m =
-                  input.readMessage(
-                      com.google.cloud.talent.v4.JobResult.parser(),
-                      extensionRegistry);
-              if (jobResultsBuilder_ == null) {
-                ensureJobResultsIsMutable();
-                jobResults_.add(m);
-              } else {
-                jobResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.talent.v4.JobResult m =
+                    input.readMessage(
+                        com.google.cloud.talent.v4.JobResult.parser(), extensionRegistry);
+                if (jobResultsBuilder_ == null) {
+                  ensureJobResultsIsMutable();
+                  jobResults_.add(m);
+                } else {
+                  jobResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -480,21 +518,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List jobResults_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         jobResults_ = new java.util.ArrayList(jobResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> jobResultsBuilder_;
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
+        jobResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -510,6 +555,8 @@ public java.util.List getJobResultsList()
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -525,6 +572,8 @@ public int getJobResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -540,6 +589,8 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -547,8 +598,7 @@ public com.google.cloud.talent.v4.JobResult getJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder setJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder setJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -562,6 +612,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -581,6 +633,8 @@ public Builder setJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -602,6 +656,8 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -609,8 +665,7 @@ public Builder addJobResults(com.google.cloud.talent.v4.JobResult value) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        int index, com.google.cloud.talent.v4.JobResult value) {
+    public Builder addJobResults(int index, com.google.cloud.talent.v4.JobResult value) {
       if (jobResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -624,6 +679,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -631,8 +688,7 @@ public Builder addJobResults(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public Builder addJobResults(
-        com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
+    public Builder addJobResults(com.google.cloud.talent.v4.JobResult.Builder builderForValue) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
         jobResults_.add(builderForValue.build());
@@ -643,6 +699,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -662,6 +720,8 @@ public Builder addJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -673,8 +733,7 @@ public Builder addAllJobResults(
         java.lang.Iterable values) {
       if (jobResultsBuilder_ == null) {
         ensureJobResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_);
         onChanged();
       } else {
         jobResultsBuilder_.addAllMessages(values);
@@ -682,6 +741,8 @@ public Builder addAllJobResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -700,6 +761,8 @@ public Builder clearJobResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -718,6 +781,8 @@ public Builder removeJobResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -725,11 +790,12 @@ public Builder removeJobResults(int index) {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(int index) {
       return getJobResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -737,14 +803,16 @@ public com.google.cloud.talent.v4.JobResult.Builder getJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index) {
       if (jobResultsBuilder_ == null) {
-        return jobResults_.get(index);  } else {
+        return jobResults_.get(index);
+      } else {
         return jobResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -752,8 +820,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsOrBuilderList() {
+    public java.util.List
+        getJobResultsOrBuilderList() {
       if (jobResultsBuilder_ != null) {
         return jobResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -761,6 +829,8 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -769,10 +839,12 @@ public com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
     public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
-      return getJobResultsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+      return getJobResultsFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -780,12 +852,13 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder() {
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
-        int index) {
-      return getJobResultsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
+    public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(int index) {
+      return getJobResultsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.JobResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch update operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
@@ -793,27 +866,29 @@ public com.google.cloud.talent.v4.JobResult.Builder addJobResultsBuilder(
      *
      * repeated .google.cloud.talent.v4.JobResult job_results = 1;
      */
-    public java.util.List 
-         getJobResultsBuilderList() {
+    public java.util.List getJobResultsBuilderList() {
       return getJobResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder> 
+            com.google.cloud.talent.v4.JobResult,
+            com.google.cloud.talent.v4.JobResult.Builder,
+            com.google.cloud.talent.v4.JobResultOrBuilder>
         getJobResultsFieldBuilder() {
       if (jobResultsBuilder_ == null) {
-        jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.JobResult, com.google.cloud.talent.v4.JobResult.Builder, com.google.cloud.talent.v4.JobResultOrBuilder>(
-                jobResults_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.JobResult,
+                com.google.cloud.talent.v4.JobResult.Builder,
+                com.google.cloud.talent.v4.JobResultOrBuilder>(
+                jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobResults_ = null;
       }
       return jobResultsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -823,12 +898,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.BatchUpdateJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.BatchUpdateJobsResponse)
   private static final com.google.cloud.talent.v4.BatchUpdateJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.BatchUpdateJobsResponse();
   }
@@ -837,27 +912,27 @@ public static com.google.cloud.talent.v4.BatchUpdateJobsResponse getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchUpdateJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchUpdateJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -872,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.BatchUpdateJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
index 08ef0a1f2221..3e569db00b5f 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/BatchUpdateJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface BatchUpdateJobsResponseOrBuilder extends
+public interface BatchUpdateJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.BatchUpdateJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -15,9 +33,10 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
-      getJobResultsList();
+  java.util.List getJobResultsList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -27,6 +46,8 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4.JobResult getJobResults(int index);
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -36,6 +57,8 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    */
   int getJobResultsCount();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -43,9 +66,11 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  java.util.List 
+  java.util.List
       getJobResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch update operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
@@ -53,6 +78,5 @@ public interface BatchUpdateJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.JobResult job_results = 1;
    */
-  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.JobResultOrBuilder getJobResultsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
index c7ee2f7c005d..2f61e24bd93a 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEvent.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/event.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * An event issued when an end user interacts with the application that
  * implements Cloud Talent Solution. Providing this information improves the
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.ClientEvent}
  */
-public final class ClientEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ClientEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ClientEvent)
     ClientEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ClientEvent.newBuilder() to construct.
   private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ClientEvent() {
     requestId_ = "";
     eventId_ = "";
@@ -31,37 +49,41 @@ private ClientEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClientEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.EventProto
+        .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4.EventProto
+        .internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.ClientEvent.class, com.google.cloud.talent.v4.ClientEvent.Builder.class);
+            com.google.cloud.talent.v4.ClientEvent.class,
+            com.google.cloud.talent.v4.ClientEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
+
   public enum EventCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JOB_EVENT(5),
     EVENT_NOT_SET(0);
     private final int value;
+
     private EventCase(int value) {
       this.value = value;
     }
@@ -77,25 +99,29 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 5: return JOB_EVENT;
-        case 0: return EVENT_NOT_SET;
-        default: return null;
+        case 5:
+          return JOB_EVENT;
+        case 0:
+          return EVENT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase
-  getEventCase() {
-    return EventCase.forNumber(
-        eventCase_);
+  public EventCase getEventCase() {
+    return EventCase.forNumber(eventCase_);
   }
 
   public static final int REQUEST_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object requestId_;
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -103,6 +129,7 @@ public int getNumber() {
    * 
* * string request_id = 1; + * * @return The requestId. */ @java.lang.Override @@ -111,14 +138,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -126,16 +154,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -146,11 +173,14 @@ public java.lang.String getRequestId() { public static final int EVENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object eventId_; /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ @java.lang.Override @@ -159,29 +189,29 @@ public java.lang.String getEventId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } } /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventId_ = b; return b; } else { @@ -192,11 +222,15 @@ public java.lang.String getEventId() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -204,11 +238,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ @java.lang.Override @@ -216,11 +254,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -229,12 +270,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int JOB_EVENT_FIELD_NUMBER = 5; /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -242,22 +286,27 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return The jobEvent. */ @java.lang.Override public com.google.cloud.talent.v4.JobEvent getJobEvent() { if (eventCase_ == 5) { - return (com.google.cloud.talent.v4.JobEvent) event_; + return (com.google.cloud.talent.v4.JobEvent) event_; } return com.google.cloud.talent.v4.JobEvent.getDefaultInstance(); } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -268,7 +317,7 @@ public com.google.cloud.talent.v4.JobEvent getJobEvent() {
   @java.lang.Override
   public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
     if (eventCase_ == 5) {
-       return (com.google.cloud.talent.v4.JobEvent) event_;
+      return (com.google.cloud.talent.v4.JobEvent) event_;
     }
     return com.google.cloud.talent.v4.JobEvent.getDefaultInstance();
   }
@@ -276,12 +325,15 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
   public static final int EVENT_NOTES_FIELD_NUMBER = 9;
   private volatile java.lang.Object eventNotes_;
   /**
+   *
+   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; + * * @return The eventNotes. */ @java.lang.Override @@ -290,30 +342,30 @@ public java.lang.String getEventNotes() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; } } /** + * + * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventNotesBytes() { + public com.google.protobuf.ByteString getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -322,6 +374,7 @@ public java.lang.String getEventNotes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -366,12 +418,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (eventCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.talent.v4.JobEvent) event_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.talent.v4.JobEvent) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventNotes_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, eventNotes_); @@ -384,29 +436,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ClientEvent)) { return super.equals(obj); } com.google.cloud.talent.v4.ClientEvent other = (com.google.cloud.talent.v4.ClientEvent) obj; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEventId() - .equals(other.getEventId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEventId().equals(other.getEventId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (!getEventNotes() - .equals(other.getEventNotes())) return false; + if (!getEventNotes().equals(other.getEventNotes())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - if (!getJobEvent() - .equals(other.getJobEvent())) return false; + if (!getJobEvent().equals(other.getJobEvent())) return false; break; case 0: default: @@ -445,97 +492,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ClientEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ClientEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ClientEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ClientEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An event issued when an end user interacts with the application that
    * implements Cloud Talent Solution. Providing this information improves the
@@ -546,33 +600,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.ClientEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ClientEvent)
       com.google.cloud.talent.v4.ClientEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.ClientEvent.class, com.google.cloud.talent.v4.ClientEvent.Builder.class);
+              com.google.cloud.talent.v4.ClientEvent.class,
+              com.google.cloud.talent.v4.ClientEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.ClientEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -597,9 +650,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_ClientEvent_descriptor;
     }
 
     @java.lang.Override
@@ -618,7 +671,8 @@ public com.google.cloud.talent.v4.ClientEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.ClientEvent buildPartial() {
-      com.google.cloud.talent.v4.ClientEvent result = new com.google.cloud.talent.v4.ClientEvent(this);
+      com.google.cloud.talent.v4.ClientEvent result =
+          new com.google.cloud.talent.v4.ClientEvent(this);
       result.requestId_ = requestId_;
       result.eventId_ = eventId_;
       if (createTimeBuilder_ == null) {
@@ -643,38 +697,39 @@ public com.google.cloud.talent.v4.ClientEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.ClientEvent) {
-        return mergeFrom((com.google.cloud.talent.v4.ClientEvent)other);
+        return mergeFrom((com.google.cloud.talent.v4.ClientEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -699,13 +754,15 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ClientEvent other) {
         onChanged();
       }
       switch (other.getEventCase()) {
-        case JOB_EVENT: {
-          mergeJobEvent(other.getJobEvent());
-          break;
-        }
-        case EVENT_NOT_SET: {
-          break;
-        }
+        case JOB_EVENT:
+          {
+            mergeJobEvent(other.getJobEvent());
+            break;
+          }
+        case EVENT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -733,41 +790,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              requestId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              eventId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getJobEventFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              eventCase_ = 5;
-              break;
-            } // case 42
-            case 74: {
-              eventNotes_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                requestId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                eventId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getJobEventFieldBuilder().getBuilder(), extensionRegistry);
+                eventCase_ = 5;
+                break;
+              } // case 42
+            case 74:
+              {
+                eventNotes_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -777,12 +836,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int eventCase_ = 0;
     private java.lang.Object event_;
-    public EventCase
-        getEventCase() {
-      return EventCase.forNumber(
-          eventCase_);
+
+    public EventCase getEventCase() {
+      return EventCase.forNumber(eventCase_);
     }
 
     public Builder clearEvent() {
@@ -792,9 +851,10 @@ public Builder clearEvent() {
       return this;
     }
 
-
     private java.lang.Object requestId_ = "";
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -802,13 +862,13 @@ public Builder clearEvent() {
      * 
* * string request_id = 1; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -817,6 +877,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -824,15 +886,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -840,6 +901,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -847,20 +910,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -868,15 +933,18 @@ public Builder setRequestId(
      * 
* * string request_id = 1; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -884,16 +952,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 1; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -901,18 +969,20 @@ public Builder setRequestIdBytes( private java.lang.Object eventId_ = ""; /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; @@ -921,20 +991,21 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventId_ = b; return b; } else { @@ -942,54 +1013,61 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId( - java.lang.String value) { + public Builder setEventId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEventIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -997,39 +1075,55 @@ public Builder setEventIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1045,14 +1139,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1063,17 +1159,20 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1085,11 +1184,14 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1103,62 +1205,81 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder> jobEventBuilder_; + com.google.cloud.talent.v4.JobEvent, + com.google.cloud.talent.v4.JobEvent.Builder, + com.google.cloud.talent.v4.JobEventOrBuilder> + jobEventBuilder_; /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -1166,12 +1287,15 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return The jobEvent. */ @java.lang.Override @@ -1189,6 +1313,8 @@ public com.google.cloud.talent.v4.JobEvent getJobEvent() { } } /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1210,6 +1336,8 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1217,8 +1345,7 @@ public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent value) {
      *
      * .google.cloud.talent.v4.JobEvent job_event = 5;
      */
-    public Builder setJobEvent(
-        com.google.cloud.talent.v4.JobEvent.Builder builderForValue) {
+    public Builder setJobEvent(com.google.cloud.talent.v4.JobEvent.Builder builderForValue) {
       if (jobEventBuilder_ == null) {
         event_ = builderForValue.build();
         onChanged();
@@ -1229,6 +1356,8 @@ public Builder setJobEvent(
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1238,10 +1367,12 @@ public Builder setJobEvent(
      */
     public Builder mergeJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       if (jobEventBuilder_ == null) {
-        if (eventCase_ == 5 &&
-            event_ != com.google.cloud.talent.v4.JobEvent.getDefaultInstance()) {
-          event_ = com.google.cloud.talent.v4.JobEvent.newBuilder((com.google.cloud.talent.v4.JobEvent) event_)
-              .mergeFrom(value).buildPartial();
+        if (eventCase_ == 5 && event_ != com.google.cloud.talent.v4.JobEvent.getDefaultInstance()) {
+          event_ =
+              com.google.cloud.talent.v4.JobEvent.newBuilder(
+                      (com.google.cloud.talent.v4.JobEvent) event_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           event_ = value;
         }
@@ -1257,6 +1388,8 @@ public Builder mergeJobEvent(com.google.cloud.talent.v4.JobEvent value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1281,6 +1414,8 @@ public Builder clearJobEvent() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1292,6 +1427,8 @@ public com.google.cloud.talent.v4.JobEvent.Builder getJobEventBuilder() {
       return getJobEventFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1311,6 +1448,8 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1319,39 +1458,45 @@ public com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder() {
      * .google.cloud.talent.v4.JobEvent job_event = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder> 
+            com.google.cloud.talent.v4.JobEvent,
+            com.google.cloud.talent.v4.JobEvent.Builder,
+            com.google.cloud.talent.v4.JobEventOrBuilder>
         getJobEventFieldBuilder() {
       if (jobEventBuilder_ == null) {
         if (!(eventCase_ == 5)) {
           event_ = com.google.cloud.talent.v4.JobEvent.getDefaultInstance();
         }
-        jobEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.JobEvent, com.google.cloud.talent.v4.JobEvent.Builder, com.google.cloud.talent.v4.JobEventOrBuilder>(
-                (com.google.cloud.talent.v4.JobEvent) event_,
-                getParentForChildren(),
-                isClean());
+        jobEventBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.JobEvent,
+                com.google.cloud.talent.v4.JobEvent.Builder,
+                com.google.cloud.talent.v4.JobEventOrBuilder>(
+                (com.google.cloud.talent.v4.JobEvent) event_, getParentForChildren(), isClean());
         event_ = null;
       }
       eventCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return jobEventBuilder_;
     }
 
     private java.lang.Object eventNotes_ = "";
     /**
+     *
+     *
      * 
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @return The eventNotes. */ public java.lang.String getEventNotes() { java.lang.Object ref = eventNotes_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; @@ -1360,21 +1505,22 @@ public java.lang.String getEventNotes() { } } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ - public com.google.protobuf.ByteString - getEventNotesBytes() { + public com.google.protobuf.ByteString getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -1382,64 +1528,71 @@ public java.lang.String getEventNotes() { } } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @param value The eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotes( - java.lang.String value) { + public Builder setEventNotes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventNotes_ = value; onChanged(); return this; } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @return This builder for chaining. */ public Builder clearEventNotes() { - + eventNotes_ = getDefaultInstance().getEventNotes(); onChanged(); return this; } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a job was bookmarked.
      * 
* * string event_notes = 9; + * * @param value The bytes for eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotesBytes( - com.google.protobuf.ByteString value) { + public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventNotes_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1449,12 +1602,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ClientEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ClientEvent) private static final com.google.cloud.talent.v4.ClientEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ClientEvent(); } @@ -1463,27 +1616,27 @@ public static com.google.cloud.talent.v4.ClientEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1498,6 +1651,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ClientEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java similarity index 76% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java index 8a0875dd3149..ef27e7e90799 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ClientEventOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; -public interface ClientEventOrBuilder extends +public interface ClientEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ClientEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -15,10 +33,13 @@ public interface ClientEventOrBuilder extends
    * 
* * string request_id = 1; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -26,79 +47,103 @@ public interface ClientEventOrBuilder extends
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ java.lang.String getEventId(); /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - com.google.protobuf.ByteString - getEventIdBytes(); + com.google.protobuf.ByteString getEventIdBytes(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ boolean hasJobEvent(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4.JobEvent job_event = 5; + * * @return The jobEvent. */ com.google.cloud.talent.v4.JobEvent getJobEvent(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -109,26 +154,31 @@ public interface ClientEventOrBuilder extends
   com.google.cloud.talent.v4.JobEventOrBuilder getJobEventOrBuilder();
 
   /**
+   *
+   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; + * * @return The eventNotes. */ java.lang.String getEventNotes(); /** + * + * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a job was bookmarked.
    * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ - com.google.protobuf.ByteString - getEventNotesBytes(); + com.google.protobuf.ByteString getEventNotesBytes(); public com.google.cloud.talent.v4.ClientEvent.EventCase getEventCase(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java new file mode 100644 index 000000000000..7599af687ace --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java @@ -0,0 +1,345 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/common.proto + +package com.google.cloud.talent.v4; + +public final class CommonProto { + private CommonProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Location_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_RequestMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_DeviceInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/talent/v4/common.proto\022\026g" + + "oogle.cloud.talent.v4\032\037google/api/field_" + + "behavior.proto\032\037google/protobuf/timestam" + + "p.proto\032\036google/protobuf/wrappers.proto\032" + + "\030google/type/latlng.proto\032\027google/type/m" + + "oney.proto\032 google/type/postal_address.p" + + "roto\"n\n\016TimestampRange\022.\n\nstart_time\030\001 \001" + + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"\262\003\n" + + "\010Location\022D\n\rlocation_type\030\001 \001(\0162-.googl" + + "e.cloud.talent.v4.Location.LocationType\022" + + "2\n\016postal_address\030\002 \001(\0132\032.google.type.Po" + + "stalAddress\022$\n\007lat_lng\030\003 \001(\0132\023.google.ty" + + "pe.LatLng\022\024\n\014radius_miles\030\004 \001(\001\"\357\001\n\014Loca" + + "tionType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020\000\022" + + "\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATIVE_AREA\020\002\022\033\n" + + "\027SUB_ADMINISTRATIVE_AREA\020\003\022\014\n\010LOCALITY\020\004" + + "\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOCALITY\020\006\022\022\n\016S" + + "UB_LOCALITY_1\020\007\022\022\n\016SUB_LOCALITY_2\020\010\022\020\n\014N" + + "EIGHBORHOOD\020\t\022\022\n\016STREET_ADDRESS\020\n\"\232\001\n\017Re" + + "questMetadata\022\016\n\006domain\030\001 \001(\t\022\022\n\nsession" + + "_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031\n\021allow_miss" + + "ing_ids\030\004 \001(\010\0227\n\013device_info\030\005 \001(\0132\".goo" + + "gle.cloud.talent.v4.DeviceInfo\"&\n\020Respon" + + "seMetadata\022\022\n\nrequest_id\030\001 \001(\t\"\312\001\n\nDevic" + + "eInfo\022B\n\013device_type\030\001 \001(\0162-.google.clou" + + "d.talent.v4.DeviceInfo.DeviceType\022\n\n\002id\030" + + "\002 \001(\t\"l\n\nDeviceType\022\033\n\027DEVICE_TYPE_UNSPE" + + "CIFIED\020\000\022\007\n\003WEB\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007AND" + + "ROID\020\003\022\007\n\003IOS\020\004\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017C" + + "ustomAttribute\022\025\n\rstring_values\030\001 \003(\t\022\023\n" + + "\013long_values\030\002 \003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032" + + "\n\022keyword_searchable\030\004 \001(\010\"W\n\022SpellingCo" + + "rrection\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected" + + "_text\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\210\t\n\020" + + "CompensationInfo\022K\n\007entries\030\001 \003(\0132:.goog" + + "le.cloud.talent.v4.CompensationInfo.Comp" + + "ensationEntry\022k\n\"annualized_base_compens" + + "ation_range\030\002 \001(\0132:.google.cloud.talent." + + "v4.CompensationInfo.CompensationRangeB\003\340" + + "A\003\022l\n#annualized_total_compensation_rang" + + "e\030\003 \001(\0132:.google.cloud.talent.v4.Compens" + + "ationInfo.CompensationRangeB\003\340A\003\032\203\003\n\021Com" + + "pensationEntry\022G\n\004type\030\001 \001(\01629.google.cl" + + "oud.talent.v4.CompensationInfo.Compensat" + + "ionType\022G\n\004unit\030\002 \001(\01629.google.cloud.tal" + + "ent.v4.CompensationInfo.CompensationUnit" + + "\022$\n\006amount\030\003 \001(\0132\022.google.type.MoneyH\000\022K" + + "\n\005range\030\004 \001(\0132:.google.cloud.talent.v4.C" + + "ompensationInfo.CompensationRangeH\000\022\023\n\013d" + + "escription\030\005 \001(\t\022=\n\027expected_units_per_y" + + "ear\030\006 \001(\0132\034.google.protobuf.DoubleValueB" + + "\025\n\023compensation_amount\032o\n\021CompensationRa" + + "nge\022,\n\020max_compensation\030\002 \001(\0132\022.google.t" + + "ype.Money\022,\n\020min_compensation\030\001 \001(\0132\022.go" + + "ogle.type.Money\"\265\001\n\020CompensationType\022!\n\035" + + "COMPENSATION_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020" + + "\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BONUS\020\003\022\n\n\006EQUIT" + + "Y\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n\013COMMISSIONS\020\006" + + "\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPENSATION_TYPE\020\010\"" + + "\234\001\n\020CompensationUnit\022!\n\035COMPENSATION_UNI" + + "T_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020\002\022\n" + + "\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\022\014\n\010O" + + "NE_TIME\020\006\022\033\n\027OTHER_COMPENSATION_UNIT\020\007\"\307" + + "\003\n\026BatchOperationMetadata\022C\n\005state\030\001 \001(\016" + + "24.google.cloud.talent.v4.BatchOperation" + + "Metadata.State\022\031\n\021state_description\030\002 \001(" + + "\t\022\025\n\rsuccess_count\030\003 \001(\005\022\025\n\rfailure_coun" + + "t\030\004 \001(\005\022\023\n\013total_count\030\005 \001(\005\022/\n\013create_t" + + "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" + + "estamp\022,\n\010end_time\030\010 \001(\0132\032.google.protob" + + "uf.Timestamp\"z\n\005State\022\025\n\021STATE_UNSPECIFI" + + "ED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022\r" + + "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\016\n\nCANCELLING\020" + + "\005\022\r\n\tCANCELLED\020\006*y\n\013CompanySize\022\034\n\030COMPA" + + "NY_SIZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL" + + "\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006" + + "BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JO" + + "B_BENEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022" + + "\n\n\006DENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLE" + + "XIBLE_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSUR" + + "ANCE\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT" + + "_PLAN\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006" + + "VISION\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_U" + + "NSPECIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031L" + + "OWER_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECO" + + "NDARY_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUC" + + "ATION\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n" + + "\027BACHELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR" + + "_EQUIVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020" + + "\010*\334\001\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_" + + "UNSPECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIM" + + "E\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020" + + "\004\022\r\n\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEE" + + "R\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n" + + "\025OTHER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025" + + "JOB_LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001" + + "\022\017\n\013EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECT" + + "OR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030J" + + "OB_CATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_" + + "AND_FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFI" + + "CE\020\002\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013A" + + "NIMAL_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005" + + "\022\027\n\023BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AN" + + "D_FACILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014C" + + "ONSTRUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tE" + + "DUCATION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014" + + "\022\030\n\024FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE" + + "\020\016\022\023\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_" + + "MAINTENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nM" + + "ANAGEMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOU" + + "SE\020\023\022$\n MEDIA_COMMUNICATIONS_AND_WRITING" + + "\020\024\022\026\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_C" + + "ARE_AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICE" + + "S\020\027\022\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_H" + + "OSPITALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SC" + + "IENCE_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVIC" + + "ES_AND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AN" + + "D_RECREATION\020\035\022 \n\034TRANSPORTATION_AND_LOG" + + "ISTICS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REG" + + "ION_UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA" + + "\020\001\022\n\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisib" + + "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACC" + + "OUNT_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022S" + + "HARED_WITH_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitizat" + + "ion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036" + + "\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE" + + "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" + + "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" + + "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" + + "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" + + "oud.talent.v4B\013CommonProtoP\001Z * Parameters needed for commute search. *
* * Protobuf type {@code google.cloud.talent.v4.CommuteFilter} */ -public final class CommuteFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CommuteFilter) CommuteFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteFilter.newBuilder() to construct. private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommuteFilter() { commuteMethod_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommuteFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CommuteFilter.class, com.google.cloud.talent.v4.CommuteFilter.Builder.class); + com.google.cloud.talent.v4.CommuteFilter.class, + com.google.cloud.talent.v4.CommuteFilter.Builder.class); } /** + * + * *
    * The traffic density to use when calculating commute time.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CommuteFilter.RoadTraffic} */ - public enum RoadTraffic - implements com.google.protobuf.ProtocolMessageEnum { + public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Road traffic situation isn't specified.
      * 
@@ -66,6 +88,8 @@ public enum RoadTraffic */ ROAD_TRAFFIC_UNSPECIFIED(0), /** + * + * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -74,6 +98,8 @@ public enum RoadTraffic */ TRAFFIC_FREE(1), /** + * + * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -85,6 +111,8 @@ public enum RoadTraffic ; /** + * + * *
      * Road traffic situation isn't specified.
      * 
@@ -93,6 +121,8 @@ public enum RoadTraffic */ public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -101,6 +131,8 @@ public enum RoadTraffic */ public static final int TRAFFIC_FREE_VALUE = 1; /** + * + * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -109,7 +141,6 @@ public enum RoadTraffic */ public static final int BUSY_HOUR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,49 +165,49 @@ public static RoadTraffic valueOf(int value) { */ public static RoadTraffic forNumber(int value) { switch (value) { - case 0: return ROAD_TRAFFIC_UNSPECIFIED; - case 1: return TRAFFIC_FREE; - case 2: return BUSY_HOUR; - default: return null; + case 0: + return ROAD_TRAFFIC_UNSPECIFIED; + case 1: + return TRAFFIC_FREE; + case 2: + return BUSY_HOUR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RoadTraffic> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoadTraffic findValueByNumber(int number) { - return RoadTraffic.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoadTraffic findValueByNumber(int number) { + return RoadTraffic.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommuteFilter.getDescriptor().getEnumTypes().get(0); } private static final RoadTraffic[] VALUES = values(); - public static RoadTraffic valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,13 +226,16 @@ private RoadTraffic(int value) { private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; + public enum TrafficOptionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROAD_TRAFFIC(5), DEPARTURE_TIME(6), TRAFFICOPTION_NOT_SET(0); private final int value; + private TrafficOptionCase(int value) { this.value = value; } @@ -217,59 +251,79 @@ public static TrafficOptionCase valueOf(int value) { public static TrafficOptionCase forNumber(int value) { switch (value) { - case 5: return ROAD_TRAFFIC; - case 6: return DEPARTURE_TIME; - case 0: return TRAFFICOPTION_NOT_SET; - default: return null; + case 5: + return ROAD_TRAFFIC; + case 6: + return DEPARTURE_TIME; + case 0: + return TRAFFICOPTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TrafficOptionCase - getTrafficOptionCase() { - return TrafficOptionCase.forNumber( - trafficOptionCase_); + public TrafficOptionCase getTrafficOptionCase() { + return TrafficOptionCase.forNumber(trafficOptionCase_); } public static final int COMMUTE_METHOD_FIELD_NUMBER = 1; private int commuteMethod_; /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override public int getCommuteMethodValue() { + @java.lang.Override + public int getCommuteMethodValue() { return commuteMethod_; } /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ - @java.lang.Override public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { + @java.lang.Override + public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteMethod result = com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4.CommuteMethod result = + com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4.CommuteMethod.UNRECOGNIZED : result; } public static final int START_COORDINATES_FIELD_NUMBER = 2; private com.google.type.LatLng startCoordinates_; /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ @java.lang.Override @@ -277,25 +331,34 @@ public boolean hasStartCoordinates() { return startCoordinates_ != null; } /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ @java.lang.Override public com.google.type.LatLng getStartCoordinates() { - return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { @@ -305,12 +368,16 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration travelDuration_; /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -318,25 +385,34 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @@ -346,6 +422,8 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER = 4; private boolean allowImpreciseAddresses_; /** + * + * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -355,6 +433,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
    * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -364,22 +443,28 @@ public boolean getAllowImpreciseAddresses() { public static final int ROAD_TRAFFIC_FIELD_NUMBER = 5; /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ public int getRoadTrafficValue() { @@ -389,25 +474,33 @@ public int getRoadTrafficValue() { return 0; } /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null + ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED + : result; } return com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 6; /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -415,6 +508,7 @@ public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() {
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -422,6 +516,8 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -429,16 +525,19 @@ public boolean hasDepartureTime() {
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ @java.lang.Override public com.google.type.TimeOfDay getDepartureTime() { if (trafficOptionCase_ == 6) { - return (com.google.type.TimeOfDay) trafficOption_; + return (com.google.type.TimeOfDay) trafficOption_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -450,12 +549,13 @@ public com.google.type.TimeOfDay getDepartureTime() {
   @java.lang.Override
   public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
     if (trafficOptionCase_ == 6) {
-       return (com.google.type.TimeOfDay) trafficOption_;
+      return (com.google.type.TimeOfDay) trafficOption_;
     }
     return com.google.type.TimeOfDay.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -467,9 +567,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (commuteMethod_ != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (commuteMethod_
+        != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
@@ -496,29 +596,28 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (commuteMethod_ != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, commuteMethod_);
+    if (commuteMethod_
+        != com.google.cloud.talent.v4.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartCoordinates());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartCoordinates());
     }
     if (travelDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getTravelDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTravelDuration());
     }
     if (allowImpreciseAddresses_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, allowImpreciseAddresses_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowImpreciseAddresses_);
     }
     if (trafficOptionCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, ((java.lang.Integer) trafficOption_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeEnumSize(
+              5, ((java.lang.Integer) trafficOption_));
     }
     if (trafficOptionCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.type.TimeOfDay) trafficOption_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.type.TimeOfDay) trafficOption_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -528,7 +627,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.CommuteFilter)) {
       return super.equals(obj);
@@ -538,25 +637,20 @@ public boolean equals(final java.lang.Object obj) {
     if (commuteMethod_ != other.commuteMethod_) return false;
     if (hasStartCoordinates() != other.hasStartCoordinates()) return false;
     if (hasStartCoordinates()) {
-      if (!getStartCoordinates()
-          .equals(other.getStartCoordinates())) return false;
+      if (!getStartCoordinates().equals(other.getStartCoordinates())) return false;
     }
     if (hasTravelDuration() != other.hasTravelDuration()) return false;
     if (hasTravelDuration()) {
-      if (!getTravelDuration()
-          .equals(other.getTravelDuration())) return false;
+      if (!getTravelDuration().equals(other.getTravelDuration())) return false;
     }
-    if (getAllowImpreciseAddresses()
-        != other.getAllowImpreciseAddresses()) return false;
+    if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false;
     if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false;
     switch (trafficOptionCase_) {
       case 5:
-        if (getRoadTrafficValue()
-            != other.getRoadTrafficValue()) return false;
+        if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false;
         break;
       case 6:
-        if (!getDepartureTime()
-            .equals(other.getDepartureTime())) return false;
+        if (!getDepartureTime().equals(other.getDepartureTime())) return false;
         break;
       case 0:
       default:
@@ -583,8 +677,7 @@ public int hashCode() {
       hash = (53 * hash) + getTravelDuration().hashCode();
     }
     hash = (37 * hash) + ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowImpreciseAddresses());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowImpreciseAddresses());
     switch (trafficOptionCase_) {
       case 5:
         hash = (37 * hash) + ROAD_TRAFFIC_FIELD_NUMBER;
@@ -602,130 +695,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.CommuteFilter parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CommuteFilter parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.CommuteFilter prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Parameters needed for commute search.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CommuteFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CommuteFilter) com.google.cloud.talent.v4.CommuteFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CommuteFilter.class, com.google.cloud.talent.v4.CommuteFilter.Builder.class); + com.google.cloud.talent.v4.CommuteFilter.class, + com.google.cloud.talent.v4.CommuteFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.CommuteFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -754,9 +853,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CommuteFilter_descriptor; } @java.lang.Override @@ -775,7 +874,8 @@ public com.google.cloud.talent.v4.CommuteFilter build() { @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter buildPartial() { - com.google.cloud.talent.v4.CommuteFilter result = new com.google.cloud.talent.v4.CommuteFilter(this); + com.google.cloud.talent.v4.CommuteFilter result = + new com.google.cloud.talent.v4.CommuteFilter(this); result.commuteMethod_ = commuteMethod_; if (startCoordinatesBuilder_ == null) { result.startCoordinates_ = startCoordinates_; @@ -807,38 +907,39 @@ public com.google.cloud.talent.v4.CommuteFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CommuteFilter) { - return mergeFrom((com.google.cloud.talent.v4.CommuteFilter)other); + return mergeFrom((com.google.cloud.talent.v4.CommuteFilter) other); } else { super.mergeFrom(other); return this; @@ -860,17 +961,20 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CommuteFilter other) { setAllowImpreciseAddresses(other.getAllowImpreciseAddresses()); } switch (other.getTrafficOptionCase()) { - case ROAD_TRAFFIC: { - setRoadTrafficValue(other.getRoadTrafficValue()); - break; - } - case DEPARTURE_TIME: { - mergeDepartureTime(other.getDepartureTime()); - break; - } - case TRAFFICOPTION_NOT_SET: { - break; - } + case ROAD_TRAFFIC: + { + setRoadTrafficValue(other.getRoadTrafficValue()); + break; + } + case DEPARTURE_TIME: + { + mergeDepartureTime(other.getDepartureTime()); + break; + } + case TRAFFICOPTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -898,49 +1002,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - commuteMethod_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getStartCoordinatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - allowImpreciseAddresses_ = input.readBool(); - - break; - } // case 32 - case 40: { - int rawValue = input.readEnum(); - trafficOptionCase_ = 5; - trafficOption_ = rawValue; - break; - } // case 40 - case 50: { - input.readMessage( - getDepartureTimeFieldBuilder().getBuilder(), - extensionRegistry); - trafficOptionCase_ = 6; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + commuteMethod_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage( + getStartCoordinatesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + allowImpreciseAddresses_ = input.readBool(); + + break; + } // case 32 + case 40: + { + int rawValue = input.readEnum(); + trafficOptionCase_ = 5; + trafficOption_ = rawValue; + break; + } // case 40 + case 50: + { + input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); + trafficOptionCase_ = 6; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -950,12 +1056,12 @@ public Builder mergeFrom( } // finally return this; } + private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - public TrafficOptionCase - getTrafficOptionCase() { - return TrafficOptionCase.forNumber( - trafficOptionCase_); + + public TrafficOptionCase getTrafficOptionCase() { + return TrafficOptionCase.forNumber(trafficOptionCase_); } public Builder clearTrafficOption() { @@ -965,54 +1071,75 @@ public Builder clearTrafficOption() { return this; } - private int commuteMethod_ = 0; /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override public int getCommuteMethodValue() { + @java.lang.Override + public int getCommuteMethodValue() { return commuteMethod_; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for commuteMethod to set. * @return This builder for chaining. */ public Builder setCommuteMethodValue(int value) { - + commuteMethod_ = value; onChanged(); return this; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteMethod result = com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4.CommuteMethod result = + com.google.cloud.talent.v4.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4.CommuteMethod.UNRECOGNIZED : result; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The commuteMethod to set. * @return This builder for chaining. */ @@ -1020,21 +1147,26 @@ public Builder setCommuteMethod(com.google.cloud.talent.v4.CommuteMethod value) if (value == null) { throw new NullPointerException(); } - + commuteMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearCommuteMethod() { - + commuteMethod_ = 0; onChanged(); return this; @@ -1042,42 +1174,56 @@ public Builder clearCommuteMethod() { private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + startCoordinatesBuilder_; /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ public boolean hasStartCoordinates() { return startCoordinatesBuilder_ != null || startCoordinates_ != null; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ public com.google.type.LatLng getStartCoordinates() { if (startCoordinatesBuilder_ == null) { - return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } else { return startCoordinatesBuilder_.getMessage(); } } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { @@ -1093,15 +1239,17 @@ public Builder setStartCoordinates(com.google.type.LatLng value) { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setStartCoordinates( - com.google.type.LatLng.Builder builderForValue) { + public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValue) { if (startCoordinatesBuilder_ == null) { startCoordinates_ = builderForValue.build(); onChanged(); @@ -1112,18 +1260,21 @@ public Builder setStartCoordinates( return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { if (startCoordinates_ != null) { startCoordinates_ = - com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); + com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); } else { startCoordinates_ = value; } @@ -1135,12 +1286,15 @@ public Builder mergeStartCoordinates(com.google.type.LatLng value) { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStartCoordinates() { if (startCoordinatesBuilder_ == null) { @@ -1154,51 +1308,62 @@ public Builder clearStartCoordinates() { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.LatLng.Builder getStartCoordinatesBuilder() { - + onChanged(); return getStartCoordinatesFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { if (startCoordinatesBuilder_ != null) { return startCoordinatesBuilder_.getMessageOrBuilder(); } else { - return startCoordinates_ == null ? - com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getStartCoordinatesFieldBuilder() { if (startCoordinatesBuilder_ == null) { - startCoordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getStartCoordinates(), - getParentForChildren(), - isClean()); + startCoordinatesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>( + getStartCoordinates(), getParentForChildren(), isClean()); startCoordinates_ = null; } return startCoordinatesBuilder_; @@ -1206,42 +1371,61 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + travelDurationBuilder_; /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { @@ -1257,15 +1441,18 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTravelDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) { if (travelDurationBuilder_ == null) { travelDuration_ = builderForValue.build(); onChanged(); @@ -1276,18 +1463,24 @@ public Builder setTravelDuration( return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { if (travelDuration_ != null) { travelDuration_ = - com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(travelDuration_) + .mergeFrom(value) + .buildPartial(); } else { travelDuration_ = value; } @@ -1299,12 +1492,16 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTravelDuration() { if (travelDurationBuilder_ == null) { @@ -1318,58 +1515,76 @@ public Builder clearTravelDuration() { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - + onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { if (travelDurationBuilder_ != null) { return travelDurationBuilder_.getMessageOrBuilder(); } else { - return travelDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getTravelDurationFieldBuilder() { if (travelDurationBuilder_ == null) { - travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTravelDuration(), - getParentForChildren(), - isClean()); + travelDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTravelDuration(), getParentForChildren(), isClean()); travelDuration_ = null; } return travelDurationBuilder_; } - private boolean allowImpreciseAddresses_ ; + private boolean allowImpreciseAddresses_; /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1379,6 +1594,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
      * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -1386,6 +1602,8 @@ public boolean getAllowImpreciseAddresses() { return allowImpreciseAddresses_; } /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1395,16 +1613,19 @@ public boolean getAllowImpreciseAddresses() {
      * 
* * bool allow_imprecise_addresses = 4; + * * @param value The allowImpreciseAddresses to set. * @return This builder for chaining. */ public Builder setAllowImpreciseAddresses(boolean value) { - + allowImpreciseAddresses_ = value; onChanged(); return this; } /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1414,21 +1635,25 @@ public Builder setAllowImpreciseAddresses(boolean value) {
      * 
* * bool allow_imprecise_addresses = 4; + * * @return This builder for chaining. */ public Builder clearAllowImpreciseAddresses() { - + allowImpreciseAddresses_ = false; onChanged(); return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ @java.lang.Override @@ -1436,11 +1661,14 @@ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ @java.lang.Override @@ -1451,11 +1679,14 @@ public int getRoadTrafficValue() { return 0; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @param value The enum numeric value on the wire for roadTraffic to set. * @return This builder for chaining. */ @@ -1466,29 +1697,38 @@ public Builder setRoadTrafficValue(int value) { return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic result = + com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null + ? com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.UNRECOGNIZED + : result; } return com.google.cloud.talent.v4.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @param value The roadTraffic to set. * @return This builder for chaining. */ @@ -1502,11 +1742,14 @@ public Builder setRoadTraffic(com.google.cloud.talent.v4.CommuteFilter.RoadTraff return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return This builder for chaining. */ public Builder clearRoadTraffic() { @@ -1519,8 +1762,13 @@ public Builder clearRoadTraffic() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> departureTimeBuilder_; + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + departureTimeBuilder_; /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1528,6 +1776,7 @@ public Builder clearRoadTraffic() {
      * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -1535,6 +1784,8 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1542,6 +1793,7 @@ public boolean hasDepartureTime() {
      * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ @java.lang.Override @@ -1559,6 +1811,8 @@ public com.google.type.TimeOfDay getDepartureTime() { } } /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1581,6 +1835,8 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1589,8 +1845,7 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
      *
      * .google.type.TimeOfDay departure_time = 6;
      */
-    public Builder setDepartureTime(
-        com.google.type.TimeOfDay.Builder builderForValue) {
+    public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValue) {
       if (departureTimeBuilder_ == null) {
         trafficOption_ = builderForValue.build();
         onChanged();
@@ -1601,6 +1856,8 @@ public Builder setDepartureTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1611,10 +1868,12 @@ public Builder setDepartureTime(
      */
     public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       if (departureTimeBuilder_ == null) {
-        if (trafficOptionCase_ == 6 &&
-            trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
-          trafficOption_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
-              .mergeFrom(value).buildPartial();
+        if (trafficOptionCase_ == 6
+            && trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
+          trafficOption_ =
+              com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           trafficOption_ = value;
         }
@@ -1630,6 +1889,8 @@ public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1655,6 +1916,8 @@ public Builder clearDepartureTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1667,6 +1930,8 @@ public com.google.type.TimeOfDay.Builder getDepartureTimeBuilder() {
       return getDepartureTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1687,6 +1952,8 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1696,26 +1963,30 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
      * .google.type.TimeOfDay departure_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+            com.google.type.TimeOfDay,
+            com.google.type.TimeOfDay.Builder,
+            com.google.type.TimeOfDayOrBuilder>
         getDepartureTimeFieldBuilder() {
       if (departureTimeBuilder_ == null) {
         if (!(trafficOptionCase_ == 6)) {
           trafficOption_ = com.google.type.TimeOfDay.getDefaultInstance();
         }
-        departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                (com.google.type.TimeOfDay) trafficOption_,
-                getParentForChildren(),
-                isClean());
+        departureTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.TimeOfDay,
+                com.google.type.TimeOfDay.Builder,
+                com.google.type.TimeOfDayOrBuilder>(
+                (com.google.type.TimeOfDay) trafficOption_, getParentForChildren(), isClean());
         trafficOption_ = null;
       }
       trafficOptionCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return departureTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1725,12 +1996,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CommuteFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CommuteFilter)
   private static final com.google.cloud.talent.v4.CommuteFilter DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CommuteFilter();
   }
@@ -1739,27 +2010,27 @@ public static com.google.cloud.talent.v4.CommuteFilter getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CommuteFilter parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CommuteFilter parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1774,6 +2045,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.CommuteFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
similarity index 78%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
index 3dd0ff8d69cb..9483d3957680 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteFilterOrBuilder.java
@@ -1,92 +1,142 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/filters.proto
 
 package com.google.cloud.talent.v4;
 
-public interface CommuteFilterOrBuilder extends
+public interface CommuteFilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CommuteFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ int getCommuteMethodValue(); /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ com.google.cloud.talent.v4.CommuteMethod getCommuteMethod(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ boolean hasStartCoordinates(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ com.google.type.LatLng getStartCoordinates(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder(); /** + * + * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -96,39 +146,51 @@ public interface CommuteFilterOrBuilder extends
    * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ boolean getAllowImpreciseAddresses(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ boolean hasRoadTraffic(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ int getRoadTrafficValue(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ com.google.cloud.talent.v4.CommuteFilter.RoadTraffic getRoadTraffic(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -136,10 +198,13 @@ public interface CommuteFilterOrBuilder extends
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -147,10 +212,13 @@ public interface CommuteFilterOrBuilder extends
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ com.google.type.TimeOfDay getDepartureTime(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
similarity index 71%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
index ac378e5a42bb..8f8d636dc0c6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommuteMethod.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Method for commute. Walking, biking and wheelchair accessible transit is
  * still in the Preview stage.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.CommuteMethod}
  */
-public enum CommuteMethod
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Commute method isn't specified.
    * 
@@ -22,6 +40,8 @@ public enum CommuteMethod */ COMMUTE_METHOD_UNSPECIFIED(0), /** + * + * *
    * Commute time is calculated based on driving time.
    * 
@@ -30,6 +50,8 @@ public enum CommuteMethod */ DRIVING(1), /** + * + * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -39,6 +61,8 @@ public enum CommuteMethod
    */
   TRANSIT(2),
   /**
+   *
+   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -47,6 +71,8 @@ public enum CommuteMethod */ WALKING(3), /** + * + * *
    * Commute time is calculated based on biking time.
    * 
@@ -55,6 +81,8 @@ public enum CommuteMethod */ CYCLING(4), /** + * + * *
    * Commute time is calculated based on public transit that is wheelchair
    * accessible.
@@ -67,6 +95,8 @@ public enum CommuteMethod
   ;
 
   /**
+   *
+   *
    * 
    * Commute method isn't specified.
    * 
@@ -75,6 +105,8 @@ public enum CommuteMethod */ public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Commute time is calculated based on driving time.
    * 
@@ -83,6 +115,8 @@ public enum CommuteMethod */ public static final int DRIVING_VALUE = 1; /** + * + * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -92,6 +126,8 @@ public enum CommuteMethod
    */
   public static final int TRANSIT_VALUE = 2;
   /**
+   *
+   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -100,6 +136,8 @@ public enum CommuteMethod */ public static final int WALKING_VALUE = 3; /** + * + * *
    * Commute time is calculated based on biking time.
    * 
@@ -108,6 +146,8 @@ public enum CommuteMethod */ public static final int CYCLING_VALUE = 4; /** + * + * *
    * Commute time is calculated based on public transit that is wheelchair
    * accessible.
@@ -117,7 +157,6 @@ public enum CommuteMethod
    */
   public static final int TRANSIT_ACCESSIBLE_VALUE = 5;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -142,52 +181,55 @@ public static CommuteMethod valueOf(int value) {
    */
   public static CommuteMethod forNumber(int value) {
     switch (value) {
-      case 0: return COMMUTE_METHOD_UNSPECIFIED;
-      case 1: return DRIVING;
-      case 2: return TRANSIT;
-      case 3: return WALKING;
-      case 4: return CYCLING;
-      case 5: return TRANSIT_ACCESSIBLE;
-      default: return null;
+      case 0:
+        return COMMUTE_METHOD_UNSPECIFIED;
+      case 1:
+        return DRIVING;
+      case 2:
+        return TRANSIT;
+      case 3:
+        return WALKING;
+      case 4:
+        return CYCLING;
+      case 5:
+        return TRANSIT_ACCESSIBLE;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      CommuteMethod> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public CommuteMethod findValueByNumber(int number) {
-            return CommuteMethod.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public CommuteMethod findValueByNumber(int number) {
+          return CommuteMethod.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(9);
   }
 
   private static final CommuteMethod[] VALUES = values();
 
-  public static CommuteMethod valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -203,4 +245,3 @@ private CommuteMethod(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CommuteMethod)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
index 0bd255b0028f..c68c3afe38a6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Company.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * A Company resource represents a company in the service. A company is the
  * entity that owns job postings, that is, the hiring entity responsible for
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Company}
  */
-public final class Company extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Company extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Company)
     CompanyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Company.newBuilder() to construct.
   private Company(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Company() {
     name_ = "";
     displayName_ = "";
@@ -36,54 +54,64 @@ private Company() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Company();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.CompanyProto
+        .internal_static_google_cloud_talent_v4_Company_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
+    return com.google.cloud.talent.v4.CompanyProto
+        .internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.Company.class, com.google.cloud.talent.v4.Company.Builder.class);
+            com.google.cloud.talent.v4.Company.class,
+            com.google.cloud.talent.v4.Company.Builder.class);
   }
 
-  public interface DerivedInfoOrBuilder extends
+  public interface DerivedInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Company.DerivedInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ boolean hasHeadquartersLocation(); /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return The headquartersLocation. */ com.google.cloud.talent.v4.Location getHeadquartersLocation(); /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -94,58 +122,64 @@ public interface DerivedInfoOrBuilder extends
     com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Derived details about the company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Company.DerivedInfo} */ - public static final class DerivedInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Company.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DerivedInfo() { - } + + private DerivedInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Company.DerivedInfo.class, com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Company.DerivedInfo.class, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); } public static final int HEADQUARTERS_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Location headquartersLocation_; /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ @java.lang.Override @@ -153,19 +187,26 @@ public boolean hasHeadquartersLocation() { return headquartersLocation_ != null; } /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return The headquartersLocation. */ @java.lang.Override public com.google.cloud.talent.v4.Location getHeadquartersLocation() { - return headquartersLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_; + return headquartersLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : headquartersLocation_; } /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -179,6 +220,7 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -190,8 +232,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (headquartersLocation_ != null) {
         output.writeMessage(1, getHeadquartersLocation());
       }
@@ -205,8 +246,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (headquartersLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getHeadquartersLocation());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeadquartersLocation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -216,17 +257,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.Company.DerivedInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.Company.DerivedInfo other = (com.google.cloud.talent.v4.Company.DerivedInfo) obj;
+      com.google.cloud.talent.v4.Company.DerivedInfo other =
+          (com.google.cloud.talent.v4.Company.DerivedInfo) obj;
 
       if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
       if (hasHeadquartersLocation()) {
-        if (!getHeadquartersLocation()
-            .equals(other.getHeadquartersLocation())) return false;
+        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -248,88 +289,94 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data)
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.Company.DerivedInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.cloud.talent.v4.Company.DerivedInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -339,39 +386,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Derived details about the company.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Company.DerivedInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Company.DerivedInfo) com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Company.DerivedInfo.class, com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Company.DerivedInfo.class, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyProto + .internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; } @java.lang.Override @@ -406,7 +455,8 @@ public com.google.cloud.talent.v4.Company.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfo buildPartial() { - com.google.cloud.talent.v4.Company.DerivedInfo result = new com.google.cloud.talent.v4.Company.DerivedInfo(this); + com.google.cloud.talent.v4.Company.DerivedInfo result = + new com.google.cloud.talent.v4.Company.DerivedInfo(this); if (headquartersLocationBuilder_ == null) { result.headquartersLocation_ = headquartersLocation_; } else { @@ -420,38 +470,41 @@ public com.google.cloud.talent.v4.Company.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Company.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4.Company.DerivedInfo)other); + return mergeFrom((com.google.cloud.talent.v4.Company.DerivedInfo) other); } else { super.mergeFrom(other); return this; @@ -459,7 +512,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Company.DerivedInfo other) { - if (other == com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance()) + return this; if (other.hasHeadquartersLocation()) { mergeHeadquartersLocation(other.getHeadquartersLocation()); } @@ -489,19 +543,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getHeadquartersLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getHeadquartersLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,36 +569,49 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> headquartersLocationBuilder_; + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> + headquartersLocationBuilder_; /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ public boolean hasHeadquartersLocation() { return headquartersLocationBuilder_ != null || headquartersLocation_ != null; } /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4.Location headquarters_location = 1; + * * @return The headquartersLocation. */ public com.google.cloud.talent.v4.Location getHeadquartersLocation() { if (headquartersLocationBuilder_ == null) { - return headquartersLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_; + return headquartersLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : headquartersLocation_; } else { return headquartersLocationBuilder_.getMessage(); } } /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -565,6 +633,8 @@ public Builder setHeadquartersLocation(com.google.cloud.talent.v4.Location value
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -584,6 +654,8 @@ public Builder setHeadquartersLocation(
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -595,7 +667,9 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4.Location val
         if (headquartersLocationBuilder_ == null) {
           if (headquartersLocation_ != null) {
             headquartersLocation_ =
-              com.google.cloud.talent.v4.Location.newBuilder(headquartersLocation_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4.Location.newBuilder(headquartersLocation_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             headquartersLocation_ = value;
           }
@@ -607,6 +681,8 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4.Location val
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -626,6 +702,8 @@ public Builder clearHeadquartersLocation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -634,11 +712,13 @@ public Builder clearHeadquartersLocation() {
        * .google.cloud.talent.v4.Location headquarters_location = 1;
        */
       public com.google.cloud.talent.v4.Location.Builder getHeadquartersLocationBuilder() {
-        
+
         onChanged();
         return getHeadquartersLocationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -650,11 +730,14 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
         if (headquartersLocationBuilder_ != null) {
           return headquartersLocationBuilder_.getMessageOrBuilder();
         } else {
-          return headquartersLocation_ == null ?
-              com.google.cloud.talent.v4.Location.getDefaultInstance() : headquartersLocation_;
+          return headquartersLocation_ == null
+              ? com.google.cloud.talent.v4.Location.getDefaultInstance()
+              : headquartersLocation_;
         }
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
@@ -663,18 +746,22 @@ public com.google.cloud.talent.v4.LocationOrBuilder getHeadquartersLocationOrBui
        * .google.cloud.talent.v4.Location headquarters_location = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
+              com.google.cloud.talent.v4.Location,
+              com.google.cloud.talent.v4.Location.Builder,
+              com.google.cloud.talent.v4.LocationOrBuilder>
           getHeadquartersLocationFieldBuilder() {
         if (headquartersLocationBuilder_ == null) {
-          headquartersLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
-                  getHeadquartersLocation(),
-                  getParentForChildren(),
-                  isClean());
+          headquartersLocationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4.Location,
+                  com.google.cloud.talent.v4.Location.Builder,
+                  com.google.cloud.talent.v4.LocationOrBuilder>(
+                  getHeadquartersLocation(), getParentForChildren(), isClean());
           headquartersLocation_ = null;
         }
         return headquartersLocationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -687,12 +774,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Company.DerivedInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Company.DerivedInfo)
     private static final com.google.cloud.talent.v4.Company.DerivedInfo DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Company.DerivedInfo();
     }
@@ -701,27 +788,28 @@ public static com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstance(
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public DerivedInfo parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public DerivedInfo parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -736,12 +824,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -752,6 +841,7 @@ public com.google.cloud.talent.v4.Company.DerivedInfo getDefaultInstanceForType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -760,14 +850,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -778,16 +869,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -798,11 +888,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -811,29 +904,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -844,6 +937,8 @@ public java.lang.String getDisplayName() { public static final int EXTERNAL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object externalId_; /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -851,6 +946,7 @@ public java.lang.String getDisplayName() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ @java.lang.Override @@ -859,14 +955,15 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -874,16 +971,15 @@ public java.lang.String getExternalId() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -894,33 +990,44 @@ public java.lang.String getExternalId() { public static final int SIZE_FIELD_NUMBER = 4; private int size_; /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ - @java.lang.Override public int getSizeValue() { + @java.lang.Override + public int getSizeValue() { return size_; } /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The size. */ - @java.lang.Override public com.google.cloud.talent.v4.CompanySize getSize() { + @java.lang.Override + public com.google.cloud.talent.v4.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompanySize result = com.google.cloud.talent.v4.CompanySize.valueOf(size_); + com.google.cloud.talent.v4.CompanySize result = + com.google.cloud.talent.v4.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4.CompanySize.UNRECOGNIZED : result; } public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER = 5; private volatile java.lang.Object headquartersAddress_; /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -929,6 +1036,7 @@ public java.lang.String getExternalId() {
    * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ @java.lang.Override @@ -937,14 +1045,15 @@ public java.lang.String getHeadquartersAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; } } /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -953,16 +1062,15 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -973,6 +1081,8 @@ public java.lang.String getHeadquartersAddress() { public static final int HIRING_AGENCY_FIELD_NUMBER = 6; private boolean hiringAgency_; /** + * + * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -980,6 +1090,7 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ @java.lang.Override @@ -990,6 +1101,8 @@ public boolean getHiringAgency() { public static final int EEO_TEXT_FIELD_NUMBER = 7; private volatile java.lang.Object eeoText_; /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -998,6 +1111,7 @@ public boolean getHiringAgency() {
    * 
* * string eeo_text = 7; + * * @return The eeoText. */ @java.lang.Override @@ -1006,14 +1120,15 @@ public java.lang.String getEeoText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; } } /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1022,16 +1137,15 @@ public java.lang.String getEeoText() {
    * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ @java.lang.Override - public com.google.protobuf.ByteString - getEeoTextBytes() { + public com.google.protobuf.ByteString getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eeoText_ = b; return b; } else { @@ -1042,6 +1156,8 @@ public java.lang.String getEeoText() { public static final int WEBSITE_URI_FIELD_NUMBER = 8; private volatile java.lang.Object websiteUri_; /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1049,6 +1165,7 @@ public java.lang.String getEeoText() {
    * 
* * string website_uri = 8; + * * @return The websiteUri. */ @java.lang.Override @@ -1057,14 +1174,15 @@ public java.lang.String getWebsiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; } } /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1072,16 +1190,15 @@ public java.lang.String getWebsiteUri() {
    * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebsiteUriBytes() { + public com.google.protobuf.ByteString getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -1092,12 +1209,15 @@ public java.lang.String getWebsiteUri() { public static final int CAREER_SITE_URI_FIELD_NUMBER = 9; private volatile java.lang.Object careerSiteUri_; /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ @java.lang.Override @@ -1106,30 +1226,30 @@ public java.lang.String getCareerSiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; } } /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getCareerSiteUriBytes() { + public com.google.protobuf.ByteString getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -1140,11 +1260,14 @@ public java.lang.String getCareerSiteUri() { public static final int IMAGE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object imageUri_; /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The imageUri. */ @java.lang.Override @@ -1153,29 +1276,29 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -1186,6 +1309,8 @@ public java.lang.String getImageUri() { public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_; /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -1198,15 +1323,18 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_; } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -1219,14 +1347,18 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated + public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -1239,15 +1371,19 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated + public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -1260,24 +1396,30 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } public static final int DERIVED_INFO_FIELD_NUMBER = 12; private com.google.cloud.talent.v4.Company.DerivedInfo derivedInfo_; /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -1285,23 +1427,34 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -1311,6 +1464,8 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB public static final int SUSPENDED_FIELD_NUMBER = 13; private boolean suspended_; /** + * + * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -1318,6 +1473,7 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ @java.lang.Override @@ -1326,6 +1482,7 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1337,8 +1494,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1370,7 +1526,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageUri_); } for (int i = 0; i < keywordSearchableJobCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); } if (derivedInfo_ != null) { output.writeMessage(12, getDerivedInfo()); @@ -1397,15 +1554,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalId_); } if (size_ != com.google.cloud.talent.v4.CompanySize.COMPANY_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, size_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headquartersAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, headquartersAddress_); } if (hiringAgency_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, hiringAgency_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hiringAgency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eeoText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eeoText_); @@ -1428,12 +1583,10 @@ public int getSerializedSize() { size += 1 * getKeywordSearchableJobCustomAttributesList().size(); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDerivedInfo()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, suspended_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1443,41 +1596,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Company)) { return super.equals(obj); } com.google.cloud.talent.v4.Company other = (com.google.cloud.talent.v4.Company) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getExternalId() - .equals(other.getExternalId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; if (size_ != other.size_) return false; - if (!getHeadquartersAddress() - .equals(other.getHeadquartersAddress())) return false; - if (getHiringAgency() - != other.getHiringAgency()) return false; - if (!getEeoText() - .equals(other.getEeoText())) return false; - if (!getWebsiteUri() - .equals(other.getWebsiteUri())) return false; - if (!getCareerSiteUri() - .equals(other.getCareerSiteUri())) return false; - if (!getImageUri() - .equals(other.getImageUri())) return false; + if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() != other.getHiringAgency()) return false; + if (!getEeoText().equals(other.getEeoText())) return false; + if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; if (!getKeywordSearchableJobCustomAttributesList() .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo() - .equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } - if (getSuspended() - != other.getSuspended()) return false; + if (getSuspended() != other.getSuspended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1500,8 +1642,7 @@ public int hashCode() { hash = (37 * hash) + HEADQUARTERS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getHeadquartersAddress().hashCode(); hash = (37 * hash) + HIRING_AGENCY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHiringAgency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHiringAgency()); hash = (37 * hash) + EEO_TEXT_FIELD_NUMBER; hash = (53 * hash) + getEeoText().hashCode(); hash = (37 * hash) + WEBSITE_URI_FIELD_NUMBER; @@ -1519,104 +1660,109 @@ public int hashCode() { hash = (53 * hash) + getDerivedInfo().hashCode(); } hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.Company parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Company parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Company parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Company parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.Company parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Company parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Company parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Company parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Company parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Company parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Company parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Company parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Company parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Company parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Company prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Company resource represents a company in the service. A company is the
    * entity that owns job postings, that is, the hiring entity responsible for
@@ -1625,33 +1771,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.Company}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Company)
       com.google.cloud.talent.v4.CompanyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CompanyProto
+          .internal_static_google_cloud_talent_v4_Company_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
+      return com.google.cloud.talent.v4.CompanyProto
+          .internal_static_google_cloud_talent_v4_Company_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.Company.class, com.google.cloud.talent.v4.Company.Builder.class);
+              com.google.cloud.talent.v4.Company.class,
+              com.google.cloud.talent.v4.Company.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Company.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1689,9 +1834,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.CompanyProto.internal_static_google_cloud_talent_v4_Company_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.CompanyProto
+          .internal_static_google_cloud_talent_v4_Company_descriptor;
     }
 
     @java.lang.Override
@@ -1723,7 +1868,8 @@ public com.google.cloud.talent.v4.Company buildPartial() {
       result.careerSiteUri_ = careerSiteUri_;
       result.imageUri_ = imageUri_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView();
+        keywordSearchableJobCustomAttributes_ =
+            keywordSearchableJobCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_;
@@ -1741,38 +1887,39 @@ public com.google.cloud.talent.v4.Company buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Company) {
-        return mergeFrom((com.google.cloud.talent.v4.Company)other);
+        return mergeFrom((com.google.cloud.talent.v4.Company) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1861,80 +2008,92 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              externalId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                externalId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              size_ = input.readEnum();
+                break;
+              } // case 26
+            case 32:
+              {
+                size_ = input.readEnum();
 
-              break;
-            } // case 32
-            case 42: {
-              headquartersAddress_ = input.readStringRequireUtf8();
+                break;
+              } // case 32
+            case 42:
+              {
+                headquartersAddress_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 48: {
-              hiringAgency_ = input.readBool();
+                break;
+              } // case 42
+            case 48:
+              {
+                hiringAgency_ = input.readBool();
 
-              break;
-            } // case 48
-            case 58: {
-              eeoText_ = input.readStringRequireUtf8();
+                break;
+              } // case 48
+            case 58:
+              {
+                eeoText_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 58
-            case 66: {
-              websiteUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 58
+            case 66:
+              {
+                websiteUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 66
-            case 74: {
-              careerSiteUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 66
+            case 74:
+              {
+                careerSiteUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 74
-            case 82: {
-              imageUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 74
+            case 82:
+              {
+                imageUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 82
-            case 90: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureKeywordSearchableJobCustomAttributesIsMutable();
-              keywordSearchableJobCustomAttributes_.add(s);
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getDerivedInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 82
+            case 90:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureKeywordSearchableJobCustomAttributesIsMutable();
+                keywordSearchableJobCustomAttributes_.add(s);
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 98
-            case 104: {
-              suspended_ = input.readBool();
+                break;
+              } // case 98
+            case 104:
+              {
+                suspended_ = input.readBool();
 
-              break;
-            } // case 104
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 104
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1944,10 +2103,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1958,13 +2120,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1973,6 +2135,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1983,15 +2147,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1999,6 +2162,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2009,20 +2174,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2033,15 +2200,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2052,16 +2222,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2069,18 +2239,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2089,20 +2261,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2110,54 +2283,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2165,6 +2345,8 @@ public Builder setDisplayNameBytes( private java.lang.Object externalId_ = ""; /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2172,13 +2354,13 @@ public Builder setDisplayNameBytes(
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -2187,6 +2369,8 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2194,15 +2378,14 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -2210,6 +2393,8 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2217,20 +2402,22 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId( - java.lang.String value) { + public Builder setExternalId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2238,15 +2425,18 @@ public Builder setExternalId(
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2254,16 +2444,16 @@ public Builder clearExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -2271,51 +2461,65 @@ public Builder setExternalIdBytes( private int size_ = 0; /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ - @java.lang.Override public int getSizeValue() { + @java.lang.Override + public int getSizeValue() { return size_; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @param value The enum numeric value on the wire for size to set. * @return This builder for chaining. */ public Builder setSizeValue(int value) { - + size_ = value; onChanged(); return this; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The size. */ @java.lang.Override public com.google.cloud.talent.v4.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompanySize result = com.google.cloud.talent.v4.CompanySize.valueOf(size_); + com.google.cloud.talent.v4.CompanySize result = + com.google.cloud.talent.v4.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4.CompanySize.UNRECOGNIZED : result; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @param value The size to set. * @return This builder for chaining. */ @@ -2323,21 +2527,24 @@ public Builder setSize(com.google.cloud.talent.v4.CompanySize value) { if (value == null) { throw new NullPointerException(); } - + size_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0; onChanged(); return this; @@ -2345,6 +2552,8 @@ public Builder clearSize() { private java.lang.Object headquartersAddress_ = ""; /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2353,13 +2562,13 @@ public Builder clearSize() {
      * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ public java.lang.String getHeadquartersAddress() { java.lang.Object ref = headquartersAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; @@ -2368,6 +2577,8 @@ public java.lang.String getHeadquartersAddress() { } } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2376,15 +2587,14 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ - public com.google.protobuf.ByteString - getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -2392,6 +2602,8 @@ public java.lang.String getHeadquartersAddress() { } } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2400,20 +2612,22 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @param value The headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddress( - java.lang.String value) { + public Builder setHeadquartersAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + headquartersAddress_ = value; onChanged(); return this; } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2422,15 +2636,18 @@ public Builder setHeadquartersAddress(
      * 
* * string headquarters_address = 5; + * * @return This builder for chaining. */ public Builder clearHeadquartersAddress() { - + headquartersAddress_ = getDefaultInstance().getHeadquartersAddress(); onChanged(); return this; } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2439,23 +2656,25 @@ public Builder clearHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @param value The bytes for headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + headquartersAddress_ = value; onChanged(); return this; } - private boolean hiringAgency_ ; + private boolean hiringAgency_; /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2463,6 +2682,7 @@ public Builder setHeadquartersAddressBytes(
      * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ @java.lang.Override @@ -2470,6 +2690,8 @@ public boolean getHiringAgency() { return hiringAgency_; } /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2477,16 +2699,19 @@ public boolean getHiringAgency() {
      * 
* * bool hiring_agency = 6; + * * @param value The hiringAgency to set. * @return This builder for chaining. */ public Builder setHiringAgency(boolean value) { - + hiringAgency_ = value; onChanged(); return this; } /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2494,10 +2719,11 @@ public Builder setHiringAgency(boolean value) {
      * 
* * bool hiring_agency = 6; + * * @return This builder for chaining. */ public Builder clearHiringAgency() { - + hiringAgency_ = false; onChanged(); return this; @@ -2505,6 +2731,8 @@ public Builder clearHiringAgency() { private java.lang.Object eeoText_ = ""; /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2513,13 +2741,13 @@ public Builder clearHiringAgency() {
      * 
* * string eeo_text = 7; + * * @return The eeoText. */ public java.lang.String getEeoText() { java.lang.Object ref = eeoText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; @@ -2528,6 +2756,8 @@ public java.lang.String getEeoText() { } } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2536,15 +2766,14 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ - public com.google.protobuf.ByteString - getEeoTextBytes() { + public com.google.protobuf.ByteString getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eeoText_ = b; return b; } else { @@ -2552,6 +2781,8 @@ public java.lang.String getEeoText() { } } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2560,20 +2791,22 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; + * * @param value The eeoText to set. * @return This builder for chaining. */ - public Builder setEeoText( - java.lang.String value) { + public Builder setEeoText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eeoText_ = value; onChanged(); return this; } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2582,15 +2815,18 @@ public Builder setEeoText(
      * 
* * string eeo_text = 7; + * * @return This builder for chaining. */ public Builder clearEeoText() { - + eeoText_ = getDefaultInstance().getEeoText(); onChanged(); return this; } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2599,16 +2835,16 @@ public Builder clearEeoText() {
      * 
* * string eeo_text = 7; + * * @param value The bytes for eeoText to set. * @return This builder for chaining. */ - public Builder setEeoTextBytes( - com.google.protobuf.ByteString value) { + public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eeoText_ = value; onChanged(); return this; @@ -2616,6 +2852,8 @@ public Builder setEeoTextBytes( private java.lang.Object websiteUri_ = ""; /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2623,13 +2861,13 @@ public Builder setEeoTextBytes(
      * 
* * string website_uri = 8; + * * @return The websiteUri. */ public java.lang.String getWebsiteUri() { java.lang.Object ref = websiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; @@ -2638,6 +2876,8 @@ public java.lang.String getWebsiteUri() { } } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2645,15 +2885,14 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ - public com.google.protobuf.ByteString - getWebsiteUriBytes() { + public com.google.protobuf.ByteString getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -2661,6 +2900,8 @@ public java.lang.String getWebsiteUri() { } } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2668,20 +2909,22 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; + * * @param value The websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUri( - java.lang.String value) { + public Builder setWebsiteUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + websiteUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2689,15 +2932,18 @@ public Builder setWebsiteUri(
      * 
* * string website_uri = 8; + * * @return This builder for chaining. */ public Builder clearWebsiteUri() { - + websiteUri_ = getDefaultInstance().getWebsiteUri(); onChanged(); return this; } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2705,16 +2951,16 @@ public Builder clearWebsiteUri() {
      * 
* * string website_uri = 8; + * * @param value The bytes for websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUriBytes( - com.google.protobuf.ByteString value) { + public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + websiteUri_ = value; onChanged(); return this; @@ -2722,19 +2968,21 @@ public Builder setWebsiteUriBytes( private java.lang.Object careerSiteUri_ = ""; /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ public java.lang.String getCareerSiteUri() { java.lang.Object ref = careerSiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; @@ -2743,21 +2991,22 @@ public java.lang.String getCareerSiteUri() { } } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ - public com.google.protobuf.ByteString - getCareerSiteUriBytes() { + public com.google.protobuf.ByteString getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -2765,57 +3014,64 @@ public java.lang.String getCareerSiteUri() { } } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @param value The careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUri( - java.lang.String value) { + public Builder setCareerSiteUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + careerSiteUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return This builder for chaining. */ public Builder clearCareerSiteUri() { - + careerSiteUri_ = getDefaultInstance().getCareerSiteUri(); onChanged(); return this; } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @param value The bytes for careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUriBytes( - com.google.protobuf.ByteString value) { + public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + careerSiteUri_ = value; onChanged(); return this; @@ -2823,18 +3079,20 @@ public Builder setCareerSiteUriBytes( private java.lang.Object imageUri_ = ""; /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -2843,20 +3101,21 @@ public java.lang.String getImageUri() { } } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -2864,67 +3123,79 @@ public java.lang.String getImageUri() { } } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri( - java.lang.String value) { + public Builder setImageUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes( - com.google.protobuf.ByteString value) { + public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKeywordSearchableJobCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); + keywordSearchableJobCustomAttributes_ = + new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -2936,16 +3207,20 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -2957,15 +3232,20 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated + public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -2977,16 +3257,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated + public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -2998,17 +3283,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -3020,24 +3309,28 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param index The index to set the value at. * @param value The keywordSearchableJobCustomAttributes to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setKeywordSearchableJobCustomAttributes( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.set(index, value); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -3049,23 +3342,27 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param value The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributes( - java.lang.String value) { + @java.lang.Deprecated + public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -3077,13 +3374,16 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param values The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllKeywordSearchableJobCustomAttributes( + @java.lang.Deprecated + public Builder addAllKeywordSearchableJobCustomAttributes( java.lang.Iterable values) { ensureKeywordSearchableJobCustomAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3092,6 +3392,8 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() { return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -3103,18 +3405,23 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearKeywordSearchableJobCustomAttributes() { + @java.lang.Deprecated + public Builder clearKeywordSearchableJobCustomAttributes() { keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -3126,18 +3433,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param value The bytes of the keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributesBytes( + @java.lang.Deprecated + public Builder addKeywordSearchableJobCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); @@ -3146,39 +3456,58 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() { private com.google.cloud.talent.v4.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> derivedInfoBuilder_; + com.google.cloud.talent.v4.Company.DerivedInfo, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> + derivedInfoBuilder_; /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ public com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -3194,11 +3523,15 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo val return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo( com.google.cloud.talent.v4.Company.DerivedInfo.Builder builderForValue) { @@ -3212,17 +3545,23 @@ public Builder setDerivedInfo( return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Company.DerivedInfo.newBuilder(derivedInfo_) + .mergeFrom(value) + .buildPartial(); } else { derivedInfo_ = value; } @@ -3234,11 +3573,15 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Company.DerivedInfo v return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -3252,55 +3595,73 @@ public Builder clearDerivedInfo() { return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4.Company.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null ? - com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> + com.google.cloud.talent.v4.Company.DerivedInfo, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company.DerivedInfo, com.google.cloud.talent.v4.Company.DerivedInfo.Builder, com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder>( - getDerivedInfo(), - getParentForChildren(), - isClean()); + derivedInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company.DerivedInfo, + com.google.cloud.talent.v4.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder>( + getDerivedInfo(), getParentForChildren(), isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; } - private boolean suspended_ ; + private boolean suspended_; /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3308,6 +3669,7 @@ public com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrB
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ @java.lang.Override @@ -3315,6 +3677,8 @@ public boolean getSuspended() { return suspended_; } /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3322,16 +3686,19 @@ public boolean getSuspended() {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The suspended to set. * @return This builder for chaining. */ public Builder setSuspended(boolean value) { - + suspended_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3339,17 +3706,18 @@ public Builder setSuspended(boolean value) {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSuspended() { - + suspended_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3359,12 +3727,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Company) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Company) private static final com.google.cloud.talent.v4.Company DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Company(); } @@ -3373,27 +3741,27 @@ public static com.google.cloud.talent.v4.Company getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Company parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Company parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3408,6 +3776,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Company getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java similarity index 100% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyName.java diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java similarity index 80% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java index 86b5b656462e..9bc275268969 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company.proto package com.google.cloud.talent.v4; -public interface CompanyOrBuilder extends +public interface CompanyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Company) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -18,10 +36,13 @@ public interface CompanyOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -32,32 +53,39 @@ public interface CompanyOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -65,10 +93,13 @@ public interface CompanyOrBuilder extends
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ java.lang.String getExternalId(); /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -76,31 +107,39 @@ public interface CompanyOrBuilder extends
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - com.google.protobuf.ByteString - getExternalIdBytes(); + com.google.protobuf.ByteString getExternalIdBytes(); /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ int getSizeValue(); /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4.CompanySize size = 4; + * * @return The size. */ com.google.cloud.talent.v4.CompanySize getSize(); /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -109,10 +148,13 @@ public interface CompanyOrBuilder extends
    * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ java.lang.String getHeadquartersAddress(); /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -121,12 +163,14 @@ public interface CompanyOrBuilder extends
    * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ - com.google.protobuf.ByteString - getHeadquartersAddressBytes(); + com.google.protobuf.ByteString getHeadquartersAddressBytes(); /** + * + * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -134,11 +178,14 @@ public interface CompanyOrBuilder extends
    * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ boolean getHiringAgency(); /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -147,10 +194,13 @@ public interface CompanyOrBuilder extends
    * 
* * string eeo_text = 7; + * * @return The eeoText. */ java.lang.String getEeoText(); /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -159,12 +209,14 @@ public interface CompanyOrBuilder extends
    * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ - com.google.protobuf.ByteString - getEeoTextBytes(); + com.google.protobuf.ByteString getEeoTextBytes(); /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -172,10 +224,13 @@ public interface CompanyOrBuilder extends
    * 
* * string website_uri = 8; + * * @return The websiteUri. */ java.lang.String getWebsiteUri(); /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -183,54 +238,66 @@ public interface CompanyOrBuilder extends
    * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ - com.google.protobuf.ByteString - getWebsiteUriBytes(); + com.google.protobuf.ByteString getWebsiteUriBytes(); /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ java.lang.String getCareerSiteUri(); /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ - com.google.protobuf.ByteString - getCareerSiteUriBytes(); + com.google.protobuf.ByteString getCareerSiteUriBytes(); /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The imageUri. */ java.lang.String getImageUri(); /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString - getImageUriBytes(); + com.google.protobuf.ByteString getImageUriBytes(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -243,13 +310,16 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated java.util.List - getKeywordSearchableJobCustomAttributesList(); + @java.lang.Deprecated + java.util.List getKeywordSearchableJobCustomAttributesList(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -262,12 +332,16 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated int getKeywordSearchableJobCustomAttributesCount(); + @java.lang.Deprecated + int getKeywordSearchableJobCustomAttributesCount(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -280,13 +354,17 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated java.lang.String getKeywordSearchableJobCustomAttributes(int index); + @java.lang.Deprecated + java.lang.String getKeywordSearchableJobCustomAttributes(int index); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
@@ -299,42 +377,59 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4/company.proto;l=107 + * + * @deprecated google.cloud.talent.v4.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4/company.proto;l=107 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ com.google.cloud.talent.v4.Company.DerivedInfo getDerivedInfo(); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.talent.v4.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** + * + * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -342,6 +437,7 @@ public interface CompanyOrBuilder extends
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ boolean getSuspended(); diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java new file mode 100644 index 000000000000..590d483ffb67 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyProto.java @@ -0,0 +1,118 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company.proto + +package com.google.cloud.talent.v4; + +public final class CompanyProto { + private CompanyProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Company_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Company_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Company_DerivedInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Company_DerivedInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n$google/cloud/talent/v4/company.proto\022\026" + + "google.cloud.talent.v4\032\037google/api/field" + + "_behavior.proto\032\031google/api/resource.pro" + + "to\032#google/cloud/talent/v4/common.proto\"" + + "\310\004\n\007Company\022\014\n\004name\030\001 \001(\t\022\031\n\014display_nam" + + "e\030\002 \001(\tB\003\340A\002\022\030\n\013external_id\030\003 \001(\tB\003\340A\002\0221" + + "\n\004size\030\004 \001(\0162#.google.cloud.talent.v4.Co" + + "mpanySize\022\034\n\024headquarters_address\030\005 \001(\t\022" + + "\025\n\rhiring_agency\030\006 \001(\010\022\020\n\010eeo_text\030\007 \001(\t" + + "\022\023\n\013website_uri\030\010 \001(\t\022\027\n\017career_site_uri" + + "\030\t \001(\t\022\021\n\timage_uri\030\n \001(\t\0224\n(keyword_sea" + + "rchable_job_custom_attributes\030\013 \003(\tB\002\030\001\022" + + "F\n\014derived_info\030\014 \001(\0132+.google.cloud.tal" + + "ent.v4.Company.DerivedInfoB\003\340A\003\022\026\n\tsuspe" + + "nded\030\r \001(\010B\003\340A\003\032N\n\013DerivedInfo\022?\n\025headqu" + + "arters_location\030\001 \001(\0132 .google.cloud.tal" + + "ent.v4.Location:Y\352AV\n\033jobs.googleapis.co" + + "m/Company\0227projects/{project}/tenants/{t" + + "enant}/companies/{company}Bp\n\032com.google" + + ".cloud.talent.v4B\014CompanyProtoP\001Z23/v4/{company.name=projects/*/te" + + "nants/*/companies/*}:\007company\332A\023company," + + "update_mask\022\221\001\n\rDeleteCompany\022,.google.c" + + "loud.talent.v4.DeleteCompanyRequest\032\026.go" + + "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v4/{name=p" + + "rojects/*/tenants/*/companies/*}\332A\004name\022" + + "\252\001\n\rListCompanies\022,.google.cloud.talent." + + "v4.ListCompaniesRequest\032-.google.cloud.t" + + "alent.v4.ListCompaniesResponse\"<\202\323\344\223\002-\022+" + + "/v4/{parent=projects/*/tenants/*}/compan" + + "ies\332A\006parent\032l\312A\023jobs.googleapis.com\322ASh" + + "ttps://www.googleapis.com/auth/cloud-pla" + + "tform,https://www.googleapis.com/auth/jo" + + "bsBw\n\032com.google.cloud.talent.v4B\023Compan" + + "yServiceProtoP\001Z * An enum that represents the size of the company. *
* * Protobuf enum {@code google.cloud.talent.v4.CompanySize} */ -public enum CompanySize - implements com.google.protobuf.ProtocolMessageEnum { +public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if the size isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum CompanySize */ COMPANY_SIZE_UNSPECIFIED(0), /** + * + * *
    * The company has less than 50 employees.
    * 
@@ -29,6 +49,8 @@ public enum CompanySize */ MINI(1), /** + * + * *
    * The company has between 50 and 99 employees.
    * 
@@ -37,6 +59,8 @@ public enum CompanySize */ SMALL(2), /** + * + * *
    * The company has between 100 and 499 employees.
    * 
@@ -45,6 +69,8 @@ public enum CompanySize */ SMEDIUM(3), /** + * + * *
    * The company has between 500 and 999 employees.
    * 
@@ -53,6 +79,8 @@ public enum CompanySize */ MEDIUM(4), /** + * + * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -61,6 +89,8 @@ public enum CompanySize */ BIG(5), /** + * + * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -69,6 +99,8 @@ public enum CompanySize */ BIGGER(6), /** + * + * *
    * The company has 10,000 or more employees.
    * 
@@ -80,6 +112,8 @@ public enum CompanySize ; /** + * + * *
    * Default value if the size isn't specified.
    * 
@@ -88,6 +122,8 @@ public enum CompanySize */ public static final int COMPANY_SIZE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The company has less than 50 employees.
    * 
@@ -96,6 +132,8 @@ public enum CompanySize */ public static final int MINI_VALUE = 1; /** + * + * *
    * The company has between 50 and 99 employees.
    * 
@@ -104,6 +142,8 @@ public enum CompanySize */ public static final int SMALL_VALUE = 2; /** + * + * *
    * The company has between 100 and 499 employees.
    * 
@@ -112,6 +152,8 @@ public enum CompanySize */ public static final int SMEDIUM_VALUE = 3; /** + * + * *
    * The company has between 500 and 999 employees.
    * 
@@ -120,6 +162,8 @@ public enum CompanySize */ public static final int MEDIUM_VALUE = 4; /** + * + * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -128,6 +172,8 @@ public enum CompanySize */ public static final int BIG_VALUE = 5; /** + * + * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -136,6 +182,8 @@ public enum CompanySize */ public static final int BIGGER_VALUE = 6; /** + * + * *
    * The company has 10,000 or more employees.
    * 
@@ -144,7 +192,6 @@ public enum CompanySize */ public static final int GIANT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static CompanySize valueOf(int value) { */ public static CompanySize forNumber(int value) { switch (value) { - case 0: return COMPANY_SIZE_UNSPECIFIED; - case 1: return MINI; - case 2: return SMALL; - case 3: return SMEDIUM; - case 4: return MEDIUM; - case 5: return BIG; - case 6: return BIGGER; - case 7: return GIANT; - default: return null; + case 0: + return COMPANY_SIZE_UNSPECIFIED; + case 1: + return MINI; + case 2: + return SMALL; + case 3: + return SMEDIUM; + case 4: + return MEDIUM; + case 5: + return BIG; + case 6: + return BIGGER; + case 7: + return GIANT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompanySize> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompanySize findValueByNumber(int number) { - return CompanySize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompanySize findValueByNumber(int number) { + return CompanySize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final CompanySize[] VALUES = values(); - public static CompanySize valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CompanySize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private CompanySize(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CompanySize) } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java similarity index 69% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java index 6b99c5ed88d9..954fc885ef93 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; /** + * + * *
  * Filter on job compensation type and amount.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationFilter} */ -public final class CompensationFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompensationFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationFilter) CompensationFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationFilter.newBuilder() to construct. private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); @@ -26,39 +44,43 @@ private CompensationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationFilter.class, com.google.cloud.talent.v4.CompensationFilter.Builder.class); + com.google.cloud.talent.v4.CompensationFilter.class, + com.google.cloud.talent.v4.CompensationFilter.Builder.class); } /** + * + * *
    * Specify the type of filtering.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompensationFilter.FilterType} */ - public enum FilterType - implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -67,6 +89,8 @@ public enum FilterType */ FILTER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -80,6 +104,8 @@ public enum FilterType
      */
     UNIT_ONLY(1),
     /**
+     *
+     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -96,6 +122,8 @@ public enum FilterType
      */
     UNIT_AND_AMOUNT(2),
     /**
+     *
+     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -105,6 +133,8 @@ public enum FilterType
      */
     ANNUALIZED_BASE_AMOUNT(3),
     /**
+     *
+     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -117,6 +147,8 @@ public enum FilterType
     ;
 
     /**
+     *
+     *
      * 
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -125,6 +157,8 @@ public enum FilterType */ public static final int FILTER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -138,6 +172,8 @@ public enum FilterType
      */
     public static final int UNIT_ONLY_VALUE = 1;
     /**
+     *
+     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -154,6 +190,8 @@ public enum FilterType
      */
     public static final int UNIT_AND_AMOUNT_VALUE = 2;
     /**
+     *
+     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -163,6 +201,8 @@ public enum FilterType
      */
     public static final int ANNUALIZED_BASE_AMOUNT_VALUE = 3;
     /**
+     *
+     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4.CompensationFilter.units].
@@ -172,7 +212,6 @@ public enum FilterType
      */
     public static final int ANNUALIZED_TOTAL_AMOUNT_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -197,51 +236,53 @@ public static FilterType valueOf(int value) {
      */
     public static FilterType forNumber(int value) {
       switch (value) {
-        case 0: return FILTER_TYPE_UNSPECIFIED;
-        case 1: return UNIT_ONLY;
-        case 2: return UNIT_AND_AMOUNT;
-        case 3: return ANNUALIZED_BASE_AMOUNT;
-        case 4: return ANNUALIZED_TOTAL_AMOUNT;
-        default: return null;
+        case 0:
+          return FILTER_TYPE_UNSPECIFIED;
+        case 1:
+          return UNIT_ONLY;
+        case 2:
+          return UNIT_AND_AMOUNT;
+        case 3:
+          return ANNUALIZED_BASE_AMOUNT;
+        case 4:
+          return ANNUALIZED_TOTAL_AMOUNT;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        FilterType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FilterType findValueByNumber(int number) {
-              return FilterType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public FilterType findValueByNumber(int number) {
+            return FilterType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.CompensationFilter.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final FilterType[] VALUES = values();
 
-    public static FilterType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FilterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -261,63 +302,95 @@ private FilterType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationFilter.FilterType result = com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationFilter.FilterType result = + com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED + : result; } public static final int UNITS_FIELD_NUMBER = 2; private java.util.List units_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit> units_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit> + units_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>() { - public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit convert(java.lang.Integer from) { + public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(from); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(from); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ @java.lang.Override - public java.util.List getUnitsList() { + public java.util.List + getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>(units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>( + units_, units_converter_); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ @java.lang.Override @@ -325,12 +398,17 @@ public int getUnitsCount() { return units_.size(); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ @@ -339,26 +417,35 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int return units_converter_.convert(units_.get(index)); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ @java.lang.Override - public java.util.List - getUnitsValueList() { + public java.util.List getUnitsValueList() { return units_; } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -366,16 +453,20 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int public int getUnitsValue(int index) { return units_.get(index); } + private int unitsMemoizedSerializedSize; public static final int RANGE_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.CompensationInfo.CompensationRange range_; /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ @java.lang.Override @@ -383,18 +474,25 @@ public boolean hasRange() { return range_ != null; } /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { - return range_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : range_; } /** + * + * *
    * Compensation range.
    * 
@@ -402,19 +500,23 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { return getRange(); } public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER = 4; private boolean includeJobsWithUnspecifiedCompensationRange_; /** + * + * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -423,6 +525,7 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,10 +537,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (type_ != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (getUnitsList().size() > 0) { @@ -462,29 +566,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.talent.v4.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; for (int i = 0; i < units_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(units_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(units_.get(i)); } size += dataSize; - if (!getUnitsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }unitsMemoizedSerializedSize = dataSize; + if (!getUnitsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + unitsMemoizedSerializedSize = dataSize; } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRange()); } if (includeJobsWithUnspecifiedCompensationRange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, includeJobsWithUnspecifiedCompensationRange_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, includeJobsWithUnspecifiedCompensationRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -494,19 +599,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompensationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompensationFilter other = (com.google.cloud.talent.v4.CompensationFilter) obj; + com.google.cloud.talent.v4.CompensationFilter other = + (com.google.cloud.talent.v4.CompensationFilter) obj; if (type_ != other.type_) return false; if (!units_.equals(other.units_)) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange() - .equals(other.getRange())) return false; + if (!getRange().equals(other.getRange())) return false; } if (getIncludeJobsWithUnspecifiedCompensationRange() != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; @@ -532,137 +637,145 @@ public int hashCode() { hash = (53 * hash) + getRange().hashCode(); } hash = (37 * hash) + INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeJobsWithUnspecifiedCompensationRange()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean( + getIncludeJobsWithUnspecifiedCompensationRange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompensationFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CompensationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Filter on job compensation type and amount.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationFilter) com.google.cloud.talent.v4.CompensationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationFilter.class, com.google.cloud.talent.v4.CompensationFilter.Builder.class); + com.google.cloud.talent.v4.CompensationFilter.class, + com.google.cloud.talent.v4.CompensationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,9 +795,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_CompensationFilter_descriptor; } @java.lang.Override @@ -703,7 +816,8 @@ public com.google.cloud.talent.v4.CompensationFilter build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter buildPartial() { - com.google.cloud.talent.v4.CompensationFilter result = new com.google.cloud.talent.v4.CompensationFilter(this); + com.google.cloud.talent.v4.CompensationFilter result = + new com.google.cloud.talent.v4.CompensationFilter(this); int from_bitField0_ = bitField0_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { @@ -716,7 +830,8 @@ public com.google.cloud.talent.v4.CompensationFilter buildPartial() { } else { result.range_ = rangeBuilder_.build(); } - result.includeJobsWithUnspecifiedCompensationRange_ = includeJobsWithUnspecifiedCompensationRange_; + result.includeJobsWithUnspecifiedCompensationRange_ = + includeJobsWithUnspecifiedCompensationRange_; onBuilt(); return result; } @@ -725,38 +840,39 @@ public com.google.cloud.talent.v4.CompensationFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationFilter) { - return mergeFrom((com.google.cloud.talent.v4.CompensationFilter)other); + return mergeFrom((com.google.cloud.talent.v4.CompensationFilter) other); } else { super.mergeFrom(other); return this; @@ -782,7 +898,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationFilter other) { mergeRange(other.getRange()); } if (other.getIncludeJobsWithUnspecifiedCompensationRange() != false) { - setIncludeJobsWithUnspecifiedCompensationRange(other.getIncludeJobsWithUnspecifiedCompensationRange()); + setIncludeJobsWithUnspecifiedCompensationRange( + other.getIncludeJobsWithUnspecifiedCompensationRange()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -810,46 +927,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); - - break; - } // case 8 - case 16: { - int tmpRaw = input.readEnum(); - ensureUnitsIsMutable(); - units_.add(tmpRaw); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { + type_ = input.readEnum(); + + break; + } // case 8 + case 16: + { int tmpRaw = input.readEnum(); ensureUnitsIsMutable(); units_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: { - input.readMessage( - getRangeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureUnitsIsMutable(); + units_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: + { + input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); + + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -859,55 +980,80 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int type_ = 0; /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationFilter.FilterType result = com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationFilter.FilterType result = + com.google.cloud.talent.v4.CompensationFilter.FilterType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompensationFilter.FilterType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -915,28 +1061,33 @@ public Builder setType(com.google.cloud.talent.v4.CompensationFilter.FilterType if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private java.util.List units_ = - java.util.Collections.emptyList(); + private java.util.List units_ = java.util.Collections.emptyList(); + private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); @@ -944,37 +1095,54 @@ private void ensureUnitsIsMutable() { } } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ - public java.util.List getUnitsList() { + public java.util.List + getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>(units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4.CompensationInfo.CompensationUnit>( + units_, units_converter_); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ public int getUnitsCount() { return units_.size(); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ @@ -982,12 +1150,17 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int return units_converter_.convert(units_.get(index)); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The units to set. * @return This builder for chaining. @@ -1003,12 +1176,17 @@ public Builder setUnits( return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The units to add. * @return This builder for chaining. */ @@ -1022,17 +1200,23 @@ public Builder addUnits(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The units to add. * @return This builder for chaining. */ public Builder addAllUnits( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureUnitsIsMutable(); for (com.google.cloud.talent.v4.CompensationInfo.CompensationUnit value : values) { units_.add(value.getNumber()); @@ -1041,12 +1225,17 @@ public Builder addAllUnits( return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearUnits() { @@ -1056,25 +1245,34 @@ public Builder clearUnits() { return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ - public java.util.List - getUnitsValueList() { + public java.util.List getUnitsValueList() { return java.util.Collections.unmodifiableList(units_); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -1082,30 +1280,39 @@ public int getUnitsValue(int index) { return units_.get(index); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ - public Builder setUnitsValue( - int index, int value) { + public Builder setUnitsValue(int index, int value) { ensureUnitsIsMutable(); units_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for units to add. * @return This builder for chaining. */ @@ -1116,17 +1323,21 @@ public Builder addUnitsValue(int value) { return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for units to add. * @return This builder for chaining. */ - public Builder addAllUnitsValue( - java.lang.Iterable values) { + public Builder addAllUnitsValue(java.lang.Iterable values) { ensureUnitsIsMutable(); for (int value : values) { units_.add(value); @@ -1137,34 +1348,47 @@ public Builder addAllUnitsValue( private com.google.cloud.talent.v4.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + rangeBuilder_; /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { - return range_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : range_; } else { return rangeBuilder_.getMessage(); } } /** + * + * *
      * Compensation range.
      * 
@@ -1185,6 +1409,8 @@ public Builder setRange(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1203,6 +1429,8 @@ public Builder setRange( return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1213,7 +1441,9 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati if (rangeBuilder_ == null) { if (range_ != null) { range_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(range_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(range_) + .mergeFrom(value) + .buildPartial(); } else { range_ = value; } @@ -1225,6 +1455,8 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1243,6 +1475,8 @@ public Builder clearRange() { return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1250,26 +1484,32 @@ public Builder clearRange() { * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getRangeBuilder() { - + onChanged(); return getRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { - return range_ == null ? - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : range_; } } /** + * + * *
      * Compensation range.
      * 
@@ -1277,27 +1517,33 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getRange(), - getParentForChildren(), - isClean()); + rangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getRange(), getParentForChildren(), isClean()); range_ = null; } return rangeBuilder_; } - private boolean includeJobsWithUnspecifiedCompensationRange_ ; + private boolean includeJobsWithUnspecifiedCompensationRange_; /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -1305,39 +1551,45 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { return includeJobsWithUnspecifiedCompensationRange_; } /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @param value The includeJobsWithUnspecifiedCompensationRange to set. * @return This builder for chaining. */ public Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value) { - + includeJobsWithUnspecifiedCompensationRange_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return This builder for chaining. */ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { - + includeJobsWithUnspecifiedCompensationRange_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1347,12 +1599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationFilter) private static final com.google.cloud.talent.v4.CompensationFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationFilter(); } @@ -1361,27 +1613,27 @@ public static com.google.cloud.talent.v4.CompensationFilter getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,6 +1648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompensationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java similarity index 63% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java index d1b94eae13b1..abbebdf63a46 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationFilterOrBuilder.java @@ -1,104 +1,162 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface CompensationFilterOrBuilder extends +public interface CompensationFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.talent.v4.CompensationFilter.FilterType getType(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ java.util.List getUnitsList(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ int getUnitsCount(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnits(int index); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ - java.util.List - getUnitsValueList(); + java.util.List getUnitsValueList(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ int getUnitsValue(int index); /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange(); /** + * + * *
    * Compensation range.
    * 
@@ -108,12 +166,15 @@ public interface CompensationFilterOrBuilder extends com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** + * + * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ boolean getIncludeJobsWithUnspecifiedCompensationRange(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java similarity index 75% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java index 88833d342347..c1688793a3a4 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfo.java @@ -1,54 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Job compensation details.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo} */ -public final class CompensationInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompensationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo) CompensationInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationInfo.newBuilder() to construct. private CompensationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompensationInfo() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.class, com.google.cloud.talent.v4.CompensationInfo.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.class, + com.google.cloud.talent.v4.CompensationInfo.Builder.class); } /** + * + * *
    * The type of compensation.
    * For compensation amounts specified in non-monetary amounts,
@@ -67,9 +88,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4.CompensationInfo.CompensationType}
    */
-  public enum CompensationType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -78,6 +100,8 @@ public enum CompensationType */ COMPENSATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -89,6 +113,8 @@ public enum CompensationType
      */
     BASE(1),
     /**
+     *
+     *
      * 
      * Bonus.
      * 
@@ -97,6 +123,8 @@ public enum CompensationType */ BONUS(2), /** + * + * *
      * Signing bonus.
      * 
@@ -105,6 +133,8 @@ public enum CompensationType */ SIGNING_BONUS(3), /** + * + * *
      * Equity.
      * 
@@ -113,6 +143,8 @@ public enum CompensationType */ EQUITY(4), /** + * + * *
      * Profit sharing.
      * 
@@ -121,6 +153,8 @@ public enum CompensationType */ PROFIT_SHARING(5), /** + * + * *
      * Commission.
      * 
@@ -129,6 +163,8 @@ public enum CompensationType */ COMMISSIONS(6), /** + * + * *
      * Tips.
      * 
@@ -137,6 +173,8 @@ public enum CompensationType */ TIPS(7), /** + * + * *
      * Other compensation type.
      * 
@@ -148,6 +186,8 @@ public enum CompensationType ; /** + * + * *
      * Default value.
      * 
@@ -156,6 +196,8 @@ public enum CompensationType */ public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -167,6 +209,8 @@ public enum CompensationType
      */
     public static final int BASE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Bonus.
      * 
@@ -175,6 +219,8 @@ public enum CompensationType */ public static final int BONUS_VALUE = 2; /** + * + * *
      * Signing bonus.
      * 
@@ -183,6 +229,8 @@ public enum CompensationType */ public static final int SIGNING_BONUS_VALUE = 3; /** + * + * *
      * Equity.
      * 
@@ -191,6 +239,8 @@ public enum CompensationType */ public static final int EQUITY_VALUE = 4; /** + * + * *
      * Profit sharing.
      * 
@@ -199,6 +249,8 @@ public enum CompensationType */ public static final int PROFIT_SHARING_VALUE = 5; /** + * + * *
      * Commission.
      * 
@@ -207,6 +259,8 @@ public enum CompensationType */ public static final int COMMISSIONS_VALUE = 6; /** + * + * *
      * Tips.
      * 
@@ -215,6 +269,8 @@ public enum CompensationType */ public static final int TIPS_VALUE = 7; /** + * + * *
      * Other compensation type.
      * 
@@ -223,7 +279,6 @@ public enum CompensationType */ public static final int OTHER_COMPENSATION_TYPE_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -248,45 +303,54 @@ public static CompensationType valueOf(int value) { */ public static CompensationType forNumber(int value) { switch (value) { - case 0: return COMPENSATION_TYPE_UNSPECIFIED; - case 1: return BASE; - case 2: return BONUS; - case 3: return SIGNING_BONUS; - case 4: return EQUITY; - case 5: return PROFIT_SHARING; - case 6: return COMMISSIONS; - case 7: return TIPS; - case 8: return OTHER_COMPENSATION_TYPE; - default: return null; + case 0: + return COMPENSATION_TYPE_UNSPECIFIED; + case 1: + return BASE; + case 2: + return BONUS; + case 3: + return SIGNING_BONUS; + case 4: + return EQUITY; + case 5: + return PROFIT_SHARING; + case 6: + return COMMISSIONS; + case 7: + return TIPS; + case 8: + return OTHER_COMPENSATION_TYPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompensationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationType findValueByNumber(int number) { - return CompensationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationType findValueByNumber(int number) { + return CompensationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CompensationInfo.getDescriptor().getEnumTypes().get(0); } @@ -295,8 +359,7 @@ public CompensationType findValueByNumber(int number) { public static CompensationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -314,15 +377,18 @@ private CompensationType(int value) { } /** + * + * *
    * Pay frequency.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompensationInfo.CompensationUnit} */ - public enum CompensationUnit - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -331,6 +397,8 @@ public enum CompensationUnit */ COMPENSATION_UNIT_UNSPECIFIED(0), /** + * + * *
      * Hourly.
      * 
@@ -339,6 +407,8 @@ public enum CompensationUnit */ HOURLY(1), /** + * + * *
      * Daily.
      * 
@@ -347,6 +417,8 @@ public enum CompensationUnit */ DAILY(2), /** + * + * *
      * Weekly
      * 
@@ -355,6 +427,8 @@ public enum CompensationUnit */ WEEKLY(3), /** + * + * *
      * Monthly.
      * 
@@ -363,6 +437,8 @@ public enum CompensationUnit */ MONTHLY(4), /** + * + * *
      * Yearly.
      * 
@@ -371,6 +447,8 @@ public enum CompensationUnit */ YEARLY(5), /** + * + * *
      * One time.
      * 
@@ -379,6 +457,8 @@ public enum CompensationUnit */ ONE_TIME(6), /** + * + * *
      * Other compensation units.
      * 
@@ -390,6 +470,8 @@ public enum CompensationUnit ; /** + * + * *
      * Default value.
      * 
@@ -398,6 +480,8 @@ public enum CompensationUnit */ public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Hourly.
      * 
@@ -406,6 +490,8 @@ public enum CompensationUnit */ public static final int HOURLY_VALUE = 1; /** + * + * *
      * Daily.
      * 
@@ -414,6 +500,8 @@ public enum CompensationUnit */ public static final int DAILY_VALUE = 2; /** + * + * *
      * Weekly
      * 
@@ -422,6 +510,8 @@ public enum CompensationUnit */ public static final int WEEKLY_VALUE = 3; /** + * + * *
      * Monthly.
      * 
@@ -430,6 +520,8 @@ public enum CompensationUnit */ public static final int MONTHLY_VALUE = 4; /** + * + * *
      * Yearly.
      * 
@@ -438,6 +530,8 @@ public enum CompensationUnit */ public static final int YEARLY_VALUE = 5; /** + * + * *
      * One time.
      * 
@@ -446,6 +540,8 @@ public enum CompensationUnit */ public static final int ONE_TIME_VALUE = 6; /** + * + * *
      * Other compensation units.
      * 
@@ -454,7 +550,6 @@ public enum CompensationUnit */ public static final int OTHER_COMPENSATION_UNIT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -479,44 +574,52 @@ public static CompensationUnit valueOf(int value) { */ public static CompensationUnit forNumber(int value) { switch (value) { - case 0: return COMPENSATION_UNIT_UNSPECIFIED; - case 1: return HOURLY; - case 2: return DAILY; - case 3: return WEEKLY; - case 4: return MONTHLY; - case 5: return YEARLY; - case 6: return ONE_TIME; - case 7: return OTHER_COMPENSATION_UNIT; - default: return null; + case 0: + return COMPENSATION_UNIT_UNSPECIFIED; + case 1: + return HOURLY; + case 2: + return DAILY; + case 3: + return WEEKLY; + case 4: + return MONTHLY; + case 5: + return YEARLY; + case 6: + return ONE_TIME; + case 7: + return OTHER_COMPENSATION_UNIT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompensationUnit> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationUnit findValueByNumber(int number) { - return CompensationUnit.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationUnit findValueByNumber(int number) { + return CompensationUnit.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CompensationInfo.getDescriptor().getEnumTypes().get(1); } @@ -525,8 +628,7 @@ public CompensationUnit findValueByNumber(int number) { public static CompensationUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -543,71 +645,92 @@ private CompensationUnit(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.CompensationInfo.CompensationUnit) } - public interface CompensationEntryOrBuilder extends + public interface CompensationEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo.CompensationEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The type. */ com.google.cloud.talent.v4.CompensationInfo.CompensationType getType(); /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ int getUnitValue(); /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit(); /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ boolean hasAmount(); /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return The amount. */ com.google.type.Money getAmount(); /** + * + * *
      * Compensation amount.
      * 
@@ -617,24 +740,32 @@ public interface CompensationEntryOrBuilder extends com.google.type.MoneyOrBuilder getAmountOrBuilder(); /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange(); /** + * + * *
      * Compensation range.
      * 
@@ -644,6 +775,8 @@ public interface CompensationEntryOrBuilder extends com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -651,10 +784,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -662,12 +798,14 @@ public interface CompensationEntryOrBuilder extends
      * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -680,10 +818,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ boolean hasExpectedUnitsPerYear(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -696,10 +837,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ com.google.protobuf.DoubleValue getExpectedUnitsPerYear(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -715,9 +859,12 @@ public interface CompensationEntryOrBuilder extends
      */
     com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder();
 
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase();
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.CompensationAmountCase
+        getCompensationAmountCase();
   }
   /**
+   *
+   *
    * 
    * A compensation entry that represents one component of compensation, such
    * as base pay, bonus, or other compensation type.
@@ -730,15 +877,16 @@ public interface CompensationEntryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
    */
-  public static final class CompensationEntry extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class CompensationEntry extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
       CompensationEntryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use CompensationEntry.newBuilder() to construct.
     private CompensationEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private CompensationEntry() {
       type_ = 0;
       unit_ = 0;
@@ -747,38 +895,42 @@ private CompensationEntry() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CompensationEntry();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class,
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
     }
 
     private int compensationAmountCase_ = 0;
     private java.lang.Object compensationAmount_;
+
     public enum CompensationAmountCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AMOUNT(3),
       RANGE(4),
       COMPENSATIONAMOUNT_NOT_SET(0);
       private final int value;
+
       private CompensationAmountCase(int value) {
         this.value = value;
       }
@@ -794,88 +946,116 @@ public static CompensationAmountCase valueOf(int value) {
 
       public static CompensationAmountCase forNumber(int value) {
         switch (value) {
-          case 3: return AMOUNT;
-          case 4: return RANGE;
-          case 0: return COMPENSATIONAMOUNT_NOT_SET;
-          default: return null;
+          case 3:
+            return AMOUNT;
+          case 4:
+            return RANGE;
+          case 0:
+            return COMPENSATIONAMOUNT_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public CompensationAmountCase
-    getCompensationAmountCase() {
-      return CompensationAmountCase.forNumber(
-          compensationAmountCase_);
+    public CompensationAmountCase getCompensationAmountCase() {
+      return CompensationAmountCase.forNumber(compensationAmountCase_);
     }
 
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
+     *
+     *
      * 
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationType result = com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationType result = + com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED + : result; } public static final int UNIT_FIELD_NUMBER = 2; private int unit_; /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override public int getUnitValue() { + @java.lang.Override + public int getUnitValue() { return unit_; } /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ - @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { + @java.lang.Override + public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } public static final int AMOUNT_FIELD_NUMBER = 3; /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ @java.lang.Override @@ -883,21 +1063,26 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return The amount. */ @java.lang.Override public com.google.type.Money getAmount() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } /** + * + * *
      * Compensation amount.
      * 
@@ -907,18 +1092,21 @@ public com.google.type.Money getAmount() { @java.lang.Override public com.google.type.MoneyOrBuilder getAmountOrBuilder() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } public static final int RANGE_FIELD_NUMBER = 4; /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -926,21 +1114,26 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } /** + * + * *
      * Compensation range.
      * 
@@ -948,9 +1141,10 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } @@ -958,6 +1152,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -965,6 +1161,7 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
      * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -973,14 +1170,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -988,16 +1186,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1008,6 +1205,8 @@ public java.lang.String getDescription() { public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER = 6; private com.google.protobuf.DoubleValue expectedUnitsPerYear_; /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1020,6 +1219,7 @@ public java.lang.String getDescription() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ @java.lang.Override @@ -1027,6 +1227,8 @@ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYear_ != null; } /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1039,13 +1241,18 @@ public boolean hasExpectedUnitsPerYear() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ @java.lang.Override public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { - return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null + ? com.google.protobuf.DoubleValue.getDefaultInstance() + : expectedUnitsPerYear_; } /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1065,6 +1272,7 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1076,19 +1284,25 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      if (type_ != com.google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      if (type_
+          != com.google.cloud.talent.v4.CompensationInfo.CompensationType
+              .COMPENSATION_TYPE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(1, type_);
       }
-      if (unit_ != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
+      if (unit_
+          != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
+              .COMPENSATION_UNIT_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
         output.writeMessage(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        output.writeMessage(4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
+        output.writeMessage(
+            4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
@@ -1105,28 +1319,36 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_ != com.google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, type_);
-      }
-      if (unit_ != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(2, unit_);
+      if (type_
+          != com.google.cloud.talent.v4.CompensationInfo.CompensationType
+              .COMPENSATION_TYPE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+      }
+      if (unit_
+          != com.google.cloud.talent.v4.CompensationInfo.CompensationUnit
+              .COMPENSATION_UNIT_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, (com.google.type.Money) compensationAmount_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                4,
+                (com.google.cloud.talent.v4.CompensationInfo.CompensationRange)
+                    compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
       }
       if (expectedUnitsPerYear_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, getExpectedUnitsPerYear());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpectedUnitsPerYear());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1136,31 +1358,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationEntry)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) obj;
+      com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other =
+          (com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) obj;
 
       if (type_ != other.type_) return false;
       if (unit_ != other.unit_) return false;
-      if (!getDescription()
-          .equals(other.getDescription())) return false;
+      if (!getDescription().equals(other.getDescription())) return false;
       if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
       if (hasExpectedUnitsPerYear()) {
-        if (!getExpectedUnitsPerYear()
-            .equals(other.getExpectedUnitsPerYear())) return false;
+        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
       }
       if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
       switch (compensationAmountCase_) {
         case 3:
-          if (!getAmount()
-              .equals(other.getAmount())) return false;
+          if (!getAmount().equals(other.getAmount())) return false;
           break;
         case 4:
-          if (!getRange()
-              .equals(other.getRange())) return false;
+          if (!getRange().equals(other.getRange())) return false;
           break;
         case 0:
         default:
@@ -1204,87 +1423,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo.CompensationEntry prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1294,6 +1520,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A compensation entry that represents one component of compensation, such
      * as base pay, bonus, or other compensation type.
@@ -1306,33 +1534,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationEntry}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
         com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.talent.v4.CommonProto
+            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
+        return com.google.cloud.talent.v4.CommonProto
+            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.class,
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder.class);
       }
 
       // Construct using com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1360,13 +1588,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.talent.v4.CommonProto
+            .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
+      public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
+          getDefaultInstanceForType() {
         return com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance();
       }
 
@@ -1381,7 +1610,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry build() {
 
       @java.lang.Override
       public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry buildPartial() {
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry result = new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry(this);
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry result =
+            new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry(this);
         result.type_ = type_;
         result.unit_ = unit_;
         if (compensationAmountCase_ == 3) {
@@ -1413,46 +1643,52 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry buildPartia
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) {
-          return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationEntry)other);
+          return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationEntry) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
-        if (other == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry other) {
+        if (other
+            == com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance())
+          return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -1467,17 +1703,20 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.Compensatio
           mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
         }
         switch (other.getCompensationAmountCase()) {
-          case AMOUNT: {
-            mergeAmount(other.getAmount());
-            break;
-          }
-          case RANGE: {
-            mergeRange(other.getRange());
-            break;
-          }
-          case COMPENSATIONAMOUNT_NOT_SET: {
-            break;
-          }
+          case AMOUNT:
+            {
+              mergeAmount(other.getAmount());
+              break;
+            }
+          case RANGE:
+            {
+              mergeRange(other.getRange());
+              break;
+            }
+          case COMPENSATIONAMOUNT_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1496,57 +1735,59 @@ public Builder mergeFrom(
           throws java.io.IOException {
         if (extensionRegistry == null) {
           throw new java.lang.NullPointerException();
-        }
-        try {
-          boolean done = false;
-          while (!done) {
-            int tag = input.readTag();
-            switch (tag) {
-              case 0:
-                done = true;
-                break;
-              case 8: {
-                type_ = input.readEnum();
-
-                break;
-              } // case 8
-              case 16: {
-                unit_ = input.readEnum();
-
-                break;
-              } // case 16
-              case 26: {
-                input.readMessage(
-                    getAmountFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                compensationAmountCase_ = 3;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getRangeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                compensationAmountCase_ = 4;
-                break;
-              } // case 34
-              case 42: {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-              case 50: {
-                input.readMessage(
-                    getExpectedUnitsPerYearFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 50
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
+        }
+        try {
+          boolean done = false;
+          while (!done) {
+            int tag = input.readTag();
+            switch (tag) {
+              case 0:
+                done = true;
                 break;
-              } // default:
+              case 8:
+                {
+                  type_ = input.readEnum();
+
+                  break;
+                } // case 8
+              case 16:
+                {
+                  unit_ = input.readEnum();
+
+                  break;
+                } // case 16
+              case 26:
+                {
+                  input.readMessage(getAmountFieldBuilder().getBuilder(), extensionRegistry);
+                  compensationAmountCase_ = 3;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
+                  compensationAmountCase_ = 4;
+                  break;
+                } // case 34
+              case 42:
+                {
+                  description_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 42
+              case 50:
+                {
+                  input.readMessage(
+                      getExpectedUnitsPerYearFieldBuilder().getBuilder(), extensionRegistry);
+
+                  break;
+                } // case 50
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1556,12 +1797,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int compensationAmountCase_ = 0;
       private java.lang.Object compensationAmount_;
-      public CompensationAmountCase
-          getCompensationAmountCase() {
-        return CompensationAmountCase.forNumber(
-            compensationAmountCase_);
+
+      public CompensationAmountCase getCompensationAmountCase() {
+        return CompensationAmountCase.forNumber(compensationAmountCase_);
       }
 
       public Builder clearCompensationAmount() {
@@ -1571,58 +1812,73 @@ public Builder clearCompensationAmount() {
         return this;
       }
 
-
       private int type_ = 0;
       /**
+       *
+       *
        * 
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationType result = com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationType result = + com.google.cloud.talent.v4.CompensationInfo.CompensationType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationType.UNRECOGNIZED + : result; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1630,22 +1886,25 @@ public Builder setType(com.google.cloud.talent.v4.CompensationInfo.CompensationT if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1653,55 +1912,71 @@ public Builder clearType() { private int unit_ = 0; /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override public int getUnitValue() { + @java.lang.Override + public int getUnitValue() { return unit_; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @param value The enum numeric value on the wire for unit to set. * @return This builder for chaining. */ public Builder setUnitValue(int value) { - + unit_ = value; onChanged(); return this; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @param value The unit to set. * @return This builder for chaining. */ @@ -1709,35 +1984,42 @@ public Builder setUnit(com.google.cloud.talent.v4.CompensationInfo.CompensationU if (value == null) { throw new NullPointerException(); } - + unit_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationUnit unit = 2; + * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> amountBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + amountBuilder_; /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ @java.lang.Override @@ -1745,11 +2027,14 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; + * * @return The amount. */ @java.lang.Override @@ -1767,6 +2052,8 @@ public com.google.type.Money getAmount() { } } /** + * + * *
        * Compensation amount.
        * 
@@ -1787,14 +2074,15 @@ public Builder setAmount(com.google.type.Money value) { return this; } /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; */ - public Builder setAmount( - com.google.type.Money.Builder builderForValue) { + public Builder setAmount(com.google.type.Money.Builder builderForValue) { if (amountBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -1805,6 +2093,8 @@ public Builder setAmount( return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1813,10 +2103,12 @@ public Builder setAmount( */ public Builder mergeAmount(com.google.type.Money value) { if (amountBuilder_ == null) { - if (compensationAmountCase_ == 3 && - compensationAmount_ != com.google.type.Money.getDefaultInstance()) { - compensationAmount_ = com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) - .mergeFrom(value).buildPartial(); + if (compensationAmountCase_ == 3 + && compensationAmount_ != com.google.type.Money.getDefaultInstance()) { + compensationAmount_ = + com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) + .mergeFrom(value) + .buildPartial(); } else { compensationAmount_ = value; } @@ -1832,6 +2124,8 @@ public Builder mergeAmount(com.google.type.Money value) { return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1855,6 +2149,8 @@ public Builder clearAmount() { return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1865,6 +2161,8 @@ public com.google.type.Money.Builder getAmountBuilder() { return getAmountFieldBuilder().getBuilder(); } /** + * + * *
        * Compensation amount.
        * 
@@ -1883,6 +2181,8 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { } } /** + * + * *
        * Compensation amount.
        * 
@@ -1890,32 +2190,40 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { * .google.type.Money amount = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { if (!(compensationAmountCase_ == 3)) { compensationAmount_ = com.google.type.Money.getDefaultInstance(); } - amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - (com.google.type.Money) compensationAmount_, - getParentForChildren(), - isClean()); + amountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + (com.google.type.Money) compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 3; - onChanged();; + onChanged(); + ; return amountBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + rangeBuilder_; /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -1923,18 +2231,22 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) + compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } else { @@ -1945,6 +2257,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getRange() } } /** + * + * *
        * Compensation range.
        * 
@@ -1965,6 +2279,8 @@ public Builder setRange(com.google.cloud.talent.v4.CompensationInfo.Compensation return this; } /** + * + * *
        * Compensation range.
        * 
@@ -1983,18 +2299,27 @@ public Builder setRange( return this; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ - public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { - if (compensationAmountCase_ == 4 && - compensationAmount_ != com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) { - compensationAmount_ = com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder((com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_) - .mergeFrom(value).buildPartial(); + if (compensationAmountCase_ == 4 + && compensationAmount_ + != com.google.cloud.talent.v4.CompensationInfo.CompensationRange + .getDefaultInstance()) { + compensationAmount_ = + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( + (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) + compensationAmount_) + .mergeFrom(value) + .buildPartial(); } else { compensationAmount_ = value; } @@ -2010,6 +2335,8 @@ public Builder mergeRange(com.google.cloud.talent.v4.CompensationInfo.Compensati return this; } /** + * + * *
        * Compensation range.
        * 
@@ -2033,16 +2360,21 @@ public Builder clearRange() { return this; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getRangeBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder + getRangeBuilder() { return getRangeFieldBuilder().getBuilder(); } /** + * + * *
        * Compensation range.
        * 
@@ -2050,17 +2382,21 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder get * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if ((compensationAmountCase_ == 4) && (rangeBuilder_ != null)) { return rangeBuilder_.getMessageOrBuilder(); } else { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) + compensationAmount_; } return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } } /** + * + * *
        * Compensation range.
        * 
@@ -2068,26 +2404,36 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge * .google.cloud.talent.v4.CompensationInfo.CompensationRange range = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { if (!(compensationAmountCase_ == 4)) { - compensationAmount_ = com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); + compensationAmount_ = + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } - rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) compensationAmount_, + rangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) + compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 4; - onChanged();; + onChanged(); + ; return rangeBuilder_; } private java.lang.Object description_ = ""; /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2095,13 +2441,13 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
        * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2110,6 +2456,8 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2117,15 +2465,14 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2133,6 +2480,8 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2140,20 +2489,22 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2161,15 +2512,18 @@ public Builder setDescription(
        * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2177,16 +2531,16 @@ public Builder clearDescription() {
        * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2194,8 +2548,13 @@ public Builder setDescriptionBytes( private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> expectedUnitsPerYearBuilder_; + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> + expectedUnitsPerYearBuilder_; /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2208,12 +2567,15 @@ public Builder setDescriptionBytes(
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYearBuilder_ != null || expectedUnitsPerYear_ != null; } /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2226,16 +2588,21 @@ public boolean hasExpectedUnitsPerYear() {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { if (expectedUnitsPerYearBuilder_ == null) { - return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null + ? com.google.protobuf.DoubleValue.getDefaultInstance() + : expectedUnitsPerYear_; } else { return expectedUnitsPerYearBuilder_.getMessage(); } } /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2263,6 +2630,8 @@ public Builder setExpectedUnitsPerYear(com.google.protobuf.DoubleValue value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2288,6 +2657,8 @@ public Builder setExpectedUnitsPerYear(
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2305,7 +2676,9 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         if (expectedUnitsPerYearBuilder_ == null) {
           if (expectedUnitsPerYear_ != null) {
             expectedUnitsPerYear_ =
-              com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_).mergeFrom(value).buildPartial();
+                com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             expectedUnitsPerYear_ = value;
           }
@@ -2317,6 +2690,8 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2342,6 +2717,8 @@ public Builder clearExpectedUnitsPerYear() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2356,11 +2733,13 @@ public Builder clearExpectedUnitsPerYear() {
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       public com.google.protobuf.DoubleValue.Builder getExpectedUnitsPerYearBuilder() {
-        
+
         onChanged();
         return getExpectedUnitsPerYearFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2378,11 +2757,14 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
         if (expectedUnitsPerYearBuilder_ != null) {
           return expectedUnitsPerYearBuilder_.getMessageOrBuilder();
         } else {
-          return expectedUnitsPerYear_ == null ?
-              com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_;
+          return expectedUnitsPerYear_ == null
+              ? com.google.protobuf.DoubleValue.getDefaultInstance()
+              : expectedUnitsPerYear_;
         }
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2397,18 +2779,22 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> 
+              com.google.protobuf.DoubleValue,
+              com.google.protobuf.DoubleValue.Builder,
+              com.google.protobuf.DoubleValueOrBuilder>
           getExpectedUnitsPerYearFieldBuilder() {
         if (expectedUnitsPerYearBuilder_ == null) {
-          expectedUnitsPerYearBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
-                  getExpectedUnitsPerYear(),
-                  getParentForChildren(),
-                  isClean());
+          expectedUnitsPerYearBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.DoubleValue,
+                  com.google.protobuf.DoubleValue.Builder,
+                  com.google.protobuf.DoubleValueOrBuilder>(
+                  getExpectedUnitsPerYear(), getParentForChildren(), isClean());
           expectedUnitsPerYear_ = null;
         }
         return expectedUnitsPerYearBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2421,41 +2807,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo.CompensationEntry)
-    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationEntry DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo.CompensationEntry();
     }
 
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstance() {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompensationEntry parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompensationEntry parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2467,17 +2856,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CompensationRangeOrBuilder extends
+  public interface CompensationRangeOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo.CompensationRange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2486,10 +2878,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ boolean hasMaxCompensation(); /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2498,10 +2893,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ com.google.type.Money getMaxCompensation(); /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2514,6 +2912,8 @@ public interface CompensationRangeOrBuilder extends
     com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder();
 
     /**
+     *
+     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2521,10 +2921,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ boolean hasMinCompensation(); /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2532,10 +2935,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ com.google.type.Money getMinCompensation(); /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2547,52 +2953,57 @@ public interface CompensationRangeOrBuilder extends
     com.google.type.MoneyOrBuilder getMinCompensationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Compensation range.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationRange} */ - public static final class CompensationRange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompensationRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompensationInfo.CompensationRange) CompensationRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationRange.newBuilder() to construct. private CompensationRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationRange() { - } + + private CompensationRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); } public static final int MAX_COMPENSATION_FIELD_NUMBER = 2; private com.google.type.Money maxCompensation_; /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2601,6 +3012,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ @java.lang.Override @@ -2608,6 +3020,8 @@ public boolean hasMaxCompensation() { return maxCompensation_ != null; } /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2616,13 +3030,18 @@ public boolean hasMaxCompensation() {
      * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ @java.lang.Override public com.google.type.Money getMaxCompensation() { - return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; + return maxCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : maxCompensation_; } /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2640,6 +3059,8 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
     public static final int MIN_COMPENSATION_FIELD_NUMBER = 1;
     private com.google.type.Money minCompensation_;
     /**
+     *
+     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2647,6 +3068,7 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
      * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ @java.lang.Override @@ -2654,6 +3076,8 @@ public boolean hasMinCompensation() { return minCompensation_ != null; } /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2661,13 +3085,18 @@ public boolean hasMinCompensation() {
      * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ @java.lang.Override public com.google.type.Money getMinCompensation() { - return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; + return minCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : minCompensation_; } /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2682,6 +3111,7 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2693,8 +3123,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (minCompensation_ != null) {
         output.writeMessage(1, getMinCompensation());
       }
@@ -2711,12 +3140,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (minCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getMinCompensation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinCompensation());
       }
       if (maxCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getMaxCompensation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxCompensation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2726,22 +3153,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) obj;
+      com.google.cloud.talent.v4.CompensationInfo.CompensationRange other =
+          (com.google.cloud.talent.v4.CompensationInfo.CompensationRange) obj;
 
       if (hasMaxCompensation() != other.hasMaxCompensation()) return false;
       if (hasMaxCompensation()) {
-        if (!getMaxCompensation()
-            .equals(other.getMaxCompensation())) return false;
+        if (!getMaxCompensation().equals(other.getMaxCompensation())) return false;
       }
       if (hasMinCompensation() != other.hasMinCompensation()) return false;
       if (hasMinCompensation()) {
-        if (!getMinCompensation()
-            .equals(other.getMinCompensation())) return false;
+        if (!getMinCompensation().equals(other.getMinCompensation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2768,87 +3194,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo.CompensationRange prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4.CompensationInfo.CompensationRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2858,39 +3291,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Compensation range.
      * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo.CompensationRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo.CompensationRange) com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.class, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2910,13 +3345,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstanceForType() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getDefaultInstanceForType() { return com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance(); } @@ -2931,7 +3367,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo.CompensationRange buildPartial() { - com.google.cloud.talent.v4.CompensationInfo.CompensationRange result = new com.google.cloud.talent.v4.CompensationInfo.CompensationRange(this); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange result = + new com.google.cloud.talent.v4.CompensationInfo.CompensationRange(this); if (maxCompensationBuilder_ == null) { result.maxCompensation_ = maxCompensation_; } else { @@ -2950,46 +3387,52 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationInfo.CompensationRange) { - return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationRange)other); + return mergeFrom((com.google.cloud.talent.v4.CompensationInfo.CompensationRange) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo.CompensationRange other) { - if (other == com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange other) { + if (other + == com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance()) + return this; if (other.hasMaxCompensation()) { mergeMaxCompensation(other.getMaxCompensation()); } @@ -3022,26 +3465,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMinCompensationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getMaxCompensationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getMinCompensationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getMaxCompensationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3054,8 +3498,11 @@ public Builder mergeFrom( private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + maxCompensationBuilder_; /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3064,12 +3511,15 @@ public Builder mergeFrom(
        * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ public boolean hasMaxCompensation() { return maxCompensationBuilder_ != null || maxCompensation_ != null; } /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3078,16 +3528,21 @@ public boolean hasMaxCompensation() {
        * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ public com.google.type.Money getMaxCompensation() { if (maxCompensationBuilder_ == null) { - return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; + return maxCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : maxCompensation_; } else { return maxCompensationBuilder_.getMessage(); } } /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3111,6 +3566,8 @@ public Builder setMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3120,8 +3577,7 @@ public Builder setMaxCompensation(com.google.type.Money value) {
        *
        * .google.type.Money max_compensation = 2;
        */
-      public Builder setMaxCompensation(
-          com.google.type.Money.Builder builderForValue) {
+      public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue) {
         if (maxCompensationBuilder_ == null) {
           maxCompensation_ = builderForValue.build();
           onChanged();
@@ -3132,6 +3588,8 @@ public Builder setMaxCompensation(
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3145,7 +3603,7 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         if (maxCompensationBuilder_ == null) {
           if (maxCompensation_ != null) {
             maxCompensation_ =
-              com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
+                com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
           } else {
             maxCompensation_ = value;
           }
@@ -3157,6 +3615,8 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3178,6 +3638,8 @@ public Builder clearMaxCompensation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3188,11 +3650,13 @@ public Builder clearMaxCompensation() {
        * .google.type.Money max_compensation = 2;
        */
       public com.google.type.Money.Builder getMaxCompensationBuilder() {
-        
+
         onChanged();
         return getMaxCompensationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3206,11 +3670,14 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
         if (maxCompensationBuilder_ != null) {
           return maxCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return maxCompensation_ == null ?
-              com.google.type.Money.getDefaultInstance() : maxCompensation_;
+          return maxCompensation_ == null
+              ? com.google.type.Money.getDefaultInstance()
+              : maxCompensation_;
         }
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3221,14 +3688,15 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * .google.type.Money max_compensation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
           getMaxCompensationFieldBuilder() {
         if (maxCompensationBuilder_ == null) {
-          maxCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                  getMaxCompensation(),
-                  getParentForChildren(),
-                  isClean());
+          maxCompensationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Money,
+                  com.google.type.Money.Builder,
+                  com.google.type.MoneyOrBuilder>(
+                  getMaxCompensation(), getParentForChildren(), isClean());
           maxCompensation_ = null;
         }
         return maxCompensationBuilder_;
@@ -3236,8 +3704,11 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
 
       private com.google.type.Money minCompensation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_;
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          minCompensationBuilder_;
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3245,12 +3716,15 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ public boolean hasMinCompensation() { return minCompensationBuilder_ != null || minCompensation_ != null; } /** + * + * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3258,16 +3732,21 @@ public boolean hasMinCompensation() {
        * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ public com.google.type.Money getMinCompensation() { if (minCompensationBuilder_ == null) { - return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; + return minCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : minCompensation_; } else { return minCompensationBuilder_.getMessage(); } } /** + * + * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3290,6 +3769,8 @@ public Builder setMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3298,8 +3779,7 @@ public Builder setMinCompensation(com.google.type.Money value) {
        *
        * .google.type.Money min_compensation = 1;
        */
-      public Builder setMinCompensation(
-          com.google.type.Money.Builder builderForValue) {
+      public Builder setMinCompensation(com.google.type.Money.Builder builderForValue) {
         if (minCompensationBuilder_ == null) {
           minCompensation_ = builderForValue.build();
           onChanged();
@@ -3310,6 +3790,8 @@ public Builder setMinCompensation(
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3322,7 +3804,7 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         if (minCompensationBuilder_ == null) {
           if (minCompensation_ != null) {
             minCompensation_ =
-              com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
+                com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
           } else {
             minCompensation_ = value;
           }
@@ -3334,6 +3816,8 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3354,6 +3838,8 @@ public Builder clearMinCompensation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3363,11 +3849,13 @@ public Builder clearMinCompensation() {
        * .google.type.Money min_compensation = 1;
        */
       public com.google.type.Money.Builder getMinCompensationBuilder() {
-        
+
         onChanged();
         return getMinCompensationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3380,11 +3868,14 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
         if (minCompensationBuilder_ != null) {
           return minCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return minCompensation_ == null ?
-              com.google.type.Money.getDefaultInstance() : minCompensation_;
+          return minCompensation_ == null
+              ? com.google.type.Money.getDefaultInstance()
+              : minCompensation_;
         }
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3394,18 +3885,20 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
        * .google.type.Money min_compensation = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
           getMinCompensationFieldBuilder() {
         if (minCompensationBuilder_ == null) {
-          minCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                  getMinCompensation(),
-                  getParentForChildren(),
-                  isClean());
+          minCompensationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Money,
+                  com.google.type.Money.Builder,
+                  com.google.type.MoneyOrBuilder>(
+                  getMinCompensation(), getParentForChildren(), isClean());
           minCompensation_ = null;
         }
         return minCompensationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3418,41 +3911,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo.CompensationRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo.CompensationRange)
-    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationRange DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo.CompensationRange();
     }
 
-    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstance() {
+    public static com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompensationRange parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompensationRange parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3464,15 +3960,17 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
   private java.util.List entries_;
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3483,10 +3981,13 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getDefaultI
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
   @java.lang.Override
-  public java.util.List getEntriesList() {
+  public java.util.List
+      getEntriesList() {
     return entries_;
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3497,11 +3998,14 @@ public java.util.Listrepeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
       getEntriesOrBuilderList() {
     return entries_;
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3516,6 +4020,8 @@ public int getEntriesCount() {
     return entries_.size();
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3530,6 +4036,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(
     return entries_.get(index);
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3546,8 +4054,11 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
   }
 
   public static final int ANNUALIZED_BASE_COMPENSATION_RANGE_FIELD_NUMBER = 2;
-  private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedBaseCompensationRange_;
+  private com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+      annualizedBaseCompensationRange_;
   /**
+   *
+   *
    * 
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3555,7 +4066,10 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ @java.lang.Override @@ -3563,6 +4077,8 @@ public boolean hasAnnualizedBaseCompensationRange() { return annualizedBaseCompensationRange_ != null; } /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3570,14 +4086,22 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange() { + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedBaseCompensationRange_; } /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3585,16 +4109,22 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualiz
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder() { return getAnnualizedBaseCompensationRange(); } public static final int ANNUALIZED_TOTAL_COMPENSATION_RANGE_FIELD_NUMBER = 3; - private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4.CompensationInfo.CompensationRange + annualizedTotalCompensationRange_; /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3602,7 +4132,10 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ @java.lang.Override @@ -3610,6 +4143,8 @@ public boolean hasAnnualizedTotalCompensationRange() { return annualizedTotalCompensationRange_ != null; } /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3617,14 +4152,22 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange() { + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedTotalCompensationRange_; } /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -3632,14 +4175,18 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualiz
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder() { return getAnnualizedTotalCompensationRange(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3651,8 +4198,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -3672,16 +4218,17 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); } if (annualizedBaseCompensationRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnnualizedBaseCompensationRange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getAnnualizedBaseCompensationRange()); } if (annualizedTotalCompensationRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAnnualizedTotalCompensationRange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getAnnualizedTotalCompensationRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3691,21 +4238,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompensationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompensationInfo other = (com.google.cloud.talent.v4.CompensationInfo) obj; + com.google.cloud.talent.v4.CompensationInfo other = + (com.google.cloud.talent.v4.CompensationInfo) obj; - if (!getEntriesList() - .equals(other.getEntriesList())) return false; - if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) return false; + if (!getEntriesList().equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) + return false; if (hasAnnualizedBaseCompensationRange()) { - if (!getAnnualizedBaseCompensationRange() - .equals(other.getAnnualizedBaseCompensationRange())) return false; + if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) + return false; } - if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) return false; + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) + return false; if (hasAnnualizedTotalCompensationRange()) { if (!getAnnualizedTotalCompensationRange() .equals(other.getAnnualizedTotalCompensationRange())) return false; @@ -3738,130 +4287,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompensationInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompensationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CompensationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Job compensation details.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompensationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompensationInfo) com.google.cloud.talent.v4.CompensationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompensationInfo.class, com.google.cloud.talent.v4.CompensationInfo.Builder.class); + com.google.cloud.talent.v4.CompensationInfo.class, + com.google.cloud.talent.v4.CompensationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.CompensationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3888,9 +4443,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; } @java.lang.Override @@ -3909,7 +4464,8 @@ public com.google.cloud.talent.v4.CompensationInfo build() { @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo buildPartial() { - com.google.cloud.talent.v4.CompensationInfo result = new com.google.cloud.talent.v4.CompensationInfo(this); + com.google.cloud.talent.v4.CompensationInfo result = + new com.google.cloud.talent.v4.CompensationInfo(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3938,38 +4494,39 @@ public com.google.cloud.talent.v4.CompensationInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompensationInfo) { - return mergeFrom((com.google.cloud.talent.v4.CompensationInfo)other); + return mergeFrom((com.google.cloud.talent.v4.CompensationInfo) other); } else { super.mergeFrom(other); return this; @@ -3996,9 +4553,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompensationInfo other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntriesFieldBuilder() : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntriesFieldBuilder() + : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -4036,39 +4594,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry m = - input.readMessage( - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry m = + input.readMessage( + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage( + getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage( + getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4078,21 +4640,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List entries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = new java.util.ArrayList(entries_); + entries_ = + new java.util.ArrayList( + entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> entriesBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, + com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> + entriesBuilder_; /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4102,7 +4673,8 @@ private void ensureEntriesIsMutable() {
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List getEntriesList() {
+    public java.util.List
+        getEntriesList() {
       if (entriesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(entries_);
       } else {
@@ -4110,6 +4682,8 @@ public java.util.List
      * Job compensation information.
      * At most one entry can be of type
@@ -4127,6 +4701,8 @@ public int getEntriesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4144,6 +4720,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4168,6 +4746,8 @@ public Builder setEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4178,7 +4758,8 @@ public Builder setEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder setEntries(
-        int index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
+        int index,
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
         entries_.set(index, builderForValue.build());
@@ -4189,6 +4770,8 @@ public Builder setEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4212,6 +4795,8 @@ public Builder addEntries(com.google.cloud.talent.v4.CompensationInfo.Compensati
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4236,6 +4821,8 @@ public Builder addEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4257,6 +4844,8 @@ public Builder addEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4267,7 +4856,8 @@ public Builder addEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder addEntries(
-        int index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
+        int index,
+        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder builderForValue) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
         entries_.add(index, builderForValue.build());
@@ -4278,6 +4868,8 @@ public Builder addEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4288,11 +4880,11 @@ public Builder addEntries(
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
     public Builder addAllEntries(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (entriesBuilder_ == null) {
         ensureEntriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, entries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_);
         onChanged();
       } else {
         entriesBuilder_.addAllMessages(values);
@@ -4300,6 +4892,8 @@ public Builder addAllEntries(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4320,6 +4914,8 @@ public Builder clearEntries() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4340,6 +4936,8 @@ public Builder removeEntries(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4354,6 +4952,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
       return getEntriesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4363,14 +4963,17 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder get
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder
+        getEntriesOrBuilder(int index) {
       if (entriesBuilder_ == null) {
-        return entries_.get(index);  } else {
+        return entries_.get(index);
+      } else {
         return entriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4380,8 +4983,9 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List 
-         getEntriesOrBuilderList() {
+    public java.util.List<
+            ? extends com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
+        getEntriesOrBuilderList() {
       if (entriesBuilder_ != null) {
         return entriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -4389,6 +4993,8 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4398,11 +5004,15 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder ge
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder addEntriesBuilder() {
-      return getEntriesFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
+    public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder
+        addEntriesBuilder() {
+      return getEntriesFieldBuilder()
+          .addBuilder(
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4414,10 +5024,14 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      */
     public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder addEntriesBuilder(
         int index) {
-      return getEntriesFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
+      return getEntriesFieldBuilder()
+          .addBuilder(
+              index,
+              com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Job compensation information.
      * At most one entry can be of type
@@ -4427,29 +5041,38 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      *
      * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
      */
-    public java.util.List 
-         getEntriesBuilderList() {
+    public java.util.List
+        getEntriesBuilderList() {
       return getEntriesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder> 
+            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry,
+            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder,
+            com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>
         getEntriesFieldBuilder() {
       if (entriesBuilder_ == null) {
-        entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>(
-                entries_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        entriesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry,
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder,
+                com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder>(
+                entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         entries_ = null;
       }
       return entriesBuilder_;
     }
 
-    private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedBaseCompensationRange_;
+    private com.google.cloud.talent.v4.CompensationInfo.CompensationRange
+        annualizedBaseCompensationRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> annualizedBaseCompensationRangeBuilder_;
+            com.google.cloud.talent.v4.CompensationInfo.CompensationRange,
+            com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder,
+            com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>
+        annualizedBaseCompensationRangeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4457,13 +5080,19 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationEntry.Builder add
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ public boolean hasAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRangeBuilder_ != null || annualizedBaseCompensationRange_ != null; + return annualizedBaseCompensationRangeBuilder_ != null + || annualizedBaseCompensationRange_ != null; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4471,17 +5100,25 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { - return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedBaseCompensationRange_; } else { return annualizedBaseCompensationRangeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4489,9 +5126,12 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualiz
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedBaseCompensationRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4505,6 +5145,8 @@ public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.Com return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4512,7 +5154,9 @@ public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.Com
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnualizedBaseCompensationRange( com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder builderForValue) { @@ -4526,6 +5170,8 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4533,13 +5179,19 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedBaseCompensationRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (annualizedBaseCompensationRange_ != null) { annualizedBaseCompensationRange_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(annualizedBaseCompensationRange_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( + annualizedBaseCompensationRange_) + .mergeFrom(value) + .buildPartial(); } else { annualizedBaseCompensationRange_ = value; } @@ -4551,6 +5203,8 @@ public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.C return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4558,7 +5212,9 @@ public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4.C
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { @@ -4572,6 +5228,8 @@ public Builder clearAnnualizedBaseCompensationRange() { return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4579,14 +5237,19 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder() { - + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder + getAnnualizedBaseCompensationRangeBuilder() { + onChanged(); return getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4594,17 +5257,23 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder get
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder() { if (annualizedBaseCompensationRangeBuilder_ != null) { return annualizedBaseCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedBaseCompensationRange_ == null ? - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedBaseCompensationRange_; } } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4612,26 +5281,37 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedBaseCompensationRangeFieldBuilder() { if (annualizedBaseCompensationRangeBuilder_ == null) { - annualizedBaseCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedBaseCompensationRange(), - getParentForChildren(), - isClean()); + annualizedBaseCompensationRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedBaseCompensationRange(), getParentForChildren(), isClean()); annualizedBaseCompensationRange_ = null; } return annualizedBaseCompensationRangeBuilder_; } - private com.google.cloud.talent.v4.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4.CompensationInfo.CompensationRange + annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> annualizedTotalCompensationRangeBuilder_; + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + annualizedTotalCompensationRangeBuilder_; /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4639,13 +5319,19 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ public boolean hasAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRangeBuilder_ != null || annualizedTotalCompensationRange_ != null; + return annualizedTotalCompensationRangeBuilder_ != null + || annualizedTotalCompensationRange_ != null; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4653,17 +5339,25 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { - return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedTotalCompensationRange_; } else { return annualizedTotalCompensationRangeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4671,9 +5365,12 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualiz
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedTotalCompensationRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4687,6 +5384,8 @@ public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.Co return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4694,7 +5393,9 @@ public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.Co
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnualizedTotalCompensationRange( com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder builderForValue) { @@ -4708,6 +5409,8 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4715,13 +5418,19 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedTotalCompensationRange( + com.google.cloud.talent.v4.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (annualizedTotalCompensationRange_ != null) { annualizedTotalCompensationRange_ = - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder(annualizedTotalCompensationRange_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.newBuilder( + annualizedTotalCompensationRange_) + .mergeFrom(value) + .buildPartial(); } else { annualizedTotalCompensationRange_ = value; } @@ -4733,6 +5442,8 @@ public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4. return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4740,7 +5451,9 @@ public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4.
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { @@ -4754,6 +5467,8 @@ public Builder clearAnnualizedTotalCompensationRange() { return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4761,14 +5476,19 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder() { - + public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder + getAnnualizedTotalCompensationRangeBuilder() { + onChanged(); return getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4776,17 +5496,23 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder get
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder() { if (annualizedTotalCompensationRangeBuilder_ != null) { return annualizedTotalCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedTotalCompensationRange_ == null ? - com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedTotalCompensationRange_; } } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -4794,24 +5520,29 @@ public com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder ge
      * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedTotalCompensationRangeFieldBuilder() { if (annualizedTotalCompensationRangeBuilder_ == null) { - annualizedTotalCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo.CompensationRange, com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedTotalCompensationRange(), - getParentForChildren(), - isClean()); + annualizedTotalCompensationRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedTotalCompensationRange(), getParentForChildren(), isClean()); annualizedTotalCompensationRange_ = null; } return annualizedTotalCompensationRangeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4821,12 +5552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompensationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompensationInfo) private static final com.google.cloud.talent.v4.CompensationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompensationInfo(); } @@ -4835,27 +5566,27 @@ public static com.google.cloud.talent.v4.CompensationInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4870,6 +5601,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompensationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java similarity index 73% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java index 812866915df3..796b977c4e14 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompensationInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface CompensationInfoOrBuilder extends +public interface CompensationInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompensationInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -17,9 +35,10 @@ public interface CompensationInfoOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
-  java.util.List 
-      getEntriesList();
+  java.util.List getEntriesList();
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -31,6 +50,8 @@ public interface CompensationInfoOrBuilder extends
    */
   com.google.cloud.talent.v4.CompensationInfo.CompensationEntry getEntries(int index);
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -42,6 +63,8 @@ public interface CompensationInfoOrBuilder extends
    */
   int getEntriesCount();
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -51,9 +74,11 @@ public interface CompensationInfoOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.CompensationInfo.CompensationEntry entries = 1;
    */
-  java.util.List 
+  java.util.List
       getEntriesOrBuilderList();
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -67,6 +92,8 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
       int index);
 
   /**
+   *
+   *
    * 
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -74,11 +101,16 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ boolean hasAnnualizedBaseCompensationRange(); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -86,11 +118,17 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange(); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -98,11 +136,16 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -110,11 +153,16 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ boolean hasAnnualizedTotalCompensationRange(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -122,11 +170,17 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4.CompensationInfo.CompensationEntry.amount] times
@@ -134,7 +188,10 @@ com.google.cloud.talent.v4.CompensationInfo.CompensationEntryOrBuilder getEntrie
    * See [CompensationEntry][google.cloud.talent.v4.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder(); + com.google.cloud.talent.v4.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java similarity index 74% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java index 93948da81edf..99e3191ccb36 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Auto-complete parameters.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryRequest} */ -public final class CompleteQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryRequest) CompleteQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteQueryRequest.newBuilder() to construct. private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteQueryRequest() { tenant_ = ""; query_ = ""; @@ -30,39 +48,43 @@ private CompleteQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryRequest.class, com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4.CompleteQueryRequest.class, + com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); } /** + * + * *
    * Enum to specify the scope of completion.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompleteQueryRequest.CompletionScope} */ - public enum CompletionScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -71,6 +93,8 @@ public enum CompletionScope */ COMPLETION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -79,6 +103,8 @@ public enum CompletionScope */ TENANT(1), /** + * + * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -91,6 +117,8 @@ public enum CompletionScope
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -99,6 +127,8 @@ public enum CompletionScope */ public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -107,6 +137,8 @@ public enum CompletionScope */ public static final int TENANT_VALUE = 1; /** + * + * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -116,7 +148,6 @@ public enum CompletionScope
      */
     public static final int PUBLIC_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -141,39 +172,42 @@ public static CompletionScope valueOf(int value) {
      */
     public static CompletionScope forNumber(int value) {
       switch (value) {
-        case 0: return COMPLETION_SCOPE_UNSPECIFIED;
-        case 1: return TENANT;
-        case 2: return PUBLIC;
-        default: return null;
+        case 0:
+          return COMPLETION_SCOPE_UNSPECIFIED;
+        case 1:
+          return TENANT;
+        case 2:
+          return PUBLIC;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CompletionScope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CompletionScope findValueByNumber(int number) {
-              return CompletionScope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public CompletionScope findValueByNumber(int number) {
+                return CompletionScope.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.CompleteQueryRequest.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -182,8 +216,7 @@ public CompletionScope findValueByNumber(int number) {
     public static CompletionScope valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -201,15 +234,18 @@ private CompletionScope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Enum to specify auto-completion topics.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.CompleteQueryRequest.CompletionType} */ - public enum CompletionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -218,6 +254,8 @@ public enum CompletionType */ COMPLETION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -228,6 +266,8 @@ public enum CompletionType
      */
     JOB_TITLE(1),
     /**
+     *
+     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -239,6 +279,8 @@ public enum CompletionType
      */
     COMPANY_NAME(2),
     /**
+     *
+     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -253,6 +295,8 @@ public enum CompletionType
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -261,6 +305,8 @@ public enum CompletionType */ public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -271,6 +317,8 @@ public enum CompletionType
      */
     public static final int JOB_TITLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -282,6 +330,8 @@ public enum CompletionType
      */
     public static final int COMPANY_NAME_VALUE = 2;
     /**
+     *
+     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -293,7 +343,6 @@ public enum CompletionType
      */
     public static final int COMBINED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,50 +367,51 @@ public static CompletionType valueOf(int value) {
      */
     public static CompletionType forNumber(int value) {
       switch (value) {
-        case 0: return COMPLETION_TYPE_UNSPECIFIED;
-        case 1: return JOB_TITLE;
-        case 2: return COMPANY_NAME;
-        case 3: return COMBINED;
-        default: return null;
+        case 0:
+          return COMPLETION_TYPE_UNSPECIFIED;
+        case 1:
+          return JOB_TITLE;
+        case 2:
+          return COMPANY_NAME;
+        case 3:
+          return COMBINED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CompletionType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CompletionType findValueByNumber(int number) {
-              return CompletionType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public CompletionType findValueByNumber(int number) {
+            return CompletionType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.CompleteQueryRequest.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final CompletionType[] VALUES = values();
 
-    public static CompletionType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -381,13 +431,18 @@ private CompletionType(int value) {
   public static final int TENANT_FIELD_NUMBER = 1;
   private volatile java.lang.Object tenant_;
   /**
+   *
+   *
    * 
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tenant. */ @java.lang.Override @@ -396,31 +451,33 @@ public java.lang.String getTenant() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenant_ = s; return s; } } /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tenant. */ @java.lang.Override - public com.google.protobuf.ByteString - getTenantBytes() { + public com.google.protobuf.ByteString getTenantBytes() { java.lang.Object ref = tenant_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tenant_ = b; return b; } else { @@ -431,12 +488,15 @@ public java.lang.String getTenant() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -445,30 +505,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -479,6 +539,8 @@ public java.lang.String getQuery() { public static final int LANGUAGE_CODES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList languageCodes_; /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -488,13 +550,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_; } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -504,12 +568,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -519,6 +586,7 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -526,6 +594,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -535,23 +605,26 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ @java.lang.Override @@ -562,6 +635,8 @@ public int getPageSize() { public static final int COMPANY_FIELD_NUMBER = 5; private volatile java.lang.Object company_; /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -570,6 +645,7 @@ public int getPageSize() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ @java.lang.Override @@ -578,14 +654,15 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -594,16 +671,15 @@ public java.lang.String getCompany() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -614,58 +690,81 @@ public java.lang.String getCompany() { public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ - @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { + @java.lang.Override + public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED + : result; } public static final int TYPE_FIELD_NUMBER = 7; private int type_; /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -677,8 +776,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tenant_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tenant_); } @@ -694,10 +792,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_); } - if (scope_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { + if (scope_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope + .COMPLETION_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, scope_); } - if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, type_); } getUnknownFields().writeTo(output); @@ -724,19 +828,22 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_); } - if (scope_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, scope_); + if (scope_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope + .COMPLETION_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); } - if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + if (type_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -746,23 +853,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompleteQueryRequest other = (com.google.cloud.talent.v4.CompleteQueryRequest) obj; - - if (!getTenant() - .equals(other.getTenant())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getLanguageCodesList() - .equals(other.getLanguageCodesList())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getCompany() - .equals(other.getCompany())) return false; + com.google.cloud.talent.v4.CompleteQueryRequest other = + (com.google.cloud.talent.v4.CompleteQueryRequest) obj; + + if (!getTenant().equals(other.getTenant())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getCompany().equals(other.getCompany())) return false; if (scope_ != other.scope_) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -797,130 +900,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Auto-complete parameters.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryRequest) com.google.cloud.talent.v4.CompleteQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryRequest.class, com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4.CompleteQueryRequest.class, + com.google.cloud.talent.v4.CompleteQueryRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CompleteQueryRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -942,9 +1051,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor; } @java.lang.Override @@ -963,7 +1072,8 @@ public com.google.cloud.talent.v4.CompleteQueryRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest buildPartial() { - com.google.cloud.talent.v4.CompleteQueryRequest result = new com.google.cloud.talent.v4.CompleteQueryRequest(this); + com.google.cloud.talent.v4.CompleteQueryRequest result = + new com.google.cloud.talent.v4.CompleteQueryRequest(this); int from_bitField0_ = bitField0_; result.tenant_ = tenant_; result.query_ = query_; @@ -984,38 +1094,39 @@ public com.google.cloud.talent.v4.CompleteQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryRequest) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -1023,7 +1134,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryRequest other) { - if (other == com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.CompleteQueryRequest.getDefaultInstance()) + return this; if (!other.getTenant().isEmpty()) { tenant_ = other.tenant_; onChanged(); @@ -1081,48 +1193,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tenant_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - query_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: { - company_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: { - scope_ = input.readEnum(); - - break; - } // case 48 - case 56: { - type_ = input.readEnum(); - - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tenant_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + query_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: + { + company_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: + { + scope_ = input.readEnum(); + + break; + } // case 48 + case 56: + { + type_ = input.readEnum(); + + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1132,24 +1252,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object tenant_ = ""; /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tenant. */ public java.lang.String getTenant() { java.lang.Object ref = tenant_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tenant_ = s; return s; @@ -1158,22 +1283,25 @@ public java.lang.String getTenant() { } } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tenant. */ - public com.google.protobuf.ByteString - getTenantBytes() { + public com.google.protobuf.ByteString getTenantBytes() { java.lang.Object ref = tenant_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tenant_ = b; return b; } else { @@ -1181,60 +1309,73 @@ public java.lang.String getTenant() { } } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The tenant to set. * @return This builder for chaining. */ - public Builder setTenant( - java.lang.String value) { + public Builder setTenant(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tenant_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTenant() { - + tenant_ = getDefaultInstance().getTenant(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tenant to set. * @return This builder for chaining. */ - public Builder setTenantBytes( - com.google.protobuf.ByteString value) { + public Builder setTenantBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tenant_ = value; onChanged(); return this; @@ -1242,19 +1383,21 @@ public Builder setTenantBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1263,21 +1406,22 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1285,70 +1429,81 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1358,13 +1513,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1374,12 +1531,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1389,6 +1549,7 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1396,6 +1557,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1405,14 +1568,16 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1422,21 +1587,23 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; + * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes( - int index, java.lang.String value) { + public Builder setLanguageCodes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1446,20 +1613,22 @@ public Builder setLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes( - java.lang.String value) { + public Builder addLanguageCodes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1469,18 +1638,19 @@ public Builder addLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes( - java.lang.Iterable values) { + public Builder addAllLanguageCodes(java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1490,6 +1660,7 @@ public Builder addAllLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -1499,6 +1670,8 @@ public Builder clearLanguageCodes() { return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1508,29 +1681,32 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 3; + * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ @java.lang.Override @@ -1538,32 +1714,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1571,6 +1753,8 @@ public Builder clearPageSize() { private java.lang.Object company_ = ""; /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1579,13 +1763,13 @@ public Builder clearPageSize() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -1594,6 +1778,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1602,15 +1788,14 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -1618,6 +1803,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1626,20 +1813,22 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany( - java.lang.String value) { + public Builder setCompany(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1648,15 +1837,18 @@ public Builder setCompany(
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1665,16 +1857,16 @@ public Builder clearCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -1682,51 +1874,67 @@ public Builder setCompanyBytes( private int scope_ = 0; /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.UNRECOGNIZED + : result; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @param value The scope to set. * @return This builder for chaining. */ @@ -1734,21 +1942,24 @@ public Builder setScope(com.google.cloud.talent.v4.CompleteQueryRequest.Completi if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -1756,51 +1967,67 @@ public Builder clearScope() { private int type_ = 0; /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1808,28 +2035,31 @@ public Builder setType(com.google.cloud.talent.v4.CompleteQueryRequest.Completio if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1839,12 +2069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryRequest) private static final com.google.cloud.talent.v4.CompleteQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryRequest(); } @@ -1853,27 +2083,27 @@ public static com.google.cloud.talent.v4.CompleteQueryRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1888,6 +2118,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CompleteQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java index ff99ef4498ba..ea126cce6a46 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryRequestOrBuilder.java @@ -1,59 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; -public interface CompleteQueryRequestOrBuilder extends +public interface CompleteQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tenant. */ java.lang.String getTenant(); /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string tenant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tenant. */ - com.google.protobuf.ByteString - getTenantBytes(); + com.google.protobuf.ByteString getTenantBytes(); /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -63,11 +95,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - java.util.List - getLanguageCodesList(); + java.util.List getLanguageCodesList(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -77,10 +111,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -90,11 +127,14 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -104,24 +144,29 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString - getLanguageCodesBytes(int index); + com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** + * + * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -130,10 +175,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ java.lang.String getCompany(); /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -142,45 +190,57 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ - com.google.protobuf.ByteString - getCompanyBytes(); + com.google.protobuf.ByteString getCompanyBytes(); /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionScope getScope(); /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java similarity index 66% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java index 582448442c0b..d3abd1f6ad06 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponse.java @@ -1,134 +1,173 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/completion_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Response of auto-complete query.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse} */ -public final class CompleteQueryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryResponse) CompleteQueryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteQueryResponse.newBuilder() to construct. private CompleteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteQueryResponse() { completionResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.class, com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.class, + com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); } - public interface CompletionResultOrBuilder extends + public interface CompletionResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ java.lang.String getSuggestion(); /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString - getSuggestionBytes(); + com.google.protobuf.ByteString getSuggestionBytes(); /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType(); /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The imageUri. */ java.lang.String getImageUri(); /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString - getImageUriBytes(); + com.google.protobuf.ByteString getImageUriBytes(); } /** + * + * *
    * Resource that represents completion results.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse.CompletionResult} */ - public static final class CompletionResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompletionResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) CompletionResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompletionResult.newBuilder() to construct. private CompletionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompletionResult() { suggestion_ = ""; type_ = 0; @@ -137,37 +176,41 @@ private CompletionResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompletionResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; private volatile java.lang.Object suggestion_; /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ @java.lang.Override @@ -176,29 +219,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -209,39 +252,53 @@ public java.lang.String getSuggestion() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } public static final int IMAGE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object imageUri_; /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The imageUri. */ @java.lang.Override @@ -250,30 +307,30 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -282,6 +339,7 @@ public java.lang.String getImageUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,12 +351,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } - if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { @@ -316,9 +376,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } - if (type_ != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageUri_); @@ -331,18 +393,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult)) { return super.equals(obj); } - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) obj; + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other = + (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) obj; - if (!getSuggestion() - .equals(other.getSuggestion())) return false; + if (!getSuggestion().equals(other.getSuggestion())) return false; if (type_ != other.type_) return false; - if (!getImageUri() - .equals(other.getImageUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,87 +427,95 @@ public int hashCode() { } public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -456,39 +525,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Resource that represents completion results.
      * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse.CompletionResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.class, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder.class); } - // Construct using com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,14 +574,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { - return com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance(); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + getDefaultInstanceForType() { + return com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + .getDefaultInstance(); } @java.lang.Override @@ -523,7 +597,8 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult build() @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult buildPartial() { - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult result = new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(this); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult result = + new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(this); result.suggestion_ = suggestion_; result.type_ = type_; result.imageUri_ = imageUri_; @@ -535,46 +610,53 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult)other); + return mergeFrom( + (com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other) { - if (other == com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult other) { + if (other + == com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + .getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; onChanged(); @@ -612,27 +694,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - suggestion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - - break; - } // case 16 - case 26: { - imageUri_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + suggestion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + imageUri_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -645,18 +731,20 @@ public Builder mergeFrom( private java.lang.Object suggestion_ = ""; /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -665,20 +753,21 @@ public java.lang.String getSuggestion() { } } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -686,54 +775,61 @@ public java.lang.String getSuggestion() { } } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion( - java.lang.String value) { + public Builder setSuggestion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); return this; } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes( - com.google.protobuf.ByteString value) { + public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); return this; @@ -741,51 +837,67 @@ public Builder setSuggestionBytes( private int type_ = 0; /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -793,21 +905,24 @@ public Builder setType(com.google.cloud.talent.v4.CompleteQueryRequest.Completio if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4.CompleteQueryRequest.CompletionType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -815,19 +930,21 @@ public Builder clearType() { private java.lang.Object imageUri_ = ""; /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -836,21 +953,22 @@ public java.lang.String getImageUri() { } } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -858,61 +976,69 @@ public java.lang.String getImageUri() { } } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri( - java.lang.String value) { + public Builder setImageUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes( - com.google.protobuf.ByteString value) { + public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -925,41 +1051,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryResponse.CompletionResult) - private static final com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult DEFAULT_INSTANCE; + private static final com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult(); } - public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstance() { + public static com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompletionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompletionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,81 +1100,108 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int COMPLETION_RESULTS_FIELD_NUMBER = 1; - private java.util.List completionResults_; + private java.util.List + completionResults_; /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public java.util.List getCompletionResultsList() { + public java.util.List + getCompletionResultsList() { return completionResults_; } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList() { return completionResults_; } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override public int getCompletionResultsCount() { return completionResults_.size(); } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults( + int index) { return completionResults_.get(index); } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index) { return completionResults_.get(index); } public static final int METADATA_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1053,19 +1209,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -1079,6 +1242,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1090,8 +1254,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < completionResults_.size(); i++) {
       output.writeMessage(1, completionResults_.get(i));
     }
@@ -1108,12 +1271,11 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < completionResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, completionResults_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, completionResults_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1123,19 +1285,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.CompleteQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.CompleteQueryResponse other = (com.google.cloud.talent.v4.CompleteQueryResponse) obj;
+    com.google.cloud.talent.v4.CompleteQueryResponse other =
+        (com.google.cloud.talent.v4.CompleteQueryResponse) obj;
 
-    if (!getCompletionResultsList()
-        .equals(other.getCompletionResultsList())) return false;
+    if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1161,130 +1322,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.CompleteQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.CompleteQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response of auto-complete query.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CompleteQueryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CompleteQueryResponse) com.google.cloud.talent.v4.CompleteQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CompleteQueryResponse.class, com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4.CompleteQueryResponse.class, + com.google.cloud.talent.v4.CompleteQueryResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.CompleteQueryResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1305,9 +1472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompletionServiceProto.internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompletionServiceProto + .internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor; } @java.lang.Override @@ -1326,7 +1493,8 @@ public com.google.cloud.talent.v4.CompleteQueryResponse build() { @java.lang.Override public com.google.cloud.talent.v4.CompleteQueryResponse buildPartial() { - com.google.cloud.talent.v4.CompleteQueryResponse result = new com.google.cloud.talent.v4.CompleteQueryResponse(this); + com.google.cloud.talent.v4.CompleteQueryResponse result = + new com.google.cloud.talent.v4.CompleteQueryResponse(this); int from_bitField0_ = bitField0_; if (completionResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1350,38 +1518,39 @@ public com.google.cloud.talent.v4.CompleteQueryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CompleteQueryResponse) { - return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse)other); + return mergeFrom((com.google.cloud.talent.v4.CompleteQueryResponse) other); } else { super.mergeFrom(other); return this; @@ -1389,7 +1558,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse other) { - if (other == com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.CompleteQueryResponse.getDefaultInstance()) + return this; if (completionResultsBuilder_ == null) { if (!other.completionResults_.isEmpty()) { if (completionResults_.isEmpty()) { @@ -1408,9 +1578,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.CompleteQueryResponse other) completionResultsBuilder_ = null; completionResults_ = other.completionResults_; bitField0_ = (bitField0_ & ~0x00000001); - completionResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompletionResultsFieldBuilder() : null; + completionResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompletionResultsFieldBuilder() + : null; } else { completionResultsBuilder_.addAllMessages(other.completionResults_); } @@ -1445,32 +1616,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult m = - input.readMessage( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.parser(), - extensionRegistry); - if (completionResultsBuilder_ == null) { - ensureCompletionResultsIsMutable(); - completionResults_.add(m); - } else { - completionResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult m = + input.readMessage( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.parser(), + extensionRegistry); + if (completionResultsBuilder_ == null) { + ensureCompletionResultsIsMutable(); + completionResults_.add(m); + } else { + completionResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1480,28 +1652,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List completionResults_ = - java.util.Collections.emptyList(); + private java.util.List + completionResults_ = java.util.Collections.emptyList(); + private void ensureCompletionResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - completionResults_ = new java.util.ArrayList(completionResults_); + completionResults_ = + new java.util.ArrayList< + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult>( + completionResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> completionResultsBuilder_; + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + completionResultsBuilder_; /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List getCompletionResultsList() { + public java.util.List + getCompletionResultsList() { if (completionResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(completionResults_); } else { @@ -1509,11 +1694,15 @@ public java.util.List * Results of the matching job/company candidates. *
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public int getCompletionResultsCount() { if (completionResultsBuilder_ == null) { @@ -1523,13 +1712,18 @@ public int getCompletionResultsCount() { } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults( + int index) { if (completionResultsBuilder_ == null) { return completionResults_.get(index); } else { @@ -1537,11 +1731,15 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getComp } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder setCompletionResults( int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { @@ -1558,14 +1756,19 @@ public Builder setCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder setCompletionResults( - int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.set(index, builderForValue.build()); @@ -1576,13 +1779,18 @@ public Builder setCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public Builder addCompletionResults(com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { + public Builder addCompletionResults( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { if (completionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1596,11 +1804,15 @@ public Builder addCompletionResults(com.google.cloud.talent.v4.CompleteQueryResp return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult value) { @@ -1617,11 +1829,15 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { @@ -1635,14 +1851,19 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( - int index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(index, builderForValue.build()); @@ -1653,18 +1874,23 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addAllCompletionResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult> + values) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, completionResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completionResults_); onChanged(); } else { completionResultsBuilder_.addAllMessages(values); @@ -1672,11 +1898,15 @@ public Builder addAllCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder clearCompletionResults() { if (completionResultsBuilder_ == null) { @@ -1689,11 +1919,15 @@ public Builder clearCompletionResults() { return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder removeCompletionResults(int index) { if (completionResultsBuilder_ == null) { @@ -1706,39 +1940,53 @@ public Builder removeCompletionResults(int index) { return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder + getCompletionResultsBuilder(int index) { return getCompletionResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index) { if (completionResultsBuilder_ == null) { - return completionResults_.get(index); } else { + return completionResults_.get(index); + } else { return completionResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List - getCompletionResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + getCompletionResultsOrBuilderList() { if (completionResultsBuilder_ != null) { return completionResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1746,45 +1994,69 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilde } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder() { - return getCompletionResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder + addCompletionResultsBuilder() { + return getCompletionResultsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + .getDefaultInstance()); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder( - int index) { - return getCompletionResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.getDefaultInstance()); + public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder + addCompletionResultsBuilder(int index) { + return getCompletionResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult + .getDefaultInstance()); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List - getCompletionResultsBuilderList() { + public java.util.List + getCompletionResultsBuilderList() { return getCompletionResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsFieldBuilder() { if (completionResultsBuilder_ == null) { - completionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder>( + completionResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1796,36 +2068,49 @@ public com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult.Builder private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1847,6 +2132,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1866,6 +2153,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1877,7 +2166,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1889,6 +2180,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1908,6 +2201,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1916,11 +2211,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 2;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1932,11 +2229,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1945,21 +2245,24 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1969,12 +2272,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CompleteQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CompleteQueryResponse)
   private static final com.google.cloud.talent.v4.CompleteQueryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CompleteQueryResponse();
   }
@@ -1983,27 +2286,27 @@ public static com.google.cloud.talent.v4.CompleteQueryResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CompleteQueryResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CompleteQueryResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2018,6 +2321,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.CompleteQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
similarity index 55%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
index 3d7d1cbdf542..45964ab4c335 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompleteQueryResponseOrBuilder.java
@@ -1,77 +1,122 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/completion_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface CompleteQueryResponseOrBuilder extends
+public interface CompleteQueryResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CompleteQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - java.util.List + java.util.List getCompletionResultsList(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResult getCompletionResults(int index); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ int getCompletionResultsCount(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index); + com.google.cloud.talent.v4.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 2; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
new file mode 100644
index 000000000000..2a40963252da
--- /dev/null
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompletionServiceProto.java
@@ -0,0 +1,143 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4/completion_service.proto
+
+package com.google.cloud.talent.v4;
+
+public final class CompletionServiceProto {
+  private CompletionServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_CompleteQueryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n/google/cloud/talent/v4/completion_serv"
+          + "ice.proto\022\026google.cloud.talent.v4\032\034googl"
+          + "e/api/annotations.proto\032\027google/api/clie"
+          + "nt.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032#google/clo"
+          + "ud/talent/v4/common.proto\"\210\004\n\024CompleteQu"
+          + "eryRequest\0222\n\006tenant\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs"
+          + ".googleapis.com/Tenant\022\022\n\005query\030\002 \001(\tB\003\340"
+          + "A\002\022\026\n\016language_codes\030\003 \003(\t\022\026\n\tpage_size\030"
+          + "\004 \001(\005B\003\340A\002\0221\n\007company\030\005 \001(\tB \372A\035\n\033jobs.g"
+          + "oogleapis.com/Company\022K\n\005scope\030\006 \001(\0162<.g"
+          + "oogle.cloud.talent.v4.CompleteQueryReque"
+          + "st.CompletionScope\022I\n\004type\030\007 \001(\0162;.googl"
+          + "e.cloud.talent.v4.CompleteQueryRequest.C"
+          + "ompletionType\"K\n\017CompletionScope\022 \n\034COMP"
+          + "LETION_SCOPE_UNSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n"
+          + "\n\006PUBLIC\020\002\"`\n\016CompletionType\022\037\n\033COMPLETI"
+          + "ON_TYPE_UNSPECIFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014"
+          + "COMPANY_NAME\020\002\022\014\n\010COMBINED\020\003\"\266\002\n\025Complet"
+          + "eQueryResponse\022Z\n\022completion_results\030\001 \003"
+          + "(\0132>.google.cloud.talent.v4.CompleteQuer"
+          + "yResponse.CompletionResult\022:\n\010metadata\030\002"
+          + " \001(\0132(.google.cloud.talent.v4.ResponseMe"
+          + "tadata\032\204\001\n\020CompletionResult\022\022\n\nsuggestio"
+          + "n\030\001 \001(\t\022I\n\004type\030\002 \001(\0162;.google.cloud.tal"
+          + "ent.v4.CompleteQueryRequest.CompletionTy"
+          + "pe\022\021\n\timage_uri\030\003 \001(\t2\242\002\n\nCompletion\022\245\001\n"
+          + "\rCompleteQuery\022,.google.cloud.talent.v4."
+          + "CompleteQueryRequest\032-.google.cloud.tale"
+          + "nt.v4.CompleteQueryResponse\"7\202\323\344\223\0021\022//v4"
+          + "/{tenant=projects/*/tenants/*}:completeQ"
+          + "uery\032l\312A\023jobs.googleapis.com\322AShttps://w"
+          + "ww.googleapis.com/auth/cloud-platform,ht"
+          + "tps://www.googleapis.com/auth/jobsBz\n\032co"
+          + "m.google.cloud.talent.v4B\026CompletionServ"
+          + "iceProtoP\001Z
  * The report event request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateClientEventRequest} */ -public final class CreateClientEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClientEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateClientEventRequest) CreateClientEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClientEventRequest.newBuilder() to construct. private CreateClientEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClientEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClientEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateClientEventRequest.class, com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4.CreateClientEventRequest.class, + com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,12 +127,17 @@ public java.lang.String getParent() { public static final int CLIENT_EVENT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.ClientEvent clientEvent_; /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ @java.lang.Override @@ -114,25 +145,36 @@ public boolean hasClientEvent() { return clientEvent_ != null; } /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ @java.lang.Override public com.google.cloud.talent.v4.ClientEvent getClientEvent() { - return clientEvent_ == null ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() + : clientEvent_; } /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() { @@ -140,6 +182,7 @@ public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +194,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -172,8 +214,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (clientEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getClientEvent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientEvent()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -183,19 +224,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateClientEventRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateClientEventRequest other = (com.google.cloud.talent.v4.CreateClientEventRequest) obj; + com.google.cloud.talent.v4.CreateClientEventRequest other = + (com.google.cloud.talent.v4.CreateClientEventRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - if (!getClientEvent() - .equals(other.getClientEvent())) return false; + if (!getClientEvent().equals(other.getClientEvent())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -220,129 +260,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateClientEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CreateClientEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The report event request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateClientEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateClientEventRequest) com.google.cloud.talent.v4.CreateClientEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateClientEventRequest.class, com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4.CreateClientEventRequest.class, + com.google.cloud.talent.v4.CreateClientEventRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateClientEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.EventServiceProto.internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.EventServiceProto + .internal_static_google_cloud_talent_v4_CreateClientEventRequest_descriptor; } @java.lang.Override @@ -379,7 +425,8 @@ public com.google.cloud.talent.v4.CreateClientEventRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateClientEventRequest buildPartial() { - com.google.cloud.talent.v4.CreateClientEventRequest result = new com.google.cloud.talent.v4.CreateClientEventRequest(this); + com.google.cloud.talent.v4.CreateClientEventRequest result = + new com.google.cloud.talent.v4.CreateClientEventRequest(this); result.parent_ = parent_; if (clientEventBuilder_ == null) { result.clientEvent_ = clientEvent_; @@ -394,38 +441,39 @@ public com.google.cloud.talent.v4.CreateClientEventRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateClientEventRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateClientEventRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CreateClientEventRequest) other); } else { super.mergeFrom(other); return this; @@ -433,7 +481,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CreateClientEventRequest other) { - if (other == com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.CreateClientEventRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -467,24 +516,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getClientEventFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getClientEventFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,20 +547,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,22 +573,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -542,60 +599,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -603,42 +673,61 @@ public Builder setParentBytes( private com.google.cloud.talent.v4.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder> clientEventBuilder_; + com.google.cloud.talent.v4.ClientEvent, + com.google.cloud.talent.v4.ClientEvent.Builder, + com.google.cloud.talent.v4.ClientEventOrBuilder> + clientEventBuilder_; /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ public boolean hasClientEvent() { return clientEventBuilder_ != null || clientEvent_ != null; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ public com.google.cloud.talent.v4.ClientEvent getClientEvent() { if (clientEventBuilder_ == null) { - return clientEvent_ == null ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() + : clientEvent_; } else { return clientEventBuilder_.getMessage(); } } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent value) { if (clientEventBuilder_ == null) { @@ -654,15 +743,18 @@ public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent value) { return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setClientEvent( - com.google.cloud.talent.v4.ClientEvent.Builder builderForValue) { + public Builder setClientEvent(com.google.cloud.talent.v4.ClientEvent.Builder builderForValue) { if (clientEventBuilder_ == null) { clientEvent_ = builderForValue.build(); onChanged(); @@ -673,18 +765,24 @@ public Builder setClientEvent( return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeClientEvent(com.google.cloud.talent.v4.ClientEvent value) { if (clientEventBuilder_ == null) { if (clientEvent_ != null) { clientEvent_ = - com.google.cloud.talent.v4.ClientEvent.newBuilder(clientEvent_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.ClientEvent.newBuilder(clientEvent_) + .mergeFrom(value) + .buildPartial(); } else { clientEvent_ = value; } @@ -696,12 +794,16 @@ public Builder mergeClientEvent(com.google.cloud.talent.v4.ClientEvent value) { return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearClientEvent() { if (clientEventBuilder_ == null) { @@ -715,58 +817,74 @@ public Builder clearClientEvent() { return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.ClientEvent.Builder getClientEventBuilder() { - + onChanged(); return getClientEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder() { if (clientEventBuilder_ != null) { return clientEventBuilder_.getMessageOrBuilder(); } else { - return clientEvent_ == null ? - com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4.ClientEvent.getDefaultInstance() + : clientEvent_; } } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder> + com.google.cloud.talent.v4.ClientEvent, + com.google.cloud.talent.v4.ClientEvent.Builder, + com.google.cloud.talent.v4.ClientEventOrBuilder> getClientEventFieldBuilder() { if (clientEventBuilder_ == null) { - clientEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ClientEvent, com.google.cloud.talent.v4.ClientEvent.Builder, com.google.cloud.talent.v4.ClientEventOrBuilder>( - getClientEvent(), - getParentForChildren(), - isClean()); + clientEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.ClientEvent, + com.google.cloud.talent.v4.ClientEvent.Builder, + com.google.cloud.talent.v4.ClientEventOrBuilder>( + getClientEvent(), getParentForChildren(), isClean()); clientEvent_ = null; } return clientEventBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -776,12 +894,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateClientEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateClientEventRequest) private static final com.google.cloud.talent.v4.CreateClientEventRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateClientEventRequest(); } @@ -790,27 +908,27 @@ public static com.google.cloud.talent.v4.CreateClientEventRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClientEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClientEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -825,6 +943,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateClientEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java index 706e6e386c86..0dae60433690 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateClientEventRequestOrBuilder.java @@ -1,63 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event_service.proto package com.google.cloud.talent.v4; -public interface CreateClientEventRequestOrBuilder extends +public interface CreateClientEventRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateClientEventRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ boolean hasClientEvent(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ com.google.cloud.talent.v4.ClientEvent getClientEvent(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.ClientEventOrBuilder getClientEventOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java similarity index 65% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java index 10f9ca0368e0..703553b79e44 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The Request of the CreateCompany method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateCompanyRequest} */ -public final class CreateCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateCompanyRequest) CreateCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCompanyRequest.newBuilder() to construct. private CreateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCompanyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateCompanyRequest.class, com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.CreateCompanyRequest.class, + com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,15 @@ public java.lang.String getParent() { public static final int COMPANY_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Company company_; /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ @java.lang.Override @@ -113,11 +143,15 @@ public boolean hasCompany() { return company_ != null; } /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ @java.lang.Override @@ -125,11 +159,14 @@ public com.google.cloud.talent.v4.Company getCompany() { return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { @@ -137,6 +174,7 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (company_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCompany()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompany()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +216,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateCompanyRequest other = (com.google.cloud.talent.v4.CreateCompanyRequest) obj; + com.google.cloud.talent.v4.CreateCompanyRequest other = + (com.google.cloud.talent.v4.CreateCompanyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - if (!getCompany() - .equals(other.getCompany())) return false; + if (!getCompany().equals(other.getCompany())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,130 +251,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CreateCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request of the CreateCompany method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateCompanyRequest) com.google.cloud.talent.v4.CreateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateCompanyRequest.class, com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.CreateCompanyRequest.class, + com.google.cloud.talent.v4.CreateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateCompanyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_CreateCompanyRequest_descriptor; } @java.lang.Override @@ -376,7 +417,8 @@ public com.google.cloud.talent.v4.CreateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateCompanyRequest buildPartial() { - com.google.cloud.talent.v4.CreateCompanyRequest result = new com.google.cloud.talent.v4.CreateCompanyRequest(this); + com.google.cloud.talent.v4.CreateCompanyRequest result = + new com.google.cloud.talent.v4.CreateCompanyRequest(this); result.parent_ = parent_; if (companyBuilder_ == null) { result.company_ = company_; @@ -391,38 +433,39 @@ public com.google.cloud.talent.v4.CreateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CreateCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -430,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.CreateCompanyRequest other) { - if (other == com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -464,24 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getCompanyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,20 +539,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -516,22 +565,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -539,60 +591,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -600,39 +665,55 @@ public Builder setParentBytes( private com.google.cloud.talent.v4.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companyBuilder_; + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> + companyBuilder_; /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ public com.google.cloud.talent.v4.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4.Company.getDefaultInstance() + : company_; } else { return companyBuilder_.getMessage(); } } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { @@ -648,14 +729,16 @@ public Builder setCompany(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompany( - com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -666,17 +749,22 @@ public Builder setCompany( return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4.Company.newBuilder(company_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Company.newBuilder(company_) + .mergeFrom(value) + .buildPartial(); } else { company_ = value; } @@ -688,11 +776,14 @@ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -706,55 +797,68 @@ public Builder clearCompany() { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null ? - com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4.Company.getDefaultInstance() + : company_; } } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( - getCompany(), - getParentForChildren(), - isClean()); + companyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder>( + getCompany(), getParentForChildren(), isClean()); company_ = null; } return companyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateCompanyRequest) private static final com.google.cloud.talent.v4.CreateCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateCompanyRequest(); } @@ -778,27 +882,27 @@ public static com.google.cloud.talent.v4.CreateCompanyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +917,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java index e25a6715251a..fa6004ae54fb 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateCompanyRequestOrBuilder.java @@ -1,60 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; -public interface CreateCompanyRequestOrBuilder extends +public interface CreateCompanyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateCompanyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ boolean hasCompany(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ com.google.cloud.talent.v4.Company getCompany(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java similarity index 67% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java index b43e80246eee..a1ffba37ceb7 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Create job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateJobRequest} */ -public final class CreateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateJobRequest) CreateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateJobRequest.class, com.google.cloud.talent.v4.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4.CreateJobRequest.class, + com.google.cloud.talent.v4.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,14 @@ public java.lang.String getParent() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Job job_; /** + * + * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ @java.lang.Override @@ -113,11 +142,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ @java.lang.Override @@ -125,6 +157,8 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The Job to be created.
    * 
@@ -137,6 +171,7 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +203,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +213,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateJobRequest other = (com.google.cloud.talent.v4.CreateJobRequest) obj; + com.google.cloud.talent.v4.CreateJobRequest other = + (com.google.cloud.talent.v4.CreateJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,130 +248,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateJobRequest) com.google.cloud.talent.v4.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateJobRequest.class, com.google.cloud.talent.v4.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4.CreateJobRequest.class, + com.google.cloud.talent.v4.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor; } @java.lang.Override @@ -376,7 +414,8 @@ public com.google.cloud.talent.v4.CreateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateJobRequest buildPartial() { - com.google.cloud.talent.v4.CreateJobRequest result = new com.google.cloud.talent.v4.CreateJobRequest(this); + com.google.cloud.talent.v4.CreateJobRequest result = + new com.google.cloud.talent.v4.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -391,38 +430,39 @@ public com.google.cloud.talent.v4.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CreateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -464,24 +504,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,20 +535,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -516,22 +561,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -539,60 +587,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -600,24 +661,33 @@ public Builder setParentBytes( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -628,6 +698,8 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -648,14 +720,15 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -666,6 +739,8 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -675,8 +750,7 @@ public Builder setJob( public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = - com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -688,6 +762,8 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -706,6 +782,8 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -713,11 +791,13 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -728,11 +808,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The Job to be created.
      * 
@@ -740,21 +821,24 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +848,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateJobRequest) private static final com.google.cloud.talent.v4.CreateJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateJobRequest(); } @@ -778,27 +862,27 @@ public static com.google.cloud.talent.v4.CreateJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +897,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java index a52666ef4ee8..6bf6a113cd8a 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateJobRequestOrBuilder.java @@ -1,55 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface CreateJobRequestOrBuilder extends +public interface CreateJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The Job to be created.
    * 
* * .google.cloud.talent.v4.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** + * + * *
    * Required. The Job to be created.
    * 
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java similarity index 65% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java index d0411258dc4f..83c720635ef2 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The Request of the CreateTenant method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CreateTenantRequest} */ -public final class CreateTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CreateTenantRequest) CreateTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTenantRequest.newBuilder() to construct. private CreateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTenantRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateTenantRequest.class, com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4.CreateTenantRequest.class, + com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,15 @@ public java.lang.String getParent() { public static final int TENANT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4.Tenant tenant_; /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ @java.lang.Override @@ -113,11 +143,15 @@ public boolean hasTenant() { return tenant_ != null; } /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ @java.lang.Override @@ -125,11 +159,14 @@ public com.google.cloud.talent.v4.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { @@ -137,6 +174,7 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tenant_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTenant()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTenant()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +216,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CreateTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.CreateTenantRequest other = (com.google.cloud.talent.v4.CreateTenantRequest) obj; + com.google.cloud.talent.v4.CreateTenantRequest other = + (com.google.cloud.talent.v4.CreateTenantRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - if (!getTenant() - .equals(other.getTenant())) return false; + if (!getTenant().equals(other.getTenant())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,130 +251,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CreateTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CreateTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request of the CreateTenant method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CreateTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CreateTenantRequest) com.google.cloud.talent.v4.CreateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CreateTenantRequest.class, com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4.CreateTenantRequest.class, + com.google.cloud.talent.v4.CreateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.CreateTenantRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_CreateTenantRequest_descriptor; } @java.lang.Override @@ -376,7 +417,8 @@ public com.google.cloud.talent.v4.CreateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.CreateTenantRequest buildPartial() { - com.google.cloud.talent.v4.CreateTenantRequest result = new com.google.cloud.talent.v4.CreateTenantRequest(this); + com.google.cloud.talent.v4.CreateTenantRequest result = + new com.google.cloud.talent.v4.CreateTenantRequest(this); result.parent_ = parent_; if (tenantBuilder_ == null) { result.tenant_ = tenant_; @@ -391,38 +433,39 @@ public com.google.cloud.talent.v4.CreateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CreateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.CreateTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4.CreateTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -464,24 +507,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getTenantFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,20 +538,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -516,22 +564,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -539,60 +590,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -600,24 +664,35 @@ public Builder setParentBytes( private com.google.cloud.talent.v4.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantBuilder_; + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> + tenantBuilder_; /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ public com.google.cloud.talent.v4.Tenant getTenant() { @@ -628,11 +703,14 @@ public com.google.cloud.talent.v4.Tenant getTenant() { } } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { @@ -648,14 +726,16 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTenant( - com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -666,17 +746,20 @@ public Builder setTenant( return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -688,11 +771,14 @@ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -706,55 +792,66 @@ public Builder clearTenant() { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? - com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( - getTenant(), - getParentForChildren(), - isClean()); + tenantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder>( + getTenant(), getParentForChildren(), isClean()); tenant_ = null; } return tenantBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +861,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CreateTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CreateTenantRequest) private static final com.google.cloud.talent.v4.CreateTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CreateTenantRequest(); } @@ -778,27 +875,27 @@ public static com.google.cloud.talent.v4.CreateTenantRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +910,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CreateTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java index e8e2bee8de7c..89cb7dd214e6 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CreateTenantRequestOrBuilder.java @@ -1,60 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; -public interface CreateTenantRequestOrBuilder extends +public interface CreateTenantRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CreateTenantRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ boolean hasTenant(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ com.google.cloud.talent.v4.Tenant getTenant(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java index 7c745131ca94..c018ac2ca749 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttribute.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Custom attribute values that are either filterable or non-filterable.
  * 
* * Protobuf type {@code google.cloud.talent.v4.CustomAttribute} */ -public final class CustomAttribute extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.CustomAttribute) CustomAttributeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomAttribute.newBuilder() to construct. private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; longValues_ = emptyLongList(); @@ -26,32 +44,35 @@ private CustomAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CustomAttribute.class, com.google.cloud.talent.v4.CustomAttribute.Builder.class); + com.google.cloud.talent.v4.CustomAttribute.class, + com.google.cloud.talent.v4.CustomAttribute.Builder.class); } public static final int STRING_VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList stringValues_; /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -64,13 +85,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList - getStringValuesList() { + public com.google.protobuf.ProtocolStringList getStringValuesList() { return stringValues_; } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -83,12 +106,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -101,6 +127,7 @@ public int getStringValuesCount() {
    * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -108,6 +135,8 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -120,17 +149,19 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString - getStringValuesBytes(int index) { + public com.google.protobuf.ByteString getStringValuesBytes(int index) { return stringValues_.getByteString(index); } public static final int LONG_VALUES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList longValues_; /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -139,14 +170,16 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ @java.lang.Override - public java.util.List - getLongValuesList() { + public java.util.List getLongValuesList() { return longValues_; } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -155,12 +188,15 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -169,17 +205,21 @@ public int getLongValuesCount() {
    * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ public long getLongValues(int index) { return longValues_.getLong(index); } + private int longValuesMemoizedSerializedSize = -1; public static final int FILTERABLE_FIELD_NUMBER = 3; private boolean filterable_; /** + * + * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -188,6 +228,7 @@ public long getLongValues(int index) {
    * 
* * bool filterable = 3; + * * @return The filterable. */ @java.lang.Override @@ -198,6 +239,8 @@ public boolean getFilterable() { public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER = 4; private boolean keywordSearchable_; /** + * + * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -206,6 +249,7 @@ public boolean getFilterable() {
    * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ @java.lang.Override @@ -214,6 +258,7 @@ public boolean getKeywordSearchable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stringValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValues_.getRaw(i)); @@ -264,24 +308,21 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt64SizeNoTag(longValues_.getLong(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } longValuesMemoizedSerializedSize = dataSize; } if (filterable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, filterable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterable_); } if (keywordSearchable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, keywordSearchable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, keywordSearchable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,21 +332,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.CustomAttribute)) { return super.equals(obj); } - com.google.cloud.talent.v4.CustomAttribute other = (com.google.cloud.talent.v4.CustomAttribute) obj; - - if (!getStringValuesList() - .equals(other.getStringValuesList())) return false; - if (!getLongValuesList() - .equals(other.getLongValuesList())) return false; - if (getFilterable() - != other.getFilterable()) return false; - if (getKeywordSearchable() - != other.getKeywordSearchable()) return false; + com.google.cloud.talent.v4.CustomAttribute other = + (com.google.cloud.talent.v4.CustomAttribute) obj; + + if (!getStringValuesList().equals(other.getStringValuesList())) return false; + if (!getLongValuesList().equals(other.getLongValuesList())) return false; + if (getFilterable() != other.getFilterable()) return false; + if (getKeywordSearchable() != other.getKeywordSearchable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,140 +364,144 @@ public int hashCode() { hash = (53 * hash) + getLongValuesList().hashCode(); } hash = (37 * hash) + FILTERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFilterable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterable()); hash = (37 * hash) + KEYWORD_SEARCHABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getKeywordSearchable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeywordSearchable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.CustomAttribute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CustomAttribute parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.CustomAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Custom attribute values that are either filterable or non-filterable.
    * 
* * Protobuf type {@code google.cloud.talent.v4.CustomAttribute} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.CustomAttribute) com.google.cloud.talent.v4.CustomAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.CustomAttribute.class, com.google.cloud.talent.v4.CustomAttribute.Builder.class); + com.google.cloud.talent.v4.CustomAttribute.class, + com.google.cloud.talent.v4.CustomAttribute.Builder.class); } // Construct using com.google.cloud.talent.v4.CustomAttribute.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; } @java.lang.Override @@ -496,7 +538,8 @@ public com.google.cloud.talent.v4.CustomAttribute build() { @java.lang.Override public com.google.cloud.talent.v4.CustomAttribute buildPartial() { - com.google.cloud.talent.v4.CustomAttribute result = new com.google.cloud.talent.v4.CustomAttribute(this); + com.google.cloud.talent.v4.CustomAttribute result = + new com.google.cloud.talent.v4.CustomAttribute(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); @@ -518,38 +561,39 @@ public com.google.cloud.talent.v4.CustomAttribute buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.CustomAttribute) { - return mergeFrom((com.google.cloud.talent.v4.CustomAttribute)other); + return mergeFrom((com.google.cloud.talent.v4.CustomAttribute) other); } else { super.mergeFrom(other); return this; @@ -610,44 +654,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureStringValuesIsMutable(); - stringValues_.add(s); - break; - } // case 10 - case 16: { - long v = input.readInt64(); - ensureLongValuesIsMutable(); - longValues_.addLong(v); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureLongValuesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - longValues_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 18 - case 24: { - filterable_ = input.readBool(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureStringValuesIsMutable(); + stringValues_.add(s); + break; + } // case 10 + case 16: + { + long v = input.readInt64(); + ensureLongValuesIsMutable(); + longValues_.addLong(v); + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureLongValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + longValues_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 18 + case 24: + { + filterable_ = input.readBool(); - break; - } // case 24 - case 32: { - keywordSearchable_ = input.readBool(); + break; + } // case 24 + case 32: + { + keywordSearchable_ = input.readBool(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,16 +707,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList stringValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureStringValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -679,13 +734,15 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList - getStringValuesList() { + public com.google.protobuf.ProtocolStringList getStringValuesList() { return stringValues_.getUnmodifiableView(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -698,12 +755,15 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -716,6 +776,7 @@ public int getStringValuesCount() {
      * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -723,6 +784,8 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -735,14 +798,16 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString - getStringValuesBytes(int index) { + public com.google.protobuf.ByteString getStringValuesBytes(int index) { return stringValues_.getByteString(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -755,21 +820,23 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; + * * @param index The index to set the value at. * @param value The stringValues to set. * @return This builder for chaining. */ - public Builder setStringValues( - int index, java.lang.String value) { + public Builder setStringValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.set(index, value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -782,20 +849,22 @@ public Builder setStringValues(
      * 
* * repeated string string_values = 1; + * * @param value The stringValues to add. * @return This builder for chaining. */ - public Builder addStringValues( - java.lang.String value) { + public Builder addStringValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -808,18 +877,19 @@ public Builder addStringValues(
      * 
* * repeated string string_values = 1; + * * @param values The stringValues to add. * @return This builder for chaining. */ - public Builder addAllStringValues( - java.lang.Iterable values) { + public Builder addAllStringValues(java.lang.Iterable values) { ensureStringValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stringValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stringValues_); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -832,6 +902,7 @@ public Builder addAllStringValues(
      * 
* * repeated string string_values = 1; + * * @return This builder for chaining. */ public Builder clearStringValues() { @@ -841,6 +912,8 @@ public Builder clearStringValues() { return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -853,15 +926,15 @@ public Builder clearStringValues() {
      * 
* * repeated string string_values = 1; + * * @param value The bytes of the stringValues to add. * @return This builder for chaining. */ - public Builder addStringValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); @@ -869,13 +942,16 @@ public Builder addStringValuesBytes( } private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); + private void ensureLongValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -884,14 +960,17 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ - public java.util.List - getLongValuesList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(longValues_) : longValues_; + public java.util.List getLongValuesList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(longValues_) + : longValues_; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -900,12 +979,15 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -914,6 +996,7 @@ public int getLongValuesCount() {
      * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ @@ -921,6 +1004,8 @@ public long getLongValues(int index) { return longValues_.getLong(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -929,18 +1014,20 @@ public long getLongValues(int index) {
      * 
* * repeated int64 long_values = 2; + * * @param index The index to set the value at. * @param value The longValues to set. * @return This builder for chaining. */ - public Builder setLongValues( - int index, long value) { + public Builder setLongValues(int index, long value) { ensureLongValuesIsMutable(); longValues_.setLong(index, value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -949,6 +1036,7 @@ public Builder setLongValues(
      * 
* * repeated int64 long_values = 2; + * * @param value The longValues to add. * @return This builder for chaining. */ @@ -959,6 +1047,8 @@ public Builder addLongValues(long value) { return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -967,18 +1057,19 @@ public Builder addLongValues(long value) {
      * 
* * repeated int64 long_values = 2; + * * @param values The longValues to add. * @return This builder for chaining. */ - public Builder addAllLongValues( - java.lang.Iterable values) { + public Builder addAllLongValues(java.lang.Iterable values) { ensureLongValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, longValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, longValues_); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -987,6 +1078,7 @@ public Builder addAllLongValues(
      * 
* * repeated int64 long_values = 2; + * * @return This builder for chaining. */ public Builder clearLongValues() { @@ -996,8 +1088,10 @@ public Builder clearLongValues() { return this; } - private boolean filterable_ ; + private boolean filterable_; /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1006,6 +1100,7 @@ public Builder clearLongValues() {
      * 
* * bool filterable = 3; + * * @return The filterable. */ @java.lang.Override @@ -1013,6 +1108,8 @@ public boolean getFilterable() { return filterable_; } /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1021,16 +1118,19 @@ public boolean getFilterable() {
      * 
* * bool filterable = 3; + * * @param value The filterable to set. * @return This builder for chaining. */ public Builder setFilterable(boolean value) { - + filterable_ = value; onChanged(); return this; } /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -1039,17 +1139,20 @@ public Builder setFilterable(boolean value) {
      * 
* * bool filterable = 3; + * * @return This builder for chaining. */ public Builder clearFilterable() { - + filterable_ = false; onChanged(); return this; } - private boolean keywordSearchable_ ; + private boolean keywordSearchable_; /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1058,6 +1161,7 @@ public Builder clearFilterable() {
      * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ @java.lang.Override @@ -1065,6 +1169,8 @@ public boolean getKeywordSearchable() { return keywordSearchable_; } /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1073,16 +1179,19 @@ public boolean getKeywordSearchable() {
      * 
* * bool keyword_searchable = 4; + * * @param value The keywordSearchable to set. * @return This builder for chaining. */ public Builder setKeywordSearchable(boolean value) { - + keywordSearchable_ = value; onChanged(); return this; } /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1091,17 +1200,18 @@ public Builder setKeywordSearchable(boolean value) {
      * 
* * bool keyword_searchable = 4; + * * @return This builder for chaining. */ public Builder clearKeywordSearchable() { - + keywordSearchable_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,12 +1221,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.CustomAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.CustomAttribute) private static final com.google.cloud.talent.v4.CustomAttribute DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.CustomAttribute(); } @@ -1125,27 +1235,27 @@ public static com.google.cloud.talent.v4.CustomAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,6 +1270,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.CustomAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java similarity index 86% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java index 615a9906c0ed..4e5b0b8c40d0 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CustomAttributeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface CustomAttributeOrBuilder extends +public interface CustomAttributeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.CustomAttribute) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -20,11 +38,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - java.util.List - getStringValuesList(); + java.util.List getStringValuesList(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -37,10 +57,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ int getStringValuesCount(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -53,11 +76,14 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ java.lang.String getStringValues(int index); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -70,13 +96,15 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - com.google.protobuf.ByteString - getStringValuesBytes(int index); + com.google.protobuf.ByteString getStringValuesBytes(int index); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -85,10 +113,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ java.util.List getLongValuesList(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -97,10 +128,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ int getLongValuesCount(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -109,12 +143,15 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ long getLongValues(int index); /** + * + * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4.JobQuery.custom_attribute_filter].
@@ -123,11 +160,14 @@ public interface CustomAttributeOrBuilder extends
    * 
* * bool filterable = 3; + * * @return The filterable. */ boolean getFilterable(); /** + * + * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -136,6 +176,7 @@ public interface CustomAttributeOrBuilder extends
    * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ boolean getKeywordSearchable(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java similarity index 81% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java index 44b626ae30e6..90502af83217 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DegreeType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Educational degree level defined in International Standard Classification
  * of Education (ISCED).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.DegreeType}
  */
-public enum DegreeType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -24,6 +42,8 @@ public enum DegreeType
    */
   DEGREE_TYPE_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -34,6 +54,8 @@ public enum DegreeType
    */
   PRIMARY_EDUCATION(1),
   /**
+   *
+   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -45,6 +67,8 @@ public enum DegreeType
    */
   LOWER_SECONDARY_EDUCATION(2),
   /**
+   *
+   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -57,6 +81,8 @@ public enum DegreeType
    */
   UPPER_SECONDARY_EDUCATION(3),
   /**
+   *
+   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -68,6 +94,8 @@ public enum DegreeType
    */
   ADULT_REMEDIAL_EDUCATION(4),
   /**
+   *
+   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -79,6 +107,8 @@ public enum DegreeType
    */
   ASSOCIATES_OR_EQUIVALENT(5),
   /**
+   *
+   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -89,6 +119,8 @@ public enum DegreeType
    */
   BACHELORS_OR_EQUIVALENT(6),
   /**
+   *
+   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -99,6 +131,8 @@ public enum DegreeType
    */
   MASTERS_OR_EQUIVALENT(7),
   /**
+   *
+   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -113,6 +147,8 @@ public enum DegreeType
   ;
 
   /**
+   *
+   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -123,6 +159,8 @@ public enum DegreeType
    */
   public static final int DEGREE_TYPE_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -133,6 +171,8 @@ public enum DegreeType
    */
   public static final int PRIMARY_EDUCATION_VALUE = 1;
   /**
+   *
+   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -144,6 +184,8 @@ public enum DegreeType
    */
   public static final int LOWER_SECONDARY_EDUCATION_VALUE = 2;
   /**
+   *
+   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -156,6 +198,8 @@ public enum DegreeType
    */
   public static final int UPPER_SECONDARY_EDUCATION_VALUE = 3;
   /**
+   *
+   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -167,6 +211,8 @@ public enum DegreeType
    */
   public static final int ADULT_REMEDIAL_EDUCATION_VALUE = 4;
   /**
+   *
+   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -178,6 +224,8 @@ public enum DegreeType
    */
   public static final int ASSOCIATES_OR_EQUIVALENT_VALUE = 5;
   /**
+   *
+   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -188,6 +236,8 @@ public enum DegreeType
    */
   public static final int BACHELORS_OR_EQUIVALENT_VALUE = 6;
   /**
+   *
+   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -198,6 +248,8 @@ public enum DegreeType
    */
   public static final int MASTERS_OR_EQUIVALENT_VALUE = 7;
   /**
+   *
+   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -209,7 +261,6 @@ public enum DegreeType
    */
   public static final int DOCTORAL_OR_EQUIVALENT_VALUE = 8;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -234,55 +285,61 @@ public static DegreeType valueOf(int value) {
    */
   public static DegreeType forNumber(int value) {
     switch (value) {
-      case 0: return DEGREE_TYPE_UNSPECIFIED;
-      case 1: return PRIMARY_EDUCATION;
-      case 2: return LOWER_SECONDARY_EDUCATION;
-      case 3: return UPPER_SECONDARY_EDUCATION;
-      case 4: return ADULT_REMEDIAL_EDUCATION;
-      case 5: return ASSOCIATES_OR_EQUIVALENT;
-      case 6: return BACHELORS_OR_EQUIVALENT;
-      case 7: return MASTERS_OR_EQUIVALENT;
-      case 8: return DOCTORAL_OR_EQUIVALENT;
-      default: return null;
+      case 0:
+        return DEGREE_TYPE_UNSPECIFIED;
+      case 1:
+        return PRIMARY_EDUCATION;
+      case 2:
+        return LOWER_SECONDARY_EDUCATION;
+      case 3:
+        return UPPER_SECONDARY_EDUCATION;
+      case 4:
+        return ADULT_REMEDIAL_EDUCATION;
+      case 5:
+        return ASSOCIATES_OR_EQUIVALENT;
+      case 6:
+        return BACHELORS_OR_EQUIVALENT;
+      case 7:
+        return MASTERS_OR_EQUIVALENT;
+      case 8:
+        return DOCTORAL_OR_EQUIVALENT;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      DegreeType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DegreeType findValueByNumber(int number) {
-            return DegreeType.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public DegreeType findValueByNumber(int number) {
+          return DegreeType.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DegreeType[] VALUES = values();
 
-  public static DegreeType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DegreeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -298,4 +355,3 @@ private DegreeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.DegreeType)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
similarity index 63%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
index 93deb0f2099f..2da2c22c4e7b 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequest.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Request to delete a company.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteCompanyRequest} */ -public final class DeleteCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteCompanyRequest) DeleteCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCompanyRequest.newBuilder() to construct. private DeleteCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteCompanyRequest.class, com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4.DeleteCompanyRequest.class, + com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -82,17 +107,18 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteCompanyRequest other = (com.google.cloud.talent.v4.DeleteCompanyRequest) obj; + com.google.cloud.talent.v4.DeleteCompanyRequest other = + (com.google.cloud.talent.v4.DeleteCompanyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +190,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.DeleteCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteCompanyRequest) com.google.cloud.talent.v4.DeleteCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteCompanyRequest.class, com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4.DeleteCompanyRequest.class, + com.google.cloud.talent.v4.DeleteCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteCompanyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_DeleteCompanyRequest_descriptor; } @java.lang.Override @@ -318,7 +350,8 @@ public com.google.cloud.talent.v4.DeleteCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteCompanyRequest buildPartial() { - com.google.cloud.talent.v4.DeleteCompanyRequest result = new com.google.cloud.talent.v4.DeleteCompanyRequest(this); + com.google.cloud.talent.v4.DeleteCompanyRequest result = + new com.google.cloud.talent.v4.DeleteCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -328,38 +361,39 @@ public com.google.cloud.talent.v4.DeleteCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4.DeleteCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -367,7 +401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.DeleteCompanyRequest other) { - if (other == com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -398,17 +433,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +458,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -428,14 +467,16 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -444,6 +485,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -451,16 +494,17 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -468,6 +512,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -475,21 +521,25 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -497,16 +547,21 @@ public Builder setName(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -514,24 +569,26 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteCompanyRequest) private static final com.google.cloud.talent.v4.DeleteCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteCompanyRequest(); } @@ -555,27 +612,27 @@ public static com.google.cloud.talent.v4.DeleteCompanyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java new file mode 100644 index 000000000000..6090689c4054 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteCompanyRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteCompanyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteCompanyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the company to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/foo/tenants/bar/companies/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the company to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/foo/tenants/bar/companies/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java similarity index 63% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java index 8a44c70102bb..6cab46260b34 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Delete job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteJobRequest} */ -public final class DeleteJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteJobRequest) DeleteJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteJobRequest.class, com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4.DeleteJobRequest.class, + com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -82,17 +107,18 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteJobRequest other = (com.google.cloud.talent.v4.DeleteJobRequest) obj; + com.google.cloud.talent.v4.DeleteJobRequest other = + (com.google.cloud.talent.v4.DeleteJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +190,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteJobRequest) com.google.cloud.talent.v4.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteJobRequest.class, com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4.DeleteJobRequest.class, + com.google.cloud.talent.v4.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor; } @java.lang.Override @@ -318,7 +350,8 @@ public com.google.cloud.talent.v4.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteJobRequest buildPartial() { - com.google.cloud.talent.v4.DeleteJobRequest result = new com.google.cloud.talent.v4.DeleteJobRequest(this); + com.google.cloud.talent.v4.DeleteJobRequest result = + new com.google.cloud.talent.v4.DeleteJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -328,38 +361,39 @@ public com.google.cloud.talent.v4.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4.DeleteJobRequest) other); } else { super.mergeFrom(other); return this; @@ -398,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +457,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -428,14 +466,16 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -444,6 +484,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -451,16 +493,17 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -468,6 +511,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -475,21 +520,25 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -497,16 +546,21 @@ public Builder setName(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -514,24 +568,26 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteJobRequest) private static final com.google.cloud.talent.v4.DeleteJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteJobRequest(); } @@ -555,27 +611,27 @@ public static com.google.cloud.talent.v4.DeleteJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java new file mode 100644 index 000000000000..67be0b74c015 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the job to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the job to be deleted.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java similarity index 63% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java index f8278eef1458..b50070cdf943 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Request to delete a tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteTenantRequest} */ -public final class DeleteTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeleteTenantRequest) DeleteTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTenantRequest.newBuilder() to construct. private DeleteTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteTenantRequest.class, com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4.DeleteTenantRequest.class, + com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeleteTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.DeleteTenantRequest other = (com.google.cloud.talent.v4.DeleteTenantRequest) obj; + com.google.cloud.talent.v4.DeleteTenantRequest other = + (com.google.cloud.talent.v4.DeleteTenantRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeleteTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.DeleteTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4.DeleteTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeleteTenantRequest) com.google.cloud.talent.v4.DeleteTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.DeleteTenantRequest.class, com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4.DeleteTenantRequest.class, + com.google.cloud.talent.v4.DeleteTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.DeleteTenantRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_DeleteTenantRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.talent.v4.DeleteTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.DeleteTenantRequest buildPartial() { - com.google.cloud.talent.v4.DeleteTenantRequest result = new com.google.cloud.talent.v4.DeleteTenantRequest(this); + com.google.cloud.talent.v4.DeleteTenantRequest result = + new com.google.cloud.talent.v4.DeleteTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.talent.v4.DeleteTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.DeleteTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.DeleteTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4.DeleteTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -396,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +455,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +481,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,67 +507,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeleteTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeleteTenantRequest) private static final com.google.cloud.talent.v4.DeleteTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeleteTenantRequest(); } @@ -548,27 +604,27 @@ public static com.google.cloud.talent.v4.DeleteTenantRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeleteTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java new file mode 100644 index 000000000000..52c6779909ed --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant_service.proto + +package com.google.cloud.talent.v4; + +public interface DeleteTenantRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java similarity index 69% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java index 09c27b3b8207..7bcd0eb2b9c1 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Device information collected from the job seeker, candidate, or
  * other entity conducting the job search. Providing this information improves
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.DeviceInfo}
  */
-public final class DeviceInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeviceInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.DeviceInfo)
     DeviceInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeviceInfo.newBuilder() to construct.
   private DeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeviceInfo() {
     deviceType_ = 0;
     id_ = "";
@@ -28,39 +46,43 @@ private DeviceInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeviceInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.DeviceInfo.class, com.google.cloud.talent.v4.DeviceInfo.Builder.class);
+            com.google.cloud.talent.v4.DeviceInfo.class,
+            com.google.cloud.talent.v4.DeviceInfo.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enumeration describing an API access portal and exposure mechanism.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.DeviceInfo.DeviceType} */ - public enum DeviceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The device type isn't specified.
      * 
@@ -69,6 +91,8 @@ public enum DeviceType */ DEVICE_TYPE_UNSPECIFIED(0), /** + * + * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -78,6 +102,8 @@ public enum DeviceType
      */
     WEB(1),
     /**
+     *
+     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -87,6 +113,8 @@ public enum DeviceType
      */
     MOBILE_WEB(2),
     /**
+     *
+     *
      * 
      * An Android device native application.
      * 
@@ -95,6 +123,8 @@ public enum DeviceType */ ANDROID(3), /** + * + * *
      * An iOS device native application.
      * 
@@ -103,6 +133,8 @@ public enum DeviceType */ IOS(4), /** + * + * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -112,6 +144,8 @@ public enum DeviceType
      */
     BOT(5),
     /**
+     *
+     *
      * 
      * Other devices types.
      * 
@@ -123,6 +157,8 @@ public enum DeviceType ; /** + * + * *
      * The device type isn't specified.
      * 
@@ -131,6 +167,8 @@ public enum DeviceType */ public static final int DEVICE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -140,6 +178,8 @@ public enum DeviceType
      */
     public static final int WEB_VALUE = 1;
     /**
+     *
+     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -149,6 +189,8 @@ public enum DeviceType
      */
     public static final int MOBILE_WEB_VALUE = 2;
     /**
+     *
+     *
      * 
      * An Android device native application.
      * 
@@ -157,6 +199,8 @@ public enum DeviceType */ public static final int ANDROID_VALUE = 3; /** + * + * *
      * An iOS device native application.
      * 
@@ -165,6 +209,8 @@ public enum DeviceType */ public static final int IOS_VALUE = 4; /** + * + * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -174,6 +220,8 @@ public enum DeviceType
      */
     public static final int BOT_VALUE = 5;
     /**
+     *
+     *
      * 
      * Other devices types.
      * 
@@ -182,7 +230,6 @@ public enum DeviceType */ public static final int OTHER_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,53 +254,57 @@ public static DeviceType valueOf(int value) { */ public static DeviceType forNumber(int value) { switch (value) { - case 0: return DEVICE_TYPE_UNSPECIFIED; - case 1: return WEB; - case 2: return MOBILE_WEB; - case 3: return ANDROID; - case 4: return IOS; - case 5: return BOT; - case 6: return OTHER; - default: return null; + case 0: + return DEVICE_TYPE_UNSPECIFIED; + case 1: + return WEB; + case 2: + return MOBILE_WEB; + case 3: + return ANDROID; + case 4: + return IOS; + case 5: + return BOT; + case 6: + return OTHER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DeviceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeviceType findValueByNumber(int number) { - return DeviceType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final DeviceType[] VALUES = values(); - public static DeviceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -273,39 +324,51 @@ private DeviceType(int value) { public static final int DEVICE_TYPE_FIELD_NUMBER = 1; private int deviceType_; /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override public int getDeviceTypeValue() { + @java.lang.Override + public int getDeviceTypeValue() { return deviceType_; } /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ - @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { + @java.lang.Override + public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.DeviceInfo.DeviceType result = com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); + com.google.cloud.talent.v4.DeviceInfo.DeviceType result = + com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); return result == null ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED : result; } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -314,30 +377,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -346,6 +409,7 @@ public java.lang.String getId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,9 +421,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (deviceType_ != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (deviceType_ + != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { @@ -374,9 +438,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (deviceType_ != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, deviceType_); + if (deviceType_ + != com.google.cloud.talent.v4.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); @@ -389,7 +453,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.DeviceInfo)) { return super.equals(obj); @@ -397,8 +461,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4.DeviceInfo other = (com.google.cloud.talent.v4.DeviceInfo) obj; if (deviceType_ != other.deviceType_) return false; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -419,97 +482,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.DeviceInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.DeviceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeviceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeviceInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.DeviceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Device information collected from the job seeker, candidate, or
    * other entity conducting the job search. Providing this information improves
@@ -518,33 +587,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.DeviceInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.DeviceInfo)
       com.google.cloud.talent.v4.DeviceInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.DeviceInfo.class, com.google.cloud.talent.v4.DeviceInfo.Builder.class);
+              com.google.cloud.talent.v4.DeviceInfo.class,
+              com.google.cloud.talent.v4.DeviceInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.DeviceInfo.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -556,9 +624,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
@@ -577,7 +645,8 @@ public com.google.cloud.talent.v4.DeviceInfo build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.DeviceInfo buildPartial() {
-      com.google.cloud.talent.v4.DeviceInfo result = new com.google.cloud.talent.v4.DeviceInfo(this);
+      com.google.cloud.talent.v4.DeviceInfo result =
+          new com.google.cloud.talent.v4.DeviceInfo(this);
       result.deviceType_ = deviceType_;
       result.id_ = id_;
       onBuilt();
@@ -588,38 +657,39 @@ public com.google.cloud.talent.v4.DeviceInfo buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.DeviceInfo) {
-        return mergeFrom((com.google.cloud.talent.v4.DeviceInfo)other);
+        return mergeFrom((com.google.cloud.talent.v4.DeviceInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -661,22 +731,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              deviceType_ = input.readEnum();
+            case 8:
+              {
+                deviceType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              id_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                id_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -689,51 +762,67 @@ public Builder mergeFrom(
 
     private int deviceType_ = 0;
     /**
+     *
+     *
      * 
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override public int getDeviceTypeValue() { + @java.lang.Override + public int getDeviceTypeValue() { return deviceType_; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @param value The enum numeric value on the wire for deviceType to set. * @return This builder for chaining. */ public Builder setDeviceTypeValue(int value) { - + deviceType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.DeviceInfo.DeviceType result = com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.DeviceInfo.DeviceType result = + com.google.cloud.talent.v4.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null + ? com.google.cloud.talent.v4.DeviceInfo.DeviceType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @param value The deviceType to set. * @return This builder for chaining. */ @@ -741,21 +830,24 @@ public Builder setDeviceType(com.google.cloud.talent.v4.DeviceInfo.DeviceType va if (value == null) { throw new NullPointerException(); } - + deviceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return This builder for chaining. */ public Builder clearDeviceType() { - + deviceType_ = 0; onChanged(); return this; @@ -763,19 +855,21 @@ public Builder clearDeviceType() { private java.lang.Object id_ = ""; /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -784,21 +878,22 @@ public java.lang.String getId() { } } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -806,64 +901,71 @@ public java.lang.String getId() { } } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -873,12 +975,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.DeviceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.DeviceInfo) private static final com.google.cloud.talent.v4.DeviceInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.DeviceInfo(); } @@ -887,27 +989,27 @@ public static com.google.cloud.talent.v4.DeviceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeviceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeviceInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1024,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.DeviceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java similarity index 61% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java index d9e3b12e249b..552aded20b59 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeviceInfoOrBuilder.java @@ -1,50 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface DeviceInfoOrBuilder extends +public interface DeviceInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeviceInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ int getDeviceTypeValue(); /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ com.google.cloud.talent.v4.DeviceInfo.DeviceType getDeviceType(); /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java index 417f22f3c186..3a124a215e15 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EmploymentType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * An enum that represents the employment type of a job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.EmploymentType} */ -public enum EmploymentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value if the employment type isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum EmploymentType */ EMPLOYMENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -30,6 +50,8 @@ public enum EmploymentType
    */
   FULL_TIME(1),
   /**
+   *
+   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -39,6 +61,8 @@ public enum EmploymentType
    */
   PART_TIME(2),
   /**
+   *
+   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -48,6 +72,8 @@ public enum EmploymentType
    */
   CONTRACTOR(3),
   /**
+   *
+   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -59,6 +85,8 @@ public enum EmploymentType
    */
   CONTRACT_TO_HIRE(4),
   /**
+   *
+   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -68,6 +96,8 @@ public enum EmploymentType
    */
   TEMPORARY(5),
   /**
+   *
+   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -78,6 +108,8 @@ public enum EmploymentType
    */
   INTERN(6),
   /**
+   *
+   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -87,6 +119,8 @@ public enum EmploymentType
    */
   VOLUNTEER(7),
   /**
+   *
+   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -96,6 +130,8 @@ public enum EmploymentType
    */
   PER_DIEM(8),
   /**
+   *
+   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -106,6 +142,8 @@ public enum EmploymentType
    */
   FLY_IN_FLY_OUT(9),
   /**
+   *
+   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -117,6 +155,8 @@ public enum EmploymentType ; /** + * + * *
    * The default value if the employment type isn't specified.
    * 
@@ -125,6 +165,8 @@ public enum EmploymentType */ public static final int EMPLOYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -134,6 +176,8 @@ public enum EmploymentType
    */
   public static final int FULL_TIME_VALUE = 1;
   /**
+   *
+   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -143,6 +187,8 @@ public enum EmploymentType
    */
   public static final int PART_TIME_VALUE = 2;
   /**
+   *
+   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -152,6 +198,8 @@ public enum EmploymentType
    */
   public static final int CONTRACTOR_VALUE = 3;
   /**
+   *
+   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -163,6 +211,8 @@ public enum EmploymentType
    */
   public static final int CONTRACT_TO_HIRE_VALUE = 4;
   /**
+   *
+   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -172,6 +222,8 @@ public enum EmploymentType
    */
   public static final int TEMPORARY_VALUE = 5;
   /**
+   *
+   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -182,6 +234,8 @@ public enum EmploymentType
    */
   public static final int INTERN_VALUE = 6;
   /**
+   *
+   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -191,6 +245,8 @@ public enum EmploymentType
    */
   public static final int VOLUNTEER_VALUE = 7;
   /**
+   *
+   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -200,6 +256,8 @@ public enum EmploymentType
    */
   public static final int PER_DIEM_VALUE = 8;
   /**
+   *
+   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -210,6 +268,8 @@ public enum EmploymentType
    */
   public static final int FLY_IN_FLY_OUT_VALUE = 9;
   /**
+   *
+   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -218,7 +278,6 @@ public enum EmploymentType */ public static final int OTHER_EMPLOYMENT_TYPE_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -243,57 +302,65 @@ public static EmploymentType valueOf(int value) { */ public static EmploymentType forNumber(int value) { switch (value) { - case 0: return EMPLOYMENT_TYPE_UNSPECIFIED; - case 1: return FULL_TIME; - case 2: return PART_TIME; - case 3: return CONTRACTOR; - case 4: return CONTRACT_TO_HIRE; - case 5: return TEMPORARY; - case 6: return INTERN; - case 7: return VOLUNTEER; - case 8: return PER_DIEM; - case 9: return FLY_IN_FLY_OUT; - case 10: return OTHER_EMPLOYMENT_TYPE; - default: return null; + case 0: + return EMPLOYMENT_TYPE_UNSPECIFIED; + case 1: + return FULL_TIME; + case 2: + return PART_TIME; + case 3: + return CONTRACTOR; + case 4: + return CONTRACT_TO_HIRE; + case 5: + return TEMPORARY; + case 6: + return INTERN; + case 7: + return VOLUNTEER; + case 8: + return PER_DIEM; + case 9: + return FLY_IN_FLY_OUT; + case 10: + return OTHER_EMPLOYMENT_TYPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EmploymentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EmploymentType findValueByNumber(int number) { - return EmploymentType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EmploymentType findValueByNumber(int number) { + return EmploymentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(3); } private static final EmploymentType[] VALUES = values(); - public static EmploymentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EmploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -309,4 +376,3 @@ private EmploymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.EmploymentType) } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java new file mode 100644 index 000000000000..f8522a8fa5fc --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java @@ -0,0 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/event.proto + +package com.google.cloud.talent.v4; + +public final class EventProto { + private EventProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_ClientEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_JobEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\"google/cloud/talent/v4/event.proto\022\026go" + + "ogle.cloud.talent.v4\032\037google/api/field_b" + + "ehavior.proto\032\037google/protobuf/timestamp" + + ".proto\"\303\001\n\013ClientEvent\022\022\n\nrequest_id\030\001 \001" + + "(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013create_time" + + "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + + "5\n\tjob_event\030\005 \001(\0132 .google.cloud.talent" + + ".v4.JobEventH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005e" + + "vent\"\340\003\n\010JobEvent\022@\n\004type\030\001 \001(\0162-.google" + + ".cloud.talent.v4.JobEvent.JobEventTypeB\003" + + "\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340A\002\"\376\002\n\014JobEventType\022" + + "\036\n\032JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE" + + "SSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021" + + "APPLICATION_START\020\004\022\026\n\022APPLICATION_FINIS" + + "H\020\005\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n" + + "\024APPLICATION_REDIRECT\020\007\022!\n\035APPLICATION_S" + + "TART_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRE" + + "CT_FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_" + + "SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014" + + "\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GR" + + "ANTED\020\017Bn\n\032com.google.cloud.talent.v4B\nE" + + "ventProtoP\001Z\n\014client_event\030\002 \001" + + "(\0132#.google.cloud.talent.v4.ClientEventB" + + "\003\340A\0022\305\002\n\014EventService\022\306\001\n\021CreateClientEv" + + "ent\0220.google.cloud.talent.v4.CreateClien" + + "tEventRequest\032#.google.cloud.talent.v4.C" + + "lientEvent\"Z\202\323\344\223\002>\"./v4/{parent=projects" + + "/*/tenants/*}/clientEvents:\014client_event" + + "\332A\023parent,client_event\032l\312A\023jobs.googleap" + + "is.com\322AShttps://www.googleapis.com/auth" + + "/cloud-platform,https://www.googleapis.c" + + "om/auth/jobsBu\n\032com.google.cloud.talent." + + "v4B\021EventServiceProtoP\001Z * Request for getting a company by name. *
* * Protobuf type {@code google.cloud.talent.v4.GetCompanyRequest} */ -public final class GetCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetCompanyRequest) GetCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCompanyRequest.newBuilder() to construct. private GetCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetCompanyRequest.class, com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4.GetCompanyRequest.class, + com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * example, "projects/api-test-project/tenants/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -82,17 +107,18 @@ public java.lang.String getName() {
    * example, "projects/api-test-project/tenants/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.GetCompanyRequest other = (com.google.cloud.talent.v4.GetCompanyRequest) obj; + com.google.cloud.talent.v4.GetCompanyRequest other = + (com.google.cloud.talent.v4.GetCompanyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +190,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.GetCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for getting a company by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetCompanyRequest) com.google.cloud.talent.v4.GetCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetCompanyRequest.class, com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4.GetCompanyRequest.class, + com.google.cloud.talent.v4.GetCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetCompanyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_GetCompanyRequest_descriptor; } @java.lang.Override @@ -318,7 +350,8 @@ public com.google.cloud.talent.v4.GetCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetCompanyRequest buildPartial() { - com.google.cloud.talent.v4.GetCompanyRequest result = new com.google.cloud.talent.v4.GetCompanyRequest(this); + com.google.cloud.talent.v4.GetCompanyRequest result = + new com.google.cloud.talent.v4.GetCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -328,38 +361,39 @@ public com.google.cloud.talent.v4.GetCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4.GetCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -398,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +457,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -428,14 +466,16 @@ public Builder mergeFrom(
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -444,6 +484,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -451,16 +493,17 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -468,6 +511,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -475,21 +520,25 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -497,16 +546,21 @@ public Builder setName(
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -514,24 +568,26 @@ public Builder clearName() {
      * example, "projects/api-test-project/tenants/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetCompanyRequest) private static final com.google.cloud.talent.v4.GetCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetCompanyRequest(); } @@ -555,27 +611,27 @@ public static com.google.cloud.talent.v4.GetCompanyRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +646,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java new file mode 100644 index 000000000000..a713a659f982 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetCompanyRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/company_service.proto + +package com.google.cloud.talent.v4; + +public interface GetCompanyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetCompanyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the company to be retrieved.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/api-test-project/tenants/foo/companies/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the company to be retrieved.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
+   * example, "projects/api-test-project/tenants/foo/companies/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java similarity index 63% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java index 9938f00d8c9d..9aa0cfdf5830 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.GetJobRequest} */ -public final class GetJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetJobRequest) GetJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetJobRequest.class, com.google.cloud.talent.v4.GetJobRequest.Builder.class); + com.google.cloud.talent.v4.GetJobRequest.class, + com.google.cloud.talent.v4.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -82,17 +107,18 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/jobs/baz".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -101,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -137,15 +163,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetJobRequest)) { return super.equals(obj); } com.google.cloud.talent.v4.GetJobRequest other = (com.google.cloud.talent.v4.GetJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +189,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetJobRequest) com.google.cloud.talent.v4.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetJobRequest.class, com.google.cloud.talent.v4.GetJobRequest.Builder.class); + com.google.cloud.talent.v4.GetJobRequest.class, + com.google.cloud.talent.v4.GetJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +328,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_GetJobRequest_descriptor; } @java.lang.Override @@ -318,7 +349,8 @@ public com.google.cloud.talent.v4.GetJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetJobRequest buildPartial() { - com.google.cloud.talent.v4.GetJobRequest result = new com.google.cloud.talent.v4.GetJobRequest(this); + com.google.cloud.talent.v4.GetJobRequest result = + new com.google.cloud.talent.v4.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -328,38 +360,39 @@ public com.google.cloud.talent.v4.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4.GetJobRequest) other); } else { super.mergeFrom(other); return this; @@ -398,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +456,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -428,14 +465,16 @@ public Builder mergeFrom(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -444,6 +483,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -451,16 +492,17 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -468,6 +510,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -475,21 +519,25 @@ public java.lang.String getName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -497,16 +545,21 @@ public Builder setName(
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -514,24 +567,26 @@ public Builder clearName() {
      * example, "projects/foo/tenants/bar/jobs/baz".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +596,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetJobRequest) private static final com.google.cloud.talent.v4.GetJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetJobRequest(); } @@ -555,27 +610,27 @@ public static com.google.cloud.talent.v4.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java new file mode 100644 index 000000000000..2cd5e9050380 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job_service.proto + +package com.google.cloud.talent.v4; + +public interface GetJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the job to retrieve.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the job to retrieve.
+   * The format is
+   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
+   * example, "projects/foo/tenants/bar/jobs/baz".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java similarity index 62% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java index 8c912d688699..2abcbdcc018d 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Request for getting a tenant by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4.GetTenantRequest} */ -public final class GetTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.GetTenantRequest) GetTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTenantRequest.newBuilder() to construct. private GetTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetTenantRequest.class, com.google.cloud.talent.v4.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4.GetTenantRequest.class, + com.google.cloud.talent.v4.GetTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.GetTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.GetTenantRequest other = (com.google.cloud.talent.v4.GetTenantRequest) obj; + com.google.cloud.talent.v4.GetTenantRequest other = + (com.google.cloud.talent.v4.GetTenantRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.GetTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.GetTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for getting a tenant by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4.GetTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.GetTenantRequest) com.google.cloud.talent.v4.GetTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.GetTenantRequest.class, com.google.cloud.talent.v4.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4.GetTenantRequest.class, + com.google.cloud.talent.v4.GetTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.GetTenantRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_GetTenantRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.talent.v4.GetTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.GetTenantRequest buildPartial() { - com.google.cloud.talent.v4.GetTenantRequest result = new com.google.cloud.talent.v4.GetTenantRequest(this); + com.google.cloud.talent.v4.GetTenantRequest result = + new com.google.cloud.talent.v4.GetTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.talent.v4.GetTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.GetTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.GetTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4.GetTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -396,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +455,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +481,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,67 +507,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +590,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.GetTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.GetTenantRequest) private static final com.google.cloud.talent.v4.GetTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.GetTenantRequest(); } @@ -548,27 +604,27 @@ public static com.google.cloud.talent.v4.GetTenantRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.GetTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java new file mode 100644 index 000000000000..8daf851a3510 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant_service.proto + +package com.google.cloud.talent.v4; + +public interface GetTenantRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java new file mode 100644 index 000000000000..0b84891210be --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/histogram.proto + +package com.google.cloud.talent.v4; + +public final class HistogramProto { + private HistogramProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/talent/v4/histogram.proto" + + "\022\026google.cloud.talent.v4\")\n\016HistogramQue" + + "ry\022\027\n\017histogram_query\030\001 \001(\t\"\261\001\n\024Histogra" + + "mQueryResult\022\027\n\017histogram_query\030\001 \001(\t\022N\n" + + "\thistogram\030\002 \003(\0132;.google.cloud.talent.v" + + "4.HistogramQueryResult.HistogramEntry\0320\n" + + "\016HistogramEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\003:\0028\001Br\n\032com.google.cloud.talent.v4B\016H" + + "istogramProtoP\001Z * The histogram request. *
* * Protobuf type {@code google.cloud.talent.v4.HistogramQuery} */ -public final class HistogramQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HistogramQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.HistogramQuery) HistogramQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HistogramQuery.newBuilder() to construct. private HistogramQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HistogramQuery() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HistogramQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQuery.class, com.google.cloud.talent.v4.HistogramQuery.Builder.class); + com.google.cloud.talent.v4.HistogramQuery.class, + com.google.cloud.talent.v4.HistogramQuery.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** + * + * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -58,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ @java.lang.Override @@ -66,14 +88,15 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** + * + * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -81,16 +104,15 @@ public java.lang.String getHistogramQuery() {
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -99,6 +121,7 @@ public java.lang.String getHistogramQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +133,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_); } @@ -135,15 +157,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.HistogramQuery)) { return super.equals(obj); } - com.google.cloud.talent.v4.HistogramQuery other = (com.google.cloud.talent.v4.HistogramQuery) obj; + com.google.cloud.talent.v4.HistogramQuery other = + (com.google.cloud.talent.v4.HistogramQuery) obj; - if (!getHistogramQuery() - .equals(other.getHistogramQuery())) return false; + if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +184,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.HistogramQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.HistogramQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.HistogramQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.HistogramQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The histogram request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.HistogramQuery) com.google.cloud.talent.v4.HistogramQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQuery.class, com.google.cloud.talent.v4.HistogramQuery.Builder.class); + com.google.cloud.talent.v4.HistogramQuery.class, + com.google.cloud.talent.v4.HistogramQuery.Builder.class); } // Construct using com.google.cloud.talent.v4.HistogramQuery.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; } @java.lang.Override @@ -316,7 +344,8 @@ public com.google.cloud.talent.v4.HistogramQuery build() { @java.lang.Override public com.google.cloud.talent.v4.HistogramQuery buildPartial() { - com.google.cloud.talent.v4.HistogramQuery result = new com.google.cloud.talent.v4.HistogramQuery(this); + com.google.cloud.talent.v4.HistogramQuery result = + new com.google.cloud.talent.v4.HistogramQuery(this); result.histogramQuery_ = histogramQuery_; onBuilt(); return result; @@ -326,38 +355,39 @@ public com.google.cloud.talent.v4.HistogramQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.HistogramQuery) { - return mergeFrom((com.google.cloud.talent.v4.HistogramQuery)other); + return mergeFrom((com.google.cloud.talent.v4.HistogramQuery) other); } else { super.mergeFrom(other); return this; @@ -396,17 +426,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,6 +451,8 @@ public Builder mergeFrom( private java.lang.Object histogramQuery_ = ""; /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -426,13 +460,13 @@ public Builder mergeFrom(
      * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -441,6 +475,8 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -448,15 +484,14 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -464,6 +499,8 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -471,20 +508,22 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery( - java.lang.String value) { + public Builder setHistogramQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -492,15 +531,18 @@ public Builder setHistogramQuery(
      * 
* * string histogram_query = 1; + * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** + * + * *
      * An expression specifies a histogram request against matching jobs for
      * searches.
@@ -508,23 +550,23 @@ public Builder clearHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +576,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.HistogramQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.HistogramQuery) private static final com.google.cloud.talent.v4.HistogramQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.HistogramQuery(); } @@ -548,27 +590,27 @@ public static com.google.cloud.talent.v4.HistogramQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HistogramQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HistogramQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +625,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.HistogramQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java similarity index 57% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java index 69ae1c2042f3..727e04853f37 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/histogram.proto package com.google.cloud.talent.v4; -public interface HistogramQueryOrBuilder extends +public interface HistogramQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.HistogramQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -15,10 +33,13 @@ public interface HistogramQueryOrBuilder extends
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** + * + * *
    * An expression specifies a histogram request against matching jobs for
    * searches.
@@ -26,8 +47,8 @@ public interface HistogramQueryOrBuilder extends
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString - getHistogramQueryBytes(); + com.google.protobuf.ByteString getHistogramQueryBytes(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java similarity index 66% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java index f89d54037029..908ac2d74f63 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResult.java @@ -1,73 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/histogram.proto package com.google.cloud.talent.v4; /** + * + * *
  * Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
  * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQueryResult} */ -public final class HistogramQueryResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HistogramQueryResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.HistogramQueryResult) HistogramQueryResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HistogramQueryResult.newBuilder() to construct. private HistogramQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HistogramQueryResult() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HistogramQueryResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQueryResult.class, com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4.HistogramQueryResult.class, + com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ @java.lang.Override @@ -76,29 +97,29 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -107,24 +128,23 @@ public java.lang.String getHistogramQuery() { } public static final int HISTOGRAM_FIELD_NUMBER = 2; + private static final class HistogramDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> histogram_; - private com.google.protobuf.MapField - internalGetHistogram() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + + private com.google.protobuf.MapField histogram_; + + private com.google.protobuf.MapField internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } @@ -133,6 +153,8 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** + * + * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -146,22 +168,22 @@ public int getHistogramCount() {
    *
    * map<string, int64> histogram = 2;
    */
-
   @java.lang.Override
-  public boolean containsHistogram(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHistogram(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHistogram().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHistogramMap()} instead.
-   */
+  /** Use {@link #getHistogramMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHistogram() {
     return getHistogramMap();
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -176,11 +198,12 @@ public java.util.Map getHistogram() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
   public java.util.Map getHistogramMap() {
     return internalGetHistogram().getMap();
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -195,16 +218,16 @@ public java.util.Map getHistogramMap() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
-  public long getHistogramOrDefault(
-      java.lang.String key,
-      long defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHistogram().getMap();
+  public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHistogram().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -219,12 +242,11 @@ public long getHistogramOrDefault(
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
-  public long getHistogramOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHistogram().getMap();
+  public long getHistogramOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHistogram().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -232,6 +254,7 @@ public long getHistogramOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -243,17 +266,12 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHistogram(),
-        HistogramDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHistogram(), HistogramDefaultEntryHolder.defaultEntry, 2);
     getUnknownFields().writeTo(output);
   }
 
@@ -266,15 +284,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, histogramQuery_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHistogram().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      histogram__ = HistogramDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, histogram__);
+    for (java.util.Map.Entry entry :
+        internalGetHistogram().getMap().entrySet()) {
+      com.google.protobuf.MapEntry histogram__ =
+          HistogramDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, histogram__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,17 +302,16 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.HistogramQueryResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.HistogramQueryResult other = (com.google.cloud.talent.v4.HistogramQueryResult) obj;
+    com.google.cloud.talent.v4.HistogramQueryResult other =
+        (com.google.cloud.talent.v4.HistogramQueryResult) obj;
 
-    if (!getHistogramQuery()
-        .equals(other.getHistogramQuery())) return false;
-    if (!internalGetHistogram().equals(
-        other.internalGetHistogram())) return false;
+    if (!getHistogramQuery().equals(other.getHistogramQuery())) return false;
+    if (!internalGetHistogram().equals(other.internalGetHistogram())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -317,152 +334,156 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.HistogramQueryResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.HistogramQueryResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Histogram result that matches [HistogramQuery][google.cloud.talent.v4.HistogramQuery] specified in searches.
    * 
* * Protobuf type {@code google.cloud.talent.v4.HistogramQueryResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.HistogramQueryResult) com.google.cloud.talent.v4.HistogramQueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.HistogramQueryResult.class, com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4.HistogramQueryResult.class, + com.google.cloud.talent.v4.HistogramQueryResult.Builder.class); } // Construct using com.google.cloud.talent.v4.HistogramQueryResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.HistogramProto.internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.HistogramProto + .internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; } @java.lang.Override @@ -494,7 +515,8 @@ public com.google.cloud.talent.v4.HistogramQueryResult build() { @java.lang.Override public com.google.cloud.talent.v4.HistogramQueryResult buildPartial() { - com.google.cloud.talent.v4.HistogramQueryResult result = new com.google.cloud.talent.v4.HistogramQueryResult(this); + com.google.cloud.talent.v4.HistogramQueryResult result = + new com.google.cloud.talent.v4.HistogramQueryResult(this); int from_bitField0_ = bitField0_; result.histogramQuery_ = histogramQuery_; result.histogram_ = internalGetHistogram(); @@ -507,38 +529,39 @@ public com.google.cloud.talent.v4.HistogramQueryResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.HistogramQueryResult) { - return mergeFrom((com.google.cloud.talent.v4.HistogramQueryResult)other); + return mergeFrom((com.google.cloud.talent.v4.HistogramQueryResult) other); } else { super.mergeFrom(other); return this; @@ -546,13 +569,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.HistogramQueryResult other) { - if (other == com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()) + return this; if (!other.getHistogramQuery().isEmpty()) { histogramQuery_ = other.histogramQuery_; onChanged(); } - internalGetMutableHistogram().mergeFrom( - other.internalGetHistogram()); + internalGetMutableHistogram().mergeFrom(other.internalGetHistogram()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -579,25 +602,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - histogram__ = input.readMessage( - HistogramDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableHistogram().getMutableMap().put( - histogram__.getKey(), histogram__.getValue()); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry histogram__ = + input.readMessage( + HistogramDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableHistogram() + .getMutableMap() + .put(histogram__.getKey(), histogram__.getValue()); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,22 +635,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object histogramQuery_ = ""; /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -631,20 +662,21 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -652,75 +684,82 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery( - java.lang.String value) { + public Builder setHistogramQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> histogram_; - private com.google.protobuf.MapField - internalGetHistogram() { + private com.google.protobuf.MapField histogram_; + + private com.google.protobuf.MapField internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } + private com.google.protobuf.MapField - internalGetMutableHistogram() { - onChanged();; + internalGetMutableHistogram() { + onChanged(); + ; if (histogram_ == null) { - histogram_ = com.google.protobuf.MapField.newMapField( - HistogramDefaultEntryHolder.defaultEntry); + histogram_ = + com.google.protobuf.MapField.newMapField(HistogramDefaultEntryHolder.defaultEntry); } if (!histogram_.isMutable()) { histogram_ = histogram_.copy(); @@ -732,6 +771,8 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** + * + * *
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -745,22 +786,22 @@ public int getHistogramCount() {
      *
      * map<string, int64> histogram = 2;
      */
-
     @java.lang.Override
-    public boolean containsHistogram(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHistogram(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHistogram().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHistogramMap()} instead.
-     */
+    /** Use {@link #getHistogramMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHistogram() {
       return getHistogramMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -775,11 +816,12 @@ public java.util.Map getHistogram() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
     public java.util.Map getHistogramMap() {
       return internalGetHistogram().getMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -794,16 +836,16 @@ public java.util.Map getHistogramMap() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
-    public long getHistogramOrDefault(
-        java.lang.String key,
-        long defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHistogram().getMap();
+    public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHistogram().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -818,12 +860,11 @@ public long getHistogramOrDefault(
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
-    public long getHistogramOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHistogram().getMap();
+    public long getHistogramOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHistogram().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -831,11 +872,12 @@ public long getHistogramOrThrow(
     }
 
     public Builder clearHistogram() {
-      internalGetMutableHistogram().getMutableMap()
-          .clear();
+      internalGetMutableHistogram().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -849,23 +891,21 @@ public Builder clearHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-
-    public Builder removeHistogram(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHistogram().getMutableMap()
-          .remove(key);
+    public Builder removeHistogram(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHistogram().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHistogram() {
+    public java.util.Map getMutableHistogram() {
       return internalGetMutableHistogram().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -879,16 +919,17 @@ public Builder removeHistogram(
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putHistogram(
-        java.lang.String key,
-        long value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      
-      internalGetMutableHistogram().getMutableMap()
-          .put(key, value);
+    public Builder putHistogram(java.lang.String key, long value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+
+      internalGetMutableHistogram().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -902,16 +943,13 @@ public Builder putHistogram(
      *
      * map<string, int64> histogram = 2;
      */
-
-    public Builder putAllHistogram(
-        java.util.Map values) {
-      internalGetMutableHistogram().getMutableMap()
-          .putAll(values);
+    public Builder putAllHistogram(java.util.Map values) {
+      internalGetMutableHistogram().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -921,12 +959,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.HistogramQueryResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.HistogramQueryResult)
   private static final com.google.cloud.talent.v4.HistogramQueryResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.HistogramQueryResult();
   }
@@ -935,27 +973,27 @@ public static com.google.cloud.talent.v4.HistogramQueryResult getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HistogramQueryResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HistogramQueryResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -970,6 +1008,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.HistogramQueryResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
index f8c98f0bffd0..ae90b9fda831 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramQueryResultOrBuilder.java
@@ -1,33 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/histogram.proto
 
 package com.google.cloud.talent.v4;
 
-public interface HistogramQueryResultOrBuilder extends
+public interface HistogramQueryResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.HistogramQueryResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString - getHistogramQueryBytes(); + com.google.protobuf.ByteString getHistogramQueryBytes(); /** + * + * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -43,6 +66,8 @@ public interface HistogramQueryResultOrBuilder extends
    */
   int getHistogramCount();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -56,15 +81,13 @@ public interface HistogramQueryResultOrBuilder extends
    *
    * map<string, int64> histogram = 2;
    */
-  boolean containsHistogram(
-      java.lang.String key);
-  /**
-   * Use {@link #getHistogramMap()} instead.
-   */
+  boolean containsHistogram(java.lang.String key);
+  /** Use {@link #getHistogramMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHistogram();
+  java.util.Map getHistogram();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -78,9 +101,10 @@ boolean containsHistogram(
    *
    * map<string, int64> histogram = 2;
    */
-  java.util.Map
-  getHistogramMap();
+  java.util.Map getHistogramMap();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -94,11 +118,10 @@ boolean containsHistogram(
    *
    * map<string, int64> histogram = 2;
    */
-
-  long getHistogramOrDefault(
-      java.lang.String key,
-      long defaultValue);
+  long getHistogramOrDefault(java.lang.String key, long defaultValue);
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -112,7 +135,5 @@ long getHistogramOrDefault(
    *
    * map<string, int64> histogram = 2;
    */
-
-  long getHistogramOrThrow(
-      java.lang.String key);
+  long getHistogramOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
similarity index 68%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
index d98dd1681fb1..f5af53b7f624 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HtmlSanitization.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Option for HTML content sanitization on user input fields, for example, job
  * description. By setting this option, user can determine whether and how
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.HtmlSanitization}
  */
-public enum HtmlSanitization
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -23,6 +41,8 @@ public enum HtmlSanitization */ HTML_SANITIZATION_UNSPECIFIED(0), /** + * + * *
    * Disables sanitization on HTML input.
    * 
@@ -31,6 +51,8 @@ public enum HtmlSanitization */ HTML_SANITIZATION_DISABLED(1), /** + * + * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -43,6 +65,8 @@ public enum HtmlSanitization
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -51,6 +75,8 @@ public enum HtmlSanitization */ public static final int HTML_SANITIZATION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Disables sanitization on HTML input.
    * 
@@ -59,6 +85,8 @@ public enum HtmlSanitization */ public static final int HTML_SANITIZATION_DISABLED_VALUE = 1; /** + * + * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -68,7 +96,6 @@ public enum HtmlSanitization
    */
   public static final int SIMPLE_FORMATTING_ONLY_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,49 +120,49 @@ public static HtmlSanitization valueOf(int value) {
    */
   public static HtmlSanitization forNumber(int value) {
     switch (value) {
-      case 0: return HTML_SANITIZATION_UNSPECIFIED;
-      case 1: return HTML_SANITIZATION_DISABLED;
-      case 2: return SIMPLE_FORMATTING_ONLY;
-      default: return null;
+      case 0:
+        return HTML_SANITIZATION_UNSPECIFIED;
+      case 1:
+        return HTML_SANITIZATION_DISABLED;
+      case 2:
+        return SIMPLE_FORMATTING_ONLY;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      HtmlSanitization> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public HtmlSanitization findValueByNumber(int number) {
-            return HtmlSanitization.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public HtmlSanitization findValueByNumber(int number) {
+          return HtmlSanitization.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(8);
   }
 
   private static final HtmlSanitization[] VALUES = values();
 
-  public static HtmlSanitization valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static HtmlSanitization valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -151,4 +178,3 @@ private HtmlSanitization(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.HtmlSanitization)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
similarity index 80%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
index 5bd28bae49e5..a36676256b17 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Job.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * A Job resource represents a job posting (also referred to as a "job listing"
  * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4.Company], which is the hiring
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Job}
  */
-public final class Job extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Job extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job)
     JobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Job() {
     name_ = "";
     company_ = "";
@@ -44,46 +62,48 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.JobProto
+        .internal_static_google_cloud_talent_v4_Job_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 10:
         return internalGetCustomAttributes();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
+    return com.google.cloud.talent.v4.JobProto
+        .internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.talent.v4.Job.class, com.google.cloud.talent.v4.Job.Builder.class);
   }
 
-  public interface ApplicationInfoOrBuilder extends
+  public interface ApplicationInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.ApplicationInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -91,11 +111,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - java.util.List - getEmailsList(); + java.util.List getEmailsList(); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -103,10 +125,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @return The count of emails. */ int getEmailsCount(); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -114,11 +139,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ java.lang.String getEmails(int index); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -126,13 +154,15 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - com.google.protobuf.ByteString - getEmailsBytes(int index); + com.google.protobuf.ByteString getEmailsBytes(int index); /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -142,10 +172,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * string instruction = 2; + * * @return The instruction. */ java.lang.String getInstruction(); /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -155,12 +188,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * string instruction = 2; + * * @return The bytes for instruction. */ - com.google.protobuf.ByteString - getInstructionBytes(); + com.google.protobuf.ByteString getInstructionBytes(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -168,11 +203,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -180,10 +217,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -191,11 +231,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -203,28 +246,31 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); } /** + * + * *
    * Application related details of a job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ApplicationInfo} */ - public static final class ApplicationInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.ApplicationInfo) ApplicationInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplicationInfo.newBuilder() to construct. private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ApplicationInfo() { emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; instruction_ = ""; @@ -233,32 +279,35 @@ private ApplicationInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApplicationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ApplicationInfo.class, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4.Job.ApplicationInfo.class, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); } public static final int EMAILS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList emails_; /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -266,13 +315,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList - getEmailsList() { + public com.google.protobuf.ProtocolStringList getEmailsList() { return emails_; } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -280,12 +331,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string emails = 1; + * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -293,6 +347,7 @@ public int getEmailsCount() {
      * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -300,6 +355,8 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -307,17 +364,19 @@ public java.lang.String getEmails(int index) {
      * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString - getEmailsBytes(int index) { + public com.google.protobuf.ByteString getEmailsBytes(int index) { return emails_.getByteString(index); } public static final int INSTRUCTION_FIELD_NUMBER = 2; private volatile java.lang.Object instruction_; /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -327,6 +386,7 @@ public java.lang.String getEmails(int index) {
      * 
* * string instruction = 2; + * * @return The instruction. */ @java.lang.Override @@ -335,14 +395,15 @@ public java.lang.String getInstruction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; } } /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -352,16 +413,15 @@ public java.lang.String getInstruction() {
      * 
* * string instruction = 2; + * * @return The bytes for instruction. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstructionBytes() { + public com.google.protobuf.ByteString getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instruction_ = b; return b; } else { @@ -372,6 +432,8 @@ public java.lang.String getInstruction() { public static final int URIS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uris_; /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -379,13 +441,15 @@ public java.lang.String getInstruction() {
      * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -393,12 +457,15 @@ public java.lang.String getInstruction() {
      * 
* * repeated string uris = 3; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -406,6 +473,7 @@ public int getUrisCount() {
      * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -413,6 +481,8 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -420,15 +490,16 @@ public java.lang.String getUris(int index) {
      * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,8 +511,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < emails_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i)); } @@ -487,19 +557,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.ApplicationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.ApplicationInfo other = (com.google.cloud.talent.v4.Job.ApplicationInfo) obj; + com.google.cloud.talent.v4.Job.ApplicationInfo other = + (com.google.cloud.talent.v4.Job.ApplicationInfo) obj; - if (!getEmailsList() - .equals(other.getEmailsList())) return false; - if (!getInstruction() - .equals(other.getInstruction())) return false; - if (!getUrisList() - .equals(other.getUrisList())) return false; + if (!getEmailsList().equals(other.getEmailsList())) return false; + if (!getInstruction().equals(other.getInstruction())) return false; + if (!getUrisList().equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -526,88 +594,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ApplicationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Job.ApplicationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -617,39 +691,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Application related details of a job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ApplicationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.ApplicationInfo) com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ApplicationInfo.class, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4.Job.ApplicationInfo.class, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -663,9 +739,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; } @java.lang.Override @@ -684,7 +760,8 @@ public com.google.cloud.talent.v4.Job.ApplicationInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Job.ApplicationInfo buildPartial() { - com.google.cloud.talent.v4.Job.ApplicationInfo result = new com.google.cloud.talent.v4.Job.ApplicationInfo(this); + com.google.cloud.talent.v4.Job.ApplicationInfo result = + new com.google.cloud.talent.v4.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); @@ -705,38 +782,41 @@ public com.google.cloud.talent.v4.Job.ApplicationInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.ApplicationInfo) { - return mergeFrom((com.google.cloud.talent.v4.Job.ApplicationInfo)other); + return mergeFrom((com.google.cloud.talent.v4.Job.ApplicationInfo) other); } else { super.mergeFrom(other); return this; @@ -744,7 +824,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Job.ApplicationInfo other) { - if (other == com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance()) + return this; if (!other.emails_.isEmpty()) { if (emails_.isEmpty()) { emails_ = other.emails_; @@ -795,29 +876,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmailsIsMutable(); - emails_.add(s); - break; - } // case 10 - case 18: { - instruction_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmailsIsMutable(); + emails_.add(s); + break; + } // case 10 + case 18: + { + instruction_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -827,16 +912,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList emails_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEmailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -844,13 +934,15 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList - getEmailsList() { + public com.google.protobuf.ProtocolStringList getEmailsList() { return emails_.getUnmodifiableView(); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -858,12 +950,15 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; + * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -871,6 +966,7 @@ public int getEmailsCount() {
        * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -878,6 +974,8 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -885,14 +983,16 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString - getEmailsBytes(int index) { + public com.google.protobuf.ByteString getEmailsBytes(int index) { return emails_.getByteString(index); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -900,21 +1000,23 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; + * * @param index The index to set the value at. * @param value The emails to set. * @return This builder for chaining. */ - public Builder setEmails( - int index, java.lang.String value) { + public Builder setEmails(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.set(index, value); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -922,20 +1024,22 @@ public Builder setEmails(
        * 
* * repeated string emails = 1; + * * @param value The emails to add. * @return This builder for chaining. */ - public Builder addEmails( - java.lang.String value) { + public Builder addEmails(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.add(value); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -943,18 +1047,19 @@ public Builder addEmails(
        * 
* * repeated string emails = 1; + * * @param values The emails to add. * @return This builder for chaining. */ - public Builder addAllEmails( - java.lang.Iterable values) { + public Builder addAllEmails(java.lang.Iterable values) { ensureEmailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, emails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -962,6 +1067,7 @@ public Builder addAllEmails(
        * 
* * repeated string emails = 1; + * * @return This builder for chaining. */ public Builder clearEmails() { @@ -971,6 +1077,8 @@ public Builder clearEmails() { return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -978,15 +1086,15 @@ public Builder clearEmails() {
        * 
* * repeated string emails = 1; + * * @param value The bytes of the emails to add. * @return This builder for chaining. */ - public Builder addEmailsBytes( - com.google.protobuf.ByteString value) { + public Builder addEmailsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEmailsIsMutable(); emails_.add(value); onChanged(); @@ -995,6 +1103,8 @@ public Builder addEmailsBytes( private java.lang.Object instruction_ = ""; /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1004,13 +1114,13 @@ public Builder addEmailsBytes(
        * 
* * string instruction = 2; + * * @return The instruction. */ public java.lang.String getInstruction() { java.lang.Object ref = instruction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; @@ -1019,6 +1129,8 @@ public java.lang.String getInstruction() { } } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1028,15 +1140,14 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; + * * @return The bytes for instruction. */ - public com.google.protobuf.ByteString - getInstructionBytes() { + public com.google.protobuf.ByteString getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instruction_ = b; return b; } else { @@ -1044,6 +1155,8 @@ public java.lang.String getInstruction() { } } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1053,20 +1166,22 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; + * * @param value The instruction to set. * @return This builder for chaining. */ - public Builder setInstruction( - java.lang.String value) { + public Builder setInstruction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instruction_ = value; onChanged(); return this; } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1076,15 +1191,18 @@ public Builder setInstruction(
        * 
* * string instruction = 2; + * * @return This builder for chaining. */ public Builder clearInstruction() { - + instruction_ = getDefaultInstance().getInstruction(); onChanged(); return this; } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1094,29 +1212,33 @@ public Builder clearInstruction() {
        * 
* * string instruction = 2; + * * @param value The bytes for instruction to set. * @return This builder for chaining. */ - public Builder setInstructionBytes( - com.google.protobuf.ByteString value) { + public Builder setInstructionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instruction_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1124,13 +1246,15 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1138,12 +1262,15 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1151,6 +1278,7 @@ public int getUrisCount() {
        * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -1158,6 +1286,8 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1165,14 +1295,16 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1180,21 +1312,23 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1202,20 +1336,22 @@ public Builder setUris(
        * 
* * repeated string uris = 3; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1223,18 +1359,19 @@ public Builder addUris(
        * 
* * repeated string uris = 3; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1242,6 +1379,7 @@ public Builder addAllUris(
        * 
* * repeated string uris = 3; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -1251,6 +1389,8 @@ public Builder clearUris() { return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1258,20 +1398,21 @@ public Builder clearUris() {
        * 
* * repeated string uris = 3; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1284,12 +1425,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.ApplicationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.ApplicationInfo) private static final com.google.cloud.talent.v4.Job.ApplicationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.ApplicationInfo(); } @@ -1298,27 +1439,28 @@ public static com.google.cloud.talent.v4.Job.ApplicationInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplicationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplicationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1333,14 +1475,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.ApplicationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DerivedInfoOrBuilder extends + public interface DerivedInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.DerivedInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1349,9 +1493,10 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    java.util.List 
-        getLocationsList();
+    java.util.List getLocationsList();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1362,6 +1507,8 @@ public interface DerivedInfoOrBuilder extends
      */
     com.google.cloud.talent.v4.Location getLocations(int index);
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1372,6 +1519,8 @@ public interface DerivedInfoOrBuilder extends
      */
     int getLocationsCount();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1380,9 +1529,11 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    java.util.List 
+    java.util.List
         getLocationsOrBuilderList();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1391,74 +1542,90 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
-    com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
-        int index);
+    com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4.JobCategory getJobCategories(int index); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List - getJobCategoriesValueList(); + java.util.List getJobCategoriesValueList(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); } /** + * + * *
    * Derived details about the job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.DerivedInfo} */ - public static final class DerivedInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DerivedInfo() { locations_ = java.util.Collections.emptyList(); jobCategories_ = java.util.Collections.emptyList(); @@ -1466,32 +1633,35 @@ private DerivedInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.DerivedInfo.class, com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Job.DerivedInfo.class, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** + * + * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1505,6 +1675,8 @@ public java.util.List getLocationsList() {
       return locations_;
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1514,11 +1686,13 @@ public java.util.List getLocationsList() {
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getLocationsOrBuilderList() {
       return locations_;
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1532,6 +1706,8 @@ public int getLocationsCount() {
       return locations_.size();
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1545,6 +1721,8 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
       return locations_.get(index);
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
      * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -1554,42 +1732,52 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
      * repeated .google.cloud.talent.v4.Location locations = 1;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index) {
       return locations_.get(index);
     }
 
     public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
     private java.util.List jobCategories_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.cloud.talent.v4.JobCategory> jobCategories_converter_ =
+            java.lang.Integer, com.google.cloud.talent.v4.JobCategory>
+        jobCategories_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.cloud.talent.v4.JobCategory>() {
               public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.talent.v4.JobCategory result = com.google.cloud.talent.v4.JobCategory.valueOf(from);
-                return result == null ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED : result;
+                com.google.cloud.talent.v4.JobCategory result =
+                    com.google.cloud.talent.v4.JobCategory.valueOf(from);
+                return result == null
+                    ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ @java.lang.Override @@ -1597,11 +1785,14 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -1610,24 +1801,29 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return jobCategories_; } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -1635,9 +1831,11 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } + private int jobCategoriesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1649,8 +1847,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); @@ -1672,20 +1869,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobCategoriesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1695,15 +1892,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.DerivedInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.DerivedInfo other = (com.google.cloud.talent.v4.Job.DerivedInfo) obj; + com.google.cloud.talent.v4.Job.DerivedInfo other = + (com.google.cloud.talent.v4.Job.DerivedInfo) obj; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1729,88 +1926,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.DerivedInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Job.DerivedInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1820,39 +2023,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Derived details about the job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.DerivedInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.DerivedInfo) com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.DerivedInfo.class, com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4.Job.DerivedInfo.class, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1869,9 +2074,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; } @java.lang.Override @@ -1890,7 +2095,8 @@ public com.google.cloud.talent.v4.Job.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfo buildPartial() { - com.google.cloud.talent.v4.Job.DerivedInfo result = new com.google.cloud.talent.v4.Job.DerivedInfo(this); + com.google.cloud.talent.v4.Job.DerivedInfo result = + new com.google.cloud.talent.v4.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1914,38 +2120,41 @@ public com.google.cloud.talent.v4.Job.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4.Job.DerivedInfo)other); + return mergeFrom((com.google.cloud.talent.v4.Job.DerivedInfo) other); } else { super.mergeFrom(other); return this; @@ -1972,9 +2181,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.Job.DerivedInfo other) { locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); - locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationsFieldBuilder() : null; + locationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationsFieldBuilder() + : null; } else { locationsBuilder_.addAllMessages(other.locations_); } @@ -2016,42 +2226,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.Location m = - input.readMessage( - com.google.cloud.talent.v4.Location.parser(), - extensionRegistry); - if (locationsBuilder_ == null) { - ensureLocationsIsMutable(); - locations_.add(m); - } else { - locationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 24: { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + com.google.cloud.talent.v4.Location m = + input.readMessage( + com.google.cloud.talent.v4.Location.parser(), extensionRegistry); + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(m); + } else { + locationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 24: + { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2061,21 +2274,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List locations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> locationsBuilder_; + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> + locationsBuilder_; /** + * + * *
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2092,6 +2312,8 @@ public java.util.List getLocationsList() {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2108,6 +2330,8 @@ public int getLocationsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2124,6 +2348,8 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2132,8 +2358,7 @@ public com.google.cloud.talent.v4.Location getLocations(int index) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder setLocations(
-          int index, com.google.cloud.talent.v4.Location value) {
+      public Builder setLocations(int index, com.google.cloud.talent.v4.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2147,6 +2372,8 @@ public Builder setLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2167,6 +2394,8 @@ public Builder setLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2189,6 +2418,8 @@ public Builder addLocations(com.google.cloud.talent.v4.Location value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2197,8 +2428,7 @@ public Builder addLocations(com.google.cloud.talent.v4.Location value) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder addLocations(
-          int index, com.google.cloud.talent.v4.Location value) {
+      public Builder addLocations(int index, com.google.cloud.talent.v4.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2212,6 +2442,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2220,8 +2452,7 @@ public Builder addLocations(
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public Builder addLocations(
-          com.google.cloud.talent.v4.Location.Builder builderForValue) {
+      public Builder addLocations(com.google.cloud.talent.v4.Location.Builder builderForValue) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
           locations_.add(builderForValue.build());
@@ -2232,6 +2463,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2252,6 +2485,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2264,8 +2499,7 @@ public Builder addAllLocations(
           java.lang.Iterable values) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, locations_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
           onChanged();
         } else {
           locationsBuilder_.addAllMessages(values);
@@ -2273,6 +2507,8 @@ public Builder addAllLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2292,6 +2528,8 @@ public Builder clearLocations() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2311,6 +2549,8 @@ public Builder removeLocations(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2319,11 +2559,12 @@ public Builder removeLocations(int index) {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(
-          int index) {
+      public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(int index) {
         return getLocationsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2332,14 +2573,16 @@ public com.google.cloud.talent.v4.Location.Builder getLocationsBuilder(
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
-          int index) {
+      public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(int index) {
         if (locationsBuilder_ == null) {
-          return locations_.get(index);  } else {
+          return locations_.get(index);
+        } else {
           return locationsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2348,8 +2591,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public java.util.List 
-           getLocationsOrBuilderList() {
+      public java.util.List
+          getLocationsOrBuilderList() {
         if (locationsBuilder_ != null) {
           return locationsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2357,6 +2600,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2366,10 +2611,12 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationsOrBuilder(
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
       public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder() {
-        return getLocationsFieldBuilder().addBuilder(
-            com.google.cloud.talent.v4.Location.getDefaultInstance());
+        return getLocationsFieldBuilder()
+            .addBuilder(com.google.cloud.talent.v4.Location.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2378,12 +2625,13 @@ public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder() {
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(
-          int index) {
-        return getLocationsFieldBuilder().addBuilder(
-            index, com.google.cloud.talent.v4.Location.getDefaultInstance());
+      public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(int index) {
+        return getLocationsFieldBuilder()
+            .addBuilder(index, com.google.cloud.talent.v4.Location.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4.Job.addresses].
        * [locations][google.cloud.talent.v4.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4.Job.addresses] in the same
@@ -2392,27 +2640,29 @@ public com.google.cloud.talent.v4.Location.Builder addLocationsBuilder(
        *
        * repeated .google.cloud.talent.v4.Location locations = 1;
        */
-      public java.util.List 
-           getLocationsBuilderList() {
+      public java.util.List getLocationsBuilderList() {
         return getLocationsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
+              com.google.cloud.talent.v4.Location,
+              com.google.cloud.talent.v4.Location.Builder,
+              com.google.cloud.talent.v4.LocationOrBuilder>
           getLocationsFieldBuilder() {
         if (locationsBuilder_ == null) {
-          locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
-                  locations_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          locationsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.talent.v4.Location,
+                  com.google.cloud.talent.v4.Location.Builder,
+                  com.google.cloud.talent.v4.LocationOrBuilder>(
+                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           locations_ = null;
         }
         return locationsBuilder_;
       }
 
-      private java.util.List jobCategories_ =
-        java.util.Collections.emptyList();
+      private java.util.List jobCategories_ = java.util.Collections.emptyList();
+
       private void ensureJobCategoriesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2420,34 +2670,44 @@ private void ensureJobCategoriesIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2455,17 +2715,19 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories( - int index, com.google.cloud.talent.v4.JobCategory value) { + public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2475,11 +2737,14 @@ public Builder setJobCategories( return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2493,11 +2758,14 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2511,11 +2779,14 @@ public Builder addAllJobCategories( return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2525,23 +2796,28 @@ public Builder clearJobCategories() { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2549,28 +2825,33 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue( - int index, int value) { + public Builder setJobCategoriesValue(int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -2581,16 +2862,18 @@ public Builder addJobCategoriesValue(int value) { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4.Job.title] and [Job.description][google.cloud.talent.v4.Job.description].
        * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 3; + * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue( - java.lang.Iterable values) { + public Builder addAllJobCategoriesValue(java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -2598,6 +2881,7 @@ public Builder addAllJobCategoriesValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2610,42 +2894,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.DerivedInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.DerivedInfo) private static final com.google.cloud.talent.v4.Job.DerivedInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.DerivedInfo(); } - public static com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DerivedInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - + public static com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DerivedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + public static com.google.protobuf.Parser parser() { return PARSER; } @@ -2659,25 +2944,30 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.DerivedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ProcessingOptionsOrBuilder extends + public interface ProcessingOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job.ProcessingOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ boolean getDisableStreetAddressResolution(); /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2691,10 +2981,13 @@ public interface ProcessingOptionsOrBuilder extends
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ int getHtmlSanitizationValue(); /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2708,64 +3001,72 @@ public interface ProcessingOptionsOrBuilder extends
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization(); } /** + * + * *
    * Options for job processing.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ProcessingOptions} */ - public static final class ProcessingOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Job.ProcessingOptions) ProcessingOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessingOptions.newBuilder() to construct. private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProcessingOptions() { htmlSanitization_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProcessingOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ProcessingOptions.class, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4.Job.ProcessingOptions.class, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); } public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1; private boolean disableStreetAddressResolution_; /** + * + * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -2776,6 +3077,8 @@ public boolean getDisableStreetAddressResolution() { public static final int HTML_SANITIZATION_FIELD_NUMBER = 2; private int htmlSanitization_; /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2789,12 +3092,16 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override public int getHtmlSanitizationValue() { + @java.lang.Override + public int getHtmlSanitizationValue() { return htmlSanitization_; } /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2808,15 +3115,19 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ - @java.lang.Override public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { + @java.lang.Override + public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.HtmlSanitization result = com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); + com.google.cloud.talent.v4.HtmlSanitization result = + com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); return result == null ? com.google.cloud.talent.v4.HtmlSanitization.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2828,12 +3139,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disableStreetAddressResolution_ != false) { output.writeBool(1, disableStreetAddressResolution_); } - if (htmlSanitization_ != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { + if (htmlSanitization_ + != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, htmlSanitization_); } getUnknownFields().writeTo(output); @@ -2846,12 +3158,14 @@ public int getSerializedSize() { size = 0; if (disableStreetAddressResolution_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disableStreetAddressResolution_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, disableStreetAddressResolution_); } - if (htmlSanitization_ != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, htmlSanitization_); + if (htmlSanitization_ + != com.google.cloud.talent.v4.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2861,15 +3175,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job.ProcessingOptions)) { return super.equals(obj); } - com.google.cloud.talent.v4.Job.ProcessingOptions other = (com.google.cloud.talent.v4.Job.ProcessingOptions) obj; + com.google.cloud.talent.v4.Job.ProcessingOptions other = + (com.google.cloud.talent.v4.Job.ProcessingOptions) obj; - if (getDisableStreetAddressResolution() - != other.getDisableStreetAddressResolution()) return false; + if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) + return false; if (htmlSanitization_ != other.htmlSanitization_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2883,8 +3198,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableStreetAddressResolution()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution()); hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER; hash = (53 * hash) + htmlSanitization_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -2893,87 +3209,93 @@ public int hashCode() { } public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job.ProcessingOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Job.ProcessingOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2983,39 +3305,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options for job processing.
      * 
* * Protobuf type {@code google.cloud.talent.v4.Job.ProcessingOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job.ProcessingOptions) com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Job.ProcessingOptions.class, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4.Job.ProcessingOptions.class, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder.class); } // Construct using com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3027,9 +3351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobProto + .internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; } @java.lang.Override @@ -3048,7 +3372,8 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions build() { @java.lang.Override public com.google.cloud.talent.v4.Job.ProcessingOptions buildPartial() { - com.google.cloud.talent.v4.Job.ProcessingOptions result = new com.google.cloud.talent.v4.Job.ProcessingOptions(this); + com.google.cloud.talent.v4.Job.ProcessingOptions result = + new com.google.cloud.talent.v4.Job.ProcessingOptions(this); result.disableStreetAddressResolution_ = disableStreetAddressResolution_; result.htmlSanitization_ = htmlSanitization_; onBuilt(); @@ -3059,38 +3384,41 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Job.ProcessingOptions) { - return mergeFrom((com.google.cloud.talent.v4.Job.ProcessingOptions)other); + return mergeFrom((com.google.cloud.talent.v4.Job.ProcessingOptions) other); } else { super.mergeFrom(other); return this; @@ -3098,7 +3426,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.Job.ProcessingOptions other) { - if (other == com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance()) + return this; if (other.getDisableStreetAddressResolution() != false) { setDisableStreetAddressResolution(other.getDisableStreetAddressResolution()); } @@ -3131,22 +3460,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disableStreetAddressResolution_ = input.readBool(); - - break; - } // case 8 - case 16: { - htmlSanitization_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disableStreetAddressResolution_ = input.readBool(); + + break; + } // case 8 + case 16: + { + htmlSanitization_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3157,14 +3489,17 @@ public Builder mergeFrom( return this; } - private boolean disableStreetAddressResolution_ ; + private boolean disableStreetAddressResolution_; /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3172,32 +3507,38 @@ public boolean getDisableStreetAddressResolution() { return disableStreetAddressResolution_; } /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @param value The disableStreetAddressResolution to set. * @return This builder for chaining. */ public Builder setDisableStreetAddressResolution(boolean value) { - + disableStreetAddressResolution_ = value; onChanged(); return this; } /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @return This builder for chaining. */ public Builder clearDisableStreetAddressResolution() { - + disableStreetAddressResolution_ = false; onChanged(); return this; @@ -3205,6 +3546,8 @@ public Builder clearDisableStreetAddressResolution() { private int htmlSanitization_ = 0; /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3218,12 +3561,16 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override public int getHtmlSanitizationValue() { + @java.lang.Override + public int getHtmlSanitizationValue() { return htmlSanitization_; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3237,16 +3584,19 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @param value The enum numeric value on the wire for htmlSanitization to set. * @return This builder for chaining. */ public Builder setHtmlSanitizationValue(int value) { - + htmlSanitization_ = value; onChanged(); return this; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3260,15 +3610,19 @@ public Builder setHtmlSanitizationValue(int value) {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ @java.lang.Override public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.HtmlSanitization result = com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); + com.google.cloud.talent.v4.HtmlSanitization result = + com.google.cloud.talent.v4.HtmlSanitization.valueOf(htmlSanitization_); return result == null ? com.google.cloud.talent.v4.HtmlSanitization.UNRECOGNIZED : result; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3282,6 +3636,7 @@ public com.google.cloud.talent.v4.HtmlSanitization getHtmlSanitization() {
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @param value The htmlSanitization to set. * @return This builder for chaining. */ @@ -3289,12 +3644,14 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4.HtmlSanitization v if (value == null) { throw new NullPointerException(); } - + htmlSanitization_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3308,14 +3665,16 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4.HtmlSanitization v
        * 
* * .google.cloud.talent.v4.HtmlSanitization html_sanitization = 2; + * * @return This builder for chaining. */ public Builder clearHtmlSanitization() { - + htmlSanitization_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3328,12 +3687,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job.ProcessingOptions) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job.ProcessingOptions) private static final com.google.cloud.talent.v4.Job.ProcessingOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job.ProcessingOptions(); } @@ -3342,27 +3701,28 @@ public static com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessingOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessingOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3377,12 +3737,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3395,6 +3756,7 @@ public com.google.cloud.talent.v4.Job.ProcessingOptions getDefaultInstanceForTyp
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -3403,14 +3765,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3423,16 +3786,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3443,6 +3805,8 @@ public java.lang.String getName() { public static final int COMPANY_FIELD_NUMBER = 2; private volatile java.lang.Object company_; /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3450,7 +3814,10 @@ public java.lang.String getName() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ @java.lang.Override @@ -3459,14 +3826,15 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3474,17 +3842,18 @@ public java.lang.String getCompany() {
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -3495,6 +3864,8 @@ public java.lang.String getCompany() { public static final int REQUISITION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requisitionId_; /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3505,6 +3876,7 @@ public java.lang.String getCompany() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ @java.lang.Override @@ -3513,14 +3885,15 @@ public java.lang.String getRequisitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; } } /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3531,16 +3904,15 @@ public java.lang.String getRequisitionId() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequisitionIdBytes() { + public com.google.protobuf.ByteString getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -3551,12 +3923,15 @@ public java.lang.String getRequisitionId() { public static final int TITLE_FIELD_NUMBER = 4; private volatile java.lang.Object title_; /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ @java.lang.Override @@ -3565,30 +3940,30 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -3599,6 +3974,8 @@ public java.lang.String getTitle() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3611,6 +3988,7 @@ public java.lang.String getTitle() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ @java.lang.Override @@ -3619,14 +3997,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3639,16 +4018,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3659,6 +4037,8 @@ public java.lang.String getDescription() { public static final int ADDRESSES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList addresses_; /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3684,13 +4064,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList - getAddressesList() { + public com.google.protobuf.ProtocolStringList getAddressesList() { return addresses_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3716,12 +4098,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3747,6 +4132,7 @@ public int getAddressesCount() {
    * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -3754,6 +4140,8 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3779,22 +4167,25 @@ public java.lang.String getAddresses(int index) {
    * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString - getAddressesBytes(int index) { + public com.google.protobuf.ByteString getAddressesBytes(int index) { return addresses_.getByteString(index); } public static final int APPLICATION_INFO_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.Job.ApplicationInfo applicationInfo_; /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ @java.lang.Override @@ -3802,18 +4193,25 @@ public boolean hasApplicationInfo() { return applicationInfo_ != null; } /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo() { - return applicationInfo_ == null ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } /** + * + * *
    * Job application information.
    * 
@@ -3828,34 +4226,43 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf public static final int JOB_BENEFITS_FIELD_NUMBER = 8; private java.util.List jobBenefits_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit> jobBenefits_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit> + jobBenefits_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>() { public com.google.cloud.talent.v4.JobBenefit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobBenefit result = com.google.cloud.talent.v4.JobBenefit.valueOf(from); + com.google.cloud.talent.v4.JobBenefit result = + com.google.cloud.talent.v4.JobBenefit.valueOf(from); return result == null ? com.google.cloud.talent.v4.JobBenefit.UNRECOGNIZED : result; } }; /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ @java.lang.Override public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>(jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>( + jobBenefits_, jobBenefits_converter_); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ @java.lang.Override @@ -3863,11 +4270,14 @@ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -3876,24 +4286,29 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ @java.lang.Override - public java.util.List - getJobBenefitsValueList() { + public java.util.List getJobBenefitsValueList() { return jobBenefits_; } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -3901,17 +4316,21 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } + private int jobBenefitsMemoizedSerializedSize; public static final int COMPENSATION_INFO_FIELD_NUMBER = 9; private com.google.cloud.talent.v4.CompensationInfo compensationInfo_; /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ @java.lang.Override @@ -3919,19 +4338,26 @@ public boolean hasCompensationInfo() { return compensationInfo_ != null; } /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationInfo getCompensationInfo() { - return compensationInfo_ == null ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_; + return compensationInfo_ == null + ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() + : compensationInfo_; } /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -3945,21 +4371,26 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
   }
 
   public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;
+
   private static final class CustomAttributesDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.cloud.talent.v4.CustomAttribute> defaultEntry =
+            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.cloud.talent.v4.CustomAttribute.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.cloud.talent.v4.JobProto
+                        .internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.cloud.talent.v4.CustomAttribute.getDefaultInstance());
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.cloud.talent.v4.CustomAttribute> customAttributes_;
+
+  private com.google.protobuf.MapField
+      customAttributes_;
+
   private com.google.protobuf.MapField
-  internalGetCustomAttributes() {
+      internalGetCustomAttributes() {
     if (customAttributes_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomAttributesDefaultEntryHolder.defaultEntry);
@@ -3971,6 +4402,8 @@ public int getCustomAttributesCount() {
     return internalGetCustomAttributes().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -3986,22 +4419,23 @@ public int getCustomAttributesCount() {
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-
   @java.lang.Override
-  public boolean containsCustomAttributes(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsCustomAttributes(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetCustomAttributes().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getCustomAttributesMap()} instead.
-   */
+  /** Use {@link #getCustomAttributesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map getCustomAttributes() {
+  public java.util.Map
+      getCustomAttributes() {
     return getCustomAttributesMap();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4018,11 +4452,13 @@ public java.util.Mapmap<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
-
-  public java.util.Map getCustomAttributesMap() {
+  public java.util.Map
+      getCustomAttributesMap() {
     return internalGetCustomAttributes().getMap();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4039,16 +4475,18 @@ public java.util.Mapmap<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
-
   public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
-      java.lang.String key,
-      com.google.cloud.talent.v4.CustomAttribute defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.cloud.talent.v4.CustomAttribute defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4065,10 +4503,11 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   @java.lang.Override
-
   public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
       java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     if (!map.containsKey(key)) {
@@ -4080,34 +4519,43 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   public static final int DEGREE_TYPES_FIELD_NUMBER = 11;
   private java.util.List degreeTypes_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.cloud.talent.v4.DegreeType> degreeTypes_converter_ =
+          java.lang.Integer, com.google.cloud.talent.v4.DegreeType>
+      degreeTypes_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4.DegreeType>() {
             public com.google.cloud.talent.v4.DegreeType convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4.DegreeType result = com.google.cloud.talent.v4.DegreeType.valueOf(from);
+              com.google.cloud.talent.v4.DegreeType result =
+                  com.google.cloud.talent.v4.DegreeType.valueOf(from);
               return result == null ? com.google.cloud.talent.v4.DegreeType.UNRECOGNIZED : result;
             }
           };
   /**
+   *
+   *
    * 
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ @java.lang.Override public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.DegreeType>(degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.DegreeType>( + degreeTypes_, degreeTypes_converter_); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ @java.lang.Override @@ -4115,11 +4563,14 @@ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -4128,24 +4579,29 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ @java.lang.Override - public java.util.List - getDegreeTypesValueList() { + public java.util.List getDegreeTypesValueList() { return degreeTypes_; } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -4153,11 +4609,14 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } + private int degreeTypesMemoizedSerializedSize; public static final int DEPARTMENT_FIELD_NUMBER = 12; private volatile java.lang.Object department_; /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -4165,6 +4624,7 @@ public int getDegreeTypesValue(int index) {
    * 
* * string department = 12; + * * @return The department. */ @java.lang.Override @@ -4173,14 +4633,15 @@ public java.lang.String getDepartment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; } } /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -4188,16 +4649,15 @@ public java.lang.String getDepartment() {
    * 
* * string department = 12; + * * @return The bytes for department. */ @java.lang.Override - public com.google.protobuf.ByteString - getDepartmentBytes() { + public com.google.protobuf.ByteString getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); department_ = b; return b; } else { @@ -4208,16 +4668,22 @@ public java.lang.String getDepartment() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> + employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>() { public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.EmploymentType result = com.google.cloud.talent.v4.EmploymentType.valueOf(from); - return result == null ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.EmploymentType result = + com.google.cloud.talent.v4.EmploymentType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4225,14 +4691,18 @@ public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4240,6 +4710,7 @@ public java.util.List getEmploymentTy
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ @java.lang.Override @@ -4247,6 +4718,8 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4254,6 +4727,7 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4262,6 +4736,8 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4269,14 +4745,16 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return employmentTypes_; } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -4284,6 +4762,7 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4291,11 +4770,14 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } + private int employmentTypesMemoizedSerializedSize; public static final int INCENTIVES_FIELD_NUMBER = 14; private volatile java.lang.Object incentives_; /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4303,6 +4785,7 @@ public int getEmploymentTypesValue(int index) {
    * 
* * string incentives = 14; + * * @return The incentives. */ @java.lang.Override @@ -4311,14 +4794,15 @@ public java.lang.String getIncentives() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; } } /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4326,16 +4810,15 @@ public java.lang.String getIncentives() {
    * 
* * string incentives = 14; + * * @return The bytes for incentives. */ @java.lang.Override - public com.google.protobuf.ByteString - getIncentivesBytes() { + public com.google.protobuf.ByteString getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incentives_ = b; return b; } else { @@ -4346,6 +4829,8 @@ public java.lang.String getIncentives() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object languageCode_; /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4359,6 +4844,7 @@ public java.lang.String getIncentives() {
    * 
* * string language_code = 15; + * * @return The languageCode. */ @java.lang.Override @@ -4367,14 +4853,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4388,16 +4875,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4408,33 +4894,44 @@ public java.lang.String getLanguageCode() { public static final int JOB_LEVEL_FIELD_NUMBER = 16; private int jobLevel_; /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override public int getJobLevelValue() { + @java.lang.Override + public int getJobLevelValue() { return jobLevel_; } /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The jobLevel. */ - @java.lang.Override public com.google.cloud.talent.v4.JobLevel getJobLevel() { + @java.lang.Override + public com.google.cloud.talent.v4.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobLevel result = com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4.JobLevel result = + com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4.JobLevel.UNRECOGNIZED : result; } public static final int PROMOTION_VALUE_FIELD_NUMBER = 17; private int promotionValue_; /** + * + * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -4445,6 +4942,7 @@ public java.lang.String getLanguageCode() {
    * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ @java.lang.Override @@ -4455,6 +4953,8 @@ public int getPromotionValue() { public static final int QUALIFICATIONS_FIELD_NUMBER = 18; private volatile java.lang.Object qualifications_; /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4465,6 +4965,7 @@ public int getPromotionValue() {
    * 
* * string qualifications = 18; + * * @return The qualifications. */ @java.lang.Override @@ -4473,14 +4974,15 @@ public java.lang.String getQualifications() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; } } /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4491,16 +4993,15 @@ public java.lang.String getQualifications() {
    * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ @java.lang.Override - public com.google.protobuf.ByteString - getQualificationsBytes() { + public com.google.protobuf.ByteString getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); qualifications_ = b; return b; } else { @@ -4511,6 +5012,8 @@ public java.lang.String getQualifications() { public static final int RESPONSIBILITIES_FIELD_NUMBER = 19; private volatile java.lang.Object responsibilities_; /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -4521,6 +5024,7 @@ public java.lang.String getQualifications() {
    * 
* * string responsibilities = 19; + * * @return The responsibilities. */ @java.lang.Override @@ -4529,14 +5033,15 @@ public java.lang.String getResponsibilities() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; } } /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -4547,16 +5052,15 @@ public java.lang.String getResponsibilities() {
    * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ @java.lang.Override - public com.google.protobuf.ByteString - getResponsibilitiesBytes() { + public com.google.protobuf.ByteString getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -4567,6 +5071,8 @@ public java.lang.String getResponsibilities() { public static final int POSTING_REGION_FIELD_NUMBER = 20; private int postingRegion_; /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -4578,12 +5084,16 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override public int getPostingRegionValue() { + @java.lang.Override + public int getPostingRegionValue() { return postingRegion_; } /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -4595,17 +5105,22 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The postingRegion. */ - @java.lang.Override public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { + @java.lang.Override + public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.PostingRegion result = com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4.PostingRegion result = + com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4.PostingRegion.UNRECOGNIZED : result; } public static final int VISIBILITY_FIELD_NUMBER = 21; private int visibility_; /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -4613,14 +5128,19 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { + @java.lang.Override + @java.lang.Deprecated + public int getVisibilityValue() { return visibility_; } /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -4628,25 +5148,32 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.talent.v4.Visibility getVisibility() { + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.talent.v4.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Visibility result = com.google.cloud.talent.v4.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4.Visibility result = + com.google.cloud.talent.v4.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4.Visibility.UNRECOGNIZED : result; } public static final int JOB_START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp jobStartTime_; /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ @java.lang.Override @@ -4654,19 +5181,26 @@ public boolean hasJobStartTime() { return jobStartTime_ != null; } /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobStartTime() { - return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; + return jobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobStartTime_; } /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -4682,12 +5216,15 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
   public static final int JOB_END_TIME_FIELD_NUMBER = 23;
   private com.google.protobuf.Timestamp jobEndTime_;
   /**
+   *
+   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ @java.lang.Override @@ -4695,12 +5232,15 @@ public boolean hasJobEndTime() { return jobEndTime_ != null; } /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ @java.lang.Override @@ -4708,6 +5248,8 @@ public com.google.protobuf.Timestamp getJobEndTime() { return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -4723,6 +5265,8 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
   public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
   private com.google.protobuf.Timestamp postingPublishTime_;
   /**
+   *
+   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4730,6 +5274,7 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ @java.lang.Override @@ -4737,6 +5282,8 @@ public boolean hasPostingPublishTime() { return postingPublishTime_ != null; } /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4744,13 +5291,18 @@ public boolean hasPostingPublishTime() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingPublishTime() { - return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; + return postingPublishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingPublishTime_; } /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4767,6 +5319,8 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
   public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
   private com.google.protobuf.Timestamp postingExpireTime_;
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4806,6 +5360,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ @java.lang.Override @@ -4813,6 +5368,8 @@ public boolean hasPostingExpireTime() { return postingExpireTime_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4852,13 +5409,18 @@ public boolean hasPostingExpireTime() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingExpireTime() { - return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; + return postingExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingExpireTime_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4907,11 +5469,16 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
   public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
   private com.google.protobuf.Timestamp postingCreateTime_;
   /**
+   *
+   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ @java.lang.Override @@ -4919,23 +5486,34 @@ public boolean hasPostingCreateTime() { return postingCreateTime_ != null; } /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingCreateTime() { - return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { @@ -4945,11 +5523,16 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp postingUpdateTime_; /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ @java.lang.Override @@ -4957,23 +5540,34 @@ public boolean hasPostingUpdateTime() { return postingUpdateTime_ != null; } /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingUpdateTime() { - return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { @@ -4983,11 +5577,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28; private volatile java.lang.Object companyDisplayName_; /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ @java.lang.Override @@ -4996,29 +5593,29 @@ public java.lang.String getCompanyDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; } } /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -5029,11 +5626,16 @@ public java.lang.String getCompanyDisplayName() { public static final int DERIVED_INFO_FIELD_NUMBER = 29; private com.google.cloud.talent.v4.Job.DerivedInfo derivedInfo_; /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -5041,23 +5643,34 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -5067,11 +5680,14 @@ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuild public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30; private com.google.cloud.talent.v4.Job.ProcessingOptions processingOptions_; /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ @java.lang.Override @@ -5079,18 +5695,25 @@ public boolean hasProcessingOptions() { return processingOptions_ != null; } /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ @java.lang.Override public com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions() { - return processingOptions_ == null ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } /** + * + * *
    * Options for job processing.
    * 
@@ -5103,6 +5726,7 @@ public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOp } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5114,8 +5738,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -5148,12 +5771,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (compensationInfo_ != null) { output.writeMessage(9, getCompensationInfo()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetCustomAttributes(), - CustomAttributesDefaultEntryHolder.defaultEntry, - 10); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10); if (getDegreeTypesList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize); @@ -5189,7 +5808,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_); } - if (postingRegion_ != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + if (postingRegion_ + != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { output.writeEnum(20, postingRegion_); } if (visibility_ != com.google.cloud.talent.v4.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { @@ -5255,46 +5875,45 @@ public int getSerializedSize() { size += 1 * getAddressesList().size(); } if (applicationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getApplicationInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo()); } { int dataSize = 0; for (int i = 0; i < jobBenefits_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobBenefits_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i)); } size += dataSize; - if (!getJobBenefitsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobBenefitsMemoizedSerializedSize = dataSize; + if (!getJobBenefitsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobBenefitsMemoizedSerializedSize = dataSize; } if (compensationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getCompensationInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo()); } - for (java.util.Map.Entry entry - : internalGetCustomAttributes().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetCustomAttributes().getMap().entrySet()) { com.google.protobuf.MapEntry - customAttributes__ = CustomAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, customAttributes__); + customAttributes__ = + CustomAttributesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__); } { int dataSize = 0; for (int i = 0; i < degreeTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(degreeTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i)); } size += dataSize; - if (!getDegreeTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }degreeTypesMemoizedSerializedSize = dataSize; + if (!getDegreeTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + degreeTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_); @@ -5302,14 +5921,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + employmentTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incentives_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_); @@ -5318,12 +5938,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_); } if (jobLevel_ != com.google.cloud.talent.v4.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, jobLevel_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_); } if (promotionValue_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(17, promotionValue_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qualifications_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_); @@ -5331,48 +5949,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_); } - if (postingRegion_ != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(20, postingRegion_); + if (postingRegion_ + != com.google.cloud.talent.v4.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_); } if (visibility_ != com.google.cloud.talent.v4.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(21, visibility_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_); } if (jobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getJobStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime()); } if (jobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getJobEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime()); } if (postingPublishTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getPostingPublishTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime()); } if (postingExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getPostingExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime()); } if (postingCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getPostingCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime()); } if (postingUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getPostingUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(companyDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo()); } if (processingOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getProcessingOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5382,96 +5991,72 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Job)) { return super.equals(obj); } com.google.cloud.talent.v4.Job other = (com.google.cloud.talent.v4.Job) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCompany() - .equals(other.getCompany())) return false; - if (!getRequisitionId() - .equals(other.getRequisitionId())) return false; - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getAddressesList() - .equals(other.getAddressesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getCompany().equals(other.getCompany())) return false; + if (!getRequisitionId().equals(other.getRequisitionId())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAddressesList().equals(other.getAddressesList())) return false; if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - if (!getApplicationInfo() - .equals(other.getApplicationInfo())) return false; + if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; } if (!jobBenefits_.equals(other.jobBenefits_)) return false; if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - if (!getCompensationInfo() - .equals(other.getCompensationInfo())) return false; + if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; } - if (!internalGetCustomAttributes().equals( - other.internalGetCustomAttributes())) return false; + if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; if (!degreeTypes_.equals(other.degreeTypes_)) return false; - if (!getDepartment() - .equals(other.getDepartment())) return false; + if (!getDepartment().equals(other.getDepartment())) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getIncentives() - .equals(other.getIncentives())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getIncentives().equals(other.getIncentives())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (jobLevel_ != other.jobLevel_) return false; - if (getPromotionValue() - != other.getPromotionValue()) return false; - if (!getQualifications() - .equals(other.getQualifications())) return false; - if (!getResponsibilities() - .equals(other.getResponsibilities())) return false; + if (getPromotionValue() != other.getPromotionValue()) return false; + if (!getQualifications().equals(other.getQualifications())) return false; + if (!getResponsibilities().equals(other.getResponsibilities())) return false; if (postingRegion_ != other.postingRegion_) return false; if (visibility_ != other.visibility_) return false; if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - if (!getJobStartTime() - .equals(other.getJobStartTime())) return false; + if (!getJobStartTime().equals(other.getJobStartTime())) return false; } if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - if (!getJobEndTime() - .equals(other.getJobEndTime())) return false; + if (!getJobEndTime().equals(other.getJobEndTime())) return false; } if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - if (!getPostingPublishTime() - .equals(other.getPostingPublishTime())) return false; + if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; } if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - if (!getPostingExpireTime() - .equals(other.getPostingExpireTime())) return false; + if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; } if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - if (!getPostingCreateTime() - .equals(other.getPostingCreateTime())) return false; + if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; } if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - if (!getPostingUpdateTime() - .equals(other.getPostingUpdateTime())) return false; + if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; } - if (!getCompanyDisplayName() - .equals(other.getCompanyDisplayName())) return false; + if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo() - .equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - if (!getProcessingOptions() - .equals(other.getProcessingOptions())) return false; + if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5579,97 +6164,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Job parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Job parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Job parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.Job parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.cloud.talent.v4.Job parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Job resource represents a job posting (also referred to as a "job listing"
    * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4.Company], which is the hiring
@@ -5678,55 +6269,51 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.Job}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Job)
       com.google.cloud.talent.v4.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.JobProto
+          .internal_static_google_cloud_talent_v4_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 10:
           return internalGetCustomAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 10:
           return internalGetMutableCustomAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
+      return com.google.cloud.talent.v4.JobProto
+          .internal_static_google_cloud_talent_v4_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.talent.v4.Job.class, com.google.cloud.talent.v4.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Job.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5833,9 +6420,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.JobProto.internal_static_google_cloud_talent_v4_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.JobProto
+          .internal_static_google_cloud_talent_v4_Job_descriptor;
     }
 
     @java.lang.Override
@@ -5951,38 +6538,39 @@ public com.google.cloud.talent.v4.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Job) {
-        return mergeFrom((com.google.cloud.talent.v4.Job)other);
+        return mergeFrom((com.google.cloud.talent.v4.Job) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6037,8 +6625,7 @@ public Builder mergeFrom(com.google.cloud.talent.v4.Job other) {
       if (other.hasCompensationInfo()) {
         mergeCompensationInfo(other.getCompensationInfo());
       }
-      internalGetMutableCustomAttributes().mergeFrom(
-          other.internalGetCustomAttributes());
+      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
       if (!other.degreeTypes_.isEmpty()) {
         if (degreeTypes_.isEmpty()) {
           degreeTypes_ = other.degreeTypes_;
@@ -6145,222 +6732,246 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              company_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                company_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              requisitionId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                requisitionId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              title_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                title_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAddressesIsMutable();
-              addresses_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getApplicationInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAddressesIsMutable();
+                addresses_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getApplicationInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 58
-            case 64: {
-              int tmpRaw = input.readEnum();
-              ensureJobBenefitsIsMutable();
-              jobBenefits_.add(tmpRaw);
-              break;
-            } // case 64
-            case 66: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 58
+            case 64:
+              {
                 int tmpRaw = input.readEnum();
                 ensureJobBenefitsIsMutable();
                 jobBenefits_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getCompensationInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 64
+            case 66:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureJobBenefitsIsMutable();
+                  jobBenefits_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getCompensationInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 74
-            case 82: {
-              com.google.protobuf.MapEntry
-              customAttributes__ = input.readMessage(
-                  CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableCustomAttributes().getMutableMap().put(
-                  customAttributes__.getKey(), customAttributes__.getValue());
-              break;
-            } // case 82
-            case 88: {
-              int tmpRaw = input.readEnum();
-              ensureDegreeTypesIsMutable();
-              degreeTypes_.add(tmpRaw);
-              break;
-            } // case 88
-            case 90: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 74
+            case 82:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+                    customAttributes__ =
+                        input.readMessage(
+                            CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableCustomAttributes()
+                    .getMutableMap()
+                    .put(customAttributes__.getKey(), customAttributes__.getValue());
+                break;
+              } // case 82
+            case 88:
+              {
                 int tmpRaw = input.readEnum();
                 ensureDegreeTypesIsMutable();
                 degreeTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 90
-            case 98: {
-              department_ = input.readStringRequireUtf8();
+                break;
+              } // case 88
+            case 90:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureDegreeTypesIsMutable();
+                  degreeTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 90
+            case 98:
+              {
+                department_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 98
-            case 104: {
-              int tmpRaw = input.readEnum();
-              ensureEmploymentTypesIsMutable();
-              employmentTypes_.add(tmpRaw);
-              break;
-            } // case 104
-            case 106: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 98
+            case 104:
+              {
                 int tmpRaw = input.readEnum();
                 ensureEmploymentTypesIsMutable();
                 employmentTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 106
-            case 114: {
-              incentives_ = input.readStringRequireUtf8();
+                break;
+              } // case 104
+            case 106:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureEmploymentTypesIsMutable();
+                  employmentTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 106
+            case 114:
+              {
+                incentives_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 114
-            case 122: {
-              languageCode_ = input.readStringRequireUtf8();
+                break;
+              } // case 114
+            case 122:
+              {
+                languageCode_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 122
-            case 128: {
-              jobLevel_ = input.readEnum();
+                break;
+              } // case 122
+            case 128:
+              {
+                jobLevel_ = input.readEnum();
 
-              break;
-            } // case 128
-            case 136: {
-              promotionValue_ = input.readInt32();
+                break;
+              } // case 128
+            case 136:
+              {
+                promotionValue_ = input.readInt32();
 
-              break;
-            } // case 136
-            case 146: {
-              qualifications_ = input.readStringRequireUtf8();
+                break;
+              } // case 136
+            case 146:
+              {
+                qualifications_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 146
-            case 154: {
-              responsibilities_ = input.readStringRequireUtf8();
+                break;
+              } // case 146
+            case 154:
+              {
+                responsibilities_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 154
-            case 160: {
-              postingRegion_ = input.readEnum();
+                break;
+              } // case 154
+            case 160:
+              {
+                postingRegion_ = input.readEnum();
 
-              break;
-            } // case 160
-            case 168: {
-              visibility_ = input.readEnum();
+                break;
+              } // case 160
+            case 168:
+              {
+                visibility_ = input.readEnum();
 
-              break;
-            } // case 168
-            case 178: {
-              input.readMessage(
-                  getJobStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 168
+            case 178:
+              {
+                input.readMessage(getJobStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getJobEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(getJobEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 186
-            case 194: {
-              input.readMessage(
-                  getPostingPublishTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 186
+            case 194:
+              {
+                input.readMessage(
+                    getPostingPublishTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 194
-            case 202: {
-              input.readMessage(
-                  getPostingExpireTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 194
+            case 202:
+              {
+                input.readMessage(
+                    getPostingExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 202
-            case 210: {
-              input.readMessage(
-                  getPostingCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 202
+            case 210:
+              {
+                input.readMessage(
+                    getPostingCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 210
-            case 218: {
-              input.readMessage(
-                  getPostingUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 210
+            case 218:
+              {
+                input.readMessage(
+                    getPostingUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 218
-            case 226: {
-              companyDisplayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 218
+            case 226:
+              {
+                companyDisplayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 226
-            case 234: {
-              input.readMessage(
-                  getDerivedInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 226
+            case 234:
+              {
+                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 234
-            case 242: {
-              input.readMessage(
-                  getProcessingOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 234
+            case 242:
+              {
+                input.readMessage(
+                    getProcessingOptionsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 242
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 242
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6370,10 +6981,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6386,13 +7000,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6401,6 +7015,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6413,15 +7029,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6429,6 +7044,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6441,20 +7058,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6467,15 +7086,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6488,16 +7110,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6505,6 +7127,8 @@ public Builder setNameBytes( private java.lang.Object company_ = ""; /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6512,14 +7136,16 @@ public Builder setNameBytes(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -6528,6 +7154,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6535,16 +7163,17 @@ public java.lang.String getCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -6552,6 +7181,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6559,21 +7190,25 @@ public java.lang.String getCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany( - java.lang.String value) { + public Builder setCompany(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6581,16 +7216,21 @@ public Builder setCompany(
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6598,17 +7238,19 @@ public Builder clearCompany() {
      * example, "projects/foo/tenants/bar/companies/baz".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -6616,6 +7258,8 @@ public Builder setCompanyBytes( private java.lang.Object requisitionId_ = ""; /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6626,13 +7270,13 @@ public Builder setCompanyBytes(
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ public java.lang.String getRequisitionId() { java.lang.Object ref = requisitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; @@ -6641,6 +7285,8 @@ public java.lang.String getRequisitionId() { } } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6651,15 +7297,14 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ - public com.google.protobuf.ByteString - getRequisitionIdBytes() { + public com.google.protobuf.ByteString getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -6667,6 +7312,8 @@ public java.lang.String getRequisitionId() { } } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6677,20 +7324,22 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionId( - java.lang.String value) { + public Builder setRequisitionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requisitionId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6701,15 +7350,18 @@ public Builder setRequisitionId(
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRequisitionId() { - + requisitionId_ = getDefaultInstance().getRequisitionId(); onChanged(); return this; } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6720,16 +7372,16 @@ public Builder clearRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requisitionId_ = value; onChanged(); return this; @@ -6737,19 +7389,21 @@ public Builder setRequisitionIdBytes( private java.lang.Object title_ = ""; /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -6758,21 +7412,22 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -6780,57 +7435,64 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -6838,6 +7500,8 @@ public Builder setTitleBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6850,13 +7514,13 @@ public Builder setTitleBytes(
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6865,6 +7529,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6877,15 +7543,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -6893,6 +7558,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6905,20 +7572,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6931,15 +7600,18 @@ public Builder setDescription(
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6952,29 +7624,33 @@ public Builder clearDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7000,13 +7676,15 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList - getAddressesList() { + public com.google.protobuf.ProtocolStringList getAddressesList() { return addresses_.getUnmodifiableView(); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7032,12 +7710,15 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7063,6 +7744,7 @@ public int getAddressesCount() {
      * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -7070,6 +7752,8 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7095,14 +7779,16 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString - getAddressesBytes(int index) { + public com.google.protobuf.ByteString getAddressesBytes(int index) { return addresses_.getByteString(index); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7128,21 +7814,23 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; + * * @param index The index to set the value at. * @param value The addresses to set. * @return This builder for chaining. */ - public Builder setAddresses( - int index, java.lang.String value) { + public Builder setAddresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.set(index, value); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7168,20 +7856,22 @@ public Builder setAddresses(
      * 
* * repeated string addresses = 6; + * * @param value The addresses to add. * @return This builder for chaining. */ - public Builder addAddresses( - java.lang.String value) { + public Builder addAddresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.add(value); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7207,18 +7897,19 @@ public Builder addAddresses(
      * 
* * repeated string addresses = 6; + * * @param values The addresses to add. * @return This builder for chaining. */ - public Builder addAllAddresses( - java.lang.Iterable values) { + public Builder addAllAddresses(java.lang.Iterable values) { ensureAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7244,6 +7935,7 @@ public Builder addAllAddresses(
      * 
* * repeated string addresses = 6; + * * @return This builder for chaining. */ public Builder clearAddresses() { @@ -7253,6 +7945,8 @@ public Builder clearAddresses() { return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7278,15 +7972,15 @@ public Builder clearAddresses() {
      * 
* * repeated string addresses = 6; + * * @param value The bytes of the addresses to add. * @return This builder for chaining. */ - public Builder addAddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addAddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAddressesIsMutable(); addresses_.add(value); onChanged(); @@ -7295,34 +7989,47 @@ public Builder addAddressesBytes( private com.google.cloud.talent.v4.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> applicationInfoBuilder_; + com.google.cloud.talent.v4.Job.ApplicationInfo, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> + applicationInfoBuilder_; /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ public boolean hasApplicationInfo() { return applicationInfoBuilder_ != null || applicationInfo_ != null; } /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ public com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo() { if (applicationInfoBuilder_ == null) { - return applicationInfo_ == null ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } else { return applicationInfoBuilder_.getMessage(); } } /** + * + * *
      * Job application information.
      * 
@@ -7343,6 +8050,8 @@ public Builder setApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationInfo return this; } /** + * + * *
      * Job application information.
      * 
@@ -7361,6 +8070,8 @@ public Builder setApplicationInfo( return this; } /** + * + * *
      * Job application information.
      * 
@@ -7371,7 +8082,9 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationIn if (applicationInfoBuilder_ == null) { if (applicationInfo_ != null) { applicationInfo_ = - com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder(applicationInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Job.ApplicationInfo.newBuilder(applicationInfo_) + .mergeFrom(value) + .buildPartial(); } else { applicationInfo_ = value; } @@ -7383,6 +8096,8 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4.Job.ApplicationIn return this; } /** + * + * *
      * Job application information.
      * 
@@ -7401,6 +8116,8 @@ public Builder clearApplicationInfo() { return this; } /** + * + * *
      * Job application information.
      * 
@@ -7408,11 +8125,13 @@ public Builder clearApplicationInfo() { * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; */ public com.google.cloud.talent.v4.Job.ApplicationInfo.Builder getApplicationInfoBuilder() { - + onChanged(); return getApplicationInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Job application information.
      * 
@@ -7423,11 +8142,14 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf if (applicationInfoBuilder_ != null) { return applicationInfoBuilder_.getMessageOrBuilder(); } else { - return applicationInfo_ == null ? - com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } } /** + * + * *
      * Job application information.
      * 
@@ -7435,21 +8157,24 @@ public com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInf * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> + com.google.cloud.talent.v4.Job.ApplicationInfo, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder> getApplicationInfoFieldBuilder() { if (applicationInfoBuilder_ == null) { - applicationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ApplicationInfo, com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder>( - getApplicationInfo(), - getParentForChildren(), - isClean()); + applicationInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.ApplicationInfo, + com.google.cloud.talent.v4.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder>( + getApplicationInfo(), getParentForChildren(), isClean()); applicationInfo_ = null; } return applicationInfoBuilder_; } - private java.util.List jobBenefits_ = - java.util.Collections.emptyList(); + private java.util.List jobBenefits_ = java.util.Collections.emptyList(); + private void ensureJobBenefitsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); @@ -7457,34 +8182,44 @@ private void ensureJobBenefitsIsMutable() { } } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>(jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobBenefit>( + jobBenefits_, jobBenefits_converter_); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -7492,17 +8227,19 @@ public com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index to set the value at. * @param value The jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefits( - int index, com.google.cloud.talent.v4.JobBenefit value) { + public Builder setJobBenefits(int index, com.google.cloud.talent.v4.JobBenefit value) { if (value == null) { throw new NullPointerException(); } @@ -7512,11 +8249,14 @@ public Builder setJobBenefits( return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param value The jobBenefits to add. * @return This builder for chaining. */ @@ -7530,11 +8270,14 @@ public Builder addJobBenefits(com.google.cloud.talent.v4.JobBenefit value) { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param values The jobBenefits to add. * @return This builder for chaining. */ @@ -7548,11 +8291,14 @@ public Builder addAllJobBenefits( return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return This builder for chaining. */ public Builder clearJobBenefits() { @@ -7562,23 +8308,28 @@ public Builder clearJobBenefits() { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - public java.util.List - getJobBenefitsValueList() { + public java.util.List getJobBenefitsValueList() { return java.util.Collections.unmodifiableList(jobBenefits_); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -7586,28 +8337,33 @@ public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefitsValue( - int index, int value) { + public Builder setJobBenefitsValue(int index, int value) { ensureJobBenefitsIsMutable(); jobBenefits_.set(index, value); onChanged(); return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param value The enum numeric value on the wire for jobBenefits to add. * @return This builder for chaining. */ @@ -7618,16 +8374,18 @@ public Builder addJobBenefitsValue(int value) { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param values The enum numeric values on the wire for jobBenefits to add. * @return This builder for chaining. */ - public Builder addAllJobBenefitsValue( - java.lang.Iterable values) { + public Builder addAllJobBenefitsValue(java.lang.Iterable values) { ensureJobBenefitsIsMutable(); for (int value : values) { jobBenefits_.add(value); @@ -7638,36 +8396,49 @@ public Builder addAllJobBenefitsValue( private com.google.cloud.talent.v4.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder> compensationInfoBuilder_; + com.google.cloud.talent.v4.CompensationInfo, + com.google.cloud.talent.v4.CompensationInfo.Builder, + com.google.cloud.talent.v4.CompensationInfoOrBuilder> + compensationInfoBuilder_; /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ public boolean hasCompensationInfo() { return compensationInfoBuilder_ != null || compensationInfo_ != null; } /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ public com.google.cloud.talent.v4.CompensationInfo getCompensationInfo() { if (compensationInfoBuilder_ == null) { - return compensationInfo_ == null ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_; + return compensationInfo_ == null + ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() + : compensationInfo_; } else { return compensationInfoBuilder_.getMessage(); } } /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7689,6 +8460,8 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4.CompensationInfo v
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7708,6 +8481,8 @@ public Builder setCompensationInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7719,7 +8494,9 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4.CompensationInfo
       if (compensationInfoBuilder_ == null) {
         if (compensationInfo_ != null) {
           compensationInfo_ =
-            com.google.cloud.talent.v4.CompensationInfo.newBuilder(compensationInfo_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.CompensationInfo.newBuilder(compensationInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           compensationInfo_ = value;
         }
@@ -7731,6 +8508,8 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4.CompensationInfo
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7750,6 +8529,8 @@ public Builder clearCompensationInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7758,11 +8539,13 @@ public Builder clearCompensationInfo() {
      * .google.cloud.talent.v4.CompensationInfo compensation_info = 9;
      */
     public com.google.cloud.talent.v4.CompensationInfo.Builder getCompensationInfoBuilder() {
-      
+
       onChanged();
       return getCompensationInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7774,11 +8557,14 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
       if (compensationInfoBuilder_ != null) {
         return compensationInfoBuilder_.getMessageOrBuilder();
       } else {
-        return compensationInfo_ == null ?
-            com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance() : compensationInfo_;
+        return compensationInfo_ == null
+            ? com.google.cloud.talent.v4.CompensationInfo.getDefaultInstance()
+            : compensationInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7787,35 +8573,45 @@ public com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoO
      * .google.cloud.talent.v4.CompensationInfo compensation_info = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder> 
+            com.google.cloud.talent.v4.CompensationInfo,
+            com.google.cloud.talent.v4.CompensationInfo.Builder,
+            com.google.cloud.talent.v4.CompensationInfoOrBuilder>
         getCompensationInfoFieldBuilder() {
       if (compensationInfoBuilder_ == null) {
-        compensationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationInfo, com.google.cloud.talent.v4.CompensationInfo.Builder, com.google.cloud.talent.v4.CompensationInfoOrBuilder>(
-                getCompensationInfo(),
-                getParentForChildren(),
-                isClean());
+        compensationInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.CompensationInfo,
+                com.google.cloud.talent.v4.CompensationInfo.Builder,
+                com.google.cloud.talent.v4.CompensationInfoOrBuilder>(
+                getCompensationInfo(), getParentForChildren(), isClean());
         compensationInfo_ = null;
       }
       return compensationInfoBuilder_;
     }
 
     private com.google.protobuf.MapField<
-        java.lang.String, com.google.cloud.talent.v4.CustomAttribute> customAttributes_;
-    private com.google.protobuf.MapField
-    internalGetCustomAttributes() {
+            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+        customAttributes_;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+        internalGetCustomAttributes() {
       if (customAttributes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       return customAttributes_;
     }
-    private com.google.protobuf.MapField
-    internalGetMutableCustomAttributes() {
-      onChanged();;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.talent.v4.CustomAttribute>
+        internalGetMutableCustomAttributes() {
+      onChanged();
+      ;
       if (customAttributes_ == null) {
-        customAttributes_ = com.google.protobuf.MapField.newMapField(
-            CustomAttributesDefaultEntryHolder.defaultEntry);
+        customAttributes_ =
+            com.google.protobuf.MapField.newMapField(
+                CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       if (!customAttributes_.isMutable()) {
         customAttributes_ = customAttributes_.copy();
@@ -7827,6 +8623,8 @@ public int getCustomAttributesCount() {
       return internalGetCustomAttributes().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7840,24 +8638,26 @@ public int getCustomAttributesCount() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ - @java.lang.Override - public boolean containsCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCustomAttributes().getMap().containsKey(key); } - /** - * Use {@link #getCustomAttributesMap()} instead. - */ + /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCustomAttributes() { + public java.util.Map + getCustomAttributes() { return getCustomAttributesMap(); } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7871,14 +8671,17 @@ public java.util.Map
      *
-     * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
+     * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
+     * 
      */
     @java.lang.Override
-
-    public java.util.Map getCustomAttributesMap() {
+    public java.util.Map
+        getCustomAttributesMap() {
       return internalGetCustomAttributes().getMap();
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7892,19 +8695,22 @@ public java.util.Map
      *
-     * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
+     * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
+     * 
      */
     @java.lang.Override
-
     public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
-        java.lang.String key,
-        com.google.cloud.talent.v4.CustomAttribute defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.talent.v4.CustomAttribute defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetCustomAttributes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7918,13 +8724,15 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ @java.lang.Override - public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -7934,11 +8742,12 @@ public com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow( } public Builder clearCustomAttributes() { - internalGetMutableCustomAttributes().getMutableMap() - .clear(); + internalGetMutableCustomAttributes().getMutableMap().clear(); return this; } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7952,25 +8761,25 @@ public Builder clearCustomAttributes() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ - - public Builder removeCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableCustomAttributes().getMutableMap() - .remove(key); + public Builder removeCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableCustomAttributes().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableCustomAttributes() { + getMutableCustomAttributes() { return internalGetMutableCustomAttributes().getMutableMap(); } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7984,21 +8793,24 @@ public Builder removeCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ public Builder putCustomAttributes( - java.lang.String key, - com.google.cloud.talent.v4.CustomAttribute value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.cloud.talent.v4.CustomAttribute value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableCustomAttributes().getMutableMap() - .put(key, value); + internalGetMutableCustomAttributes().getMutableMap().put(key, value); return this; } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -8012,18 +8824,17 @@ public Builder putCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10; + * */ - public Builder putAllCustomAttributes( java.util.Map values) { - internalGetMutableCustomAttributes().getMutableMap() - .putAll(values); + internalGetMutableCustomAttributes().getMutableMap().putAll(values); return this; } - private java.util.List degreeTypes_ = - java.util.Collections.emptyList(); + private java.util.List degreeTypes_ = java.util.Collections.emptyList(); + private void ensureDegreeTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); @@ -8031,34 +8842,44 @@ private void ensureDegreeTypesIsMutable() { } } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.DegreeType>(degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.DegreeType>( + degreeTypes_, degreeTypes_converter_); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -8066,17 +8887,19 @@ public com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index to set the value at. * @param value The degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypes( - int index, com.google.cloud.talent.v4.DegreeType value) { + public Builder setDegreeTypes(int index, com.google.cloud.talent.v4.DegreeType value) { if (value == null) { throw new NullPointerException(); } @@ -8086,11 +8909,14 @@ public Builder setDegreeTypes( return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param value The degreeTypes to add. * @return This builder for chaining. */ @@ -8104,11 +8930,14 @@ public Builder addDegreeTypes(com.google.cloud.talent.v4.DegreeType value) { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param values The degreeTypes to add. * @return This builder for chaining. */ @@ -8122,11 +8951,14 @@ public Builder addAllDegreeTypes( return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return This builder for chaining. */ public Builder clearDegreeTypes() { @@ -8136,23 +8968,28 @@ public Builder clearDegreeTypes() { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - public java.util.List - getDegreeTypesValueList() { + public java.util.List getDegreeTypesValueList() { return java.util.Collections.unmodifiableList(degreeTypes_); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -8160,28 +8997,33 @@ public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypesValue( - int index, int value) { + public Builder setDegreeTypesValue(int index, int value) { ensureDegreeTypesIsMutable(); degreeTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param value The enum numeric value on the wire for degreeTypes to add. * @return This builder for chaining. */ @@ -8192,16 +9034,18 @@ public Builder addDegreeTypesValue(int value) { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param values The enum numeric values on the wire for degreeTypes to add. * @return This builder for chaining. */ - public Builder addAllDegreeTypesValue( - java.lang.Iterable values) { + public Builder addAllDegreeTypesValue(java.lang.Iterable values) { ensureDegreeTypesIsMutable(); for (int value : values) { degreeTypes_.add(value); @@ -8212,6 +9056,8 @@ public Builder addAllDegreeTypesValue( private java.lang.Object department_ = ""; /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8219,13 +9065,13 @@ public Builder addAllDegreeTypesValue(
      * 
* * string department = 12; + * * @return The department. */ public java.lang.String getDepartment() { java.lang.Object ref = department_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; @@ -8234,6 +9080,8 @@ public java.lang.String getDepartment() { } } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8241,15 +9089,14 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; + * * @return The bytes for department. */ - public com.google.protobuf.ByteString - getDepartmentBytes() { + public com.google.protobuf.ByteString getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); department_ = b; return b; } else { @@ -8257,6 +9104,8 @@ public java.lang.String getDepartment() { } } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8264,20 +9113,22 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; + * * @param value The department to set. * @return This builder for chaining. */ - public Builder setDepartment( - java.lang.String value) { + public Builder setDepartment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + department_ = value; onChanged(); return this; } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8285,15 +9136,18 @@ public Builder setDepartment(
      * 
* * string department = 12; + * * @return This builder for chaining. */ public Builder clearDepartment() { - + department_ = getDefaultInstance().getDepartment(); onChanged(); return this; } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8301,23 +9155,23 @@ public Builder clearDepartment() {
      * 
* * string department = 12; + * * @param value The bytes for department to set. * @return This builder for chaining. */ - public Builder setDepartmentBytes( - com.google.protobuf.ByteString value) { + public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + department_ = value; onChanged(); return this; } - private java.util.List employmentTypes_ = - java.util.Collections.emptyList(); + private java.util.List employmentTypes_ = java.util.Collections.emptyList(); + private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -8325,6 +9179,8 @@ private void ensureEmploymentTypesIsMutable() { } } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8332,13 +9188,17 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8346,12 +9206,15 @@ public java.util.List getEmploymentTy
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8359,6 +9222,7 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -8366,6 +9230,8 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8373,12 +9239,12 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypes( - int index, com.google.cloud.talent.v4.EmploymentType value) { + public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.EmploymentType value) { if (value == null) { throw new NullPointerException(); } @@ -8388,6 +9254,8 @@ public Builder setEmploymentTypes( return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8395,6 +9263,7 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -8408,6 +9277,8 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8415,6 +9286,7 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -8428,6 +9300,8 @@ public Builder addAllEmploymentTypes( return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8435,6 +9309,7 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -8444,6 +9319,8 @@ public Builder clearEmploymentTypes() { return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8451,13 +9328,15 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8465,6 +9344,7 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -8472,6 +9352,8 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8479,18 +9361,20 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue( - int index, int value) { + public Builder setEmploymentTypesValue(int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8498,6 +9382,7 @@ public Builder setEmploymentTypesValue(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -8508,6 +9393,8 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -8515,11 +9402,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue( - java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -8530,6 +9417,8 @@ public Builder addAllEmploymentTypesValue( private java.lang.Object incentives_ = ""; /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8537,13 +9426,13 @@ public Builder addAllEmploymentTypesValue(
      * 
* * string incentives = 14; + * * @return The incentives. */ public java.lang.String getIncentives() { java.lang.Object ref = incentives_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; @@ -8552,6 +9441,8 @@ public java.lang.String getIncentives() { } } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8559,15 +9450,14 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; + * * @return The bytes for incentives. */ - public com.google.protobuf.ByteString - getIncentivesBytes() { + public com.google.protobuf.ByteString getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incentives_ = b; return b; } else { @@ -8575,6 +9465,8 @@ public java.lang.String getIncentives() { } } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8582,20 +9474,22 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; + * * @param value The incentives to set. * @return This builder for chaining. */ - public Builder setIncentives( - java.lang.String value) { + public Builder setIncentives(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incentives_ = value; onChanged(); return this; } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8603,15 +9497,18 @@ public Builder setIncentives(
      * 
* * string incentives = 14; + * * @return This builder for chaining. */ public Builder clearIncentives() { - + incentives_ = getDefaultInstance().getIncentives(); onChanged(); return this; } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8619,16 +9516,16 @@ public Builder clearIncentives() {
      * 
* * string incentives = 14; + * * @param value The bytes for incentives to set. * @return This builder for chaining. */ - public Builder setIncentivesBytes( - com.google.protobuf.ByteString value) { + public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incentives_ = value; onChanged(); return this; @@ -8636,6 +9533,8 @@ public Builder setIncentivesBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8649,13 +9548,13 @@ public Builder setIncentivesBytes(
      * 
* * string language_code = 15; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -8664,6 +9563,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8677,15 +9578,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -8693,6 +9593,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8706,20 +9608,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8733,15 +9637,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 15; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8755,16 +9662,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 15; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -8772,51 +9679,65 @@ public Builder setLanguageCodeBytes( private int jobLevel_ = 0; /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override public int getJobLevelValue() { + @java.lang.Override + public int getJobLevelValue() { return jobLevel_; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @param value The enum numeric value on the wire for jobLevel to set. * @return This builder for chaining. */ public Builder setJobLevelValue(int value) { - + jobLevel_ = value; onChanged(); return this; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The jobLevel. */ @java.lang.Override public com.google.cloud.talent.v4.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobLevel result = com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4.JobLevel result = + com.google.cloud.talent.v4.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4.JobLevel.UNRECOGNIZED : result; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @param value The jobLevel to set. * @return This builder for chaining. */ @@ -8824,28 +9745,33 @@ public Builder setJobLevel(com.google.cloud.talent.v4.JobLevel value) { if (value == null) { throw new NullPointerException(); } - + jobLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return This builder for chaining. */ public Builder clearJobLevel() { - + jobLevel_ = 0; onChanged(); return this; } - private int promotionValue_ ; + private int promotionValue_; /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8856,6 +9782,7 @@ public Builder clearJobLevel() {
      * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ @java.lang.Override @@ -8863,6 +9790,8 @@ public int getPromotionValue() { return promotionValue_; } /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8873,16 +9802,19 @@ public int getPromotionValue() {
      * 
* * int32 promotion_value = 17; + * * @param value The promotionValue to set. * @return This builder for chaining. */ public Builder setPromotionValue(int value) { - + promotionValue_ = value; onChanged(); return this; } /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8893,10 +9825,11 @@ public Builder setPromotionValue(int value) {
      * 
* * int32 promotion_value = 17; + * * @return This builder for chaining. */ public Builder clearPromotionValue() { - + promotionValue_ = 0; onChanged(); return this; @@ -8904,6 +9837,8 @@ public Builder clearPromotionValue() { private java.lang.Object qualifications_ = ""; /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8914,13 +9849,13 @@ public Builder clearPromotionValue() {
      * 
* * string qualifications = 18; + * * @return The qualifications. */ public java.lang.String getQualifications() { java.lang.Object ref = qualifications_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; @@ -8929,6 +9864,8 @@ public java.lang.String getQualifications() { } } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8939,15 +9876,14 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ - public com.google.protobuf.ByteString - getQualificationsBytes() { + public com.google.protobuf.ByteString getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); qualifications_ = b; return b; } else { @@ -8955,6 +9891,8 @@ public java.lang.String getQualifications() { } } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8965,20 +9903,22 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; + * * @param value The qualifications to set. * @return This builder for chaining. */ - public Builder setQualifications( - java.lang.String value) { + public Builder setQualifications(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + qualifications_ = value; onChanged(); return this; } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8989,15 +9929,18 @@ public Builder setQualifications(
      * 
* * string qualifications = 18; + * * @return This builder for chaining. */ public Builder clearQualifications() { - + qualifications_ = getDefaultInstance().getQualifications(); onChanged(); return this; } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -9008,16 +9951,16 @@ public Builder clearQualifications() {
      * 
* * string qualifications = 18; + * * @param value The bytes for qualifications to set. * @return This builder for chaining. */ - public Builder setQualificationsBytes( - com.google.protobuf.ByteString value) { + public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + qualifications_ = value; onChanged(); return this; @@ -9025,6 +9968,8 @@ public Builder setQualificationsBytes( private java.lang.Object responsibilities_ = ""; /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9035,13 +9980,13 @@ public Builder setQualificationsBytes(
      * 
* * string responsibilities = 19; + * * @return The responsibilities. */ public java.lang.String getResponsibilities() { java.lang.Object ref = responsibilities_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; @@ -9050,6 +9995,8 @@ public java.lang.String getResponsibilities() { } } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9060,15 +10007,14 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ - public com.google.protobuf.ByteString - getResponsibilitiesBytes() { + public com.google.protobuf.ByteString getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -9076,6 +10022,8 @@ public java.lang.String getResponsibilities() { } } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9086,20 +10034,22 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; + * * @param value The responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilities( - java.lang.String value) { + public Builder setResponsibilities(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responsibilities_ = value; onChanged(); return this; } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9110,15 +10060,18 @@ public Builder setResponsibilities(
      * 
* * string responsibilities = 19; + * * @return This builder for chaining. */ public Builder clearResponsibilities() { - + responsibilities_ = getDefaultInstance().getResponsibilities(); onChanged(); return this; } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -9129,16 +10082,16 @@ public Builder clearResponsibilities() {
      * 
* * string responsibilities = 19; + * * @param value The bytes for responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilitiesBytes( - com.google.protobuf.ByteString value) { + public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responsibilities_ = value; onChanged(); return this; @@ -9146,6 +10099,8 @@ public Builder setResponsibilitiesBytes( private int postingRegion_ = 0; /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9157,12 +10112,16 @@ public Builder setResponsibilitiesBytes(
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override public int getPostingRegionValue() { + @java.lang.Override + public int getPostingRegionValue() { return postingRegion_; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9174,16 +10133,19 @@ public Builder setResponsibilitiesBytes(
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @param value The enum numeric value on the wire for postingRegion to set. * @return This builder for chaining. */ public Builder setPostingRegionValue(int value) { - + postingRegion_ = value; onChanged(); return this; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9195,15 +10157,19 @@ public Builder setPostingRegionValue(int value) {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The postingRegion. */ @java.lang.Override public com.google.cloud.talent.v4.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.PostingRegion result = com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4.PostingRegion result = + com.google.cloud.talent.v4.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4.PostingRegion.UNRECOGNIZED : result; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9215,6 +10181,7 @@ public com.google.cloud.talent.v4.PostingRegion getPostingRegion() {
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @param value The postingRegion to set. * @return This builder for chaining. */ @@ -9222,12 +10189,14 @@ public Builder setPostingRegion(com.google.cloud.talent.v4.PostingRegion value) if (value == null) { throw new NullPointerException(); } - + postingRegion_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -9239,10 +10208,11 @@ public Builder setPostingRegion(com.google.cloud.talent.v4.PostingRegion value)
      * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return This builder for chaining. */ public Builder clearPostingRegion() { - + postingRegion_ = 0; onChanged(); return this; @@ -9250,6 +10220,8 @@ public Builder clearPostingRegion() { private int visibility_ = 0; /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9257,14 +10229,19 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { + @java.lang.Override + @java.lang.Deprecated + public int getVisibilityValue() { return visibility_; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9272,18 +10249,22 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @param value The enum numeric value on the wire for visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setVisibilityValue(int value) { - + @java.lang.Deprecated + public Builder setVisibilityValue(int value) { + visibility_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9291,17 +10272,22 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.talent.v4.Visibility getVisibility() { + @java.lang.Deprecated + public com.google.cloud.talent.v4.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Visibility result = com.google.cloud.talent.v4.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4.Visibility result = + com.google.cloud.talent.v4.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4.Visibility.UNRECOGNIZED : result; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9309,21 +10295,25 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @param value The visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) { + @java.lang.Deprecated + public Builder setVisibility(com.google.cloud.talent.v4.Visibility value) { if (value == null) { throw new NullPointerException(); } - + visibility_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9331,12 +10321,14 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearVisibility() { - + @java.lang.Deprecated + public Builder clearVisibility() { + visibility_ = 0; onChanged(); return this; @@ -9344,36 +10336,49 @@ public Builder clearPostingRegion() { private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + jobStartTimeBuilder_; /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ public boolean hasJobStartTime() { return jobStartTimeBuilder_ != null || jobStartTime_ != null; } /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ public com.google.protobuf.Timestamp getJobStartTime() { if (jobStartTimeBuilder_ == null) { - return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; + return jobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobStartTime_; } else { return jobStartTimeBuilder_.getMessage(); } } /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9395,6 +10400,8 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9402,8 +10409,7 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_start_time = 22;
      */
-    public Builder setJobStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobStartTimeBuilder_ == null) {
         jobStartTime_ = builderForValue.build();
         onChanged();
@@ -9414,6 +10420,8 @@ public Builder setJobStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9425,7 +10433,9 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       if (jobStartTimeBuilder_ == null) {
         if (jobStartTime_ != null) {
           jobStartTime_ =
-            com.google.protobuf.Timestamp.newBuilder(jobStartTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           jobStartTime_ = value;
         }
@@ -9437,6 +10447,8 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9456,6 +10468,8 @@ public Builder clearJobStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9464,11 +10478,13 @@ public Builder clearJobStartTime() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {
-      
+
       onChanged();
       return getJobStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9480,11 +10496,14 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
       if (jobStartTimeBuilder_ != null) {
         return jobStartTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobStartTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_;
+        return jobStartTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : jobStartTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9493,14 +10512,17 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getJobStartTimeFieldBuilder() {
       if (jobStartTimeBuilder_ == null) {
-        jobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getJobStartTime(),
-                getParentForChildren(),
-                isClean());
+        jobStartTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getJobStartTime(), getParentForChildren(), isClean());
         jobStartTime_ = null;
       }
       return jobStartTimeBuilder_;
@@ -9508,36 +10530,49 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp jobEndTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobEndTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        jobEndTimeBuilder_;
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ public boolean hasJobEndTime() { return jobEndTimeBuilder_ != null || jobEndTime_ != null; } /** + * + * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ public com.google.protobuf.Timestamp getJobEndTime() { if (jobEndTimeBuilder_ == null) { - return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; + return jobEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobEndTime_; } else { return jobEndTimeBuilder_.getMessage(); } } /** + * + * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9559,6 +10594,8 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9566,8 +10603,7 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_end_time = 23;
      */
-    public Builder setJobEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobEndTimeBuilder_ == null) {
         jobEndTime_ = builderForValue.build();
         onChanged();
@@ -9578,6 +10614,8 @@ public Builder setJobEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9589,7 +10627,7 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       if (jobEndTimeBuilder_ == null) {
         if (jobEndTime_ != null) {
           jobEndTime_ =
-            com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
         } else {
           jobEndTime_ = value;
         }
@@ -9601,6 +10639,8 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9620,6 +10660,8 @@ public Builder clearJobEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9628,11 +10670,13 @@ public Builder clearJobEndTime() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {
-      
+
       onChanged();
       return getJobEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9644,11 +10688,14 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
       if (jobEndTimeBuilder_ != null) {
         return jobEndTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobEndTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
+        return jobEndTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : jobEndTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9657,14 +10704,17 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getJobEndTimeFieldBuilder() {
       if (jobEndTimeBuilder_ == null) {
-        jobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getJobEndTime(),
-                getParentForChildren(),
-                isClean());
+        jobEndTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getJobEndTime(), getParentForChildren(), isClean());
         jobEndTime_ = null;
       }
       return jobEndTimeBuilder_;
@@ -9672,8 +10722,13 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingPublishTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingPublishTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingPublishTimeBuilder_;
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9681,12 +10736,15 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ public boolean hasPostingPublishTime() { return postingPublishTimeBuilder_ != null || postingPublishTime_ != null; } /** + * + * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9694,16 +10752,21 @@ public boolean hasPostingPublishTime() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ public com.google.protobuf.Timestamp getPostingPublishTime() { if (postingPublishTimeBuilder_ == null) { - return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; + return postingPublishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingPublishTime_; } else { return postingPublishTimeBuilder_.getMessage(); } } /** + * + * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9726,6 +10789,8 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9734,8 +10799,7 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
-    public Builder setPostingPublishTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingPublishTimeBuilder_ == null) {
         postingPublishTime_ = builderForValue.build();
         onChanged();
@@ -9746,6 +10810,8 @@ public Builder setPostingPublishTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9758,7 +10824,9 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       if (postingPublishTimeBuilder_ == null) {
         if (postingPublishTime_ != null) {
           postingPublishTime_ =
-            com.google.protobuf.Timestamp.newBuilder(postingPublishTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postingPublishTime_ = value;
         }
@@ -9770,6 +10838,8 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9790,6 +10860,8 @@ public Builder clearPostingPublishTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9799,11 +10871,13 @@ public Builder clearPostingPublishTime() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {
-      
+
       onChanged();
       return getPostingPublishTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9816,11 +10890,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
       if (postingPublishTimeBuilder_ != null) {
         return postingPublishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingPublishTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_;
+        return postingPublishTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : postingPublishTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9830,14 +10907,17 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getPostingPublishTimeFieldBuilder() {
       if (postingPublishTimeBuilder_ == null) {
-        postingPublishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPostingPublishTime(),
-                getParentForChildren(),
-                isClean());
+        postingPublishTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPostingPublishTime(), getParentForChildren(), isClean());
         postingPublishTime_ = null;
       }
       return postingPublishTimeBuilder_;
@@ -9845,8 +10925,13 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingExpireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingExpireTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingExpireTimeBuilder_;
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9886,12 +10971,15 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ public boolean hasPostingExpireTime() { return postingExpireTimeBuilder_ != null || postingExpireTime_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9931,16 +11019,21 @@ public boolean hasPostingExpireTime() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ public com.google.protobuf.Timestamp getPostingExpireTime() { if (postingExpireTimeBuilder_ == null) { - return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; + return postingExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingExpireTime_; } else { return postingExpireTimeBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9995,6 +11088,8 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10035,8 +11130,7 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
-    public Builder setPostingExpireTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingExpireTimeBuilder_ == null) {
         postingExpireTime_ = builderForValue.build();
         onChanged();
@@ -10047,6 +11141,8 @@ public Builder setPostingExpireTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10091,7 +11187,9 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       if (postingExpireTimeBuilder_ == null) {
         if (postingExpireTime_ != null) {
           postingExpireTime_ =
-            com.google.protobuf.Timestamp.newBuilder(postingExpireTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postingExpireTime_ = value;
         }
@@ -10103,6 +11201,8 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10155,6 +11255,8 @@ public Builder clearPostingExpireTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10196,11 +11298,13 @@ public Builder clearPostingExpireTime() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
-      
+
       onChanged();
       return getPostingExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10245,11 +11349,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
       if (postingExpireTimeBuilder_ != null) {
         return postingExpireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingExpireTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_;
+        return postingExpireTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : postingExpireTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10291,14 +11398,17 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getPostingExpireTimeFieldBuilder() {
       if (postingExpireTimeBuilder_ == null) {
-        postingExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPostingExpireTime(),
-                getParentForChildren(),
-                isClean());
+        postingExpireTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPostingExpireTime(), getParentForChildren(), isClean());
         postingExpireTime_ = null;
       }
       return postingExpireTimeBuilder_;
@@ -10306,39 +11416,58 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingCreateTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingCreateTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ public boolean hasPostingCreateTime() { return postingCreateTimeBuilder_ != null || postingCreateTime_ != null; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ public com.google.protobuf.Timestamp getPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { - return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } else { return postingCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { @@ -10354,14 +11483,17 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostingCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (postingCreateTimeBuilder_ == null) { postingCreateTime_ = builderForValue.build(); onChanged(); @@ -10372,17 +11504,23 @@ public Builder setPostingCreateTime( return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { if (postingCreateTime_ != null) { postingCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { postingCreateTime_ = value; } @@ -10394,11 +11532,15 @@ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { @@ -10412,48 +11554,64 @@ public Builder clearPostingCreateTime() { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() { - + onChanged(); return getPostingCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { if (postingCreateTimeBuilder_ != null) { return postingCreateTimeBuilder_.getMessageOrBuilder(); } else { - return postingCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getPostingCreateTimeFieldBuilder() { if (postingCreateTimeBuilder_ == null) { - postingCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPostingCreateTime(), - getParentForChildren(), - isClean()); + postingCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPostingCreateTime(), getParentForChildren(), isClean()); postingCreateTime_ = null; } return postingCreateTimeBuilder_; @@ -10461,39 +11619,58 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + postingUpdateTimeBuilder_; /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ public boolean hasPostingUpdateTime() { return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ public com.google.protobuf.Timestamp getPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { - return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } else { return postingUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { @@ -10509,14 +11686,17 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostingUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (postingUpdateTimeBuilder_ == null) { postingUpdateTime_ = builderForValue.build(); onChanged(); @@ -10527,17 +11707,23 @@ public Builder setPostingUpdateTime( return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { if (postingUpdateTime_ != null) { postingUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { postingUpdateTime_ = value; } @@ -10549,11 +11735,15 @@ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { @@ -10567,48 +11757,64 @@ public Builder clearPostingUpdateTime() { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() { - + onChanged(); return getPostingUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { if (postingUpdateTimeBuilder_ != null) { return postingUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return postingUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getPostingUpdateTimeFieldBuilder() { if (postingUpdateTimeBuilder_ == null) { - postingUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPostingUpdateTime(), - getParentForChildren(), - isClean()); + postingUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPostingUpdateTime(), getParentForChildren(), isClean()); postingUpdateTime_ = null; } return postingUpdateTimeBuilder_; @@ -10616,18 +11822,20 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { private java.lang.Object companyDisplayName_ = ""; /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ public java.lang.String getCompanyDisplayName() { java.lang.Object ref = companyDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; @@ -10636,20 +11844,21 @@ public java.lang.String getCompanyDisplayName() { } } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ - public com.google.protobuf.ByteString - getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -10657,54 +11866,61 @@ public java.lang.String getCompanyDisplayName() { } } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayName( - java.lang.String value) { + public Builder setCompanyDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + companyDisplayName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCompanyDisplayName() { - + companyDisplayName_ = getDefaultInstance().getCompanyDisplayName(); onChanged(); return this; } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + companyDisplayName_ = value; onChanged(); return this; @@ -10712,39 +11928,58 @@ public Builder setCompanyDisplayNameBytes( private com.google.cloud.talent.v4.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> derivedInfoBuilder_; + com.google.cloud.talent.v4.Job.DerivedInfo, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> + derivedInfoBuilder_; /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ public com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -10760,11 +11995,15 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo( com.google.cloud.talent.v4.Job.DerivedInfo.Builder builderForValue) { @@ -10778,17 +12017,23 @@ public Builder setDerivedInfo( return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Job.DerivedInfo.newBuilder(derivedInfo_) + .mergeFrom(value) + .buildPartial(); } else { derivedInfo_ = value; } @@ -10800,11 +12045,15 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4.Job.DerivedInfo value return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -10818,48 +12067,64 @@ public Builder clearDerivedInfo() { return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4.Job.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null ? - com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> + com.google.cloud.talent.v4.Job.DerivedInfo, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.DerivedInfo, com.google.cloud.talent.v4.Job.DerivedInfo.Builder, com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder>( - getDerivedInfo(), - getParentForChildren(), - isClean()); + derivedInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.DerivedInfo, + com.google.cloud.talent.v4.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder>( + getDerivedInfo(), getParentForChildren(), isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; @@ -10867,34 +12132,47 @@ public com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuild private com.google.cloud.talent.v4.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> processingOptionsBuilder_; + com.google.cloud.talent.v4.Job.ProcessingOptions, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> + processingOptionsBuilder_; /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ public boolean hasProcessingOptions() { return processingOptionsBuilder_ != null || processingOptions_ != null; } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ public com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions() { if (processingOptionsBuilder_ == null) { - return processingOptions_ == null ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } else { return processingOptionsBuilder_.getMessage(); } } /** + * + * *
      * Options for job processing.
      * 
@@ -10915,6 +12193,8 @@ public Builder setProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingOpt return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10933,6 +12213,8 @@ public Builder setProcessingOptions( return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10943,7 +12225,9 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingO if (processingOptionsBuilder_ == null) { if (processingOptions_ != null) { processingOptions_ = - com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder(processingOptions_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Job.ProcessingOptions.newBuilder(processingOptions_) + .mergeFrom(value) + .buildPartial(); } else { processingOptions_ = value; } @@ -10955,6 +12239,8 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4.Job.ProcessingO return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10973,6 +12259,8 @@ public Builder clearProcessingOptions() { return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10980,26 +12268,32 @@ public Builder clearProcessingOptions() { * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ public com.google.cloud.talent.v4.Job.ProcessingOptions.Builder getProcessingOptionsBuilder() { - + onChanged(); return getProcessingOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder + getProcessingOptionsOrBuilder() { if (processingOptionsBuilder_ != null) { return processingOptionsBuilder_.getMessageOrBuilder(); } else { - return processingOptions_ == null ? - com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } } /** + * + * *
      * Options for job processing.
      * 
@@ -11007,21 +12301,24 @@ public com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder getProcessingOp * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> + com.google.cloud.talent.v4.Job.ProcessingOptions, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder> getProcessingOptionsFieldBuilder() { if (processingOptionsBuilder_ == null) { - processingOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job.ProcessingOptions, com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder>( - getProcessingOptions(), - getParentForChildren(), - isClean()); + processingOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job.ProcessingOptions, + com.google.cloud.talent.v4.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4.Job.ProcessingOptionsOrBuilder>( + getProcessingOptions(), getParentForChildren(), isClean()); processingOptions_ = null; } return processingOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -11031,12 +12328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Job) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Job) private static final com.google.cloud.talent.v4.Job DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Job(); } @@ -11045,27 +12342,27 @@ public static com.google.cloud.talent.v4.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11080,6 +12377,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java similarity index 76% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java index 136a72f1e2fb..978b62be2040 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobBenefit.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * An enum that represents employee benefits included with the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.JobBenefit} */ -public enum JobBenefit - implements com.google.protobuf.ProtocolMessageEnum { +public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if the type isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum JobBenefit */ JOB_BENEFIT_UNSPECIFIED(0), /** + * + * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -30,6 +50,8 @@ public enum JobBenefit
    */
   CHILD_CARE(1),
   /**
+   *
+   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -39,6 +61,8 @@ public enum JobBenefit
    */
   DENTAL(2),
   /**
+   *
+   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -47,6 +71,8 @@ public enum JobBenefit */ DOMESTIC_PARTNER(3), /** + * + * *
    * The job allows for a flexible work schedule.
    * 
@@ -55,6 +81,8 @@ public enum JobBenefit */ FLEXIBLE_HOURS(4), /** + * + * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -63,6 +91,8 @@ public enum JobBenefit */ MEDICAL(5), /** + * + * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -72,6 +102,8 @@ public enum JobBenefit
    */
   LIFE_INSURANCE(6),
   /**
+   *
+   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -81,6 +113,8 @@ public enum JobBenefit
    */
   PARENTAL_LEAVE(7),
   /**
+   *
+   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -90,6 +124,8 @@ public enum JobBenefit
    */
   RETIREMENT_PLAN(8),
   /**
+   *
+   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -98,6 +134,8 @@ public enum JobBenefit */ SICK_DAYS(9), /** + * + * *
    * The job includes paid time off for vacation.
    * 
@@ -106,6 +144,8 @@ public enum JobBenefit */ VACATION(10), /** + * + * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -118,6 +158,8 @@ public enum JobBenefit
   ;
 
   /**
+   *
+   *
    * 
    * Default value if the type isn't specified.
    * 
@@ -126,6 +168,8 @@ public enum JobBenefit */ public static final int JOB_BENEFIT_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -135,6 +179,8 @@ public enum JobBenefit
    */
   public static final int CHILD_CARE_VALUE = 1;
   /**
+   *
+   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -144,6 +190,8 @@ public enum JobBenefit
    */
   public static final int DENTAL_VALUE = 2;
   /**
+   *
+   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -152,6 +200,8 @@ public enum JobBenefit */ public static final int DOMESTIC_PARTNER_VALUE = 3; /** + * + * *
    * The job allows for a flexible work schedule.
    * 
@@ -160,6 +210,8 @@ public enum JobBenefit */ public static final int FLEXIBLE_HOURS_VALUE = 4; /** + * + * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -168,6 +220,8 @@ public enum JobBenefit */ public static final int MEDICAL_VALUE = 5; /** + * + * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -177,6 +231,8 @@ public enum JobBenefit
    */
   public static final int LIFE_INSURANCE_VALUE = 6;
   /**
+   *
+   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -186,6 +242,8 @@ public enum JobBenefit
    */
   public static final int PARENTAL_LEAVE_VALUE = 7;
   /**
+   *
+   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -195,6 +253,8 @@ public enum JobBenefit
    */
   public static final int RETIREMENT_PLAN_VALUE = 8;
   /**
+   *
+   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -203,6 +263,8 @@ public enum JobBenefit */ public static final int SICK_DAYS_VALUE = 9; /** + * + * *
    * The job includes paid time off for vacation.
    * 
@@ -211,6 +273,8 @@ public enum JobBenefit */ public static final int VACATION_VALUE = 10; /** + * + * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -220,7 +284,6 @@ public enum JobBenefit
    */
   public static final int VISION_VALUE = 11;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -245,58 +308,67 @@ public static JobBenefit valueOf(int value) {
    */
   public static JobBenefit forNumber(int value) {
     switch (value) {
-      case 0: return JOB_BENEFIT_UNSPECIFIED;
-      case 1: return CHILD_CARE;
-      case 2: return DENTAL;
-      case 3: return DOMESTIC_PARTNER;
-      case 4: return FLEXIBLE_HOURS;
-      case 5: return MEDICAL;
-      case 6: return LIFE_INSURANCE;
-      case 7: return PARENTAL_LEAVE;
-      case 8: return RETIREMENT_PLAN;
-      case 9: return SICK_DAYS;
-      case 10: return VACATION;
-      case 11: return VISION;
-      default: return null;
+      case 0:
+        return JOB_BENEFIT_UNSPECIFIED;
+      case 1:
+        return CHILD_CARE;
+      case 2:
+        return DENTAL;
+      case 3:
+        return DOMESTIC_PARTNER;
+      case 4:
+        return FLEXIBLE_HOURS;
+      case 5:
+        return MEDICAL;
+      case 6:
+        return LIFE_INSURANCE;
+      case 7:
+        return PARENTAL_LEAVE;
+      case 8:
+        return RETIREMENT_PLAN;
+      case 9:
+        return SICK_DAYS;
+      case 10:
+        return VACATION;
+      case 11:
+        return VISION;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      JobBenefit> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobBenefit findValueByNumber(int number) {
-            return JobBenefit.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public JobBenefit findValueByNumber(int number) {
+          return JobBenefit.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final JobBenefit[] VALUES = values();
 
-  public static JobBenefit valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static JobBenefit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -312,4 +384,3 @@ private JobBenefit(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobBenefit)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
similarity index 79%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
index 82dcd4aecdd6..3b98d7ec1866 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobCategory.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * An enum that represents the categorization or primary focus of specific
  * role. This value is different than the "industry" associated with a role,
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.JobCategory}
  */
-public enum JobCategory
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default value if the category isn't specified.
    * 
@@ -23,6 +41,8 @@ public enum JobCategory */ JOB_CATEGORY_UNSPECIFIED(0), /** + * + * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -31,6 +51,8 @@ public enum JobCategory */ ACCOUNTING_AND_FINANCE(1), /** + * + * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -39,6 +61,8 @@ public enum JobCategory */ ADMINISTRATIVE_AND_OFFICE(2), /** + * + * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -47,6 +71,8 @@ public enum JobCategory */ ADVERTISING_AND_MARKETING(3), /** + * + * *
    * An animal care job, such as Veterinarian.
    * 
@@ -55,6 +81,8 @@ public enum JobCategory */ ANIMAL_CARE(4), /** + * + * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -63,6 +91,8 @@ public enum JobCategory */ ART_FASHION_AND_DESIGN(5), /** + * + * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -71,6 +101,8 @@ public enum JobCategory */ BUSINESS_OPERATIONS(6), /** + * + * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -79,6 +111,8 @@ public enum JobCategory */ CLEANING_AND_FACILITIES(7), /** + * + * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -87,6 +121,8 @@ public enum JobCategory */ COMPUTER_AND_IT(8), /** + * + * *
    * A construction job, such as General Laborer.
    * 
@@ -95,6 +131,8 @@ public enum JobCategory */ CONSTRUCTION(9), /** + * + * *
    * A customer service job, such s Cashier.
    * 
@@ -103,6 +141,8 @@ public enum JobCategory */ CUSTOMER_SERVICE(10), /** + * + * *
    * An education job, such as School Teacher.
    * 
@@ -111,6 +151,8 @@ public enum JobCategory */ EDUCATION(11), /** + * + * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -119,6 +161,8 @@ public enum JobCategory */ ENTERTAINMENT_AND_TRAVEL(12), /** + * + * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -127,6 +171,8 @@ public enum JobCategory */ FARMING_AND_OUTDOORS(13), /** + * + * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -135,6 +181,8 @@ public enum JobCategory */ HEALTHCARE(14), /** + * + * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -143,6 +191,8 @@ public enum JobCategory */ HUMAN_RESOURCES(15), /** + * + * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -151,6 +201,8 @@ public enum JobCategory */ INSTALLATION_MAINTENANCE_AND_REPAIR(16), /** + * + * *
    * A legal job, such as Law Clerk.
    * 
@@ -159,6 +211,8 @@ public enum JobCategory */ LEGAL(17), /** + * + * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -168,6 +222,8 @@ public enum JobCategory
    */
   MANAGEMENT(18),
   /**
+   *
+   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -176,6 +232,8 @@ public enum JobCategory */ MANUFACTURING_AND_WAREHOUSE(19), /** + * + * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -184,6 +242,8 @@ public enum JobCategory */ MEDIA_COMMUNICATIONS_AND_WRITING(20), /** + * + * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -192,6 +252,8 @@ public enum JobCategory */ OIL_GAS_AND_MINING(21), /** + * + * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -200,6 +262,8 @@ public enum JobCategory */ PERSONAL_CARE_AND_SERVICES(22), /** + * + * *
    * A protective services job, such as Security Guard.
    * 
@@ -208,6 +272,8 @@ public enum JobCategory */ PROTECTIVE_SERVICES(23), /** + * + * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -216,6 +282,8 @@ public enum JobCategory */ REAL_ESTATE(24), /** + * + * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -224,6 +292,8 @@ public enum JobCategory */ RESTAURANT_AND_HOSPITALITY(25), /** + * + * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -232,6 +302,8 @@ public enum JobCategory */ SALES_AND_RETAIL(26), /** + * + * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -240,6 +312,8 @@ public enum JobCategory */ SCIENCE_AND_ENGINEERING(27), /** + * + * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -248,6 +322,8 @@ public enum JobCategory */ SOCIAL_SERVICES_AND_NON_PROFIT(28), /** + * + * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -256,6 +332,8 @@ public enum JobCategory */ SPORTS_FITNESS_AND_RECREATION(29), /** + * + * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -267,6 +345,8 @@ public enum JobCategory ; /** + * + * *
    * The default value if the category isn't specified.
    * 
@@ -275,6 +355,8 @@ public enum JobCategory */ public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -283,6 +365,8 @@ public enum JobCategory */ public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; /** + * + * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -291,6 +375,8 @@ public enum JobCategory */ public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; /** + * + * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -299,6 +385,8 @@ public enum JobCategory */ public static final int ADVERTISING_AND_MARKETING_VALUE = 3; /** + * + * *
    * An animal care job, such as Veterinarian.
    * 
@@ -307,6 +395,8 @@ public enum JobCategory */ public static final int ANIMAL_CARE_VALUE = 4; /** + * + * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -315,6 +405,8 @@ public enum JobCategory */ public static final int ART_FASHION_AND_DESIGN_VALUE = 5; /** + * + * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -323,6 +415,8 @@ public enum JobCategory */ public static final int BUSINESS_OPERATIONS_VALUE = 6; /** + * + * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -331,6 +425,8 @@ public enum JobCategory */ public static final int CLEANING_AND_FACILITIES_VALUE = 7; /** + * + * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -339,6 +435,8 @@ public enum JobCategory */ public static final int COMPUTER_AND_IT_VALUE = 8; /** + * + * *
    * A construction job, such as General Laborer.
    * 
@@ -347,6 +445,8 @@ public enum JobCategory */ public static final int CONSTRUCTION_VALUE = 9; /** + * + * *
    * A customer service job, such s Cashier.
    * 
@@ -355,6 +455,8 @@ public enum JobCategory */ public static final int CUSTOMER_SERVICE_VALUE = 10; /** + * + * *
    * An education job, such as School Teacher.
    * 
@@ -363,6 +465,8 @@ public enum JobCategory */ public static final int EDUCATION_VALUE = 11; /** + * + * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -371,6 +475,8 @@ public enum JobCategory */ public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; /** + * + * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -379,6 +485,8 @@ public enum JobCategory */ public static final int FARMING_AND_OUTDOORS_VALUE = 13; /** + * + * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -387,6 +495,8 @@ public enum JobCategory */ public static final int HEALTHCARE_VALUE = 14; /** + * + * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -395,6 +505,8 @@ public enum JobCategory */ public static final int HUMAN_RESOURCES_VALUE = 15; /** + * + * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -403,6 +515,8 @@ public enum JobCategory */ public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; /** + * + * *
    * A legal job, such as Law Clerk.
    * 
@@ -411,6 +525,8 @@ public enum JobCategory */ public static final int LEGAL_VALUE = 17; /** + * + * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -420,6 +536,8 @@ public enum JobCategory
    */
   public static final int MANAGEMENT_VALUE = 18;
   /**
+   *
+   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -428,6 +546,8 @@ public enum JobCategory */ public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; /** + * + * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -436,6 +556,8 @@ public enum JobCategory */ public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; /** + * + * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -444,6 +566,8 @@ public enum JobCategory */ public static final int OIL_GAS_AND_MINING_VALUE = 21; /** + * + * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -452,6 +576,8 @@ public enum JobCategory */ public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; /** + * + * *
    * A protective services job, such as Security Guard.
    * 
@@ -460,6 +586,8 @@ public enum JobCategory */ public static final int PROTECTIVE_SERVICES_VALUE = 23; /** + * + * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -468,6 +596,8 @@ public enum JobCategory */ public static final int REAL_ESTATE_VALUE = 24; /** + * + * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -476,6 +606,8 @@ public enum JobCategory */ public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; /** + * + * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -484,6 +616,8 @@ public enum JobCategory */ public static final int SALES_AND_RETAIL_VALUE = 26; /** + * + * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -492,6 +626,8 @@ public enum JobCategory */ public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; /** + * + * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -500,6 +636,8 @@ public enum JobCategory */ public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; /** + * + * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -508,6 +646,8 @@ public enum JobCategory */ public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; /** + * + * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -516,7 +656,6 @@ public enum JobCategory */ public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -541,77 +680,105 @@ public static JobCategory valueOf(int value) { */ public static JobCategory forNumber(int value) { switch (value) { - case 0: return JOB_CATEGORY_UNSPECIFIED; - case 1: return ACCOUNTING_AND_FINANCE; - case 2: return ADMINISTRATIVE_AND_OFFICE; - case 3: return ADVERTISING_AND_MARKETING; - case 4: return ANIMAL_CARE; - case 5: return ART_FASHION_AND_DESIGN; - case 6: return BUSINESS_OPERATIONS; - case 7: return CLEANING_AND_FACILITIES; - case 8: return COMPUTER_AND_IT; - case 9: return CONSTRUCTION; - case 10: return CUSTOMER_SERVICE; - case 11: return EDUCATION; - case 12: return ENTERTAINMENT_AND_TRAVEL; - case 13: return FARMING_AND_OUTDOORS; - case 14: return HEALTHCARE; - case 15: return HUMAN_RESOURCES; - case 16: return INSTALLATION_MAINTENANCE_AND_REPAIR; - case 17: return LEGAL; - case 18: return MANAGEMENT; - case 19: return MANUFACTURING_AND_WAREHOUSE; - case 20: return MEDIA_COMMUNICATIONS_AND_WRITING; - case 21: return OIL_GAS_AND_MINING; - case 22: return PERSONAL_CARE_AND_SERVICES; - case 23: return PROTECTIVE_SERVICES; - case 24: return REAL_ESTATE; - case 25: return RESTAURANT_AND_HOSPITALITY; - case 26: return SALES_AND_RETAIL; - case 27: return SCIENCE_AND_ENGINEERING; - case 28: return SOCIAL_SERVICES_AND_NON_PROFIT; - case 29: return SPORTS_FITNESS_AND_RECREATION; - case 30: return TRANSPORTATION_AND_LOGISTICS; - default: return null; + case 0: + return JOB_CATEGORY_UNSPECIFIED; + case 1: + return ACCOUNTING_AND_FINANCE; + case 2: + return ADMINISTRATIVE_AND_OFFICE; + case 3: + return ADVERTISING_AND_MARKETING; + case 4: + return ANIMAL_CARE; + case 5: + return ART_FASHION_AND_DESIGN; + case 6: + return BUSINESS_OPERATIONS; + case 7: + return CLEANING_AND_FACILITIES; + case 8: + return COMPUTER_AND_IT; + case 9: + return CONSTRUCTION; + case 10: + return CUSTOMER_SERVICE; + case 11: + return EDUCATION; + case 12: + return ENTERTAINMENT_AND_TRAVEL; + case 13: + return FARMING_AND_OUTDOORS; + case 14: + return HEALTHCARE; + case 15: + return HUMAN_RESOURCES; + case 16: + return INSTALLATION_MAINTENANCE_AND_REPAIR; + case 17: + return LEGAL; + case 18: + return MANAGEMENT; + case 19: + return MANUFACTURING_AND_WAREHOUSE; + case 20: + return MEDIA_COMMUNICATIONS_AND_WRITING; + case 21: + return OIL_GAS_AND_MINING; + case 22: + return PERSONAL_CARE_AND_SERVICES; + case 23: + return PROTECTIVE_SERVICES; + case 24: + return REAL_ESTATE; + case 25: + return RESTAURANT_AND_HOSPITALITY; + case 26: + return SALES_AND_RETAIL; + case 27: + return SCIENCE_AND_ENGINEERING; + case 28: + return SOCIAL_SERVICES_AND_NON_PROFIT; + case 29: + return SPORTS_FITNESS_AND_RECREATION; + case 30: + return TRANSPORTATION_AND_LOGISTICS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobCategory findValueByNumber(int number) { - return JobCategory.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobCategory findValueByNumber(int number) { + return JobCategory.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(5); } private static final JobCategory[] VALUES = values(); - public static JobCategory valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -627,4 +794,3 @@ private JobCategory(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobCategory) } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java similarity index 77% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java index edfb7bedebe6..b55b1a8184da 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; /** + * + * *
  * An event issued when a job seeker interacts with the application that
  * implements Cloud Talent Solution.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.JobEvent}
  */
-public final class JobEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobEvent)
     JobEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobEvent() {
     type_ = 0;
     jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -27,30 +45,33 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.EventProto
+        .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4.EventProto
+        .internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.JobEvent.class, com.google.cloud.talent.v4.JobEvent.Builder.class);
+            com.google.cloud.talent.v4.JobEvent.class,
+            com.google.cloud.talent.v4.JobEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enumeration of an event attributed to the behavior of the end user,
    * such as a job seeker.
@@ -58,9 +79,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4.JobEvent.JobEventType}
    */
-  public enum JobEventType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -69,6 +91,8 @@ public enum JobEventType */ JOB_EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -80,6 +104,8 @@ public enum JobEventType
      */
     IMPRESSION(1),
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -92,6 +118,8 @@ public enum JobEventType
      */
     VIEW(2),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -102,6 +130,8 @@ public enum JobEventType
      */
     VIEW_REDIRECT(3),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -111,6 +141,8 @@ public enum JobEventType
      */
     APPLICATION_START(4),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -120,6 +152,8 @@ public enum JobEventType
      */
     APPLICATION_FINISH(5),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -133,6 +167,8 @@ public enum JobEventType
      */
     APPLICATION_QUICK_SUBMISSION(6),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -143,6 +179,8 @@ public enum JobEventType
      */
     APPLICATION_REDIRECT(7),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -154,6 +192,8 @@ public enum JobEventType
      */
     APPLICATION_START_FROM_SEARCH(8),
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -168,6 +208,8 @@ public enum JobEventType
      */
     APPLICATION_REDIRECT_FROM_SEARCH(9),
     /**
+     *
+     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -178,6 +220,8 @@ public enum JobEventType
      */
     APPLICATION_COMPANY_SUBMIT(10),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -187,6 +231,8 @@ public enum JobEventType
      */
     BOOKMARK(11),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -197,6 +243,8 @@ public enum JobEventType
      */
     NOTIFICATION(12),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -209,6 +257,8 @@ public enum JobEventType
      */
     HIRED(13),
     /**
+     *
+     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -219,6 +269,8 @@ public enum JobEventType
      */
     SENT_CV(14),
     /**
+     *
+     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -234,6 +286,8 @@ public enum JobEventType
     ;
 
     /**
+     *
+     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -242,6 +296,8 @@ public enum JobEventType */ public static final int JOB_EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -253,6 +309,8 @@ public enum JobEventType
      */
     public static final int IMPRESSION_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -265,6 +323,8 @@ public enum JobEventType
      */
     public static final int VIEW_VALUE = 2;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -275,6 +335,8 @@ public enum JobEventType
      */
     public static final int VIEW_REDIRECT_VALUE = 3;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -284,6 +346,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_START_VALUE = 4;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -293,6 +357,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_FINISH_VALUE = 5;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -306,6 +372,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_QUICK_SUBMISSION_VALUE = 6;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -316,6 +384,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_REDIRECT_VALUE = 7;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -327,6 +397,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_START_FROM_SEARCH_VALUE = 8;
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -341,6 +413,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_REDIRECT_FROM_SEARCH_VALUE = 9;
     /**
+     *
+     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -351,6 +425,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_COMPANY_SUBMIT_VALUE = 10;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -360,6 +436,8 @@ public enum JobEventType
      */
     public static final int BOOKMARK_VALUE = 11;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -370,6 +448,8 @@ public enum JobEventType
      */
     public static final int NOTIFICATION_VALUE = 12;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -382,6 +462,8 @@ public enum JobEventType
      */
     public static final int HIRED_VALUE = 13;
     /**
+     *
+     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -392,6 +474,8 @@ public enum JobEventType
      */
     public static final int SENT_CV_VALUE = 14;
     /**
+     *
+     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -404,7 +488,6 @@ public enum JobEventType
      */
     public static final int INTERVIEW_GRANTED_VALUE = 15;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -429,62 +512,75 @@ public static JobEventType valueOf(int value) {
      */
     public static JobEventType forNumber(int value) {
       switch (value) {
-        case 0: return JOB_EVENT_TYPE_UNSPECIFIED;
-        case 1: return IMPRESSION;
-        case 2: return VIEW;
-        case 3: return VIEW_REDIRECT;
-        case 4: return APPLICATION_START;
-        case 5: return APPLICATION_FINISH;
-        case 6: return APPLICATION_QUICK_SUBMISSION;
-        case 7: return APPLICATION_REDIRECT;
-        case 8: return APPLICATION_START_FROM_SEARCH;
-        case 9: return APPLICATION_REDIRECT_FROM_SEARCH;
-        case 10: return APPLICATION_COMPANY_SUBMIT;
-        case 11: return BOOKMARK;
-        case 12: return NOTIFICATION;
-        case 13: return HIRED;
-        case 14: return SENT_CV;
-        case 15: return INTERVIEW_GRANTED;
-        default: return null;
+        case 0:
+          return JOB_EVENT_TYPE_UNSPECIFIED;
+        case 1:
+          return IMPRESSION;
+        case 2:
+          return VIEW;
+        case 3:
+          return VIEW_REDIRECT;
+        case 4:
+          return APPLICATION_START;
+        case 5:
+          return APPLICATION_FINISH;
+        case 6:
+          return APPLICATION_QUICK_SUBMISSION;
+        case 7:
+          return APPLICATION_REDIRECT;
+        case 8:
+          return APPLICATION_START_FROM_SEARCH;
+        case 9:
+          return APPLICATION_REDIRECT_FROM_SEARCH;
+        case 10:
+          return APPLICATION_COMPANY_SUBMIT;
+        case 11:
+          return BOOKMARK;
+        case 12:
+          return NOTIFICATION;
+        case 13:
+          return HIRED;
+        case 14:
+          return SENT_CV;
+        case 15:
+          return INTERVIEW_GRANTED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        JobEventType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public JobEventType findValueByNumber(int number) {
-              return JobEventType.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public JobEventType findValueByNumber(int number) {
+            return JobEventType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.JobEvent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobEventType[] VALUES = values();
 
-    public static JobEventType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -504,33 +600,48 @@ private JobEventType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { + @java.lang.Override + public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobEvent.JobEventType result = com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); + com.google.cloud.talent.v4.JobEvent.JobEventType result = + com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); return result == null ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED : result; } public static final int JOBS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList jobs_; /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -543,13 +654,15 @@ private JobEventType(int value) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_; } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -562,12 +675,15 @@ private JobEventType(int value) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -580,6 +696,7 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -587,6 +704,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -599,15 +718,16 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -619,9 +739,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < jobs_.size(); i++) { @@ -636,9 +757,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.talent.v4.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; @@ -656,7 +778,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.JobEvent)) { return super.equals(obj); @@ -664,8 +786,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4.JobEvent other = (com.google.cloud.talent.v4.JobEvent) obj; if (type_ != other.type_) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -688,97 +809,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.JobEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobEvent parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.JobEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.JobEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -786,33 +913,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.JobEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobEvent)
       com.google.cloud.talent.v4.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.JobEvent.class, com.google.cloud.talent.v4.JobEvent.Builder.class);
+              com.google.cloud.talent.v4.JobEvent.class,
+              com.google.cloud.talent.v4.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.JobEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -824,9 +950,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.EventProto.internal_static_google_cloud_talent_v4_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.EventProto
+          .internal_static_google_cloud_talent_v4_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -861,38 +987,39 @@ public com.google.cloud.talent.v4.JobEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.JobEvent) {
-        return mergeFrom((com.google.cloud.talent.v4.JobEvent)other);
+        return mergeFrom((com.google.cloud.talent.v4.JobEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -940,23 +1067,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              type_ = input.readEnum();
+            case 8:
+              {
+                type_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureJobsIsMutable();
-              jobs_.add(s);
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 8
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureJobsIsMutable();
+                jobs_.add(s);
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -966,55 +1096,80 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobEvent.JobEventType result = com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.JobEvent.JobEventType result = + com.google.cloud.talent.v4.JobEvent.JobEventType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4.JobEvent.JobEventType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1022,34 +1177,43 @@ public Builder setType(com.google.cloud.talent.v4.JobEvent.JobEventType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList jobs_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1062,13 +1226,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_.getUnmodifiableView(); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1081,12 +1247,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1099,6 +1268,7 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1106,6 +1276,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1118,14 +1290,16 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1138,21 +1312,23 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs( - int index, java.lang.String value) { + public Builder setJobs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1165,20 +1341,22 @@ public Builder setJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs( - java.lang.String value) { + public Builder addJobs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1191,18 +1369,19 @@ public Builder addJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1215,6 +1394,7 @@ public Builder addAllJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobs() { @@ -1224,6 +1404,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -1236,23 +1418,23 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes( - com.google.protobuf.ByteString value) { + public Builder addJobsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1444,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobEvent) private static final com.google.cloud.talent.v4.JobEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobEvent(); } @@ -1276,27 +1458,27 @@ public static com.google.cloud.talent.v4.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,6 +1493,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java similarity index 77% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java index 8c454dd1f38a..196ebba3f127 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobEventOrBuilder.java @@ -1,32 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/event.proto package com.google.cloud.talent.v4; -public interface JobEventOrBuilder extends +public interface JobEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.talent.v4.JobEvent.JobEventType getType(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -39,11 +67,13 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -56,10 +86,13 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ int getJobsCount(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -72,11 +105,14 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4.JobEvent.JobEventType.IMPRESSION] event,
@@ -89,9 +125,9 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString - getJobsBytes(int index); + com.google.protobuf.ByteString getJobsBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java similarity index 72% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java index 439d740ffe50..9066fa3f907d 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobLevel.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * An enum that represents the required experience level required for the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4.JobLevel} */ -public enum JobLevel - implements com.google.protobuf.ProtocolMessageEnum { +public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value if the level isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum JobLevel */ JOB_LEVEL_UNSPECIFIED(0), /** + * + * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -30,6 +50,8 @@ public enum JobLevel
    */
   ENTRY_LEVEL(1),
   /**
+   *
+   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -39,6 +61,8 @@ public enum JobLevel
    */
   EXPERIENCED(2),
   /**
+   *
+   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -47,6 +71,8 @@ public enum JobLevel */ MANAGER(3), /** + * + * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -55,6 +81,8 @@ public enum JobLevel */ DIRECTOR(4), /** + * + * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -66,6 +94,8 @@ public enum JobLevel ; /** + * + * *
    * The default value if the level isn't specified.
    * 
@@ -74,6 +104,8 @@ public enum JobLevel */ public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -83,6 +115,8 @@ public enum JobLevel
    */
   public static final int ENTRY_LEVEL_VALUE = 1;
   /**
+   *
+   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -92,6 +126,8 @@ public enum JobLevel
    */
   public static final int EXPERIENCED_VALUE = 2;
   /**
+   *
+   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -100,6 +136,8 @@ public enum JobLevel */ public static final int MANAGER_VALUE = 3; /** + * + * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -108,6 +146,8 @@ public enum JobLevel */ public static final int DIRECTOR_VALUE = 4; /** + * + * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -116,7 +156,6 @@ public enum JobLevel */ public static final int EXECUTIVE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -141,52 +180,55 @@ public static JobLevel valueOf(int value) { */ public static JobLevel forNumber(int value) { switch (value) { - case 0: return JOB_LEVEL_UNSPECIFIED; - case 1: return ENTRY_LEVEL; - case 2: return EXPERIENCED; - case 3: return MANAGER; - case 4: return DIRECTOR; - case 5: return EXECUTIVE; - default: return null; + case 0: + return JOB_LEVEL_UNSPECIFIED; + case 1: + return ENTRY_LEVEL; + case 2: + return EXPERIENCED; + case 3: + return MANAGER; + case 4: + return DIRECTOR; + case 5: + return EXECUTIVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobLevel findValueByNumber(int number) { - return JobLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobLevel findValueByNumber(int number) { + return JobLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(4); } private static final JobLevel[] VALUES = values(); - public static JobLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -202,4 +244,3 @@ private JobLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobLevel) } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java similarity index 100% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobName.java diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java similarity index 90% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java index 881661c716ef..f590a4294dc7 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job.proto package com.google.cloud.talent.v4; -public interface JobOrBuilder extends +public interface JobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Job) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -20,10 +38,13 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -36,12 +57,14 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -49,11 +72,16 @@ public interface JobOrBuilder extends
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ java.lang.String getCompany(); /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -61,13 +89,17 @@ public interface JobOrBuilder extends
    * example, "projects/foo/tenants/bar/companies/baz".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ - com.google.protobuf.ByteString - getCompanyBytes(); + com.google.protobuf.ByteString getCompanyBytes(); /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -78,10 +110,13 @@ public interface JobOrBuilder extends
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ java.lang.String getRequisitionId(); /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -92,34 +127,41 @@ public interface JobOrBuilder extends
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ - com.google.protobuf.ByteString - getRequisitionIdBytes(); + com.google.protobuf.ByteString getRequisitionIdBytes(); /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -132,10 +174,13 @@ public interface JobOrBuilder extends
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -148,12 +193,14 @@ public interface JobOrBuilder extends
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -179,11 +226,13 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - java.util.List - getAddressesList(); + java.util.List getAddressesList(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -209,10 +258,13 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ int getAddressesCount(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -238,11 +290,14 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ java.lang.String getAddresses(int index); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -268,31 +323,39 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - com.google.protobuf.ByteString - getAddressesBytes(int index); + com.google.protobuf.ByteString getAddressesBytes(int index); /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ boolean hasApplicationInfo(); /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ com.google.cloud.talent.v4.Job.ApplicationInfo getApplicationInfo(); /** + * + * *
    * Job application information.
    * 
@@ -302,75 +365,97 @@ public interface JobOrBuilder extends com.google.cloud.talent.v4.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ java.util.List getJobBenefitsList(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ int getJobBenefitsCount(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ com.google.cloud.talent.v4.JobBenefit getJobBenefits(int index); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - java.util.List - getJobBenefitsValueList(); + java.util.List getJobBenefitsValueList(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ int getJobBenefitsValue(int index); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ boolean hasCompensationInfo(); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ com.google.cloud.talent.v4.CompensationInfo getCompensationInfo(); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -381,6 +466,8 @@ public interface JobOrBuilder extends
   com.google.cloud.talent.v4.CompensationInfoOrBuilder getCompensationInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -398,6 +485,8 @@ public interface JobOrBuilder extends
    */
   int getCustomAttributesCount();
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -413,15 +502,13 @@ public interface JobOrBuilder extends
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-  boolean containsCustomAttributes(
-      java.lang.String key);
-  /**
-   * Use {@link #getCustomAttributesMap()} instead.
-   */
+  boolean containsCustomAttributes(java.lang.String key);
+  /** Use {@link #getCustomAttributesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getCustomAttributes();
+  java.util.Map getCustomAttributes();
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -438,8 +525,10 @@ boolean containsCustomAttributes(
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
   java.util.Map
-  getCustomAttributesMap();
+      getCustomAttributesMap();
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -457,11 +546,13 @@ boolean containsCustomAttributes(
    */
 
   /* nullable */
-com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
+  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.cloud.talent.v4.CustomAttribute defaultValue);
+      com.google.cloud.talent.v4.CustomAttribute defaultValue);
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -477,60 +568,74 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrDefault(
    *
    * map<string, .google.cloud.talent.v4.CustomAttribute> custom_attributes = 10;
    */
-
-  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
-      java.lang.String key);
+  com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ java.util.List getDegreeTypesList(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ int getDegreeTypesCount(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ com.google.cloud.talent.v4.DegreeType getDegreeTypes(int index); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - java.util.List - getDegreeTypesValueList(); + java.util.List getDegreeTypesValueList(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ int getDegreeTypesValue(int index); /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -538,10 +643,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string department = 12; + * * @return The department. */ java.lang.String getDepartment(); /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -549,12 +657,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string department = 12; + * * @return The bytes for department. */ - com.google.protobuf.ByteString - getDepartmentBytes(); + com.google.protobuf.ByteString getDepartmentBytes(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -562,10 +672,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -573,10 +686,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -584,11 +700,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -596,11 +715,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List - getEmploymentTypesValueList(); + java.util.List getEmploymentTypesValueList(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4.EmploymentType.FULL_TIME] or
@@ -608,12 +729,15 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -621,10 +745,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string incentives = 14; + * * @return The incentives. */ java.lang.String getIncentives(); /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -632,12 +759,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string incentives = 14; + * * @return The bytes for incentives. */ - com.google.protobuf.ByteString - getIncentivesBytes(); + com.google.protobuf.ByteString getIncentivesBytes(); /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -651,10 +780,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string language_code = 15; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -668,31 +800,39 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ int getJobLevelValue(); /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4.JobLevel job_level = 16; + * * @return The jobLevel. */ com.google.cloud.talent.v4.JobLevel getJobLevel(); /** + * + * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -703,11 +843,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ int getPromotionValue(); /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -718,10 +861,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string qualifications = 18; + * * @return The qualifications. */ java.lang.String getQualifications(); /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -732,12 +878,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ - com.google.protobuf.ByteString - getQualificationsBytes(); + com.google.protobuf.ByteString getQualificationsBytes(); /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -748,10 +896,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string responsibilities = 19; + * * @return The responsibilities. */ java.lang.String getResponsibilities(); /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4.Job.description]
@@ -762,12 +913,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ - com.google.protobuf.ByteString - getResponsibilitiesBytes(); + com.google.protobuf.ByteString getResponsibilitiesBytes(); /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -779,10 +932,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ int getPostingRegionValue(); /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4.LocationFilter]
@@ -794,11 +950,14 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4.PostingRegion posting_region = 20; + * * @return The postingRegion. */ com.google.cloud.talent.v4.PostingRegion getPostingRegion(); /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -806,12 +965,16 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Deprecated int getVisibilityValue(); + @java.lang.Deprecated + int getVisibilityValue(); /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -819,33 +982,43 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. - * See google/cloud/talent/v4/job.proto;l=277 + * + * @deprecated google.cloud.talent.v4.Job.visibility is deprecated. See + * google/cloud/talent/v4/job.proto;l=277 * @return The visibility. */ - @java.lang.Deprecated com.google.cloud.talent.v4.Visibility getVisibility(); + @java.lang.Deprecated + com.google.cloud.talent.v4.Visibility getVisibility(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ boolean hasJobStartTime(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ com.google.protobuf.Timestamp getJobStartTime(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -856,26 +1029,34 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ boolean hasJobEndTime(); /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ com.google.protobuf.Timestamp getJobEndTime(); /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -886,6 +1067,8 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -893,10 +1076,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ boolean hasPostingPublishTime(); /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -904,10 +1090,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ com.google.protobuf.Timestamp getPostingPublishTime(); /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -919,6 +1108,8 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -958,10 +1149,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ boolean hasPostingExpireTime(); /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1001,10 +1195,13 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ com.google.protobuf.Timestamp getPostingExpireTime(); /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1048,125 +1245,180 @@ com.google.cloud.talent.v4.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ boolean hasPostingCreateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ com.google.protobuf.Timestamp getPostingCreateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ boolean hasPostingUpdateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ com.google.protobuf.Timestamp getPostingUpdateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ java.lang.String getCompanyDisplayName(); /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ - com.google.protobuf.ByteString - getCompanyDisplayNameBytes(); + com.google.protobuf.ByteString getCompanyDisplayNameBytes(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ com.google.cloud.talent.v4.Job.DerivedInfo getDerivedInfo(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.talent.v4.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ boolean hasProcessingOptions(); /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ com.google.cloud.talent.v4.Job.ProcessingOptions getProcessingOptions(); /** + * + * *
    * Options for job processing.
    * 
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java new file mode 100644 index 000000000000..90ba3423c238 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobProto.java @@ -0,0 +1,208 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/job.proto + +package com.google.cloud.talent.v4; + +public final class JobProto { + private JobProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_ApplicationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_ApplicationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_DerivedInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_DerivedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_ProcessingOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_ProcessingOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Job_CustomAttributesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n google/cloud/talent/v4/job.proto\022\026goog" + + "le.cloud.talent.v4\032\037google/api/field_beh" + + "avior.proto\032\031google/api/resource.proto\032#" + + "google/cloud/talent/v4/common.proto\032\037goo" + + "gle/protobuf/timestamp.proto\"\365\016\n\003Job\022\014\n\004" + + "name\030\001 \001(\t\0224\n\007company\030\002 \001(\tB#\340A\002\372A\035\n\033job" + + "s.googleapis.com/Company\022\033\n\016requisition_" + + "id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 \001(\tB\003\340A\002\022\030\n\013des" + + "cription\030\005 \001(\tB\003\340A\002\022\021\n\taddresses\030\006 \003(\t\022E" + + "\n\020application_info\030\007 \001(\0132+.google.cloud." + + "talent.v4.Job.ApplicationInfo\0228\n\014job_ben" + + "efits\030\010 \003(\0162\".google.cloud.talent.v4.Job" + + "Benefit\022C\n\021compensation_info\030\t \001(\0132(.goo" + + "gle.cloud.talent.v4.CompensationInfo\022L\n\021" + + "custom_attributes\030\n \003(\01321.google.cloud.t" + + "alent.v4.Job.CustomAttributesEntry\0228\n\014de" + + "gree_types\030\013 \003(\0162\".google.cloud.talent.v" + + "4.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022@\n\020empl" + + "oyment_types\030\r \003(\0162&.google.cloud.talent" + + ".v4.EmploymentType\022\022\n\nincentives\030\016 \001(\t\022\025" + + "\n\rlanguage_code\030\017 \001(\t\0223\n\tjob_level\030\020 \001(\016" + + "2 .google.cloud.talent.v4.JobLevel\022\027\n\017pr" + + "omotion_value\030\021 \001(\005\022\026\n\016qualifications\030\022 " + + "\001(\t\022\030\n\020responsibilities\030\023 \001(\t\022=\n\016posting" + + "_region\030\024 \001(\0162%.google.cloud.talent.v4.P" + + "ostingRegion\022:\n\nvisibility\030\025 \001(\0162\".googl" + + "e.cloud.talent.v4.VisibilityB\002\030\001\0222\n\016job_" + + "start_time\030\026 \001(\0132\032.google.protobuf.Times" + + "tamp\0220\n\014job_end_time\030\027 \001(\0132\032.google.prot" + + "obuf.Timestamp\0228\n\024posting_publish_time\030\030" + + " \001(\0132\032.google.protobuf.Timestamp\0227\n\023post" + + "ing_expire_time\030\031 \001(\0132\032.google.protobuf." + + "Timestamp\022<\n\023posting_create_time\030\032 \001(\0132\032" + + ".google.protobuf.TimestampB\003\340A\003\022<\n\023posti" + + "ng_update_time\030\033 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022!\n\024company_display_name\030\034 " + + "\001(\tB\003\340A\003\022B\n\014derived_info\030\035 \001(\0132\'.google." + + "cloud.talent.v4.Job.DerivedInfoB\003\340A\003\022I\n\022" + + "processing_options\030\036 \001(\0132-.google.cloud." + + "talent.v4.Job.ProcessingOptions\032D\n\017Appli" + + "cationInfo\022\016\n\006emails\030\001 \003(\t\022\023\n\013instructio" + + "n\030\002 \001(\t\022\014\n\004uris\030\003 \003(\t\032\177\n\013DerivedInfo\0223\n\t" + + "locations\030\001 \003(\0132 .google.cloud.talent.v4" + + ".Location\022;\n\016job_categories\030\003 \003(\0162#.goog" + + "le.cloud.talent.v4.JobCategory\032\203\001\n\021Proce" + + "ssingOptions\022)\n!disable_street_address_r" + + "esolution\030\001 \001(\010\022C\n\021html_sanitization\030\002 \001" + + "(\0162(.google.cloud.talent.v4.HtmlSanitiza" + + "tion\032`\n\025CustomAttributesEntry\022\013\n\003key\030\001 \001" + + "(\t\0226\n\005value\030\002 \001(\0132\'.google.cloud.talent." + + "v4.CustomAttribute:\0028\001:L\352AI\n\027jobs.google" + + "apis.com/Job\022.projects/{project}/tenants" + + "/{tenant}/jobs/{job}Bl\n\032com.google.cloud" + + ".talent.v4B\010JobProtoP\001Z * The query required to perform a search query. *
* * Protobuf type {@code google.cloud.talent.v4.JobQuery} */ -public final class JobQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobQuery) JobQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobQuery.newBuilder() to construct. private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JobQuery() { query_ = ""; queryLanguageCode_ = ""; @@ -34,32 +52,35 @@ private JobQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JobQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobQuery.class, com.google.cloud.talent.v4.JobQuery.Builder.class); + com.google.cloud.talent.v4.JobQuery.class, + com.google.cloud.talent.v4.JobQuery.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -67,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string query = 1; + * * @return The query. */ @java.lang.Override @@ -75,14 +97,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -90,16 +113,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 1; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -110,6 +132,8 @@ public java.lang.String getQuery() { public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object queryLanguageCode_; /** + * + * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -121,6 +145,7 @@ public java.lang.String getQuery() {
    * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ @java.lang.Override @@ -129,14 +154,15 @@ public java.lang.String getQueryLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; } } /** + * + * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -148,16 +174,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -168,6 +193,8 @@ public java.lang.String getQueryLanguageCode() { public static final int COMPANIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companies_; /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -181,13 +208,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList - getCompaniesList() { + public com.google.protobuf.ProtocolStringList getCompaniesList() { return companies_; } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -201,12 +230,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * repeated string companies = 2; + * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -220,6 +252,7 @@ public int getCompaniesCount() {
    * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -227,6 +260,8 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -240,17 +275,19 @@ public java.lang.String getCompanies(int index) {
    * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString - getCompaniesBytes(int index) { + public com.google.protobuf.ByteString getCompaniesBytes(int index) { return companies_.getByteString(index); } public static final int LOCATION_FILTERS_FIELD_NUMBER = 3; private java.util.List locationFilters_; /** + * + * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -270,6 +307,8 @@ public java.util.List getLocationFilt
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -285,11 +324,13 @@ public java.util.List getLocationFilt
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -309,6 +350,8 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -328,6 +371,8 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -343,24 +388,27 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index) {
     return locationFilters_.get(index);
   }
 
   public static final int JOB_CATEGORIES_FIELD_NUMBER = 4;
   private java.util.List jobCategories_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.cloud.talent.v4.JobCategory> jobCategories_converter_ =
+          java.lang.Integer, com.google.cloud.talent.v4.JobCategory>
+      jobCategories_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4.JobCategory>() {
             public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4.JobCategory result = com.google.cloud.talent.v4.JobCategory.valueOf(from);
+              com.google.cloud.talent.v4.JobCategory result =
+                  com.google.cloud.talent.v4.JobCategory.valueOf(from);
               return result == null ? com.google.cloud.talent.v4.JobCategory.UNRECOGNIZED : result;
             }
           };
   /**
+   *
+   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -370,14 +418,18 @@ public com.google.cloud.talent.v4.JobCategory convert(java.lang.Integer from) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -387,6 +439,7 @@ public java.util.List getJobCategoriesLi
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ @java.lang.Override @@ -394,6 +447,8 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -403,6 +458,7 @@ public int getJobCategoriesCount() {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -411,6 +467,8 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -420,14 +478,16 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return jobCategories_; } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -437,6 +497,7 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -444,11 +505,14 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } + private int jobCategoriesMemoizedSerializedSize; public static final int COMMUTE_FILTER_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.CommuteFilter commuteFilter_; /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -458,6 +522,7 @@ public int getJobCategoriesValue(int index) {
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ @java.lang.Override @@ -465,6 +530,8 @@ public boolean hasCommuteFilter() { return commuteFilter_ != null; } /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -474,13 +541,18 @@ public boolean hasCommuteFilter() {
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ @java.lang.Override public com.google.cloud.talent.v4.CommuteFilter getCommuteFilter() { - return commuteFilter_ == null ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_; + return commuteFilter_ == null + ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() + : commuteFilter_; } /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -499,6 +571,8 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
   public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList companyDisplayNames_;
   /**
+   *
+   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -522,13 +596,15 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
    * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList - getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { return companyDisplayNames_; } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -552,12 +628,15 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
    * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -581,6 +660,7 @@ public int getCompanyDisplayNamesCount() {
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -588,6 +668,8 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -611,17 +693,19 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } public static final int COMPENSATION_FILTER_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.CompensationFilter compensationFilter_; /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -631,6 +715,7 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ @java.lang.Override @@ -638,6 +723,8 @@ public boolean hasCompensationFilter() { return compensationFilter_ != null; } /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -647,13 +734,18 @@ public boolean hasCompensationFilter() {
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ @java.lang.Override public com.google.cloud.talent.v4.CompensationFilter getCompensationFilter() { - return compensationFilter_ == null ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_; + return compensationFilter_ == null + ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() + : compensationFilter_; } /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -672,6 +764,8 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
   public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER = 8;
   private volatile java.lang.Object customAttributeFilter_;
   /**
+   *
+   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -693,6 +787,7 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
    * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ @java.lang.Override @@ -701,14 +796,15 @@ public java.lang.String getCustomAttributeFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; } } /** + * + * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -730,16 +826,15 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -750,6 +845,8 @@ public java.lang.String getCustomAttributeFilter() { public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER = 9; private boolean disableSpellCheck_; /** + * + * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -758,6 +855,7 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ @java.lang.Override @@ -768,16 +866,22 @@ public boolean getDisableSpellCheck() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 10; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType> + employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>() { public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.EmploymentType result = com.google.cloud.talent.v4.EmploymentType.valueOf(from); - return result == null ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.EmploymentType result = + com.google.cloud.talent.v4.EmploymentType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4.EmploymentType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -788,14 +892,18 @@ public com.google.cloud.talent.v4.EmploymentType convert(java.lang.Integer from)
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -806,6 +914,7 @@ public java.util.List getEmploymentTy
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ @java.lang.Override @@ -813,6 +922,8 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -823,6 +934,7 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -831,6 +943,8 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -841,14 +955,16 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return employmentTypes_; } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -859,6 +975,7 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -866,11 +983,14 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } + private int employmentTypesMemoizedSerializedSize; public static final int LANGUAGE_CODES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList languageCodes_; /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -883,13 +1003,15 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_; } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -902,12 +1024,15 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -920,6 +1045,7 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -927,6 +1053,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -939,23 +1067,26 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER = 12; private com.google.cloud.talent.v4.TimestampRange publishTimeRange_; /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ @java.lang.Override @@ -963,19 +1094,26 @@ public boolean hasPublishTimeRange() { return publishTimeRange_ != null; } /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ @java.lang.Override public com.google.cloud.talent.v4.TimestampRange getPublishTimeRange() { - return publishTimeRange_ == null ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_; + return publishTimeRange_ == null + ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() + : publishTimeRange_; } /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -991,37 +1129,45 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
   public static final int EXCLUDED_JOBS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList excludedJobs_;
   /**
+   *
+   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList - getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList getExcludedJobsList() { return excludedJobs_; } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -1029,21 +1175,24 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString - getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1055,8 +1204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); @@ -1129,24 +1277,23 @@ public int getSerializedSize() { size += 1 * getCompaniesList().size(); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobCategoriesMemoizedSerializedSize = dataSize; } if (commuteFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCommuteFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteFilter()); } { int dataSize = 0; @@ -1157,27 +1304,26 @@ public int getSerializedSize() { size += 1 * getCompanyDisplayNamesList().size(); } if (compensationFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCompensationFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompensationFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customAttributeFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customAttributeFilter_); } if (disableSpellCheck_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, disableSpellCheck_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableSpellCheck_); } { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + employmentTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -1188,8 +1334,7 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (publishTimeRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getPublishTimeRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getPublishTimeRange()); } { int dataSize = 0; @@ -1210,48 +1355,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.JobQuery)) { return super.equals(obj); } com.google.cloud.talent.v4.JobQuery other = (com.google.cloud.talent.v4.JobQuery) obj; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getQueryLanguageCode() - .equals(other.getQueryLanguageCode())) return false; - if (!getCompaniesList() - .equals(other.getCompaniesList())) return false; - if (!getLocationFiltersList() - .equals(other.getLocationFiltersList())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getQueryLanguageCode().equals(other.getQueryLanguageCode())) return false; + if (!getCompaniesList().equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - if (!getCommuteFilter() - .equals(other.getCommuteFilter())) return false; + if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; } - if (!getCompanyDisplayNamesList() - .equals(other.getCompanyDisplayNamesList())) return false; + if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - if (!getCompensationFilter() - .equals(other.getCompensationFilter())) return false; + if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; } - if (!getCustomAttributeFilter() - .equals(other.getCustomAttributeFilter())) return false; - if (getDisableSpellCheck() - != other.getDisableSpellCheck()) return false; + if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getLanguageCodesList() - .equals(other.getLanguageCodesList())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - if (!getPublishTimeRange() - .equals(other.getPublishTimeRange())) return false; + if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; } - if (!getExcludedJobsList() - .equals(other.getExcludedJobsList())) return false; + if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1294,8 +1427,7 @@ public int hashCode() { hash = (37 * hash) + CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER; hash = (53 * hash) + getCustomAttributeFilter().hashCode(); hash = (37 * hash) + DISABLE_SPELL_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableSpellCheck()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableSpellCheck()); if (getEmploymentTypesCount() > 0) { hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER; hash = (53 * hash) + employmentTypes_.hashCode(); @@ -1317,130 +1449,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.JobQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.JobQuery parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.JobQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.JobQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.JobQuery parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.JobQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.JobQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The query required to perform a search query.
    * 
* * Protobuf type {@code google.cloud.talent.v4.JobQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobQuery) com.google.cloud.talent.v4.JobQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobQuery.class, com.google.cloud.talent.v4.JobQuery.Builder.class); + com.google.cloud.talent.v4.JobQuery.class, + com.google.cloud.talent.v4.JobQuery.Builder.class); } // Construct using com.google.cloud.talent.v4.JobQuery.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1493,9 +1630,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_JobQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_JobQuery_descriptor; } @java.lang.Override @@ -1582,38 +1719,39 @@ public com.google.cloud.talent.v4.JobQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.JobQuery) { - return mergeFrom((com.google.cloud.talent.v4.JobQuery)other); + return mergeFrom((com.google.cloud.talent.v4.JobQuery) other); } else { super.mergeFrom(other); return this; @@ -1658,9 +1796,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.JobQuery other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000002); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationFiltersFieldBuilder() : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationFiltersFieldBuilder() + : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -1758,124 +1897,136 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - query_ = input.readStringRequireUtf8(); + case 10: + { + query_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompaniesIsMutable(); - companies_.add(s); - break; - } // case 18 - case 26: { - com.google.cloud.talent.v4.LocationFilter m = - input.readMessage( - com.google.cloud.talent.v4.LocationFilter.parser(), - extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - break; - } // case 32 - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompaniesIsMutable(); + companies_.add(s); + break; + } // case 18 + case 26: + { + com.google.cloud.talent.v4.LocationFilter m = + input.readMessage( + com.google.cloud.talent.v4.LocationFilter.parser(), extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: { - input.readMessage( - getCommuteFilterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 32 + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: + { + input.readMessage(getCommuteFilterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompanyDisplayNamesIsMutable(); - companyDisplayNames_.add(s); - break; - } // case 50 - case 58: { - input.readMessage( - getCompensationFilterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompanyDisplayNamesIsMutable(); + companyDisplayNames_.add(s); + break; + } // case 50 + case 58: + { + input.readMessage( + getCompensationFilterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 66: { - customAttributeFilter_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: + { + customAttributeFilter_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 72: { - disableSpellCheck_ = input.readBool(); + break; + } // case 66 + case 72: + { + disableSpellCheck_ = input.readBool(); - break; - } // case 72 - case 80: { - int tmpRaw = input.readEnum(); - ensureEmploymentTypesIsMutable(); - employmentTypes_.add(tmpRaw); - break; - } // case 80 - case 82: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 72 + case 80: + { int tmpRaw = input.readEnum(); ensureEmploymentTypesIsMutable(); employmentTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 82 - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 90 - case 98: { - input.readMessage( - getPublishTimeRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 80 + case 82: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEmploymentTypesIsMutable(); + employmentTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 82 + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 90 + case 98: + { + input.readMessage( + getPublishTimeRangeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludedJobsIsMutable(); - excludedJobs_.add(s); - break; - } // case 106 - case 114: { - queryLanguageCode_ = input.readStringRequireUtf8(); + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedJobsIsMutable(); + excludedJobs_.add(s); + break; + } // case 106 + case 114: + { + queryLanguageCode_ = input.readStringRequireUtf8(); - break; - } // case 114 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 114 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1885,10 +2036,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object query_ = ""; /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1896,13 +2050,13 @@ public Builder mergeFrom(
      * 
* * string query = 1; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1911,6 +2065,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1918,15 +2074,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1934,6 +2089,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1941,20 +2098,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1962,15 +2121,18 @@ public Builder setQuery(
      * 
* * string query = 1; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1978,16 +2140,16 @@ public Builder clearQuery() {
      * 
* * string query = 1; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -1995,6 +2157,8 @@ public Builder setQueryBytes( private java.lang.Object queryLanguageCode_ = ""; /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2006,13 +2170,13 @@ public Builder setQueryBytes(
      * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ public java.lang.String getQueryLanguageCode() { java.lang.Object ref = queryLanguageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; @@ -2021,6 +2185,8 @@ public java.lang.String getQueryLanguageCode() { } } /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2032,15 +2198,14 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ - public com.google.protobuf.ByteString - getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -2048,6 +2213,8 @@ public java.lang.String getQueryLanguageCode() { } } /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2059,20 +2226,22 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @param value The queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCode( - java.lang.String value) { + public Builder setQueryLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryLanguageCode_ = value; onChanged(); return this; } /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2084,15 +2253,18 @@ public Builder setQueryLanguageCode(
      * 
* * string query_language_code = 14; + * * @return This builder for chaining. */ public Builder clearQueryLanguageCode() { - + queryLanguageCode_ = getDefaultInstance().getQueryLanguageCode(); onChanged(); return this; } /** + * + * *
      * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2104,29 +2276,33 @@ public Builder clearQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @param value The bytes for queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryLanguageCode_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList companies_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList companies_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2140,13 +2316,15 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList - getCompaniesList() { + public com.google.protobuf.ProtocolStringList getCompaniesList() { return companies_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2160,13 +2338,16 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; + * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** - *
+     *
+     *
+     * 
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
      * companies.
@@ -2179,6 +2360,7 @@ public int getCompaniesCount() {
      * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -2186,6 +2368,8 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2199,14 +2383,16 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString - getCompaniesBytes(int index) { + public com.google.protobuf.ByteString getCompaniesBytes(int index) { return companies_.getByteString(index); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2220,21 +2406,23 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; + * * @param index The index to set the value at. * @param value The companies to set. * @return This builder for chaining. */ - public Builder setCompanies( - int index, java.lang.String value) { + public Builder setCompanies(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2248,20 +2436,22 @@ public Builder setCompanies(
      * 
* * repeated string companies = 2; + * * @param value The companies to add. * @return This builder for chaining. */ - public Builder addCompanies( - java.lang.String value) { + public Builder addCompanies(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2275,18 +2465,19 @@ public Builder addCompanies(
      * 
* * repeated string companies = 2; + * * @param values The companies to add. * @return This builder for chaining. */ - public Builder addAllCompanies( - java.lang.Iterable values) { + public Builder addAllCompanies(java.lang.Iterable values) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2300,6 +2491,7 @@ public Builder addAllCompanies(
      * 
* * repeated string companies = 2; + * * @return This builder for chaining. */ public Builder clearCompanies() { @@ -2309,6 +2501,8 @@ public Builder clearCompanies() { return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2322,15 +2516,15 @@ public Builder clearCompanies() {
      * 
* * repeated string companies = 2; + * * @param value The bytes of the companies to add. * @return This builder for chaining. */ - public Builder addCompaniesBytes( - com.google.protobuf.ByteString value) { + public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompaniesIsMutable(); companies_.add(value); onChanged(); @@ -2338,18 +2532,25 @@ public Builder addCompaniesBytes( } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - locationFilters_ = new java.util.ArrayList(locationFilters_); + locationFilters_ = + new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder> locationFiltersBuilder_; + com.google.cloud.talent.v4.LocationFilter, + com.google.cloud.talent.v4.LocationFilter.Builder, + com.google.cloud.talent.v4.LocationFilterOrBuilder> + locationFiltersBuilder_; /** + * + * *
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2372,6 +2573,8 @@ public java.util.List getLocationFilt
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2394,6 +2597,8 @@ public int getLocationFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2416,6 +2621,8 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2430,8 +2637,7 @@ public com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public Builder setLocationFilters(
-        int index, com.google.cloud.talent.v4.LocationFilter value) {
+    public Builder setLocationFilters(int index, com.google.cloud.talent.v4.LocationFilter value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2445,6 +2651,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2471,6 +2679,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2499,6 +2709,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.LocationFilter valu
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2513,8 +2725,7 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.LocationFilter valu
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public Builder addLocationFilters(
-        int index, com.google.cloud.talent.v4.LocationFilter value) {
+    public Builder addLocationFilters(int index, com.google.cloud.talent.v4.LocationFilter value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2528,6 +2739,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2554,6 +2767,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2580,6 +2795,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2598,8 +2815,7 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -2607,6 +2823,8 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2632,6 +2850,8 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2657,6 +2877,8 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2671,11 +2893,12 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuilder(int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2693,11 +2916,14 @@ public com.google.cloud.talent.v4.LocationFilter.Builder getLocationFiltersBuild
     public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);  } else {
+        return locationFilters_.get(index);
+      } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2712,8 +2938,8 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public java.util.List 
-         getLocationFiltersOrBuilderList() {
+    public java.util.List
+        getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2721,6 +2947,8 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2736,10 +2964,12 @@ public com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBu
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
     public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2754,12 +2984,13 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder(
-        int index) {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
+    public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuilder(int index) {
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.LocationFilter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -2774,16 +3005,22 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
      *
      * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
      */
-    public java.util.List 
-         getLocationFiltersBuilderList() {
+    public java.util.List
+        getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder> 
+            com.google.cloud.talent.v4.LocationFilter,
+            com.google.cloud.talent.v4.LocationFilter.Builder,
+            com.google.cloud.talent.v4.LocationFilterOrBuilder>
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.LocationFilter, com.google.cloud.talent.v4.LocationFilter.Builder, com.google.cloud.talent.v4.LocationFilterOrBuilder>(
+        locationFiltersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.LocationFilter,
+                com.google.cloud.talent.v4.LocationFilter.Builder,
+                com.google.cloud.talent.v4.LocationFilterOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2793,8 +3030,8 @@ public com.google.cloud.talent.v4.LocationFilter.Builder addLocationFiltersBuild
       return locationFiltersBuilder_;
     }
 
-    private java.util.List jobCategories_ =
-      java.util.Collections.emptyList();
+    private java.util.List jobCategories_ = java.util.Collections.emptyList();
+
     private void ensureJobCategoriesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2802,6 +3039,8 @@ private void ensureJobCategoriesIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2811,13 +3050,17 @@ private void ensureJobCategoriesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2827,12 +3070,15 @@ public java.util.List getJobCategoriesLi
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2842,6 +3088,7 @@ public int getJobCategoriesCount() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2849,6 +3096,8 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2858,12 +3107,12 @@ public com.google.cloud.talent.v4.JobCategory getJobCategories(int index) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories( - int index, com.google.cloud.talent.v4.JobCategory value) { + public Builder setJobCategories(int index, com.google.cloud.talent.v4.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2873,6 +3122,8 @@ public Builder setJobCategories( return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2882,6 +3133,7 @@ public Builder setJobCategories(
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2895,6 +3147,8 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2904,6 +3158,7 @@ public Builder addJobCategories(com.google.cloud.talent.v4.JobCategory value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2917,6 +3172,8 @@ public Builder addAllJobCategories( return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2926,6 +3183,7 @@ public Builder addAllJobCategories(
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2935,6 +3193,8 @@ public Builder clearJobCategories() { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2944,13 +3204,15 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2960,6 +3222,7 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2967,6 +3230,8 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2976,18 +3241,20 @@ public int getJobCategoriesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue( - int index, int value) { + public Builder setJobCategoriesValue(int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -2997,6 +3264,7 @@ public Builder setJobCategoriesValue(
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -3007,6 +3275,8 @@ public Builder addJobCategoriesValue(int value) { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -3016,11 +3286,11 @@ public Builder addJobCategoriesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue( - java.lang.Iterable values) { + public Builder addAllJobCategoriesValue(java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -3031,8 +3301,13 @@ public Builder addAllJobCategoriesValue( private com.google.cloud.talent.v4.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder> commuteFilterBuilder_; + com.google.cloud.talent.v4.CommuteFilter, + com.google.cloud.talent.v4.CommuteFilter.Builder, + com.google.cloud.talent.v4.CommuteFilterOrBuilder> + commuteFilterBuilder_; /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3042,12 +3317,15 @@ public Builder addAllJobCategoriesValue(
      * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ public boolean hasCommuteFilter() { return commuteFilterBuilder_ != null || commuteFilter_ != null; } /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3057,16 +3335,21 @@ public boolean hasCommuteFilter() {
      * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ public com.google.cloud.talent.v4.CommuteFilter getCommuteFilter() { if (commuteFilterBuilder_ == null) { - return commuteFilter_ == null ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_; + return commuteFilter_ == null + ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() + : commuteFilter_; } else { return commuteFilterBuilder_.getMessage(); } } /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3091,6 +3374,8 @@ public Builder setCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3113,6 +3398,8 @@ public Builder setCommuteFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3127,7 +3414,9 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value
       if (commuteFilterBuilder_ == null) {
         if (commuteFilter_ != null) {
           commuteFilter_ =
-            com.google.cloud.talent.v4.CommuteFilter.newBuilder(commuteFilter_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.CommuteFilter.newBuilder(commuteFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           commuteFilter_ = value;
         }
@@ -3139,6 +3428,8 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4.CommuteFilter value
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3161,6 +3452,8 @@ public Builder clearCommuteFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3172,11 +3465,13 @@ public Builder clearCommuteFilter() {
      * .google.cloud.talent.v4.CommuteFilter commute_filter = 5;
      */
     public com.google.cloud.talent.v4.CommuteFilter.Builder getCommuteFilterBuilder() {
-      
+
       onChanged();
       return getCommuteFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3191,11 +3486,14 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
       if (commuteFilterBuilder_ != null) {
         return commuteFilterBuilder_.getMessageOrBuilder();
       } else {
-        return commuteFilter_ == null ?
-            com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance() : commuteFilter_;
+        return commuteFilter_ == null
+            ? com.google.cloud.talent.v4.CommuteFilter.getDefaultInstance()
+            : commuteFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3207,27 +3505,34 @@ public com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuild
      * .google.cloud.talent.v4.CommuteFilter commute_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder> 
+            com.google.cloud.talent.v4.CommuteFilter,
+            com.google.cloud.talent.v4.CommuteFilter.Builder,
+            com.google.cloud.talent.v4.CommuteFilterOrBuilder>
         getCommuteFilterFieldBuilder() {
       if (commuteFilterBuilder_ == null) {
-        commuteFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CommuteFilter, com.google.cloud.talent.v4.CommuteFilter.Builder, com.google.cloud.talent.v4.CommuteFilterOrBuilder>(
-                getCommuteFilter(),
-                getParentForChildren(),
-                isClean());
+        commuteFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.CommuteFilter,
+                com.google.cloud.talent.v4.CommuteFilter.Builder,
+                com.google.cloud.talent.v4.CommuteFilterOrBuilder>(
+                getCommuteFilter(), getParentForChildren(), isClean());
         commuteFilter_ = null;
       }
       return commuteFilterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList companyDisplayNames_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureCompanyDisplayNamesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3251,13 +3556,15 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList - getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { return companyDisplayNames_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3281,12 +3588,15 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3310,6 +3620,7 @@ public int getCompanyDisplayNamesCount() {
      * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -3317,6 +3628,8 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3340,14 +3653,16 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3371,21 +3686,23 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; + * * @param index The index to set the value at. * @param value The companyDisplayNames to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNames( - int index, java.lang.String value) { + public Builder setCompanyDisplayNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3409,20 +3726,22 @@ public Builder setCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @param value The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNames( - java.lang.String value) { + public Builder addCompanyDisplayNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3446,18 +3765,19 @@ public Builder addCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @param values The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addAllCompanyDisplayNames( - java.lang.Iterable values) { + public Builder addAllCompanyDisplayNames(java.lang.Iterable values) { ensureCompanyDisplayNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companyDisplayNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companyDisplayNames_); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3481,6 +3801,7 @@ public Builder addAllCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @return This builder for chaining. */ public Builder clearCompanyDisplayNames() { @@ -3490,6 +3811,8 @@ public Builder clearCompanyDisplayNames() { return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3513,15 +3836,15 @@ public Builder clearCompanyDisplayNames() {
      * 
* * repeated string company_display_names = 6; + * * @param value The bytes of the companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); @@ -3530,8 +3853,13 @@ public Builder addCompanyDisplayNamesBytes( private com.google.cloud.talent.v4.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder> compensationFilterBuilder_; + com.google.cloud.talent.v4.CompensationFilter, + com.google.cloud.talent.v4.CompensationFilter.Builder, + com.google.cloud.talent.v4.CompensationFilterOrBuilder> + compensationFilterBuilder_; /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3541,12 +3869,15 @@ public Builder addCompanyDisplayNamesBytes(
      * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ public boolean hasCompensationFilter() { return compensationFilterBuilder_ != null || compensationFilter_ != null; } /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3556,16 +3887,21 @@ public boolean hasCompensationFilter() {
      * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ public com.google.cloud.talent.v4.CompensationFilter getCompensationFilter() { if (compensationFilterBuilder_ == null) { - return compensationFilter_ == null ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_; + return compensationFilter_ == null + ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() + : compensationFilter_; } else { return compensationFilterBuilder_.getMessage(); } } /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3590,6 +3926,8 @@ public Builder setCompensationFilter(com.google.cloud.talent.v4.CompensationFilt
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3612,6 +3950,8 @@ public Builder setCompensationFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3626,7 +3966,9 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4.CompensationFi
       if (compensationFilterBuilder_ == null) {
         if (compensationFilter_ != null) {
           compensationFilter_ =
-            com.google.cloud.talent.v4.CompensationFilter.newBuilder(compensationFilter_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.CompensationFilter.newBuilder(compensationFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           compensationFilter_ = value;
         }
@@ -3638,6 +3980,8 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4.CompensationFi
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3660,6 +4004,8 @@ public Builder clearCompensationFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3671,11 +4017,13 @@ public Builder clearCompensationFilter() {
      * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7;
      */
     public com.google.cloud.talent.v4.CompensationFilter.Builder getCompensationFilterBuilder() {
-      
+
       onChanged();
       return getCompensationFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3690,11 +4038,14 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
       if (compensationFilterBuilder_ != null) {
         return compensationFilterBuilder_.getMessageOrBuilder();
       } else {
-        return compensationFilter_ == null ?
-            com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance() : compensationFilter_;
+        return compensationFilter_ == null
+            ? com.google.cloud.talent.v4.CompensationFilter.getDefaultInstance()
+            : compensationFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -3706,14 +4057,17 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
      * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder> 
+            com.google.cloud.talent.v4.CompensationFilter,
+            com.google.cloud.talent.v4.CompensationFilter.Builder,
+            com.google.cloud.talent.v4.CompensationFilterOrBuilder>
         getCompensationFilterFieldBuilder() {
       if (compensationFilterBuilder_ == null) {
-        compensationFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.CompensationFilter, com.google.cloud.talent.v4.CompensationFilter.Builder, com.google.cloud.talent.v4.CompensationFilterOrBuilder>(
-                getCompensationFilter(),
-                getParentForChildren(),
-                isClean());
+        compensationFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.CompensationFilter,
+                com.google.cloud.talent.v4.CompensationFilter.Builder,
+                com.google.cloud.talent.v4.CompensationFilterOrBuilder>(
+                getCompensationFilter(), getParentForChildren(), isClean());
         compensationFilter_ = null;
       }
       return compensationFilterBuilder_;
@@ -3721,6 +4075,8 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
 
     private java.lang.Object customAttributeFilter_ = "";
     /**
+     *
+     *
      * 
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3742,13 +4098,13 @@ public com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFil
      * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ public java.lang.String getCustomAttributeFilter() { java.lang.Object ref = customAttributeFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; @@ -3757,6 +4113,8 @@ public java.lang.String getCustomAttributeFilter() { } } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3778,15 +4136,14 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ - public com.google.protobuf.ByteString - getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -3794,6 +4151,8 @@ public java.lang.String getCustomAttributeFilter() { } } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3815,20 +4174,22 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @param value The customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilter( - java.lang.String value) { + public Builder setCustomAttributeFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customAttributeFilter_ = value; onChanged(); return this; } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3850,15 +4211,18 @@ public Builder setCustomAttributeFilter(
      * 
* * string custom_attribute_filter = 8; + * * @return This builder for chaining. */ public Builder clearCustomAttributeFilter() { - + customAttributeFilter_ = getDefaultInstance().getCustomAttributeFilter(); onChanged(); return this; } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -3880,23 +4244,25 @@ public Builder clearCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @param value The bytes for customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customAttributeFilter_ = value; onChanged(); return this; } - private boolean disableSpellCheck_ ; + private boolean disableSpellCheck_; /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3905,6 +4271,7 @@ public Builder setCustomAttributeFilterBytes(
      * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ @java.lang.Override @@ -3912,6 +4279,8 @@ public boolean getDisableSpellCheck() { return disableSpellCheck_; } /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3920,16 +4289,19 @@ public boolean getDisableSpellCheck() {
      * 
* * bool disable_spell_check = 9; + * * @param value The disableSpellCheck to set. * @return This builder for chaining. */ public Builder setDisableSpellCheck(boolean value) { - + disableSpellCheck_ = value; onChanged(); return this; } /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3938,17 +4310,18 @@ public Builder setDisableSpellCheck(boolean value) {
      * 
* * bool disable_spell_check = 9; + * * @return This builder for chaining. */ public Builder clearDisableSpellCheck() { - + disableSpellCheck_ = false; onChanged(); return this; } - private java.util.List employmentTypes_ = - java.util.Collections.emptyList(); + private java.util.List employmentTypes_ = java.util.Collections.emptyList(); + private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -3956,6 +4329,8 @@ private void ensureEmploymentTypesIsMutable() { } } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -3966,13 +4341,17 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -3983,12 +4362,15 @@ public java.util.List getEmploymentTy
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -3999,6 +4381,7 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4006,6 +4389,8 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) { return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4016,12 +4401,12 @@ public com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypes( - int index, com.google.cloud.talent.v4.EmploymentType value) { + public Builder setEmploymentTypes(int index, com.google.cloud.talent.v4.EmploymentType value) { if (value == null) { throw new NullPointerException(); } @@ -4031,6 +4416,8 @@ public Builder setEmploymentTypes( return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4041,6 +4428,7 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -4054,6 +4442,8 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4064,6 +4454,7 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4.EmploymentType valu
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -4077,6 +4468,8 @@ public Builder addAllEmploymentTypes( return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4087,6 +4480,7 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -4096,6 +4490,8 @@ public Builder clearEmploymentTypes() { return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4106,13 +4502,15 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4123,6 +4521,7 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4130,6 +4529,8 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4140,18 +4541,20 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue( - int index, int value) { + public Builder setEmploymentTypesValue(int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4162,6 +4565,7 @@ public Builder setEmploymentTypesValue(
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -4172,6 +4576,8 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -4182,11 +4588,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue( - java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -4195,14 +4601,18 @@ public Builder addAllEmploymentTypesValue( return this; } - private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4215,13 +4625,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4234,12 +4646,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4252,6 +4667,7 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -4259,6 +4675,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4271,14 +4689,16 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4291,21 +4711,23 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; + * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes( - int index, java.lang.String value) { + public Builder setLanguageCodes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4318,20 +4740,22 @@ public Builder setLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes( - java.lang.String value) { + public Builder addLanguageCodes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4344,18 +4768,19 @@ public Builder addLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes( - java.lang.Iterable values) { + public Builder addAllLanguageCodes(java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4368,6 +4793,7 @@ public Builder addAllLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -4377,6 +4803,8 @@ public Builder clearLanguageCodes() { return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4389,15 +4817,15 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 11; + * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); @@ -4406,36 +4834,49 @@ public Builder addLanguageCodesBytes( private com.google.cloud.talent.v4.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder> publishTimeRangeBuilder_; + com.google.cloud.talent.v4.TimestampRange, + com.google.cloud.talent.v4.TimestampRange.Builder, + com.google.cloud.talent.v4.TimestampRangeOrBuilder> + publishTimeRangeBuilder_; /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ public boolean hasPublishTimeRange() { return publishTimeRangeBuilder_ != null || publishTimeRange_ != null; } /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ public com.google.cloud.talent.v4.TimestampRange getPublishTimeRange() { if (publishTimeRangeBuilder_ == null) { - return publishTimeRange_ == null ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_; + return publishTimeRange_ == null + ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() + : publishTimeRange_; } else { return publishTimeRangeBuilder_.getMessage(); } } /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4457,6 +4898,8 @@ public Builder setPublishTimeRange(com.google.cloud.talent.v4.TimestampRange val
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4476,6 +4919,8 @@ public Builder setPublishTimeRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4487,7 +4932,9 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4.TimestampRange v
       if (publishTimeRangeBuilder_ == null) {
         if (publishTimeRange_ != null) {
           publishTimeRange_ =
-            com.google.cloud.talent.v4.TimestampRange.newBuilder(publishTimeRange_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.TimestampRange.newBuilder(publishTimeRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           publishTimeRange_ = value;
         }
@@ -4499,6 +4946,8 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4.TimestampRange v
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4518,6 +4967,8 @@ public Builder clearPublishTimeRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4526,11 +4977,13 @@ public Builder clearPublishTimeRange() {
      * .google.cloud.talent.v4.TimestampRange publish_time_range = 12;
      */
     public com.google.cloud.talent.v4.TimestampRange.Builder getPublishTimeRangeBuilder() {
-      
+
       onChanged();
       return getPublishTimeRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4542,11 +4995,14 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
       if (publishTimeRangeBuilder_ != null) {
         return publishTimeRangeBuilder_.getMessageOrBuilder();
       } else {
-        return publishTimeRange_ == null ?
-            com.google.cloud.talent.v4.TimestampRange.getDefaultInstance() : publishTimeRange_;
+        return publishTimeRange_ == null
+            ? com.google.cloud.talent.v4.TimestampRange.getDefaultInstance()
+            : publishTimeRange_;
       }
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4555,58 +5011,71 @@ public com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrB
      * .google.cloud.talent.v4.TimestampRange publish_time_range = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder> 
+            com.google.cloud.talent.v4.TimestampRange,
+            com.google.cloud.talent.v4.TimestampRange.Builder,
+            com.google.cloud.talent.v4.TimestampRangeOrBuilder>
         getPublishTimeRangeFieldBuilder() {
       if (publishTimeRangeBuilder_ == null) {
-        publishTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.TimestampRange, com.google.cloud.talent.v4.TimestampRange.Builder, com.google.cloud.talent.v4.TimestampRangeOrBuilder>(
-                getPublishTimeRange(),
-                getParentForChildren(),
-                isClean());
+        publishTimeRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.TimestampRange,
+                com.google.cloud.talent.v4.TimestampRange.Builder,
+                com.google.cloud.talent.v4.TimestampRangeOrBuilder>(
+                getPublishTimeRange(), getParentForChildren(), isClean());
         publishTimeRange_ = null;
       }
       return publishTimeRangeBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList excludedJobs_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureExcludedJobsIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_);
         bitField0_ |= 0x00000040;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList - getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList getExcludedJobsList() { return excludedJobs_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -4614,85 +5083,95 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString - getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index to set the value at. * @param value The excludedJobs to set. * @return This builder for chaining. */ - public Builder setExcludedJobs( - int index, java.lang.String value) { + public Builder setExcludedJobs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param value The excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobs( - java.lang.String value) { + public Builder addExcludedJobs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param values The excludedJobs to add. * @return This builder for chaining. */ - public Builder addAllExcludedJobs( - java.lang.Iterable values) { + public Builder addAllExcludedJobs(java.lang.Iterable values) { ensureExcludedJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludedJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedJobs_); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return This builder for chaining. */ public Builder clearExcludedJobs() { @@ -4702,29 +5181,31 @@ public Builder clearExcludedJobs() { return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param value The bytes of the excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobsBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4734,12 +5215,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobQuery) private static final com.google.cloud.talent.v4.JobQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobQuery(); } @@ -4748,27 +5229,27 @@ public static com.google.cloud.talent.v4.JobQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4783,6 +5264,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.JobQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java similarity index 93% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java index ae1d7313db19..494d53b6ee06 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface JobQueryOrBuilder extends +public interface JobQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -15,10 +33,13 @@ public interface JobQueryOrBuilder extends
    * 
* * string query = 1; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -26,12 +47,14 @@ public interface JobQueryOrBuilder extends
    * 
* * string query = 1; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -43,10 +66,13 @@ public interface JobQueryOrBuilder extends
    * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ java.lang.String getQueryLanguageCode(); /** + * + * *
    * The language code of [query][google.cloud.talent.v4.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -58,12 +84,14 @@ public interface JobQueryOrBuilder extends
    * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ - com.google.protobuf.ByteString - getQueryLanguageCodeBytes(); + com.google.protobuf.ByteString getQueryLanguageCodeBytes(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -77,11 +105,13 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - java.util.List - getCompaniesList(); + java.util.List getCompaniesList(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -95,10 +125,13 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @return The count of companies. */ int getCompaniesCount(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -112,11 +145,14 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ java.lang.String getCompanies(int index); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -130,13 +166,15 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - com.google.protobuf.ByteString - getCompaniesBytes(int index); + com.google.protobuf.ByteString getCompaniesBytes(int index); /** + * + * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -151,9 +189,10 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  java.util.List 
-      getLocationFiltersList();
+  java.util.List getLocationFiltersList();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -170,6 +209,8 @@ public interface JobQueryOrBuilder extends
    */
   com.google.cloud.talent.v4.LocationFilter getLocationFilters(int index);
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -186,6 +227,8 @@ public interface JobQueryOrBuilder extends
    */
   int getLocationFiltersCount();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -200,9 +243,11 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  java.util.List 
+  java.util.List
       getLocationFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4.LocationFilter] for more information.
@@ -217,10 +262,11 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.LocationFilter location_filters = 3;
    */
-  com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -230,10 +276,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -243,10 +292,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -256,11 +308,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4.JobCategory getJobCategories(int index); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -270,11 +325,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List - getJobCategoriesValueList(); + java.util.List getJobCategoriesValueList(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4.JobCategory] for more information.
@@ -284,12 +341,15 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -299,10 +359,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ boolean hasCommuteFilter(); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -312,10 +375,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * .google.cloud.talent.v4.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ com.google.cloud.talent.v4.CommuteFilter getCommuteFilter(); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -329,6 +395,8 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4.CommuteFilterOrBuilder getCommuteFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -352,11 +420,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - java.util.List - getCompanyDisplayNamesList(); + java.util.List getCompanyDisplayNamesList(); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -380,10 +450,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ int getCompanyDisplayNamesCount(); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -407,11 +480,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ java.lang.String getCompanyDisplayNames(int index); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -435,13 +511,15 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index); + com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -451,10 +529,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ boolean hasCompensationFilter(); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -464,10 +545,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * .google.cloud.talent.v4.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ com.google.cloud.talent.v4.CompensationFilter getCompensationFilter(); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4.Job.compensation_info]. For example, if the filter is specified
@@ -481,6 +565,8 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4.CompensationFilterOrBuilder getCompensationFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -502,10 +588,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ java.lang.String getCustomAttributeFilter(); /** + * + * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] marked as `filterable`.
@@ -527,12 +616,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ - com.google.protobuf.ByteString - getCustomAttributeFilterBytes(); + com.google.protobuf.ByteString getCustomAttributeFilterBytes(); /** + * + * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -541,11 +632,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ boolean getDisableSpellCheck(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -556,10 +650,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -570,10 +667,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -584,11 +684,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4.EmploymentType getEmploymentTypes(int index); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -599,11 +702,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List - getEmploymentTypesValueList(); + java.util.List getEmploymentTypesValueList(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4.EmploymentType.FULL_TIME].
@@ -614,12 +719,15 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated .google.cloud.talent.v4.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -632,11 +740,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - java.util.List - getLanguageCodesList(); + java.util.List getLanguageCodesList(); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -649,10 +759,13 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -665,11 +778,14 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -682,33 +798,41 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
    * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString - getLanguageCodesBytes(int index); + com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ boolean hasPublishTimeRange(); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ com.google.cloud.talent.v4.TimestampRange getPublishTimeRange(); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -719,47 +843,57 @@ com.google.cloud.talent.v4.LocationFilterOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4.TimestampRangeOrBuilder getPublishTimeRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - java.util.List - getExcludedJobsList(); + java.util.List getExcludedJobsList(); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ int getExcludedJobsCount(); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ java.lang.String getExcludedJobs(int index); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - com.google.protobuf.ByteString - getExcludedJobsBytes(int index); + com.google.protobuf.ByteString getExcludedJobsBytes(int index); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java similarity index 74% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java index afa945bed7b5..a71440de279f 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResult.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Mutation result of a job from a batch operation.
  * 
* * Protobuf type {@code google.cloud.talent.v4.JobResult} */ -public final class JobResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class JobResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.JobResult) JobResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobResult.newBuilder() to construct. private JobResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobResult() { - } + + private JobResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JobResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobResult.class, com.google.cloud.talent.v4.JobResult.Builder.class); + com.google.cloud.talent.v4.JobResult.class, + com.google.cloud.talent.v4.JobResult.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -65,6 +86,8 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -73,6 +96,7 @@ public boolean hasJob() {
    * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -80,6 +104,8 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -97,12 +123,15 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
   public static final int STATUS_FIELD_NUMBER = 2;
   private com.google.rpc.Status status_;
   /**
+   *
+   *
    * 
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -110,12 +139,15 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -123,6 +155,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -136,6 +170,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +182,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -165,12 +199,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,7 +212,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.JobResult)) {
       return super.equals(obj);
@@ -189,13 +221,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob()
-          .equals(other.getJob())) return false;
+      if (!getJob().equals(other.getJob())) return false;
     }
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus()
-          .equals(other.getStatus())) return false;
+      if (!getStatus().equals(other.getStatus())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +251,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.JobResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.JobResult parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.talent.v4.JobResult parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.JobResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.JobResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Mutation result of a job from a batch operation.
    * 
* * Protobuf type {@code google.cloud.talent.v4.JobResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.JobResult) com.google.cloud.talent.v4.JobResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.JobResult.class, com.google.cloud.talent.v4.JobResult.Builder.class); + com.google.cloud.talent.v4.JobResult.class, + com.google.cloud.talent.v4.JobResult.Builder.class); } // Construct using com.google.cloud.talent.v4.JobResult.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_JobResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_JobResult_descriptor; } @java.lang.Override @@ -404,38 +439,39 @@ public com.google.cloud.talent.v4.JobResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.JobResult) { - return mergeFrom((com.google.cloud.talent.v4.JobResult)other); + return mergeFrom((com.google.cloud.talent.v4.JobResult) other); } else { super.mergeFrom(other); return this; @@ -476,26 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getStatusFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,8 +543,13 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -518,12 +558,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -532,6 +575,7 @@ public boolean hasJob() {
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -542,6 +586,8 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** + * + * *
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -565,6 +611,8 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -574,8 +622,7 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) {
      *
      * .google.cloud.talent.v4.Job job = 1;
      */
-    public Builder setJob(
-        com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobBuilder_ == null) {
         job_ = builderForValue.build();
         onChanged();
@@ -586,6 +633,8 @@ public Builder setJob(
       return this;
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -598,8 +647,7 @@ public Builder setJob(
     public Builder mergeJob(com.google.cloud.talent.v4.Job value) {
       if (jobBuilder_ == null) {
         if (job_ != null) {
-          job_ =
-            com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial();
+          job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial();
         } else {
           job_ = value;
         }
@@ -611,6 +659,8 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -632,6 +682,8 @@ public Builder clearJob() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -642,11 +694,13 @@ public Builder clearJob() {
      * .google.cloud.talent.v4.Job job = 1;
      */
     public com.google.cloud.talent.v4.Job.Builder getJobBuilder() {
-      
+
       onChanged();
       return getJobFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -660,11 +714,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
       if (jobBuilder_ != null) {
         return jobBuilder_.getMessageOrBuilder();
       } else {
-        return job_ == null ?
-            com.google.cloud.talent.v4.Job.getDefaultInstance() : job_;
+        return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_;
       }
     }
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
      * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -675,14 +730,17 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
      * .google.cloud.talent.v4.Job job = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> 
+            com.google.cloud.talent.v4.Job,
+            com.google.cloud.talent.v4.Job.Builder,
+            com.google.cloud.talent.v4.JobOrBuilder>
         getJobFieldBuilder() {
       if (jobBuilder_ == null) {
-        jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>(
-                getJob(),
-                getParentForChildren(),
-                isClean());
+        jobBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.Job,
+                com.google.cloud.talent.v4.Job.Builder,
+                com.google.cloud.talent.v4.JobOrBuilder>(
+                getJob(), getParentForChildren(), isClean());
         job_ = null;
       }
       return jobBuilder_;
@@ -690,26 +748,33 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
 
     private com.google.rpc.Status status_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+        statusBuilder_;
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -720,6 +785,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -741,6 +808,8 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -748,8 +817,7 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status status = 2;
      */
-    public Builder setStatus(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       if (statusBuilder_ == null) {
         status_ = builderForValue.build();
         onChanged();
@@ -760,6 +828,8 @@ public Builder setStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -770,8 +840,7 @@ public Builder setStatus(
     public Builder mergeStatus(com.google.rpc.Status value) {
       if (statusBuilder_ == null) {
         if (status_ != null) {
-          status_ =
-            com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+          status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
         } else {
           status_ = value;
         }
@@ -783,6 +852,8 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -802,6 +873,8 @@ public Builder clearStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -810,11 +883,13 @@ public Builder clearStatus() {
      * .google.rpc.Status status = 2;
      */
     public com.google.rpc.Status.Builder getStatusBuilder() {
-      
+
       onChanged();
       return getStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -826,11 +901,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
       if (statusBuilder_ != null) {
         return statusBuilder_.getMessageOrBuilder();
       } else {
-        return status_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : status_;
+        return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
       }
     }
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
@@ -839,21 +915,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * .google.rpc.Status status = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
         getStatusFieldBuilder() {
       if (statusBuilder_ == null) {
-        statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getStatus(),
-                getParentForChildren(),
-                isClean());
+        statusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
         status_ = null;
       }
       return statusBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +939,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.JobResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.JobResult)
   private static final com.google.cloud.talent.v4.JobResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.JobResult();
   }
@@ -877,27 +953,27 @@ public static com.google.cloud.talent.v4.JobResult getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public JobResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public JobResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +988,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.JobResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
similarity index 79%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
index 3bfc9fabe97f..dd01c090ff91 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobResultOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface JobResultOrBuilder extends
+public interface JobResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.JobResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -16,10 +34,13 @@ public interface JobResultOrBuilder extends
    * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -28,10 +49,13 @@ public interface JobResultOrBuilder extends
    * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** + * + * *
    * Here [Job][google.cloud.talent.v4.Job] only contains basic information including [name][google.cloud.talent.v4.Job.name],
    * [company][google.cloud.talent.v4.Job.company], [language_code][google.cloud.talent.v4.Job.language_code]
@@ -44,26 +68,34 @@ public interface JobResultOrBuilder extends
   com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder();
 
   /**
+   *
+   *
    * 
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
    * 
* * .google.rpc.Status status = 2; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * The status of the job processed. This field is populated if the
    * processing of the [job][google.cloud.talent.v4.JobResult.job] fails.
diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
new file mode 100644
index 000000000000..91b41a0239b5
--- /dev/null
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/JobServiceProto.java
@@ -0,0 +1,485 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4/job_service.proto
+
+package com.google.cloud.talent.v4;
+
+public final class JobServiceProto {
+  private JobServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_CreateJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_CreateJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_GetJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_GetJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_DeleteJobRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_DeleteJobRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchCreateJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_JobResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_JobResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchCreateJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchUpdateJobsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4_BatchDeleteJobsResponse_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n(google/cloud/talent/v4/job_service.pro"
+          + "to\022\026google.cloud.talent.v4\032\034google/api/a"
+          + "nnotations.proto\032\027google/api/client.prot"
+          + "o\032\037google/api/field_behavior.proto\032\031goog"
+          + "le/api/resource.proto\032#google/cloud/tale"
+          + "nt/v4/common.proto\032$google/cloud/talent/"
+          + "v4/filters.proto\032&google/cloud/talent/v4"
+          + "/histogram.proto\032 google/cloud/talent/v4"
+          + "/job.proto\032#google/longrunning/operation"
+          + "s.proto\032\036google/protobuf/duration.proto\032"
+          + "\033google/protobuf/empty.proto\032 google/pro"
+          + "tobuf/field_mask.proto\032\027google/rpc/statu"
+          + "s.proto\"r\n\020CreateJobRequest\022/\n\006parent\030\001 "
+          + "\001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022-\n\003"
+          + "job\030\002 \001(\0132\033.google.cloud.talent.v4.JobB\003"
+          + "\340A\002\">\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372"
+          + "A\031\n\027jobs.googleapis.com/Job\"r\n\020UpdateJob"
+          + "Request\022-\n\003job\030\001 \001(\0132\033.google.cloud.tale"
+          + "nt.v4.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go"
+          + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ"
+          + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap"
+          + "is.com/Job\"\261\001\n\017ListJobsRequest\022/\n\006parent"
+          + "\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022"
+          + "\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\npage_token\030\003 \001(\t"
+          + "\022\021\n\tpage_size\030\004 \001(\005\0221\n\010job_view\030\005 \001(\0162\037."
+          + "google.cloud.talent.v4.JobView\"\222\001\n\020ListJ"
+          + "obsResponse\022)\n\004jobs\030\001 \003(\0132\033.google.cloud"
+          + ".talent.v4.Job\022\027\n\017next_page_token\030\002 \001(\t\022"
+          + ":\n\010metadata\030\003 \001(\0132(.google.cloud.talent."
+          + "v4.ResponseMetadata\"\274\013\n\021SearchJobsReques"
+          + "t\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleap"
+          + "is.com/Job\022I\n\013search_mode\030\002 \001(\01624.google"
+          + ".cloud.talent.v4.SearchJobsRequest.Searc"
+          + "hMode\022F\n\020request_metadata\030\003 \001(\0132\'.google"
+          + ".cloud.talent.v4.RequestMetadataB\003\340A\002\0223\n"
+          + "\tjob_query\030\004 \001(\0132 .google.cloud.talent.v"
+          + "4.JobQuery\022\031\n\021enable_broadening\030\005 \001(\010\022A\n"
+          + "\021histogram_queries\030\007 \003(\0132&.google.cloud."
+          + "talent.v4.HistogramQuery\0221\n\010job_view\030\010 \001"
+          + "(\0162\037.google.cloud.talent.v4.JobView\022\016\n\006o"
+          + "ffset\030\t \001(\005\022\025\n\rmax_page_size\030\n \001(\005\022\022\n\npa"
+          + "ge_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t\022]\n\025dive"
+          + "rsification_level\030\r \001(\0162>.google.cloud.t"
+          + "alent.v4.SearchJobsRequest.Diversificati"
+          + "onLevel\022X\n\023custom_ranking_info\030\016 \001(\0132;.g"
+          + "oogle.cloud.talent.v4.SearchJobsRequest."
+          + "CustomRankingInfo\022!\n\025disable_keyword_mat"
+          + "ch\030\020 \001(\010B\002\030\001\022V\n\022keyword_match_mode\030\022 \001(\016"
+          + "2:.google.cloud.talent.v4.SearchJobsRequ"
+          + "est.KeywordMatchMode\032\225\002\n\021CustomRankingIn"
+          + "fo\022j\n\020importance_level\030\001 \001(\0162K.google.cl"
+          + "oud.talent.v4.SearchJobsRequest.CustomRa"
+          + "nkingInfo.ImportanceLevelB\003\340A\002\022\037\n\022rankin"
+          + "g_expression\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLev"
+          + "el\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004"
+          + "NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n"
+          + "\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SE"
+          + "ARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022"
+          + "\027\n\023FEATURED_JOB_SEARCH\020\002\"\245\001\n\024Diversifica"
+          + "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE"
+          + "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\022\023\n\017ON"
+          + "E_PER_COMPANY\020\003\022\023\n\017TWO_PER_COMPANY\020\004\022\"\n\036"
+          + "DIVERSIFY_BY_LOOSER_SIMILARITY\020\005\"\207\001\n\020Key"
+          + "wordMatchMode\022\"\n\036KEYWORD_MATCH_MODE_UNSP"
+          + "ECIFIED\020\000\022\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n"
+          + "\021KEYWORD_MATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TI"
+          + "TLE_ONLY\020\003\"\221\006\n\022SearchJobsResponse\022M\n\rmat"
+          + "ching_jobs\030\001 \003(\01326.google.cloud.talent.v"
+          + "4.SearchJobsResponse.MatchingJob\022M\n\027hist"
+          + "ogram_query_results\030\002 \003(\0132,.google.cloud"
+          + ".talent.v4.HistogramQueryResult\022\027\n\017next_"
+          + "page_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003"
+          + "(\0132 .google.cloud.talent.v4.Location\022\022\n\n"
+          + "total_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.goo"
+          + "gle.cloud.talent.v4.ResponseMetadata\022\"\n\032"
+          + "broadened_query_jobs_count\030\010 \001(\005\022D\n\020spel"
+          + "l_correction\030\t \001(\0132*.google.cloud.talent"
+          + ".v4.SpellingCorrection\032\322\001\n\013MatchingJob\022("
+          + "\n\003job\030\001 \001(\0132\033.google.cloud.talent.v4.Job"
+          + "\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snipp"
+          + "et\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n"
+          + "\014commute_info\030\005 \001(\01326.google.cloud.talen"
+          + "t.v4.SearchJobsResponse.CommuteInfo\032y\n\013C"
+          + "ommuteInfo\0226\n\014job_location\030\001 \001(\0132 .googl"
+          + "e.cloud.talent.v4.Location\0222\n\017travel_dur"
+          + "ation\030\002 \001(\0132\031.google.protobuf.Duration\"y"
+          + "\n\026BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\t"
+          + "B\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004job"
+          + "s\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A"
+          + "\002\"\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001"
+          + " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n"
+          + "\004jobs\030\002 \003(\0132\033.google.cloud.talent.v4.Job"
+          + "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot"
+          + "obuf.FieldMask\"y\n\026BatchDeleteJobsRequest"
+          + "\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapi"
+          + "s.com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.g"
+          + "oogleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 "
+          + "\001(\0132\033.google.cloud.talent.v4.Job\022\"\n\006stat"
+          + "us\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCre"
+          + "ateJobsResponse\0226\n\013job_results\030\001 \003(\0132!.g"
+          + "oogle.cloud.talent.v4.JobResult\"Q\n\027Batch"
+          + "UpdateJobsResponse\0226\n\013job_results\030\001 \003(\0132"
+          + "!.google.cloud.talent.v4.JobResult\"Q\n\027Ba"
+          + "tchDeleteJobsResponse\0226\n\013job_results\030\001 \003"
+          + "(\0132!.google.cloud.talent.v4.JobResult*v\n"
+          + "\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JO"
+          + "B_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022"
+          + "\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016"
+          + "\n\nJobService\022\224\001\n\tCreateJob\022(.google.clou"
+          + "d.talent.v4.CreateJobRequest\032\033.google.cl"
+          + "oud.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=p"
+          + "rojects/*/tenants/*}/jobs:\003job\332A\nparent,"
+          + "job\022\341\001\n\017BatchCreateJobs\022..google.cloud.t"
+          + "alent.v4.BatchCreateJobsRequest\032\035.google"
+          + ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par"
+          + "ent=projects/*/tenants/*}/jobs:batchCrea"
+          + "te:\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsR"
+          + "esponse\022\026BatchOperationMetadata\022\203\001\n\006GetJ"
+          + "ob\022%.google.cloud.talent.v4.GetJobReques"
+          + "t\032\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&"
+          + "/v4/{name=projects/*/tenants/*/jobs/*}\332A"
+          + "\004name\022\235\001\n\tUpdateJob\022(.google.cloud.talen"
+          + "t.v4.UpdateJobRequest\032\033.google.cloud.tal"
+          + "ent.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projec"
+          + "ts/*/tenants/*/jobs/*}:\003job\332A\017job,update"
+          + "_mask\022\341\001\n\017BatchUpdateJobs\022..google.cloud"
+          + ".talent.v4.BatchUpdateJobsRequest\032\035.goog"
+          + "le.longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{p"
+          + "arent=projects/*/tenants/*}/jobs:batchUp"
+          + "date:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJob"
+          + "sResponse\022\026BatchOperationMetadata\022\204\001\n\tDe"
+          + "leteJob\022(.google.cloud.talent.v4.DeleteJ"
+          + "obRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002"
+          + "(*&/v4/{name=projects/*/tenants/*/jobs/*"
+          + "}\332A\004name\022\343\001\n\017BatchDeleteJobs\022..google.cl"
+          + "oud.talent.v4.BatchDeleteJobsRequest\032\035.g"
+          + "oogle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v"
+          + "4/{parent=projects/*/tenants/*}/jobs:bat"
+          + "chDelete:\001*\332A\014parent,names\312A1\n\027BatchDele"
+          + "teJobsResponse\022\026BatchOperationMetadata\022\235"
+          + "\001\n\010ListJobs\022\'.google.cloud.talent.v4.Lis"
+          + "tJobsRequest\032(.google.cloud.talent.v4.Li"
+          + "stJobsResponse\">\202\323\344\223\002(\022&/v4/{parent=proj"
+          + "ects/*/tenants/*}/jobs\332A\rparent,filter\022\235"
+          + "\001\n\nSearchJobs\022).google.cloud.talent.v4.S"
+          + "earchJobsRequest\032*.google.cloud.talent.v"
+          + "4.SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{paren"
+          + "t=projects/*/tenants/*}/jobs:search:\001*\022\255"
+          + "\001\n\022SearchJobsForAlert\022).google.cloud.tal"
+          + "ent.v4.SearchJobsRequest\032*.google.cloud."
+          + "talent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v"
+          + "4/{parent=projects/*/tenants/*}/jobs:sea"
+          + "rchForAlert:\001*\032l\312A\023jobs.googleapis.com\322A"
+          + "Shttps://www.googleapis.com/auth/cloud-p"
+          + "latform,https://www.googleapis.com/auth/"
+          + "jobsBs\n\032com.google.cloud.talent.v4B\017JobS"
+          + "erviceProtoP\001Z
  * An enum that specifies the job attributes that are returned in the
  * [MatchingJob.job][google.cloud.talent.v4.SearchJobsResponse.MatchingJob.job] or
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.JobView}
  */
-public enum JobView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -23,6 +41,8 @@ public enum JobView */ JOB_VIEW_UNSPECIFIED(0), /** + * + * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.Job.language_code].
@@ -32,6 +52,8 @@ public enum JobView
    */
   JOB_VIEW_ID_ONLY(1),
   /**
+   *
+   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -42,6 +64,8 @@ public enum JobView
    */
   JOB_VIEW_MINIMAL(2),
   /**
+   *
+   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -53,6 +77,8 @@ public enum JobView
    */
   JOB_VIEW_SMALL(3),
   /**
+   *
+   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -64,6 +90,8 @@ public enum JobView ; /** + * + * *
    * Default value.
    * 
@@ -72,6 +100,8 @@ public enum JobView */ public static final int JOB_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.language_code][google.cloud.talent.v4.Job.language_code].
@@ -81,6 +111,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_ID_ONLY_VALUE = 1;
   /**
+   *
+   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -91,6 +123,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_MINIMAL_VALUE = 2;
   /**
+   *
+   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4.Job.name], [Job.requisition_id][google.cloud.talent.v4.Job.requisition_id], [Job.title][google.cloud.talent.v4.Job.title],
@@ -102,6 +136,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_SMALL_VALUE = 3;
   /**
+   *
+   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -110,7 +146,6 @@ public enum JobView */ public static final int JOB_VIEW_FULL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,51 +170,53 @@ public static JobView valueOf(int value) { */ public static JobView forNumber(int value) { switch (value) { - case 0: return JOB_VIEW_UNSPECIFIED; - case 1: return JOB_VIEW_ID_ONLY; - case 2: return JOB_VIEW_MINIMAL; - case 3: return JOB_VIEW_SMALL; - case 4: return JOB_VIEW_FULL; - default: return null; + case 0: + return JOB_VIEW_UNSPECIFIED; + case 1: + return JOB_VIEW_ID_ONLY; + case 2: + return JOB_VIEW_MINIMAL; + case 3: + return JOB_VIEW_SMALL; + case 4: + return JOB_VIEW_FULL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobView findValueByNumber(int number) { - return JobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobView findValueByNumber(int number) { + return JobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.JobServiceProto.getDescriptor().getEnumTypes().get(0); } private static final JobView[] VALUES = values(); - public static JobView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,4 +232,3 @@ private JobView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.JobView) } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java similarity index 68% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java index 107c55c52950..e7609cbc9c28 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * List companies for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesRequest} */ -public final class ListCompaniesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompaniesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListCompaniesRequest) ListCompaniesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompaniesRequest.newBuilder() to construct. private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,45 @@ private ListCompaniesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompaniesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesRequest.class, com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4.ListCompaniesRequest.class, + com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -115,29 +144,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -148,12 +177,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -164,6 +196,8 @@ public int getPageSize() { public static final int REQUIRE_OPEN_JOBS_FIELD_NUMBER = 4; private boolean requireOpenJobs_; /** + * + * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -172,6 +206,7 @@ public int getPageSize() {
    * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ @java.lang.Override @@ -180,6 +215,7 @@ public boolean getRequireOpenJobs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,12 +256,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (requireOpenJobs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, requireOpenJobs_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, requireOpenJobs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,21 +269,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListCompaniesRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListCompaniesRequest other = (com.google.cloud.talent.v4.ListCompaniesRequest) obj; + com.google.cloud.talent.v4.ListCompaniesRequest other = + (com.google.cloud.talent.v4.ListCompaniesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (getRequireOpenJobs() - != other.getRequireOpenJobs()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,137 +299,142 @@ public int hashCode() { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + REQUIRE_OPEN_JOBS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequireOpenJobs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireOpenJobs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListCompaniesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ListCompaniesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List companies for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListCompaniesRequest) com.google.cloud.talent.v4.ListCompaniesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesRequest.class, com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4.ListCompaniesRequest.class, + com.google.cloud.talent.v4.ListCompaniesRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListCompaniesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesRequest_descriptor; } @java.lang.Override @@ -436,7 +471,8 @@ public com.google.cloud.talent.v4.ListCompaniesRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListCompaniesRequest buildPartial() { - com.google.cloud.talent.v4.ListCompaniesRequest result = new com.google.cloud.talent.v4.ListCompaniesRequest(this); + com.google.cloud.talent.v4.ListCompaniesRequest result = + new com.google.cloud.talent.v4.ListCompaniesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -449,38 +485,39 @@ public com.google.cloud.talent.v4.ListCompaniesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListCompaniesRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListCompaniesRequest)other); + return mergeFrom((com.google.cloud.talent.v4.ListCompaniesRequest) other); } else { super.mergeFrom(other); return this; @@ -488,7 +525,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesRequest other) { - if (other == com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -529,32 +567,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - case 32: { - requireOpenJobs_ = input.readBool(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + + break; + } // case 24 + case 32: + { + requireOpenJobs_ = input.readBool(); + + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,20 +610,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -589,22 +636,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -612,60 +662,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -673,18 +736,20 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -693,20 +758,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -714,67 +780,77 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -782,39 +858,47 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - private boolean requireOpenJobs_ ; + private boolean requireOpenJobs_; /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -823,6 +907,7 @@ public Builder clearPageSize() {
      * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ @java.lang.Override @@ -830,6 +915,8 @@ public boolean getRequireOpenJobs() { return requireOpenJobs_; } /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -838,16 +925,19 @@ public boolean getRequireOpenJobs() {
      * 
* * bool require_open_jobs = 4; + * * @param value The requireOpenJobs to set. * @return This builder for chaining. */ public Builder setRequireOpenJobs(boolean value) { - + requireOpenJobs_ = value; onChanged(); return this; } /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -856,17 +946,18 @@ public Builder setRequireOpenJobs(boolean value) {
      * 
* * bool require_open_jobs = 4; + * * @return This builder for chaining. */ public Builder clearRequireOpenJobs() { - + requireOpenJobs_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -876,12 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListCompaniesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListCompaniesRequest) private static final com.google.cloud.talent.v4.ListCompaniesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListCompaniesRequest(); } @@ -890,27 +981,27 @@ public static com.google.cloud.talent.v4.ListCompaniesRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompaniesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompaniesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -925,6 +1016,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListCompaniesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java index 0e6504744a7e..c7127abdb10e 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesRequestOrBuilder.java @@ -1,68 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; -public interface ListCompaniesRequestOrBuilder extends +public interface ListCompaniesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListCompaniesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -71,6 +106,7 @@ public interface ListCompaniesRequestOrBuilder extends
    * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ boolean getRequireOpenJobs(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java similarity index 72% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java index 0a8501379a65..a4e51a38917d 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The List companies response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesResponse} */ -public final class ListCompaniesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompaniesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListCompaniesResponse) ListCompaniesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompaniesResponse.newBuilder() to construct. private ListCompaniesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompaniesResponse() { companies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListCompaniesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompaniesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesResponse.class, com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4.ListCompaniesResponse.class, + com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); } public static final int COMPANIES_FIELD_NUMBER = 1; private java.util.List companies_; /** + * + * *
    * Companies for the current client.
    * 
@@ -63,6 +84,8 @@ public java.util.List getCompaniesList() { return companies_; } /** + * + * *
    * Companies for the current client.
    * 
@@ -70,11 +93,13 @@ public java.util.List getCompaniesList() { * repeated .google.cloud.talent.v4.Company companies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompaniesOrBuilderList() { return companies_; } /** + * + * *
    * Companies for the current client.
    * 
@@ -86,6 +111,8 @@ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
    * Companies for the current client.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { return companies_.get(index); } /** + * + * *
    * Companies for the current client.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { * repeated .google.cloud.talent.v4.Company companies = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( - int index) { + public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index) { return companies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -158,12 +189,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -171,19 +205,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -197,6 +238,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,8 +250,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < companies_.size(); i++) {
       output.writeMessage(1, companies_.get(i));
     }
@@ -229,15 +270,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < companies_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, companies_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, companies_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,21 +286,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListCompaniesResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListCompaniesResponse other = (com.google.cloud.talent.v4.ListCompaniesResponse) obj;
+    com.google.cloud.talent.v4.ListCompaniesResponse other =
+        (com.google.cloud.talent.v4.ListCompaniesResponse) obj;
 
-    if (!getCompaniesList()
-        .equals(other.getCompaniesList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getCompaniesList().equals(other.getCompaniesList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -289,130 +326,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListCompaniesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.ListCompaniesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The List companies response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListCompaniesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListCompaniesResponse) com.google.cloud.talent.v4.ListCompaniesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListCompaniesResponse.class, com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4.ListCompaniesResponse.class, + com.google.cloud.talent.v4.ListCompaniesResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListCompaniesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_ListCompaniesResponse_descriptor; } @java.lang.Override @@ -456,7 +499,8 @@ public com.google.cloud.talent.v4.ListCompaniesResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListCompaniesResponse buildPartial() { - com.google.cloud.talent.v4.ListCompaniesResponse result = new com.google.cloud.talent.v4.ListCompaniesResponse(this); + com.google.cloud.talent.v4.ListCompaniesResponse result = + new com.google.cloud.talent.v4.ListCompaniesResponse(this); int from_bitField0_ = bitField0_; if (companiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +525,39 @@ public com.google.cloud.talent.v4.ListCompaniesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListCompaniesResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListCompaniesResponse)other); + return mergeFrom((com.google.cloud.talent.v4.ListCompaniesResponse) other); } else { super.mergeFrom(other); return this; @@ -520,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesResponse other) { - if (other == com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance()) + return this; if (companiesBuilder_ == null) { if (!other.companies_.isEmpty()) { if (companies_.isEmpty()) { @@ -539,9 +585,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListCompaniesResponse other) companiesBuilder_ = null; companies_ = other.companies_; bitField0_ = (bitField0_ & ~0x00000001); - companiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompaniesFieldBuilder() : null; + companiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompaniesFieldBuilder() + : null; } else { companiesBuilder_.addAllMessages(other.companies_); } @@ -580,37 +627,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.Company m = - input.readMessage( - com.google.cloud.talent.v4.Company.parser(), - extensionRegistry); - if (companiesBuilder_ == null) { - ensureCompaniesIsMutable(); - companies_.add(m); - } else { - companiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4.Company m = + input.readMessage( + com.google.cloud.talent.v4.Company.parser(), extensionRegistry); + if (companiesBuilder_ == null) { + ensureCompaniesIsMutable(); + companies_.add(m); + } else { + companiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +668,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List companies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companiesBuilder_; + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> + companiesBuilder_; /** + * + * *
      * Companies for the current client.
      * 
@@ -649,6 +704,8 @@ public java.util.List getCompaniesList() { } } /** + * + * *
      * Companies for the current client.
      * 
@@ -663,6 +720,8 @@ public int getCompaniesCount() { } } /** + * + * *
      * Companies for the current client.
      * 
@@ -677,14 +736,15 @@ public com.google.cloud.talent.v4.Company getCompanies(int index) { } } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder setCompanies( - int index, com.google.cloud.talent.v4.Company value) { + public Builder setCompanies(int index, com.google.cloud.talent.v4.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +758,8 @@ public Builder setCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -716,6 +778,8 @@ public Builder setCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -736,14 +800,15 @@ public Builder addCompanies(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder addCompanies( - int index, com.google.cloud.talent.v4.Company value) { + public Builder addCompanies(int index, com.google.cloud.talent.v4.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,14 +822,15 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public Builder addCompanies( - com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder addCompanies(com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); companies_.add(builderForValue.build()); @@ -775,6 +841,8 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -793,6 +861,8 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -803,8 +873,7 @@ public Builder addAllCompanies( java.lang.Iterable values) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); onChanged(); } else { companiesBuilder_.addAllMessages(values); @@ -812,6 +881,8 @@ public Builder addAllCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -829,6 +900,8 @@ public Builder clearCompanies() { return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -846,39 +919,44 @@ public Builder removeCompanies(int index) { return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.Company.Builder getCompaniesBuilder( - int index) { + public com.google.cloud.talent.v4.Company.Builder getCompaniesBuilder(int index) { return getCompaniesFieldBuilder().getBuilder(index); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( - int index) { + public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index) { if (companiesBuilder_ == null) { - return companies_.get(index); } else { + return companies_.get(index); + } else { return companiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public java.util.List - getCompaniesOrBuilderList() { + public java.util.List + getCompaniesOrBuilderList() { if (companiesBuilder_ != null) { return companiesBuilder_.getMessageOrBuilderList(); } else { @@ -886,6 +964,8 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( } } /** + * + * *
      * Companies for the current client.
      * 
@@ -893,42 +973,47 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( * repeated .google.cloud.talent.v4.Company companies = 1; */ public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder() { - return getCompaniesFieldBuilder().addBuilder( - com.google.cloud.talent.v4.Company.getDefaultInstance()); + return getCompaniesFieldBuilder() + .addBuilder(com.google.cloud.talent.v4.Company.getDefaultInstance()); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder( - int index) { - return getCompaniesFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.Company.getDefaultInstance()); + public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder(int index) { + return getCompaniesFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.Company.getDefaultInstance()); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - public java.util.List - getCompaniesBuilderList() { + public java.util.List getCompaniesBuilderList() { return getCompaniesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> getCompaniesFieldBuilder() { if (companiesBuilder_ == null) { - companiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( - companies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + companiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder>( + companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); companies_ = null; } return companiesBuilder_; @@ -936,18 +1021,20 @@ public com.google.cloud.talent.v4.Company.Builder addCompaniesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -956,20 +1043,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -977,54 +1065,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1032,36 +1127,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1083,6 +1191,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1102,6 +1212,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1113,7 +1225,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1125,6 +1239,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1144,6 +1260,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1152,11 +1270,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1168,11 +1288,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1181,21 +1304,24 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1205,12 +1331,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListCompaniesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListCompaniesResponse)
   private static final com.google.cloud.talent.v4.ListCompaniesResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListCompaniesResponse();
   }
@@ -1219,27 +1345,27 @@ public static com.google.cloud.talent.v4.ListCompaniesResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListCompaniesResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListCompaniesResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1380,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListCompaniesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
index 215d721b5e75..6abbb5f8065e 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListCompaniesResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListCompaniesResponseOrBuilder extends
+public interface ListCompaniesResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListCompaniesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - java.util.List - getCompaniesList(); + java.util.List getCompaniesList(); /** + * + * *
    * Companies for the current client.
    * 
@@ -25,6 +44,8 @@ public interface ListCompaniesResponseOrBuilder extends */ com.google.cloud.talent.v4.Company getCompanies(int index); /** + * + * *
    * Companies for the current client.
    * 
@@ -33,65 +54,80 @@ public interface ListCompaniesResponseOrBuilder extends */ int getCompaniesCount(); /** + * + * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - java.util.List - getCompaniesOrBuilderList(); + java.util.List getCompaniesOrBuilderList(); /** + * + * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4.Company companies = 1; */ - com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder( - int index); + com.google.cloud.talent.v4.CompanyOrBuilder getCompaniesOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
index 9fa913067d8c..e3696731e56e 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsRequest} */ -public final class ListJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListJobsRequest) ListJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsRequest() { parent_ = ""; filter_ = ""; @@ -28,39 +46,45 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsRequest.class, com.google.cloud.talent.v4.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4.ListJobsRequest.class, + com.google.cloud.talent.v4.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,31 +93,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,6 +130,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -125,6 +153,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -133,14 +162,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -162,16 +192,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -182,11 +211,14 @@ public java.lang.String getFilter() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -195,29 +227,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -228,6 +260,8 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -236,6 +270,7 @@ public java.lang.String getPageToken() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -246,6 +281,8 @@ public int getPageSize() { public static final int JOB_VIEW_FIELD_NUMBER = 5; private int jobView_; /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -253,12 +290,16 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -266,15 +307,19 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The jobView. */ - @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { + @java.lang.Override + public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = + com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +331,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,12 +366,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (jobView_ != com.google.cloud.talent.v4.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, jobView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, jobView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -337,21 +379,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListJobsRequest other = (com.google.cloud.talent.v4.ListJobsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + com.google.cloud.talent.v4.ListJobsRequest other = + (com.google.cloud.talent.v4.ListJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (jobView_ != other.jobView_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -379,130 +418,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListJobsRequest) com.google.cloud.talent.v4.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsRequest.class, com.google.cloud.talent.v4.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4.ListJobsRequest.class, + com.google.cloud.talent.v4.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListJobsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsRequest_descriptor; } @java.lang.Override @@ -541,7 +586,8 @@ public com.google.cloud.talent.v4.ListJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListJobsRequest buildPartial() { - com.google.cloud.talent.v4.ListJobsRequest result = new com.google.cloud.talent.v4.ListJobsRequest(this); + com.google.cloud.talent.v4.ListJobsRequest result = + new com.google.cloud.talent.v4.ListJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageToken_ = pageToken_; @@ -555,38 +601,39 @@ public com.google.cloud.talent.v4.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.ListJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -639,37 +686,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 40: { - jobView_ = input.readEnum(); + break; + } // case 32 + case 40: + { + jobView_ = input.readEnum(); - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,20 +735,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -704,22 +761,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -727,60 +787,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -788,6 +861,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -809,13 +884,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -824,6 +899,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -845,15 +922,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -861,6 +937,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -882,20 +960,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -917,15 +997,18 @@ public Builder setFilter(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -947,16 +1030,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -964,18 +1047,20 @@ public Builder setFilterBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -984,20 +1069,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1005,61 +1091,70 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1068,6 +1163,7 @@ public Builder setPageTokenBytes(
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1075,6 +1171,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1083,16 +1181,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1101,10 +1202,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1112,6 +1214,8 @@ public Builder clearPageSize() { private int jobView_ = 0; /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1119,12 +1223,16 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1132,16 +1240,19 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1149,15 +1260,19 @@ public Builder setJobViewValue(int value) {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = + com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1165,6 +1280,7 @@ public com.google.cloud.talent.v4.JobView getJobView() {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @param value The jobView to set. * @return This builder for chaining. */ @@ -1172,12 +1288,14 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -1185,17 +1303,18 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) {
      * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1205,12 +1324,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListJobsRequest) private static final com.google.cloud.talent.v4.ListJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListJobsRequest(); } @@ -1219,27 +1338,27 @@ public static com.google.cloud.talent.v4.ListJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1254,6 +1373,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java index 2fbd7a0a0985..75a2e0cba763 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface ListJobsRequestOrBuilder extends +public interface ListJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -53,10 +80,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -78,32 +108,39 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -112,11 +149,14 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -124,10 +164,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4.JobView.JOB_VIEW_FULL] if no value is
@@ -135,6 +178,7 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * .google.cloud.talent.v4.JobView job_view = 5; + * * @return The jobView. */ com.google.cloud.talent.v4.JobView getJobView(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java similarity index 73% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java index c6f25a6b6b48..954a04f7e2d0 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsResponse} */ -public final class ListJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListJobsResponse) ListJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsResponse.class, com.google.cloud.talent.v4.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4.ListJobsResponse.class, + com.google.cloud.talent.v4.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** + * + * *
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -65,6 +86,8 @@ public java.util.List getJobsList() {
     return jobs_;
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -74,11 +97,12 @@ public java.util.List getJobsList() {
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getJobsOrBuilderList() {
+  public java.util.List getJobsOrBuilderList() {
     return jobs_;
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -92,6 +116,8 @@ public int getJobsCount() {
     return jobs_.size();
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -105,6 +131,8 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
     return jobs_.get(index);
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -114,19 +142,21 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
     return jobs_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -135,29 +165,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -168,12 +198,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -181,19 +214,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -207,6 +247,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -218,8 +259,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobs_.size(); i++) {
       output.writeMessage(1, jobs_.get(i));
     }
@@ -239,15 +279,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -257,21 +295,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListJobsResponse other = (com.google.cloud.talent.v4.ListJobsResponse) obj;
+    com.google.cloud.talent.v4.ListJobsResponse other =
+        (com.google.cloud.talent.v4.ListJobsResponse) obj;
 
-    if (!getJobsList()
-        .equals(other.getJobsList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getJobsList().equals(other.getJobsList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -299,130 +335,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.ListJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * List jobs response.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListJobsResponse) com.google.cloud.talent.v4.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListJobsResponse.class, com.google.cloud.talent.v4.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4.ListJobsResponse.class, + com.google.cloud.talent.v4.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListJobsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_ListJobsResponse_descriptor; } @java.lang.Override @@ -466,7 +508,8 @@ public com.google.cloud.talent.v4.ListJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListJobsResponse buildPartial() { - com.google.cloud.talent.v4.ListJobsResponse result = new com.google.cloud.talent.v4.ListJobsResponse(this); + com.google.cloud.talent.v4.ListJobsResponse result = + new com.google.cloud.talent.v4.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -491,38 +534,39 @@ public com.google.cloud.talent.v4.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListJobsResponse)other); + return mergeFrom((com.google.cloud.talent.v4.ListJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -549,9 +593,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListJobsResponse other) { jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -590,37 +635,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.Job m = - input.readMessage( - com.google.cloud.talent.v4.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4.Job m = + input.readMessage(com.google.cloud.talent.v4.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -630,21 +675,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -661,6 +713,8 @@ public java.util.List getJobsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -677,6 +731,8 @@ public int getJobsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -693,6 +749,8 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -701,8 +759,7 @@ public com.google.cloud.talent.v4.Job getJobs(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder setJobs(
-        int index, com.google.cloud.talent.v4.Job value) {
+    public Builder setJobs(int index, com.google.cloud.talent.v4.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,6 +773,8 @@ public Builder setJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -724,8 +783,7 @@ public Builder setJobs(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder setJobs(
-        int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder setJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.set(index, builderForValue.build());
@@ -736,6 +794,8 @@ public Builder setJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -758,6 +818,8 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -766,8 +828,7 @@ public Builder addJobs(com.google.cloud.talent.v4.Job value) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(
-        int index, com.google.cloud.talent.v4.Job value) {
+    public Builder addJobs(int index, com.google.cloud.talent.v4.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -781,6 +842,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -789,8 +852,7 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(
-        com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder addJobs(com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(builderForValue.build());
@@ -801,6 +863,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -809,8 +873,7 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addJobs(
-        int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
+    public Builder addJobs(int index, com.google.cloud.talent.v4.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(index, builderForValue.build());
@@ -821,6 +884,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -829,12 +894,10 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public Builder addAllJobs(
-        java.lang.Iterable values) {
+    public Builder addAllJobs(java.lang.Iterable values) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_);
         onChanged();
       } else {
         jobsBuilder_.addAllMessages(values);
@@ -842,6 +905,8 @@ public Builder addAllJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -861,6 +926,8 @@ public Builder clearJobs() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -880,6 +947,8 @@ public Builder removeJobs(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -888,11 +957,12 @@ public Builder removeJobs(int index) {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(int index) {
       return getJobsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -901,14 +971,16 @@ public com.google.cloud.talent.v4.Job.Builder getJobsBuilder(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index) {
       if (jobsBuilder_ == null) {
-        return jobs_.get(index);  } else {
+        return jobs_.get(index);
+      } else {
         return jobsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -917,8 +989,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public java.util.List 
-         getJobsOrBuilderList() {
+    public java.util.List
+        getJobsOrBuilderList() {
       if (jobsBuilder_ != null) {
         return jobsBuilder_.getMessageOrBuilderList();
       } else {
@@ -926,6 +998,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -935,10 +1009,11 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
     public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() {
-      return getJobsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.Job.getDefaultInstance());
+      return getJobsFieldBuilder().addBuilder(com.google.cloud.talent.v4.Job.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -947,12 +1022,13 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder() {
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
-        int index) {
-      return getJobsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.Job.getDefaultInstance());
+    public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(int index) {
+      return getJobsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.Job.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -961,20 +1037,22 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
      *
      * repeated .google.cloud.talent.v4.Job jobs = 1;
      */
-    public java.util.List 
-         getJobsBuilderList() {
+    public java.util.List getJobsBuilderList() {
       return getJobsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> 
+            com.google.cloud.talent.v4.Job,
+            com.google.cloud.talent.v4.Job.Builder,
+            com.google.cloud.talent.v4.JobOrBuilder>
         getJobsFieldBuilder() {
       if (jobsBuilder_ == null) {
-        jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>(
-                jobs_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.Job,
+                com.google.cloud.talent.v4.Job.Builder,
+                com.google.cloud.talent.v4.JobOrBuilder>(
+                jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobs_ = null;
       }
       return jobsBuilder_;
@@ -982,18 +1060,20 @@ public com.google.cloud.talent.v4.Job.Builder addJobsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1002,20 +1082,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,54 +1104,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1078,36 +1166,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1129,6 +1230,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1148,6 +1251,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1159,7 +1264,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1171,6 +1278,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1190,6 +1299,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1198,11 +1309,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1214,11 +1327,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1227,21 +1343,24 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1251,12 +1370,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListJobsResponse)
   private static final com.google.cloud.talent.v4.ListJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListJobsResponse();
   }
@@ -1265,27 +1384,27 @@ public static com.google.cloud.talent.v4.ListJobsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1300,6 +1419,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
index 0cd79b8ce094..e352eb1e6790 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListJobsResponseOrBuilder extends
+public interface ListJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -16,9 +34,10 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  java.util.List 
-      getJobsList();
+  java.util.List getJobsList();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -29,6 +48,8 @@ public interface ListJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4.Job getJobs(int index);
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -39,6 +60,8 @@ public interface ListJobsResponseOrBuilder extends
    */
   int getJobsCount();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -47,9 +70,10 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  java.util.List 
-      getJobsOrBuilderList();
+  java.util.List getJobsOrBuilderList();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -58,50 +82,62 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.Job jobs = 1;
    */
-  com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.JobOrBuilder getJobsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
similarity index 66%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
index 8c31d0416296..623be2b632fd 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * List tenants for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsRequest} */ -public final class ListTenantsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTenantsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListTenantsRequest) ListTenantsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTenantsRequest.newBuilder() to construct. private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,45 @@ private ListTenantsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTenantsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsRequest.class, com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4.ListTenantsRequest.class, + com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -115,29 +144,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -148,12 +177,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -162,6 +194,7 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -200,8 +232,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,19 +242,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ListTenantsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.ListTenantsRequest other = (com.google.cloud.talent.v4.ListTenantsRequest) obj; + com.google.cloud.talent.v4.ListTenantsRequest other = + (com.google.cloud.talent.v4.ListTenantsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,130 +275,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ListTenantsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ListTenantsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List tenants for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListTenantsRequest) com.google.cloud.talent.v4.ListTenantsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsRequest.class, com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4.ListTenantsRequest.class, + com.google.cloud.talent.v4.ListTenantsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.ListTenantsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsRequest_descriptor; } @java.lang.Override @@ -404,7 +439,8 @@ public com.google.cloud.talent.v4.ListTenantsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.ListTenantsRequest buildPartial() { - com.google.cloud.talent.v4.ListTenantsRequest result = new com.google.cloud.talent.v4.ListTenantsRequest(this); + com.google.cloud.talent.v4.ListTenantsRequest result = + new com.google.cloud.talent.v4.ListTenantsRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -416,38 +452,39 @@ public com.google.cloud.talent.v4.ListTenantsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListTenantsRequest) { - return mergeFrom((com.google.cloud.talent.v4.ListTenantsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.ListTenantsRequest) other); } else { super.mergeFrom(other); return this; @@ -493,27 +530,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -526,20 +567,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -548,22 +593,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -571,60 +619,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -632,18 +693,20 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -652,20 +715,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -673,67 +737,77 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -741,39 +815,45 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,12 +863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListTenantsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListTenantsRequest) private static final com.google.cloud.talent.v4.ListTenantsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListTenantsRequest(); } @@ -797,27 +877,27 @@ public static com.google.cloud.talent.v4.ListTenantsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTenantsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTenantsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,6 +912,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ListTenantsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java index a542bdf48248..b0e0d61fb9aa 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsRequestOrBuilder.java @@ -1,63 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; -public interface ListTenantsRequestOrBuilder extends +public interface ListTenantsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListTenantsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java similarity index 72% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java index e14a057a9750..ff7558059e92 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The List tenants response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsResponse} */ -public final class ListTenantsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTenantsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ListTenantsResponse) ListTenantsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTenantsResponse.newBuilder() to construct. private ListTenantsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTenantsResponse() { tenants_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListTenantsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTenantsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsResponse.class, com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4.ListTenantsResponse.class, + com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); } public static final int TENANTS_FIELD_NUMBER = 1; private java.util.List tenants_; /** + * + * *
    * Tenants for the current client.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTenantsList() { return tenants_; } /** + * + * *
    * Tenants for the current client.
    * 
@@ -70,11 +93,13 @@ public java.util.List getTenantsList() { * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTenantsOrBuilderList() { return tenants_; } /** + * + * *
    * Tenants for the current client.
    * 
@@ -86,6 +111,8 @@ public int getTenantsCount() { return tenants_.size(); } /** + * + * *
    * Tenants for the current client.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { return tenants_.get(index); } /** + * + * *
    * Tenants for the current client.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( - int index) { + public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) { return tenants_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -158,12 +189,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -171,19 +205,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -197,6 +238,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,8 +250,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < tenants_.size(); i++) {
       output.writeMessage(1, tenants_.get(i));
     }
@@ -229,15 +270,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < tenants_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, tenants_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tenants_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,21 +286,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.ListTenantsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.ListTenantsResponse other = (com.google.cloud.talent.v4.ListTenantsResponse) obj;
+    com.google.cloud.talent.v4.ListTenantsResponse other =
+        (com.google.cloud.talent.v4.ListTenantsResponse) obj;
 
-    if (!getTenantsList()
-        .equals(other.getTenantsList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getTenantsList().equals(other.getTenantsList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -289,130 +326,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.ListTenantsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.ListTenantsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The List tenants response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ListTenantsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ListTenantsResponse) com.google.cloud.talent.v4.ListTenantsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ListTenantsResponse.class, com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4.ListTenantsResponse.class, + com.google.cloud.talent.v4.ListTenantsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.ListTenantsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_ListTenantsResponse_descriptor; } @java.lang.Override @@ -456,7 +499,8 @@ public com.google.cloud.talent.v4.ListTenantsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.ListTenantsResponse buildPartial() { - com.google.cloud.talent.v4.ListTenantsResponse result = new com.google.cloud.talent.v4.ListTenantsResponse(this); + com.google.cloud.talent.v4.ListTenantsResponse result = + new com.google.cloud.talent.v4.ListTenantsResponse(this); int from_bitField0_ = bitField0_; if (tenantsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +525,39 @@ public com.google.cloud.talent.v4.ListTenantsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ListTenantsResponse) { - return mergeFrom((com.google.cloud.talent.v4.ListTenantsResponse)other); + return mergeFrom((com.google.cloud.talent.v4.ListTenantsResponse) other); } else { super.mergeFrom(other); return this; @@ -539,9 +584,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.ListTenantsResponse other) { tenantsBuilder_ = null; tenants_ = other.tenants_; bitField0_ = (bitField0_ & ~0x00000001); - tenantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTenantsFieldBuilder() : null; + tenantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTenantsFieldBuilder() + : null; } else { tenantsBuilder_.addAllMessages(other.tenants_); } @@ -580,37 +626,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.Tenant m = - input.readMessage( - com.google.cloud.talent.v4.Tenant.parser(), - extensionRegistry); - if (tenantsBuilder_ == null) { - ensureTenantsIsMutable(); - tenants_.add(m); - } else { - tenantsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4.Tenant m = + input.readMessage( + com.google.cloud.talent.v4.Tenant.parser(), extensionRegistry); + if (tenantsBuilder_ == null) { + ensureTenantsIsMutable(); + tenants_.add(m); + } else { + tenantsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +667,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List tenants_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTenantsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantsBuilder_; + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> + tenantsBuilder_; /** + * + * *
      * Tenants for the current client.
      * 
@@ -649,6 +703,8 @@ public java.util.List getTenantsList() { } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -663,6 +719,8 @@ public int getTenantsCount() { } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -677,14 +735,15 @@ public com.google.cloud.talent.v4.Tenant getTenants(int index) { } } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder setTenants( - int index, com.google.cloud.talent.v4.Tenant value) { + public Builder setTenants(int index, com.google.cloud.talent.v4.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +757,8 @@ public Builder setTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -716,6 +777,8 @@ public Builder setTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -736,14 +799,15 @@ public Builder addTenants(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder addTenants( - int index, com.google.cloud.talent.v4.Tenant value) { + public Builder addTenants(int index, com.google.cloud.talent.v4.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,14 +821,15 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public Builder addTenants( - com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder addTenants(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); tenants_.add(builderForValue.build()); @@ -775,6 +840,8 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -793,6 +860,8 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -803,8 +872,7 @@ public Builder addAllTenants( java.lang.Iterable values) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tenants_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tenants_); onChanged(); } else { tenantsBuilder_.addAllMessages(values); @@ -812,6 +880,8 @@ public Builder addAllTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -829,6 +899,8 @@ public Builder clearTenants() { return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -846,39 +918,44 @@ public Builder removeTenants(int index) { return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.Tenant.Builder getTenantsBuilder( - int index) { + public com.google.cloud.talent.v4.Tenant.Builder getTenantsBuilder(int index) { return getTenantsFieldBuilder().getBuilder(index); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( - int index) { + public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index) { if (tenantsBuilder_ == null) { - return tenants_.get(index); } else { + return tenants_.get(index); + } else { return tenantsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public java.util.List - getTenantsOrBuilderList() { + public java.util.List + getTenantsOrBuilderList() { if (tenantsBuilder_ != null) { return tenantsBuilder_.getMessageOrBuilderList(); } else { @@ -886,6 +963,8 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -893,42 +972,47 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder() { - return getTenantsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.Tenant.getDefaultInstance()); + return getTenantsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4.Tenant.getDefaultInstance()); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder( - int index) { - return getTenantsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.Tenant.getDefaultInstance()); + public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder(int index) { + return getTenantsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.Tenant.getDefaultInstance()); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - public java.util.List - getTenantsBuilderList() { + public java.util.List getTenantsBuilderList() { return getTenantsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> getTenantsFieldBuilder() { if (tenantsBuilder_ == null) { - tenantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( - tenants_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tenantsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder>( + tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tenants_ = null; } return tenantsBuilder_; @@ -936,18 +1020,20 @@ public com.google.cloud.talent.v4.Tenant.Builder addTenantsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -956,20 +1042,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -977,54 +1064,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1032,36 +1126,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1083,6 +1190,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1102,6 +1211,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1113,7 +1224,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1125,6 +1238,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1144,6 +1259,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1152,11 +1269,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1168,11 +1287,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1181,21 +1303,24 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1205,12 +1330,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ListTenantsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ListTenantsResponse)
   private static final com.google.cloud.talent.v4.ListTenantsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ListTenantsResponse();
   }
@@ -1219,27 +1344,27 @@ public static com.google.cloud.talent.v4.ListTenantsResponse getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListTenantsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListTenantsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1379,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.ListTenantsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
index 360d115001e3..0cc6d7270367 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ListTenantsResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface ListTenantsResponseOrBuilder extends
+public interface ListTenantsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ListTenantsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - java.util.List - getTenantsList(); + java.util.List getTenantsList(); /** + * + * *
    * Tenants for the current client.
    * 
@@ -25,6 +44,8 @@ public interface ListTenantsResponseOrBuilder extends */ com.google.cloud.talent.v4.Tenant getTenants(int index); /** + * + * *
    * Tenants for the current client.
    * 
@@ -33,65 +54,80 @@ public interface ListTenantsResponseOrBuilder extends */ int getTenantsCount(); /** + * + * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - java.util.List - getTenantsOrBuilderList(); + java.util.List getTenantsOrBuilderList(); /** + * + * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4.Tenant tenants = 1; */ - com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder( - int index); + com.google.cloud.talent.v4.TenantOrBuilder getTenantsOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
similarity index 75%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
index d0fd24c22a0f..05309c61ffa7 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Location.java
@@ -1,63 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * A resource that represents a location with full geographic information.
  * 
* * Protobuf type {@code google.cloud.talent.v4.Location} */ -public final class Location extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Location extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Location) LocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Location() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Location.class, com.google.cloud.talent.v4.Location.Builder.class); + com.google.cloud.talent.v4.Location.class, + com.google.cloud.talent.v4.Location.Builder.class); } /** + * + * *
    * An enum which represents the type of a location.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.Location.LocationType} */ - public enum LocationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value if the type isn't specified.
      * 
@@ -66,6 +88,8 @@ public enum LocationType */ LOCATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * A country level location.
      * 
@@ -74,6 +98,8 @@ public enum LocationType */ COUNTRY(1), /** + * + * *
      * A state or equivalent level location.
      * 
@@ -82,6 +108,8 @@ public enum LocationType */ ADMINISTRATIVE_AREA(2), /** + * + * *
      * A county or equivalent level location.
      * 
@@ -90,6 +118,8 @@ public enum LocationType */ SUB_ADMINISTRATIVE_AREA(3), /** + * + * *
      * A city or equivalent level location.
      * 
@@ -98,6 +128,8 @@ public enum LocationType */ LOCALITY(4), /** + * + * *
      * A postal code level location.
      * 
@@ -106,6 +138,8 @@ public enum LocationType */ POSTAL_CODE(5), /** + * + * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -118,6 +152,8 @@ public enum LocationType
      */
     SUB_LOCALITY(6),
     /**
+     *
+     *
      * 
      * A district or equivalent level location.
      * 
@@ -126,6 +162,8 @@ public enum LocationType */ SUB_LOCALITY_1(7), /** + * + * *
      * A smaller district or equivalent level display.
      * 
@@ -134,6 +172,8 @@ public enum LocationType */ SUB_LOCALITY_2(8), /** + * + * *
      * A neighborhood level location.
      * 
@@ -142,6 +182,8 @@ public enum LocationType */ NEIGHBORHOOD(9), /** + * + * *
      * A street address level location.
      * 
@@ -153,6 +195,8 @@ public enum LocationType ; /** + * + * *
      * Default value if the type isn't specified.
      * 
@@ -161,6 +205,8 @@ public enum LocationType */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A country level location.
      * 
@@ -169,6 +215,8 @@ public enum LocationType */ public static final int COUNTRY_VALUE = 1; /** + * + * *
      * A state or equivalent level location.
      * 
@@ -177,6 +225,8 @@ public enum LocationType */ public static final int ADMINISTRATIVE_AREA_VALUE = 2; /** + * + * *
      * A county or equivalent level location.
      * 
@@ -185,6 +235,8 @@ public enum LocationType */ public static final int SUB_ADMINISTRATIVE_AREA_VALUE = 3; /** + * + * *
      * A city or equivalent level location.
      * 
@@ -193,6 +245,8 @@ public enum LocationType */ public static final int LOCALITY_VALUE = 4; /** + * + * *
      * A postal code level location.
      * 
@@ -201,6 +255,8 @@ public enum LocationType */ public static final int POSTAL_CODE_VALUE = 5; /** + * + * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -213,6 +269,8 @@ public enum LocationType
      */
     public static final int SUB_LOCALITY_VALUE = 6;
     /**
+     *
+     *
      * 
      * A district or equivalent level location.
      * 
@@ -221,6 +279,8 @@ public enum LocationType */ public static final int SUB_LOCALITY_1_VALUE = 7; /** + * + * *
      * A smaller district or equivalent level display.
      * 
@@ -229,6 +289,8 @@ public enum LocationType */ public static final int SUB_LOCALITY_2_VALUE = 8; /** + * + * *
      * A neighborhood level location.
      * 
@@ -237,6 +299,8 @@ public enum LocationType */ public static final int NEIGHBORHOOD_VALUE = 9; /** + * + * *
      * A street address level location.
      * 
@@ -245,7 +309,6 @@ public enum LocationType */ public static final int STREET_ADDRESS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -270,57 +333,65 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: return LOCATION_TYPE_UNSPECIFIED; - case 1: return COUNTRY; - case 2: return ADMINISTRATIVE_AREA; - case 3: return SUB_ADMINISTRATIVE_AREA; - case 4: return LOCALITY; - case 5: return POSTAL_CODE; - case 6: return SUB_LOCALITY; - case 7: return SUB_LOCALITY_1; - case 8: return SUB_LOCALITY_2; - case 9: return NEIGHBORHOOD; - case 10: return STREET_ADDRESS; - default: return null; + case 0: + return LOCATION_TYPE_UNSPECIFIED; + case 1: + return COUNTRY; + case 2: + return ADMINISTRATIVE_AREA; + case 3: + return SUB_ADMINISTRATIVE_AREA; + case 4: + return LOCALITY; + case 5: + return POSTAL_CODE; + case 6: + return SUB_LOCALITY; + case 7: + return SUB_LOCALITY_1; + case 8: + return SUB_LOCALITY_2; + case 9: + return NEIGHBORHOOD; + case 10: + return STREET_ADDRESS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LocationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -340,6 +411,8 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_; /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -348,12 +421,16 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -362,17 +439,22 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The locationType. */ - @java.lang.Override public com.google.cloud.talent.v4.Location.LocationType getLocationType() { + @java.lang.Override + public com.google.cloud.talent.v4.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Location.LocationType result = com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); + com.google.cloud.talent.v4.Location.LocationType result = + com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); return result == null ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED : result; } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 2; private com.google.type.PostalAddress postalAddress_; /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -381,6 +463,7 @@ private LocationType(int value) {
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -388,6 +471,8 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -396,13 +481,18 @@ public boolean hasPostalAddress() {
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -420,11 +510,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
   public static final int LAT_LNG_FIELD_NUMBER = 3;
   private com.google.type.LatLng latLng_;
   /**
+   *
+   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -432,11 +525,14 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ @java.lang.Override @@ -444,6 +540,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
@@ -458,6 +556,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int RADIUS_MILES_FIELD_NUMBER = 4; private double radiusMiles_; /** + * + * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -468,6 +568,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ @java.lang.Override @@ -476,6 +577,7 @@ public double getRadiusMiles() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -487,9 +589,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (locationType_ != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (locationType_ + != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, locationType_); } if (postalAddress_ != null) { @@ -510,21 +612,18 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, locationType_); + if (locationType_ + != com.google.cloud.talent.v4.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostalAddress()); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(radiusMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, radiusMiles_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, radiusMiles_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -534,7 +633,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Location)) { return super.equals(obj); @@ -544,17 +643,14 @@ public boolean equals(final java.lang.Object obj) { if (locationType_ != other.locationType_) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress() - .equals(other.getPostalAddress())) return false; + if (!getPostalAddress().equals(other.getPostalAddress())) return false; } if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng() - .equals(other.getLatLng())) return false; + if (!getLatLng().equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getRadiusMiles()) - != java.lang.Double.doubleToLongBits( - other.getRadiusMiles())) return false; + != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -577,137 +673,144 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + RADIUS_MILES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRadiusMiles())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRadiusMiles())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4.Location parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Location parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Location parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Location parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.Location parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Location parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Location parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Location parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Location parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource that represents a location with full geographic information.
    * 
* * Protobuf type {@code google.cloud.talent.v4.Location} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Location) com.google.cloud.talent.v4.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.Location.class, com.google.cloud.talent.v4.Location.Builder.class); + com.google.cloud.talent.v4.Location.class, + com.google.cloud.talent.v4.Location.Builder.class); } // Construct using com.google.cloud.talent.v4.Location.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -731,9 +834,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_Location_descriptor; } @java.lang.Override @@ -773,38 +876,39 @@ public com.google.cloud.talent.v4.Location buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.Location) { - return mergeFrom((com.google.cloud.talent.v4.Location)other); + return mergeFrom((com.google.cloud.talent.v4.Location) other); } else { super.mergeFrom(other); return this; @@ -851,36 +955,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - locationType_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getPostalAddressFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 33: { - radiusMiles_ = input.readDouble(); - - break; - } // case 33 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + locationType_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 33: + { + radiusMiles_ = input.readDouble(); + + break; + } // case 33 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -893,6 +998,8 @@ public Builder mergeFrom( private int locationType_ = 0; /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -901,12 +1008,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -915,16 +1026,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ public Builder setLocationTypeValue(int value) { - + locationType_ = value; onChanged(); return this; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -933,15 +1047,21 @@ public Builder setLocationTypeValue(int value) {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The locationType. */ @java.lang.Override public com.google.cloud.talent.v4.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.Location.LocationType result = com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); - return result == null ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4.Location.LocationType result = + com.google.cloud.talent.v4.Location.LocationType.valueOf(locationType_); + return result == null + ? com.google.cloud.talent.v4.Location.LocationType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -950,6 +1070,7 @@ public com.google.cloud.talent.v4.Location.LocationType getLocationType() {
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @param value The locationType to set. * @return This builder for chaining. */ @@ -957,12 +1078,14 @@ public Builder setLocationType(com.google.cloud.talent.v4.Location.LocationType if (value == null) { throw new NullPointerException(); } - + locationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -971,10 +1094,11 @@ public Builder setLocationType(com.google.cloud.talent.v4.Location.LocationType
      * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return This builder for chaining. */ public Builder clearLocationType() { - + locationType_ = 0; onChanged(); return this; @@ -982,8 +1106,13 @@ public Builder clearLocationType() { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + postalAddressBuilder_; /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -992,12 +1121,15 @@ public Builder clearLocationType() {
      * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1006,16 +1138,21 @@ public boolean hasPostalAddress() {
      * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1039,6 +1176,8 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1048,8 +1187,7 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
      *
      * .google.type.PostalAddress postal_address = 2;
      */
-    public Builder setPostalAddress(
-        com.google.type.PostalAddress.Builder builderForValue) {
+    public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) {
       if (postalAddressBuilder_ == null) {
         postalAddress_ = builderForValue.build();
         onChanged();
@@ -1060,6 +1198,8 @@ public Builder setPostalAddress(
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1073,7 +1213,9 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       if (postalAddressBuilder_ == null) {
         if (postalAddress_ != null) {
           postalAddress_ =
-            com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial();
+              com.google.type.PostalAddress.newBuilder(postalAddress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postalAddress_ = value;
         }
@@ -1085,6 +1227,8 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1106,6 +1250,8 @@ public Builder clearPostalAddress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1116,11 +1262,13 @@ public Builder clearPostalAddress() {
      * .google.type.PostalAddress postal_address = 2;
      */
     public com.google.type.PostalAddress.Builder getPostalAddressBuilder() {
-      
+
       onChanged();
       return getPostalAddressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1134,11 +1282,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
       if (postalAddressBuilder_ != null) {
         return postalAddressBuilder_.getMessageOrBuilder();
       } else {
-        return postalAddress_ == null ?
-            com.google.type.PostalAddress.getDefaultInstance() : postalAddress_;
+        return postalAddress_ == null
+            ? com.google.type.PostalAddress.getDefaultInstance()
+            : postalAddress_;
       }
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1149,14 +1300,17 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
      * .google.type.PostalAddress postal_address = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> 
+            com.google.type.PostalAddress,
+            com.google.type.PostalAddress.Builder,
+            com.google.type.PostalAddressOrBuilder>
         getPostalAddressFieldBuilder() {
       if (postalAddressBuilder_ == null) {
-        postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>(
-                getPostalAddress(),
-                getParentForChildren(),
-                isClean());
+        postalAddressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.PostalAddress,
+                com.google.type.PostalAddress.Builder,
+                com.google.type.PostalAddressOrBuilder>(
+                getPostalAddress(), getParentForChildren(), isClean());
         postalAddress_ = null;
       }
       return postalAddressBuilder_;
@@ -1164,24 +1318,31 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
 
     private com.google.type.LatLng latLng_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_;
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        latLngBuilder_;
     /**
+     *
+     *
      * 
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1192,6 +1353,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1212,14 +1375,15 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; */ - public Builder setLatLng( - com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -1230,6 +1394,8 @@ public Builder setLatLng( return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1239,8 +1405,7 @@ public Builder setLatLng( public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = - com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -1252,6 +1417,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1270,6 +1437,8 @@ public Builder clearLatLng() { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1277,11 +1446,13 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 3; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1292,11 +1463,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? - com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1304,21 +1476,23 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getLatLng(), - getParentForChildren(), - isClean()); + latLngBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); latLng_ = null; } return latLngBuilder_; } - private double radiusMiles_ ; + private double radiusMiles_; /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1329,6 +1503,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ @java.lang.Override @@ -1336,6 +1511,8 @@ public double getRadiusMiles() { return radiusMiles_; } /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1346,16 +1523,19 @@ public double getRadiusMiles() {
      * 
* * double radius_miles = 4; + * * @param value The radiusMiles to set. * @return This builder for chaining. */ public Builder setRadiusMiles(double value) { - + radiusMiles_ = value; onChanged(); return this; } /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1366,17 +1546,18 @@ public Builder setRadiusMiles(double value) {
      * 
* * double radius_miles = 4; + * * @return This builder for chaining. */ public Builder clearRadiusMiles() { - + radiusMiles_ = 0D; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1386,12 +1567,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Location) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Location) private static final com.google.cloud.talent.v4.Location DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Location(); } @@ -1400,27 +1581,27 @@ public static com.google.cloud.talent.v4.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1435,6 +1616,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java index ad875e7fabfc..d78bc9fe97e2 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; /** + * + * *
  * Geographic region of the search.
  * 
* * Protobuf type {@code google.cloud.talent.v4.LocationFilter} */ -public final class LocationFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.LocationFilter) LocationFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LocationFilter.newBuilder() to construct. private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LocationFilter() { address_ = ""; regionCode_ = ""; @@ -27,39 +45,43 @@ private LocationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LocationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.LocationFilter.class, com.google.cloud.talent.v4.LocationFilter.Builder.class); + com.google.cloud.talent.v4.LocationFilter.class, + com.google.cloud.talent.v4.LocationFilter.Builder.class); } /** + * + * *
    * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4.LocationFilter.TelecommutePreference} */ - public enum TelecommutePreference - implements com.google.protobuf.ProtocolMessageEnum { + public enum TelecommutePreference implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -68,6 +90,8 @@ public enum TelecommutePreference */ TELECOMMUTE_PREFERENCE_UNSPECIFIED(0), /** + * + * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -78,6 +102,8 @@ public enum TelecommutePreference
     @java.lang.Deprecated
     TELECOMMUTE_EXCLUDED(1),
     /**
+     *
+     *
      * 
      * Allow telecommute jobs.
      * 
@@ -86,6 +112,8 @@ public enum TelecommutePreference */ TELECOMMUTE_ALLOWED(2), /** + * + * *
      * Exclude telecommute jobs.
      * 
@@ -97,6 +125,8 @@ public enum TelecommutePreference ; /** + * + * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -105,6 +135,8 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_PREFERENCE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -114,6 +146,8 @@ public enum TelecommutePreference
      */
     @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Allow telecommute jobs.
      * 
@@ -122,6 +156,8 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; /** + * + * *
      * Exclude telecommute jobs.
      * 
@@ -130,7 +166,6 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -155,11 +190,16 @@ public static TelecommutePreference valueOf(int value) { */ public static TelecommutePreference forNumber(int value) { switch (value) { - case 0: return TELECOMMUTE_PREFERENCE_UNSPECIFIED; - case 1: return TELECOMMUTE_EXCLUDED; - case 2: return TELECOMMUTE_ALLOWED; - case 3: return TELECOMMUTE_JOBS_EXCLUDED; - default: return null; + case 0: + return TELECOMMUTE_PREFERENCE_UNSPECIFIED; + case 1: + return TELECOMMUTE_EXCLUDED; + case 2: + return TELECOMMUTE_ALLOWED; + case 3: + return TELECOMMUTE_JOBS_EXCLUDED; + default: + return null; } } @@ -167,28 +207,28 @@ public static TelecommutePreference forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TelecommutePreference> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TelecommutePreference findValueByNumber(int number) { - return TelecommutePreference.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TelecommutePreference findValueByNumber(int number) { + return TelecommutePreference.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.LocationFilter.getDescriptor().getEnumTypes().get(0); } @@ -197,8 +237,7 @@ public TelecommutePreference findValueByNumber(int number) { public static TelecommutePreference valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -218,11 +257,14 @@ private TelecommutePreference(int value) { public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The address. */ @java.lang.Override @@ -231,29 +273,29 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -264,6 +306,8 @@ public java.lang.String getAddress() { public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -280,6 +324,7 @@ public java.lang.String getAddress() {
    * 
* * string region_code = 2; + * * @return The regionCode. */ @java.lang.Override @@ -288,14 +333,15 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -312,16 +358,15 @@ public java.lang.String getRegionCode() {
    * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -332,12 +377,15 @@ public java.lang.String getRegionCode() { public static final int LAT_LNG_FIELD_NUMBER = 3; private com.google.type.LatLng latLng_; /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -345,12 +393,15 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ @java.lang.Override @@ -358,6 +409,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -373,6 +426,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
   public static final int DISTANCE_IN_MILES_FIELD_NUMBER = 4;
   private double distanceInMiles_;
   /**
+   *
+   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -380,6 +435,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ @java.lang.Override @@ -390,6 +446,8 @@ public double getDistanceInMiles() { public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER = 5; private int telecommutePreference_; /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -411,13 +469,18 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override public int getTelecommutePreferenceValue() { + @java.lang.Override + public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -439,16 +502,25 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ - @java.lang.Override public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference() { + @java.lang.Override + public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference + getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); - return result == null ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf( + telecommutePreference_); + return result == null + ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -460,8 +532,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -474,7 +545,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { output.writeDouble(4, distanceInMiles_); } - if (telecommutePreference_ != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { + if (telecommutePreference_ + != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference + .TELECOMMUTE_PREFERENCE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, telecommutePreference_); } getUnknownFields().writeTo(output); @@ -493,16 +567,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, distanceInMiles_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, distanceInMiles_); } - if (telecommutePreference_ != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, telecommutePreference_); + if (telecommutePreference_ + != com.google.cloud.talent.v4.LocationFilter.TelecommutePreference + .TELECOMMUTE_PREFERENCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, telecommutePreference_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -512,25 +586,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.LocationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4.LocationFilter other = (com.google.cloud.talent.v4.LocationFilter) obj; + com.google.cloud.talent.v4.LocationFilter other = + (com.google.cloud.talent.v4.LocationFilter) obj; - if (!getAddress() - .equals(other.getAddress())) return false; - if (!getRegionCode() - .equals(other.getRegionCode())) return false; + if (!getAddress().equals(other.getAddress())) return false; + if (!getRegionCode().equals(other.getRegionCode())) return false; if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng() - .equals(other.getLatLng())) return false; + if (!getLatLng().equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - != java.lang.Double.doubleToLongBits( - other.getDistanceInMiles())) return false; + != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; if (telecommutePreference_ != other.telecommutePreference_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -552,8 +623,10 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + DISTANCE_IN_MILES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistanceInMiles())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistanceInMiles())); hash = (37 * hash) + TELECOMMUTE_PREFERENCE_FIELD_NUMBER; hash = (53 * hash) + telecommutePreference_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -561,130 +634,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.LocationFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.LocationFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.LocationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.LocationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Geographic region of the search.
    * 
* * Protobuf type {@code google.cloud.talent.v4.LocationFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.LocationFilter) com.google.cloud.talent.v4.LocationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.LocationFilter.class, com.google.cloud.talent.v4.LocationFilter.Builder.class); + com.google.cloud.talent.v4.LocationFilter.class, + com.google.cloud.talent.v4.LocationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4.LocationFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -706,9 +785,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.FiltersProto.internal_static_google_cloud_talent_v4_LocationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.FiltersProto + .internal_static_google_cloud_talent_v4_LocationFilter_descriptor; } @java.lang.Override @@ -727,7 +806,8 @@ public com.google.cloud.talent.v4.LocationFilter build() { @java.lang.Override public com.google.cloud.talent.v4.LocationFilter buildPartial() { - com.google.cloud.talent.v4.LocationFilter result = new com.google.cloud.talent.v4.LocationFilter(this); + com.google.cloud.talent.v4.LocationFilter result = + new com.google.cloud.talent.v4.LocationFilter(this); result.address_ = address_; result.regionCode_ = regionCode_; if (latLngBuilder_ == null) { @@ -745,38 +825,39 @@ public com.google.cloud.talent.v4.LocationFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.LocationFilter) { - return mergeFrom((com.google.cloud.talent.v4.LocationFilter)other); + return mergeFrom((com.google.cloud.talent.v4.LocationFilter) other); } else { super.mergeFrom(other); return this; @@ -828,39 +909,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - address_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 33: { - distanceInMiles_ = input.readDouble(); - - break; - } // case 33 - case 40: { - telecommutePreference_ = input.readEnum(); - - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + address_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + regionCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 33: + { + distanceInMiles_ = input.readDouble(); + + break; + } // case 33 + case 40: + { + telecommutePreference_ = input.readEnum(); + + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -873,18 +958,20 @@ public Builder mergeFrom( private java.lang.Object address_ = ""; /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -893,20 +980,21 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return The bytes for address. */ - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -914,54 +1002,61 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress( - java.lang.String value) { + public Builder setAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + address_ = value; onChanged(); return this; } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return This builder for chaining. */ public Builder clearAddress() { - + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + address_ = value; onChanged(); return this; @@ -969,6 +1064,8 @@ public Builder setAddressBytes( private java.lang.Object regionCode_ = ""; /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -985,13 +1082,13 @@ public Builder setAddressBytes(
      * 
* * string region_code = 2; + * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1000,6 +1097,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1016,15 +1115,14 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1032,6 +1130,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1048,20 +1148,22 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode( - java.lang.String value) { + public Builder setRegionCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1078,15 +1180,18 @@ public Builder setRegionCode(
      * 
* * string region_code = 2; + * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1103,16 +1208,16 @@ public Builder clearRegionCode() {
      * 
* * string region_code = 2; + * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; @@ -1120,26 +1225,33 @@ public Builder setRegionCodeBytes( private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + latLngBuilder_; /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1150,6 +1262,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1171,6 +1285,8 @@ public Builder setLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1178,8 +1294,7 @@ public Builder setLatLng(com.google.type.LatLng value) {
      *
      * .google.type.LatLng lat_lng = 3;
      */
-    public Builder setLatLng(
-        com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
       if (latLngBuilder_ == null) {
         latLng_ = builderForValue.build();
         onChanged();
@@ -1190,6 +1305,8 @@ public Builder setLatLng(
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1200,8 +1317,7 @@ public Builder setLatLng(
     public Builder mergeLatLng(com.google.type.LatLng value) {
       if (latLngBuilder_ == null) {
         if (latLng_ != null) {
-          latLng_ =
-            com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
+          latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
         } else {
           latLng_ = value;
         }
@@ -1213,6 +1329,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1232,6 +1350,8 @@ public Builder clearLatLng() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1240,11 +1360,13 @@ public Builder clearLatLng() {
      * .google.type.LatLng lat_lng = 3;
      */
     public com.google.type.LatLng.Builder getLatLngBuilder() {
-      
+
       onChanged();
       return getLatLngFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1256,11 +1378,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
       if (latLngBuilder_ != null) {
         return latLngBuilder_.getMessageOrBuilder();
       } else {
-        return latLng_ == null ?
-            com.google.type.LatLng.getDefaultInstance() : latLng_;
+        return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_;
       }
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1269,21 +1392,23 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * .google.type.LatLng lat_lng = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
         getLatLngFieldBuilder() {
       if (latLngBuilder_ == null) {
-        latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
-                getLatLng(),
-                getParentForChildren(),
-                isClean());
+        latLngBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.LatLng,
+                com.google.type.LatLng.Builder,
+                com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean());
         latLng_ = null;
       }
       return latLngBuilder_;
     }
 
-    private double distanceInMiles_ ;
+    private double distanceInMiles_;
     /**
+     *
+     *
      * 
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1291,6 +1416,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ @java.lang.Override @@ -1298,6 +1424,8 @@ public double getDistanceInMiles() { return distanceInMiles_; } /** + * + * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1305,16 +1433,19 @@ public double getDistanceInMiles() {
      * 
* * double distance_in_miles = 4; + * * @param value The distanceInMiles to set. * @return This builder for chaining. */ public Builder setDistanceInMiles(double value) { - + distanceInMiles_ = value; onChanged(); return this; } /** + * + * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1322,10 +1453,11 @@ public Builder setDistanceInMiles(double value) {
      * 
* * double distance_in_miles = 4; + * * @return This builder for chaining. */ public Builder clearDistanceInMiles() { - + distanceInMiles_ = 0D; onChanged(); return this; @@ -1333,6 +1465,8 @@ public Builder clearDistanceInMiles() { private int telecommutePreference_ = 0; /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1354,13 +1488,19 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override public int getTelecommutePreferenceValue() { + @java.lang.Override + public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1382,17 +1522,22 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @param value The enum numeric value on the wire for telecommutePreference to set. * @return This builder for chaining. */ public Builder setTelecommutePreferenceValue(int value) { - + telecommutePreference_ = value; onChanged(); return this; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1414,16 +1559,26 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ @java.lang.Override - public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference() { + public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference + getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); - return result == null ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference result = + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.valueOf( + telecommutePreference_); + return result == null + ? com.google.cloud.talent.v4.LocationFilter.TelecommutePreference.UNRECOGNIZED + : result; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1445,20 +1600,26 @@ public com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTeleco
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @param value The telecommutePreference to set. * @return This builder for chaining. */ - public Builder setTelecommutePreference(com.google.cloud.talent.v4.LocationFilter.TelecommutePreference value) { + public Builder setTelecommutePreference( + com.google.cloud.talent.v4.LocationFilter.TelecommutePreference value) { if (value == null) { throw new NullPointerException(); } - + telecommutePreference_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1480,18 +1641,21 @@ public Builder setTelecommutePreference(com.google.cloud.talent.v4.LocationFilte
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return This builder for chaining. */ public Builder clearTelecommutePreference() { - + telecommutePreference_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1501,12 +1665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.LocationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.LocationFilter) private static final com.google.cloud.talent.v4.LocationFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.LocationFilter(); } @@ -1515,27 +1679,27 @@ public static com.google.cloud.talent.v4.LocationFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1550,6 +1714,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.LocationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java similarity index 88% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java index 185f5e7508dd..4d0548ba5596 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationFilterOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/filters.proto package com.google.cloud.talent.v4; -public interface LocationFilterOrBuilder extends +public interface LocationFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.LocationFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The address. */ java.lang.String getAddress(); /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The bytes for address. */ - com.google.protobuf.ByteString - getAddressBytes(); + com.google.protobuf.ByteString getAddressBytes(); /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -44,10 +67,13 @@ public interface LocationFilterOrBuilder extends
    * 
* * string region_code = 2; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -64,32 +90,40 @@ public interface LocationFilterOrBuilder extends
    * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -100,6 +134,8 @@ public interface LocationFilterOrBuilder extends
   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
 
   /**
+   *
+   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -107,11 +143,14 @@ public interface LocationFilterOrBuilder extends
    * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ double getDistanceInMiles(); /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -133,11 +172,15 @@ public interface LocationFilterOrBuilder extends
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ int getTelecommutePreferenceValue(); /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -159,7 +202,9 @@ public interface LocationFilterOrBuilder extends
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * .google.cloud.talent.v4.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ com.google.cloud.talent.v4.LocationFilter.TelecommutePreference getTelecommutePreference(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java similarity index 83% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java index 7047998b8482..50d378a0937a 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/LocationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface LocationOrBuilder extends +public interface LocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Location) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -16,10 +34,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -28,11 +49,14 @@ public interface LocationOrBuilder extends
    * 
* * .google.cloud.talent.v4.Location.LocationType location_type = 1; + * * @return The locationType. */ com.google.cloud.talent.v4.Location.LocationType getLocationType(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -41,10 +65,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -53,10 +80,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -69,24 +99,32 @@ public interface LocationOrBuilder extends
   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
 
   /**
+   *
+   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
@@ -96,6 +134,8 @@ public interface LocationOrBuilder extends com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** + * + * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -106,6 +146,7 @@ public interface LocationOrBuilder extends
    * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ double getRadiusMiles(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java similarity index 78% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java index 015925caed96..fc2560165de0 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/PostingRegion.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * An enum that represents the job posting region. In most cases, job postings
  * don't need to specify a region. If a region is given, jobs are
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.PostingRegion}
  */
-public enum PostingRegion
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
@@ -24,6 +42,8 @@ public enum PostingRegion
    */
   POSTING_REGION_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
@@ -39,6 +59,8 @@ public enum PostingRegion
    */
   ADMINISTRATIVE_AREA(1),
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
@@ -50,6 +72,8 @@ public enum PostingRegion
    */
   NATION(2),
   /**
+   *
+   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -63,6 +87,8 @@ public enum PostingRegion
   ;
 
   /**
+   *
+   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4.LocationFilter].
@@ -72,6 +98,8 @@ public enum PostingRegion
    */
   public static final int POSTING_REGION_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in the search query is in the same administrative area
@@ -87,6 +115,8 @@ public enum PostingRegion
    */
   public static final int ADMINISTRATIVE_AREA_VALUE = 1;
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4.LocationFilter] in search query is in the same country as this job.
@@ -98,6 +128,8 @@ public enum PostingRegion
    */
   public static final int NATION_VALUE = 2;
   /**
+   *
+   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -108,7 +140,6 @@ public enum PostingRegion
    */
   public static final int TELECOMMUTE_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -133,50 +164,51 @@ public static PostingRegion valueOf(int value) {
    */
   public static PostingRegion forNumber(int value) {
     switch (value) {
-      case 0: return POSTING_REGION_UNSPECIFIED;
-      case 1: return ADMINISTRATIVE_AREA;
-      case 2: return NATION;
-      case 3: return TELECOMMUTE;
-      default: return null;
+      case 0:
+        return POSTING_REGION_UNSPECIFIED;
+      case 1:
+        return ADMINISTRATIVE_AREA;
+      case 2:
+        return NATION;
+      case 3:
+        return TELECOMMUTE;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      PostingRegion> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PostingRegion findValueByNumber(int number) {
-            return PostingRegion.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public PostingRegion findValueByNumber(int number) {
+          return PostingRegion.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(6);
   }
 
   private static final PostingRegion[] VALUES = values();
 
-  public static PostingRegion valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PostingRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -192,4 +224,3 @@ private PostingRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.PostingRegion)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ProjectName.java
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
similarity index 78%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
index c00fbaa71b27..4b85c24956c6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Meta information related to the job searcher or entity
  * conducting the job search. This information is used to improve the
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.RequestMetadata}
  */
-public final class RequestMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.RequestMetadata)
     RequestMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RequestMetadata.newBuilder() to construct.
   private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RequestMetadata() {
     domain_ = "";
     sessionId_ = "";
@@ -29,32 +47,35 @@ private RequestMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4.CommonProto
+        .internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.RequestMetadata.class, com.google.cloud.talent.v4.RequestMetadata.Builder.class);
+            com.google.cloud.talent.v4.RequestMetadata.class,
+            com.google.cloud.talent.v4.RequestMetadata.Builder.class);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 1;
   private volatile java.lang.Object domain_;
   /**
+   *
+   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -70,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * string domain = 1; + * * @return The domain. */ @java.lang.Override @@ -78,14 +100,15 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -101,16 +124,15 @@ public java.lang.String getDomain() {
    * 
* * string domain = 1; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -121,6 +143,8 @@ public java.lang.String getDomain() { public static final int SESSION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sessionId_; /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -134,6 +158,7 @@ public java.lang.String getDomain() {
    * 
* * string session_id = 2; + * * @return The sessionId. */ @java.lang.Override @@ -142,14 +167,15 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -163,16 +189,15 @@ public java.lang.String getSessionId() {
    * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -183,6 +208,8 @@ public java.lang.String getSessionId() { public static final int USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object userId_; /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -196,6 +223,7 @@ public java.lang.String getSessionId() {
    * 
* * string user_id = 3; + * * @return The userId. */ @java.lang.Override @@ -204,14 +232,15 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -225,16 +254,15 @@ public java.lang.String getUserId() {
    * 
* * string user_id = 3; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -245,6 +273,8 @@ public java.lang.String getUserId() { public static final int ALLOW_MISSING_IDS_FIELD_NUMBER = 4; private boolean allowMissingIds_; /** + * + * *
    * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -253,6 +283,7 @@ public java.lang.String getUserId() {
    * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ @java.lang.Override @@ -263,12 +294,15 @@ public boolean getAllowMissingIds() { public static final int DEVICE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.DeviceInfo deviceInfo_; /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ @java.lang.Override @@ -276,19 +310,26 @@ public boolean hasDeviceInfo() { return deviceInfo_ != null; } /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ @java.lang.Override public com.google.cloud.talent.v4.DeviceInfo getDeviceInfo() { - return deviceInfo_ == null ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_; + return deviceInfo_ == null + ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() + : deviceInfo_; } /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
@@ -302,6 +343,7 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +355,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
     }
@@ -349,12 +390,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_);
     }
     if (allowMissingIds_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, allowMissingIds_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissingIds_);
     }
     if (deviceInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getDeviceInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeviceInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -364,25 +403,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.RequestMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.RequestMetadata other = (com.google.cloud.talent.v4.RequestMetadata) obj;
+    com.google.cloud.talent.v4.RequestMetadata other =
+        (com.google.cloud.talent.v4.RequestMetadata) obj;
 
-    if (!getDomain()
-        .equals(other.getDomain())) return false;
-    if (!getSessionId()
-        .equals(other.getSessionId())) return false;
-    if (!getUserId()
-        .equals(other.getUserId())) return false;
-    if (getAllowMissingIds()
-        != other.getAllowMissingIds()) return false;
+    if (!getDomain().equals(other.getDomain())) return false;
+    if (!getSessionId().equals(other.getSessionId())) return false;
+    if (!getUserId().equals(other.getUserId())) return false;
+    if (getAllowMissingIds() != other.getAllowMissingIds()) return false;
     if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
     if (hasDeviceInfo()) {
-      if (!getDeviceInfo()
-          .equals(other.getDeviceInfo())) return false;
+      if (!getDeviceInfo().equals(other.getDeviceInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -402,8 +437,7 @@ public int hashCode() {
     hash = (37 * hash) + USER_ID_FIELD_NUMBER;
     hash = (53 * hash) + getUserId().hashCode();
     hash = (37 * hash) + ALLOW_MISSING_IDS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowMissingIds());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissingIds());
     if (hasDeviceInfo()) {
       hash = (37 * hash) + DEVICE_INFO_FIELD_NUMBER;
       hash = (53 * hash) + getDeviceInfo().hashCode();
@@ -413,97 +447,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.RequestMetadata parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.RequestMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.RequestMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Meta information related to the job searcher or entity
    * conducting the job search. This information is used to improve the
@@ -512,33 +553,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.RequestMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.RequestMetadata)
       com.google.cloud.talent.v4.RequestMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.RequestMetadata.class, com.google.cloud.talent.v4.RequestMetadata.Builder.class);
+              com.google.cloud.talent.v4.RequestMetadata.class,
+              com.google.cloud.talent.v4.RequestMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.RequestMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,9 +600,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.CommonProto
+          .internal_static_google_cloud_talent_v4_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -581,7 +621,8 @@ public com.google.cloud.talent.v4.RequestMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4.RequestMetadata buildPartial() {
-      com.google.cloud.talent.v4.RequestMetadata result = new com.google.cloud.talent.v4.RequestMetadata(this);
+      com.google.cloud.talent.v4.RequestMetadata result =
+          new com.google.cloud.talent.v4.RequestMetadata(this);
       result.domain_ = domain_;
       result.sessionId_ = sessionId_;
       result.userId_ = userId_;
@@ -599,38 +640,39 @@ public com.google.cloud.talent.v4.RequestMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.RequestMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4.RequestMetadata)other);
+        return mergeFrom((com.google.cloud.talent.v4.RequestMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -683,39 +725,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              domain_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                domain_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              sessionId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                sessionId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              userId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                userId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              allowMissingIds_ = input.readBool();
+                break;
+              } // case 26
+            case 32:
+              {
+                allowMissingIds_ = input.readBool();
 
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getDeviceInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getDeviceInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -728,6 +774,8 @@ public Builder mergeFrom(
 
     private java.lang.Object domain_ = "";
     /**
+     *
+     *
      * 
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -743,13 +791,13 @@ public Builder mergeFrom(
      * 
* * string domain = 1; + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -758,6 +806,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -773,15 +823,14 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -789,6 +838,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -804,20 +855,22 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -833,15 +886,18 @@ public Builder setDomain(
      * 
* * string domain = 1; + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -857,16 +913,16 @@ public Builder clearDomain() {
      * 
* * string domain = 1; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -874,6 +930,8 @@ public Builder setDomainBytes( private java.lang.Object sessionId_ = ""; /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -887,13 +945,13 @@ public Builder setDomainBytes(
      * 
* * string session_id = 2; + * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -902,6 +960,8 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -915,15 +975,14 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -931,6 +990,8 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -944,20 +1005,22 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; + * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId( - java.lang.String value) { + public Builder setSessionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sessionId_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -971,15 +1034,18 @@ public Builder setSessionId(
      * 
* * string session_id = 2; + * * @return This builder for chaining. */ public Builder clearSessionId() { - + sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -993,16 +1059,16 @@ public Builder clearSessionId() {
      * 
* * string session_id = 2; + * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionId_ = value; onChanged(); return this; @@ -1010,6 +1076,8 @@ public Builder setSessionIdBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1023,13 +1091,13 @@ public Builder setSessionIdBytes(
      * 
* * string user_id = 3; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -1038,6 +1106,8 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1051,15 +1121,14 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -1067,6 +1136,8 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1080,20 +1151,22 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { + public Builder setUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userId_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1107,15 +1180,18 @@ public Builder setUserId(
      * 
* * string user_id = 3; + * * @return This builder for chaining. */ public Builder clearUserId() { - + userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1129,23 +1205,25 @@ public Builder clearUserId() {
      * 
* * string user_id = 3; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; onChanged(); return this; } - private boolean allowMissingIds_ ; + private boolean allowMissingIds_; /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1154,6 +1232,7 @@ public Builder setUserIdBytes(
      * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ @java.lang.Override @@ -1161,6 +1240,8 @@ public boolean getAllowMissingIds() { return allowMissingIds_; } /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1169,16 +1250,19 @@ public boolean getAllowMissingIds() {
      * 
* * bool allow_missing_ids = 4; + * * @param value The allowMissingIds to set. * @return This builder for chaining. */ public Builder setAllowMissingIds(boolean value) { - + allowMissingIds_ = value; onChanged(); return this; } /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1187,10 +1271,11 @@ public Builder setAllowMissingIds(boolean value) {
      * 
* * bool allow_missing_ids = 4; + * * @return This builder for chaining. */ public Builder clearAllowMissingIds() { - + allowMissingIds_ = false; onChanged(); return this; @@ -1198,36 +1283,49 @@ public Builder clearAllowMissingIds() { private com.google.cloud.talent.v4.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder> deviceInfoBuilder_; + com.google.cloud.talent.v4.DeviceInfo, + com.google.cloud.talent.v4.DeviceInfo.Builder, + com.google.cloud.talent.v4.DeviceInfoOrBuilder> + deviceInfoBuilder_; /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ public boolean hasDeviceInfo() { return deviceInfoBuilder_ != null || deviceInfo_ != null; } /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ public com.google.cloud.talent.v4.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { - return deviceInfo_ == null ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_; + return deviceInfo_ == null + ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() + : deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1249,6 +1347,8 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1256,8 +1356,7 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
      *
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
-    public Builder setDeviceInfo(
-        com.google.cloud.talent.v4.DeviceInfo.Builder builderForValue) {
+    public Builder setDeviceInfo(com.google.cloud.talent.v4.DeviceInfo.Builder builderForValue) {
       if (deviceInfoBuilder_ == null) {
         deviceInfo_ = builderForValue.build();
         onChanged();
@@ -1268,6 +1367,8 @@ public Builder setDeviceInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1279,7 +1380,9 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       if (deviceInfoBuilder_ == null) {
         if (deviceInfo_ != null) {
           deviceInfo_ =
-            com.google.cloud.talent.v4.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.DeviceInfo.newBuilder(deviceInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           deviceInfo_ = value;
         }
@@ -1291,6 +1394,8 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4.DeviceInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1310,6 +1415,8 @@ public Builder clearDeviceInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1318,11 +1425,13 @@ public Builder clearDeviceInfo() {
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
     public com.google.cloud.talent.v4.DeviceInfo.Builder getDeviceInfoBuilder() {
-      
+
       onChanged();
       return getDeviceInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1334,11 +1443,14 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
       if (deviceInfoBuilder_ != null) {
         return deviceInfoBuilder_.getMessageOrBuilder();
       } else {
-        return deviceInfo_ == null ?
-            com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance() : deviceInfo_;
+        return deviceInfo_ == null
+            ? com.google.cloud.talent.v4.DeviceInfo.getDefaultInstance()
+            : deviceInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1347,21 +1459,24 @@ public com.google.cloud.talent.v4.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
      * .google.cloud.talent.v4.DeviceInfo device_info = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder> 
+            com.google.cloud.talent.v4.DeviceInfo,
+            com.google.cloud.talent.v4.DeviceInfo.Builder,
+            com.google.cloud.talent.v4.DeviceInfoOrBuilder>
         getDeviceInfoFieldBuilder() {
       if (deviceInfoBuilder_ == null) {
-        deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.DeviceInfo, com.google.cloud.talent.v4.DeviceInfo.Builder, com.google.cloud.talent.v4.DeviceInfoOrBuilder>(
-                getDeviceInfo(),
-                getParentForChildren(),
-                isClean());
+        deviceInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.DeviceInfo,
+                com.google.cloud.talent.v4.DeviceInfo.Builder,
+                com.google.cloud.talent.v4.DeviceInfoOrBuilder>(
+                getDeviceInfo(), getParentForChildren(), isClean());
         deviceInfo_ = null;
       }
       return deviceInfoBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1371,12 +1486,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.RequestMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.RequestMetadata)
   private static final com.google.cloud.talent.v4.RequestMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.RequestMetadata();
   }
@@ -1385,27 +1500,27 @@ public static com.google.cloud.talent.v4.RequestMetadata getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RequestMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RequestMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1420,6 +1535,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.RequestMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
similarity index 86%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
index 2759d8afffa4..47d1940f75b4 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/RequestMetadataOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
-public interface RequestMetadataOrBuilder extends
+public interface RequestMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.RequestMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -23,10 +41,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string domain = 1; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -42,12 +63,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string domain = 1; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -61,10 +84,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string session_id = 2; + * * @return The sessionId. */ java.lang.String getSessionId(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -78,12 +104,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString - getSessionIdBytes(); + com.google.protobuf.ByteString getSessionIdBytes(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -97,10 +125,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string user_id = 3; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -114,12 +145,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string user_id = 3; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Only set when any of [domain][google.cloud.talent.v4.RequestMetadata.domain], [session_id][google.cloud.talent.v4.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -128,31 +161,40 @@ public interface RequestMetadataOrBuilder extends
    * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ boolean getAllowMissingIds(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ boolean hasDeviceInfo(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ com.google.cloud.talent.v4.DeviceInfo getDeviceInfo(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
similarity index 65%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
index 7490544ac27a..358f9d27d96e 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadata.java
@@ -1,62 +1,84 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Additional information returned to client, such as debugging information.
  * 
* * Protobuf type {@code google.cloud.talent.v4.ResponseMetadata} */ -public final class ResponseMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.ResponseMetadata) ResponseMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResponseMetadata.newBuilder() to construct. private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResponseMetadata() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResponseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ResponseMetadata.class, com.google.cloud.talent.v4.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4.ResponseMetadata.class, + com.google.cloud.talent.v4.ResponseMetadata.Builder.class); } public static final int REQUEST_ID_FIELD_NUMBER = 1; private volatile java.lang.Object requestId_; /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The requestId. */ @java.lang.Override @@ -65,30 +87,30 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -97,6 +119,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -133,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.ResponseMetadata)) { return super.equals(obj); } - com.google.cloud.talent.v4.ResponseMetadata other = (com.google.cloud.talent.v4.ResponseMetadata) obj; + com.google.cloud.talent.v4.ResponseMetadata other = + (com.google.cloud.talent.v4.ResponseMetadata) obj; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,130 +182,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.ResponseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.ResponseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Additional information returned to client, such as debugging information.
    * 
* * Protobuf type {@code google.cloud.talent.v4.ResponseMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.ResponseMetadata) com.google.cloud.talent.v4.ResponseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.ResponseMetadata.class, com.google.cloud.talent.v4.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4.ResponseMetadata.class, + com.google.cloud.talent.v4.ResponseMetadata.Builder.class); } // Construct using com.google.cloud.talent.v4.ResponseMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; } @java.lang.Override @@ -314,7 +342,8 @@ public com.google.cloud.talent.v4.ResponseMetadata build() { @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata buildPartial() { - com.google.cloud.talent.v4.ResponseMetadata result = new com.google.cloud.talent.v4.ResponseMetadata(this); + com.google.cloud.talent.v4.ResponseMetadata result = + new com.google.cloud.talent.v4.ResponseMetadata(this); result.requestId_ = requestId_; onBuilt(); return result; @@ -324,38 +353,39 @@ public com.google.cloud.talent.v4.ResponseMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.ResponseMetadata) { - return mergeFrom((com.google.cloud.talent.v4.ResponseMetadata)other); + return mergeFrom((com.google.cloud.talent.v4.ResponseMetadata) other); } else { super.mergeFrom(other); return this; @@ -394,17 +424,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +449,21 @@ public Builder mergeFrom( private java.lang.Object requestId_ = ""; /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -438,21 +472,22 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -460,64 +495,71 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +569,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.ResponseMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.ResponseMetadata) private static final com.google.cloud.talent.v4.ResponseMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.ResponseMetadata(); } @@ -541,27 +583,27 @@ public static com.google.cloud.talent.v4.ResponseMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,6 +618,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.ResponseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java new file mode 100644 index 000000000000..b18a8fe53259 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/ResponseMetadataOrBuilder.java @@ -0,0 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/common.proto + +package com.google.cloud.talent.v4; + +public interface ResponseMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.ResponseMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A unique id associated with this call.
+   * This id is logged for tracking purposes.
+   * 
+ * + * string request_id = 1; + * + * @return The requestId. + */ + java.lang.String getRequestId(); + /** + * + * + *
+   * A unique id associated with this call.
+   * This id is logged for tracking purposes.
+   * 
+ * + * string request_id = 1; + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); +} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java similarity index 86% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java index 3a48baffbe26..eef730d9dcb4 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * The Request body of the `SearchJobs` call.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest} */ -public final class SearchJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsRequest) SearchJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchJobsRequest.newBuilder() to construct. private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; @@ -32,30 +50,33 @@ private SearchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.class, com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.class, + com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); } /** + * + * *
    * A string-represented enumeration of the job search mode. The service
    * operate differently for different modes of service.
@@ -63,9 +84,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.SearchMode}
    */
-  public enum SearchMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -75,6 +97,8 @@ public enum SearchMode
      */
     SEARCH_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -84,6 +108,8 @@ public enum SearchMode
      */
     JOB_SEARCH(1),
     /**
+     *
+     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -99,6 +125,8 @@ public enum SearchMode
     ;
 
     /**
+     *
+     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -108,6 +136,8 @@ public enum SearchMode
      */
     public static final int SEARCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -117,6 +147,8 @@ public enum SearchMode
      */
     public static final int JOB_SEARCH_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -129,7 +161,6 @@ public enum SearchMode
      */
     public static final int FEATURED_JOB_SEARCH_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -154,49 +185,49 @@ public static SearchMode valueOf(int value) {
      */
     public static SearchMode forNumber(int value) {
       switch (value) {
-        case 0: return SEARCH_MODE_UNSPECIFIED;
-        case 1: return JOB_SEARCH;
-        case 2: return FEATURED_JOB_SEARCH;
-        default: return null;
+        case 0:
+          return SEARCH_MODE_UNSPECIFIED;
+        case 1:
+          return JOB_SEARCH;
+        case 2:
+          return FEATURED_JOB_SEARCH;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        SearchMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public SearchMode findValueByNumber(int number) {
-              return SearchMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public SearchMode findValueByNumber(int number) {
+            return SearchMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final SearchMode[] VALUES = values();
 
-    public static SearchMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -214,6 +245,8 @@ private SearchMode(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -229,9 +262,10 @@ private SearchMode(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel}
    */
-  public enum DiversificationLevel
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The diversification level isn't specified.
      * 
@@ -240,6 +274,8 @@ public enum DiversificationLevel */ DIVERSIFICATION_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -250,6 +286,8 @@ public enum DiversificationLevel
      */
     DISABLED(1),
     /**
+     *
+     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -260,6 +298,8 @@ public enum DiversificationLevel
      */
     SIMPLE(2),
     /**
+     *
+     *
      * 
      * Only one job from the same company will be shown at once, other jobs
      * under same company are pushed to the end of the last page of search
@@ -270,6 +310,8 @@ public enum DiversificationLevel
      */
     ONE_PER_COMPANY(3),
     /**
+     *
+     *
      * 
      * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
      * same company to be shown at once, the other jobs under same company are
@@ -280,6 +322,8 @@ public enum DiversificationLevel
      */
     TWO_PER_COMPANY(4),
     /**
+     *
+     *
      * 
      * The result list is ordered such that somewhat similar results are pushed
      * to the end of the last page of the search results. This option is
@@ -293,6 +337,8 @@ public enum DiversificationLevel
     ;
 
     /**
+     *
+     *
      * 
      * The diversification level isn't specified.
      * 
@@ -301,6 +347,8 @@ public enum DiversificationLevel */ public static final int DIVERSIFICATION_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -311,6 +359,8 @@ public enum DiversificationLevel
      */
     public static final int DISABLED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -321,6 +371,8 @@ public enum DiversificationLevel
      */
     public static final int SIMPLE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Only one job from the same company will be shown at once, other jobs
      * under same company are pushed to the end of the last page of search
@@ -331,6 +383,8 @@ public enum DiversificationLevel
      */
     public static final int ONE_PER_COMPANY_VALUE = 3;
     /**
+     *
+     *
      * 
      * Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
      * same company to be shown at once, the other jobs under same company are
@@ -341,6 +395,8 @@ public enum DiversificationLevel
      */
     public static final int TWO_PER_COMPANY_VALUE = 4;
     /**
+     *
+     *
      * 
      * The result list is ordered such that somewhat similar results are pushed
      * to the end of the last page of the search results. This option is
@@ -351,7 +407,6 @@ public enum DiversificationLevel
      */
     public static final int DIVERSIFY_BY_LOOSER_SIMILARITY_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -376,13 +431,20 @@ public static DiversificationLevel valueOf(int value) {
      */
     public static DiversificationLevel forNumber(int value) {
       switch (value) {
-        case 0: return DIVERSIFICATION_LEVEL_UNSPECIFIED;
-        case 1: return DISABLED;
-        case 2: return SIMPLE;
-        case 3: return ONE_PER_COMPANY;
-        case 4: return TWO_PER_COMPANY;
-        case 5: return DIVERSIFY_BY_LOOSER_SIMILARITY;
-        default: return null;
+        case 0:
+          return DIVERSIFICATION_LEVEL_UNSPECIFIED;
+        case 1:
+          return DISABLED;
+        case 2:
+          return SIMPLE;
+        case 3:
+          return ONE_PER_COMPANY;
+        case 4:
+          return TWO_PER_COMPANY;
+        case 5:
+          return DIVERSIFY_BY_LOOSER_SIMILARITY;
+        default:
+          return null;
       }
     }
 
@@ -390,28 +452,28 @@ public static DiversificationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DiversificationLevel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DiversificationLevel findValueByNumber(int number) {
-              return DiversificationLevel.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public DiversificationLevel findValueByNumber(int number) {
+                return DiversificationLevel.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(1);
     }
 
@@ -420,8 +482,7 @@ public DiversificationLevel findValueByNumber(int number) {
     public static DiversificationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -439,6 +500,8 @@ private DiversificationLevel(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Controls what keyword matching behavior the search has. When keyword
    * matching is enabled, a keyword match returns jobs that may not match given
@@ -458,9 +521,10 @@ private DiversificationLevel(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode}
    */
-  public enum KeywordMatchMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -470,6 +534,8 @@ public enum KeywordMatchMode
      */
     KEYWORD_MATCH_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Disables keyword matching.
      * 
@@ -478,6 +544,8 @@ public enum KeywordMatchMode */ KEYWORD_MATCH_DISABLED(1), /** + * + * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
@@ -489,6 +557,8 @@ public enum KeywordMatchMode
      */
     KEYWORD_MATCH_ALL(2),
     /**
+     *
+     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
      * 
@@ -500,6 +570,8 @@ public enum KeywordMatchMode ; /** + * + * *
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -509,6 +581,8 @@ public enum KeywordMatchMode
      */
     public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Disables keyword matching.
      * 
@@ -517,6 +591,8 @@ public enum KeywordMatchMode */ public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; /** + * + * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title],
      * [Job.description][google.cloud.talent.v4.Job.description], [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name], [Job.addresses][google.cloud.talent.v4.Job.addresses],
@@ -528,6 +604,8 @@ public enum KeywordMatchMode
      */
     public static final int KEYWORD_MATCH_ALL_VALUE = 2;
     /**
+     *
+     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4.Job.title].
      * 
@@ -536,7 +614,6 @@ public enum KeywordMatchMode */ public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -561,40 +638,44 @@ public static KeywordMatchMode valueOf(int value) { */ public static KeywordMatchMode forNumber(int value) { switch (value) { - case 0: return KEYWORD_MATCH_MODE_UNSPECIFIED; - case 1: return KEYWORD_MATCH_DISABLED; - case 2: return KEYWORD_MATCH_ALL; - case 3: return KEYWORD_MATCH_TITLE_ONLY; - default: return null; + case 0: + return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: + return KEYWORD_MATCH_DISABLED; + case 2: + return KEYWORD_MATCH_ALL; + case 3: + return KEYWORD_MATCH_TITLE_ONLY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - KeywordMatchMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeywordMatchMode findValueByNumber(int number) { - return KeywordMatchMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); } @@ -603,8 +684,7 @@ public KeywordMatchMode findValueByNumber(int number) { public static KeywordMatchMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -621,11 +701,14 @@ private KeywordMatchMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode) } - public interface CustomRankingInfoOrBuilder extends + public interface CustomRankingInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -633,11 +716,16 @@ public interface CustomRankingInfoOrBuilder extends
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ int getImportanceLevelValue(); /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -645,12 +733,18 @@ public interface CustomRankingInfoOrBuilder extends
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel(); /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -671,10 +765,13 @@ public interface CustomRankingInfoOrBuilder extends
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ java.lang.String getRankingExpression(); /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -695,27 +792,30 @@ public interface CustomRankingInfoOrBuilder extends
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ - com.google.protobuf.ByteString - getRankingExpressionBytes(); + com.google.protobuf.ByteString getRankingExpressionBytes(); } /** + * + * *
    * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo} */ - public static final class CustomRankingInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CustomRankingInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) CustomRankingInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomRankingInfo.newBuilder() to construct. private CustomRankingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomRankingInfo() { importanceLevel_ = 0; rankingExpression_ = ""; @@ -723,39 +823,44 @@ private CustomRankingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomRankingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); } /** + * + * *
      * The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression].
      * 
* - * Protobuf enum {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} + * Protobuf enum {@code + * google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} */ - public enum ImportanceLevel - implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value if the importance level isn't specified.
        * 
@@ -764,6 +869,8 @@ public enum ImportanceLevel */ IMPORTANCE_LEVEL_UNSPECIFIED(0), /** + * + * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -774,6 +881,8 @@ public enum ImportanceLevel
        */
       NONE(1),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -784,6 +893,8 @@ public enum ImportanceLevel
        */
       LOW(2),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -794,6 +905,8 @@ public enum ImportanceLevel
        */
       MILD(3),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -804,6 +917,8 @@ public enum ImportanceLevel
        */
       MEDIUM(4),
       /**
+       *
+       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -814,6 +929,8 @@ public enum ImportanceLevel
        */
       HIGH(5),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -827,6 +944,8 @@ public enum ImportanceLevel
       ;
 
       /**
+       *
+       *
        * 
        * Default value if the importance level isn't specified.
        * 
@@ -835,6 +954,8 @@ public enum ImportanceLevel */ public static final int IMPORTANCE_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -845,6 +966,8 @@ public enum ImportanceLevel
        */
       public static final int NONE_VALUE = 1;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -855,6 +978,8 @@ public enum ImportanceLevel
        */
       public static final int LOW_VALUE = 2;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -865,6 +990,8 @@ public enum ImportanceLevel
        */
       public static final int MILD_VALUE = 3;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -875,6 +1002,8 @@ public enum ImportanceLevel
        */
       public static final int MEDIUM_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -885,6 +1014,8 @@ public enum ImportanceLevel
        */
       public static final int HIGH_VALUE = 5;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -895,7 +1026,6 @@ public enum ImportanceLevel
        */
       public static final int EXTREME_VALUE = 6;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -920,14 +1050,22 @@ public static ImportanceLevel valueOf(int value) {
        */
       public static ImportanceLevel forNumber(int value) {
         switch (value) {
-          case 0: return IMPORTANCE_LEVEL_UNSPECIFIED;
-          case 1: return NONE;
-          case 2: return LOW;
-          case 3: return MILD;
-          case 4: return MEDIUM;
-          case 5: return HIGH;
-          case 6: return EXTREME;
-          default: return null;
+          case 0:
+            return IMPORTANCE_LEVEL_UNSPECIFIED;
+          case 1:
+            return NONE;
+          case 2:
+            return LOW;
+          case 3:
+            return MILD;
+          case 4:
+            return MEDIUM;
+          case 5:
+            return HIGH;
+          case 6:
+            return EXTREME;
+          default:
+            return null;
         }
       }
 
@@ -935,29 +1073,31 @@ public static ImportanceLevel forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ImportanceLevel> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ImportanceLevel findValueByNumber(int number) {
-                return ImportanceLevel.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public ImportanceLevel findValueByNumber(int number) {
+                  return ImportanceLevel.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ImportanceLevel[] VALUES = values();
@@ -965,8 +1105,7 @@ public ImportanceLevel findValueByNumber(int number) {
       public static ImportanceLevel valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -986,6 +1125,8 @@ private ImportanceLevel(int value) {
     public static final int IMPORTANCE_LEVEL_FIELD_NUMBER = 1;
     private int importanceLevel_;
     /**
+     *
+     *
      * 
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -993,13 +1134,19 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override public int getImportanceLevelValue() { + @java.lang.Override + public int getImportanceLevelValue() { return importanceLevel_; } /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1007,18 +1154,30 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ - @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf( + importanceLevel_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .UNRECOGNIZED + : result; } public static final int RANKING_EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object rankingExpression_; /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1039,6 +1198,7 @@ private ImportanceLevel(int value) {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ @java.lang.Override @@ -1047,14 +1207,15 @@ public java.lang.String getRankingExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; } } /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1075,16 +1236,15 @@ public java.lang.String getRankingExpression() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getRankingExpressionBytes() { + public com.google.protobuf.ByteString getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1093,6 +1253,7 @@ public java.lang.String getRankingExpression() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1104,9 +1265,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (importanceLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (importanceLevel_ + != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .IMPORTANCE_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { @@ -1121,9 +1284,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (importanceLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, importanceLevel_); + if (importanceLevel_ + != com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .IMPORTANCE_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rankingExpression_); @@ -1136,16 +1301,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) obj; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other = + (com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) obj; if (importanceLevel_ != other.importanceLevel_) return false; - if (!getRankingExpression() - .equals(other.getRankingExpression())) return false; + if (!getRankingExpression().equals(other.getRankingExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1167,87 +1332,94 @@ public int hashCode() { } public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1257,39 +1429,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.class, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1301,13 +1475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + getDefaultInstanceForType() { return com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance(); } @@ -1322,7 +1497,8 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo buildPartial() { - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo result = new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(this); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo result = + new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(this); result.importanceLevel_ = importanceLevel_; result.rankingExpression_ = rankingExpression_; onBuilt(); @@ -1333,46 +1509,52 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other) { - if (other == com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo other) { + if (other + == com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) + return this; if (other.importanceLevel_ != 0) { setImportanceLevelValue(other.getImportanceLevelValue()); } @@ -1406,22 +1588,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - importanceLevel_ = input.readEnum(); - - break; - } // case 8 - case 18: { - rankingExpression_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + importanceLevel_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + rankingExpression_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1434,6 +1619,8 @@ public Builder mergeFrom( private int importanceLevel_ = 0; /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1441,13 +1628,19 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override public int getImportanceLevelValue() { + @java.lang.Override + public int getImportanceLevelValue() { return importanceLevel_; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1455,17 +1648,22 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for importanceLevel to set. * @return This builder for chaining. */ public Builder setImportanceLevelValue(int value) { - + importanceLevel_ = value; onChanged(); return this; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1473,16 +1671,27 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf( + importanceLevel_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .UNRECOGNIZED + : result; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1490,20 +1699,26 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Importance
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The importanceLevel to set. * @return This builder for chaining. */ - public Builder setImportanceLevel(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { + public Builder setImportanceLevel( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { if (value == null) { throw new NullPointerException(); } - + importanceLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1511,11 +1726,14 @@ public Builder setImportanceLevel(com.google.cloud.talent.v4.SearchJobsRequest.C
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearImportanceLevel() { - + importanceLevel_ = 0; onChanged(); return this; @@ -1523,6 +1741,8 @@ public Builder clearImportanceLevel() { private java.lang.Object rankingExpression_ = ""; /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1543,13 +1763,13 @@ public Builder clearImportanceLevel() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ public java.lang.String getRankingExpression() { java.lang.Object ref = rankingExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; @@ -1558,6 +1778,8 @@ public java.lang.String getRankingExpression() { } } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1578,15 +1800,14 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ - public com.google.protobuf.ByteString - getRankingExpressionBytes() { + public com.google.protobuf.ByteString getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1594,6 +1815,8 @@ public java.lang.String getRankingExpression() { } } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1614,20 +1837,22 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpression( - java.lang.String value) { + public Builder setRankingExpression(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rankingExpression_ = value; onChanged(); return this; } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1648,15 +1873,18 @@ public Builder setRankingExpression(
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRankingExpression() { - + rankingExpression_ = getDefaultInstance().getRankingExpression(); onChanged(); return this; } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1677,20 +1905,21 @@ public Builder clearRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpressionBytes( - com.google.protobuf.ByteString value) { + public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rankingExpression_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1703,41 +1932,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo) - private static final com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo DEFAULT_INSTANCE; + private static final com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo(); } - public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstance() { + public static com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomRankingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomRankingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1749,22 +1981,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -1773,31 +2010,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1808,42 +2047,58 @@ public java.lang.String getParent() { public static final int SEARCH_MODE_FIELD_NUMBER = 2; private int searchMode_; /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override public int getSearchModeValue() { + @java.lang.Override + public int getSearchModeValue() { return searchMode_; } /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ - @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED + : result; } public static final int REQUEST_METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4.RequestMetadata requestMetadata_; /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ @java.lang.Override @@ -1851,27 +2106,38 @@ public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ @java.lang.Override public com.google.cloud.talent.v4.RequestMetadata getRequestMetadata() { - return requestMetadata_ == null ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() + : requestMetadata_; } /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { @@ -1881,11 +2147,14 @@ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrB public static final int JOB_QUERY_FIELD_NUMBER = 4; private com.google.cloud.talent.v4.JobQuery jobQuery_; /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ @java.lang.Override @@ -1893,11 +2162,14 @@ public boolean hasJobQuery() { return jobQuery_ != null; } /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return The jobQuery. */ @java.lang.Override @@ -1905,6 +2177,8 @@ public com.google.cloud.talent.v4.JobQuery getJobQuery() { return jobQuery_ == null ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; } /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -1919,6 +2193,8 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { public static final int ENABLE_BROADENING_FIELD_NUMBER = 5; private boolean enableBroadening_; /** + * + * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -1927,6 +2203,7 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() {
    * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ @java.lang.Override @@ -1937,6 +2214,8 @@ public boolean getEnableBroadening() { public static final int HISTOGRAM_QUERIES_FIELD_NUMBER = 7; private java.util.List histogramQueries_; /** + * + * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2030,6 +2309,8 @@ public java.util.List getHistogramQue
     return histogramQueries_;
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2119,11 +2400,13 @@ public java.util.List getHistogramQue
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getHistogramQueriesOrBuilderList() {
     return histogramQueries_;
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2217,6 +2500,8 @@ public int getHistogramQueriesCount() {
     return histogramQueries_.size();
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2310,6 +2595,8 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
     return histogramQueries_.get(index);
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2407,35 +2694,46 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
   public static final int JOB_VIEW_FIELD_NUMBER = 8;
   private int jobView_;
   /**
+   *
+   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The jobView. */ - @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { + @java.lang.Override + public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = + com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } public static final int OFFSET_FIELD_NUMBER = 9; private int offset_; /** + * + * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -2448,6 +2746,7 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
    * 
* * int32 offset = 9; + * * @return The offset. */ @java.lang.Override @@ -2458,6 +2757,8 @@ public int getOffset() { public static final int MAX_PAGE_SIZE_FIELD_NUMBER = 10; private int maxPageSize_; /** + * + * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -2465,6 +2766,7 @@ public int getOffset() {
    * 
* * int32 max_page_size = 10; + * * @return The maxPageSize. */ @java.lang.Override @@ -2475,6 +2777,8 @@ public int getMaxPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object pageToken_; /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -2482,6 +2786,7 @@ public int getMaxPageSize() {
    * 
* * string page_token = 11; + * * @return The pageToken. */ @java.lang.Override @@ -2490,14 +2795,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -2505,16 +2811,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2525,6 +2830,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 12; private volatile java.lang.Object orderBy_; /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2577,6 +2884,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 12; + * * @return The orderBy. */ @java.lang.Override @@ -2585,14 +2893,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2645,16 +2954,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2665,6 +2973,8 @@ public java.lang.String getOrderBy() { public static final int DIVERSIFICATION_LEVEL_FIELD_NUMBER = 13; private int diversificationLevel_; /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2676,13 +2986,19 @@ public java.lang.String getOrderBy() {
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override public int getDiversificationLevelValue() { + @java.lang.Override + public int getDiversificationLevelValue() { return diversificationLevel_; } /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2694,24 +3010,37 @@ public java.lang.String getOrderBy() {
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ - @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel + getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf( + diversificationLevel_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED + : result; } public static final int CUSTOM_RANKING_INFO_FIELD_NUMBER = 14; private com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo customRankingInfo_; /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ @java.lang.Override @@ -2719,34 +3048,46 @@ public boolean hasCustomRankingInfo() { return customRankingInfo_ != null; } /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { - return customRankingInfo_ == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() + : customRankingInfo_; } /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder() { return getCustomRankingInfo(); } public static final int DISABLE_KEYWORD_MATCH_FIELD_NUMBER = 16; private boolean disableKeywordMatch_; /** + * + * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -2773,18 +3114,22 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
    * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ @java.lang.Override - @java.lang.Deprecated public boolean getDisableKeywordMatch() { + @java.lang.Deprecated + public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; private int keywordMatchMode_; /** + * + * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -2792,13 +3137,18 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override public int getKeywordMatchModeValue() { + @java.lang.Override + public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** + * + * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -2806,16 +3156,23 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ - @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @java.lang.Override + public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2827,12 +3184,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (searchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { + if (searchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, searchMode_); } if (requestMetadata_ != null) { @@ -2862,7 +3220,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, orderBy_); } - if (diversificationLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { + if (diversificationLevel_ + != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel + .DIVERSIFICATION_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(13, diversificationLevel_); } if (customRankingInfo_ != null) { @@ -2871,7 +3232,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } - if (keywordMatchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { + if (keywordMatchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(18, keywordMatchMode_); } getUnknownFields().writeTo(output); @@ -2886,37 +3250,31 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (searchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, searchMode_); + if (searchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, searchMode_); } if (requestMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequestMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestMetadata()); } if (jobQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getJobQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getJobQuery()); } if (enableBroadening_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableBroadening_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableBroadening_); } for (int i = 0; i < histogramQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, histogramQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, histogramQueries_.get(i)); } if (jobView_ != com.google.cloud.talent.v4.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, jobView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, jobView_); } if (offset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, offset_); } if (maxPageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(10, maxPageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, maxPageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, pageToken_); @@ -2924,21 +3282,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, orderBy_); } - if (diversificationLevel_ != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(13, diversificationLevel_); + if (diversificationLevel_ + != com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel + .DIVERSIFICATION_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, diversificationLevel_); } if (customRankingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getCustomRankingInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getCustomRankingInfo()); } if (disableKeywordMatch_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, disableKeywordMatch_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); } - if (keywordMatchMode_ != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(18, keywordMatchMode_); + if (keywordMatchMode_ + != com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2948,47 +3308,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsRequest other = (com.google.cloud.talent.v4.SearchJobsRequest) obj; + com.google.cloud.talent.v4.SearchJobsRequest other = + (com.google.cloud.talent.v4.SearchJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (searchMode_ != other.searchMode_) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - if (!getRequestMetadata() - .equals(other.getRequestMetadata())) return false; + if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; } if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - if (!getJobQuery() - .equals(other.getJobQuery())) return false; + if (!getJobQuery().equals(other.getJobQuery())) return false; } - if (getEnableBroadening() - != other.getEnableBroadening()) return false; - if (!getHistogramQueriesList() - .equals(other.getHistogramQueriesList())) return false; + if (getEnableBroadening() != other.getEnableBroadening()) return false; + if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; if (jobView_ != other.jobView_) return false; - if (getOffset() - != other.getOffset()) return false; - if (getMaxPageSize() - != other.getMaxPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (getOffset() != other.getOffset()) return false; + if (getMaxPageSize() != other.getMaxPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (diversificationLevel_ != other.diversificationLevel_) return false; if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - if (!getCustomRankingInfo() - .equals(other.getCustomRankingInfo())) return false; + if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; } - if (getDisableKeywordMatch() - != other.getDisableKeywordMatch()) return false; + if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3014,8 +3364,7 @@ public int hashCode() { hash = (53 * hash) + getJobQuery().hashCode(); } hash = (37 * hash) + ENABLE_BROADENING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableBroadening()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableBroadening()); if (getHistogramQueriesCount() > 0) { hash = (37 * hash) + HISTOGRAM_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getHistogramQueriesList().hashCode(); @@ -3037,8 +3386,7 @@ public int hashCode() { hash = (53 * hash) + getCustomRankingInfo().hashCode(); } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableKeywordMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3046,130 +3394,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request body of the `SearchJobs` call.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsRequest) com.google.cloud.talent.v4.SearchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsRequest.class, com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4.SearchJobsRequest.class, + com.google.cloud.talent.v4.SearchJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3224,9 +3578,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsRequest_descriptor; } @java.lang.Override @@ -3245,7 +3599,8 @@ public com.google.cloud.talent.v4.SearchJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { - com.google.cloud.talent.v4.SearchJobsRequest result = new com.google.cloud.talent.v4.SearchJobsRequest(this); + com.google.cloud.talent.v4.SearchJobsRequest result = + new com.google.cloud.talent.v4.SearchJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.searchMode_ = searchMode_; @@ -3290,38 +3645,39 @@ public com.google.cloud.talent.v4.SearchJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -3364,9 +3720,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsRequest other) { histogramQueriesBuilder_ = null; histogramQueries_ = other.histogramQueries_; bitField0_ = (bitField0_ & ~0x00000001); - histogramQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHistogramQueriesFieldBuilder() : null; + histogramQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHistogramQueriesFieldBuilder() + : null; } else { histogramQueriesBuilder_.addAllMessages(other.histogramQueries_); } @@ -3427,101 +3784,111 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - searchMode_ = input.readEnum(); + break; + } // case 10 + case 16: + { + searchMode_ = input.readEnum(); - break; - } // case 16 - case 26: { - input.readMessage( - getRequestMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 16 + case 26: + { + input.readMessage(getRequestMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - input.readMessage( - getJobQueryFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getJobQueryFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 40: { - enableBroadening_ = input.readBool(); + break; + } // case 34 + case 40: + { + enableBroadening_ = input.readBool(); - break; - } // case 40 - case 58: { - com.google.cloud.talent.v4.HistogramQuery m = - input.readMessage( - com.google.cloud.talent.v4.HistogramQuery.parser(), - extensionRegistry); - if (histogramQueriesBuilder_ == null) { - ensureHistogramQueriesIsMutable(); - histogramQueries_.add(m); - } else { - histogramQueriesBuilder_.addMessage(m); - } - break; - } // case 58 - case 64: { - jobView_ = input.readEnum(); + break; + } // case 40 + case 58: + { + com.google.cloud.talent.v4.HistogramQuery m = + input.readMessage( + com.google.cloud.talent.v4.HistogramQuery.parser(), extensionRegistry); + if (histogramQueriesBuilder_ == null) { + ensureHistogramQueriesIsMutable(); + histogramQueries_.add(m); + } else { + histogramQueriesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: + { + jobView_ = input.readEnum(); - break; - } // case 64 - case 72: { - offset_ = input.readInt32(); + break; + } // case 64 + case 72: + { + offset_ = input.readInt32(); - break; - } // case 72 - case 80: { - maxPageSize_ = input.readInt32(); + break; + } // case 72 + case 80: + { + maxPageSize_ = input.readInt32(); - break; - } // case 80 - case 90: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 80 + case 90: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 90 - case 98: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 90 + case 98: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 98 - case 104: { - diversificationLevel_ = input.readEnum(); + break; + } // case 98 + case 104: + { + diversificationLevel_ = input.readEnum(); - break; - } // case 104 - case 114: { - input.readMessage( - getCustomRankingInfoFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 104 + case 114: + { + input.readMessage( + getCustomRankingInfoFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 114 - case 128: { - disableKeywordMatch_ = input.readBool(); + break; + } // case 114 + case 128: + { + disableKeywordMatch_ = input.readBool(); - break; - } // case 128 - case 144: { - keywordMatchMode_ = input.readEnum(); + break; + } // case 128 + case 144: + { + keywordMatchMode_ = input.readEnum(); - break; - } // case 144 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3531,24 +3898,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3557,22 +3929,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3580,60 +3955,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
      * "projects/foo/tenants/bar".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -3641,55 +4029,71 @@ public Builder setParentBytes( private int searchMode_ = 0; /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override public int getSearchModeValue() { + @java.lang.Override + public int getSearchModeValue() { return searchMode_; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @param value The enum numeric value on the wire for searchMode to set. * @return This builder for chaining. */ public Builder setSearchModeValue(int value) { - + searchMode_ = value; onChanged(); return this; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.SearchMode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @param value The searchMode to set. * @return This builder for chaining. */ @@ -3697,22 +4101,25 @@ public Builder setSearchMode(com.google.cloud.talent.v4.SearchJobsRequest.Search if (value == null) { throw new NullPointerException(); } - + searchMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return This builder for chaining. */ public Builder clearSearchMode() { - + searchMode_ = 0; onChanged(); return this; @@ -3720,45 +4127,64 @@ public Builder clearSearchMode() { private com.google.cloud.talent.v4.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder> requestMetadataBuilder_; + com.google.cloud.talent.v4.RequestMetadata, + com.google.cloud.talent.v4.RequestMetadata.Builder, + com.google.cloud.talent.v4.RequestMetadataOrBuilder> + requestMetadataBuilder_; /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ public com.google.cloud.talent.v4.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { - return requestMetadata_ == null ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() + : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequestMetadata(com.google.cloud.talent.v4.RequestMetadata value) { if (requestMetadataBuilder_ == null) { @@ -3774,13 +4200,17 @@ public Builder setRequestMetadata(com.google.cloud.talent.v4.RequestMetadata val return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequestMetadata( com.google.cloud.talent.v4.RequestMetadata.Builder builderForValue) { @@ -3794,19 +4224,25 @@ public Builder setRequestMetadata( return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRequestMetadata(com.google.cloud.talent.v4.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = - com.google.cloud.talent.v4.RequestMetadata.newBuilder(requestMetadata_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.RequestMetadata.newBuilder(requestMetadata_) + .mergeFrom(value) + .buildPartial(); } else { requestMetadata_ = value; } @@ -3818,13 +4254,17 @@ public Builder mergeRequestMetadata(com.google.cloud.talent.v4.RequestMetadata v return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { @@ -3838,54 +4278,70 @@ public Builder clearRequestMetadata() { return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.RequestMetadata.Builder getRequestMetadataBuilder() { - + onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { - return requestMetadata_ == null ? - com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4.RequestMetadata.getDefaultInstance() + : requestMetadata_; } } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder> + com.google.cloud.talent.v4.RequestMetadata, + com.google.cloud.talent.v4.RequestMetadata.Builder, + com.google.cloud.talent.v4.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { - requestMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.RequestMetadata, com.google.cloud.talent.v4.RequestMetadata.Builder, com.google.cloud.talent.v4.RequestMetadataOrBuilder>( - getRequestMetadata(), - getParentForChildren(), - isClean()); + requestMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.RequestMetadata, + com.google.cloud.talent.v4.RequestMetadata.Builder, + com.google.cloud.talent.v4.RequestMetadataOrBuilder>( + getRequestMetadata(), getParentForChildren(), isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; @@ -3893,34 +4349,47 @@ public com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrB private com.google.cloud.talent.v4.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder> jobQueryBuilder_; + com.google.cloud.talent.v4.JobQuery, + com.google.cloud.talent.v4.JobQuery.Builder, + com.google.cloud.talent.v4.JobQueryOrBuilder> + jobQueryBuilder_; /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ public boolean hasJobQuery() { return jobQueryBuilder_ != null || jobQuery_ != null; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return The jobQuery. */ public com.google.cloud.talent.v4.JobQuery getJobQuery() { if (jobQueryBuilder_ == null) { - return jobQuery_ == null ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() + : jobQuery_; } else { return jobQueryBuilder_.getMessage(); } } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3941,14 +4410,15 @@ public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery value) { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; */ - public Builder setJobQuery( - com.google.cloud.talent.v4.JobQuery.Builder builderForValue) { + public Builder setJobQuery(com.google.cloud.talent.v4.JobQuery.Builder builderForValue) { if (jobQueryBuilder_ == null) { jobQuery_ = builderForValue.build(); onChanged(); @@ -3959,6 +4429,8 @@ public Builder setJobQuery( return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3969,7 +4441,9 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4.JobQuery value) { if (jobQueryBuilder_ == null) { if (jobQuery_ != null) { jobQuery_ = - com.google.cloud.talent.v4.JobQuery.newBuilder(jobQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.JobQuery.newBuilder(jobQuery_) + .mergeFrom(value) + .buildPartial(); } else { jobQuery_ = value; } @@ -3981,6 +4455,8 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4.JobQuery value) { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3999,6 +4475,8 @@ public Builder clearJobQuery() { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4006,11 +4484,13 @@ public Builder clearJobQuery() { * .google.cloud.talent.v4.JobQuery job_query = 4; */ public com.google.cloud.talent.v4.JobQuery.Builder getJobQueryBuilder() { - + onChanged(); return getJobQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4021,11 +4501,14 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { if (jobQueryBuilder_ != null) { return jobQueryBuilder_.getMessageOrBuilder(); } else { - return jobQuery_ == null ? - com.google.cloud.talent.v4.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4.JobQuery.getDefaultInstance() + : jobQuery_; } } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4033,21 +4516,26 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() { * .google.cloud.talent.v4.JobQuery job_query = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder> + com.google.cloud.talent.v4.JobQuery, + com.google.cloud.talent.v4.JobQuery.Builder, + com.google.cloud.talent.v4.JobQueryOrBuilder> getJobQueryFieldBuilder() { if (jobQueryBuilder_ == null) { - jobQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.JobQuery, com.google.cloud.talent.v4.JobQuery.Builder, com.google.cloud.talent.v4.JobQueryOrBuilder>( - getJobQuery(), - getParentForChildren(), - isClean()); + jobQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.JobQuery, + com.google.cloud.talent.v4.JobQuery.Builder, + com.google.cloud.talent.v4.JobQueryOrBuilder>( + getJobQuery(), getParentForChildren(), isClean()); jobQuery_ = null; } return jobQueryBuilder_; } - private boolean enableBroadening_ ; + private boolean enableBroadening_; /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4056,6 +4544,7 @@ public com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder() {
      * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ @java.lang.Override @@ -4063,6 +4552,8 @@ public boolean getEnableBroadening() { return enableBroadening_; } /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4071,16 +4562,19 @@ public boolean getEnableBroadening() {
      * 
* * bool enable_broadening = 5; + * * @param value The enableBroadening to set. * @return This builder for chaining. */ public Builder setEnableBroadening(boolean value) { - + enableBroadening_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4089,28 +4583,36 @@ public Builder setEnableBroadening(boolean value) {
      * 
* * bool enable_broadening = 5; + * * @return This builder for chaining. */ public Builder clearEnableBroadening() { - + enableBroadening_ = false; onChanged(); return this; } private java.util.List histogramQueries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHistogramQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - histogramQueries_ = new java.util.ArrayList(histogramQueries_); + histogramQueries_ = + new java.util.ArrayList(histogramQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder> histogramQueriesBuilder_; + com.google.cloud.talent.v4.HistogramQuery, + com.google.cloud.talent.v4.HistogramQuery.Builder, + com.google.cloud.talent.v4.HistogramQueryOrBuilder> + histogramQueriesBuilder_; /** + * + * *
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4207,6 +4709,8 @@ public java.util.List getHistogramQue
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4303,6 +4807,8 @@ public int getHistogramQueriesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4399,6 +4905,8 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4487,8 +4995,7 @@ public com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index)
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public Builder setHistogramQueries(
-        int index, com.google.cloud.talent.v4.HistogramQuery value) {
+    public Builder setHistogramQueries(int index, com.google.cloud.talent.v4.HistogramQuery value) {
       if (histogramQueriesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4502,6 +5009,8 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4602,6 +5111,8 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4704,6 +5215,8 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4792,8 +5305,7 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4.HistogramQuery val
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public Builder addHistogramQueries(
-        int index, com.google.cloud.talent.v4.HistogramQuery value) {
+    public Builder addHistogramQueries(int index, com.google.cloud.talent.v4.HistogramQuery value) {
       if (histogramQueriesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4807,6 +5319,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4907,6 +5421,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5007,6 +5523,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5099,8 +5617,7 @@ public Builder addAllHistogramQueries(
         java.lang.Iterable values) {
       if (histogramQueriesBuilder_ == null) {
         ensureHistogramQueriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, histogramQueries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueries_);
         onChanged();
       } else {
         histogramQueriesBuilder_.addAllMessages(values);
@@ -5108,6 +5625,8 @@ public Builder addAllHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5207,6 +5726,8 @@ public Builder clearHistogramQueries() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5306,6 +5827,8 @@ public Builder removeHistogramQueries(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5394,11 +5917,12 @@ public Builder removeHistogramQueries(int index) {
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuilder(int index) {
       return getHistogramQueriesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5490,11 +6014,14 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder getHistogramQueriesBuil
     public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
         int index) {
       if (histogramQueriesBuilder_ == null) {
-        return histogramQueries_.get(index);  } else {
+        return histogramQueries_.get(index);
+      } else {
         return histogramQueriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5583,8 +6110,8 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List 
-         getHistogramQueriesOrBuilderList() {
+    public java.util.List
+        getHistogramQueriesOrBuilderList() {
       if (histogramQueriesBuilder_ != null) {
         return histogramQueriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -5592,6 +6119,8 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5681,10 +6210,12 @@ public com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrB
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
     public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder() {
-      return getHistogramQueriesFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5773,12 +6304,13 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder(
-        int index) {
-      return getHistogramQueriesFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
+    public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuilder(int index) {
+      return getHistogramQueriesFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.HistogramQuery.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5867,16 +6399,22 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
      *
      * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List 
-         getHistogramQueriesBuilderList() {
+    public java.util.List
+        getHistogramQueriesBuilderList() {
       return getHistogramQueriesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder> 
+            com.google.cloud.talent.v4.HistogramQuery,
+            com.google.cloud.talent.v4.HistogramQuery.Builder,
+            com.google.cloud.talent.v4.HistogramQueryOrBuilder>
         getHistogramQueriesFieldBuilder() {
       if (histogramQueriesBuilder_ == null) {
-        histogramQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.HistogramQuery, com.google.cloud.talent.v4.HistogramQuery.Builder, com.google.cloud.talent.v4.HistogramQueryOrBuilder>(
+        histogramQueriesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.HistogramQuery,
+                com.google.cloud.talent.v4.HistogramQuery.Builder,
+                com.google.cloud.talent.v4.HistogramQueryOrBuilder>(
                 histogramQueries_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -5888,55 +6426,69 @@ public com.google.cloud.talent.v4.HistogramQuery.Builder addHistogramQueriesBuil
 
     private int jobView_ = 0;
     /**
+     *
+     *
      * 
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.JobView result = com.google.cloud.talent.v4.JobView.valueOf(jobView_); + com.google.cloud.talent.v4.JobView result = + com.google.cloud.talent.v4.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4.JobView.UNRECOGNIZED : result; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @param value The jobView to set. * @return This builder for chaining. */ @@ -5944,29 +6496,34 @@ public Builder setJobView(com.google.cloud.talent.v4.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - private int offset_ ; + private int offset_; /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -5979,6 +6536,7 @@ public Builder clearJobView() {
      * 
* * int32 offset = 9; + * * @return The offset. */ @java.lang.Override @@ -5986,6 +6544,8 @@ public int getOffset() { return offset_; } /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -5998,16 +6558,19 @@ public int getOffset() {
      * 
* * int32 offset = 9; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6020,17 +6583,20 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 9; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; } - private int maxPageSize_ ; + private int maxPageSize_; /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6038,6 +6604,7 @@ public Builder clearOffset() {
      * 
* * int32 max_page_size = 10; + * * @return The maxPageSize. */ @java.lang.Override @@ -6045,6 +6612,8 @@ public int getMaxPageSize() { return maxPageSize_; } /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6052,16 +6621,19 @@ public int getMaxPageSize() {
      * 
* * int32 max_page_size = 10; + * * @param value The maxPageSize to set. * @return This builder for chaining. */ public Builder setMaxPageSize(int value) { - + maxPageSize_ = value; onChanged(); return this; } /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6069,10 +6641,11 @@ public Builder setMaxPageSize(int value) {
      * 
* * int32 max_page_size = 10; + * * @return This builder for chaining. */ public Builder clearMaxPageSize() { - + maxPageSize_ = 0; onChanged(); return this; @@ -6080,6 +6653,8 @@ public Builder clearMaxPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6087,13 +6662,13 @@ public Builder clearMaxPageSize() {
      * 
* * string page_token = 11; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -6102,6 +6677,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6109,15 +6686,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6125,6 +6701,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6132,20 +6710,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6153,15 +6733,18 @@ public Builder setPageToken(
      * 
* * string page_token = 11; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -6169,16 +6752,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 11; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -6186,6 +6769,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6238,13 +6823,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 12; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -6253,6 +6838,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6305,15 +6892,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -6321,6 +6907,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6373,20 +6961,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6439,15 +7029,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 12; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6500,16 +7093,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 12; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -6517,6 +7110,8 @@ public Builder setOrderByBytes( private int diversificationLevel_ = 0; /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6528,13 +7123,19 @@ public Builder setOrderByBytes(
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override public int getDiversificationLevelValue() { + @java.lang.Override + public int getDiversificationLevelValue() { return diversificationLevel_; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6546,17 +7147,22 @@ public Builder setOrderByBytes(
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @param value The enum numeric value on the wire for diversificationLevel to set. * @return This builder for chaining. */ public Builder setDiversificationLevelValue(int value) { - + diversificationLevel_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6568,16 +7174,26 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { + public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel + getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel result = + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.valueOf( + diversificationLevel_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED + : result; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6589,20 +7205,26 @@ public com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDive
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @param value The diversificationLevel to set. * @return This builder for chaining. */ - public Builder setDiversificationLevel(com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel value) { + public Builder setDiversificationLevel( + com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel value) { if (value == null) { throw new NullPointerException(); } - + diversificationLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6614,11 +7236,14 @@ public Builder setDiversificationLevel(com.google.cloud.talent.v4.SearchJobsRequ
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return This builder for chaining. */ public Builder clearDiversificationLevel() { - + diversificationLevel_ = 0; onChanged(); return this; @@ -6626,44 +7251,61 @@ public Builder clearDiversificationLevel() { private com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> customRankingInfoBuilder_; + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> + customRankingInfoBuilder_; /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ public boolean hasCustomRankingInfo() { return customRankingInfoBuilder_ != null || customRankingInfo_ != null; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { - return customRankingInfo_ == null ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() + : customRankingInfo_; } else { return customRankingInfoBuilder_.getMessage(); } } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public Builder setCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { + public Builder setCustomRankingInfo( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6677,12 +7319,15 @@ public Builder setCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ public Builder setCustomRankingInfo( com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder builderForValue) { @@ -6696,18 +7341,25 @@ public Builder setCustomRankingInfo( return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { + public Builder mergeCustomRankingInfo( + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (customRankingInfo_ != null) { customRankingInfo_ = - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder(customRankingInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.newBuilder( + customRankingInfo_) + .mergeFrom(value) + .buildPartial(); } else { customRankingInfo_ = value; } @@ -6719,12 +7371,15 @@ public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4.SearchJobsReque return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ public Builder clearCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { @@ -6738,58 +7393,75 @@ public Builder clearCustomRankingInfo() { return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder getCustomRankingInfoBuilder() { - + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder + getCustomRankingInfoBuilder() { + onChanged(); return getCustomRankingInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder() { if (customRankingInfoBuilder_ != null) { return customRankingInfoBuilder_.getMessageOrBuilder(); } else { - return customRankingInfo_ == null ? - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() + : customRankingInfo_; } } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder> getCustomRankingInfoFieldBuilder() { if (customRankingInfoBuilder_ == null) { - customRankingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder>( - getCustomRankingInfo(), - getParentForChildren(), - isClean()); + customRankingInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder>( + getCustomRankingInfo(), getParentForChildren(), isClean()); customRankingInfo_ = null; } return customRankingInfoBuilder_; } - private boolean disableKeywordMatch_ ; + private boolean disableKeywordMatch_; /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6816,15 +7488,19 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ @java.lang.Override - @java.lang.Deprecated public boolean getDisableKeywordMatch() { + @java.lang.Deprecated + public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6851,18 +7527,22 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDisableKeywordMatch(boolean value) { - + @java.lang.Deprecated + public Builder setDisableKeywordMatch(boolean value) { + disableKeywordMatch_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6889,12 +7569,14 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearDisableKeywordMatch() { - + @java.lang.Deprecated + public Builder clearDisableKeywordMatch() { + disableKeywordMatch_ = false; onChanged(); return this; @@ -6902,6 +7584,8 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g private int keywordMatchMode_ = 0; /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6909,13 +7593,18 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override public int getKeywordMatchModeValue() { + @java.lang.Override + public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6923,17 +7612,21 @@ public com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder g
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @param value The enum numeric value on the wire for keywordMatchMode to set. * @return This builder for chaining. */ public Builder setKeywordMatchModeValue(int value) { - + keywordMatchMode_ = value; onChanged(); return this; } /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6941,16 +7634,23 @@ public Builder setKeywordMatchModeValue(int value) {
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; } /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6958,20 +7658,25 @@ public com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordM
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @param value The keywordMatchMode to set. * @return This builder for chaining. */ - public Builder setKeywordMatchMode(com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { + public Builder setKeywordMatchMode( + com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode value) { if (value == null) { throw new NullPointerException(); } - + keywordMatchMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls what keyword match options to use. If both keyword_match_mode and
      * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -6979,18 +7684,20 @@ public Builder setKeywordMatchMode(com.google.cloud.talent.v4.SearchJobsRequest.
      * is specified.
      * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return This builder for chaining. */ public Builder clearKeywordMatchMode() { - + keywordMatchMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7000,12 +7707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsRequest) private static final com.google.cloud.talent.v4.SearchJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsRequest(); } @@ -7014,27 +7721,27 @@ public static com.google.cloud.talent.v4.SearchJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7049,6 +7756,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SearchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java similarity index 94% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java index 64ad6fd81ba6..4e026add7316 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsRequestOrBuilder.java @@ -1,109 +1,162 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface SearchJobsRequestOrBuilder extends +public interface SearchJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
    * "projects/foo/tenants/bar".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ int getSearchModeValue(); /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ com.google.cloud.talent.v4.SearchJobsRequest.SearchMode getSearchMode(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ boolean hasRequestMetadata(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ com.google.cloud.talent.v4.RequestMetadata getRequestMetadata(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.RequestMetadataOrBuilder getRequestMetadataOrBuilder(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ boolean hasJobQuery(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4.JobQuery job_query = 4; + * * @return The jobQuery. */ com.google.cloud.talent.v4.JobQuery getJobQuery(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -113,6 +166,8 @@ public interface SearchJobsRequestOrBuilder extends com.google.cloud.talent.v4.JobQueryOrBuilder getJobQueryOrBuilder(); /** + * + * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -121,11 +176,14 @@ public interface SearchJobsRequestOrBuilder extends
    * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ boolean getEnableBroadening(); /** + * + * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -214,9 +272,10 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  java.util.List 
-      getHistogramQueriesList();
+  java.util.List getHistogramQueriesList();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -307,6 +366,8 @@ public interface SearchJobsRequestOrBuilder extends
    */
   com.google.cloud.talent.v4.HistogramQuery getHistogramQueries(int index);
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -397,6 +458,8 @@ public interface SearchJobsRequestOrBuilder extends
    */
   int getHistogramQueriesCount();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -485,9 +548,11 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  java.util.List 
+  java.util.List
       getHistogramQueriesOrBuilderList();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -576,31 +641,38 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4.HistogramQuery histogram_queries = 7;
    */
-  com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** + * + * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4.JobView job_view = 8; + * * @return The jobView. */ com.google.cloud.talent.v4.JobView getJobView(); /** + * + * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -613,11 +685,14 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * int32 offset = 9; + * * @return The offset. */ int getOffset(); /** + * + * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -625,11 +700,14 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * int32 max_page_size = 10; + * * @return The maxPageSize. */ int getMaxPageSize(); /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -637,10 +715,13 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * string page_token = 11; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4.SearchJobsResponse.next_page_token] for
@@ -648,12 +729,14 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -706,10 +789,13 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * string order_by = 12; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -762,12 +848,14 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -779,11 +867,16 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ int getDiversificationLevelValue(); /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -795,42 +888,59 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ com.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel getDiversificationLevel(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ boolean hasCustomRankingInfo(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * .google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder(); + com.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder(); /** + * + * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4.SearchJobsRequest.keyword_match_mode] going forward.
@@ -857,13 +967,17 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * 
* * bool disable_keyword_match = 16 [deprecated = true]; - * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. - * See google/cloud/talent/v4/job_service.proto;l=739 + * + * @deprecated google.cloud.talent.v4.SearchJobsRequest.disable_keyword_match is deprecated. See + * google/cloud/talent/v4/job_service.proto;l=739 * @return The disableKeywordMatch. */ - @java.lang.Deprecated boolean getDisableKeywordMatch(); + @java.lang.Deprecated + boolean getDisableKeywordMatch(); /** + * + * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -871,11 +985,15 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ int getKeywordMatchModeValue(); /** + * + * *
    * Controls what keyword match options to use. If both keyword_match_mode and
    * disable_keyword_match are set, keyword_match_mode will take precedence.
@@ -883,7 +1001,9 @@ com.google.cloud.talent.v4.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
    * is specified.
    * 
* - * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ com.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java similarity index 77% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java index 8c4e26d5575a..1a09357dddff 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Response for SearchJob method.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse} */ -public final class SearchJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse) SearchJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchJobsResponse.newBuilder() to construct. private SearchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchJobsResponse() { matchingJobs_ = java.util.Collections.emptyList(); histogramQueryResults_ = java.util.Collections.emptyList(); @@ -28,52 +46,62 @@ private SearchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.class, com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.class, + com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); } - public interface MatchingJobOrBuilder extends + public interface MatchingJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
@@ -83,28 +111,35 @@ public interface MatchingJobOrBuilder extends com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder(); /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The jobSummary. */ java.lang.String getJobSummary(); /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ - com.google.protobuf.ByteString - getJobSummaryBytes(); + com.google.protobuf.ByteString getJobSummaryBytes(); /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -112,10 +147,13 @@ public interface MatchingJobOrBuilder extends
      * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ java.lang.String getJobTitleSnippet(); /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -123,12 +161,14 @@ public interface MatchingJobOrBuilder extends
      * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ - com.google.protobuf.ByteString - getJobTitleSnippetBytes(); + com.google.protobuf.ByteString getJobTitleSnippetBytes(); /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -137,10 +177,13 @@ public interface MatchingJobOrBuilder extends
      * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ java.lang.String getSearchTextSnippet(); /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -149,32 +192,40 @@ public interface MatchingJobOrBuilder extends
      * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ - com.google.protobuf.ByteString - getSearchTextSnippetBytes(); + com.google.protobuf.ByteString getSearchTextSnippetBytes(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ boolean hasCommuteInfo(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -185,21 +236,24 @@ public interface MatchingJobOrBuilder extends
     com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.MatchingJob} */ - public static final class MatchingJob extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MatchingJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) MatchingJobOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MatchingJob.newBuilder() to construct. private MatchingJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MatchingJob() { jobSummary_ = ""; jobTitleSnippet_ = ""; @@ -208,37 +262,41 @@ private MatchingJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MatchingJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -246,11 +304,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -258,6 +319,8 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
@@ -272,12 +335,15 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private volatile java.lang.Object jobSummary_; /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The jobSummary. */ @java.lang.Override @@ -286,30 +352,30 @@ public java.lang.String getJobSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; } } /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobSummaryBytes() { + public com.google.protobuf.ByteString getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -320,6 +386,8 @@ public java.lang.String getJobSummary() { public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 3; private volatile java.lang.Object jobTitleSnippet_; /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -327,6 +395,7 @@ public java.lang.String getJobSummary() {
      * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ @java.lang.Override @@ -335,14 +404,15 @@ public java.lang.String getJobTitleSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; } } /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -350,16 +420,15 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -370,6 +439,8 @@ public java.lang.String getJobTitleSnippet() { public static final int SEARCH_TEXT_SNIPPET_FIELD_NUMBER = 4; private volatile java.lang.Object searchTextSnippet_; /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -378,6 +449,7 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ @java.lang.Override @@ -386,14 +458,15 @@ public java.lang.String getSearchTextSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; } } /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -402,16 +475,15 @@ public java.lang.String getSearchTextSnippet() {
      * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -422,12 +494,15 @@ public java.lang.String getSearchTextSnippet() { public static final int COMMUTE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commuteInfo_; /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ @java.lang.Override @@ -435,19 +510,26 @@ public boolean hasCommuteInfo() { return commuteInfo_ != null; } /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
      * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo() { - return commuteInfo_ == null ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; + return commuteInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() + : commuteInfo_; } /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -456,11 +538,13 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(
      * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
+    public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder
+        getCommuteInfoOrBuilder() {
       return getCommuteInfo();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -472,8 +556,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -499,8 +582,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSummary_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobSummary_);
@@ -512,8 +594,7 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchTextSnippet_);
       }
       if (commuteInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getCommuteInfo());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteInfo());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -523,28 +604,24 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) obj;
+      com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other =
+          (com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob()
-            .equals(other.getJob())) return false;
-      }
-      if (!getJobSummary()
-          .equals(other.getJobSummary())) return false;
-      if (!getJobTitleSnippet()
-          .equals(other.getJobTitleSnippet())) return false;
-      if (!getSearchTextSnippet()
-          .equals(other.getSearchTextSnippet())) return false;
+        if (!getJob().equals(other.getJob())) return false;
+      }
+      if (!getJobSummary().equals(other.getJobSummary())) return false;
+      if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false;
+      if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false;
       if (hasCommuteInfo() != other.hasCommuteInfo()) return false;
       if (hasCommuteInfo()) {
-        if (!getCommuteInfo()
-            .equals(other.getCommuteInfo())) return false;
+        if (!getCommuteInfo().equals(other.getCommuteInfo())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -577,87 +654,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -667,39 +751,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4.SearchJobsResponse].
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.MatchingJob} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse.MatchingJob) com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.class, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -725,9 +811,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override @@ -746,7 +832,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob result = new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob(this); + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob result = + new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -768,38 +855,41 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob) other); } else { super.mergeFrom(other); return this; @@ -807,7 +897,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob other) { - if (other == com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -852,41 +943,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - jobSummary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - jobTitleSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - searchTextSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - input.readMessage( - getCommuteInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + jobSummary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + jobTitleSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + searchTextSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + input.readMessage(getCommuteInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -899,24 +992,33 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobBuilder_; /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; + * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -927,6 +1029,8 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -947,14 +1051,15 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4.Job job = 1; */ - public Builder setJob( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -965,6 +1070,8 @@ public Builder setJob( return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -974,8 +1081,7 @@ public Builder setJob( public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = - com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -987,6 +1093,8 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1005,6 +1113,8 @@ public Builder clearJob() { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1012,11 +1122,13 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 1; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1027,11 +1139,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
        * 
@@ -1039,14 +1152,17 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -1054,19 +1170,21 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobSummary_ = ""; /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return The jobSummary. */ public java.lang.String getJobSummary() { java.lang.Object ref = jobSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; @@ -1075,21 +1193,22 @@ public java.lang.String getJobSummary() { } } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ - public com.google.protobuf.ByteString - getJobSummaryBytes() { + public com.google.protobuf.ByteString getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -1097,57 +1216,64 @@ public java.lang.String getJobSummary() { } } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @param value The jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummary( - java.lang.String value) { + public Builder setJobSummary(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobSummary_ = value; onChanged(); return this; } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return This builder for chaining. */ public Builder clearJobSummary() { - + jobSummary_ = getDefaultInstance().getJobSummary(); onChanged(); return this; } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @param value The bytes for jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummaryBytes( - com.google.protobuf.ByteString value) { + public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobSummary_ = value; onChanged(); return this; @@ -1155,6 +1281,8 @@ public Builder setJobSummaryBytes( private java.lang.Object jobTitleSnippet_ = ""; /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1162,13 +1290,13 @@ public Builder setJobSummaryBytes(
        * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ public java.lang.String getJobTitleSnippet() { java.lang.Object ref = jobTitleSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; @@ -1177,6 +1305,8 @@ public java.lang.String getJobTitleSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1184,15 +1314,14 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ - public com.google.protobuf.ByteString - getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -1200,6 +1329,8 @@ public java.lang.String getJobTitleSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1207,20 +1338,22 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @param value The jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippet( - java.lang.String value) { + public Builder setJobTitleSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTitleSnippet_ = value; onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1228,15 +1361,18 @@ public Builder setJobTitleSnippet(
        * 
* * string job_title_snippet = 3; + * * @return This builder for chaining. */ public Builder clearJobTitleSnippet() { - + jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet(); onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1244,16 +1380,16 @@ public Builder clearJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @param value The bytes for jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTitleSnippet_ = value; onChanged(); return this; @@ -1261,6 +1397,8 @@ public Builder setJobTitleSnippetBytes( private java.lang.Object searchTextSnippet_ = ""; /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1269,13 +1407,13 @@ public Builder setJobTitleSnippetBytes(
        * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ public java.lang.String getSearchTextSnippet() { java.lang.Object ref = searchTextSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; @@ -1284,6 +1422,8 @@ public java.lang.String getSearchTextSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1292,15 +1432,14 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ - public com.google.protobuf.ByteString - getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -1308,6 +1447,8 @@ public java.lang.String getSearchTextSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1316,20 +1457,22 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @param value The searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippet( - java.lang.String value) { + public Builder setSearchTextSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchTextSnippet_ = value; onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1338,15 +1481,18 @@ public Builder setSearchTextSnippet(
        * 
* * string search_text_snippet = 4; + * * @return This builder for chaining. */ public Builder clearSearchTextSnippet() { - + searchTextSnippet_ = getDefaultInstance().getSearchTextSnippet(); onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1355,16 +1501,16 @@ public Builder clearSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @param value The bytes for searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchTextSnippet_ = value; onChanged(); return this; @@ -1372,36 +1518,49 @@ public Builder setSearchTextSnippetBytes( private com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> commuteInfoBuilder_; + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> + commuteInfoBuilder_; /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
        * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ public boolean hasCommuteInfo() { return commuteInfoBuilder_ != null || commuteInfo_ != null; } /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
        * 
* * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo() { if (commuteInfoBuilder_ == null) { - return commuteInfo_ == null ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; + return commuteInfo_ == null + ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() + : commuteInfo_; } else { return commuteInfoBuilder_.getMessage(); } } /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1409,7 +1568,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getCommuteInfo(
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder setCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
+      public Builder setCommuteInfo(
+          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1423,6 +1583,8 @@ public Builder setCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.Comm
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1442,6 +1604,8 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1449,11 +1613,14 @@ public Builder setCommuteInfo(
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder mergeCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
+      public Builder mergeCommuteInfo(
+          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (commuteInfo_ != null) {
             commuteInfo_ =
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             commuteInfo_ = value;
           }
@@ -1465,6 +1632,8 @@ public Builder mergeCommuteInfo(com.google.cloud.talent.v4.SearchJobsResponse.Co
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1484,6 +1653,8 @@ public Builder clearCommuteInfo() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1491,12 +1662,15 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder() {
-        
+      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder
+          getCommuteInfoBuilder() {
+
         onChanged();
         return getCommuteInfoFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1504,15 +1678,19 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder getComm
        *
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
+      public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder
+          getCommuteInfoOrBuilder() {
         if (commuteInfoBuilder_ != null) {
           return commuteInfoBuilder_.getMessageOrBuilder();
         } else {
-          return commuteInfo_ == null ?
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_;
+          return commuteInfo_ == null
+              ? com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()
+              : commuteInfo_;
         }
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4.CommuteFilter].
@@ -1521,18 +1699,22 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder getCom
        * .google.cloud.talent.v4.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder> 
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo,
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder,
+              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>
           getCommuteInfoFieldBuilder() {
         if (commuteInfoBuilder_ == null) {
-          commuteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>(
-                  getCommuteInfo(),
-                  getParentForChildren(),
-                  isClean());
+          commuteInfoBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo,
+                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder,
+                  com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder>(
+                  getCommuteInfo(), getParentForChildren(), isClean());
           commuteInfo_ = null;
         }
         return commuteInfoBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1545,12 +1727,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse.MatchingJob)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse.MatchingJob)
     private static final com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob();
     }
@@ -1559,27 +1741,28 @@ public static com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public MatchingJob parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public MatchingJob parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1594,32 +1777,40 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CommuteInfoOrBuilder extends
+  public interface CommuteInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ boolean hasJobLocation(); /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return The jobLocation. */ com.google.cloud.talent.v4.Location getJobLocation(); /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1629,6 +1820,8 @@ public interface CommuteInfoOrBuilder extends com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1637,10 +1830,13 @@ public interface CommuteInfoOrBuilder extends
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1649,10 +1845,13 @@ public interface CommuteInfoOrBuilder extends
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1665,57 +1864,63 @@ public interface CommuteInfoOrBuilder extends
     com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Commute details related to this job.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.CommuteInfo} */ - public static final class CommuteInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CommuteInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) CommuteInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteInfo.newBuilder() to construct. private CommuteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommuteInfo() { - } + + private CommuteInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommuteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); } public static final int JOB_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Location jobLocation_; /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ @java.lang.Override @@ -1723,18 +1928,25 @@ public boolean hasJobLocation() { return jobLocation_ != null; } /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return The jobLocation. */ @java.lang.Override public com.google.cloud.talent.v4.Location getJobLocation() { - return jobLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : jobLocation_; } /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1749,6 +1961,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1757,6 +1971,7 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() {
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -1764,6 +1979,8 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1772,13 +1989,18 @@ public boolean hasTravelDuration() {
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1794,6 +2016,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1805,8 +2028,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (jobLocation_ != null) {
         output.writeMessage(1, getJobLocation());
       }
@@ -1823,12 +2045,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (jobLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJobLocation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobLocation());
       }
       if (travelDuration_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getTravelDuration());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1838,22 +2058,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) obj;
+      com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other =
+          (com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) obj;
 
       if (hasJobLocation() != other.hasJobLocation()) return false;
       if (hasJobLocation()) {
-        if (!getJobLocation()
-            .equals(other.getJobLocation())) return false;
+        if (!getJobLocation().equals(other.getJobLocation())) return false;
       }
       if (hasTravelDuration() != other.hasTravelDuration()) return false;
       if (hasTravelDuration()) {
-        if (!getTravelDuration()
-            .equals(other.getTravelDuration())) return false;
+        if (!getTravelDuration().equals(other.getTravelDuration())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1880,87 +2099,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1970,39 +2196,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Commute details related to this job.
      * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse.CommuteInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.class, + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2022,9 +2250,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override @@ -2043,7 +2271,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo result = new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo(this); + com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo result = + new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo(this); if (jobLocationBuilder_ == null) { result.jobLocation_ = jobLocation_; } else { @@ -2062,38 +2291,41 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo) other); } else { super.mergeFrom(other); return this; @@ -2101,7 +2333,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo other) { - if (other == com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo.getDefaultInstance()) + return this; if (other.hasJobLocation()) { mergeJobLocation(other.getJobLocation()); } @@ -2134,26 +2367,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2166,34 +2399,47 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> jobLocationBuilder_; + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> + jobLocationBuilder_; /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ public boolean hasJobLocation() { return jobLocationBuilder_ != null || jobLocation_ != null; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; + * * @return The jobLocation. */ public com.google.cloud.talent.v4.Location getJobLocation() { if (jobLocationBuilder_ == null) { - return jobLocation_ == null ? com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : jobLocation_; } else { return jobLocationBuilder_.getMessage(); } } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2214,14 +2460,15 @@ public Builder setJobLocation(com.google.cloud.talent.v4.Location value) { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4.Location job_location = 1; */ - public Builder setJobLocation( - com.google.cloud.talent.v4.Location.Builder builderForValue) { + public Builder setJobLocation(com.google.cloud.talent.v4.Location.Builder builderForValue) { if (jobLocationBuilder_ == null) { jobLocation_ = builderForValue.build(); onChanged(); @@ -2232,6 +2479,8 @@ public Builder setJobLocation( return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2242,7 +2491,9 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4.Location value) { if (jobLocationBuilder_ == null) { if (jobLocation_ != null) { jobLocation_ = - com.google.cloud.talent.v4.Location.newBuilder(jobLocation_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Location.newBuilder(jobLocation_) + .mergeFrom(value) + .buildPartial(); } else { jobLocation_ = value; } @@ -2254,6 +2505,8 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4.Location value) { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2272,6 +2525,8 @@ public Builder clearJobLocation() { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2279,11 +2534,13 @@ public Builder clearJobLocation() { * .google.cloud.talent.v4.Location job_location = 1; */ public com.google.cloud.talent.v4.Location.Builder getJobLocationBuilder() { - + onChanged(); return getJobLocationFieldBuilder().getBuilder(); } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2294,11 +2551,14 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { if (jobLocationBuilder_ != null) { return jobLocationBuilder_.getMessageOrBuilder(); } else { - return jobLocation_ == null ? - com.google.cloud.talent.v4.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4.Location.getDefaultInstance() + : jobLocation_; } } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2306,14 +2566,17 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { * .google.cloud.talent.v4.Location job_location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> getJobLocationFieldBuilder() { if (jobLocationBuilder_ == null) { - jobLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>( - getJobLocation(), - getParentForChildren(), - isClean()); + jobLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder>( + getJobLocation(), getParentForChildren(), isClean()); jobLocation_ = null; } return jobLocationBuilder_; @@ -2321,8 +2584,13 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + travelDurationBuilder_; /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2331,12 +2599,15 @@ public com.google.cloud.talent.v4.LocationOrBuilder getJobLocationOrBuilder() {
        * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2345,16 +2616,21 @@ public boolean hasTravelDuration() {
        * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2378,6 +2654,8 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2387,8 +2665,7 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration travel_duration = 2;
        */
-      public Builder setTravelDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (travelDurationBuilder_ == null) {
           travelDuration_ = builderForValue.build();
           onChanged();
@@ -2399,6 +2676,8 @@ public Builder setTravelDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2412,7 +2691,9 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         if (travelDurationBuilder_ == null) {
           if (travelDuration_ != null) {
             travelDuration_ =
-              com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(travelDuration_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             travelDuration_ = value;
           }
@@ -2424,6 +2705,8 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2445,6 +2728,8 @@ public Builder clearTravelDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2455,11 +2740,13 @@ public Builder clearTravelDuration() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       public com.google.protobuf.Duration.Builder getTravelDurationBuilder() {
-        
+
         onChanged();
         return getTravelDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2473,11 +2760,14 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
         if (travelDurationBuilder_ != null) {
           return travelDurationBuilder_.getMessageOrBuilder();
         } else {
-          return travelDuration_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : travelDuration_;
+          return travelDuration_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : travelDuration_;
         }
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2488,18 +2778,22 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getTravelDurationFieldBuilder() {
         if (travelDurationBuilder_ == null) {
-          travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getTravelDuration(),
-                  getParentForChildren(),
-                  isClean());
+          travelDurationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getTravelDuration(), getParentForChildren(), isClean());
           travelDuration_ = null;
         }
         return travelDurationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2512,12 +2806,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse.CommuteInfo)
     private static final com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo();
     }
@@ -2526,27 +2820,28 @@ public static com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CommuteInfo parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CommuteInfo parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2561,12 +2856,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int MATCHING_JOBS_FIELD_NUMBER = 1;
   private java.util.List matchingJobs_;
   /**
+   *
+   *
    * 
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2574,10 +2870,13 @@ public com.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo getDefaultInsta * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List getMatchingJobsList() { + public java.util.List + getMatchingJobsList() { return matchingJobs_; } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2585,11 +2884,14 @@ public java.util.List * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsOrBuilderList() { return matchingJobs_; } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2601,6 +2903,8 @@ public int getMatchingJobsCount() { return matchingJobs_.size(); } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2612,6 +2916,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs return matchingJobs_.get(index); } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -2619,14 +2925,16 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ @java.lang.Override - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder + getMatchingJobsOrBuilder(int index) { return matchingJobs_.get(index); } public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER = 2; private java.util.List histogramQueryResults_; /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2635,10 +2943,13 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMat
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
   @java.lang.Override
-  public java.util.List getHistogramQueryResultsList() {
+  public java.util.List
+      getHistogramQueryResultsList() {
     return histogramQueryResults_;
   }
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2647,11 +2958,13 @@ public java.util.List getHistog
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getHistogramQueryResultsOrBuilderList() {
     return histogramQueryResults_;
   }
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2664,6 +2977,8 @@ public int getHistogramQueryResultsCount() {
     return histogramQueryResults_.size();
   }
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2676,6 +2991,8 @@ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(
     return histogramQueryResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -2692,12 +3009,15 @@ public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQuer
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -2706,30 +3026,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -2740,6 +3060,8 @@ public java.lang.String getNextPageToken() { public static final int LOCATION_FILTERS_FIELD_NUMBER = 4; private java.util.List locationFilters_; /** + * + * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2753,6 +3075,8 @@ public java.util.List getLocationFiltersLis
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2762,11 +3086,13 @@ public java.util.List getLocationFiltersLis
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2780,6 +3106,8 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2793,6 +3121,8 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -2802,20 +3132,22 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
     return locationFilters_.get(index);
   }
 
   public static final int TOTAL_SIZE_FIELD_NUMBER = 6;
   private int totalSize_;
   /**
+   *
+   *
    * 
    * Number of jobs that match the specified query.
    * Note: This size is precise only if the total is less than 100,000.
    * 
* * int32 total_size = 6; + * * @return The totalSize. */ @java.lang.Override @@ -2826,12 +3158,15 @@ public int getTotalSize() { public static final int METADATA_FIELD_NUMBER = 7; private com.google.cloud.talent.v4.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2839,19 +3174,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -2867,6 +3209,8 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
   public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER = 8;
   private int broadenedQueryJobsCount_;
   /**
+   *
+   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -2878,6 +3222,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
    * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -2888,11 +3233,14 @@ public int getBroadenedQueryJobsCount() { public static final int SPELL_CORRECTION_FIELD_NUMBER = 9; private com.google.cloud.talent.v4.SpellingCorrection spellCorrection_; /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ @java.lang.Override @@ -2900,18 +3248,25 @@ public boolean hasSpellCorrection() { return spellCorrection_ != null; } /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ @java.lang.Override public com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection() { - return spellCorrection_ == null ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } /** + * + * *
    * The spell checking result, and correction.
    * 
@@ -2924,6 +3279,7 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2935,8 +3291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < matchingJobs_.size(); i++) { output.writeMessage(1, matchingJobs_.get(i)); } @@ -2971,35 +3326,30 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < matchingJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, matchingJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchingJobs_.get(i)); } for (int i = 0; i < histogramQueryResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, histogramQueryResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, histogramQueryResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, locationFilters_.get(i)); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalSize_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); } if (broadenedQueryJobsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, broadenedQueryJobsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, broadenedQueryJobsCount_); } if (spellCorrection_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getSpellCorrection()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSpellCorrection()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3009,34 +3359,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SearchJobsResponse)) { return super.equals(obj); } - com.google.cloud.talent.v4.SearchJobsResponse other = (com.google.cloud.talent.v4.SearchJobsResponse) obj; - - if (!getMatchingJobsList() - .equals(other.getMatchingJobsList())) return false; - if (!getHistogramQueryResultsList() - .equals(other.getHistogramQueryResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getLocationFiltersList() - .equals(other.getLocationFiltersList())) return false; - if (getTotalSize() - != other.getTotalSize()) return false; + com.google.cloud.talent.v4.SearchJobsResponse other = + (com.google.cloud.talent.v4.SearchJobsResponse) obj; + + if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; } - if (getBroadenedQueryJobsCount() - != other.getBroadenedQueryJobsCount()) return false; + if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - if (!getSpellCorrection() - .equals(other.getSpellCorrection())) return false; + if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3080,130 +3423,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SearchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.SearchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for SearchJob method.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SearchJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SearchJobsResponse) com.google.cloud.talent.v4.SearchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SearchJobsResponse.class, com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4.SearchJobsResponse.class, + com.google.cloud.talent.v4.SearchJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4.SearchJobsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3250,9 +3599,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_SearchJobsResponse_descriptor; } @java.lang.Override @@ -3271,7 +3620,8 @@ public com.google.cloud.talent.v4.SearchJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4.SearchJobsResponse buildPartial() { - com.google.cloud.talent.v4.SearchJobsResponse result = new com.google.cloud.talent.v4.SearchJobsResponse(this); + com.google.cloud.talent.v4.SearchJobsResponse result = + new com.google.cloud.talent.v4.SearchJobsResponse(this); int from_bitField0_ = bitField0_; if (matchingJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3321,38 +3671,39 @@ public com.google.cloud.talent.v4.SearchJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SearchJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse)other); + return mergeFrom((com.google.cloud.talent.v4.SearchJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -3379,9 +3730,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { matchingJobsBuilder_ = null; matchingJobs_ = other.matchingJobs_; bitField0_ = (bitField0_ & ~0x00000001); - matchingJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchingJobsFieldBuilder() : null; + matchingJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMatchingJobsFieldBuilder() + : null; } else { matchingJobsBuilder_.addAllMessages(other.matchingJobs_); } @@ -3405,9 +3757,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { histogramQueryResultsBuilder_ = null; histogramQueryResults_ = other.histogramQueryResults_; bitField0_ = (bitField0_ & ~0x00000002); - histogramQueryResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHistogramQueryResultsFieldBuilder() : null; + histogramQueryResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHistogramQueryResultsFieldBuilder() + : null; } else { histogramQueryResultsBuilder_.addAllMessages(other.histogramQueryResults_); } @@ -3435,9 +3788,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4.SearchJobsResponse other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000004); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationFiltersFieldBuilder() : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationFiltersFieldBuilder() + : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -3481,80 +3835,84 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob m = - input.readMessage( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.parser(), - extensionRegistry); - if (matchingJobsBuilder_ == null) { - ensureMatchingJobsIsMutable(); - matchingJobs_.add(m); - } else { - matchingJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4.HistogramQueryResult m = - input.readMessage( - com.google.cloud.talent.v4.HistogramQueryResult.parser(), - extensionRegistry); - if (histogramQueryResultsBuilder_ == null) { - ensureHistogramQueryResultsIsMutable(); - histogramQueryResults_.add(m); - } else { - histogramQueryResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob m = + input.readMessage( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.parser(), + extensionRegistry); + if (matchingJobsBuilder_ == null) { + ensureMatchingJobsIsMutable(); + matchingJobs_.add(m); + } else { + matchingJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4.HistogramQueryResult m = + input.readMessage( + com.google.cloud.talent.v4.HistogramQueryResult.parser(), + extensionRegistry); + if (histogramQueryResultsBuilder_ == null) { + ensureHistogramQueryResultsIsMutable(); + histogramQueryResults_.add(m); + } else { + histogramQueryResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - com.google.cloud.talent.v4.Location m = - input.readMessage( - com.google.cloud.talent.v4.Location.parser(), - extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 34 - case 48: { - totalSize_ = input.readInt32(); + break; + } // case 26 + case 34: + { + com.google.cloud.talent.v4.Location m = + input.readMessage( + com.google.cloud.talent.v4.Location.parser(), extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 34 + case 48: + { + totalSize_ = input.readInt32(); - break; - } // case 48 - case 58: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 48 + case 58: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 64: { - broadenedQueryJobsCount_ = input.readInt32(); + break; + } // case 58 + case 64: + { + broadenedQueryJobsCount_ = input.readInt32(); - break; - } // case 64 - case 74: { - input.readMessage( - getSpellCorrectionFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 64 + case 74: + { + input.readMessage(getSpellCorrectionFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3564,28 +3922,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List matchingJobs_ = - java.util.Collections.emptyList(); + private java.util.List + matchingJobs_ = java.util.Collections.emptyList(); + private void ensureMatchingJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - matchingJobs_ = new java.util.ArrayList(matchingJobs_); + matchingJobs_ = + new java.util.ArrayList( + matchingJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> matchingJobsBuilder_; + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + matchingJobsBuilder_; /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List getMatchingJobsList() { + public java.util.List + getMatchingJobsList() { if (matchingJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchingJobs_); } else { @@ -3593,11 +3962,14 @@ public java.util.List } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public int getMatchingJobsCount() { if (matchingJobsBuilder_ == null) { @@ -3607,11 +3979,14 @@ public int getMatchingJobsCount() { } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -3621,11 +3996,14 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder setMatchingJobs( int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { @@ -3642,14 +4020,18 @@ public Builder setMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder setMatchingJobs( - int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.set(index, builderForValue.build()); @@ -3660,13 +4042,17 @@ public Builder setMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public Builder addMatchingJobs(com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { + public Builder addMatchingJobs( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { if (matchingJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3680,11 +4066,14 @@ public Builder addMatchingJobs(com.google.cloud.talent.v4.SearchJobsResponse.Mat return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob value) { @@ -3701,11 +4090,14 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { @@ -3719,14 +4111,18 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( - int index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.add(index, builderForValue.build()); @@ -3737,18 +4133,21 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addAllMatchingJobs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchingJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchingJobs_); onChanged(); } else { matchingJobsBuilder_.addAllMessages(values); @@ -3756,11 +4155,14 @@ public Builder addAllMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder clearMatchingJobs() { if (matchingJobsBuilder_ == null) { @@ -3773,11 +4175,14 @@ public Builder clearMatchingJobs() { return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder removeMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -3790,39 +4195,50 @@ public Builder removeMatchingJobs(int index) { return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder( int index) { return getMatchingJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder + getMatchingJobsOrBuilder(int index) { if (matchingJobsBuilder_ == null) { - return matchingJobs_.get(index); } else { + return matchingJobs_.get(index); + } else { return matchingJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List - getMatchingJobsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + getMatchingJobsOrBuilderList() { if (matchingJobsBuilder_ != null) { return matchingJobsBuilder_.getMessageOrBuilderList(); } else { @@ -3830,75 +4246,101 @@ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMat } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder() { - return getMatchingJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder + addMatchingJobsBuilder() { + return getMatchingJobsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder( int index) { - return getMatchingJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); + return getMatchingJobsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List - getMatchingJobsBuilderList() { + public java.util.List + getMatchingJobsBuilderList() { return getMatchingJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsFieldBuilder() { if (matchingJobsBuilder_ == null) { - matchingJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + matchingJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder>( + matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; } private java.util.List histogramQueryResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHistogramQueryResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - histogramQueryResults_ = new java.util.ArrayList(histogramQueryResults_); + histogramQueryResults_ = + new java.util.ArrayList( + histogramQueryResults_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> histogramQueryResultsBuilder_; + com.google.cloud.talent.v4.HistogramQueryResult, + com.google.cloud.talent.v4.HistogramQueryResult.Builder, + com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> + histogramQueryResultsBuilder_; /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List getHistogramQueryResultsList() { + public java.util.List + getHistogramQueryResultsList() { if (histogramQueryResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(histogramQueryResults_); } else { @@ -3906,12 +4348,15 @@ public java.util.List getHistog } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public int getHistogramQueryResultsCount() { if (histogramQueryResultsBuilder_ == null) { @@ -3921,12 +4366,15 @@ public int getHistogramQueryResultsCount() { } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -3936,12 +4384,15 @@ public com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults( } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult value) { @@ -3958,12 +4409,15 @@ public Builder setHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -3977,12 +4431,15 @@ public Builder setHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults(com.google.cloud.talent.v4.HistogramQueryResult value) { if (histogramQueryResultsBuilder_ == null) { @@ -3998,12 +4455,15 @@ public Builder addHistogramQueryResults(com.google.cloud.talent.v4.HistogramQuer return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult value) { @@ -4020,12 +4480,15 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4039,12 +4502,15 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4.HistogramQueryResult.Builder builderForValue) { @@ -4058,19 +4524,21 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addAllHistogramQueryResults( java.lang.Iterable values) { if (histogramQueryResultsBuilder_ == null) { ensureHistogramQueryResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, histogramQueryResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueryResults_); onChanged(); } else { histogramQueryResultsBuilder_.addAllMessages(values); @@ -4078,12 +4546,15 @@ public Builder addAllHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder clearHistogramQueryResults() { if (histogramQueryResultsBuilder_ == null) { @@ -4096,12 +4567,15 @@ public Builder clearHistogramQueryResults() { return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public Builder removeHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4114,42 +4588,52 @@ public Builder removeHistogramQueryResults(int index) { return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public com.google.cloud.talent.v4.HistogramQueryResult.Builder getHistogramQueryResultsBuilder( int index) { return getHistogramQueryResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder + getHistogramQueryResultsOrBuilder(int index) { if (histogramQueryResultsBuilder_ == null) { - return histogramQueryResults_.get(index); } else { + return histogramQueryResults_.get(index); + } else { return histogramQueryResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List - getHistogramQueryResultsOrBuilderList() { + public java.util.List + getHistogramQueryResultsOrBuilderList() { if (histogramQueryResultsBuilder_ != null) { return histogramQueryResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4157,48 +4641,64 @@ public com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQuer } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQueryResultsBuilder() { - return getHistogramQueryResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4.HistogramQueryResult.Builder + addHistogramQueryResultsBuilder() { + return getHistogramQueryResultsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQueryResultsBuilder( int index) { - return getHistogramQueryResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); + return getHistogramQueryResultsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4.HistogramQueryResult.getDefaultInstance()); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List - getHistogramQueryResultsBuilderList() { + public java.util.List + getHistogramQueryResultsBuilderList() { return getHistogramQueryResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> + com.google.cloud.talent.v4.HistogramQueryResult, + com.google.cloud.talent.v4.HistogramQueryResult.Builder, + com.google.cloud.talent.v4.HistogramQueryResultOrBuilder> getHistogramQueryResultsFieldBuilder() { if (histogramQueryResultsBuilder_ == null) { - histogramQueryResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.HistogramQueryResult, com.google.cloud.talent.v4.HistogramQueryResult.Builder, com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>( + histogramQueryResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4.HistogramQueryResult, + com.google.cloud.talent.v4.HistogramQueryResult.Builder, + com.google.cloud.talent.v4.HistogramQueryResultOrBuilder>( histogramQueryResults_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4210,19 +4710,21 @@ public com.google.cloud.talent.v4.HistogramQueryResult.Builder addHistogramQuery private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4231,21 +4733,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4253,75 +4756,89 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - locationFilters_ = new java.util.ArrayList(locationFilters_); + locationFilters_ = + new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> locationFiltersBuilder_; + com.google.cloud.talent.v4.Location, + com.google.cloud.talent.v4.Location.Builder, + com.google.cloud.talent.v4.LocationOrBuilder> + locationFiltersBuilder_; /** + * + * *
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4338,6 +4855,8 @@ public java.util.List getLocationFiltersLis
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4354,6 +4873,8 @@ public int getLocationFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4370,6 +4891,8 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4378,8 +4901,7 @@ public com.google.cloud.talent.v4.Location getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder setLocationFilters(
-        int index, com.google.cloud.talent.v4.Location value) {
+    public Builder setLocationFilters(int index, com.google.cloud.talent.v4.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4393,6 +4915,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4413,6 +4937,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4435,6 +4961,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4443,8 +4971,7 @@ public Builder addLocationFilters(com.google.cloud.talent.v4.Location value) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder addLocationFilters(
-        int index, com.google.cloud.talent.v4.Location value) {
+    public Builder addLocationFilters(int index, com.google.cloud.talent.v4.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4458,6 +4985,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4466,8 +4995,7 @@ public Builder addLocationFilters(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public Builder addLocationFilters(
-        com.google.cloud.talent.v4.Location.Builder builderForValue) {
+    public Builder addLocationFilters(com.google.cloud.talent.v4.Location.Builder builderForValue) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
         locationFilters_.add(builderForValue.build());
@@ -4478,6 +5006,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4498,6 +5028,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4510,8 +5042,7 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -4519,6 +5050,8 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4538,6 +5071,8 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4557,6 +5092,8 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4565,11 +5102,12 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4578,14 +5116,16 @@ public com.google.cloud.talent.v4.Location.Builder getLocationFiltersBuilder(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);  } else {
+        return locationFilters_.get(index);
+      } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4594,8 +5134,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public java.util.List 
-         getLocationFiltersOrBuilderList() {
+    public java.util.List
+        getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -4603,6 +5143,8 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4612,10 +5154,12 @@ public com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
     public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4.Location.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4.Location.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4624,12 +5168,13 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder() {
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(
-        int index) {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4.Location.getDefaultInstance());
+    public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(int index) {
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4.Location.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -4638,16 +5183,22 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(
      *
      * repeated .google.cloud.talent.v4.Location location_filters = 4;
      */
-    public java.util.List 
-         getLocationFiltersBuilderList() {
+    public java.util.List
+        getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder> 
+            com.google.cloud.talent.v4.Location,
+            com.google.cloud.talent.v4.Location.Builder,
+            com.google.cloud.talent.v4.LocationOrBuilder>
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4.Location, com.google.cloud.talent.v4.Location.Builder, com.google.cloud.talent.v4.LocationOrBuilder>(
+        locationFiltersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4.Location,
+                com.google.cloud.talent.v4.Location.Builder,
+                com.google.cloud.talent.v4.LocationOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -4657,14 +5208,17 @@ public com.google.cloud.talent.v4.Location.Builder addLocationFiltersBuilder(
       return locationFiltersBuilder_;
     }
 
-    private int totalSize_ ;
+    private int totalSize_;
     /**
+     *
+     *
      * 
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; + * * @return The totalSize. */ @java.lang.Override @@ -4672,32 +5226,38 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; + * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** + * + * *
      * Number of jobs that match the specified query.
      * Note: This size is precise only if the total is less than 100,000.
      * 
* * int32 total_size = 6; + * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; @@ -4705,36 +5265,49 @@ public Builder clearTotalSize() { private com.google.cloud.talent.v4.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4.ResponseMetadata, + com.google.cloud.talent.v4.ResponseMetadata.Builder, + com.google.cloud.talent.v4.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return The metadata. */ public com.google.cloud.talent.v4.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4756,6 +5329,8 @@ public Builder setMetadata(com.google.cloud.talent.v4.ResponseMetadata value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4775,6 +5350,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4786,7 +5363,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -4798,6 +5377,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4.ResponseMetadata value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4817,6 +5398,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4825,11 +5408,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      */
     public com.google.cloud.talent.v4.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4841,11 +5426,14 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4854,21 +5442,26 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * .google.cloud.talent.v4.ResponseMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4.ResponseMetadata,
+            com.google.cloud.talent.v4.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4.ResponseMetadata, com.google.cloud.talent.v4.ResponseMetadata.Builder, com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4.ResponseMetadata,
+                com.google.cloud.talent.v4.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private int broadenedQueryJobsCount_ ;
+    private int broadenedQueryJobsCount_;
     /**
+     *
+     *
      * 
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4880,6 +5473,7 @@ public com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder
      * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -4887,6 +5481,8 @@ public int getBroadenedQueryJobsCount() { return broadenedQueryJobsCount_; } /** + * + * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4898,16 +5494,19 @@ public int getBroadenedQueryJobsCount() {
      * 
* * int32 broadened_query_jobs_count = 8; + * * @param value The broadenedQueryJobsCount to set. * @return This builder for chaining. */ public Builder setBroadenedQueryJobsCount(int value) { - + broadenedQueryJobsCount_ = value; onChanged(); return this; } /** + * + * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4919,10 +5518,11 @@ public Builder setBroadenedQueryJobsCount(int value) {
      * 
* * int32 broadened_query_jobs_count = 8; + * * @return This builder for chaining. */ public Builder clearBroadenedQueryJobsCount() { - + broadenedQueryJobsCount_ = 0; onChanged(); return this; @@ -4930,34 +5530,47 @@ public Builder clearBroadenedQueryJobsCount() { private com.google.cloud.talent.v4.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> spellCorrectionBuilder_; + com.google.cloud.talent.v4.SpellingCorrection, + com.google.cloud.talent.v4.SpellingCorrection.Builder, + com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> + spellCorrectionBuilder_; /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ public boolean hasSpellCorrection() { return spellCorrectionBuilder_ != null || spellCorrection_ != null; } /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ public com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection() { if (spellCorrectionBuilder_ == null) { - return spellCorrection_ == null ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } else { return spellCorrectionBuilder_.getMessage(); } } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -4978,6 +5591,8 @@ public Builder setSpellCorrection(com.google.cloud.talent.v4.SpellingCorrection return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -4996,6 +5611,8 @@ public Builder setSpellCorrection( return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5006,7 +5623,9 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4.SpellingCorrectio if (spellCorrectionBuilder_ == null) { if (spellCorrection_ != null) { spellCorrection_ = - com.google.cloud.talent.v4.SpellingCorrection.newBuilder(spellCorrection_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.SpellingCorrection.newBuilder(spellCorrection_) + .mergeFrom(value) + .buildPartial(); } else { spellCorrection_ = value; } @@ -5018,6 +5637,8 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4.SpellingCorrectio return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5036,6 +5657,8 @@ public Builder clearSpellCorrection() { return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5043,11 +5666,13 @@ public Builder clearSpellCorrection() { * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; */ public com.google.cloud.talent.v4.SpellingCorrection.Builder getSpellCorrectionBuilder() { - + onChanged(); return getSpellCorrectionFieldBuilder().getBuilder(); } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5058,11 +5683,14 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection if (spellCorrectionBuilder_ != null) { return spellCorrectionBuilder_.getMessageOrBuilder(); } else { - return spellCorrection_ == null ? - com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5070,21 +5698,24 @@ public com.google.cloud.talent.v4.SpellingCorrectionOrBuilder getSpellCorrection * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> + com.google.cloud.talent.v4.SpellingCorrection, + com.google.cloud.talent.v4.SpellingCorrection.Builder, + com.google.cloud.talent.v4.SpellingCorrectionOrBuilder> getSpellCorrectionFieldBuilder() { if (spellCorrectionBuilder_ == null) { - spellCorrectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.SpellingCorrection, com.google.cloud.talent.v4.SpellingCorrection.Builder, com.google.cloud.talent.v4.SpellingCorrectionOrBuilder>( - getSpellCorrection(), - getParentForChildren(), - isClean()); + spellCorrectionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.SpellingCorrection, + com.google.cloud.talent.v4.SpellingCorrection.Builder, + com.google.cloud.talent.v4.SpellingCorrectionOrBuilder>( + getSpellCorrection(), getParentForChildren(), isClean()); spellCorrection_ = null; } return spellCorrectionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5094,12 +5725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SearchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SearchJobsResponse) private static final com.google.cloud.talent.v4.SearchJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SearchJobsResponse(); } @@ -5108,27 +5739,27 @@ public static com.google.cloud.talent.v4.SearchJobsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5143,6 +5774,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SearchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java similarity index 88% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java index ff7f36f9b532..3767d6f48293 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SearchJobsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; -public interface SearchJobsResponseOrBuilder extends +public interface SearchJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SearchJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List - getMatchingJobsList(); + java.util.List getMatchingJobsList(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -25,6 +44,8 @@ public interface SearchJobsResponseOrBuilder extends */ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJob getMatchingJobs(int index); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -33,15 +54,19 @@ public interface SearchJobsResponseOrBuilder extends */ int getMatchingJobsCount(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
* * repeated .google.cloud.talent.v4.SearchJobsResponse.MatchingJob matching_jobs = 1; */ - java.util.List + java.util.List getMatchingJobsOrBuilderList(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].
    * 
@@ -52,6 +77,8 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo int index); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -59,9 +86,10 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    *
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
-  java.util.List 
-      getHistogramQueryResultsList();
+  java.util.List getHistogramQueryResultsList();
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -71,6 +99,8 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    */
   com.google.cloud.talent.v4.HistogramQueryResult getHistogramQueryResults(int index);
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -80,6 +110,8 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    */
   int getHistogramQueryResultsCount();
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -87,9 +119,11 @@ com.google.cloud.talent.v4.SearchJobsResponse.MatchingJobOrBuilder getMatchingJo
    *
    * repeated .google.cloud.talent.v4.HistogramQueryResult histogram_query_results = 2;
    */
-  java.util.List 
+  java.util.List
       getHistogramQueryResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4.SearchJobsRequest.histogram_queries].
@@ -101,28 +135,35 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
       int index);
 
   /**
+   *
+   *
    * 
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -131,9 +172,10 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  java.util.List 
-      getLocationFiltersList();
+  java.util.List getLocationFiltersList();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -144,6 +186,8 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    */
   com.google.cloud.talent.v4.Location getLocationFilters(int index);
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -154,6 +198,8 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    */
   int getLocationFiltersCount();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -162,9 +208,11 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  java.util.List 
+  java.util.List
       getLocationFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4.Location.location_type] is
@@ -173,41 +221,51 @@ com.google.cloud.talent.v4.HistogramQueryResultOrBuilder getHistogramQueryResult
    *
    * repeated .google.cloud.talent.v4.Location location_filters = 4;
    */
-  com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
-      int index);
+  com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Number of jobs that match the specified query.
    * Note: This size is precise only if the total is less than 100,000.
    * 
* * int32 total_size = 6; + * * @return The totalSize. */ int getTotalSize(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4.ResponseMetadata metadata = 7; + * * @return The metadata. */ com.google.cloud.talent.v4.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -218,6 +276,8 @@ com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4.ResponseMetadataOrBuilder getMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -229,29 +289,38 @@ com.google.cloud.talent.v4.LocationOrBuilder getLocationFiltersOrBuilder(
    * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ int getBroadenedQueryJobsCount(); /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ boolean hasSpellCorrection(); /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ com.google.cloud.talent.v4.SpellingCorrection getSpellCorrection(); /** + * + * *
    * The spell checking result, and correction.
    * 
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java similarity index 71% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java index 9f8075ce5aa3..7cffbbe206bc 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrection.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; /** + * + * *
  * Spell check result.
  * 
* * Protobuf type {@code google.cloud.talent.v4.SpellingCorrection} */ -public final class SpellingCorrection extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpellingCorrection extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.SpellingCorrection) SpellingCorrectionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpellingCorrection.newBuilder() to construct. private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpellingCorrection() { correctedText_ = ""; correctedHtml_ = ""; @@ -26,37 +44,41 @@ private SpellingCorrection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpellingCorrection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SpellingCorrection.class, com.google.cloud.talent.v4.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4.SpellingCorrection.class, + com.google.cloud.talent.v4.SpellingCorrection.Builder.class); } public static final int CORRECTED_FIELD_NUMBER = 1; private boolean corrected_; /** + * + * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; + * * @return The corrected. */ @java.lang.Override @@ -67,11 +89,14 @@ public boolean getCorrected() { public static final int CORRECTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object correctedText_; /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The correctedText. */ @java.lang.Override @@ -80,29 +105,29 @@ public java.lang.String getCorrectedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; } } /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ @java.lang.Override - public com.google.protobuf.ByteString - getCorrectedTextBytes() { + public com.google.protobuf.ByteString getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedText_ = b; return b; } else { @@ -113,6 +138,8 @@ public java.lang.String getCorrectedText() { public static final int CORRECTED_HTML_FIELD_NUMBER = 3; private volatile java.lang.Object correctedHtml_; /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -123,6 +150,7 @@ public java.lang.String getCorrectedText() {
    * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ @java.lang.Override @@ -131,14 +159,15 @@ public java.lang.String getCorrectedHtml() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; } } /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -149,16 +178,15 @@ public java.lang.String getCorrectedHtml() {
    * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ @java.lang.Override - public com.google.protobuf.ByteString - getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -167,6 +195,7 @@ public java.lang.String getCorrectedHtml() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (corrected_ != false) { output.writeBool(1, corrected_); } @@ -199,8 +227,7 @@ public int getSerializedSize() { size = 0; if (corrected_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, corrected_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, corrected_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correctedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, correctedText_); @@ -216,19 +243,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.SpellingCorrection)) { return super.equals(obj); } - com.google.cloud.talent.v4.SpellingCorrection other = (com.google.cloud.talent.v4.SpellingCorrection) obj; + com.google.cloud.talent.v4.SpellingCorrection other = + (com.google.cloud.talent.v4.SpellingCorrection) obj; - if (getCorrected() - != other.getCorrected()) return false; - if (!getCorrectedText() - .equals(other.getCorrectedText())) return false; - if (!getCorrectedHtml() - .equals(other.getCorrectedHtml())) return false; + if (getCorrected() != other.getCorrected()) return false; + if (!getCorrectedText().equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,8 +266,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCorrected()); hash = (37 * hash) + CORRECTED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getCorrectedText().hashCode(); hash = (37 * hash) + CORRECTED_HTML_FIELD_NUMBER; @@ -252,130 +276,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.SpellingCorrection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.SpellingCorrection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Spell check result.
    * 
* * Protobuf type {@code google.cloud.talent.v4.SpellingCorrection} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.SpellingCorrection) com.google.cloud.talent.v4.SpellingCorrectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.SpellingCorrection.class, com.google.cloud.talent.v4.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4.SpellingCorrection.class, + com.google.cloud.talent.v4.SpellingCorrection.Builder.class); } // Construct using com.google.cloud.talent.v4.SpellingCorrection.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; } @java.lang.Override @@ -410,7 +440,8 @@ public com.google.cloud.talent.v4.SpellingCorrection build() { @java.lang.Override public com.google.cloud.talent.v4.SpellingCorrection buildPartial() { - com.google.cloud.talent.v4.SpellingCorrection result = new com.google.cloud.talent.v4.SpellingCorrection(this); + com.google.cloud.talent.v4.SpellingCorrection result = + new com.google.cloud.talent.v4.SpellingCorrection(this); result.corrected_ = corrected_; result.correctedText_ = correctedText_; result.correctedHtml_ = correctedHtml_; @@ -422,38 +453,39 @@ public com.google.cloud.talent.v4.SpellingCorrection buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.SpellingCorrection) { - return mergeFrom((com.google.cloud.talent.v4.SpellingCorrection)other); + return mergeFrom((com.google.cloud.talent.v4.SpellingCorrection) other); } else { super.mergeFrom(other); return this; @@ -499,27 +531,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - corrected_ = input.readBool(); - - break; - } // case 8 - case 18: { - correctedText_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - correctedHtml_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + corrected_ = input.readBool(); + + break; + } // case 8 + case 18: + { + correctedText_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + correctedHtml_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,13 +566,16 @@ public Builder mergeFrom( return this; } - private boolean corrected_ ; + private boolean corrected_; /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @return The corrected. */ @java.lang.Override @@ -544,30 +583,36 @@ public boolean getCorrected() { return corrected_; } /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @param value The corrected to set. * @return This builder for chaining. */ public Builder setCorrected(boolean value) { - + corrected_ = value; onChanged(); return this; } /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @return This builder for chaining. */ public Builder clearCorrected() { - + corrected_ = false; onChanged(); return this; @@ -575,18 +620,20 @@ public Builder clearCorrected() { private java.lang.Object correctedText_ = ""; /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return The correctedText. */ public java.lang.String getCorrectedText() { java.lang.Object ref = correctedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; @@ -595,20 +642,21 @@ public java.lang.String getCorrectedText() { } } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ - public com.google.protobuf.ByteString - getCorrectedTextBytes() { + public com.google.protobuf.ByteString getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedText_ = b; return b; } else { @@ -616,54 +664,61 @@ public java.lang.String getCorrectedText() { } } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @param value The correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedText( - java.lang.String value) { + public Builder setCorrectedText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedText_ = value; onChanged(); return this; } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return This builder for chaining. */ public Builder clearCorrectedText() { - + correctedText_ = getDefaultInstance().getCorrectedText(); onChanged(); return this; } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @param value The bytes for correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedTextBytes( - com.google.protobuf.ByteString value) { + public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedText_ = value; onChanged(); return this; @@ -671,6 +726,8 @@ public Builder setCorrectedTextBytes( private java.lang.Object correctedHtml_ = ""; /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -681,13 +738,13 @@ public Builder setCorrectedTextBytes(
      * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ public java.lang.String getCorrectedHtml() { java.lang.Object ref = correctedHtml_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; @@ -696,6 +753,8 @@ public java.lang.String getCorrectedHtml() { } } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -706,15 +765,14 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ - public com.google.protobuf.ByteString - getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -722,6 +780,8 @@ public java.lang.String getCorrectedHtml() { } } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -732,20 +792,22 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @param value The correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtml( - java.lang.String value) { + public Builder setCorrectedHtml(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedHtml_ = value; onChanged(); return this; } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -756,15 +818,18 @@ public Builder setCorrectedHtml(
      * 
* * string corrected_html = 3; + * * @return This builder for chaining. */ public Builder clearCorrectedHtml() { - + correctedHtml_ = getDefaultInstance().getCorrectedHtml(); onChanged(); return this; } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -775,23 +840,23 @@ public Builder clearCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @param value The bytes for correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtmlBytes( - com.google.protobuf.ByteString value) { + public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedHtml_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.SpellingCorrection) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.SpellingCorrection) private static final com.google.cloud.talent.v4.SpellingCorrection DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.SpellingCorrection(); } @@ -815,27 +880,27 @@ public static com.google.cloud.talent.v4.SpellingCorrection getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpellingCorrection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpellingCorrection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,6 +915,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.SpellingCorrection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java similarity index 70% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java index 460680d980c6..96e411970526 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/SpellingCorrectionOrBuilder.java @@ -1,43 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface SpellingCorrectionOrBuilder extends +public interface SpellingCorrectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.SpellingCorrection) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; + * * @return The corrected. */ boolean getCorrected(); /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The correctedText. */ java.lang.String getCorrectedText(); /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ - com.google.protobuf.ByteString - getCorrectedTextBytes(); + com.google.protobuf.ByteString getCorrectedTextBytes(); /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -48,10 +74,13 @@ public interface SpellingCorrectionOrBuilder extends
    * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ java.lang.String getCorrectedHtml(); /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -62,8 +91,8 @@ public interface SpellingCorrectionOrBuilder extends
    * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ - com.google.protobuf.ByteString - getCorrectedHtmlBytes(); + com.google.protobuf.ByteString getCorrectedHtmlBytes(); } diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java similarity index 70% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java index 9cef52604d00..d34feb7436f9 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Tenant.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant.proto package com.google.cloud.talent.v4; /** + * + * *
  * A Tenant resource represents a tenant in the service. A tenant is a group or
  * entity that shares common access with specific privileges for resources like
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4.Tenant}
  */
-public final class Tenant extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tenant extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.Tenant)
     TenantOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tenant.newBuilder() to construct.
   private Tenant(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tenant() {
     name_ = "";
     externalId_ = "";
@@ -29,32 +47,35 @@ private Tenant() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tenant();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4.TenantProto
+        .internal_static_google_cloud_talent_v4_Tenant_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
+    return com.google.cloud.talent.v4.TenantProto
+        .internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4.Tenant.class, com.google.cloud.talent.v4.Tenant.Builder.class);
+            com.google.cloud.talent.v4.Tenant.class,
+            com.google.cloud.talent.v4.Tenant.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -64,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -72,14 +94,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -89,16 +112,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -109,12 +131,15 @@ public java.lang.String getName() { public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ @java.lang.Override @@ -123,30 +148,30 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -155,6 +180,7 @@ public java.lang.String getExternalId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -197,17 +222,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.Tenant)) { return super.equals(obj); } com.google.cloud.talent.v4.Tenant other = (com.google.cloud.talent.v4.Tenant) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getExternalId() - .equals(other.getExternalId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,97 +251,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.Tenant parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.Tenant parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Tenant parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4.Tenant parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4.Tenant parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Tenant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.Tenant parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.Tenant parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Tenant parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Tenant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Tenant parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.Tenant parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.Tenant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.Tenant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Tenant resource represents a tenant in the service. A tenant is a group or
    * entity that shares common access with specific privileges for resources like
@@ -328,33 +357,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4.Tenant}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.Tenant)
       com.google.cloud.talent.v4.TenantOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4.TenantProto
+          .internal_static_google_cloud_talent_v4_Tenant_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
+      return com.google.cloud.talent.v4.TenantProto
+          .internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4.Tenant.class, com.google.cloud.talent.v4.Tenant.Builder.class);
+              com.google.cloud.talent.v4.Tenant.class,
+              com.google.cloud.talent.v4.Tenant.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4.Tenant.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -366,9 +394,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4.TenantProto.internal_static_google_cloud_talent_v4_Tenant_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4.TenantProto
+          .internal_static_google_cloud_talent_v4_Tenant_descriptor;
     }
 
     @java.lang.Override
@@ -398,38 +426,39 @@ public com.google.cloud.talent.v4.Tenant buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4.Tenant) {
-        return mergeFrom((com.google.cloud.talent.v4.Tenant)other);
+        return mergeFrom((com.google.cloud.talent.v4.Tenant) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -472,22 +501,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              externalId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                externalId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -500,6 +532,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -509,13 +543,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -524,6 +558,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -533,15 +569,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -549,6 +584,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -558,20 +595,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -581,15 +620,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -599,16 +641,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -616,19 +658,21 @@ public Builder setNameBytes( private java.lang.Object externalId_ = ""; /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -637,21 +681,22 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -659,64 +704,71 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId( - java.lang.String value) { + public Builder setExternalId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -726,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.Tenant) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.Tenant) private static final com.google.cloud.talent.v4.Tenant DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.Tenant(); } @@ -740,27 +792,27 @@ public static com.google.cloud.talent.v4.Tenant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tenant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tenant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -775,6 +827,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.Tenant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java similarity index 100% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantName.java diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java similarity index 66% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java index 464d16958d06..232e4cb12843 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/tenant.proto package com.google.cloud.talent.v4; -public interface TenantOrBuilder extends +public interface TenantOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.Tenant) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -17,10 +35,13 @@ public interface TenantOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -30,30 +51,35 @@ public interface TenantOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ java.lang.String getExternalId(); /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - com.google.protobuf.ByteString - getExternalIdBytes(); + com.google.protobuf.ByteString getExternalIdBytes(); } diff --git a/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java new file mode 100644 index 000000000000..83b26d9a14e9 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4/tenant.proto + +package com.google.cloud.talent.v4; + +public final class TenantProto { + private TenantProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4_Tenant_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n#google/cloud/talent/v4/tenant.proto\022\026g" + + "oogle.cloud.talent.v4\032\037google/api/field_" + + "behavior.proto\032\031google/api/resource.prot" + + "o\"v\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013external_id" + + "\030\002 \001(\tB\003\340A\002:D\352AA\n\032jobs.googleapis.com/Te" + + "nant\022#projects/{project}/tenants/{tenant" + + "}Bo\n\032com.google.cloud.talent.v4B\013TenantP" + + "rotoP\001Z * Message representing a period of time between two timestamps. *
* * Protobuf type {@code google.cloud.talent.v4.TimestampRange} */ -public final class TimestampRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.TimestampRange) TimestampRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimestampRange() { - } + + private TimestampRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimestampRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.TimestampRange.class, com.google.cloud.talent.v4.TimestampRange.Builder.class); + com.google.cloud.talent.v4.TimestampRange.class, + com.google.cloud.talent.v4.TimestampRange.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -62,11 +83,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Begin of the period (inclusive).
    * 
@@ -88,11 +114,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +129,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -112,6 +144,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * End of the period (exclusive).
    * 
@@ -124,6 +158,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -153,12 +187,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +200,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4.TimestampRange)) { return super.equals(obj); } - com.google.cloud.talent.v4.TimestampRange other = (com.google.cloud.talent.v4.TimestampRange) obj; + com.google.cloud.talent.v4.TimestampRange other = + (com.google.cloud.talent.v4.TimestampRange) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,130 +240,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4.TimestampRange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.TimestampRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message representing a period of time between two timestamps.
    * 
* * Protobuf type {@code google.cloud.talent.v4.TimestampRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.TimestampRange) com.google.cloud.talent.v4.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.TimestampRange.class, com.google.cloud.talent.v4.TimestampRange.Builder.class); + com.google.cloud.talent.v4.TimestampRange.class, + com.google.cloud.talent.v4.TimestampRange.Builder.class); } // Construct using com.google.cloud.talent.v4.TimestampRange.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CommonProto.internal_static_google_cloud_talent_v4_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CommonProto + .internal_static_google_cloud_talent_v4_TimestampRange_descriptor; } @java.lang.Override @@ -373,7 +410,8 @@ public com.google.cloud.talent.v4.TimestampRange build() { @java.lang.Override public com.google.cloud.talent.v4.TimestampRange buildPartial() { - com.google.cloud.talent.v4.TimestampRange result = new com.google.cloud.talent.v4.TimestampRange(this); + com.google.cloud.talent.v4.TimestampRange result = + new com.google.cloud.talent.v4.TimestampRange(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -392,38 +430,39 @@ public com.google.cloud.talent.v4.TimestampRange buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.TimestampRange) { - return mergeFrom((com.google.cloud.talent.v4.TimestampRange)other); + return mergeFrom((com.google.cloud.talent.v4.TimestampRange) other); } else { super.mergeFrom(other); return this; @@ -464,26 +503,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,24 +534,33 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -524,6 +571,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -544,14 +593,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -562,6 +612,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -572,7 +624,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -584,6 +636,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -602,6 +656,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -609,11 +665,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -624,11 +682,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -636,14 +695,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -651,24 +713,33 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -679,6 +750,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -699,14 +772,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -717,6 +791,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -727,7 +803,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -739,6 +815,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -757,6 +835,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -764,11 +844,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -779,11 +861,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -791,21 +874,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,12 +901,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.TimestampRange) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.TimestampRange) private static final com.google.cloud.talent.v4.TimestampRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4.TimestampRange(); } @@ -829,27 +915,27 @@ public static com.google.cloud.talent.v4.TimestampRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java similarity index 67% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java index fae1667a3322..775b0aeffc63 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TimestampRangeOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/common.proto package com.google.cloud.talent.v4; -public interface TimestampRangeOrBuilder extends +public interface TimestampRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.TimestampRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Begin of the period (inclusive).
    * 
@@ -35,24 +59,32 @@ public interface TimestampRangeOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * End of the period (exclusive).
    * 
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java similarity index 72% rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java index 8877fdca2aa8..d2c436575a90 100644 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequest.java @@ -1,60 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/company_service.proto package com.google.cloud.talent.v4; /** + * + * *
  * Request for updating a specified company.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateCompanyRequest} */ -public final class UpdateCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateCompanyRequest) UpdateCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCompanyRequest.newBuilder() to construct. private UpdateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCompanyRequest() { - } + + private UpdateCompanyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateCompanyRequest.class, com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.UpdateCompanyRequest.class, + com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); } public static final int COMPANY_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Company company_; /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasCompany() { return company_ != null; } /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.cloud.talent.v4.Company getCompany() { return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; } /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { @@ -88,6 +117,8 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +128,7 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (company_ != null) {
       output.writeMessage(1, getCompany());
     }
@@ -165,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (company_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCompany());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCompany());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +215,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateCompanyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateCompanyRequest other = (com.google.cloud.talent.v4.UpdateCompanyRequest) obj;
+    com.google.cloud.talent.v4.UpdateCompanyRequest other =
+        (com.google.cloud.talent.v4.UpdateCompanyRequest) obj;
 
     if (hasCompany() != other.hasCompany()) return false;
     if (hasCompany()) {
-      if (!getCompany()
-          .equals(other.getCompany())) return false;
+      if (!getCompany().equals(other.getCompany())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +255,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateCompanyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateCompanyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request for updating a specified company.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateCompanyRequest) com.google.cloud.talent.v4.UpdateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateCompanyRequest.class, com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4.UpdateCompanyRequest.class, + com.google.cloud.talent.v4.UpdateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateCompanyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.CompanyServiceProto.internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.CompanyServiceProto + .internal_static_google_cloud_talent_v4_UpdateCompanyRequest_descriptor; } @java.lang.Override @@ -385,7 +425,8 @@ public com.google.cloud.talent.v4.UpdateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateCompanyRequest buildPartial() { - com.google.cloud.talent.v4.UpdateCompanyRequest result = new com.google.cloud.talent.v4.UpdateCompanyRequest(this); + com.google.cloud.talent.v4.UpdateCompanyRequest result = + new com.google.cloud.talent.v4.UpdateCompanyRequest(this); if (companyBuilder_ == null) { result.company_ = company_; } else { @@ -404,38 +445,39 @@ public com.google.cloud.talent.v4.UpdateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4.UpdateCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -443,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4.UpdateCompanyRequest other) { - if (other == com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance()) + return this; if (other.hasCompany()) { mergeCompany(other.getCompany()); } @@ -476,26 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCompanyFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,39 +550,55 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> companyBuilder_; + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> + companyBuilder_; /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ public com.google.cloud.talent.v4.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null ? com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4.Company.getDefaultInstance() + : company_; } else { return companyBuilder_.getMessage(); } } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { @@ -556,14 +614,16 @@ public Builder setCompany(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompany( - com.google.cloud.talent.v4.Company.Builder builderForValue) { + public Builder setCompany(com.google.cloud.talent.v4.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -574,17 +634,22 @@ public Builder setCompany( return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4.Company.newBuilder(company_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Company.newBuilder(company_) + .mergeFrom(value) + .buildPartial(); } else { company_ = value; } @@ -596,11 +661,14 @@ public Builder mergeCompany(com.google.cloud.talent.v4.Company value) { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -614,48 +682,61 @@ public Builder clearCompany() { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null ? - com.google.cloud.talent.v4.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4.Company.getDefaultInstance() + : company_; } } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder> + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Company, com.google.cloud.talent.v4.Company.Builder, com.google.cloud.talent.v4.CompanyOrBuilder>( - getCompany(), - getParentForChildren(), - isClean()); + companyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Company, + com.google.cloud.talent.v4.Company.Builder, + com.google.cloud.talent.v4.CompanyOrBuilder>( + getCompany(), getParentForChildren(), isClean()); company_ = null; } return companyBuilder_; @@ -663,8 +744,13 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +760,15 @@ public com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +778,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +817,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +829,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +840,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +856,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +868,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +892,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +905,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +926,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +945,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +972,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateCompanyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateCompanyRequest)
   private static final com.google.cloud.talent.v4.UpdateCompanyRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateCompanyRequest();
   }
@@ -877,27 +986,27 @@ public static com.google.cloud.talent.v4.UpdateCompanyRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateCompanyRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateCompanyRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1021,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateCompanyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
index bb5a6e6af1ce..5c7bc3677d63 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateCompanyRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/company_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateCompanyRequestOrBuilder extends
+public interface UpdateCompanyRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateCompanyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ boolean hasCompany(); /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ com.google.cloud.talent.v4.Company getCompany(); /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.CompanyOrBuilder getCompanyOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +73,13 @@ public interface UpdateCompanyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +89,13 @@ public interface UpdateCompanyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
index 99a4ad4f9ee7..290c287161c6 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequest.java
@@ -1,60 +1,81 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Update job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateJobRequest} */ -public final class UpdateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateJobRequest) UpdateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateJobRequest() { - } + + private UpdateJobRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateJobRequest.class, com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4.UpdateJobRequest.class, + com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Job job_; /** + * + * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ @java.lang.Override @@ -62,11 +83,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.cloud.talent.v4.Job getJob() { return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The Job to be updated.
    * 
@@ -88,6 +114,8 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +125,7 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +133,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +144,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +152,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +170,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +182,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -165,12 +199,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +212,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateJobRequest other = (com.google.cloud.talent.v4.UpdateJobRequest) obj;
+    com.google.cloud.talent.v4.UpdateJobRequest other =
+        (com.google.cloud.talent.v4.UpdateJobRequest) obj;
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob()
-          .equals(other.getJob())) return false;
+      if (!getJob().equals(other.getJob())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +252,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Update job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateJobRequest) com.google.cloud.talent.v4.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateJobRequest.class, com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4.UpdateJobRequest.class, + com.google.cloud.talent.v4.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.JobServiceProto.internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.JobServiceProto + .internal_static_google_cloud_talent_v4_UpdateJobRequest_descriptor; } @java.lang.Override @@ -385,7 +422,8 @@ public com.google.cloud.talent.v4.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateJobRequest buildPartial() { - com.google.cloud.talent.v4.UpdateJobRequest result = new com.google.cloud.talent.v4.UpdateJobRequest(this); + com.google.cloud.talent.v4.UpdateJobRequest result = + new com.google.cloud.talent.v4.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -404,38 +442,39 @@ public com.google.cloud.talent.v4.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4.UpdateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -476,26 +515,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,24 +546,33 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ public com.google.cloud.talent.v4.Job getJob() { @@ -536,6 +583,8 @@ public com.google.cloud.talent.v4.Job getJob() { } } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -556,14 +605,15 @@ public Builder setJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob( - com.google.cloud.talent.v4.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -574,6 +624,8 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -583,8 +635,7 @@ public Builder setJob( public Builder mergeJob(com.google.cloud.talent.v4.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = - com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = com.google.cloud.talent.v4.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -596,6 +647,8 @@ public Builder mergeJob(com.google.cloud.talent.v4.Job value) { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -614,6 +667,8 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -621,11 +676,13 @@ public Builder clearJob() { * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.talent.v4.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -636,11 +693,12 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The Job to be updated.
      * 
@@ -648,14 +706,17 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder> + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Job, com.google.cloud.talent.v4.Job.Builder, com.google.cloud.talent.v4.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Job, + com.google.cloud.talent.v4.Job.Builder, + com.google.cloud.talent.v4.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -663,8 +724,13 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +740,15 @@ public com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +758,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +797,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +809,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +820,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +836,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +848,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +872,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +885,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +906,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +925,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +952,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateJobRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateJobRequest)
   private static final com.google.cloud.talent.v4.UpdateJobRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateJobRequest();
   }
@@ -877,27 +966,27 @@ public static com.google.cloud.talent.v4.UpdateJobRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateJobRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateJobRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1001,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateJobRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
similarity index 79%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
index aab8d86d434e..3e29fb29fa06 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateJobRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/job_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateJobRequestOrBuilder extends
+public interface UpdateJobRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateJobRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.talent.v4.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ com.google.cloud.talent.v4.Job getJob(); /** + * + * *
    * Required. The Job to be updated.
    * 
@@ -35,6 +59,8 @@ public interface UpdateJobRequestOrBuilder extends com.google.cloud.talent.v4.JobOrBuilder getJobOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +70,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +86,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateJobRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
index 5f06bc547614..140347efaeaa 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequest.java
@@ -1,60 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Request for updating a specified tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateTenantRequest} */ -public final class UpdateTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4.UpdateTenantRequest) UpdateTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTenantRequest.newBuilder() to construct. private UpdateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTenantRequest() { - } + + private UpdateTenantRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateTenantRequest.class, com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4.UpdateTenantRequest.class, + com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 1; private com.google.cloud.talent.v4.Tenant tenant_; /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasTenant() { return tenant_ != null; } /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.cloud.talent.v4.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { @@ -88,6 +117,8 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +128,7 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tenant_ != null) {
       output.writeMessage(1, getTenant());
     }
@@ -165,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tenant_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTenant());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTenant());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +215,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4.UpdateTenantRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4.UpdateTenantRequest other = (com.google.cloud.talent.v4.UpdateTenantRequest) obj;
+    com.google.cloud.talent.v4.UpdateTenantRequest other =
+        (com.google.cloud.talent.v4.UpdateTenantRequest) obj;
 
     if (hasTenant() != other.hasTenant()) return false;
     if (hasTenant()) {
-      if (!getTenant()
-          .equals(other.getTenant())) return false;
+      if (!getTenant().equals(other.getTenant())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +255,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4.UpdateTenantRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4.UpdateTenantRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request for updating a specified tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4.UpdateTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4.UpdateTenantRequest) com.google.cloud.talent.v4.UpdateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4.UpdateTenantRequest.class, com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4.UpdateTenantRequest.class, + com.google.cloud.talent.v4.UpdateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4.UpdateTenantRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4.TenantServiceProto.internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4.TenantServiceProto + .internal_static_google_cloud_talent_v4_UpdateTenantRequest_descriptor; } @java.lang.Override @@ -385,7 +425,8 @@ public com.google.cloud.talent.v4.UpdateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4.UpdateTenantRequest buildPartial() { - com.google.cloud.talent.v4.UpdateTenantRequest result = new com.google.cloud.talent.v4.UpdateTenantRequest(this); + com.google.cloud.talent.v4.UpdateTenantRequest result = + new com.google.cloud.talent.v4.UpdateTenantRequest(this); if (tenantBuilder_ == null) { result.tenant_ = tenant_; } else { @@ -404,38 +445,39 @@ public com.google.cloud.talent.v4.UpdateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4.UpdateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4.UpdateTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4.UpdateTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -476,26 +518,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getTenantFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,24 +549,35 @@ public Builder mergeFrom( private com.google.cloud.talent.v4.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> tenantBuilder_; + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> + tenantBuilder_; /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ public com.google.cloud.talent.v4.Tenant getTenant() { @@ -536,11 +588,14 @@ public com.google.cloud.talent.v4.Tenant getTenant() { } } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { @@ -556,14 +611,16 @@ public Builder setTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTenant( - com.google.cloud.talent.v4.Tenant.Builder builderForValue) { + public Builder setTenant(com.google.cloud.talent.v4.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -574,17 +631,20 @@ public Builder setTenant( return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); } else { tenant_ = value; } @@ -596,11 +656,14 @@ public Builder mergeTenant(com.google.cloud.talent.v4.Tenant value) { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -614,48 +677,59 @@ public Builder clearTenant() { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? - com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null ? com.google.cloud.talent.v4.Tenant.getDefaultInstance() : tenant_; } } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder> + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4.Tenant, com.google.cloud.talent.v4.Tenant.Builder, com.google.cloud.talent.v4.TenantOrBuilder>( - getTenant(), - getParentForChildren(), - isClean()); + tenantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4.Tenant, + com.google.cloud.talent.v4.Tenant.Builder, + com.google.cloud.talent.v4.TenantOrBuilder>( + getTenant(), getParentForChildren(), isClean()); tenant_ = null; } return tenantBuilder_; @@ -663,8 +737,13 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +753,15 @@ public com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +771,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +810,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +822,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +833,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +849,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +861,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +885,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +898,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +919,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +938,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +965,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4.UpdateTenantRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4.UpdateTenantRequest)
   private static final com.google.cloud.talent.v4.UpdateTenantRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4.UpdateTenantRequest();
   }
@@ -877,27 +979,27 @@ public static com.google.cloud.talent.v4.UpdateTenantRequest getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTenantRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTenantRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1014,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4.UpdateTenantRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
index fd9fd2d7d65e..0bc467800db4 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/UpdateTenantRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/tenant_service.proto
 
 package com.google.cloud.talent.v4;
 
-public interface UpdateTenantRequestOrBuilder extends
+public interface UpdateTenantRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.UpdateTenantRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ boolean hasTenant(); /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ com.google.cloud.talent.v4.Tenant getTenant(); /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4.TenantOrBuilder getTenantOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +73,13 @@ public interface UpdateTenantRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +89,13 @@ public interface UpdateTenantRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4.UpdateTenantRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
rename to java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
index 804937976dbf..2a3a3732a573 100644
--- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
+++ b/java-talent/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/Visibility.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4/common.proto
 
 package com.google.cloud.talent.v4;
 
 /**
+ *
+ *
  * 
  * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
@@ -11,9 +28,11 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4.Visibility}
  */
-@java.lang.Deprecated public enum Visibility
-    implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated
+public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -22,6 +41,8 @@ */ VISIBILITY_UNSPECIFIED(0), /** + * + * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -30,6 +51,8 @@ */ ACCOUNT_ONLY(1), /** + * + * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -39,6 +62,8 @@
    */
   SHARED_WITH_GOOGLE(2),
   /**
+   *
+   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -51,6 +76,8 @@
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -59,6 +86,8 @@ */ public static final int VISIBILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -67,6 +96,8 @@ */ public static final int ACCOUNT_ONLY_VALUE = 1; /** + * + * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -76,6 +107,8 @@
    */
   public static final int SHARED_WITH_GOOGLE_VALUE = 2;
   /**
+   *
+   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -85,7 +118,6 @@
    */
   public static final int SHARED_WITH_PUBLIC_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -110,50 +142,51 @@ public static Visibility valueOf(int value) {
    */
   public static Visibility forNumber(int value) {
     switch (value) {
-      case 0: return VISIBILITY_UNSPECIFIED;
-      case 1: return ACCOUNT_ONLY;
-      case 2: return SHARED_WITH_GOOGLE;
-      case 3: return SHARED_WITH_PUBLIC;
-      default: return null;
+      case 0:
+        return VISIBILITY_UNSPECIFIED;
+      case 1:
+        return ACCOUNT_ONLY;
+      case 2:
+        return SHARED_WITH_GOOGLE;
+      case 3:
+        return SHARED_WITH_PUBLIC;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      Visibility> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Visibility findValueByNumber(int number) {
-            return Visibility.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public Visibility findValueByNumber(int number) {
+          return Visibility.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4.CommonProto.getDescriptor().getEnumTypes().get(7);
   }
 
   private static final Visibility[] VALUES = values();
 
-  public static Visibility valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -169,4 +202,3 @@ private Visibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4.Visibility)
 }
-
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/common.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/company_service.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/completion_service.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/event_service.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/filters.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/histogram.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/job_service.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant.proto
diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto b/java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
rename to java-talent/proto-google-cloud-talent-v4/src/main/proto/google/cloud/talent/v4/tenant_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
similarity index 62%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
index cba932201150..f73e65a663d5 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Request to create a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchCreateJobsRequest} */ -public final class BatchCreateJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchCreateJobsRequest) BatchCreateJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateJobsRequest.newBuilder() to construct. private BatchCreateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -26,32 +44,35 @@ private BatchCreateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -83,17 +108,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,64 +130,84 @@ public java.lang.String getParent() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The jobs to be created.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -194,8 +239,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -205,17 +249,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchCreateJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other = (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) obj; + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other = + (com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,129 +282,136 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to create a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchCreateJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchCreateJobsRequest) com.google.cloud.talent.v4beta1.BatchCreateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; } @java.lang.Override @@ -399,7 +449,8 @@ public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest result = new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchCreateJobsRequest result = + new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -419,38 +470,39 @@ public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -481,9 +534,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -515,30 +569,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,10 +604,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -559,14 +618,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -575,6 +636,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -582,16 +645,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -599,6 +663,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -606,21 +672,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -628,16 +698,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -645,40 +720,50 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -688,11 +773,15 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -702,11 +791,15 @@ public int getJobsCount() { } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -716,14 +809,17 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -737,14 +833,17 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -755,11 +854,15 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { @@ -775,14 +878,17 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -796,14 +902,17 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -814,14 +923,17 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -832,18 +944,21 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -851,11 +966,15 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -868,11 +987,15 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -885,39 +1008,50 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -925,56 +1059,69 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be created.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -984,12 +1131,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchCreateJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchCreateJobsRequest) private static final com.google.cloud.talent.v4beta1.BatchCreateJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchCreateJobsRequest(); } @@ -998,27 +1145,27 @@ public static com.google.cloud.talent.v4beta1.BatchCreateJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,6 +1180,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.BatchCreateJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java new file mode 100644 index 000000000000..4aa0e527ae78 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java @@ -0,0 +1,121 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface BatchCreateJobsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchCreateJobsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant under which the job is created.
+   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
+   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
+   * is created. For example, "projects/foo".
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The resource name of the tenant under which the job is created.
+   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
+   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
+   * is created. For example, "projects/foo".
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getJobsList(); + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.talent.v4beta1.Job getJobs(int index); + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getJobsCount(); + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getJobsOrBuilderList(); + /** + * + * + *
+   * Required. The jobs to be created.
+   * 
+ * + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index); +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java similarity index 68% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java index 99a4ae947c2b..5104b5ba74a8 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Batch delete jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} */ -public final class BatchDeleteJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchDeleteJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) BatchDeleteJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchDeleteJobsRequest.newBuilder() to construct. private BatchDeleteJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchDeleteJobsRequest() { parent_ = ""; filter_ = ""; @@ -26,32 +44,35 @@ private BatchDeleteJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchDeleteJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -83,17 +108,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,6 +130,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -115,6 +143,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -123,14 +152,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -142,16 +172,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -160,6 +189,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,17 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other = (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) obj; + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other = + (com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -234,129 +262,136 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Batch delete jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchDeleteJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) com.google.cloud.talent.v4beta1.BatchDeleteJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; } @java.lang.Override @@ -389,7 +424,8 @@ public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest result = new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest result = + new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; onBuilt(); @@ -400,38 +436,39 @@ public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -439,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -474,22 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,6 +543,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -509,14 +552,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -525,6 +570,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -532,16 +579,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -549,6 +597,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -556,21 +606,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -578,16 +632,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -595,17 +654,19 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -613,6 +674,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -624,13 +687,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -639,6 +702,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -650,15 +715,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -666,6 +730,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -677,20 +743,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -702,15 +770,18 @@ public Builder setFilter(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be deleted.
      * Supported operator: =, AND
@@ -722,23 +793,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -748,12 +819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) private static final com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest(); } @@ -762,27 +833,27 @@ public static com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -797,6 +868,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java index 1512c0dd95bc..d92e7600d773 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchDeleteJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface BatchDeleteJobsRequestOrBuilder extends +public interface BatchDeleteJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchDeleteJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,13 +50,17 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -45,10 +72,13 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. The filter string specifies the jobs to be deleted.
    * Supported operator: =, AND
@@ -60,8 +90,8 @@ public interface BatchDeleteJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java similarity index 74% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java index 7183af8a39b7..fdc364adcb6d 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Metadata used for long running operations returned by CTS batch APIs.
  * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.BatchOperationMetadata}
  */
-public final class BatchOperationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchOperationMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchOperationMetadata)
     BatchOperationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchOperationMetadata.newBuilder() to construct.
   private BatchOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchOperationMetadata() {
     state_ = 0;
     stateDescription_ = "";
@@ -27,35 +45,35 @@ private BatchOperationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchOperationMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.BatchOperationMetadata.class, com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
+            com.google.cloud.talent.v4beta1.BatchOperationMetadata.class,
+            com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
   }
 
-  /**
-   * Protobuf enum {@code google.cloud.talent.v4beta1.BatchOperationMetadata.State}
-   */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  /** Protobuf enum {@code google.cloud.talent.v4beta1.BatchOperationMetadata.State} */
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -64,6 +82,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The batch operation is being prepared for processing.
      * 
@@ -72,6 +92,8 @@ public enum State */ INITIALIZING(1), /** + * + * *
      * The batch operation is actively being processed.
      * 
@@ -80,6 +102,8 @@ public enum State */ PROCESSING(2), /** + * + * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -89,6 +113,8 @@ public enum State
      */
     SUCCEEDED(3),
     /**
+     *
+     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -97,6 +123,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -106,6 +134,8 @@ public enum State
      */
     CANCELLING(5),
     /**
+     *
+     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -119,6 +149,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -127,6 +159,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The batch operation is being prepared for processing.
      * 
@@ -135,6 +169,8 @@ public enum State */ public static final int INITIALIZING_VALUE = 1; /** + * + * *
      * The batch operation is actively being processed.
      * 
@@ -143,6 +179,8 @@ public enum State */ public static final int PROCESSING_VALUE = 2; /** + * + * *
      * The batch operation is processed, and at least one item has been
      * successfully processed.
@@ -152,6 +190,8 @@ public enum State
      */
     public static final int SUCCEEDED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The batch operation is done and no item has been successfully processed.
      * 
@@ -160,6 +200,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The batch operation is in the process of cancelling after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called.
@@ -169,6 +211,8 @@ public enum State
      */
     public static final int CANCELLING_VALUE = 5;
     /**
+     *
+     *
      * 
      * The batch operation is done after
      * [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation] is called. Any items
@@ -179,7 +223,6 @@ public enum State
      */
     public static final int CANCELLED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -204,53 +247,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return INITIALIZING;
-        case 2: return PROCESSING;
-        case 3: return SUCCEEDED;
-        case 4: return FAILED;
-        case 5: return CANCELLING;
-        case 6: return CANCELLED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return INITIALIZING;
+        case 2:
+          return PROCESSING;
+        case 3:
+          return SUCCEEDED;
+        case 4:
+          return FAILED;
+        case 5:
+          return CANCELLING;
+        case 6:
+          return CANCELLED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -270,38 +319,52 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_;
   /**
+   *
+   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED + : result; } public static final int STATE_DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object stateDescription_; /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The stateDescription. */ @java.lang.Override @@ -310,29 +373,29 @@ public java.lang.String getStateDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; } } /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -343,11 +406,14 @@ public java.lang.String getStateDescription() { public static final int SUCCESS_COUNT_FIELD_NUMBER = 3; private int successCount_; /** + * + * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; + * * @return The successCount. */ @java.lang.Override @@ -358,11 +424,14 @@ public int getSuccessCount() { public static final int FAILURE_COUNT_FIELD_NUMBER = 4; private int failureCount_; /** + * + * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; + * * @return The failureCount. */ @java.lang.Override @@ -373,11 +442,14 @@ public int getFailureCount() { public static final int TOTAL_COUNT_FIELD_NUMBER = 5; private int totalCount_; /** + * + * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; + * * @return The totalCount. */ @java.lang.Override @@ -388,11 +460,14 @@ public int getTotalCount() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -400,11 +475,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -412,6 +490,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the batch operation is created.
    * 
@@ -426,6 +506,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -433,6 +515,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -440,6 +523,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -447,6 +532,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ @java.lang.Override @@ -454,6 +540,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -470,12 +558,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 8;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -483,12 +574,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ @java.lang.Override @@ -496,6 +590,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -509,6 +605,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -520,9 +617,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (state_ != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
@@ -555,36 +653,31 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateDescription_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stateDescription_);
     }
     if (successCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(3, successCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, successCount_);
     }
     if (failureCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, failureCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureCount_);
     }
     if (totalCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(5, totalCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, totalCount_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -594,36 +687,30 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchOperationMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.BatchOperationMetadata other = (com.google.cloud.talent.v4beta1.BatchOperationMetadata) obj;
+    com.google.cloud.talent.v4beta1.BatchOperationMetadata other =
+        (com.google.cloud.talent.v4beta1.BatchOperationMetadata) obj;
 
     if (state_ != other.state_) return false;
-    if (!getStateDescription()
-        .equals(other.getStateDescription())) return false;
-    if (getSuccessCount()
-        != other.getSuccessCount()) return false;
-    if (getFailureCount()
-        != other.getFailureCount()) return false;
-    if (getTotalCount()
-        != other.getTotalCount()) return false;
+    if (!getStateDescription().equals(other.getStateDescription())) return false;
+    if (getSuccessCount() != other.getSuccessCount()) return false;
+    if (getFailureCount() != other.getFailureCount()) return false;
+    if (getTotalCount() != other.getTotalCount()) return false;
     if (hasCreateTime() != other.hasCreateTime()) return false;
     if (hasCreateTime()) {
-      if (!getCreateTime()
-          .equals(other.getCreateTime())) return false;
+      if (!getCreateTime().equals(other.getCreateTime())) return false;
     }
     if (hasUpdateTime() != other.hasUpdateTime()) return false;
     if (hasUpdateTime()) {
-      if (!getUpdateTime()
-          .equals(other.getUpdateTime())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -664,96 +751,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchOperationMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchOperationMetadata prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.talent.v4beta1.BatchOperationMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Metadata used for long running operations returned by CTS batch APIs.
    * It's used to replace [google.longrunning.Operation.metadata][google.longrunning.Operation.metadata].
@@ -761,33 +856,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.BatchOperationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchOperationMetadata)
       com.google.cloud.talent.v4beta1.BatchOperationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.BatchOperationMetadata.class, com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
+              com.google.cloud.talent.v4beta1.BatchOperationMetadata.class,
+              com.google.cloud.talent.v4beta1.BatchOperationMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.BatchOperationMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -823,9 +917,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -844,7 +938,8 @@ public com.google.cloud.talent.v4beta1.BatchOperationMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.BatchOperationMetadata buildPartial() {
-      com.google.cloud.talent.v4beta1.BatchOperationMetadata result = new com.google.cloud.talent.v4beta1.BatchOperationMetadata(this);
+      com.google.cloud.talent.v4beta1.BatchOperationMetadata result =
+          new com.google.cloud.talent.v4beta1.BatchOperationMetadata(this);
       result.state_ = state_;
       result.stateDescription_ = stateDescription_;
       result.successCount_ = successCount_;
@@ -873,38 +968,39 @@ public com.google.cloud.talent.v4beta1.BatchOperationMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.BatchOperationMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.BatchOperationMetadata)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.BatchOperationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -912,7 +1008,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchOperationMetadata other) {
-      if (other == com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4beta1.BatchOperationMetadata.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -964,58 +1061,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              stateDescription_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              successCount_ = input.readInt32();
-
-              break;
-            } // case 24
-            case 32: {
-              failureCount_ = input.readInt32();
-
-              break;
-            } // case 32
-            case 40: {
-              totalCount_ = input.readInt32();
-
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                state_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                stateDescription_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                successCount_ = input.readInt32();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                failureCount_ = input.readInt32();
+
+                break;
+              } // case 32
+            case 40:
+              {
+                totalCount_ = input.readInt32();
+
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1028,51 +1128,67 @@ public Builder mergeFrom(
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); - return result == null ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State result = + com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.valueOf(state_); + return result == null + ? com.google.cloud.talent.v4beta1.BatchOperationMetadata.State.UNRECOGNIZED + : result; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1080,21 +1196,24 @@ public Builder setState(com.google.cloud.talent.v4beta1.BatchOperationMetadata.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The state of a long running operation.
      * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1102,18 +1221,20 @@ public Builder clearState() { private java.lang.Object stateDescription_ = ""; /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return The stateDescription. */ public java.lang.String getStateDescription() { java.lang.Object ref = stateDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateDescription_ = s; return s; @@ -1122,20 +1243,21 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ - public com.google.protobuf.ByteString - getStateDescriptionBytes() { + public com.google.protobuf.ByteString getStateDescriptionBytes() { java.lang.Object ref = stateDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateDescription_ = b; return b; } else { @@ -1143,66 +1265,76 @@ public java.lang.String getStateDescription() { } } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @param value The stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescription( - java.lang.String value) { + public Builder setStateDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateDescription_ = value; onChanged(); return this; } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @return This builder for chaining. */ public Builder clearStateDescription() { - + stateDescription_ = getDefaultInstance().getStateDescription(); onChanged(); return this; } /** + * + * *
      * More detailed information about operation state.
      * 
* * string state_description = 2; + * * @param value The bytes for stateDescription to set. * @return This builder for chaining. */ - public Builder setStateDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; onChanged(); return this; } - private int successCount_ ; + private int successCount_; /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @return The successCount. */ @java.lang.Override @@ -1210,42 +1342,51 @@ public int getSuccessCount() { return successCount_; } /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @param value The successCount to set. * @return This builder for chaining. */ public Builder setSuccessCount(int value) { - + successCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of successful item(s) inside an operation.
      * 
* * int32 success_count = 3; + * * @return This builder for chaining. */ public Builder clearSuccessCount() { - + successCount_ = 0; onChanged(); return this; } - private int failureCount_ ; + private int failureCount_; /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @return The failureCount. */ @java.lang.Override @@ -1253,42 +1394,51 @@ public int getFailureCount() { return failureCount_; } /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @param value The failureCount to set. * @return This builder for chaining. */ public Builder setFailureCount(int value) { - + failureCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of failed item(s) inside an operation.
      * 
* * int32 failure_count = 4; + * * @return This builder for chaining. */ public Builder clearFailureCount() { - + failureCount_ = 0; onChanged(); return this; } - private int totalCount_ ; + private int totalCount_; /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @return The totalCount. */ @java.lang.Override @@ -1296,30 +1446,36 @@ public int getTotalCount() { return totalCount_; } /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { - + totalCount_ = value; onChanged(); return this; } /** + * + * *
      * Count of total item(s) inside an operation.
      * 
* * int32 total_count = 5; + * * @return This builder for chaining. */ public Builder clearTotalCount() { - + totalCount_ = 0; onChanged(); return this; @@ -1327,34 +1483,47 @@ public Builder clearTotalCount() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1375,14 +1544,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
* * .google.protobuf.Timestamp create_time = 6; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1393,6 +1563,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1403,7 +1575,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1415,6 +1587,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1433,6 +1607,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1440,11 +1616,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 6; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1455,11 +1633,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time when the batch operation is created.
      * 
@@ -1467,14 +1648,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1482,8 +1666,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1491,12 +1680,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1504,16 +1696,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1536,6 +1733,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1544,8 +1743,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 7;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1556,6 +1754,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1568,7 +1768,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1580,6 +1780,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1600,6 +1802,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1609,11 +1813,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1626,11 +1832,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       if (updateTimeBuilder_ != null) {
         return updateTimeBuilder_.getMessageOrBuilder();
       } else {
-        return updateTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
+        return updateTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : updateTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation status is updated. The metadata and the
      * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -1640,14 +1849,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_time = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getUpdateTime(),
-                getParentForChildren(),
-                isClean());
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getUpdateTime(), getParentForChildren(), isClean());
         updateTime_ = null;
       }
       return updateTimeBuilder_;
@@ -1655,26 +1867,35 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
      * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1685,6 +1906,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1706,6 +1929,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1713,8 +1938,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 8;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1725,6 +1949,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1736,7 +1962,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1748,6 +1974,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1767,6 +1995,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1775,11 +2005,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1791,11 +2023,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the batch operation is finished and
      * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
@@ -1804,21 +2037,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1828,12 +2064,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchOperationMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchOperationMetadata)
   private static final com.google.cloud.talent.v4beta1.BatchOperationMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchOperationMetadata();
   }
@@ -1842,27 +2078,27 @@ public static com.google.cloud.talent.v4beta1.BatchOperationMetadata getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchOperationMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchOperationMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1877,6 +2113,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.BatchOperationMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
similarity index 83%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
index 6c1230cb6f1a..7e5119dc36d5 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchOperationMetadataOrBuilder.java
@@ -1,100 +1,144 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface BatchOperationMetadataOrBuilder extends
+public interface BatchOperationMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchOperationMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The state of a long running operation.
    * 
* * .google.cloud.talent.v4beta1.BatchOperationMetadata.State state = 1; + * * @return The state. */ com.google.cloud.talent.v4beta1.BatchOperationMetadata.State getState(); /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The stateDescription. */ java.lang.String getStateDescription(); /** + * + * *
    * More detailed information about operation state.
    * 
* * string state_description = 2; + * * @return The bytes for stateDescription. */ - com.google.protobuf.ByteString - getStateDescriptionBytes(); + com.google.protobuf.ByteString getStateDescriptionBytes(); /** + * + * *
    * Count of successful item(s) inside an operation.
    * 
* * int32 success_count = 3; + * * @return The successCount. */ int getSuccessCount(); /** + * + * *
    * Count of failed item(s) inside an operation.
    * 
* * int32 failure_count = 4; + * * @return The failureCount. */ int getFailureCount(); /** + * + * *
    * Count of total item(s) inside an operation.
    * 
* * int32 total_count = 5; + * * @return The totalCount. */ int getTotalCount(); /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the batch operation is created.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the batch operation is created.
    * 
@@ -104,6 +148,8 @@ public interface BatchOperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -111,10 +157,13 @@ public interface BatchOperationMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -122,10 +171,13 @@ public interface BatchOperationMetadataOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 7; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the batch operation status is updated. The metadata and the
    * [update_time][google.cloud.talent.v4beta1.BatchOperationMetadata.update_time] is refreshed every minute otherwise cached data is
@@ -137,26 +189,34 @@ public interface BatchOperationMetadataOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time when the batch operation is finished and
    * [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to `true`.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
new file mode 100644
index 000000000000..ed90f94ed8bc
--- /dev/null
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/batch.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public final class BatchProto {
+  private BatchProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n\'google/cloud/talent/v4beta1/batch.prot"
+          + "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go"
+          + "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z"
+          + "Agoogle.golang.org/genproto/googleapis/c"
+          + "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
similarity index 71%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
index 2f94835fd372..94d5c38306cc 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Request to update a batch of jobs.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchUpdateJobsRequest} */ -public final class BatchUpdateJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.BatchUpdateJobsRequest) BatchUpdateJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateJobsRequest.newBuilder() to construct. private BatchUpdateJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateJobsRequest() { parent_ = ""; jobs_ = java.util.Collections.emptyList(); @@ -26,32 +44,35 @@ private BatchUpdateJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +92,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -83,17 +108,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,66 +130,87 @@ public java.lang.String getParent() { public static final int JOBS_FIELD_NUMBER = 2; private java.util.List jobs_; /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -179,6 +226,7 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -186,6 +234,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -201,6 +251,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -208,6 +259,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -230,6 +283,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -241,8 +295,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -265,12 +318,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, jobs_.get(i));
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -280,21 +331,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other = (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) obj;
+    com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other =
+        (com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
-    if (!getJobsList()
-        .equals(other.getJobsList())) return false;
+    if (!getParent().equals(other.getParent())) return false;
+    if (!getJobsList().equals(other.getJobsList())) return false;
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -323,129 +372,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request to update a batch of jobs.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.BatchUpdateJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.BatchUpdateJobsRequest) com.google.cloud.talent.v4beta1.BatchUpdateJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -468,9 +524,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; } @java.lang.Override @@ -489,7 +545,8 @@ public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest result = new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest(this); + com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest result = + new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (jobsBuilder_ == null) { @@ -514,38 +571,39 @@ public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -553,7 +611,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -576,9 +635,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -613,37 +673,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -653,10 +714,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -664,14 +728,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -680,6 +746,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -687,16 +755,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -704,6 +773,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -711,21 +782,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -733,16 +808,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -750,40 +830,50 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getJobsList() { if (jobsBuilder_ == null) { @@ -793,11 +883,15 @@ public java.util.List getJobsList() { } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getJobsCount() { if (jobsBuilder_ == null) { @@ -807,11 +901,15 @@ public int getJobsCount() { } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { if (jobsBuilder_ == null) { @@ -821,14 +919,17 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) { } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -842,14 +943,17 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJobs( - int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -860,11 +964,15 @@ public Builder setJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { @@ -880,14 +988,17 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4beta1.Job value) { + public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -901,14 +1012,17 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -919,14 +1033,17 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addJobs( - int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -937,18 +1054,21 @@ public Builder addJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -956,11 +1076,15 @@ public Builder addAllJobs( return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJobs() { if (jobsBuilder_ == null) { @@ -973,11 +1097,15 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeJobs(int index) { if (jobsBuilder_ == null) { @@ -990,39 +1118,50 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -1030,49 +1169,62 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance()); } /** + * + * *
      * Required. The jobs to be updated.
      * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -1080,8 +1232,13 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1097,12 +1254,15 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1118,16 +1278,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1158,6 +1323,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1174,8 +1341,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 3;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -1186,6 +1352,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1206,7 +1374,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -1218,6 +1386,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1246,6 +1416,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1263,11 +1435,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1288,11 +1462,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience. Be aware that it will
      * also increase latency when checking the status of a batch operation.
@@ -1310,21 +1487,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1334,12 +1514,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
   private static final com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest();
   }
@@ -1348,27 +1528,27 @@ public static com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchUpdateJobsRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchUpdateJobsRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1383,6 +1563,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
index 8c5158b822e0..3090370f05d7 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchUpdateJobsRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface BatchUpdateJobsRequestOrBuilder extends
+public interface BatchUpdateJobsRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchUpdateJobsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface BatchUpdateJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,57 +50,78 @@ public interface BatchUpdateJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.Job getJobs(int index); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getJobsCount(); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * Required. The jobs to be updated.
    * 
* - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -93,10 +137,13 @@ com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
@@ -112,10 +159,13 @@ com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience. Be aware that it will
    * also increase latency when checking the status of a batch operation.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
index 11b614b80138..8e1090279844 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEvent.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/event.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * An event issued when an end user interacts with the application that
  * implements Cloud Talent Solution. Providing this information improves the
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.ClientEvent}
  */
-public final class ClientEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ClientEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ClientEvent)
     ClientEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ClientEvent.newBuilder() to construct.
   private ClientEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ClientEvent() {
     requestId_ = "";
     eventId_ = "";
@@ -31,37 +49,41 @@ private ClientEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClientEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.EventProto
+        .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.EventProto
+        .internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.ClientEvent.class, com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
+            com.google.cloud.talent.v4beta1.ClientEvent.class,
+            com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
   }
 
   private int eventCase_ = 0;
   private java.lang.Object event_;
+
   public enum EventCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     JOB_EVENT(5),
     EVENT_NOT_SET(0);
     private final int value;
+
     private EventCase(int value) {
       this.value = value;
     }
@@ -77,25 +99,29 @@ public static EventCase valueOf(int value) {
 
     public static EventCase forNumber(int value) {
       switch (value) {
-        case 5: return JOB_EVENT;
-        case 0: return EVENT_NOT_SET;
-        default: return null;
+        case 5:
+          return JOB_EVENT;
+        case 0:
+          return EVENT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EventCase
-  getEventCase() {
-    return EventCase.forNumber(
-        eventCase_);
+  public EventCase getEventCase() {
+    return EventCase.forNumber(eventCase_);
   }
 
   public static final int REQUEST_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object requestId_;
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -103,6 +129,7 @@ public int getNumber() {
    * 
* * string request_id = 1; + * * @return The requestId. */ @java.lang.Override @@ -111,14 +138,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -126,16 +154,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -146,11 +173,14 @@ public java.lang.String getRequestId() { public static final int EVENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object eventId_; /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ @java.lang.Override @@ -159,29 +189,29 @@ public java.lang.String getEventId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; } } /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventId_ = b; return b; } else { @@ -192,11 +222,15 @@ public java.lang.String getEventId() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -204,11 +238,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ @java.lang.Override @@ -216,11 +254,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -229,12 +270,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int JOB_EVENT_FIELD_NUMBER = 5; /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -242,22 +286,27 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return The jobEvent. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() { if (eventCase_ == 5) { - return (com.google.cloud.talent.v4beta1.JobEvent) event_; + return (com.google.cloud.talent.v4beta1.JobEvent) event_; } return com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance(); } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -268,7 +317,7 @@ public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() {
   @java.lang.Override
   public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder() {
     if (eventCase_ == 5) {
-       return (com.google.cloud.talent.v4beta1.JobEvent) event_;
+      return (com.google.cloud.talent.v4beta1.JobEvent) event_;
     }
     return com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance();
   }
@@ -276,12 +325,15 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
   public static final int EVENT_NOTES_FIELD_NUMBER = 9;
   private volatile java.lang.Object eventNotes_;
   /**
+   *
+   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; + * * @return The eventNotes. */ @java.lang.Override @@ -290,30 +342,30 @@ public java.lang.String getEventNotes() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; } } /** + * + * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventNotesBytes() { + public com.google.protobuf.ByteString getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -322,6 +374,7 @@ public java.lang.String getEventNotes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -366,12 +418,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, eventId_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (eventCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.talent.v4beta1.JobEvent) event_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.talent.v4beta1.JobEvent) event_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventNotes_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, eventNotes_); @@ -384,29 +436,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ClientEvent)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ClientEvent other = (com.google.cloud.talent.v4beta1.ClientEvent) obj; + com.google.cloud.talent.v4beta1.ClientEvent other = + (com.google.cloud.talent.v4beta1.ClientEvent) obj; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEventId() - .equals(other.getEventId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEventId().equals(other.getEventId())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (!getEventNotes() - .equals(other.getEventNotes())) return false; + if (!getEventNotes().equals(other.getEventNotes())) return false; if (!getEventCase().equals(other.getEventCase())) return false; switch (eventCase_) { case 5: - if (!getJobEvent() - .equals(other.getJobEvent())) return false; + if (!getJobEvent().equals(other.getJobEvent())) return false; break; case 0: default: @@ -445,97 +493,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ClientEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ClientEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An event issued when an end user interacts with the application that
    * implements Cloud Talent Solution. Providing this information improves the
@@ -546,33 +601,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.ClientEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ClientEvent)
       com.google.cloud.talent.v4beta1.ClientEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.ClientEvent.class, com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
+              com.google.cloud.talent.v4beta1.ClientEvent.class,
+              com.google.cloud.talent.v4beta1.ClientEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.ClientEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -597,9 +651,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor;
     }
 
     @java.lang.Override
@@ -618,7 +672,8 @@ public com.google.cloud.talent.v4beta1.ClientEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() {
-      com.google.cloud.talent.v4beta1.ClientEvent result = new com.google.cloud.talent.v4beta1.ClientEvent(this);
+      com.google.cloud.talent.v4beta1.ClientEvent result =
+          new com.google.cloud.talent.v4beta1.ClientEvent(this);
       result.requestId_ = requestId_;
       result.eventId_ = eventId_;
       if (createTimeBuilder_ == null) {
@@ -643,38 +698,39 @@ public com.google.cloud.talent.v4beta1.ClientEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.ClientEvent) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.ClientEvent)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.ClientEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -699,13 +755,15 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ClientEvent other) {
         onChanged();
       }
       switch (other.getEventCase()) {
-        case JOB_EVENT: {
-          mergeJobEvent(other.getJobEvent());
-          break;
-        }
-        case EVENT_NOT_SET: {
-          break;
-        }
+        case JOB_EVENT:
+          {
+            mergeJobEvent(other.getJobEvent());
+            break;
+          }
+        case EVENT_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -733,41 +791,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              requestId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              eventId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getJobEventFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              eventCase_ = 5;
-              break;
-            } // case 42
-            case 74: {
-              eventNotes_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                requestId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                eventId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getJobEventFieldBuilder().getBuilder(), extensionRegistry);
+                eventCase_ = 5;
+                break;
+              } // case 42
+            case 74:
+              {
+                eventNotes_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -777,12 +837,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int eventCase_ = 0;
     private java.lang.Object event_;
-    public EventCase
-        getEventCase() {
-      return EventCase.forNumber(
-          eventCase_);
+
+    public EventCase getEventCase() {
+      return EventCase.forNumber(eventCase_);
     }
 
     public Builder clearEvent() {
@@ -792,9 +852,10 @@ public Builder clearEvent() {
       return this;
     }
 
-
     private java.lang.Object requestId_ = "";
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -802,13 +863,13 @@ public Builder clearEvent() {
      * 
* * string request_id = 1; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -817,6 +878,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -824,15 +887,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -840,6 +902,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -847,20 +911,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 1; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -868,15 +934,18 @@ public Builder setRequestId(
      * 
* * string request_id = 1; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * A unique ID generated in the API responses. It can be found in
@@ -884,16 +953,16 @@ public Builder clearRequestId() {
      * 
* * string request_id = 1; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; @@ -901,18 +970,20 @@ public Builder setRequestIdBytes( private java.lang.Object eventId_ = ""; /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ public java.lang.String getEventId() { java.lang.Object ref = eventId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventId_ = s; return s; @@ -921,20 +992,21 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - public com.google.protobuf.ByteString - getEventIdBytes() { + public com.google.protobuf.ByteString getEventIdBytes() { java.lang.Object ref = eventId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventId_ = b; return b; } else { @@ -942,54 +1014,61 @@ public java.lang.String getEventId() { } } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The eventId to set. * @return This builder for chaining. */ - public Builder setEventId( - java.lang.String value) { + public Builder setEventId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEventId() { - + eventId_ = getDefaultInstance().getEventId(); onChanged(); return this; } /** + * + * *
      * Required. A unique identifier, generated by the client application.
      * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for eventId to set. * @return This builder for chaining. */ - public Builder setEventIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEventIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventId_ = value; onChanged(); return this; @@ -997,39 +1076,55 @@ public Builder setEventIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1045,14 +1140,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1063,17 +1160,20 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1085,11 +1185,14 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1103,62 +1206,81 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Required. The timestamp of the event.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder> jobEventBuilder_; + com.google.cloud.talent.v4beta1.JobEvent, + com.google.cloud.talent.v4beta1.JobEvent.Builder, + com.google.cloud.talent.v4beta1.JobEventOrBuilder> + jobEventBuilder_; /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ @java.lang.Override @@ -1166,12 +1288,15 @@ public boolean hasJobEvent() { return eventCase_ == 5; } /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
      * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return The jobEvent. */ @java.lang.Override @@ -1189,6 +1314,8 @@ public com.google.cloud.talent.v4beta1.JobEvent getJobEvent() { } } /** + * + * *
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1210,6 +1337,8 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1217,8 +1346,7 @@ public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
      *
      * .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      */
-    public Builder setJobEvent(
-        com.google.cloud.talent.v4beta1.JobEvent.Builder builderForValue) {
+    public Builder setJobEvent(com.google.cloud.talent.v4beta1.JobEvent.Builder builderForValue) {
       if (jobEventBuilder_ == null) {
         event_ = builderForValue.build();
         onChanged();
@@ -1229,6 +1357,8 @@ public Builder setJobEvent(
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1238,10 +1368,13 @@ public Builder setJobEvent(
      */
     public Builder mergeJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       if (jobEventBuilder_ == null) {
-        if (eventCase_ == 5 &&
-            event_ != com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance()) {
-          event_ = com.google.cloud.talent.v4beta1.JobEvent.newBuilder((com.google.cloud.talent.v4beta1.JobEvent) event_)
-              .mergeFrom(value).buildPartial();
+        if (eventCase_ == 5
+            && event_ != com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance()) {
+          event_ =
+              com.google.cloud.talent.v4beta1.JobEvent.newBuilder(
+                      (com.google.cloud.talent.v4beta1.JobEvent) event_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           event_ = value;
         }
@@ -1257,6 +1390,8 @@ public Builder mergeJobEvent(com.google.cloud.talent.v4beta1.JobEvent value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1281,6 +1416,8 @@ public Builder clearJobEvent() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1292,6 +1429,8 @@ public com.google.cloud.talent.v4beta1.JobEvent.Builder getJobEventBuilder() {
       return getJobEventFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1311,6 +1450,8 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * An event issued when a job seeker interacts with the application that
      * implements Cloud Talent Solution.
@@ -1319,39 +1460,47 @@ public com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder()
      * .google.cloud.talent.v4beta1.JobEvent job_event = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder> 
+            com.google.cloud.talent.v4beta1.JobEvent,
+            com.google.cloud.talent.v4beta1.JobEvent.Builder,
+            com.google.cloud.talent.v4beta1.JobEventOrBuilder>
         getJobEventFieldBuilder() {
       if (jobEventBuilder_ == null) {
         if (!(eventCase_ == 5)) {
           event_ = com.google.cloud.talent.v4beta1.JobEvent.getDefaultInstance();
         }
-        jobEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.JobEvent, com.google.cloud.talent.v4beta1.JobEvent.Builder, com.google.cloud.talent.v4beta1.JobEventOrBuilder>(
+        jobEventBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.JobEvent,
+                com.google.cloud.talent.v4beta1.JobEvent.Builder,
+                com.google.cloud.talent.v4beta1.JobEventOrBuilder>(
                 (com.google.cloud.talent.v4beta1.JobEvent) event_,
                 getParentForChildren(),
                 isClean());
         event_ = null;
       }
       eventCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return jobEventBuilder_;
     }
 
     private java.lang.Object eventNotes_ = "";
     /**
+     *
+     *
      * 
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @return The eventNotes. */ public java.lang.String getEventNotes() { java.lang.Object ref = eventNotes_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eventNotes_ = s; return s; @@ -1360,21 +1509,22 @@ public java.lang.String getEventNotes() { } } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ - public com.google.protobuf.ByteString - getEventNotesBytes() { + public com.google.protobuf.ByteString getEventNotesBytes() { java.lang.Object ref = eventNotes_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eventNotes_ = b; return b; } else { @@ -1382,64 +1532,71 @@ public java.lang.String getEventNotes() { } } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @param value The eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotes( - java.lang.String value) { + public Builder setEventNotes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eventNotes_ = value; onChanged(); return this; } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @return This builder for chaining. */ public Builder clearEventNotes() { - + eventNotes_ = getDefaultInstance().getEventNotes(); onChanged(); return this; } /** + * + * *
      * Notes about the event provided by recruiters or other users, for example,
      * feedback on why a profile was bookmarked.
      * 
* * string event_notes = 9; + * * @param value The bytes for eventNotes to set. * @return This builder for chaining. */ - public Builder setEventNotesBytes( - com.google.protobuf.ByteString value) { + public Builder setEventNotesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eventNotes_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1449,12 +1606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ClientEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ClientEvent) private static final com.google.cloud.talent.v4beta1.ClientEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ClientEvent(); } @@ -1463,27 +1620,27 @@ public static com.google.cloud.talent.v4beta1.ClientEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1498,6 +1655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ClientEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java similarity index 76% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java index bf24c0274f3c..1be2def8cd22 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ClientEventOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; -public interface ClientEventOrBuilder extends +public interface ClientEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ClientEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -15,10 +33,13 @@ public interface ClientEventOrBuilder extends
    * 
* * string request_id = 1; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Strongly recommended for the best service experience.
    * A unique ID generated in the API responses. It can be found in
@@ -26,79 +47,103 @@ public interface ClientEventOrBuilder extends
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventId. */ java.lang.String getEventId(); /** + * + * *
    * Required. A unique identifier, generated by the client application.
    * 
* * string event_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventId. */ - com.google.protobuf.ByteString - getEventIdBytes(); + com.google.protobuf.ByteString getEventIdBytes(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Required. The timestamp of the event.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return Whether the jobEvent field is set. */ boolean hasJobEvent(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
    * 
* * .google.cloud.talent.v4beta1.JobEvent job_event = 5; + * * @return The jobEvent. */ com.google.cloud.talent.v4beta1.JobEvent getJobEvent(); /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -109,26 +154,31 @@ public interface ClientEventOrBuilder extends
   com.google.cloud.talent.v4beta1.JobEventOrBuilder getJobEventOrBuilder();
 
   /**
+   *
+   *
    * 
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; + * * @return The eventNotes. */ java.lang.String getEventNotes(); /** + * + * *
    * Notes about the event provided by recruiters or other users, for example,
    * feedback on why a profile was bookmarked.
    * 
* * string event_notes = 9; + * * @return The bytes for eventNotes. */ - com.google.protobuf.ByteString - getEventNotesBytes(); + com.google.protobuf.ByteString getEventNotesBytes(); public com.google.cloud.talent.v4beta1.ClientEvent.EventCase getEventCase(); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java new file mode 100644 index 000000000000..dbe85a81e01b --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java @@ -0,0 +1,350 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/common.proto + +package com.google.cloud.talent.v4beta1; + +public final class CommonProto { + private CommonProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Location_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/talent/v4beta1/common.pro" + + "to\022\033google.cloud.talent.v4beta1\032\037google/" + + "api/field_behavior.proto\032\037google/protobu" + + "f/timestamp.proto\032\036google/protobuf/wrapp" + + "ers.proto\032\030google/type/latlng.proto\032\027goo" + + "gle/type/money.proto\032 google/type/postal" + + "_address.proto\"n\n\016TimestampRange\022.\n\nstar" + + "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + + "\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001" + + "(\01622.google.cloud.talent.v4beta1.Locatio" + + "n.LocationType\0222\n\016postal_address\030\002 \001(\0132\032" + + ".google.type.PostalAddress\022$\n\007lat_lng\030\003 " + + "\001(\0132\023.google.type.LatLng\022\024\n\014radius_miles" + + "\030\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE" + + "_UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTR" + + "ATIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020" + + "\003\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_" + + "LOCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LO" + + "CALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_A" + + "DDRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001" + + " \001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(" + + "\t\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_i" + + "nfo\030\005 \001(\0132\'.google.cloud.talent.v4beta1." + + "DeviceInfo\"&\n\020ResponseMetadata\022\022\n\nreques" + + "t_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type" + + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Dev" + + "iceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDevice" + + "Type\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB" + + "\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004" + + "\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017CustomAttribute\022" + + "\025\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 " + + "\003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032\n\022keyword_searc" + + "hable\030\004 \001(\010\"W\n\022SpellingCorrection\022\021\n\tcor" + + "rected\030\001 \001(\010\022\026\n\016corrected_text\030\002 \001(\t\022\026\n\016" + + "corrected_html\030\003 \001(\t\"\246\t\n\020CompensationInf" + + "o\022P\n\007entries\030\001 \003(\0132?.google.cloud.talent" + + ".v4beta1.CompensationInfo.CompensationEn" + + "try\022p\n\"annualized_base_compensation_rang" + + "e\030\002 \001(\0132?.google.cloud.talent.v4beta1.Co" + + "mpensationInfo.CompensationRangeB\003\340A\003\022q\n" + + "#annualized_total_compensation_range\030\003 \001" + + "(\0132?.google.cloud.talent.v4beta1.Compens" + + "ationInfo.CompensationRangeB\003\340A\003\032\222\003\n\021Com" + + "pensationEntry\022L\n\004type\030\001 \001(\0162>.google.cl" + + "oud.talent.v4beta1.CompensationInfo.Comp" + + "ensationType\022L\n\004unit\030\002 \001(\0162>.google.clou" + + "d.talent.v4beta1.CompensationInfo.Compen" + + "sationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type" + + ".MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.t" + + "alent.v4beta1.CompensationInfo.Compensat" + + "ionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expec" + + "ted_units_per_year\030\006 \001(\0132\034.google.protob" + + "uf.DoubleValueB\025\n\023compensation_amount\032o\n" + + "\021CompensationRange\022,\n\020max_compensation\030\002" + + " \001(\0132\022.google.type.Money\022,\n\020min_compensa" + + "tion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compe" + + "nsationType\022!\n\035COMPENSATION_TYPE_UNSPECI" + + "FIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_B" + + "ONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017" + + "\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPE" + + "NSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035C" + + "OMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY" + + "\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n" + + "\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPEN" + + "SATION_UNIT\020\007\"\314\003\n\026BatchOperationMetadata" + + "\022H\n\005state\030\001 \001(\01629.google.cloud.talent.v4" + + "beta1.BatchOperationMetadata.State\022\031\n\021st" + + "ate_description\030\002 \001(\t\022\025\n\rsuccess_count\030\003" + + " \001(\005\022\025\n\rfailure_count\030\004 \001(\005\022\023\n\013total_cou" + + "nt\030\005 \001(\005\022/\n\013create_time\030\006 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022/\n\013update_time\030\007 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\010end_time\030\010" + + " \001(\0132\032.google.protobuf.Timestamp\"z\n\005Stat" + + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIALIZING" + + "\020\001\022\016\n\nPROCESSING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI" + + "LED\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLED\020\006*y\n\013" + + "CompanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020" + + "\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006M" + + "EDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*" + + "\342\001\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIE" + + "D\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMES" + + "TIC_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MED" + + "ICAL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_L" + + "EAVE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS" + + "\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeT" + + "ype\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIM" + + "ARY_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCA" + + "TION\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n" + + "\030ADULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATE" + + "S_OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVA" + + "LENT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOC" + + "TORAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType" + + "\022\037\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFUL" + + "L_TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022" + + "\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006" + + "INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n" + + "\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TY" + + "PE\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIE" + + "D\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n" + + "\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*" + + "\272\006\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIF" + + "IED\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADM" + + "INISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_" + + "AND_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_" + + "FASHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATI" + + "ONS\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017CO" + + "MPUTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUS" + + "TOMER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERT" + + "AINMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTD" + + "OORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCE" + + "S\020\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPA" + + "IR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUF" + + "ACTURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUN" + + "ICATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MI" + + "NING\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027" + + "\n\023PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030" + + "\022\036\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALE" + + "S_AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERIN" + + "G\020\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022" + + "!\n\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TR" + + "ANSPORTATION_AND_LOGISTICS\020\036*e\n\rPostingR" + + "egion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n" + + "\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TE" + + "LECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VISIBILITY_" + + "UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARE" + + "D_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003\032" + + "\002\030\001*q\n\020HtmlSanitization\022!\n\035HTML_SANITIZA" + + "TION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZATION_" + + "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" + + "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" + + "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" + + "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." + + "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" + + "lang.org/genproto/googleapis/cloud/talen" + + "t/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + com.google.type.MoneyProto.getDescriptor(), + com.google.type.PostalAddressProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor, + new java.lang.String[] { + "StartTime", "EndTime", + }); + internal_static_google_cloud_talent_v4beta1_Location_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Location_descriptor, + new java.lang.String[] { + "LocationType", "PostalAddress", "LatLng", "RadiusMiles", + }); + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor, + new java.lang.String[] { + "Domain", "SessionId", "UserId", "AllowMissingIds", "DeviceInfo", + }); + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor, + new java.lang.String[] { + "RequestId", + }); + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor, + new java.lang.String[] { + "DeviceType", "Id", + }); + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor, + new java.lang.String[] { + "StringValues", "LongValues", "Filterable", "KeywordSearchable", + }); + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor, + new java.lang.String[] { + "Corrected", "CorrectedText", "CorrectedHtml", + }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor, + new java.lang.String[] { + "Entries", "AnnualizedBaseCompensationRange", "AnnualizedTotalCompensationRange", + }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor, + new java.lang.String[] { + "Type", + "Unit", + "Amount", + "Range", + "Description", + "ExpectedUnitsPerYear", + "CompensationAmount", + }); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor = + internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor, + new java.lang.String[] { + "MaxCompensation", "MinCompensation", + }); + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor, + new java.lang.String[] { + "State", + "StateDescription", + "SuccessCount", + "FailureCount", + "TotalCount", + "CreateTime", + "UpdateTime", + "EndTime", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + com.google.type.MoneyProto.getDescriptor(); + com.google.type.PostalAddressProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java similarity index 71% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java index dc657049c539..3342f74bbbf8 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilter.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Parameters needed for commute search.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CommuteFilter} */ -public final class CommuteFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommuteFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CommuteFilter) CommuteFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteFilter.newBuilder() to construct. private CommuteFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommuteFilter() { commuteMethod_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommuteFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CommuteFilter.class, com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); + com.google.cloud.talent.v4beta1.CommuteFilter.class, + com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); } /** + * + * *
    * The traffic density to use when calculating commute time.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic} */ - public enum RoadTraffic - implements com.google.protobuf.ProtocolMessageEnum { + public enum RoadTraffic implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Road traffic situation isn't specified.
      * 
@@ -66,6 +88,8 @@ public enum RoadTraffic */ ROAD_TRAFFIC_UNSPECIFIED(0), /** + * + * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -74,6 +98,8 @@ public enum RoadTraffic */ TRAFFIC_FREE(1), /** + * + * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -85,6 +111,8 @@ public enum RoadTraffic ; /** + * + * *
      * Road traffic situation isn't specified.
      * 
@@ -93,6 +121,8 @@ public enum RoadTraffic */ public static final int ROAD_TRAFFIC_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Optimal commute time without considering any traffic impact.
      * 
@@ -101,6 +131,8 @@ public enum RoadTraffic */ public static final int TRAFFIC_FREE_VALUE = 1; /** + * + * *
      * Commute time calculation takes in account the peak traffic impact.
      * 
@@ -109,7 +141,6 @@ public enum RoadTraffic */ public static final int BUSY_HOUR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,49 +165,49 @@ public static RoadTraffic valueOf(int value) { */ public static RoadTraffic forNumber(int value) { switch (value) { - case 0: return ROAD_TRAFFIC_UNSPECIFIED; - case 1: return TRAFFIC_FREE; - case 2: return BUSY_HOUR; - default: return null; + case 0: + return ROAD_TRAFFIC_UNSPECIFIED; + case 1: + return TRAFFIC_FREE; + case 2: + return BUSY_HOUR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RoadTraffic> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RoadTraffic findValueByNumber(int number) { - return RoadTraffic.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RoadTraffic findValueByNumber(int number) { + return RoadTraffic.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommuteFilter.getDescriptor().getEnumTypes().get(0); } private static final RoadTraffic[] VALUES = values(); - public static RoadTraffic valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RoadTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,13 +226,16 @@ private RoadTraffic(int value) { private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; + public enum TrafficOptionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROAD_TRAFFIC(5), DEPARTURE_TIME(6), TRAFFICOPTION_NOT_SET(0); private final int value; + private TrafficOptionCase(int value) { this.value = value; } @@ -217,59 +251,79 @@ public static TrafficOptionCase valueOf(int value) { public static TrafficOptionCase forNumber(int value) { switch (value) { - case 5: return ROAD_TRAFFIC; - case 6: return DEPARTURE_TIME; - case 0: return TRAFFICOPTION_NOT_SET; - default: return null; + case 5: + return ROAD_TRAFFIC; + case 6: + return DEPARTURE_TIME; + case 0: + return TRAFFICOPTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TrafficOptionCase - getTrafficOptionCase() { - return TrafficOptionCase.forNumber( - trafficOptionCase_); + public TrafficOptionCase getTrafficOptionCase() { + return TrafficOptionCase.forNumber(trafficOptionCase_); } public static final int COMMUTE_METHOD_FIELD_NUMBER = 1; private int commuteMethod_; /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override public int getCommuteMethodValue() { + @java.lang.Override + public int getCommuteMethodValue() { return commuteMethod_; } /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteMethod result = com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4beta1.CommuteMethod result = + com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4beta1.CommuteMethod.UNRECOGNIZED : result; } public static final int START_COORDINATES_FIELD_NUMBER = 2; private com.google.type.LatLng startCoordinates_; /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ @java.lang.Override @@ -277,25 +331,34 @@ public boolean hasStartCoordinates() { return startCoordinates_ != null; } /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ @java.lang.Override public com.google.type.LatLng getStartCoordinates() { - return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { @@ -305,12 +368,16 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { public static final int TRAVEL_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration travelDuration_; /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -318,25 +385,34 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { @@ -346,6 +422,8 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { public static final int ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER = 4; private boolean allowImpreciseAddresses_; /** + * + * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -355,6 +433,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
    * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -364,22 +443,28 @@ public boolean getAllowImpreciseAddresses() { public static final int ROAD_TRAFFIC_FIELD_NUMBER = 5; /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ public int getRoadTrafficValue() { @@ -389,25 +474,33 @@ public int getRoadTrafficValue() { return 0; } /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null + ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED + : result; } return com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } public static final int DEPARTURE_TIME_FIELD_NUMBER = 6; /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -415,6 +508,7 @@ public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic(
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -422,6 +516,8 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -429,16 +525,19 @@ public boolean hasDepartureTime() {
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ @java.lang.Override public com.google.type.TimeOfDay getDepartureTime() { if (trafficOptionCase_ == 6) { - return (com.google.type.TimeOfDay) trafficOption_; + return (com.google.type.TimeOfDay) trafficOption_; } return com.google.type.TimeOfDay.getDefaultInstance(); } /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -450,12 +549,13 @@ public com.google.type.TimeOfDay getDepartureTime() {
   @java.lang.Override
   public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
     if (trafficOptionCase_ == 6) {
-       return (com.google.type.TimeOfDay) trafficOption_;
+      return (com.google.type.TimeOfDay) trafficOption_;
     }
     return com.google.type.TimeOfDay.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -467,9 +567,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (commuteMethod_ != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (commuteMethod_
+        != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
@@ -496,29 +596,28 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (commuteMethod_ != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, commuteMethod_);
+    if (commuteMethod_
+        != com.google.cloud.talent.v4beta1.CommuteMethod.COMMUTE_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, commuteMethod_);
     }
     if (startCoordinates_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getStartCoordinates());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartCoordinates());
     }
     if (travelDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getTravelDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTravelDuration());
     }
     if (allowImpreciseAddresses_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, allowImpreciseAddresses_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowImpreciseAddresses_);
     }
     if (trafficOptionCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, ((java.lang.Integer) trafficOption_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeEnumSize(
+              5, ((java.lang.Integer) trafficOption_));
     }
     if (trafficOptionCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.type.TimeOfDay) trafficOption_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.type.TimeOfDay) trafficOption_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -528,35 +627,31 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.CommuteFilter)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.CommuteFilter other = (com.google.cloud.talent.v4beta1.CommuteFilter) obj;
+    com.google.cloud.talent.v4beta1.CommuteFilter other =
+        (com.google.cloud.talent.v4beta1.CommuteFilter) obj;
 
     if (commuteMethod_ != other.commuteMethod_) return false;
     if (hasStartCoordinates() != other.hasStartCoordinates()) return false;
     if (hasStartCoordinates()) {
-      if (!getStartCoordinates()
-          .equals(other.getStartCoordinates())) return false;
+      if (!getStartCoordinates().equals(other.getStartCoordinates())) return false;
     }
     if (hasTravelDuration() != other.hasTravelDuration()) return false;
     if (hasTravelDuration()) {
-      if (!getTravelDuration()
-          .equals(other.getTravelDuration())) return false;
+      if (!getTravelDuration().equals(other.getTravelDuration())) return false;
     }
-    if (getAllowImpreciseAddresses()
-        != other.getAllowImpreciseAddresses()) return false;
+    if (getAllowImpreciseAddresses() != other.getAllowImpreciseAddresses()) return false;
     if (!getTrafficOptionCase().equals(other.getTrafficOptionCase())) return false;
     switch (trafficOptionCase_) {
       case 5:
-        if (getRoadTrafficValue()
-            != other.getRoadTrafficValue()) return false;
+        if (getRoadTrafficValue() != other.getRoadTrafficValue()) return false;
         break;
       case 6:
-        if (!getDepartureTime()
-            .equals(other.getDepartureTime())) return false;
+        if (!getDepartureTime().equals(other.getDepartureTime())) return false;
         break;
       case 0:
       default:
@@ -583,8 +678,7 @@ public int hashCode() {
       hash = (53 * hash) + getTravelDuration().hashCode();
     }
     hash = (37 * hash) + ALLOW_IMPRECISE_ADDRESSES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowImpreciseAddresses());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowImpreciseAddresses());
     switch (trafficOptionCase_) {
       case 5:
         hash = (37 * hash) + ROAD_TRAFFIC_FIELD_NUMBER;
@@ -602,130 +696,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CommuteFilter parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.CommuteFilter prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Parameters needed for commute search.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CommuteFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CommuteFilter) com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CommuteFilter.class, com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); + com.google.cloud.talent.v4beta1.CommuteFilter.class, + com.google.cloud.talent.v4beta1.CommuteFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -754,9 +854,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; } @java.lang.Override @@ -775,7 +875,8 @@ public com.google.cloud.talent.v4beta1.CommuteFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { - com.google.cloud.talent.v4beta1.CommuteFilter result = new com.google.cloud.talent.v4beta1.CommuteFilter(this); + com.google.cloud.talent.v4beta1.CommuteFilter result = + new com.google.cloud.talent.v4beta1.CommuteFilter(this); result.commuteMethod_ = commuteMethod_; if (startCoordinatesBuilder_ == null) { result.startCoordinates_ = startCoordinates_; @@ -807,38 +908,39 @@ public com.google.cloud.talent.v4beta1.CommuteFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CommuteFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.CommuteFilter)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CommuteFilter) other); } else { super.mergeFrom(other); return this; @@ -860,17 +962,20 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CommuteFilter other) { setAllowImpreciseAddresses(other.getAllowImpreciseAddresses()); } switch (other.getTrafficOptionCase()) { - case ROAD_TRAFFIC: { - setRoadTrafficValue(other.getRoadTrafficValue()); - break; - } - case DEPARTURE_TIME: { - mergeDepartureTime(other.getDepartureTime()); - break; - } - case TRAFFICOPTION_NOT_SET: { - break; - } + case ROAD_TRAFFIC: + { + setRoadTrafficValue(other.getRoadTrafficValue()); + break; + } + case DEPARTURE_TIME: + { + mergeDepartureTime(other.getDepartureTime()); + break; + } + case TRAFFICOPTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -898,49 +1003,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - commuteMethod_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getStartCoordinatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - allowImpreciseAddresses_ = input.readBool(); - - break; - } // case 32 - case 40: { - int rawValue = input.readEnum(); - trafficOptionCase_ = 5; - trafficOption_ = rawValue; - break; - } // case 40 - case 50: { - input.readMessage( - getDepartureTimeFieldBuilder().getBuilder(), - extensionRegistry); - trafficOptionCase_ = 6; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + commuteMethod_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage( + getStartCoordinatesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + allowImpreciseAddresses_ = input.readBool(); + + break; + } // case 32 + case 40: + { + int rawValue = input.readEnum(); + trafficOptionCase_ = 5; + trafficOption_ = rawValue; + break; + } // case 40 + case 50: + { + input.readMessage(getDepartureTimeFieldBuilder().getBuilder(), extensionRegistry); + trafficOptionCase_ = 6; + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -950,12 +1057,12 @@ public Builder mergeFrom( } // finally return this; } + private int trafficOptionCase_ = 0; private java.lang.Object trafficOption_; - public TrafficOptionCase - getTrafficOptionCase() { - return TrafficOptionCase.forNumber( - trafficOptionCase_); + + public TrafficOptionCase getTrafficOptionCase() { + return TrafficOptionCase.forNumber(trafficOptionCase_); } public Builder clearTrafficOption() { @@ -965,54 +1072,75 @@ public Builder clearTrafficOption() { return this; } - private int commuteMethod_ = 0; /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ - @java.lang.Override public int getCommuteMethodValue() { + @java.lang.Override + public int getCommuteMethodValue() { return commuteMethod_; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for commuteMethod to set. * @return This builder for chaining. */ public Builder setCommuteMethodValue(int value) { - + commuteMethod_ = value; onChanged(); return this; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteMethod result = com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); + com.google.cloud.talent.v4beta1.CommuteMethod result = + com.google.cloud.talent.v4beta1.CommuteMethod.valueOf(commuteMethod_); return result == null ? com.google.cloud.talent.v4beta1.CommuteMethod.UNRECOGNIZED : result; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The commuteMethod to set. * @return This builder for chaining. */ @@ -1020,21 +1148,26 @@ public Builder setCommuteMethod(com.google.cloud.talent.v4beta1.CommuteMethod va if (value == null) { throw new NullPointerException(); } - + commuteMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The method of transportation to calculate the commute time for.
      * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearCommuteMethod() { - + commuteMethod_ = 0; onChanged(); return this; @@ -1042,42 +1175,56 @@ public Builder clearCommuteMethod() { private com.google.type.LatLng startCoordinates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> startCoordinatesBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + startCoordinatesBuilder_; /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ public boolean hasStartCoordinates() { return startCoordinatesBuilder_ != null || startCoordinates_ != null; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ public com.google.type.LatLng getStartCoordinates() { if (startCoordinatesBuilder_ == null) { - return startCoordinates_ == null ? com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } else { return startCoordinatesBuilder_.getMessage(); } } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { @@ -1093,15 +1240,17 @@ public Builder setStartCoordinates(com.google.type.LatLng value) { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setStartCoordinates( - com.google.type.LatLng.Builder builderForValue) { + public Builder setStartCoordinates(com.google.type.LatLng.Builder builderForValue) { if (startCoordinatesBuilder_ == null) { startCoordinates_ = builderForValue.build(); onChanged(); @@ -1112,18 +1261,21 @@ public Builder setStartCoordinates( return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeStartCoordinates(com.google.type.LatLng value) { if (startCoordinatesBuilder_ == null) { if (startCoordinates_ != null) { startCoordinates_ = - com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); + com.google.type.LatLng.newBuilder(startCoordinates_).mergeFrom(value).buildPartial(); } else { startCoordinates_ = value; } @@ -1135,12 +1287,15 @@ public Builder mergeStartCoordinates(com.google.type.LatLng value) { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStartCoordinates() { if (startCoordinatesBuilder_ == null) { @@ -1154,51 +1309,62 @@ public Builder clearStartCoordinates() { return this; } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.LatLng.Builder getStartCoordinatesBuilder() { - + onChanged(); return getStartCoordinatesFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { if (startCoordinatesBuilder_ != null) { return startCoordinatesBuilder_.getMessageOrBuilder(); } else { - return startCoordinates_ == null ? - com.google.type.LatLng.getDefaultInstance() : startCoordinates_; + return startCoordinates_ == null + ? com.google.type.LatLng.getDefaultInstance() + : startCoordinates_; } } /** + * + * *
      * Required. The latitude and longitude of the location to calculate the
      * commute time from.
      * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getStartCoordinatesFieldBuilder() { if (startCoordinatesBuilder_ == null) { - startCoordinatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getStartCoordinates(), - getParentForChildren(), - isClean()); + startCoordinatesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>( + getStartCoordinates(), getParentForChildren(), isClean()); startCoordinates_ = null; } return startCoordinatesBuilder_; @@ -1206,42 +1372,61 @@ public com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder() { private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + travelDurationBuilder_; /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { @@ -1257,15 +1442,18 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTravelDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) { if (travelDurationBuilder_ == null) { travelDuration_ = builderForValue.build(); onChanged(); @@ -1276,18 +1464,24 @@ public Builder setTravelDuration( return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { if (travelDurationBuilder_ == null) { if (travelDuration_ != null) { travelDuration_ = - com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(travelDuration_) + .mergeFrom(value) + .buildPartial(); } else { travelDuration_ = value; } @@ -1299,12 +1493,16 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTravelDuration() { if (travelDurationBuilder_ == null) { @@ -1318,58 +1516,76 @@ public Builder clearTravelDuration() { return this; } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getTravelDurationBuilder() { - + onChanged(); return getTravelDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() { if (travelDurationBuilder_ != null) { return travelDurationBuilder_.getMessageOrBuilder(); } else { - return travelDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } } /** + * + * *
      * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
      * (one hour). Format is `123s`.
      * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getTravelDurationFieldBuilder() { if (travelDurationBuilder_ == null) { - travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getTravelDuration(), - getParentForChildren(), - isClean()); + travelDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getTravelDuration(), getParentForChildren(), isClean()); travelDuration_ = null; } return travelDurationBuilder_; } - private boolean allowImpreciseAddresses_ ; + private boolean allowImpreciseAddresses_; /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1379,6 +1595,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
      * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ @java.lang.Override @@ -1386,6 +1603,8 @@ public boolean getAllowImpreciseAddresses() { return allowImpreciseAddresses_; } /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1395,16 +1614,19 @@ public boolean getAllowImpreciseAddresses() {
      * 
* * bool allow_imprecise_addresses = 4; + * * @param value The allowImpreciseAddresses to set. * @return This builder for chaining. */ public Builder setAllowImpreciseAddresses(boolean value) { - + allowImpreciseAddresses_ = value; onChanged(); return this; } /** + * + * *
      * If `true`, jobs without street level addresses may also be returned.
      * For city level addresses, the city center is used. For state and coarser
@@ -1414,21 +1636,25 @@ public Builder setAllowImpreciseAddresses(boolean value) {
      * 
* * bool allow_imprecise_addresses = 4; + * * @return This builder for chaining. */ public Builder clearAllowImpreciseAddresses() { - + allowImpreciseAddresses_ = false; onChanged(); return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ @java.lang.Override @@ -1436,11 +1662,14 @@ public boolean hasRoadTraffic() { return trafficOptionCase_ == 5; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ @java.lang.Override @@ -1451,11 +1680,14 @@ public int getRoadTrafficValue() { return 0; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @param value The enum numeric value on the wire for roadTraffic to set. * @return This builder for chaining. */ @@ -1466,29 +1698,38 @@ public Builder setRoadTrafficValue(int value) { return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic() { if (trafficOptionCase_ == 5) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( - (java.lang.Integer) trafficOption_); - return result == null ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic result = + com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.valueOf( + (java.lang.Integer) trafficOption_); + return result == null + ? com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.UNRECOGNIZED + : result; } return com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic.ROAD_TRAFFIC_UNSPECIFIED; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @param value The roadTraffic to set. * @return This builder for chaining. */ @@ -1502,11 +1743,14 @@ public Builder setRoadTraffic(com.google.cloud.talent.v4beta1.CommuteFilter.Road return this; } /** + * + * *
      * Specifies the traffic density to use when calculating commute time.
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return This builder for chaining. */ public Builder clearRoadTraffic() { @@ -1519,8 +1763,13 @@ public Builder clearRoadTraffic() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> departureTimeBuilder_; + com.google.type.TimeOfDay, + com.google.type.TimeOfDay.Builder, + com.google.type.TimeOfDayOrBuilder> + departureTimeBuilder_; /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1528,6 +1777,7 @@ public Builder clearRoadTraffic() {
      * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ @java.lang.Override @@ -1535,6 +1785,8 @@ public boolean hasDepartureTime() { return trafficOptionCase_ == 6; } /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1542,6 +1794,7 @@ public boolean hasDepartureTime() {
      * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ @java.lang.Override @@ -1559,6 +1812,8 @@ public com.google.type.TimeOfDay getDepartureTime() { } } /** + * + * *
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1581,6 +1836,8 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1589,8 +1846,7 @@ public Builder setDepartureTime(com.google.type.TimeOfDay value) {
      *
      * .google.type.TimeOfDay departure_time = 6;
      */
-    public Builder setDepartureTime(
-        com.google.type.TimeOfDay.Builder builderForValue) {
+    public Builder setDepartureTime(com.google.type.TimeOfDay.Builder builderForValue) {
       if (departureTimeBuilder_ == null) {
         trafficOption_ = builderForValue.build();
         onChanged();
@@ -1601,6 +1857,8 @@ public Builder setDepartureTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1611,10 +1869,12 @@ public Builder setDepartureTime(
      */
     public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       if (departureTimeBuilder_ == null) {
-        if (trafficOptionCase_ == 6 &&
-            trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
-          trafficOption_ = com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
-              .mergeFrom(value).buildPartial();
+        if (trafficOptionCase_ == 6
+            && trafficOption_ != com.google.type.TimeOfDay.getDefaultInstance()) {
+          trafficOption_ =
+              com.google.type.TimeOfDay.newBuilder((com.google.type.TimeOfDay) trafficOption_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           trafficOption_ = value;
         }
@@ -1630,6 +1890,8 @@ public Builder mergeDepartureTime(com.google.type.TimeOfDay value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1655,6 +1917,8 @@ public Builder clearDepartureTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1667,6 +1931,8 @@ public com.google.type.TimeOfDay.Builder getDepartureTimeBuilder() {
       return getDepartureTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1687,6 +1953,8 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The departure time used to calculate traffic impact, represented as
      * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -1696,26 +1964,30 @@ public com.google.type.TimeOfDayOrBuilder getDepartureTimeOrBuilder() {
      * .google.type.TimeOfDay departure_time = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+            com.google.type.TimeOfDay,
+            com.google.type.TimeOfDay.Builder,
+            com.google.type.TimeOfDayOrBuilder>
         getDepartureTimeFieldBuilder() {
       if (departureTimeBuilder_ == null) {
         if (!(trafficOptionCase_ == 6)) {
           trafficOption_ = com.google.type.TimeOfDay.getDefaultInstance();
         }
-        departureTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                (com.google.type.TimeOfDay) trafficOption_,
-                getParentForChildren(),
-                isClean());
+        departureTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.TimeOfDay,
+                com.google.type.TimeOfDay.Builder,
+                com.google.type.TimeOfDayOrBuilder>(
+                (com.google.type.TimeOfDay) trafficOption_, getParentForChildren(), isClean());
         trafficOption_ = null;
       }
       trafficOptionCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return departureTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1725,12 +1997,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CommuteFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CommuteFilter)
   private static final com.google.cloud.talent.v4beta1.CommuteFilter DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CommuteFilter();
   }
@@ -1739,27 +2011,27 @@ public static com.google.cloud.talent.v4beta1.CommuteFilter getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CommuteFilter parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CommuteFilter parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1774,6 +2046,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.CommuteFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
similarity index 78%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
index db813e68004f..69cb2fa664a2 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteFilterOrBuilder.java
@@ -1,92 +1,142 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/filters.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface CommuteFilterOrBuilder extends
+public interface CommuteFilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CommuteFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for commuteMethod. */ int getCommuteMethodValue(); /** + * + * *
    * Required. The method of transportation to calculate the commute time for.
    * 
* - * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CommuteMethod commute_method = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The commuteMethod. */ com.google.cloud.talent.v4beta1.CommuteMethod getCommuteMethod(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the startCoordinates field is set. */ boolean hasStartCoordinates(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The startCoordinates. */ com.google.type.LatLng getStartCoordinates(); /** + * + * *
    * Required. The latitude and longitude of the location to calculate the
    * commute time from.
    * 
* - * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.type.LatLng start_coordinates = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.type.LatLngOrBuilder getStartCoordinatesOrBuilder(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** + * + * *
    * Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
    * (one hour). Format is `123s`.
    * 
* - * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration travel_duration = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder(); /** + * + * *
    * If `true`, jobs without street level addresses may also be returned.
    * For city level addresses, the city center is used. For state and coarser
@@ -96,39 +146,51 @@ public interface CommuteFilterOrBuilder extends
    * 
* * bool allow_imprecise_addresses = 4; + * * @return The allowImpreciseAddresses. */ boolean getAllowImpreciseAddresses(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return Whether the roadTraffic field is set. */ boolean hasRoadTraffic(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The enum numeric value on the wire for roadTraffic. */ int getRoadTrafficValue(); /** + * + * *
    * Specifies the traffic density to use when calculating commute time.
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic road_traffic = 5; + * * @return The roadTraffic. */ com.google.cloud.talent.v4beta1.CommuteFilter.RoadTraffic getRoadTraffic(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -136,10 +198,13 @@ public interface CommuteFilterOrBuilder extends
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return Whether the departureTime field is set. */ boolean hasDepartureTime(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
@@ -147,10 +212,13 @@ public interface CommuteFilterOrBuilder extends
    * 
* * .google.type.TimeOfDay departure_time = 6; + * * @return The departureTime. */ com.google.type.TimeOfDay getDepartureTime(); /** + * + * *
    * The departure time used to calculate traffic impact, represented as
    * [google.type.TimeOfDay][google.type.TimeOfDay] in local time zone.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
index 2e6c1e1f20db..d2ac39141d31 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommuteMethod.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Method for commute.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CommuteMethod} */ -public enum CommuteMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum CommuteMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Commute method isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum CommuteMethod */ COMMUTE_METHOD_UNSPECIFIED(0), /** + * + * *
    * Commute time is calculated based on driving time.
    * 
@@ -29,6 +49,8 @@ public enum CommuteMethod */ DRIVING(1), /** + * + * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -38,6 +60,8 @@ public enum CommuteMethod
    */
   TRANSIT(2),
   /**
+   *
+   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -46,6 +70,8 @@ public enum CommuteMethod */ WALKING(3), /** + * + * *
    * Commute time is calculated based on biking time.
    * 
@@ -57,6 +83,8 @@ public enum CommuteMethod ; /** + * + * *
    * Commute method isn't specified.
    * 
@@ -65,6 +93,8 @@ public enum CommuteMethod */ public static final int COMMUTE_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Commute time is calculated based on driving time.
    * 
@@ -73,6 +103,8 @@ public enum CommuteMethod */ public static final int DRIVING_VALUE = 1; /** + * + * *
    * Commute time is calculated based on public transit including bus, metro,
    * subway, and so on.
@@ -82,6 +114,8 @@ public enum CommuteMethod
    */
   public static final int TRANSIT_VALUE = 2;
   /**
+   *
+   *
    * 
    * Commute time is calculated based on walking time.
    * 
@@ -90,6 +124,8 @@ public enum CommuteMethod */ public static final int WALKING_VALUE = 3; /** + * + * *
    * Commute time is calculated based on biking time.
    * 
@@ -98,7 +134,6 @@ public enum CommuteMethod */ public static final int CYCLING_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -123,51 +158,53 @@ public static CommuteMethod valueOf(int value) { */ public static CommuteMethod forNumber(int value) { switch (value) { - case 0: return COMMUTE_METHOD_UNSPECIFIED; - case 1: return DRIVING; - case 2: return TRANSIT; - case 3: return WALKING; - case 4: return CYCLING; - default: return null; + case 0: + return COMMUTE_METHOD_UNSPECIFIED; + case 1: + return DRIVING; + case 2: + return TRANSIT; + case 3: + return WALKING; + case 4: + return CYCLING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CommuteMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CommuteMethod findValueByNumber(int number) { - return CommuteMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CommuteMethod findValueByNumber(int number) { + return CommuteMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(9); } private static final CommuteMethod[] VALUES = values(); - public static CommuteMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CommuteMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -183,4 +220,3 @@ private CommuteMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CommuteMethod) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java similarity index 75% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java index 5e5fc1054f6a..35d4d4ae0237 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Company.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * A Company resource represents a company in the service. A company is the
  * entity that owns job postings, that is, the hiring entity responsible for
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Company}
  */
-public final class Company extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Company extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Company)
     CompanyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Company.newBuilder() to construct.
   private Company(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Company() {
     name_ = "";
     displayName_ = "";
@@ -36,54 +54,64 @@ private Company() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Company();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CompanyResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CompanyResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Company.class, com.google.cloud.talent.v4beta1.Company.Builder.class);
+            com.google.cloud.talent.v4beta1.Company.class,
+            com.google.cloud.talent.v4beta1.Company.Builder.class);
   }
 
-  public interface DerivedInfoOrBuilder extends
+  public interface DerivedInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Company.DerivedInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ boolean hasHeadquartersLocation(); /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return The headquartersLocation. */ com.google.cloud.talent.v4beta1.Location getHeadquartersLocation(); /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -94,58 +122,64 @@ public interface DerivedInfoOrBuilder extends
     com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Derived details about the company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Company.DerivedInfo} */ - public static final class DerivedInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Company.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DerivedInfo() { - } + + private DerivedInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); } public static final int HEADQUARTERS_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Location headquartersLocation_; /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ @java.lang.Override @@ -153,19 +187,26 @@ public boolean hasHeadquartersLocation() { return headquartersLocation_ != null; } /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
      * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return The headquartersLocation. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location getHeadquartersLocation() { - return headquartersLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_; + return headquartersLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : headquartersLocation_; } /** + * + * *
      * A structured headquarters location of the company, resolved from
      * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -179,6 +220,7 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -190,8 +232,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (headquartersLocation_ != null) {
         output.writeMessage(1, getHeadquartersLocation());
       }
@@ -205,8 +246,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (headquartersLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getHeadquartersLocation());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHeadquartersLocation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -216,17 +257,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.Company.DerivedInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.Company.DerivedInfo other = (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj;
+      com.google.cloud.talent.v4beta1.Company.DerivedInfo other =
+          (com.google.cloud.talent.v4beta1.Company.DerivedInfo) obj;
 
       if (hasHeadquartersLocation() != other.hasHeadquartersLocation()) return false;
       if (hasHeadquartersLocation()) {
-        if (!getHeadquartersLocation()
-            .equals(other.getHeadquartersLocation())) return false;
+        if (!getHeadquartersLocation().equals(other.getHeadquartersLocation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -249,87 +290,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.Company.DerivedInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.Company.DerivedInfo prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.Company.DerivedInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -339,39 +387,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Derived details about the company.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Company.DerivedInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Company.DerivedInfo) com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.class, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyResourceProto + .internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; } @java.lang.Override @@ -406,7 +456,8 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { - com.google.cloud.talent.v4beta1.Company.DerivedInfo result = new com.google.cloud.talent.v4beta1.Company.DerivedInfo(this); + com.google.cloud.talent.v4beta1.Company.DerivedInfo result = + new com.google.cloud.talent.v4beta1.Company.DerivedInfo(this); if (headquartersLocationBuilder_ == null) { result.headquartersLocation_ = headquartersLocation_; } else { @@ -420,38 +471,41 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Company.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Company.DerivedInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Company.DerivedInfo) other); } else { super.mergeFrom(other); return this; @@ -459,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Company.DerivedInfo other) { - if (other == com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance()) + return this; if (other.hasHeadquartersLocation()) { mergeHeadquartersLocation(other.getHeadquartersLocation()); } @@ -489,19 +544,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getHeadquartersLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getHeadquartersLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,36 +570,49 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Location headquartersLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> headquartersLocationBuilder_; + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> + headquartersLocationBuilder_; /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return Whether the headquartersLocation field is set. */ public boolean hasHeadquartersLocation() { return headquartersLocationBuilder_ != null || headquartersLocation_ != null; } /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
        * 
* * .google.cloud.talent.v4beta1.Location headquarters_location = 1; + * * @return The headquartersLocation. */ public com.google.cloud.talent.v4beta1.Location getHeadquartersLocation() { if (headquartersLocationBuilder_ == null) { - return headquartersLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_; + return headquartersLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : headquartersLocation_; } else { return headquartersLocationBuilder_.getMessage(); } } /** + * + * *
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -565,6 +634,8 @@ public Builder setHeadquartersLocation(com.google.cloud.talent.v4beta1.Location
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -584,6 +655,8 @@ public Builder setHeadquartersLocation(
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -595,7 +668,9 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4beta1.Locatio
         if (headquartersLocationBuilder_ == null) {
           if (headquartersLocation_ != null) {
             headquartersLocation_ =
-              com.google.cloud.talent.v4beta1.Location.newBuilder(headquartersLocation_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4beta1.Location.newBuilder(headquartersLocation_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             headquartersLocation_ = value;
           }
@@ -607,6 +682,8 @@ public Builder mergeHeadquartersLocation(com.google.cloud.talent.v4beta1.Locatio
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -626,6 +703,8 @@ public Builder clearHeadquartersLocation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -634,11 +713,13 @@ public Builder clearHeadquartersLocation() {
        * .google.cloud.talent.v4beta1.Location headquarters_location = 1;
        */
       public com.google.cloud.talent.v4beta1.Location.Builder getHeadquartersLocationBuilder() {
-        
+
         onChanged();
         return getHeadquartersLocationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -650,11 +731,14 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
         if (headquartersLocationBuilder_ != null) {
           return headquartersLocationBuilder_.getMessageOrBuilder();
         } else {
-          return headquartersLocation_ == null ?
-              com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : headquartersLocation_;
+          return headquartersLocation_ == null
+              ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance()
+              : headquartersLocation_;
         }
       }
       /**
+       *
+       *
        * 
        * A structured headquarters location of the company, resolved from
        * [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address] if provided.
@@ -663,18 +747,22 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getHeadquartersLocation
        * .google.cloud.talent.v4beta1.Location headquarters_location = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
+              com.google.cloud.talent.v4beta1.Location,
+              com.google.cloud.talent.v4beta1.Location.Builder,
+              com.google.cloud.talent.v4beta1.LocationOrBuilder>
           getHeadquartersLocationFieldBuilder() {
         if (headquartersLocationBuilder_ == null) {
-          headquartersLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
-                  getHeadquartersLocation(),
-                  getParentForChildren(),
-                  isClean());
+          headquartersLocationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4beta1.Location,
+                  com.google.cloud.talent.v4beta1.Location.Builder,
+                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+                  getHeadquartersLocation(), getParentForChildren(), isClean());
           headquartersLocation_ = null;
         }
         return headquartersLocationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -687,12 +775,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Company.DerivedInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Company.DerivedInfo)
     private static final com.google.cloud.talent.v4beta1.Company.DerivedInfo DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Company.DerivedInfo();
     }
@@ -701,27 +789,28 @@ public static com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInst
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public DerivedInfo parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public DerivedInfo parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -736,12 +825,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -754,6 +844,7 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDefaultInstanceFor
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -762,14 +853,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -782,16 +874,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -802,11 +893,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -815,29 +909,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -848,6 +942,8 @@ public java.lang.String getDisplayName() { public static final int EXTERNAL_ID_FIELD_NUMBER = 3; private volatile java.lang.Object externalId_; /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -855,6 +951,7 @@ public java.lang.String getDisplayName() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ @java.lang.Override @@ -863,14 +960,15 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -878,16 +976,15 @@ public java.lang.String getExternalId() {
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -898,33 +995,44 @@ public java.lang.String getExternalId() { public static final int SIZE_FIELD_NUMBER = 4; private int size_; /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ - @java.lang.Override public int getSizeValue() { + @java.lang.Override + public int getSizeValue() { return size_; } /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The size. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompanySize getSize() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompanySize result = com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); + com.google.cloud.talent.v4beta1.CompanySize result = + com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4beta1.CompanySize.UNRECOGNIZED : result; } public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER = 5; private volatile java.lang.Object headquartersAddress_; /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -933,6 +1041,7 @@ public java.lang.String getExternalId() {
    * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ @java.lang.Override @@ -941,14 +1050,15 @@ public java.lang.String getHeadquartersAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; } } /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -957,16 +1067,15 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -977,6 +1086,8 @@ public java.lang.String getHeadquartersAddress() { public static final int HIRING_AGENCY_FIELD_NUMBER = 6; private boolean hiringAgency_; /** + * + * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -984,6 +1095,7 @@ public java.lang.String getHeadquartersAddress() {
    * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ @java.lang.Override @@ -994,6 +1106,8 @@ public boolean getHiringAgency() { public static final int EEO_TEXT_FIELD_NUMBER = 7; private volatile java.lang.Object eeoText_; /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1002,6 +1116,7 @@ public boolean getHiringAgency() {
    * 
* * string eeo_text = 7; + * * @return The eeoText. */ @java.lang.Override @@ -1010,14 +1125,15 @@ public java.lang.String getEeoText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; } } /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -1026,16 +1142,15 @@ public java.lang.String getEeoText() {
    * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ @java.lang.Override - public com.google.protobuf.ByteString - getEeoTextBytes() { + public com.google.protobuf.ByteString getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eeoText_ = b; return b; } else { @@ -1046,6 +1161,8 @@ public java.lang.String getEeoText() { public static final int WEBSITE_URI_FIELD_NUMBER = 8; private volatile java.lang.Object websiteUri_; /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1053,6 +1170,7 @@ public java.lang.String getEeoText() {
    * 
* * string website_uri = 8; + * * @return The websiteUri. */ @java.lang.Override @@ -1061,14 +1179,15 @@ public java.lang.String getWebsiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; } } /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -1076,16 +1195,15 @@ public java.lang.String getWebsiteUri() {
    * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getWebsiteUriBytes() { + public com.google.protobuf.ByteString getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -1096,12 +1214,15 @@ public java.lang.String getWebsiteUri() { public static final int CAREER_SITE_URI_FIELD_NUMBER = 9; private volatile java.lang.Object careerSiteUri_; /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ @java.lang.Override @@ -1110,30 +1231,30 @@ public java.lang.String getCareerSiteUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; } } /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getCareerSiteUriBytes() { + public com.google.protobuf.ByteString getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -1144,11 +1265,14 @@ public java.lang.String getCareerSiteUri() { public static final int IMAGE_URI_FIELD_NUMBER = 10; private volatile java.lang.Object imageUri_; /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The imageUri. */ @java.lang.Override @@ -1157,29 +1281,29 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -1190,6 +1314,8 @@ public java.lang.String getImageUri() { public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_; /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1202,15 +1328,18 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_; } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1223,14 +1352,18 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated + public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1243,15 +1376,19 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated + public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -1264,24 +1401,30 @@ public java.lang.String getImageUri() {
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } public static final int DERIVED_INFO_FIELD_NUMBER = 12; private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -1289,23 +1432,34 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -1315,6 +1469,8 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn public static final int SUSPENDED_FIELD_NUMBER = 13; private boolean suspended_; /** + * + * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -1322,6 +1478,7 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ @java.lang.Override @@ -1330,6 +1487,7 @@ public boolean getSuspended() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1341,8 +1499,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1374,7 +1531,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageUri_); } for (int i = 0; i < keywordSearchableJobCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 11, keywordSearchableJobCustomAttributes_.getRaw(i)); } if (derivedInfo_ != null) { output.writeMessage(12, getDerivedInfo()); @@ -1401,15 +1559,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, externalId_); } if (size_ != com.google.cloud.talent.v4beta1.CompanySize.COMPANY_SIZE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, size_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headquartersAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, headquartersAddress_); } if (hiringAgency_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, hiringAgency_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, hiringAgency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eeoText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, eeoText_); @@ -1432,12 +1588,10 @@ public int getSerializedSize() { size += 1 * getKeywordSearchableJobCustomAttributesList().size(); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDerivedInfo()); } if (suspended_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, suspended_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, suspended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1447,41 +1601,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Company)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Company other = (com.google.cloud.talent.v4beta1.Company) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getExternalId() - .equals(other.getExternalId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; if (size_ != other.size_) return false; - if (!getHeadquartersAddress() - .equals(other.getHeadquartersAddress())) return false; - if (getHiringAgency() - != other.getHiringAgency()) return false; - if (!getEeoText() - .equals(other.getEeoText())) return false; - if (!getWebsiteUri() - .equals(other.getWebsiteUri())) return false; - if (!getCareerSiteUri() - .equals(other.getCareerSiteUri())) return false; - if (!getImageUri() - .equals(other.getImageUri())) return false; + if (!getHeadquartersAddress().equals(other.getHeadquartersAddress())) return false; + if (getHiringAgency() != other.getHiringAgency()) return false; + if (!getEeoText().equals(other.getEeoText())) return false; + if (!getWebsiteUri().equals(other.getWebsiteUri())) return false; + if (!getCareerSiteUri().equals(other.getCareerSiteUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; if (!getKeywordSearchableJobCustomAttributesList() .equals(other.getKeywordSearchableJobCustomAttributesList())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo() - .equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } - if (getSuspended() - != other.getSuspended()) return false; + if (getSuspended() != other.getSuspended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1504,8 +1647,7 @@ public int hashCode() { hash = (37 * hash) + HEADQUARTERS_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getHeadquartersAddress().hashCode(); hash = (37 * hash) + HIRING_AGENCY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHiringAgency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHiringAgency()); hash = (37 * hash) + EEO_TEXT_FIELD_NUMBER; hash = (53 * hash) + getEeoText().hashCode(); hash = (37 * hash) + WEBSITE_URI_FIELD_NUMBER; @@ -1523,104 +1665,110 @@ public int hashCode() { hash = (53 * hash) + getDerivedInfo().hashCode(); } hash = (37 * hash) + SUSPENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSuspended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSuspended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Company parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Company parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Company parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Company parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Company parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Company prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Company resource represents a company in the service. A company is the
    * entity that owns job postings, that is, the hiring entity responsible for
@@ -1629,33 +1777,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Company}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Company)
       com.google.cloud.talent.v4beta1.CompanyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Company.class, com.google.cloud.talent.v4beta1.Company.Builder.class);
+              com.google.cloud.talent.v4beta1.Company.class,
+              com.google.cloud.talent.v4beta1.Company.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Company.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1693,9 +1840,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CompanyResourceProto.internal_static_google_cloud_talent_v4beta1_Company_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CompanyResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Company_descriptor;
     }
 
     @java.lang.Override
@@ -1714,7 +1861,8 @@ public com.google.cloud.talent.v4beta1.Company build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.Company buildPartial() {
-      com.google.cloud.talent.v4beta1.Company result = new com.google.cloud.talent.v4beta1.Company(this);
+      com.google.cloud.talent.v4beta1.Company result =
+          new com.google.cloud.talent.v4beta1.Company(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1727,7 +1875,8 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() {
       result.careerSiteUri_ = careerSiteUri_;
       result.imageUri_ = imageUri_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_.getUnmodifiableView();
+        keywordSearchableJobCustomAttributes_ =
+            keywordSearchableJobCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableJobCustomAttributes_ = keywordSearchableJobCustomAttributes_;
@@ -1745,38 +1894,39 @@ public com.google.cloud.talent.v4beta1.Company buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Company) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Company)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Company) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1865,80 +2015,92 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              externalId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                externalId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              size_ = input.readEnum();
+                break;
+              } // case 26
+            case 32:
+              {
+                size_ = input.readEnum();
 
-              break;
-            } // case 32
-            case 42: {
-              headquartersAddress_ = input.readStringRequireUtf8();
+                break;
+              } // case 32
+            case 42:
+              {
+                headquartersAddress_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 48: {
-              hiringAgency_ = input.readBool();
+                break;
+              } // case 42
+            case 48:
+              {
+                hiringAgency_ = input.readBool();
 
-              break;
-            } // case 48
-            case 58: {
-              eeoText_ = input.readStringRequireUtf8();
+                break;
+              } // case 48
+            case 58:
+              {
+                eeoText_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 58
-            case 66: {
-              websiteUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 58
+            case 66:
+              {
+                websiteUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 66
-            case 74: {
-              careerSiteUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 66
+            case 74:
+              {
+                careerSiteUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 74
-            case 82: {
-              imageUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 74
+            case 82:
+              {
+                imageUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 82
-            case 90: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureKeywordSearchableJobCustomAttributesIsMutable();
-              keywordSearchableJobCustomAttributes_.add(s);
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getDerivedInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 82
+            case 90:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureKeywordSearchableJobCustomAttributesIsMutable();
+                keywordSearchableJobCustomAttributes_.add(s);
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 98
-            case 104: {
-              suspended_ = input.readBool();
+                break;
+              } // case 98
+            case 104:
+              {
+                suspended_ = input.readBool();
 
-              break;
-            } // case 104
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 104
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1948,10 +2110,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1964,13 +2129,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1979,6 +2144,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -1991,15 +2158,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2007,6 +2173,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2019,20 +2187,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2045,15 +2215,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during company update.
      * The resource name for a company. This is generated by the service when a
@@ -2066,16 +2239,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2083,18 +2256,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -2103,20 +2278,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -2124,54 +2300,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Required. The display name of the company, for example, "Google LLC".
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2179,6 +2362,8 @@ public Builder setDisplayNameBytes( private java.lang.Object externalId_ = ""; /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2186,13 +2371,13 @@ public Builder setDisplayNameBytes(
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -2201,6 +2386,8 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2208,15 +2395,14 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -2224,6 +2410,8 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2231,20 +2419,22 @@ public java.lang.String getExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId( - java.lang.String value) { + public Builder setExternalId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2252,15 +2442,18 @@ public Builder setExternalId(
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** + * + * *
      * Required. Client side company identifier, used to uniquely identify the
      * company.
@@ -2268,16 +2461,16 @@ public Builder clearExternalId() {
      * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -2285,51 +2478,65 @@ public Builder setExternalIdBytes( private int size_ = 0; /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ - @java.lang.Override public int getSizeValue() { + @java.lang.Override + public int getSizeValue() { return size_; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @param value The enum numeric value on the wire for size to set. * @return This builder for chaining. */ public Builder setSizeValue(int value) { - + size_ = value; onChanged(); return this; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The size. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanySize getSize() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompanySize result = com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); + com.google.cloud.talent.v4beta1.CompanySize result = + com.google.cloud.talent.v4beta1.CompanySize.valueOf(size_); return result == null ? com.google.cloud.talent.v4beta1.CompanySize.UNRECOGNIZED : result; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @param value The size to set. * @return This builder for chaining. */ @@ -2337,21 +2544,24 @@ public Builder setSize(com.google.cloud.talent.v4beta1.CompanySize value) { if (value == null) { throw new NullPointerException(); } - + size_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The employer's company size.
      * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return This builder for chaining. */ public Builder clearSize() { - + size_ = 0; onChanged(); return this; @@ -2359,6 +2569,8 @@ public Builder clearSize() { private java.lang.Object headquartersAddress_ = ""; /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2367,13 +2579,13 @@ public Builder clearSize() {
      * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ public java.lang.String getHeadquartersAddress() { java.lang.Object ref = headquartersAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headquartersAddress_ = s; return s; @@ -2382,6 +2594,8 @@ public java.lang.String getHeadquartersAddress() { } } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2390,15 +2604,14 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ - public com.google.protobuf.ByteString - getHeadquartersAddressBytes() { + public com.google.protobuf.ByteString getHeadquartersAddressBytes() { java.lang.Object ref = headquartersAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); headquartersAddress_ = b; return b; } else { @@ -2406,6 +2619,8 @@ public java.lang.String getHeadquartersAddress() { } } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2414,20 +2629,22 @@ public java.lang.String getHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @param value The headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddress( - java.lang.String value) { + public Builder setHeadquartersAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + headquartersAddress_ = value; onChanged(); return this; } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2436,15 +2653,18 @@ public Builder setHeadquartersAddress(
      * 
* * string headquarters_address = 5; + * * @return This builder for chaining. */ public Builder clearHeadquartersAddress() { - + headquartersAddress_ = getDefaultInstance().getHeadquartersAddress(); onChanged(); return this; } /** + * + * *
      * The street address of the company's main headquarters, which may be
      * different from the job location. The service attempts
@@ -2453,23 +2673,25 @@ public Builder clearHeadquartersAddress() {
      * 
* * string headquarters_address = 5; + * * @param value The bytes for headquartersAddress to set. * @return This builder for chaining. */ - public Builder setHeadquartersAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setHeadquartersAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + headquartersAddress_ = value; onChanged(); return this; } - private boolean hiringAgency_ ; + private boolean hiringAgency_; /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2477,6 +2699,7 @@ public Builder setHeadquartersAddressBytes(
      * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ @java.lang.Override @@ -2484,6 +2707,8 @@ public boolean getHiringAgency() { return hiringAgency_; } /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2491,16 +2716,19 @@ public boolean getHiringAgency() {
      * 
* * bool hiring_agency = 6; + * * @param value The hiringAgency to set. * @return This builder for chaining. */ public Builder setHiringAgency(boolean value) { - + hiringAgency_ = value; onChanged(); return this; } /** + * + * *
      * Set to true if it is the hiring agency that post jobs for other
      * employers.
@@ -2508,10 +2736,11 @@ public Builder setHiringAgency(boolean value) {
      * 
* * bool hiring_agency = 6; + * * @return This builder for chaining. */ public Builder clearHiringAgency() { - + hiringAgency_ = false; onChanged(); return this; @@ -2519,6 +2748,8 @@ public Builder clearHiringAgency() { private java.lang.Object eeoText_ = ""; /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2527,13 +2758,13 @@ public Builder clearHiringAgency() {
      * 
* * string eeo_text = 7; + * * @return The eeoText. */ public java.lang.String getEeoText() { java.lang.Object ref = eeoText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); eeoText_ = s; return s; @@ -2542,6 +2773,8 @@ public java.lang.String getEeoText() { } } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2550,15 +2783,14 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ - public com.google.protobuf.ByteString - getEeoTextBytes() { + public com.google.protobuf.ByteString getEeoTextBytes() { java.lang.Object ref = eeoText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); eeoText_ = b; return b; } else { @@ -2566,6 +2798,8 @@ public java.lang.String getEeoText() { } } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2574,20 +2808,22 @@ public java.lang.String getEeoText() {
      * 
* * string eeo_text = 7; + * * @param value The eeoText to set. * @return This builder for chaining. */ - public Builder setEeoText( - java.lang.String value) { + public Builder setEeoText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + eeoText_ = value; onChanged(); return this; } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2596,15 +2832,18 @@ public Builder setEeoText(
      * 
* * string eeo_text = 7; + * * @return This builder for chaining. */ public Builder clearEeoText() { - + eeoText_ = getDefaultInstance().getEeoText(); onChanged(); return this; } /** + * + * *
      * Equal Employment Opportunity legal disclaimer text to be
      * associated with all jobs, and typically to be displayed in all
@@ -2613,16 +2852,16 @@ public Builder clearEeoText() {
      * 
* * string eeo_text = 7; + * * @param value The bytes for eeoText to set. * @return This builder for chaining. */ - public Builder setEeoTextBytes( - com.google.protobuf.ByteString value) { + public Builder setEeoTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + eeoText_ = value; onChanged(); return this; @@ -2630,6 +2869,8 @@ public Builder setEeoTextBytes( private java.lang.Object websiteUri_ = ""; /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2637,13 +2878,13 @@ public Builder setEeoTextBytes(
      * 
* * string website_uri = 8; + * * @return The websiteUri. */ public java.lang.String getWebsiteUri() { java.lang.Object ref = websiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); websiteUri_ = s; return s; @@ -2652,6 +2893,8 @@ public java.lang.String getWebsiteUri() { } } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2659,15 +2902,14 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ - public com.google.protobuf.ByteString - getWebsiteUriBytes() { + public com.google.protobuf.ByteString getWebsiteUriBytes() { java.lang.Object ref = websiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); websiteUri_ = b; return b; } else { @@ -2675,6 +2917,8 @@ public java.lang.String getWebsiteUri() { } } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2682,20 +2926,22 @@ public java.lang.String getWebsiteUri() {
      * 
* * string website_uri = 8; + * * @param value The websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUri( - java.lang.String value) { + public Builder setWebsiteUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + websiteUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2703,15 +2949,18 @@ public Builder setWebsiteUri(
      * 
* * string website_uri = 8; + * * @return This builder for chaining. */ public Builder clearWebsiteUri() { - + websiteUri_ = getDefaultInstance().getWebsiteUri(); onChanged(); return this; } /** + * + * *
      * The URI representing the company's primary web site or home page,
      * for example, "https://www.google.com".
@@ -2719,16 +2968,16 @@ public Builder clearWebsiteUri() {
      * 
* * string website_uri = 8; + * * @param value The bytes for websiteUri to set. * @return This builder for chaining. */ - public Builder setWebsiteUriBytes( - com.google.protobuf.ByteString value) { + public Builder setWebsiteUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + websiteUri_ = value; onChanged(); return this; @@ -2736,19 +2985,21 @@ public Builder setWebsiteUriBytes( private java.lang.Object careerSiteUri_ = ""; /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ public java.lang.String getCareerSiteUri() { java.lang.Object ref = careerSiteUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); careerSiteUri_ = s; return s; @@ -2757,21 +3008,22 @@ public java.lang.String getCareerSiteUri() { } } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ - public com.google.protobuf.ByteString - getCareerSiteUriBytes() { + public com.google.protobuf.ByteString getCareerSiteUriBytes() { java.lang.Object ref = careerSiteUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); careerSiteUri_ = b; return b; } else { @@ -2779,57 +3031,64 @@ public java.lang.String getCareerSiteUri() { } } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @param value The careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUri( - java.lang.String value) { + public Builder setCareerSiteUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + careerSiteUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @return This builder for chaining. */ public Builder clearCareerSiteUri() { - + careerSiteUri_ = getDefaultInstance().getCareerSiteUri(); onChanged(); return this; } /** + * + * *
      * The URI to employer's career site or careers page on the employer's web
      * site, for example, "https://careers.google.com".
      * 
* * string career_site_uri = 9; + * * @param value The bytes for careerSiteUri to set. * @return This builder for chaining. */ - public Builder setCareerSiteUriBytes( - com.google.protobuf.ByteString value) { + public Builder setCareerSiteUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + careerSiteUri_ = value; onChanged(); return this; @@ -2837,18 +3096,20 @@ public Builder setCareerSiteUriBytes( private java.lang.Object imageUri_ = ""; /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -2857,20 +3118,21 @@ public java.lang.String getImageUri() { } } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -2878,67 +3140,79 @@ public java.lang.String getImageUri() { } } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri( - java.lang.String value) { + public Builder setImageUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** + * + * *
      * A URI that hosts the employer's company logo.
      * 
* * string image_uri = 10; + * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes( - com.google.protobuf.ByteString value) { + public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList keywordSearchableJobCustomAttributes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKeywordSearchableJobCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableJobCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); + keywordSearchableJobCustomAttributes_ = + new com.google.protobuf.LazyStringArrayList(keywordSearchableJobCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -2950,16 +3224,20 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getKeywordSearchableJobCustomAttributesList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getKeywordSearchableJobCustomAttributesList() { return keywordSearchableJobCustomAttributes_.getUnmodifiableView(); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -2971,15 +3249,20 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated public int getKeywordSearchableJobCustomAttributesCount() { + @java.lang.Deprecated + public int getKeywordSearchableJobCustomAttributesCount() { return keywordSearchableJobCustomAttributes_.size(); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -2991,16 +3274,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { + @java.lang.Deprecated + public java.lang.String getKeywordSearchableJobCustomAttributes(int index) { return keywordSearchableJobCustomAttributes_.get(index); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3012,17 +3300,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index) { return keywordSearchableJobCustomAttributes_.getByteString(index); } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3034,24 +3326,28 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index to set the value at. * @param value The keywordSearchableJobCustomAttributes to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setKeywordSearchableJobCustomAttributes( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setKeywordSearchableJobCustomAttributes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.set(index, value); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3063,23 +3359,27 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param value The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributes( - java.lang.String value) { + @java.lang.Deprecated + public Builder addKeywordSearchableJobCustomAttributes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableJobCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3091,13 +3391,16 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param values The keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllKeywordSearchableJobCustomAttributes( + @java.lang.Deprecated + public Builder addAllKeywordSearchableJobCustomAttributes( java.lang.Iterable values) { ensureKeywordSearchableJobCustomAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3106,6 +3409,8 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() { return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3117,18 +3422,23 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearKeywordSearchableJobCustomAttributes() { + @java.lang.Deprecated + public Builder clearKeywordSearchableJobCustomAttributes() { keywordSearchableJobCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please set the searchability of the custom
      * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -3140,18 +3450,21 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() {
      * and those keyword queries must be surrounded by quotes.
      * 
* - * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; + * + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param value The bytes of the keywordSearchableJobCustomAttributes to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addKeywordSearchableJobCustomAttributesBytes( + @java.lang.Deprecated + public Builder addKeywordSearchableJobCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableJobCustomAttributesIsMutable(); keywordSearchableJobCustomAttributes_.add(value); onChanged(); @@ -3160,39 +3473,58 @@ private void ensureKeywordSearchableJobCustomAttributesIsMutable() { private com.google.cloud.talent.v4beta1.Company.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> derivedInfoBuilder_; + com.google.cloud.talent.v4beta1.Company.DerivedInfo, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> + derivedInfoBuilder_; /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ public com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -3208,11 +3540,15 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInf return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo( com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder builderForValue) { @@ -3226,17 +3562,23 @@ public Builder setDerivedInfo( return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Company.DerivedInfo.newBuilder(derivedInfo_) + .mergeFrom(value) + .buildPartial(); } else { derivedInfo_ = value; } @@ -3248,11 +3590,15 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Company.DerivedI return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -3266,55 +3612,73 @@ public Builder clearDerivedInfo() { return this; } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null ? - com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Company.DerivedInfo.getDefaultInstance() + : derivedInfo_; } } /** + * + * *
      * Output only. Derived details about the company.
      * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> + com.google.cloud.talent.v4beta1.Company.DerivedInfo, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company.DerivedInfo, com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder>( - getDerivedInfo(), - getParentForChildren(), - isClean()); + derivedInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company.DerivedInfo, + com.google.cloud.talent.v4beta1.Company.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder>( + getDerivedInfo(), getParentForChildren(), isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; } - private boolean suspended_ ; + private boolean suspended_; /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3322,6 +3686,7 @@ public com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedIn
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ @java.lang.Override @@ -3329,6 +3694,8 @@ public boolean getSuspended() { return suspended_; } /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3336,16 +3703,19 @@ public boolean getSuspended() {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The suspended to set. * @return This builder for chaining. */ public Builder setSuspended(boolean value) { - + suspended_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Indicates whether a company is flagged to be suspended from
      * public availability by the service when job content appears suspicious,
@@ -3353,17 +3723,18 @@ public Builder setSuspended(boolean value) {
      * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSuspended() { - + suspended_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3373,12 +3744,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Company) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Company) private static final com.google.cloud.talent.v4beta1.Company DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Company(); } @@ -3387,27 +3758,27 @@ public static com.google.cloud.talent.v4beta1.Company getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Company parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Company parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3422,6 +3793,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Company getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java similarity index 100% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyName.java diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java similarity index 80% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java index 107985724e1b..cf1a85ae296c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company.proto package com.google.cloud.talent.v4beta1; -public interface CompanyOrBuilder extends +public interface CompanyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Company) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -20,10 +38,13 @@ public interface CompanyOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during company update.
    * The resource name for a company. This is generated by the service when a
@@ -36,32 +57,39 @@ public interface CompanyOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. The display name of the company, for example, "Google LLC".
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -69,10 +97,13 @@ public interface CompanyOrBuilder extends
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ java.lang.String getExternalId(); /** + * + * *
    * Required. Client side company identifier, used to uniquely identify the
    * company.
@@ -80,31 +111,39 @@ public interface CompanyOrBuilder extends
    * 
* * string external_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - com.google.protobuf.ByteString - getExternalIdBytes(); + com.google.protobuf.ByteString getExternalIdBytes(); /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The enum numeric value on the wire for size. */ int getSizeValue(); /** + * + * *
    * The employer's company size.
    * 
* * .google.cloud.talent.v4beta1.CompanySize size = 4; + * * @return The size. */ com.google.cloud.talent.v4beta1.CompanySize getSize(); /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -113,10 +152,13 @@ public interface CompanyOrBuilder extends
    * 
* * string headquarters_address = 5; + * * @return The headquartersAddress. */ java.lang.String getHeadquartersAddress(); /** + * + * *
    * The street address of the company's main headquarters, which may be
    * different from the job location. The service attempts
@@ -125,12 +167,14 @@ public interface CompanyOrBuilder extends
    * 
* * string headquarters_address = 5; + * * @return The bytes for headquartersAddress. */ - com.google.protobuf.ByteString - getHeadquartersAddressBytes(); + com.google.protobuf.ByteString getHeadquartersAddressBytes(); /** + * + * *
    * Set to true if it is the hiring agency that post jobs for other
    * employers.
@@ -138,11 +182,14 @@ public interface CompanyOrBuilder extends
    * 
* * bool hiring_agency = 6; + * * @return The hiringAgency. */ boolean getHiringAgency(); /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -151,10 +198,13 @@ public interface CompanyOrBuilder extends
    * 
* * string eeo_text = 7; + * * @return The eeoText. */ java.lang.String getEeoText(); /** + * + * *
    * Equal Employment Opportunity legal disclaimer text to be
    * associated with all jobs, and typically to be displayed in all
@@ -163,12 +213,14 @@ public interface CompanyOrBuilder extends
    * 
* * string eeo_text = 7; + * * @return The bytes for eeoText. */ - com.google.protobuf.ByteString - getEeoTextBytes(); + com.google.protobuf.ByteString getEeoTextBytes(); /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -176,10 +228,13 @@ public interface CompanyOrBuilder extends
    * 
* * string website_uri = 8; + * * @return The websiteUri. */ java.lang.String getWebsiteUri(); /** + * + * *
    * The URI representing the company's primary web site or home page,
    * for example, "https://www.google.com".
@@ -187,54 +242,66 @@ public interface CompanyOrBuilder extends
    * 
* * string website_uri = 8; + * * @return The bytes for websiteUri. */ - com.google.protobuf.ByteString - getWebsiteUriBytes(); + com.google.protobuf.ByteString getWebsiteUriBytes(); /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The careerSiteUri. */ java.lang.String getCareerSiteUri(); /** + * + * *
    * The URI to employer's career site or careers page on the employer's web
    * site, for example, "https://careers.google.com".
    * 
* * string career_site_uri = 9; + * * @return The bytes for careerSiteUri. */ - com.google.protobuf.ByteString - getCareerSiteUriBytes(); + com.google.protobuf.ByteString getCareerSiteUriBytes(); /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The imageUri. */ java.lang.String getImageUri(); /** + * + * *
    * A URI that hosts the employer's company logo.
    * 
* * string image_uri = 10; + * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString - getImageUriBytes(); + com.google.protobuf.ByteString getImageUriBytes(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -247,13 +314,16 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return A list containing the keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated java.util.List - getKeywordSearchableJobCustomAttributesList(); + @java.lang.Deprecated + java.util.List getKeywordSearchableJobCustomAttributesList(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -266,12 +336,16 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @return The count of keywordSearchableJobCustomAttributes. */ - @java.lang.Deprecated int getKeywordSearchableJobCustomAttributesCount(); + @java.lang.Deprecated + int getKeywordSearchableJobCustomAttributesCount(); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -284,13 +358,17 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the element to return. * @return The keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated java.lang.String getKeywordSearchableJobCustomAttributes(int index); + @java.lang.Deprecated + java.lang.String getKeywordSearchableJobCustomAttributes(int index); /** + * + * *
    * This field is deprecated. Please set the searchability of the custom
    * attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
@@ -303,42 +381,59 @@ public interface CompanyOrBuilder extends
    * 
* * repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. - * See google/cloud/talent/v4beta1/company.proto;l=111 + * + * @deprecated google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is + * deprecated. See google/cloud/talent/v4beta1/company.proto;l=111 * @param index The index of the value to return. * @return The bytes of the keywordSearchableJobCustomAttributes at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getKeywordSearchableJobCustomAttributesBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getKeywordSearchableJobCustomAttributesBytes(int index); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ com.google.cloud.talent.v4beta1.Company.DerivedInfo getDerivedInfo(); /** + * + * *
    * Output only. Derived details about the company.
    * 
* - * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.talent.v4beta1.Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** + * + * *
    * Output only. Indicates whether a company is flagged to be suspended from
    * public availability by the service when job content appears suspicious,
@@ -346,6 +441,7 @@ public interface CompanyOrBuilder extends
    * 
* * bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The suspended. */ boolean getSuspended(); diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java new file mode 100644 index 000000000000..1b63ab21ba97 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java @@ -0,0 +1,120 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/company.proto + +package com.google.cloud.talent.v4beta1; + +public final class CompanyResourceProto { + private CompanyResourceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Company_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/talent/v4beta1/company.pr" + + "oto\022\033google.cloud.talent.v4beta1\032\037google" + + "/api/field_behavior.proto\032\031google/api/re" + + "source.proto\032(google/cloud/talent/v4beta" + + "1/common.proto\"\200\005\n\007Company\022\014\n\004name\030\001 \001(\t" + + "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013external_" + + "id\030\003 \001(\tB\003\340A\002\0226\n\004size\030\004 \001(\0162(.google.clo" + + "ud.talent.v4beta1.CompanySize\022\034\n\024headqua" + + "rters_address\030\005 \001(\t\022\025\n\rhiring_agency\030\006 \001" + + "(\010\022\020\n\010eeo_text\030\007 \001(\t\022\023\n\013website_uri\030\010 \001(" + + "\t\022\027\n\017career_site_uri\030\t \001(\t\022\021\n\timage_uri\030" + + "\n \001(\t\0224\n(keyword_searchable_job_custom_a" + + "ttributes\030\013 \003(\tB\002\030\001\022K\n\014derived_info\030\014 \001(" + + "\01320.google.cloud.talent.v4beta1.Company." + + "DerivedInfoB\003\340A\003\022\026\n\tsuspended\030\r \001(\010B\003\340A\003" + + "\032S\n\013DerivedInfo\022D\n\025headquarters_location" + + "\030\001 \001(\0132%.google.cloud.talent.v4beta1.Loc" + + "ation:\201\001\352A~\n\033jobs.googleapis.com/Company" + + "\0227projects/{project}/tenants/{tenant}/co" + + "mpanies/{company}\022&projects/{project}/co" + + "mpanies/{company}B\202\001\n\037com.google.cloud.t" + + "alent.v4beta1B\024CompanyResourceProtoP\001ZAg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Company_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Company_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "ExternalId", + "Size", + "HeadquartersAddress", + "HiringAgency", + "EeoText", + "WebsiteUri", + "CareerSiteUri", + "ImageUri", + "KeywordSearchableJobCustomAttributes", + "DerivedInfo", + "Suspended", + }); + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Company_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor, + new java.lang.String[] { + "HeadquartersLocation", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java new file mode 100644 index 000000000000..41feb9ae8cc7 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java @@ -0,0 +1,208 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/company_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class CompanyServiceProto { + private CompanyServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/cloud/talent/v4beta1/company_se" + + "rvice.proto\022\033google.cloud.talent.v4beta1" + + "\032\034google/api/annotations.proto\032\027google/a" + + "pi/client.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032(goo" + + "gle/cloud/talent/v4beta1/common.proto\032)g" + + "oogle/cloud/talent/v4beta1/company.proto" + + "\032\033google/protobuf/empty.proto\032 google/pr" + + "otobuf/field_mask.proto\"\207\001\n\024CreateCompan" + + "yRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\022\033jobs.g" + + "oogleapis.com/Company\022:\n\007company\030\002 \001(\0132$" + + ".google.cloud.talent.v4beta1.CompanyB\003\340A" + + "\002\"F\n\021GetCompanyRequest\0221\n\004name\030\001 \001(\tB#\340A" + + "\002\372A\035\n\033jobs.googleapis.com/Company\"\203\001\n\024Up" + + "dateCompanyRequest\022:\n\007company\030\001 \001(\0132$.go" + + "ogle.cloud.talent.v4beta1.CompanyB\003\340A\002\022/" + + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMask\"I\n\024DeleteCompanyRequest\0221\n\004name\030" + + "\001 \001(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Compa" + + "ny\"\215\001\n\024ListCompaniesRequest\0223\n\006parent\030\001 " + + "\001(\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company" + + "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" + + "\031\n\021require_open_jobs\030\004 \001(\010\"\252\001\n\025ListCompa" + + "niesResponse\0227\n\tcompanies\030\001 \003(\0132$.google" + + ".cloud.talent.v4beta1.Company\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.googl" + + "e.cloud.talent.v4beta1.ResponseMetadata2" + + "\322\t\n\016CompanyService\022\343\001\n\rCreateCompany\0221.g" + + "oogle.cloud.talent.v4beta1.CreateCompany" + + "Request\032$.google.cloud.talent.v4beta1.Co" + + "mpany\"y\202\323\344\223\002b\"0/v4beta1/{parent=projects" + + "/*/tenants/*}/companies:\001*Z+\"&/v4beta1/{" + + "parent=projects/*}/companies:\001*\332A\016parent" + + ",company\022\315\001\n\nGetCompany\022..google.cloud.t" + + "alent.v4beta1.GetCompanyRequest\032$.google" + + ".cloud.talent.v4beta1.Company\"i\202\323\344\223\002\\\0220/" + + "v4beta1/{name=projects/*/tenants/*/compa" + + "nies/*}Z(\022&/v4beta1/{name=projects/*/com" + + "panies/*}\332A\004name\022\355\001\n\rUpdateCompany\0221.goo" + + "gle.cloud.talent.v4beta1.UpdateCompanyRe" + + "quest\032$.google.cloud.talent.v4beta1.Comp" + + "any\"\202\001\202\323\344\223\002r28/v4beta1/{company.name=pro" + + "jects/*/tenants/*/companies/*}:\001*Z32./v4" + + "beta1/{company.name=projects/*/companies" + + "/*}:\001*\332A\007company\022\305\001\n\rDeleteCompany\0221.goo" + + "gle.cloud.talent.v4beta1.DeleteCompanyRe" + + "quest\032\026.google.protobuf.Empty\"i\202\323\344\223\002\\*0/" + + "v4beta1/{name=projects/*/tenants/*/compa" + + "nies/*}Z(*&/v4beta1/{name=projects/*/com" + + "panies/*}\332A\004name\022\343\001\n\rListCompanies\0221.goo" + + "gle.cloud.talent.v4beta1.ListCompaniesRe" + + "quest\0322.google.cloud.talent.v4beta1.List" + + "CompaniesResponse\"k\202\323\344\223\002\\\0220/v4beta1/{par" + + "ent=projects/*/tenants/*}/companiesZ(\022&/" + + "v4beta1/{parent=projects/*}/companies\332A\006" + + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + + "/www.googleapis.com/auth/cloud-platform," + + "https://www.googleapis.com/auth/jobsB\201\001\n" + + "\037com.google.cloud.talent.v4beta1B\023Compan" + + "yServiceProtoP\001ZAgoogle.golang.org/genpr" + + "oto/googleapis/cloud/talent/v4beta1;tale" + + "nt\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor, + new java.lang.String[] { + "Parent", "Company", + }); + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor, + new java.lang.String[] { + "Company", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", "RequireOpenJobs", + }); + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor, + new java.lang.String[] { + "Companies", "NextPageToken", "Metadata", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java similarity index 72% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java index 59c4a40ecd3e..2516f3abd629 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanySize.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents the size of the company.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompanySize} */ -public enum CompanySize - implements com.google.protobuf.ProtocolMessageEnum { +public enum CompanySize implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if the size isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum CompanySize */ COMPANY_SIZE_UNSPECIFIED(0), /** + * + * *
    * The company has less than 50 employees.
    * 
@@ -29,6 +49,8 @@ public enum CompanySize */ MINI(1), /** + * + * *
    * The company has between 50 and 99 employees.
    * 
@@ -37,6 +59,8 @@ public enum CompanySize */ SMALL(2), /** + * + * *
    * The company has between 100 and 499 employees.
    * 
@@ -45,6 +69,8 @@ public enum CompanySize */ SMEDIUM(3), /** + * + * *
    * The company has between 500 and 999 employees.
    * 
@@ -53,6 +79,8 @@ public enum CompanySize */ MEDIUM(4), /** + * + * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -61,6 +89,8 @@ public enum CompanySize */ BIG(5), /** + * + * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -69,6 +99,8 @@ public enum CompanySize */ BIGGER(6), /** + * + * *
    * The company has 10,000 or more employees.
    * 
@@ -80,6 +112,8 @@ public enum CompanySize ; /** + * + * *
    * Default value if the size isn't specified.
    * 
@@ -88,6 +122,8 @@ public enum CompanySize */ public static final int COMPANY_SIZE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The company has less than 50 employees.
    * 
@@ -96,6 +132,8 @@ public enum CompanySize */ public static final int MINI_VALUE = 1; /** + * + * *
    * The company has between 50 and 99 employees.
    * 
@@ -104,6 +142,8 @@ public enum CompanySize */ public static final int SMALL_VALUE = 2; /** + * + * *
    * The company has between 100 and 499 employees.
    * 
@@ -112,6 +152,8 @@ public enum CompanySize */ public static final int SMEDIUM_VALUE = 3; /** + * + * *
    * The company has between 500 and 999 employees.
    * 
@@ -120,6 +162,8 @@ public enum CompanySize */ public static final int MEDIUM_VALUE = 4; /** + * + * *
    * The company has between 1,000 and 4,999 employees.
    * 
@@ -128,6 +172,8 @@ public enum CompanySize */ public static final int BIG_VALUE = 5; /** + * + * *
    * The company has between 5,000 and 9,999 employees.
    * 
@@ -136,6 +182,8 @@ public enum CompanySize */ public static final int BIGGER_VALUE = 6; /** + * + * *
    * The company has 10,000 or more employees.
    * 
@@ -144,7 +192,6 @@ public enum CompanySize */ public static final int GIANT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static CompanySize valueOf(int value) { */ public static CompanySize forNumber(int value) { switch (value) { - case 0: return COMPANY_SIZE_UNSPECIFIED; - case 1: return MINI; - case 2: return SMALL; - case 3: return SMEDIUM; - case 4: return MEDIUM; - case 5: return BIG; - case 6: return BIGGER; - case 7: return GIANT; - default: return null; + case 0: + return COMPANY_SIZE_UNSPECIFIED; + case 1: + return MINI; + case 2: + return SMALL; + case 3: + return SMEDIUM; + case 4: + return MEDIUM; + case 5: + return BIG; + case 6: + return BIGGER; + case 7: + return GIANT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompanySize> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompanySize findValueByNumber(int number) { - return CompanySize.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompanySize findValueByNumber(int number) { + return CompanySize.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final CompanySize[] VALUES = values(); - public static CompanySize valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CompanySize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private CompanySize(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CompanySize) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java similarity index 67% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java index 6677ead94614..8ef1a3485600 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Filter on job compensation type and amount.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationFilter} */ -public final class CompensationFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompensationFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationFilter) CompensationFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationFilter.newBuilder() to construct. private CompensationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompensationFilter() { type_ = 0; units_ = java.util.Collections.emptyList(); @@ -26,39 +44,43 @@ private CompensationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationFilter.class, com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); + com.google.cloud.talent.v4beta1.CompensationFilter.class, + com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); } /** + * + * *
    * Specify the type of filtering.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationFilter.FilterType} */ - public enum FilterType - implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -67,6 +89,8 @@ public enum FilterType */ FILTER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -80,6 +104,8 @@ public enum FilterType
      */
     UNIT_ONLY(1),
     /**
+     *
+     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -96,6 +122,8 @@ public enum FilterType
      */
     UNIT_AND_AMOUNT(2),
     /**
+     *
+     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -105,6 +133,8 @@ public enum FilterType
      */
     ANNUALIZED_BASE_AMOUNT(3),
     /**
+     *
+     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -117,6 +147,8 @@ public enum FilterType
     ;
 
     /**
+     *
+     *
      * 
      * Filter type unspecified. Position holder, INVALID, should never be used.
      * 
@@ -125,6 +157,8 @@ public enum FilterType */ public static final int FILTER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Filter by `base compensation entry's` unit. A job is a match if and
      * only if the job contains a base CompensationEntry and the base
@@ -138,6 +172,8 @@ public enum FilterType
      */
     public static final int UNIT_ONLY_VALUE = 1;
     /**
+     *
+     *
      * 
      * Filter by `base compensation entry's` unit and amount / range. A job
      * is a match if and only if the job contains a base CompensationEntry, and
@@ -154,6 +190,8 @@ public enum FilterType
      */
     public static final int UNIT_AND_AMOUNT_VALUE = 2;
     /**
+     *
+     *
      * 
      * Filter by annualized base compensation amount and `base compensation
      * entry's` unit. Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -163,6 +201,8 @@ public enum FilterType
      */
     public static final int ANNUALIZED_BASE_AMOUNT_VALUE = 3;
     /**
+     *
+     *
      * 
      * Filter by annualized total compensation amount and `base compensation
      * entry's` unit . Populate [range][google.cloud.talent.v4beta1.CompensationFilter.range] and zero or more [units][google.cloud.talent.v4beta1.CompensationFilter.units].
@@ -172,7 +212,6 @@ public enum FilterType
      */
     public static final int ANNUALIZED_TOTAL_AMOUNT_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -197,51 +236,55 @@ public static FilterType valueOf(int value) {
      */
     public static FilterType forNumber(int value) {
       switch (value) {
-        case 0: return FILTER_TYPE_UNSPECIFIED;
-        case 1: return UNIT_ONLY;
-        case 2: return UNIT_AND_AMOUNT;
-        case 3: return ANNUALIZED_BASE_AMOUNT;
-        case 4: return ANNUALIZED_TOTAL_AMOUNT;
-        default: return null;
+        case 0:
+          return FILTER_TYPE_UNSPECIFIED;
+        case 1:
+          return UNIT_ONLY;
+        case 2:
+          return UNIT_AND_AMOUNT;
+        case 3:
+          return ANNUALIZED_BASE_AMOUNT;
+        case 4:
+          return ANNUALIZED_TOTAL_AMOUNT;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        FilterType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FilterType findValueByNumber(int number) {
-              return FilterType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public FilterType findValueByNumber(int number) {
+            return FilterType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompensationFilter.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompensationFilter.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final FilterType[] VALUES = values();
 
-    public static FilterType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static FilterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -261,63 +304,96 @@ private FilterType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED + : result; } public static final int UNITS_FIELD_NUMBER = 2; private java.util.List units_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> units_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> + units_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>() { - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert(java.lang.Integer from) { + java.lang.Integer, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } }; /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ @java.lang.Override - public java.util.List getUnitsList() { + public java.util.List + getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>(units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>( + units_, units_converter_); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ @java.lang.Override @@ -325,12 +401,17 @@ public int getUnitsCount() { return units_.size(); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ @@ -339,26 +420,35 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit return units_converter_.convert(units_.get(index)); } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ @java.lang.Override - public java.util.List - getUnitsValueList() { + public java.util.List getUnitsValueList() { return units_; } /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -366,16 +456,20 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit public int getUnitsValue(int index) { return units_.get(index); } + private int unitsMemoizedSerializedSize; public static final int RANGE_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ @java.lang.Override @@ -383,18 +477,25 @@ public boolean hasRange() { return range_ != null; } /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { - return range_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() + : range_; } /** + * + * *
    * Compensation range.
    * 
@@ -402,19 +503,23 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { return getRange(); } public static final int INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER = 4; private boolean includeJobsWithUnspecifiedCompensationRange_; /** + * + * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -423,6 +528,7 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,10 +540,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (type_ != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (getUnitsList().size() > 0) { @@ -462,29 +569,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.FILTER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; for (int i = 0; i < units_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(units_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(units_.get(i)); } size += dataSize; - if (!getUnitsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }unitsMemoizedSerializedSize = dataSize; + if (!getUnitsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + unitsMemoizedSerializedSize = dataSize; } if (range_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRange()); } if (includeJobsWithUnspecifiedCompensationRange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, includeJobsWithUnspecifiedCompensationRange_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 4, includeJobsWithUnspecifiedCompensationRange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -494,19 +602,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompensationFilter other = (com.google.cloud.talent.v4beta1.CompensationFilter) obj; + com.google.cloud.talent.v4beta1.CompensationFilter other = + (com.google.cloud.talent.v4beta1.CompensationFilter) obj; if (type_ != other.type_) return false; if (!units_.equals(other.units_)) return false; if (hasRange() != other.hasRange()) return false; if (hasRange()) { - if (!getRange() - .equals(other.getRange())) return false; + if (!getRange().equals(other.getRange())) return false; } if (getIncludeJobsWithUnspecifiedCompensationRange() != other.getIncludeJobsWithUnspecifiedCompensationRange()) return false; @@ -532,137 +640,145 @@ public int hashCode() { hash = (53 * hash) + getRange().hashCode(); } hash = (37 * hash) + INCLUDE_JOBS_WITH_UNSPECIFIED_COMPENSATION_RANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeJobsWithUnspecifiedCompensationRange()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean( + getIncludeJobsWithUnspecifiedCompensationRange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Filter on job compensation type and amount.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationFilter) com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationFilter.class, com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); + com.google.cloud.talent.v4beta1.CompensationFilter.class, + com.google.cloud.talent.v4beta1.CompensationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -682,9 +798,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; } @java.lang.Override @@ -703,7 +819,8 @@ public com.google.cloud.talent.v4beta1.CompensationFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { - com.google.cloud.talent.v4beta1.CompensationFilter result = new com.google.cloud.talent.v4beta1.CompensationFilter(this); + com.google.cloud.talent.v4beta1.CompensationFilter result = + new com.google.cloud.talent.v4beta1.CompensationFilter(this); int from_bitField0_ = bitField0_; result.type_ = type_; if (((bitField0_ & 0x00000001) != 0)) { @@ -716,7 +833,8 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { } else { result.range_ = rangeBuilder_.build(); } - result.includeJobsWithUnspecifiedCompensationRange_ = includeJobsWithUnspecifiedCompensationRange_; + result.includeJobsWithUnspecifiedCompensationRange_ = + includeJobsWithUnspecifiedCompensationRange_; onBuilt(); return result; } @@ -725,38 +843,39 @@ public com.google.cloud.talent.v4beta1.CompensationFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationFilter)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationFilter) other); } else { super.mergeFrom(other); return this; @@ -764,7 +883,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationFilter other) { - if (other == com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -782,7 +902,8 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationFilter othe mergeRange(other.getRange()); } if (other.getIncludeJobsWithUnspecifiedCompensationRange() != false) { - setIncludeJobsWithUnspecifiedCompensationRange(other.getIncludeJobsWithUnspecifiedCompensationRange()); + setIncludeJobsWithUnspecifiedCompensationRange( + other.getIncludeJobsWithUnspecifiedCompensationRange()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -810,46 +931,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); - - break; - } // case 8 - case 16: { - int tmpRaw = input.readEnum(); - ensureUnitsIsMutable(); - units_.add(tmpRaw); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { + type_ = input.readEnum(); + + break; + } // case 8 + case 16: + { int tmpRaw = input.readEnum(); ensureUnitsIsMutable(); units_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 18 - case 26: { - input.readMessage( - getRangeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureUnitsIsMutable(); + units_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 18 + case 26: + { + input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + includeJobsWithUnspecifiedCompensationRange_ = input.readBool(); + + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -859,55 +984,80 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int type_ = 0; /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType result = + com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationFilter.FilterType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -915,28 +1065,33 @@ public Builder setType(com.google.cloud.talent.v4beta1.CompensationFilter.Filter if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. Type of filter.
      * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private java.util.List units_ = - java.util.Collections.emptyList(); + private java.util.List units_ = java.util.Collections.emptyList(); + private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); @@ -944,37 +1099,54 @@ private void ensureUnitsIsMutable() { } } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ - public java.util.List getUnitsList() { + public java.util.List + getUnitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>(units_, units_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit>( + units_, units_converter_); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ public int getUnitsCount() { return units_.size(); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ @@ -982,12 +1154,17 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit return units_converter_.convert(units_.get(index)); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The units to set. * @return This builder for chaining. @@ -1003,16 +1180,22 @@ public Builder setUnits( return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The units to add. * @return This builder for chaining. */ - public Builder addUnits(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { + public Builder addUnits( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { if (value == null) { throw new NullPointerException(); } @@ -1022,17 +1205,24 @@ public Builder addUnits(com.google.cloud.talent.v4beta1.CompensationInfo.Compens return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The units to add. * @return This builder for chaining. */ public Builder addAllUnits( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit> + values) { ensureUnitsIsMutable(); for (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value : values) { units_.add(value.getNumber()); @@ -1041,12 +1231,17 @@ public Builder addAllUnits( return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearUnits() { @@ -1056,25 +1251,34 @@ public Builder clearUnits() { return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ - public java.util.List - getUnitsValueList() { + public java.util.List getUnitsValueList() { return java.util.Collections.unmodifiableList(units_); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ @@ -1082,30 +1286,39 @@ public int getUnitsValue(int index) { return units_.get(index); } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for units to set. * @return This builder for chaining. */ - public Builder setUnitsValue( - int index, int value) { + public Builder setUnitsValue(int index, int value) { ensureUnitsIsMutable(); units_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for units to add. * @return This builder for chaining. */ @@ -1116,17 +1329,21 @@ public Builder addUnitsValue(int value) { return this; } /** + * + * *
      * Required. Specify desired `base compensation entry's`
      * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param values The enum numeric values on the wire for units to add. * @return This builder for chaining. */ - public Builder addAllUnitsValue( - java.lang.Iterable values) { + public Builder addAllUnitsValue(java.lang.Iterable values) { ensureUnitsIsMutable(); for (int value : values) { units_.add(value); @@ -1137,41 +1354,56 @@ public Builder addAllUnitsValue( private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + rangeBuilder_; /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ public boolean hasRange() { return rangeBuilder_ != null || range_ != null; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { - return range_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : range_; } else { return rangeBuilder_.getMessage(); } } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1185,6 +1417,8 @@ public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compens return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1192,7 +1426,8 @@ public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compens * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + builderForValue) { if (rangeBuilder_ == null) { range_ = builderForValue.build(); onChanged(); @@ -1203,17 +1438,22 @@ public Builder setRange( return this; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (range_ != null) { range_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(range_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(range_) + .mergeFrom(value) + .buildPartial(); } else { range_ = value; } @@ -1225,6 +1465,8 @@ public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compe return this; } /** + * + * *
      * Compensation range.
      * 
@@ -1243,33 +1485,43 @@ public Builder clearRange() { return this; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + getRangeBuilder() { + onChanged(); return getRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if (rangeBuilder_ != null) { return rangeBuilder_.getMessageOrBuilder(); } else { - return range_ == null ? - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : range_; + return range_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : range_; } } /** + * + * *
      * Compensation range.
      * 
@@ -1277,27 +1529,33 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { - rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getRange(), - getParentForChildren(), - isClean()); + rangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getRange(), getParentForChildren(), isClean()); range_ = null; } return rangeBuilder_; } - private boolean includeJobsWithUnspecifiedCompensationRange_ ; + private boolean includeJobsWithUnspecifiedCompensationRange_; /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ @java.lang.Override @@ -1305,39 +1563,45 @@ public boolean getIncludeJobsWithUnspecifiedCompensationRange() { return includeJobsWithUnspecifiedCompensationRange_; } /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @param value The includeJobsWithUnspecifiedCompensationRange to set. * @return This builder for chaining. */ public Builder setIncludeJobsWithUnspecifiedCompensationRange(boolean value) { - + includeJobsWithUnspecifiedCompensationRange_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, jobs with unspecified compensation range fields are
      * included.
      * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return This builder for chaining. */ public Builder clearIncludeJobsWithUnspecifiedCompensationRange() { - + includeJobsWithUnspecifiedCompensationRange_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1347,12 +1611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationFilter) private static final com.google.cloud.talent.v4beta1.CompensationFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationFilter(); } @@ -1361,27 +1625,27 @@ public static com.google.cloud.talent.v4beta1.CompensationFilter getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,6 +1660,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompensationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java similarity index 63% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java index d05d091b50ca..f08780f6e696 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationFilterOrBuilder.java @@ -1,104 +1,162 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface CompensationFilterOrBuilder extends +public interface CompensationFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. Type of filter.
    * 
* - * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.CompensationFilter.FilterType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.talent.v4beta1.CompensationFilter.FilterType getType(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the units. */ java.util.List getUnitsList(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The count of units. */ int getUnitsCount(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the element to return. * @return The units at the given index. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnits(int index); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return A list containing the enum numeric values on the wire for units. */ - java.util.List - getUnitsValueList(); + java.util.List getUnitsValueList(); /** + * + * *
    * Required. Specify desired `base compensation entry's`
    * [CompensationInfo.CompensationUnit][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit].
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit units = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of units at the given index. */ int getUnitsValue(int index); /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
    * Compensation range.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 3; + * * @return The range. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange(); /** + * + * *
    * Compensation range.
    * 
@@ -108,12 +166,15 @@ public interface CompensationFilterOrBuilder extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** + * + * *
    * If set to true, jobs with unspecified compensation range fields are
    * included.
    * 
* * bool include_jobs_with_unspecified_compensation_range = 4; + * * @return The includeJobsWithUnspecifiedCompensationRange. */ boolean getIncludeJobsWithUnspecifiedCompensationRange(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java similarity index 73% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java index a5e9a07d3ced..76155aa807ef 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfo.java @@ -1,54 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Job compensation details.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo} */ -public final class CompensationInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompensationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo) CompensationInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationInfo.newBuilder() to construct. private CompensationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompensationInfo() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.class, com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.class, + com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); } /** + * + * *
    * The type of compensation.
    * For compensation amounts specified in non-monetary amounts,
@@ -67,9 +88,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationType}
    */
-  public enum CompensationType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CompensationType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -78,6 +100,8 @@ public enum CompensationType */ COMPENSATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -89,6 +113,8 @@ public enum CompensationType
      */
     BASE(1),
     /**
+     *
+     *
      * 
      * Bonus.
      * 
@@ -97,6 +123,8 @@ public enum CompensationType */ BONUS(2), /** + * + * *
      * Signing bonus.
      * 
@@ -105,6 +133,8 @@ public enum CompensationType */ SIGNING_BONUS(3), /** + * + * *
      * Equity.
      * 
@@ -113,6 +143,8 @@ public enum CompensationType */ EQUITY(4), /** + * + * *
      * Profit sharing.
      * 
@@ -121,6 +153,8 @@ public enum CompensationType */ PROFIT_SHARING(5), /** + * + * *
      * Commission.
      * 
@@ -129,6 +163,8 @@ public enum CompensationType */ COMMISSIONS(6), /** + * + * *
      * Tips.
      * 
@@ -137,6 +173,8 @@ public enum CompensationType */ TIPS(7), /** + * + * *
      * Other compensation type.
      * 
@@ -148,6 +186,8 @@ public enum CompensationType ; /** + * + * *
      * Default value.
      * 
@@ -156,6 +196,8 @@ public enum CompensationType */ public static final int COMPENSATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Base compensation: Refers to the fixed amount of money paid to an
      * employee by an employer in return for work performed. Base compensation
@@ -167,6 +209,8 @@ public enum CompensationType
      */
     public static final int BASE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Bonus.
      * 
@@ -175,6 +219,8 @@ public enum CompensationType */ public static final int BONUS_VALUE = 2; /** + * + * *
      * Signing bonus.
      * 
@@ -183,6 +229,8 @@ public enum CompensationType */ public static final int SIGNING_BONUS_VALUE = 3; /** + * + * *
      * Equity.
      * 
@@ -191,6 +239,8 @@ public enum CompensationType */ public static final int EQUITY_VALUE = 4; /** + * + * *
      * Profit sharing.
      * 
@@ -199,6 +249,8 @@ public enum CompensationType */ public static final int PROFIT_SHARING_VALUE = 5; /** + * + * *
      * Commission.
      * 
@@ -207,6 +259,8 @@ public enum CompensationType */ public static final int COMMISSIONS_VALUE = 6; /** + * + * *
      * Tips.
      * 
@@ -215,6 +269,8 @@ public enum CompensationType */ public static final int TIPS_VALUE = 7; /** + * + * *
      * Other compensation type.
      * 
@@ -223,7 +279,6 @@ public enum CompensationType */ public static final int OTHER_COMPENSATION_TYPE_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -248,45 +303,54 @@ public static CompensationType valueOf(int value) { */ public static CompensationType forNumber(int value) { switch (value) { - case 0: return COMPENSATION_TYPE_UNSPECIFIED; - case 1: return BASE; - case 2: return BONUS; - case 3: return SIGNING_BONUS; - case 4: return EQUITY; - case 5: return PROFIT_SHARING; - case 6: return COMMISSIONS; - case 7: return TIPS; - case 8: return OTHER_COMPENSATION_TYPE; - default: return null; + case 0: + return COMPENSATION_TYPE_UNSPECIFIED; + case 1: + return BASE; + case 2: + return BONUS; + case 3: + return SIGNING_BONUS; + case 4: + return EQUITY; + case 5: + return PROFIT_SHARING; + case 6: + return COMMISSIONS; + case 7: + return TIPS; + case 8: + return OTHER_COMPENSATION_TYPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompensationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationType findValueByNumber(int number) { - return CompensationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationType findValueByNumber(int number) { + return CompensationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CompensationInfo.getDescriptor().getEnumTypes().get(0); } @@ -295,8 +359,7 @@ public CompensationType findValueByNumber(int number) { public static CompensationType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -314,15 +377,18 @@ private CompensationType(int value) { } /** + * + * *
    * Pay frequency.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit} */ - public enum CompensationUnit - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompensationUnit implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -331,6 +397,8 @@ public enum CompensationUnit */ COMPENSATION_UNIT_UNSPECIFIED(0), /** + * + * *
      * Hourly.
      * 
@@ -339,6 +407,8 @@ public enum CompensationUnit */ HOURLY(1), /** + * + * *
      * Daily.
      * 
@@ -347,6 +417,8 @@ public enum CompensationUnit */ DAILY(2), /** + * + * *
      * Weekly
      * 
@@ -355,6 +427,8 @@ public enum CompensationUnit */ WEEKLY(3), /** + * + * *
      * Monthly.
      * 
@@ -363,6 +437,8 @@ public enum CompensationUnit */ MONTHLY(4), /** + * + * *
      * Yearly.
      * 
@@ -371,6 +447,8 @@ public enum CompensationUnit */ YEARLY(5), /** + * + * *
      * One time.
      * 
@@ -379,6 +457,8 @@ public enum CompensationUnit */ ONE_TIME(6), /** + * + * *
      * Other compensation units.
      * 
@@ -390,6 +470,8 @@ public enum CompensationUnit ; /** + * + * *
      * Default value.
      * 
@@ -398,6 +480,8 @@ public enum CompensationUnit */ public static final int COMPENSATION_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Hourly.
      * 
@@ -406,6 +490,8 @@ public enum CompensationUnit */ public static final int HOURLY_VALUE = 1; /** + * + * *
      * Daily.
      * 
@@ -414,6 +500,8 @@ public enum CompensationUnit */ public static final int DAILY_VALUE = 2; /** + * + * *
      * Weekly
      * 
@@ -422,6 +510,8 @@ public enum CompensationUnit */ public static final int WEEKLY_VALUE = 3; /** + * + * *
      * Monthly.
      * 
@@ -430,6 +520,8 @@ public enum CompensationUnit */ public static final int MONTHLY_VALUE = 4; /** + * + * *
      * Yearly.
      * 
@@ -438,6 +530,8 @@ public enum CompensationUnit */ public static final int YEARLY_VALUE = 5; /** + * + * *
      * One time.
      * 
@@ -446,6 +540,8 @@ public enum CompensationUnit */ public static final int ONE_TIME_VALUE = 6; /** + * + * *
      * Other compensation units.
      * 
@@ -454,7 +550,6 @@ public enum CompensationUnit */ public static final int OTHER_COMPENSATION_UNIT_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -479,44 +574,52 @@ public static CompensationUnit valueOf(int value) { */ public static CompensationUnit forNumber(int value) { switch (value) { - case 0: return COMPENSATION_UNIT_UNSPECIFIED; - case 1: return HOURLY; - case 2: return DAILY; - case 3: return WEEKLY; - case 4: return MONTHLY; - case 5: return YEARLY; - case 6: return ONE_TIME; - case 7: return OTHER_COMPENSATION_UNIT; - default: return null; + case 0: + return COMPENSATION_UNIT_UNSPECIFIED; + case 1: + return HOURLY; + case 2: + return DAILY; + case 3: + return WEEKLY; + case 4: + return MONTHLY; + case 5: + return YEARLY; + case 6: + return ONE_TIME; + case 7: + return OTHER_COMPENSATION_UNIT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - CompensationUnit> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CompensationUnit findValueByNumber(int number) { - return CompensationUnit.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CompensationUnit findValueByNumber(int number) { + return CompensationUnit.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CompensationInfo.getDescriptor().getEnumTypes().get(1); } @@ -525,8 +628,7 @@ public CompensationUnit findValueByNumber(int number) { public static CompensationUnit valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -543,71 +645,92 @@ private CompensationUnit(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit) } - public interface CompensationEntryOrBuilder extends + public interface CompensationEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The type. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType(); /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ int getUnitValue(); /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit(); /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ boolean hasAmount(); /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return The amount. */ com.google.type.Money getAmount(); /** + * + * *
      * Compensation amount.
      * 
@@ -617,24 +740,32 @@ public interface CompensationEntryOrBuilder extends com.google.type.MoneyOrBuilder getAmountOrBuilder(); /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ boolean hasRange(); /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange(); /** + * + * *
      * Compensation range.
      * 
@@ -644,6 +775,8 @@ public interface CompensationEntryOrBuilder extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder(); /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -651,10 +784,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -662,12 +798,14 @@ public interface CompensationEntryOrBuilder extends
      * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -680,10 +818,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ boolean hasExpectedUnitsPerYear(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -696,10 +837,13 @@ public interface CompensationEntryOrBuilder extends
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ com.google.protobuf.DoubleValue getExpectedUnitsPerYear(); /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -715,9 +859,12 @@ public interface CompensationEntryOrBuilder extends
      */
     com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder();
 
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.CompensationAmountCase getCompensationAmountCase();
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.CompensationAmountCase
+        getCompensationAmountCase();
   }
   /**
+   *
+   *
    * 
    * A compensation entry that represents one component of compensation, such
    * as base pay, bonus, or other compensation type.
@@ -730,15 +877,16 @@ public interface CompensationEntryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry}
    */
-  public static final class CompensationEntry extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class CompensationEntry extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
       CompensationEntryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use CompensationEntry.newBuilder() to construct.
     private CompensationEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private CompensationEntry() {
       type_ = 0;
       unit_ = 0;
@@ -747,38 +895,42 @@ private CompensationEntry() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CompensationEntry();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
+              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class,
+              com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
     }
 
     private int compensationAmountCase_ = 0;
     private java.lang.Object compensationAmount_;
+
     public enum CompensationAmountCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AMOUNT(3),
       RANGE(4),
       COMPENSATIONAMOUNT_NOT_SET(0);
       private final int value;
+
       private CompensationAmountCase(int value) {
         this.value = value;
       }
@@ -794,88 +946,116 @@ public static CompensationAmountCase valueOf(int value) {
 
       public static CompensationAmountCase forNumber(int value) {
         switch (value) {
-          case 3: return AMOUNT;
-          case 4: return RANGE;
-          case 0: return COMPENSATIONAMOUNT_NOT_SET;
-          default: return null;
+          case 3:
+            return AMOUNT;
+          case 4:
+            return RANGE;
+          case 0:
+            return COMPENSATIONAMOUNT_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public CompensationAmountCase
-    getCompensationAmountCase() {
-      return CompensationAmountCase.forNumber(
-          compensationAmountCase_);
+    public CompensationAmountCase getCompensationAmountCase() {
+      return CompensationAmountCase.forNumber(compensationAmountCase_);
     }
 
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
+     *
+     *
      * 
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Compensation type.
      * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED + : result; } public static final int UNIT_FIELD_NUMBER = 2; private int unit_; /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override public int getUnitValue() { + @java.lang.Override + public int getUnitValue() { return unit_; } /** + * + * *
      * Frequency of the specified amount.
      * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } public static final int AMOUNT_FIELD_NUMBER = 3; /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ @java.lang.Override @@ -883,21 +1063,26 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** + * + * *
      * Compensation amount.
      * 
* * .google.type.Money amount = 3; + * * @return The amount. */ @java.lang.Override public com.google.type.Money getAmount() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } /** + * + * *
      * Compensation amount.
      * 
@@ -907,18 +1092,21 @@ public com.google.type.Money getAmount() { @java.lang.Override public com.google.type.MoneyOrBuilder getAmountOrBuilder() { if (compensationAmountCase_ == 3) { - return (com.google.type.Money) compensationAmount_; + return (com.google.type.Money) compensationAmount_; } return com.google.type.Money.getDefaultInstance(); } public static final int RANGE_FIELD_NUMBER = 4; /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -926,21 +1114,28 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** + * + * *
      * Compensation range.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } /** + * + * *
      * Compensation range.
      * 
@@ -948,16 +1143,21 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRan * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -965,6 +1165,7 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
      * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -973,14 +1174,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Compensation description.  For example, could
      * indicate equity terms or provide additional context to an estimated
@@ -988,16 +1190,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1008,6 +1209,8 @@ public java.lang.String getDescription() { public static final int EXPECTED_UNITS_PER_YEAR_FIELD_NUMBER = 6; private com.google.protobuf.DoubleValue expectedUnitsPerYear_; /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1020,6 +1223,7 @@ public java.lang.String getDescription() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ @java.lang.Override @@ -1027,6 +1231,8 @@ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYear_ != null; } /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1039,13 +1245,18 @@ public boolean hasExpectedUnitsPerYear() {
      * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ @java.lang.Override public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { - return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null + ? com.google.protobuf.DoubleValue.getDefaultInstance() + : expectedUnitsPerYear_; } /** + * + * *
      * Expected number of units paid each year. If not specified, when
      * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -1065,6 +1276,7 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1076,19 +1288,27 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      if (type_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      if (type_
+          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType
+              .COMPENSATION_TYPE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(1, type_);
       }
-      if (unit_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
+      if (unit_
+          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
+              .COMPENSATION_UNIT_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
         output.writeMessage(3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        output.writeMessage(4, (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_);
+        output.writeMessage(
+            4,
+            (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
+                compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
@@ -1105,28 +1325,36 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, type_);
-      }
-      if (unit_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(2, unit_);
+      if (type_
+          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType
+              .COMPENSATION_TYPE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+      }
+      if (unit_
+          != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit
+              .COMPENSATION_UNIT_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, unit_);
       }
       if (compensationAmountCase_ == 3) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, (com.google.type.Money) compensationAmount_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                3, (com.google.type.Money) compensationAmount_);
       }
       if (compensationAmountCase_ == 4) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                4,
+                (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
+                    compensationAmount_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
       }
       if (expectedUnitsPerYear_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, getExpectedUnitsPerYear());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getExpectedUnitsPerYear());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1136,31 +1364,28 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;
+      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other =
+          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) obj;
 
       if (type_ != other.type_) return false;
       if (unit_ != other.unit_) return false;
-      if (!getDescription()
-          .equals(other.getDescription())) return false;
+      if (!getDescription().equals(other.getDescription())) return false;
       if (hasExpectedUnitsPerYear() != other.hasExpectedUnitsPerYear()) return false;
       if (hasExpectedUnitsPerYear()) {
-        if (!getExpectedUnitsPerYear()
-            .equals(other.getExpectedUnitsPerYear())) return false;
+        if (!getExpectedUnitsPerYear().equals(other.getExpectedUnitsPerYear())) return false;
       }
       if (!getCompensationAmountCase().equals(other.getCompensationAmountCase())) return false;
       switch (compensationAmountCase_) {
         case 3:
-          if (!getAmount()
-              .equals(other.getAmount())) return false;
+          if (!getAmount().equals(other.getAmount())) return false;
           break;
         case 4:
-          if (!getRange()
-              .equals(other.getRange())) return false;
+          if (!getRange().equals(other.getRange())) return false;
           break;
         case 0:
         default:
@@ -1204,87 +1429,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1294,6 +1527,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A compensation entry that represents one component of compensation, such
      * as base pay, bonus, or other compensation type.
@@ -1306,33 +1541,34 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
         com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.talent.v4beta1.CommonProto
+            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
+        return com.google.cloud.talent.v4beta1.CommonProto
+            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
+                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.class,
+                com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder.class);
       }
 
-      // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1360,14 +1596,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.talent.v4beta1.CommonProto
+            .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
-        return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance();
+      public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+          getDefaultInstanceForType() {
+        return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1381,7 +1619,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry build(
 
       @java.lang.Override
       public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildPartial() {
-        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry result = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry(this);
+        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry result =
+            new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry(this);
         result.type_ = type_;
         result.unit_ = unit_;
         if (compensationAmountCase_ == 3) {
@@ -1413,46 +1652,53 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry buildP
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) {
-          return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)other);
+          return mergeFrom(
+              (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other) {
-        if (other == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry other) {
+        if (other
+            == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+                .getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -1467,17 +1713,20 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.Compen
           mergeExpectedUnitsPerYear(other.getExpectedUnitsPerYear());
         }
         switch (other.getCompensationAmountCase()) {
-          case AMOUNT: {
-            mergeAmount(other.getAmount());
-            break;
-          }
-          case RANGE: {
-            mergeRange(other.getRange());
-            break;
-          }
-          case COMPENSATIONAMOUNT_NOT_SET: {
-            break;
-          }
+          case AMOUNT:
+            {
+              mergeAmount(other.getAmount());
+              break;
+            }
+          case RANGE:
+            {
+              mergeRange(other.getRange());
+              break;
+            }
+          case COMPENSATIONAMOUNT_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1500,53 +1749,55 @@ public Builder mergeFrom(
         try {
           boolean done = false;
           while (!done) {
-            int tag = input.readTag();
-            switch (tag) {
-              case 0:
-                done = true;
-                break;
-              case 8: {
-                type_ = input.readEnum();
-
-                break;
-              } // case 8
-              case 16: {
-                unit_ = input.readEnum();
-
-                break;
-              } // case 16
-              case 26: {
-                input.readMessage(
-                    getAmountFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                compensationAmountCase_ = 3;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getRangeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                compensationAmountCase_ = 4;
-                break;
-              } // case 34
-              case 42: {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-              case 50: {
-                input.readMessage(
-                    getExpectedUnitsPerYearFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 50
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
+            int tag = input.readTag();
+            switch (tag) {
+              case 0:
+                done = true;
                 break;
-              } // default:
+              case 8:
+                {
+                  type_ = input.readEnum();
+
+                  break;
+                } // case 8
+              case 16:
+                {
+                  unit_ = input.readEnum();
+
+                  break;
+                } // case 16
+              case 26:
+                {
+                  input.readMessage(getAmountFieldBuilder().getBuilder(), extensionRegistry);
+                  compensationAmountCase_ = 3;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(getRangeFieldBuilder().getBuilder(), extensionRegistry);
+                  compensationAmountCase_ = 4;
+                  break;
+                } // case 34
+              case 42:
+                {
+                  description_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 42
+              case 50:
+                {
+                  input.readMessage(
+                      getExpectedUnitsPerYearFieldBuilder().getBuilder(), extensionRegistry);
+
+                  break;
+                } // case 50
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1556,12 +1807,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int compensationAmountCase_ = 0;
       private java.lang.Object compensationAmount_;
-      public CompensationAmountCase
-          getCompensationAmountCase() {
-        return CompensationAmountCase.forNumber(
-            compensationAmountCase_);
+
+      public CompensationAmountCase getCompensationAmountCase() {
+        return CompensationAmountCase.forNumber(compensationAmountCase_);
       }
 
       public Builder clearCompensationAmount() {
@@ -1571,81 +1822,100 @@ public Builder clearCompensationAmount() {
         return this;
       }
 
-
       private int type_ = 0;
       /**
+       *
+       *
        * 
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType.UNRECOGNIZED + : result; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType value) { + public Builder setType( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Compensation type.
        * Default is [CompensationType.COMPENSATION_TYPE_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationType.COMPENSATION_TYPE_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1653,91 +1923,115 @@ public Builder clearType() { private int unit_ = 0; /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The enum numeric value on the wire for unit. */ - @java.lang.Override public int getUnitValue() { + @java.lang.Override + public int getUnitValue() { return unit_; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @param value The enum numeric value on the wire for unit to set. * @return This builder for chaining. */ public Builder setUnitValue(int value) { - + unit_ = value; onChanged(); return this; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return The unit. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit getUnit() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); - return result == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit result = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.valueOf(unit_); + return result == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.UNRECOGNIZED + : result; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @param value The unit to set. * @return This builder for chaining. */ - public Builder setUnit(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { + public Builder setUnit( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit value) { if (value == null) { throw new NullPointerException(); } - + unit_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Frequency of the specified amount.
        * Default is [CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED][google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED].
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit unit = 2; + * * @return This builder for chaining. */ public Builder clearUnit() { - + unit_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> amountBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + amountBuilder_; /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; + * * @return Whether the amount field is set. */ @java.lang.Override @@ -1745,11 +2039,14 @@ public boolean hasAmount() { return compensationAmountCase_ == 3; } /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; + * * @return The amount. */ @java.lang.Override @@ -1767,6 +2064,8 @@ public com.google.type.Money getAmount() { } } /** + * + * *
        * Compensation amount.
        * 
@@ -1787,14 +2086,15 @@ public Builder setAmount(com.google.type.Money value) { return this; } /** + * + * *
        * Compensation amount.
        * 
* * .google.type.Money amount = 3; */ - public Builder setAmount( - com.google.type.Money.Builder builderForValue) { + public Builder setAmount(com.google.type.Money.Builder builderForValue) { if (amountBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -1805,6 +2105,8 @@ public Builder setAmount( return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1813,10 +2115,12 @@ public Builder setAmount( */ public Builder mergeAmount(com.google.type.Money value) { if (amountBuilder_ == null) { - if (compensationAmountCase_ == 3 && - compensationAmount_ != com.google.type.Money.getDefaultInstance()) { - compensationAmount_ = com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) - .mergeFrom(value).buildPartial(); + if (compensationAmountCase_ == 3 + && compensationAmount_ != com.google.type.Money.getDefaultInstance()) { + compensationAmount_ = + com.google.type.Money.newBuilder((com.google.type.Money) compensationAmount_) + .mergeFrom(value) + .buildPartial(); } else { compensationAmount_ = value; } @@ -1832,6 +2136,8 @@ public Builder mergeAmount(com.google.type.Money value) { return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1855,6 +2161,8 @@ public Builder clearAmount() { return this; } /** + * + * *
        * Compensation amount.
        * 
@@ -1865,6 +2173,8 @@ public com.google.type.Money.Builder getAmountBuilder() { return getAmountFieldBuilder().getBuilder(); } /** + * + * *
        * Compensation amount.
        * 
@@ -1883,6 +2193,8 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { } } /** + * + * *
        * Compensation amount.
        * 
@@ -1890,32 +2202,40 @@ public com.google.type.MoneyOrBuilder getAmountOrBuilder() { * .google.type.Money amount = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> getAmountFieldBuilder() { if (amountBuilder_ == null) { if (!(compensationAmountCase_ == 3)) { compensationAmount_ = com.google.type.Money.getDefaultInstance(); } - amountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>( - (com.google.type.Money) compensationAmount_, - getParentForChildren(), - isClean()); + amountBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Money, + com.google.type.Money.Builder, + com.google.type.MoneyOrBuilder>( + (com.google.type.Money) compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 3; - onChanged();; + onChanged(); + ; return amountBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> rangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + rangeBuilder_; /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return Whether the range field is set. */ @java.lang.Override @@ -1923,35 +2243,44 @@ public boolean hasRange() { return compensationAmountCase_ == 4; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; + * * @return The range. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getRange() { if (rangeBuilder_ == null) { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } else { if (compensationAmountCase_ == 4) { return rangeBuilder_.getMessage(); } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1965,6 +2294,8 @@ public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compens return this; } /** + * + * *
        * Compensation range.
        * 
@@ -1972,7 +2303,8 @@ public Builder setRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compens * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ public Builder setRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + builderForValue) { if (rangeBuilder_ == null) { compensationAmount_ = builderForValue.build(); onChanged(); @@ -1983,18 +2315,27 @@ public Builder setRange( return this; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (rangeBuilder_ == null) { - if (compensationAmountCase_ == 4 && - compensationAmount_ != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance()) { - compensationAmount_ = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_) - .mergeFrom(value).buildPartial(); + if (compensationAmountCase_ == 4 + && compensationAmount_ + != com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance()) { + compensationAmount_ = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( + (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_) + .mergeFrom(value) + .buildPartial(); } else { compensationAmount_ = value; } @@ -2010,6 +2351,8 @@ public Builder mergeRange(com.google.cloud.talent.v4beta1.CompensationInfo.Compe return this; } /** + * + * *
        * Compensation range.
        * 
@@ -2033,16 +2376,21 @@ public Builder clearRange() { return this; } /** + * + * *
        * Compensation range.
        * 
* * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getRangeBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + getRangeBuilder() { return getRangeFieldBuilder().getBuilder(); } /** + * + * *
        * Compensation range.
        * 
@@ -2050,17 +2398,22 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builde * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getRangeOrBuilder() { if ((compensationAmountCase_ == 4) && (rangeBuilder_ != null)) { return rangeBuilder_.getMessageOrBuilder(); } else { if (compensationAmountCase_ == 4) { - return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_; + return (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_; } - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } } /** + * + * *
        * Compensation range.
        * 
@@ -2068,26 +2421,37 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange range = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getRangeFieldBuilder() { if (rangeBuilder_ == null) { if (!(compensationAmountCase_ == 4)) { - compensationAmount_ = com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + compensationAmount_ = + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } - rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) compensationAmount_, + rangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) + compensationAmount_, getParentForChildren(), isClean()); compensationAmount_ = null; } compensationAmountCase_ = 4; - onChanged();; + onChanged(); + ; return rangeBuilder_; } private java.lang.Object description_ = ""; /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2095,13 +2459,13 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
        * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2110,6 +2474,8 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2117,15 +2483,14 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2133,6 +2498,8 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2140,20 +2507,22 @@ public java.lang.String getDescription() {
        * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2161,15 +2530,18 @@ public Builder setDescription(
        * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * Compensation description.  For example, could
        * indicate equity terms or provide additional context to an estimated
@@ -2177,16 +2549,16 @@ public Builder clearDescription() {
        * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2194,8 +2566,13 @@ public Builder setDescriptionBytes( private com.google.protobuf.DoubleValue expectedUnitsPerYear_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> expectedUnitsPerYearBuilder_; + com.google.protobuf.DoubleValue, + com.google.protobuf.DoubleValue.Builder, + com.google.protobuf.DoubleValueOrBuilder> + expectedUnitsPerYearBuilder_; /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2208,12 +2585,15 @@ public Builder setDescriptionBytes(
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return Whether the expectedUnitsPerYear field is set. */ public boolean hasExpectedUnitsPerYear() { return expectedUnitsPerYearBuilder_ != null || expectedUnitsPerYear_ != null; } /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2226,16 +2606,21 @@ public boolean hasExpectedUnitsPerYear() {
        * 
* * .google.protobuf.DoubleValue expected_units_per_year = 6; + * * @return The expectedUnitsPerYear. */ public com.google.protobuf.DoubleValue getExpectedUnitsPerYear() { if (expectedUnitsPerYearBuilder_ == null) { - return expectedUnitsPerYear_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_; + return expectedUnitsPerYear_ == null + ? com.google.protobuf.DoubleValue.getDefaultInstance() + : expectedUnitsPerYear_; } else { return expectedUnitsPerYearBuilder_.getMessage(); } } /** + * + * *
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2263,6 +2648,8 @@ public Builder setExpectedUnitsPerYear(com.google.protobuf.DoubleValue value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2288,6 +2675,8 @@ public Builder setExpectedUnitsPerYear(
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2305,7 +2694,9 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         if (expectedUnitsPerYearBuilder_ == null) {
           if (expectedUnitsPerYear_ != null) {
             expectedUnitsPerYear_ =
-              com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_).mergeFrom(value).buildPartial();
+                com.google.protobuf.DoubleValue.newBuilder(expectedUnitsPerYear_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             expectedUnitsPerYear_ = value;
           }
@@ -2317,6 +2708,8 @@ public Builder mergeExpectedUnitsPerYear(com.google.protobuf.DoubleValue value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2342,6 +2735,8 @@ public Builder clearExpectedUnitsPerYear() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2356,11 +2751,13 @@ public Builder clearExpectedUnitsPerYear() {
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       public com.google.protobuf.DoubleValue.Builder getExpectedUnitsPerYearBuilder() {
-        
+
         onChanged();
         return getExpectedUnitsPerYearFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2378,11 +2775,14 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
         if (expectedUnitsPerYearBuilder_ != null) {
           return expectedUnitsPerYearBuilder_.getMessageOrBuilder();
         } else {
-          return expectedUnitsPerYear_ == null ?
-              com.google.protobuf.DoubleValue.getDefaultInstance() : expectedUnitsPerYear_;
+          return expectedUnitsPerYear_ == null
+              ? com.google.protobuf.DoubleValue.getDefaultInstance()
+              : expectedUnitsPerYear_;
         }
       }
       /**
+       *
+       *
        * 
        * Expected number of units paid each year. If not specified, when
        * [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types] is FULLTIME, a default value is inferred
@@ -2397,18 +2797,22 @@ public com.google.protobuf.DoubleValueOrBuilder getExpectedUnitsPerYearOrBuilder
        * .google.protobuf.DoubleValue expected_units_per_year = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> 
+              com.google.protobuf.DoubleValue,
+              com.google.protobuf.DoubleValue.Builder,
+              com.google.protobuf.DoubleValueOrBuilder>
           getExpectedUnitsPerYearFieldBuilder() {
         if (expectedUnitsPerYearBuilder_ == null) {
-          expectedUnitsPerYearBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
-                  getExpectedUnitsPerYear(),
-                  getParentForChildren(),
-                  isClean());
+          expectedUnitsPerYearBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.DoubleValue,
+                  com.google.protobuf.DoubleValue.Builder,
+                  com.google.protobuf.DoubleValueOrBuilder>(
+                  getExpectedUnitsPerYear(), getParentForChildren(), isClean());
           expectedUnitsPerYear_ = null;
         }
         return expectedUnitsPerYearBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2421,41 +2825,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry)
-    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry();
     }
 
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompensationEntry parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompensationEntry parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2467,17 +2874,20 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CompensationRangeOrBuilder extends
+  public interface CompensationRangeOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2486,10 +2896,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ boolean hasMaxCompensation(); /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2498,10 +2911,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ com.google.type.Money getMaxCompensation(); /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2514,6 +2930,8 @@ public interface CompensationRangeOrBuilder extends
     com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder();
 
     /**
+     *
+     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2521,10 +2939,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ boolean hasMinCompensation(); /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2532,10 +2953,13 @@ public interface CompensationRangeOrBuilder extends
      * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ com.google.type.Money getMinCompensation(); /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2547,52 +2971,57 @@ public interface CompensationRangeOrBuilder extends
     com.google.type.MoneyOrBuilder getMinCompensationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Compensation range.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationRange} */ - public static final class CompensationRange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompensationRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) CompensationRangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompensationRange.newBuilder() to construct. private CompensationRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompensationRange() { - } + + private CompensationRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompensationRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); } public static final int MAX_COMPENSATION_FIELD_NUMBER = 2; private com.google.type.Money maxCompensation_; /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2601,6 +3030,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ @java.lang.Override @@ -2608,6 +3038,8 @@ public boolean hasMaxCompensation() { return maxCompensation_ != null; } /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2616,13 +3048,18 @@ public boolean hasMaxCompensation() {
      * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ @java.lang.Override public com.google.type.Money getMaxCompensation() { - return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; + return maxCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : maxCompensation_; } /** + * + * *
      * The maximum amount of compensation. If left empty, the value is set
      * to a maximal compensation value and the currency code is set to
@@ -2640,6 +3077,8 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
     public static final int MIN_COMPENSATION_FIELD_NUMBER = 1;
     private com.google.type.Money minCompensation_;
     /**
+     *
+     *
      * 
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2647,6 +3086,7 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
      * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ @java.lang.Override @@ -2654,6 +3094,8 @@ public boolean hasMinCompensation() { return minCompensation_ != null; } /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2661,13 +3103,18 @@ public boolean hasMinCompensation() {
      * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ @java.lang.Override public com.google.type.Money getMinCompensation() { - return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; + return minCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : minCompensation_; } /** + * + * *
      * The minimum amount of compensation. If left empty, the value is set
      * to zero and the currency code is set to match the
@@ -2682,6 +3129,7 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2693,8 +3141,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (minCompensation_ != null) {
         output.writeMessage(1, getMinCompensation());
       }
@@ -2711,12 +3158,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (minCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getMinCompensation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinCompensation());
       }
       if (maxCompensation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getMaxCompensation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxCompensation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2726,22 +3171,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other = (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj;
+      com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other =
+          (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) obj;
 
       if (hasMaxCompensation() != other.hasMaxCompensation()) return false;
       if (hasMaxCompensation()) {
-        if (!getMaxCompensation()
-            .equals(other.getMaxCompensation())) return false;
+        if (!getMaxCompensation().equals(other.getMaxCompensation())) return false;
       }
       if (hasMinCompensation() != other.hasMinCompensation()) return false;
       if (hasMinCompensation()) {
-        if (!getMinCompensation()
-            .equals(other.getMinCompensation())) return false;
+        if (!getMinCompensation().equals(other.getMinCompensation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2768,87 +3212,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2858,39 +3310,42 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Compensation range.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo.CompensationRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.class, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder.class); } - // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2910,14 +3365,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance(); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance(); } @java.lang.Override @@ -2931,7 +3388,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange build( @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildPartial() { - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange result = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange(this); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange result = + new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange(this); if (maxCompensationBuilder_ == null) { result.maxCompensation_ = maxCompensation_; } else { @@ -2950,46 +3408,53 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)other); + return mergeFrom( + (com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other) { - if (other == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange other) { + if (other + == com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance()) return this; if (other.hasMaxCompensation()) { mergeMaxCompensation(other.getMaxCompensation()); } @@ -3022,26 +3487,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMinCompensationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getMaxCompensationFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage( + getMinCompensationFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: + { + input.readMessage( + getMaxCompensationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3054,8 +3520,11 @@ public Builder mergeFrom( private com.google.type.Money maxCompensation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> maxCompensationBuilder_; + com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> + maxCompensationBuilder_; /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3064,12 +3533,15 @@ public Builder mergeFrom(
        * 
* * .google.type.Money max_compensation = 2; + * * @return Whether the maxCompensation field is set. */ public boolean hasMaxCompensation() { return maxCompensationBuilder_ != null || maxCompensation_ != null; } /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3078,16 +3550,21 @@ public boolean hasMaxCompensation() {
        * 
* * .google.type.Money max_compensation = 2; + * * @return The maxCompensation. */ public com.google.type.Money getMaxCompensation() { if (maxCompensationBuilder_ == null) { - return maxCompensation_ == null ? com.google.type.Money.getDefaultInstance() : maxCompensation_; + return maxCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : maxCompensation_; } else { return maxCompensationBuilder_.getMessage(); } } /** + * + * *
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3111,6 +3588,8 @@ public Builder setMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3120,8 +3599,7 @@ public Builder setMaxCompensation(com.google.type.Money value) {
        *
        * .google.type.Money max_compensation = 2;
        */
-      public Builder setMaxCompensation(
-          com.google.type.Money.Builder builderForValue) {
+      public Builder setMaxCompensation(com.google.type.Money.Builder builderForValue) {
         if (maxCompensationBuilder_ == null) {
           maxCompensation_ = builderForValue.build();
           onChanged();
@@ -3132,6 +3610,8 @@ public Builder setMaxCompensation(
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3145,7 +3625,7 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         if (maxCompensationBuilder_ == null) {
           if (maxCompensation_ != null) {
             maxCompensation_ =
-              com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
+                com.google.type.Money.newBuilder(maxCompensation_).mergeFrom(value).buildPartial();
           } else {
             maxCompensation_ = value;
           }
@@ -3157,6 +3637,8 @@ public Builder mergeMaxCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3178,6 +3660,8 @@ public Builder clearMaxCompensation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3188,11 +3672,13 @@ public Builder clearMaxCompensation() {
        * .google.type.Money max_compensation = 2;
        */
       public com.google.type.Money.Builder getMaxCompensationBuilder() {
-        
+
         onChanged();
         return getMaxCompensationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3206,11 +3692,14 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
         if (maxCompensationBuilder_ != null) {
           return maxCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return maxCompensation_ == null ?
-              com.google.type.Money.getDefaultInstance() : maxCompensation_;
+          return maxCompensation_ == null
+              ? com.google.type.Money.getDefaultInstance()
+              : maxCompensation_;
         }
       }
       /**
+       *
+       *
        * 
        * The maximum amount of compensation. If left empty, the value is set
        * to a maximal compensation value and the currency code is set to
@@ -3221,14 +3710,15 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * .google.type.Money max_compensation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
           getMaxCompensationFieldBuilder() {
         if (maxCompensationBuilder_ == null) {
-          maxCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                  getMaxCompensation(),
-                  getParentForChildren(),
-                  isClean());
+          maxCompensationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Money,
+                  com.google.type.Money.Builder,
+                  com.google.type.MoneyOrBuilder>(
+                  getMaxCompensation(), getParentForChildren(), isClean());
           maxCompensation_ = null;
         }
         return maxCompensationBuilder_;
@@ -3236,8 +3726,11 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
 
       private com.google.type.Money minCompensation_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> minCompensationBuilder_;
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
+          minCompensationBuilder_;
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3245,12 +3738,15 @@ public com.google.type.MoneyOrBuilder getMaxCompensationOrBuilder() {
        * 
* * .google.type.Money min_compensation = 1; + * * @return Whether the minCompensation field is set. */ public boolean hasMinCompensation() { return minCompensationBuilder_ != null || minCompensation_ != null; } /** + * + * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3258,16 +3754,21 @@ public boolean hasMinCompensation() {
        * 
* * .google.type.Money min_compensation = 1; + * * @return The minCompensation. */ public com.google.type.Money getMinCompensation() { if (minCompensationBuilder_ == null) { - return minCompensation_ == null ? com.google.type.Money.getDefaultInstance() : minCompensation_; + return minCompensation_ == null + ? com.google.type.Money.getDefaultInstance() + : minCompensation_; } else { return minCompensationBuilder_.getMessage(); } } /** + * + * *
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3290,6 +3791,8 @@ public Builder setMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3298,8 +3801,7 @@ public Builder setMinCompensation(com.google.type.Money value) {
        *
        * .google.type.Money min_compensation = 1;
        */
-      public Builder setMinCompensation(
-          com.google.type.Money.Builder builderForValue) {
+      public Builder setMinCompensation(com.google.type.Money.Builder builderForValue) {
         if (minCompensationBuilder_ == null) {
           minCompensation_ = builderForValue.build();
           onChanged();
@@ -3310,6 +3812,8 @@ public Builder setMinCompensation(
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3322,7 +3826,7 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         if (minCompensationBuilder_ == null) {
           if (minCompensation_ != null) {
             minCompensation_ =
-              com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
+                com.google.type.Money.newBuilder(minCompensation_).mergeFrom(value).buildPartial();
           } else {
             minCompensation_ = value;
           }
@@ -3334,6 +3838,8 @@ public Builder mergeMinCompensation(com.google.type.Money value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3354,6 +3860,8 @@ public Builder clearMinCompensation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3363,11 +3871,13 @@ public Builder clearMinCompensation() {
        * .google.type.Money min_compensation = 1;
        */
       public com.google.type.Money.Builder getMinCompensationBuilder() {
-        
+
         onChanged();
         return getMinCompensationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3380,11 +3890,14 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
         if (minCompensationBuilder_ != null) {
           return minCompensationBuilder_.getMessageOrBuilder();
         } else {
-          return minCompensation_ == null ?
-              com.google.type.Money.getDefaultInstance() : minCompensation_;
+          return minCompensation_ == null
+              ? com.google.type.Money.getDefaultInstance()
+              : minCompensation_;
         }
       }
       /**
+       *
+       *
        * 
        * The minimum amount of compensation. If left empty, the value is set
        * to zero and the currency code is set to match the
@@ -3394,18 +3907,20 @@ public com.google.type.MoneyOrBuilder getMinCompensationOrBuilder() {
        * .google.type.Money min_compensation = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder> 
+              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>
           getMinCompensationFieldBuilder() {
         if (minCompensationBuilder_ == null) {
-          minCompensationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.type.Money, com.google.type.Money.Builder, com.google.type.MoneyOrBuilder>(
-                  getMinCompensation(),
-                  getParentForChildren(),
-                  isClean());
+          minCompensationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.type.Money,
+                  com.google.type.Money.Builder,
+                  com.google.type.MoneyOrBuilder>(
+                  getMinCompensation(), getParentForChildren(), isClean());
           minCompensation_ = null;
         }
         return minCompensationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3418,41 +3933,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo.CompensationRange)
-    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange();
     }
 
-    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CompensationRange parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CompensationRange parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3464,15 +3982,18 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
-  private java.util.List entries_;
+  private java.util.List
+      entries_;
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3480,13 +4001,17 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getDef
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ @java.lang.Override - public java.util.List getEntriesList() { + public java.util.List + getEntriesList() { return entries_; } /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -3494,14 +4019,18 @@ public java.util.List
    *
-   * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1;
+   * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>
       getEntriesOrBuilderList() {
     return entries_;
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3509,13 +4038,16 @@ public java.util.List
    *
-   * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1;
+   * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1;
+   * 
    */
   @java.lang.Override
   public int getEntriesCount() {
     return entries_.size();
   }
   /**
+   *
+   *
    * 
    * Job compensation information.
    * At most one entry can be of type
@@ -3523,13 +4055,16 @@ public int getEntriesCount() {
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index) { return entries_.get(index); } /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -3537,17 +4072,21 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder + getEntriesOrBuilder(int index) { return entries_.get(index); } public static final int ANNUALIZED_BASE_COMPENSATION_RANGE_FIELD_NUMBER = 2; - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedBaseCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + annualizedBaseCompensationRange_; /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3555,7 +4094,10 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuild
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ @java.lang.Override @@ -3563,6 +4105,8 @@ public boolean hasAnnualizedBaseCompensationRange() { return annualizedBaseCompensationRange_ != null; } /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3570,14 +4114,22 @@ public boolean hasAnnualizedBaseCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange() { + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedBaseCompensationRange_; } /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3585,16 +4137,22 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnn
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder() { return getAnnualizedBaseCompensationRange(); } public static final int ANNUALIZED_TOTAL_COMPENSATION_RANGE_FIELD_NUMBER = 3; - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + annualizedTotalCompensationRange_; /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3602,7 +4160,10 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ @java.lang.Override @@ -3610,6 +4171,8 @@ public boolean hasAnnualizedTotalCompensationRange() { return annualizedTotalCompensationRange_ != null; } /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3617,14 +4180,22 @@ public boolean hasAnnualizedTotalCompensationRange() {
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange() { + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() + : annualizedTotalCompensationRange_; } /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -3632,14 +4203,18 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnn
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder() { return getAnnualizedTotalCompensationRange(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3651,8 +4226,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } @@ -3672,16 +4246,17 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); } if (annualizedBaseCompensationRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAnnualizedBaseCompensationRange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getAnnualizedBaseCompensationRange()); } if (annualizedTotalCompensationRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAnnualizedTotalCompensationRange()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getAnnualizedTotalCompensationRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3691,21 +4266,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompensationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompensationInfo other = (com.google.cloud.talent.v4beta1.CompensationInfo) obj; + com.google.cloud.talent.v4beta1.CompensationInfo other = + (com.google.cloud.talent.v4beta1.CompensationInfo) obj; - if (!getEntriesList() - .equals(other.getEntriesList())) return false; - if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) return false; + if (!getEntriesList().equals(other.getEntriesList())) return false; + if (hasAnnualizedBaseCompensationRange() != other.hasAnnualizedBaseCompensationRange()) + return false; if (hasAnnualizedBaseCompensationRange()) { - if (!getAnnualizedBaseCompensationRange() - .equals(other.getAnnualizedBaseCompensationRange())) return false; + if (!getAnnualizedBaseCompensationRange().equals(other.getAnnualizedBaseCompensationRange())) + return false; } - if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) return false; + if (hasAnnualizedTotalCompensationRange() != other.hasAnnualizedTotalCompensationRange()) + return false; if (hasAnnualizedTotalCompensationRange()) { if (!getAnnualizedTotalCompensationRange() .equals(other.getAnnualizedTotalCompensationRange())) return false; @@ -3738,130 +4315,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompensationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompensationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Job compensation details.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompensationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompensationInfo) com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompensationInfo.class, com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); + com.google.cloud.talent.v4beta1.CompensationInfo.class, + com.google.cloud.talent.v4beta1.CompensationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3888,9 +4471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; } @java.lang.Override @@ -3909,7 +4492,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { - com.google.cloud.talent.v4beta1.CompensationInfo result = new com.google.cloud.talent.v4beta1.CompensationInfo(this); + com.google.cloud.talent.v4beta1.CompensationInfo result = + new com.google.cloud.talent.v4beta1.CompensationInfo(this); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3938,38 +4522,39 @@ public com.google.cloud.talent.v4beta1.CompensationInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompensationInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompensationInfo) other); } else { super.mergeFrom(other); return this; @@ -3977,7 +4562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo other) { - if (other == com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()) + return this; if (entriesBuilder_ == null) { if (!other.entries_.isEmpty()) { if (entries_.isEmpty()) { @@ -3996,9 +4582,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompensationInfo other) entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntriesFieldBuilder() : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntriesFieldBuilder() + : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -4036,39 +4623,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry m = - input.readMessage( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry m = + input.readMessage( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage( + getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage( + getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4078,21 +4669,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List entries_ = - java.util.Collections.emptyList(); + private java.util.List + entries_ = java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = new java.util.ArrayList(entries_); + entries_ = + new java.util.ArrayList< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry>(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> entriesBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + entriesBuilder_; /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4100,9 +4700,11 @@ private void ensureEntriesIsMutable() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public java.util.List getEntriesList() { + public java.util.List + getEntriesList() { if (entriesBuilder_ == null) { return java.util.Collections.unmodifiableList(entries_); } else { @@ -4110,6 +4712,8 @@ public java.util.List * Job compensation information. * At most one entry can be of type @@ -4117,7 +4721,8 @@ public java.util.List * - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public int getEntriesCount() { if (entriesBuilder_ == null) { @@ -4127,6 +4732,8 @@ public int getEntriesCount() { } } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4134,9 +4741,11 @@ public int getEntriesCount() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries( + int index) { if (entriesBuilder_ == null) { return entries_.get(index); } else { @@ -4144,6 +4753,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt } } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4151,7 +4762,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEnt
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder setEntries( int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { @@ -4168,6 +4780,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4175,10 +4789,13 @@ public Builder setEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder setEntries( - int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.set(index, builderForValue.build()); @@ -4189,6 +4806,8 @@ public Builder setEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4196,9 +4815,11 @@ public Builder setEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public Builder addEntries(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { + public Builder addEntries( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4212,6 +4833,8 @@ public Builder addEntries(com.google.cloud.talent.v4beta1.CompensationInfo.Compe return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4219,7 +4842,8 @@ public Builder addEntries(com.google.cloud.talent.v4beta1.CompensationInfo.Compe
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder addEntries( int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry value) { @@ -4236,6 +4860,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4243,10 +4869,12 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder addEntries( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(builderForValue.build()); @@ -4257,6 +4885,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4264,10 +4894,13 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder addEntries( - int index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + builderForValue) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); entries_.add(index, builderForValue.build()); @@ -4278,6 +4911,8 @@ public Builder addEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4285,14 +4920,16 @@ public Builder addEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder addAllEntries( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry> + values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -4300,6 +4937,8 @@ public Builder addAllEntries( return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4307,7 +4946,8 @@ public Builder addAllEntries(
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder clearEntries() { if (entriesBuilder_ == null) { @@ -4320,6 +4960,8 @@ public Builder clearEntries() { return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4327,7 +4969,8 @@ public Builder clearEntries() {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { @@ -4340,6 +4983,8 @@ public Builder removeEntries(int index) { return this; } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4347,13 +4992,16 @@ public Builder removeEntries(int index) {
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder getEntriesBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + getEntriesBuilder(int index) { return getEntriesFieldBuilder().getBuilder(index); } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4361,16 +5009,20 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builde
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder + getEntriesOrBuilder(int index) { if (entriesBuilder_ == null) { - return entries_.get(index); } else { + return entries_.get(index); + } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4378,10 +5030,12 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuild
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -4389,6 +5043,8 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuild } } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4396,13 +5052,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuild
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + addEntriesBuilder() { + return getEntriesFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry + .getDefaultInstance()); } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4410,14 +5072,20 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builde
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder addEntriesBuilder( - int index) { - return getEntriesFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder + addEntriesBuilder(int index) { + return getEntriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry + .getDefaultInstance()); } /** + * + * *
      * Job compensation information.
      * At most one entry can be of type
@@ -4425,31 +5093,42 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builde
      * referred as **base compensation entry** for the job.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - public java.util.List - getEntriesBuilderList() { + public java.util.List< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder> + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( - entries_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + entriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder>( + entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedBaseCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + annualizedBaseCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> annualizedBaseCompensationRangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + annualizedBaseCompensationRangeBuilder_; /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4457,13 +5136,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.Builde
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ public boolean hasAnnualizedBaseCompensationRange() { - return annualizedBaseCompensationRangeBuilder_ != null || annualizedBaseCompensationRange_ != null; + return annualizedBaseCompensationRangeBuilder_ != null + || annualizedBaseCompensationRange_ != null; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4471,17 +5156,26 @@ public boolean hasAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { - return annualizedBaseCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : annualizedBaseCompensationRange_; } else { return annualizedBaseCompensationRangeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4489,9 +5183,12 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnn
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedBaseCompensationRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4505,6 +5202,8 @@ public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4512,10 +5211,13 @@ public Builder setAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnualizedBaseCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + builderForValue) { if (annualizedBaseCompensationRangeBuilder_ == null) { annualizedBaseCompensationRange_ = builderForValue.build(); onChanged(); @@ -4526,6 +5228,8 @@ public Builder setAnnualizedBaseCompensationRange( return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4533,13 +5237,19 @@ public Builder setAnnualizedBaseCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedBaseCompensationRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedBaseCompensationRangeBuilder_ == null) { if (annualizedBaseCompensationRange_ != null) { annualizedBaseCompensationRange_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(annualizedBaseCompensationRange_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( + annualizedBaseCompensationRange_) + .mergeFrom(value) + .buildPartial(); } else { annualizedBaseCompensationRange_ = value; } @@ -4551,6 +5261,8 @@ public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4be return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4558,7 +5270,9 @@ public Builder mergeAnnualizedBaseCompensationRange(com.google.cloud.talent.v4be
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnualizedBaseCompensationRange() { if (annualizedBaseCompensationRangeBuilder_ == null) { @@ -4572,6 +5286,8 @@ public Builder clearAnnualizedBaseCompensationRange() { return this; } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4579,14 +5295,19 @@ public Builder clearAnnualizedBaseCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getAnnualizedBaseCompensationRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + getAnnualizedBaseCompensationRangeBuilder() { + onChanged(); return getAnnualizedBaseCompensationRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4594,17 +5315,24 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builde
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder() { if (annualizedBaseCompensationRangeBuilder_ != null) { return annualizedBaseCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedBaseCompensationRange_ == null ? - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedBaseCompensationRange_; + return annualizedBaseCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : annualizedBaseCompensationRange_; } } /** + * + * *
      * Output only. Annualized base compensation range. Computed as base compensation entry's
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4612,26 +5340,37 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedBaseCompensationRangeFieldBuilder() { if (annualizedBaseCompensationRangeBuilder_ == null) { - annualizedBaseCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedBaseCompensationRange(), - getParentForChildren(), - isClean()); + annualizedBaseCompensationRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedBaseCompensationRange(), getParentForChildren(), isClean()); annualizedBaseCompensationRange_ = null; } return annualizedBaseCompensationRangeBuilder_; } - private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualizedTotalCompensationRange_; + private com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + annualizedTotalCompensationRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> annualizedTotalCompensationRangeBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + annualizedTotalCompensationRangeBuilder_; /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4639,13 +5378,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ public boolean hasAnnualizedTotalCompensationRange() { - return annualizedTotalCompensationRangeBuilder_ != null || annualizedTotalCompensationRange_ != null; + return annualizedTotalCompensationRangeBuilder_ != null + || annualizedTotalCompensationRange_ != null; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4653,17 +5398,26 @@ public boolean hasAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { - return annualizedTotalCompensationRange_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : annualizedTotalCompensationRange_; } else { return annualizedTotalCompensationRangeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4671,9 +5425,12 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnn
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder setAnnualizedTotalCompensationRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4687,6 +5444,8 @@ public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4bet return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4694,10 +5453,13 @@ public Builder setAnnualizedTotalCompensationRange(com.google.cloud.talent.v4bet
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAnnualizedTotalCompensationRange( - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + builderForValue) { if (annualizedTotalCompensationRangeBuilder_ == null) { annualizedTotalCompensationRange_ = builderForValue.build(); onChanged(); @@ -4708,6 +5470,8 @@ public Builder setAnnualizedTotalCompensationRange( return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4715,13 +5479,19 @@ public Builder setAnnualizedTotalCompensationRange(
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { + public Builder mergeAnnualizedTotalCompensationRange( + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange value) { if (annualizedTotalCompensationRangeBuilder_ == null) { if (annualizedTotalCompensationRange_ != null) { annualizedTotalCompensationRange_ = - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder(annualizedTotalCompensationRange_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.newBuilder( + annualizedTotalCompensationRange_) + .mergeFrom(value) + .buildPartial(); } else { annualizedTotalCompensationRange_ = value; } @@ -4733,6 +5503,8 @@ public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4b return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4740,7 +5512,9 @@ public Builder mergeAnnualizedTotalCompensationRange(com.google.cloud.talent.v4b
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAnnualizedTotalCompensationRange() { if (annualizedTotalCompensationRangeBuilder_ == null) { @@ -4754,6 +5528,8 @@ public Builder clearAnnualizedTotalCompensationRange() { return this; } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4761,14 +5537,19 @@ public Builder clearAnnualizedTotalCompensationRange() {
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder getAnnualizedTotalCompensationRangeBuilder() { - + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder + getAnnualizedTotalCompensationRangeBuilder() { + onChanged(); return getAnnualizedTotalCompensationRangeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4776,17 +5557,24 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builde
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder() { + public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder() { if (annualizedTotalCompensationRangeBuilder_ != null) { return annualizedTotalCompensationRangeBuilder_.getMessageOrBuilder(); } else { - return annualizedTotalCompensationRange_ == null ? - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.getDefaultInstance() : annualizedTotalCompensationRange_; + return annualizedTotalCompensationRange_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + .getDefaultInstance() + : annualizedTotalCompensationRange_; } } /** + * + * *
      * Output only. Annualized total compensation range. Computed as all compensation entries'
      * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -4794,24 +5582,29 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuild
      * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
      * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder> getAnnualizedTotalCompensationRangeFieldBuilder() { if (annualizedTotalCompensationRangeBuilder_ == null) { - annualizedTotalCompensationRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( - getAnnualizedTotalCompensationRange(), - getParentForChildren(), - isClean()); + annualizedTotalCompensationRangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange.Builder, + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder>( + getAnnualizedTotalCompensationRange(), getParentForChildren(), isClean()); annualizedTotalCompensationRange_ = null; } return annualizedTotalCompensationRangeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4821,12 +5614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompensationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompensationInfo) private static final com.google.cloud.talent.v4beta1.CompensationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompensationInfo(); } @@ -4835,27 +5628,27 @@ public static com.google.cloud.talent.v4beta1.CompensationInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompensationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompensationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4870,6 +5663,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompensationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java similarity index 71% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java index 1dd2c1f244e5..791b425ff47b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompensationInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface CompensationInfoOrBuilder extends +public interface CompensationInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompensationInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -15,11 +33,14 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - java.util.List + java.util.List getEntriesList(); /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -27,10 +48,13 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry getEntries(int index); /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -38,10 +62,13 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ int getEntriesCount(); /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -49,11 +76,15 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder> getEntriesOrBuilderList(); /** + * + * *
    * Job compensation information.
    * At most one entry can be of type
@@ -61,12 +92,15 @@ public interface CompensationInfoOrBuilder extends
    * referred as **base compensation entry** for the job.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * repeated .google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry entries = 1; + * */ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getEntriesOrBuilder( int index); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -74,11 +108,16 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedBaseCompensationRange field is set. */ boolean hasAnnualizedBaseCompensationRange(); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -86,11 +125,17 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedBaseCompensationRange. */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedBaseCompensationRange(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedBaseCompensationRange(); /** + * + * *
    * Output only. Annualized base compensation range. Computed as base compensation entry's
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -98,11 +143,16 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_base_compensation_range = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedBaseCompensationRangeOrBuilder(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedBaseCompensationRangeOrBuilder(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -110,11 +160,16 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the annualizedTotalCompensationRange field is set. */ boolean hasAnnualizedTotalCompensationRange(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -122,11 +177,17 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The annualizedTotalCompensationRange. */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange getAnnualizedTotalCompensationRange(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRange + getAnnualizedTotalCompensationRange(); /** + * + * *
    * Output only. Annualized total compensation range. Computed as all compensation entries'
    * [CompensationEntry.amount][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry.amount] times
@@ -134,7 +195,10 @@ com.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntryOrBuilder getE
    * See [CompensationEntry][google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry] for explanation on compensation annualization.
    * 
* - * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.CompensationInfo.CompensationRange annualized_total_compensation_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder getAnnualizedTotalCompensationRangeOrBuilder(); + com.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeOrBuilder + getAnnualizedTotalCompensationRangeOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java similarity index 74% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java index 34eae73659d8..c013de0bb15b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Auto-complete parameters.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryRequest} */ -public final class CompleteQueryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteQueryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryRequest) CompleteQueryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteQueryRequest.newBuilder() to construct. private CompleteQueryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteQueryRequest() { parent_ = ""; query_ = ""; @@ -30,39 +48,43 @@ private CompleteQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteQueryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, + com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); } /** + * + * *
    * Enum to specify the scope of completion.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope} */ - public enum CompletionScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -71,6 +93,8 @@ public enum CompletionScope */ COMPLETION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -79,6 +103,8 @@ public enum CompletionScope */ TENANT(1), /** + * + * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -91,6 +117,8 @@ public enum CompletionScope
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -99,6 +127,8 @@ public enum CompletionScope */ public static final int COMPLETION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Suggestions are based only on the data provided by the client.
      * 
@@ -107,6 +137,8 @@ public enum CompletionScope */ public static final int TENANT_VALUE = 1; /** + * + * *
      * Suggestions are based on all jobs data in the system that's visible to
      * the client
@@ -116,7 +148,6 @@ public enum CompletionScope
      */
     public static final int PUBLIC_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -141,40 +172,45 @@ public static CompletionScope valueOf(int value) {
      */
     public static CompletionScope forNumber(int value) {
       switch (value) {
-        case 0: return COMPLETION_SCOPE_UNSPECIFIED;
-        case 1: return TENANT;
-        case 2: return PUBLIC;
-        default: return null;
+        case 0:
+          return COMPLETION_SCOPE_UNSPECIFIED;
+        case 1:
+          return TENANT;
+        case 2:
+          return PUBLIC;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CompletionScope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CompletionScope findValueByNumber(int number) {
-              return CompletionScope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public CompletionScope findValueByNumber(int number) {
+                return CompletionScope.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final CompletionScope[] VALUES = values();
@@ -182,8 +218,7 @@ public CompletionScope findValueByNumber(int number) {
     public static CompletionScope valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -201,15 +236,18 @@ private CompletionScope(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Enum to specify auto-completion topics.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType} */ - public enum CompletionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum CompletionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -218,6 +256,8 @@ public enum CompletionType */ COMPLETION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -228,6 +268,8 @@ public enum CompletionType
      */
     JOB_TITLE(1),
     /**
+     *
+     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -239,6 +281,8 @@ public enum CompletionType
      */
     COMPANY_NAME(2),
     /**
+     *
+     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -253,6 +297,8 @@ public enum CompletionType
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -261,6 +307,8 @@ public enum CompletionType */ public static final int COMPLETION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Suggest job titles for jobs autocomplete.
      * For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
@@ -271,6 +319,8 @@ public enum CompletionType
      */
     public static final int JOB_TITLE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Suggest company names for jobs autocomplete.
      * For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
@@ -282,6 +332,8 @@ public enum CompletionType
      */
     public static final int COMPANY_NAME_VALUE = 2;
     /**
+     *
+     *
      * 
      * Suggest both job titles and company names for jobs autocomplete.
      * For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
@@ -293,7 +345,6 @@ public enum CompletionType
      */
     public static final int COMBINED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,50 +369,53 @@ public static CompletionType valueOf(int value) {
      */
     public static CompletionType forNumber(int value) {
       switch (value) {
-        case 0: return COMPLETION_TYPE_UNSPECIFIED;
-        case 1: return JOB_TITLE;
-        case 2: return COMPANY_NAME;
-        case 3: return COMBINED;
-        default: return null;
+        case 0:
+          return COMPLETION_TYPE_UNSPECIFIED;
+        case 1:
+          return JOB_TITLE;
+        case 2:
+          return COMPANY_NAME;
+        case 3:
+          return COMBINED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CompletionType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CompletionType findValueByNumber(int number) {
-              return CompletionType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public CompletionType findValueByNumber(int number) {
+            return CompletionType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final CompletionType[] VALUES = values();
 
-    public static CompletionType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CompletionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -381,6 +435,8 @@ private CompletionType(int value) {
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -389,7 +445,10 @@ private CompletionType(int value) {
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -398,14 +457,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -414,17 +474,18 @@ public java.lang.String getParent() {
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -435,12 +496,15 @@ public java.lang.String getParent() { public static final int QUERY_FIELD_NUMBER = 2; private volatile java.lang.Object query_; /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ @java.lang.Override @@ -449,30 +513,30 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -483,6 +547,8 @@ public java.lang.String getQuery() { public static final int LANGUAGE_CODES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList languageCodes_; /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -492,13 +558,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_; } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -508,12 +576,15 @@ public java.lang.String getQuery() {
    * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -523,6 +594,7 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -530,6 +602,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -539,23 +613,26 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ @java.lang.Override @@ -566,6 +643,8 @@ public int getPageSize() { public static final int COMPANY_FIELD_NUMBER = 5; private volatile java.lang.Object company_; /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -576,6 +655,7 @@ public int getPageSize() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ @java.lang.Override @@ -584,14 +664,15 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -602,16 +683,15 @@ public java.lang.String getCompany() {
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -622,58 +702,81 @@ public java.lang.String getCompany() { public static final int SCOPE_FIELD_NUMBER = 6; private int scope_; /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED + : result; } public static final int TYPE_FIELD_NUMBER = 7; private int type_; /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -685,8 +788,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -702,10 +804,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, company_); } - if (scope_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { + if (scope_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope + .COMPLETION_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, scope_); } - if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, type_); } getUnknownFields().writeTo(output); @@ -732,19 +840,22 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(company_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, company_); } - if (scope_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.COMPLETION_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, scope_); + if (scope_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope + .COMPLETION_SCOPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, scope_); } - if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, type_); + if (type_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -754,23 +865,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompleteQueryRequest other = (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getLanguageCodesList() - .equals(other.getLanguageCodesList())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getCompany() - .equals(other.getCompany())) return false; + com.google.cloud.talent.v4beta1.CompleteQueryRequest other = + (com.google.cloud.talent.v4beta1.CompleteQueryRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getCompany().equals(other.getCompany())) return false; if (scope_ != other.scope_) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -806,129 +913,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Auto-complete parameters.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryRequest) com.google.cloud.talent.v4beta1.CompleteQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, + com.google.cloud.talent.v4beta1.CompleteQueryRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompleteQueryRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -950,9 +1063,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; } @java.lang.Override @@ -971,7 +1084,8 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryRequest result = new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this); + com.google.cloud.talent.v4beta1.CompleteQueryRequest result = + new com.google.cloud.talent.v4beta1.CompleteQueryRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.query_ = query_; @@ -992,38 +1106,39 @@ public com.google.cloud.talent.v4beta1.CompleteQueryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -1031,7 +1146,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryRequest other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -1089,48 +1205,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - query_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: { - company_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: { - scope_ = input.readEnum(); - - break; - } // case 48 - case 56: { - type_ = input.readEnum(); - - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + query_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: + { + company_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: + { + scope_ = input.readEnum(); + + break; + } // case 48 + case 56: + { + type_ = input.readEnum(); + + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1140,10 +1264,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1152,14 +1279,16 @@ public Builder mergeFrom(
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1168,6 +1297,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1176,16 +1307,17 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1193,6 +1325,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1201,21 +1335,25 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1224,16 +1362,21 @@ public Builder setParent(
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of tenant the completion is performed within.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -1242,17 +1385,19 @@ public Builder clearParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1260,19 +1405,21 @@ public Builder setParentBytes( private java.lang.Object query_ = ""; /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1281,21 +1428,22 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1303,70 +1451,81 @@ public java.lang.String getQuery() { } } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * Required. The query used to generate suggestions.
      * The maximum number of allowed characters is 255.
      * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1376,13 +1535,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1392,12 +1553,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1407,6 +1571,7 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -1414,6 +1579,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1423,14 +1590,16 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1440,21 +1609,23 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 3; + * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes( - int index, java.lang.String value) { + public Builder setLanguageCodes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1464,20 +1635,22 @@ public Builder setLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes( - java.lang.String value) { + public Builder addLanguageCodes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1487,18 +1660,19 @@ public Builder addLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes( - java.lang.Iterable values) { + public Builder addAllLanguageCodes(java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); onChanged(); return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1508,6 +1682,7 @@ public Builder addAllLanguageCodes(
      * 
* * repeated string language_codes = 3; + * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -1517,6 +1692,8 @@ public Builder clearLanguageCodes() { return this; } /** + * + * *
      * The list of languages of the query. This is
      * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -1526,29 +1703,32 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 3; + * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ @java.lang.Override @@ -1556,32 +1736,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Required. Completion result count.
      * The maximum allowed page size is 10.
      * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1589,6 +1775,8 @@ public Builder clearPageSize() { private java.lang.Object company_ = ""; /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1599,13 +1787,13 @@ public Builder clearPageSize() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -1614,6 +1802,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1624,15 +1814,14 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -1640,6 +1829,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1650,20 +1841,22 @@ public java.lang.String getCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany( - java.lang.String value) { + public Builder setCompany(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1674,15 +1867,18 @@ public Builder setCompany(
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** + * + * *
      * If provided, restricts completion to specified company.
      * The format is
@@ -1693,16 +1889,16 @@ public Builder clearCompany() {
      * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -1710,73 +1906,93 @@ public Builder setCompanyBytes( private int scope_ = 0; /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.valueOf(scope_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.UNRECOGNIZED + : result; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope value) { + public Builder setScope( + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope value) { if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; @@ -1784,80 +2000,100 @@ public Builder clearScope() { private int type_ = 0; /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { + public Builder setType( + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1867,12 +2103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryRequest) private static final com.google.cloud.talent.v4beta1.CompleteQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryRequest(); } @@ -1881,27 +2117,27 @@ public static com.google.cloud.talent.v4beta1.CompleteQueryRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteQueryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteQueryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1916,6 +2152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CompleteQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java index 7e7c803dd86d..7fc0e9f12929 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; -public interface CompleteQueryRequestOrBuilder extends +public interface CompleteQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -16,11 +34,16 @@ public interface CompleteQueryRequestOrBuilder extends
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of tenant the completion is performed within.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -29,35 +52,44 @@ public interface CompleteQueryRequestOrBuilder extends
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * Required. The query used to generate suggestions.
    * The maximum number of allowed characters is 255.
    * 
* * string query = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -67,11 +99,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @return A list containing the languageCodes. */ - java.util.List - getLanguageCodesList(); + java.util.List getLanguageCodesList(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -81,10 +115,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -94,11 +131,14 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** + * + * *
    * The list of languages of the query. This is
    * the BCP-47 language code, such as "en-US" or "sr-Latn".
@@ -108,24 +148,29 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * repeated string language_codes = 3; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString - getLanguageCodesBytes(int index); + com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** + * + * *
    * Required. Completion result count.
    * The maximum allowed page size is 10.
    * 
* * int32 page_size = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -136,10 +181,13 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The company. */ java.lang.String getCompany(); /** + * + * *
    * If provided, restricts completion to specified company.
    * The format is
@@ -150,45 +198,57 @@ public interface CompleteQueryRequestOrBuilder extends
    * 
* * string company = 5 [(.google.api.resource_reference) = { ... } + * * @return The bytes for company. */ - com.google.protobuf.ByteString - getCompanyBytes(); + com.google.protobuf.ByteString getCompanyBytes(); /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope scope = 6; + * * @return The scope. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope getScope(); /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
    * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 7; + * * @return The type. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java index 6fefa2eaa188..6c31498eaccb 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponse.java @@ -1,134 +1,173 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/completion_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Response of auto-complete query.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse} */ -public final class CompleteQueryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteQueryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryResponse) CompleteQueryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteQueryResponse.newBuilder() to construct. private CompleteQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteQueryResponse() { completionResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteQueryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); } - public interface CompletionResultOrBuilder extends + public interface CompletionResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ java.lang.String getSuggestion(); /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - com.google.protobuf.ByteString - getSuggestionBytes(); + com.google.protobuf.ByteString getSuggestionBytes(); /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType(); /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The imageUri. */ java.lang.String getImageUri(); /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ - com.google.protobuf.ByteString - getImageUriBytes(); + com.google.protobuf.ByteString getImageUriBytes(); } /** + * + * *
    * Resource that represents completion results.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult} */ - public static final class CompletionResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompletionResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) CompletionResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompletionResult.newBuilder() to construct. private CompletionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompletionResult() { suggestion_ = ""; type_ = 0; @@ -137,37 +176,41 @@ private CompletionResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompletionResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); } public static final int SUGGESTION_FIELD_NUMBER = 1; private volatile java.lang.Object suggestion_; /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The suggestion. */ @java.lang.Override @@ -176,29 +219,29 @@ public java.lang.String getSuggestion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; } } /** + * + * *
      * The suggestion for the query.
      * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ @java.lang.Override - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -209,39 +252,53 @@ public java.lang.String getSuggestion() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The completion topic.
      * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } public static final int IMAGE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object imageUri_; /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The imageUri. */ @java.lang.Override @@ -250,30 +307,30 @@ public java.lang.String getImageUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; } } /** + * + * *
      * The URI of the company image for
      * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
      * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -282,6 +339,7 @@ public java.lang.String getImageUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,12 +351,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, suggestion_); } - if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { @@ -316,9 +376,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suggestion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, suggestion_); } - if (type_ != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPLETION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType + .COMPLETION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, imageUri_); @@ -331,18 +393,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)) { + if (!(obj + instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other = + (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) obj; - if (!getSuggestion() - .equals(other.getSuggestion())) return false; + if (!getSuggestion().equals(other.getSuggestion())) return false; if (type_ != other.type_) return false; - if (!getImageUri() - .equals(other.getImageUri())) return false; + if (!getImageUri().equals(other.getImageUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,87 +428,95 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -456,39 +526,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Resource that represents completion results.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.class, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + .class); } - // Construct using com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,19 +576,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance(); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult build() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = buildPartial(); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -523,7 +600,8 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(this); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult result = + new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(this); result.suggestion_ = suggestion_; result.type_ = type_; result.imageUri_ = imageUri_; @@ -535,46 +613,54 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult)other); + if (other + instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) { + return mergeFrom( + (com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult other) { + if (other + == com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .getDefaultInstance()) return this; if (!other.getSuggestion().isEmpty()) { suggestion_ = other.suggestion_; onChanged(); @@ -612,27 +698,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - suggestion_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - - break; - } // case 16 - case 26: { - imageUri_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + suggestion_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + imageUri_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -645,18 +735,20 @@ public Builder mergeFrom( private java.lang.Object suggestion_ = ""; /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return The suggestion. */ public java.lang.String getSuggestion() { java.lang.Object ref = suggestion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestion_ = s; return s; @@ -665,20 +757,21 @@ public java.lang.String getSuggestion() { } } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return The bytes for suggestion. */ - public com.google.protobuf.ByteString - getSuggestionBytes() { + public com.google.protobuf.ByteString getSuggestionBytes() { java.lang.Object ref = suggestion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestion_ = b; return b; } else { @@ -686,54 +779,61 @@ public java.lang.String getSuggestion() { } } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @param value The suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestion( - java.lang.String value) { + public Builder setSuggestion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); return this; } /** + * + * *
        * The suggestion for the query.
        * 
* * string suggestion = 1; + * * @param value The bytes for suggestion to set. * @return This builder for chaining. */ - public Builder setSuggestionBytes( - com.google.protobuf.ByteString value) { + public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); return this; @@ -741,73 +841,93 @@ public Builder setSuggestionBytes( private int type_ = 0; /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType result = + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.UNRECOGNIZED + : result; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { + public Builder setType( + com.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The completion topic.
        * 
* * .google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -815,19 +935,21 @@ public Builder clearType() { private java.lang.Object imageUri_ = ""; /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageUri_ = s; return s; @@ -836,21 +958,22 @@ public java.lang.String getImageUri() { } } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return The bytes for imageUri. */ - public com.google.protobuf.ByteString - getImageUriBytes() { + public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageUri_ = b; return b; } else { @@ -858,61 +981,69 @@ public java.lang.String getImageUri() { } } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @param value The imageUri to set. * @return This builder for chaining. */ - public Builder setImageUri( - java.lang.String value) { + public Builder setImageUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageUri_ = value; onChanged(); return this; } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @return This builder for chaining. */ public Builder clearImageUri() { - + imageUri_ = getDefaultInstance().getImageUri(); onChanged(); return this; } /** + * + * *
        * The URI of the company image for
        * [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
        * 
* * string image_uri = 3; + * * @param value The bytes for imageUri to set. * @return This builder for chaining. */ - public Builder setImageUriBytes( - com.google.protobuf.ByteString value) { + public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageUri_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -925,41 +1056,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult) - private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult DEFAULT_INSTANCE; + private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(); + DEFAULT_INSTANCE = + new com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult(); } - public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompletionResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompletionResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,81 +1106,108 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int COMPLETION_RESULTS_FIELD_NUMBER = 1; - private java.util.List completionResults_; + private java.util.List + completionResults_; /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public java.util.List getCompletionResultsList() { + public java.util.List + getCompletionResultsList() { return completionResults_; } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList() { return completionResults_; } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override public int getCompletionResultsCount() { return completionResults_.size(); } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getCompletionResults(int index) { return completionResults_.get(index); } /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index) { return completionResults_.get(index); } public static final int METADATA_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -1053,19 +1215,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -1079,6 +1248,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1090,8 +1260,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < completionResults_.size(); i++) {
       output.writeMessage(1, completionResults_.get(i));
     }
@@ -1108,12 +1277,11 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < completionResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, completionResults_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, completionResults_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1123,19 +1291,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.CompleteQueryResponse other = (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj;
+    com.google.cloud.talent.v4beta1.CompleteQueryResponse other =
+        (com.google.cloud.talent.v4beta1.CompleteQueryResponse) obj;
 
-    if (!getCompletionResultsList()
-        .equals(other.getCompletionResultsList())) return false;
+    if (!getCompletionResultsList().equals(other.getCompletionResultsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1162,129 +1329,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.CompleteQueryResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.talent.v4beta1.CompleteQueryResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.talent.v4beta1.CompleteQueryResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Response of auto-complete query.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CompleteQueryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CompleteQueryResponse) com.google.cloud.talent.v4beta1.CompleteQueryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CompleteQueryResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1305,9 +1479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompletionServiceProto + .internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; } @java.lang.Override @@ -1326,7 +1500,8 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { - com.google.cloud.talent.v4beta1.CompleteQueryResponse result = new com.google.cloud.talent.v4beta1.CompleteQueryResponse(this); + com.google.cloud.talent.v4beta1.CompleteQueryResponse result = + new com.google.cloud.talent.v4beta1.CompleteQueryResponse(this); int from_bitField0_ = bitField0_; if (completionResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1350,38 +1525,39 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CompleteQueryResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CompleteQueryResponse) other); } else { super.mergeFrom(other); return this; @@ -1389,7 +1565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse other) { - if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance()) + return this; if (completionResultsBuilder_ == null) { if (!other.completionResults_.isEmpty()) { if (completionResults_.isEmpty()) { @@ -1408,9 +1585,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.CompleteQueryResponse o completionResultsBuilder_ = null; completionResults_ = other.completionResults_; bitField0_ = (bitField0_ & ~0x00000001); - completionResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompletionResultsFieldBuilder() : null; + completionResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompletionResultsFieldBuilder() + : null; } else { completionResultsBuilder_.addAllMessages(other.completionResults_); } @@ -1445,32 +1623,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult m = - input.readMessage( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.parser(), - extensionRegistry); - if (completionResultsBuilder_ == null) { - ensureCompletionResultsIsMutable(); - completionResults_.add(m); - } else { - completionResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult m = + input.readMessage( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .parser(), + extensionRegistry); + if (completionResultsBuilder_ == null) { + ensureCompletionResultsIsMutable(); + completionResults_.add(m); + } else { + completionResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1480,28 +1660,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List completionResults_ = - java.util.Collections.emptyList(); + private java.util.List + completionResults_ = java.util.Collections.emptyList(); + private void ensureCompletionResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - completionResults_ = new java.util.ArrayList(completionResults_); + completionResults_ = + new java.util.ArrayList< + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult>( + completionResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> completionResultsBuilder_; + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + completionResultsBuilder_; /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List getCompletionResultsList() { + public java.util.List + getCompletionResultsList() { if (completionResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(completionResults_); } else { @@ -1509,11 +1702,15 @@ public java.util.List * Results of the matching job/company candidates. *
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public int getCompletionResultsCount() { if (completionResultsBuilder_ == null) { @@ -1523,13 +1720,18 @@ public int getCompletionResultsCount() { } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + getCompletionResults(int index) { if (completionResultsBuilder_ == null) { return completionResults_.get(index); } else { @@ -1537,11 +1739,15 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult ge } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder setCompletionResults( int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { @@ -1558,14 +1764,20 @@ public Builder setCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder setCompletionResults( - int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.set(index, builderForValue.build()); @@ -1576,13 +1788,18 @@ public Builder setCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public Builder addCompletionResults(com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { + public Builder addCompletionResults( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { if (completionResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1596,11 +1813,15 @@ public Builder addCompletionResults(com.google.cloud.talent.v4beta1.CompleteQuer return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult value) { @@ -1617,14 +1838,19 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(builderForValue.build()); @@ -1635,14 +1861,20 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addCompletionResults( - int index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + builderForValue) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); completionResults_.add(index, builderForValue.build()); @@ -1653,18 +1885,23 @@ public Builder addCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder addAllCompletionResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult> + values) { if (completionResultsBuilder_ == null) { ensureCompletionResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, completionResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completionResults_); onChanged(); } else { completionResultsBuilder_.addAllMessages(values); @@ -1672,11 +1909,15 @@ public Builder addAllCompletionResults( return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder clearCompletionResults() { if (completionResultsBuilder_ == null) { @@ -1689,11 +1930,15 @@ public Builder clearCompletionResults() { return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ public Builder removeCompletionResults(int index) { if (completionResultsBuilder_ == null) { @@ -1706,39 +1951,54 @@ public Builder removeCompletionResults(int index) { return this; } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder getCompletionResultsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + getCompletionResultsBuilder(int index) { return getCompletionResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index) { if (completionResultsBuilder_ == null) { - return completionResults_.get(index); } else { + return completionResults_.get(index); + } else { return completionResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List - getCompletionResultsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + getCompletionResultsOrBuilderList() { if (completionResultsBuilder_ != null) { return completionResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1746,45 +2006,70 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrB } } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder() { - return getCompletionResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + addCompletionResultsBuilder() { + return getCompletionResultsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .getDefaultInstance()); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder addCompletionResultsBuilder( - int index) { - return getCompletionResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder + addCompletionResultsBuilder(int index) { + return getCompletionResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult + .getDefaultInstance()); } /** + * + * *
      * Results of the matching job/company candidates.
      * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - public java.util.List - getCompletionResultsBuilderList() { + public java.util.List< + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder> + getCompletionResultsBuilderList() { return getCompletionResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsFieldBuilder() { if (completionResultsBuilder_ == null) { - completionResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( + completionResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Builder, + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder>( completionResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1796,36 +2081,49 @@ public com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.Bu private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1847,6 +2145,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1866,6 +2166,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1877,7 +2179,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1889,6 +2193,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1908,6 +2214,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1916,11 +2224,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1932,11 +2242,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1945,21 +2258,24 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1969,12 +2285,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CompleteQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CompleteQueryResponse)
   private static final com.google.cloud.talent.v4beta1.CompleteQueryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CompleteQueryResponse();
   }
@@ -1983,27 +2299,27 @@ public static com.google.cloud.talent.v4beta1.CompleteQueryResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CompleteQueryResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CompleteQueryResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2018,6 +2334,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.CompleteQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
similarity index 54%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
index 96a27c0ade3d..1dbfeca0f11c 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompleteQueryResponseOrBuilder.java
@@ -1,77 +1,123 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/completion_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface CompleteQueryResponseOrBuilder extends
+public interface CompleteQueryResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CompleteQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - java.util.List + java.util.List getCompletionResultsList(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults(int index); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult getCompletionResults( + int index); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ int getCompletionResultsCount(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder> getCompletionResultsOrBuilderList(); /** + * + * *
    * Results of the matching job/company candidates.
    * 
* - * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * + * repeated .google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult completion_results = 1; + * */ - com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder getCompletionResultsOrBuilder( - int index); + com.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResultOrBuilder + getCompletionResultsOrBuilder(int index); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 2; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
new file mode 100644
index 000000000000..3580295427ad
--- /dev/null
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java
@@ -0,0 +1,145 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/talent/v4beta1/completion_service.proto
+
+package com.google.cloud.talent.v4beta1;
+
+public final class CompletionServiceProto {
+  private CompletionServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n4google/cloud/talent/v4beta1/completion"
+          + "_service.proto\022\033google.cloud.talent.v4be"
+          + "ta1\032\034google/api/annotations.proto\032\027googl"
+          + "e/api/client.proto\032\037google/api/field_beh"
+          + "avior.proto\032\031google/api/resource.proto\032("
+          + "google/cloud/talent/v4beta1/common.proto"
+          + "\"\223\004\n\024CompleteQueryRequest\0223\n\006parent\030\001 \001("
+          + "\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022\022"
+          + "\n\005query\030\002 \001(\tB\003\340A\002\022\026\n\016language_codes\030\003 \003"
+          + "(\t\022\026\n\tpage_size\030\004 \001(\005B\003\340A\002\0221\n\007company\030\005 "
+          + "\001(\tB \372A\035\n\033jobs.googleapis.com/Company\022P\n"
+          + "\005scope\030\006 \001(\0162A.google.cloud.talent.v4bet"
+          + "a1.CompleteQueryRequest.CompletionScope\022"
+          + "N\n\004type\030\007 \001(\0162@.google.cloud.talent.v4be"
+          + "ta1.CompleteQueryRequest.CompletionType\""
+          + "K\n\017CompletionScope\022 \n\034COMPLETION_SCOPE_U"
+          + "NSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016"
+          + "CompletionType\022\037\n\033COMPLETION_TYPE_UNSPEC"
+          + "IFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002"
+          + "\022\014\n\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse"
+          + "\022_\n\022completion_results\030\001 \003(\0132C.google.cl"
+          + "oud.talent.v4beta1.CompleteQueryResponse"
+          + ".CompletionResult\022?\n\010metadata\030\002 \001(\0132-.go"
+          + "ogle.cloud.talent.v4beta1.ResponseMetada"
+          + "ta\032\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 "
+          + "\001(\t\022N\n\004type\030\002 \001(\0162@.google.cloud.talent."
+          + "v4beta1.CompleteQueryRequest.CompletionT"
+          + "ype\022\021\n\timage_uri\030\003 \001(\t2\325\002\n\nCompletion\022\330\001"
+          + "\n\rCompleteQuery\0221.google.cloud.talent.v4"
+          + "beta1.CompleteQueryRequest\0322.google.clou"
+          + "d.talent.v4beta1.CompleteQueryResponse\"`"
+          + "\202\323\344\223\002Z\022//v4beta1/{parent=projects/*/tena"
+          + "nts/*}:completeZ\'\022%/v4beta1/{parent=proj"
+          + "ects/*}:complete\032l\312A\023jobs.googleapis.com"
+          + "\322AShttps://www.googleapis.com/auth/cloud"
+          + "-platform,https://www.googleapis.com/aut"
+          + "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet"
+          + "a1B\026CompletionServiceProtoP\001ZAgoogle.gol"
+          + "ang.org/genproto/googleapis/cloud/talent"
+          + "/v4beta1;talent\242\002\003CTSb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(),
+            });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type",
+            });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor,
+            new java.lang.String[] {
+              "CompletionResults", "Metadata",
+            });
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor =
+        internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor,
+            new java.lang.String[] {
+              "Suggestion", "Type", "ImageUri",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ClientProto.defaultHost);
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.AnnotationsProto.http);
+    registry.add(com.google.api.ClientProto.oauthScopes);
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.ClientProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.talent.v4beta1.CommonProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
similarity index 63%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
index 29b1143ad456..0b278a03521a 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequest.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/event_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * The report event request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateClientEventRequest} */ -public final class CreateClientEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClientEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateClientEventRequest) CreateClientEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClientEventRequest.newBuilder() to construct. private CreateClientEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClientEventRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClientEventRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, + com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -82,17 +107,18 @@ public java.lang.String getParent() {
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,12 +129,17 @@ public java.lang.String getParent() { public static final int CLIENT_EVENT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ @java.lang.Override @@ -116,25 +147,36 @@ public boolean hasClientEvent() { return clientEvent_ != null; } /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ClientEvent getClientEvent() { - return clientEvent_ == null ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() + : clientEvent_; } /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder() { @@ -142,6 +184,7 @@ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +196,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -174,8 +216,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (clientEvent_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getClientEvent()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getClientEvent()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,19 +226,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateClientEventRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateClientEventRequest other = (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; + com.google.cloud.talent.v4beta1.CreateClientEventRequest other = + (com.google.cloud.talent.v4beta1.CreateClientEventRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasClientEvent() != other.hasClientEvent()) return false; if (hasClientEvent()) { - if (!getClientEvent() - .equals(other.getClientEvent())) return false; + if (!getClientEvent().equals(other.getClientEvent())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -222,129 +262,136 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateClientEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateClientEventRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.CreateClientEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The report event request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateClientEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateClientEventRequest) com.google.cloud.talent.v4beta1.CreateClientEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateClientEventRequest.class, + com.google.cloud.talent.v4beta1.CreateClientEventRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateClientEventRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.EventServiceProto.internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.EventServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; } @java.lang.Override @@ -381,7 +428,8 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateClientEventRequest result = new com.google.cloud.talent.v4beta1.CreateClientEventRequest(this); + com.google.cloud.talent.v4beta1.CreateClientEventRequest result = + new com.google.cloud.talent.v4beta1.CreateClientEventRequest(this); result.parent_ = parent_; if (clientEventBuilder_ == null) { result.clientEvent_ = clientEvent_; @@ -396,38 +444,39 @@ public com.google.cloud.talent.v4beta1.CreateClientEventRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateClientEventRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateClientEventRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateClientEventRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +484,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateClientEventRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CreateClientEventRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -469,24 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getClientEventFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getClientEventFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -499,6 +550,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -506,14 +559,16 @@ public Builder mergeFrom(
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -522,6 +577,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -529,16 +586,17 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -546,6 +604,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -553,21 +613,25 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -575,16 +639,21 @@ public Builder setParent(
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the event is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -592,17 +661,19 @@ public Builder clearParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -610,42 +681,61 @@ public Builder setParentBytes( private com.google.cloud.talent.v4beta1.ClientEvent clientEvent_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder> clientEventBuilder_; + com.google.cloud.talent.v4beta1.ClientEvent, + com.google.cloud.talent.v4beta1.ClientEvent.Builder, + com.google.cloud.talent.v4beta1.ClientEventOrBuilder> + clientEventBuilder_; /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ public boolean hasClientEvent() { return clientEventBuilder_ != null || clientEvent_ != null; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ public com.google.cloud.talent.v4beta1.ClientEvent getClientEvent() { if (clientEventBuilder_ == null) { - return clientEvent_ == null ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() + : clientEvent_; } else { return clientEventBuilder_.getMessage(); } } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) { if (clientEventBuilder_ == null) { @@ -661,12 +751,16 @@ public Builder setClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setClientEvent( com.google.cloud.talent.v4beta1.ClientEvent.Builder builderForValue) { @@ -680,18 +774,24 @@ public Builder setClientEvent( return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeClientEvent(com.google.cloud.talent.v4beta1.ClientEvent value) { if (clientEventBuilder_ == null) { if (clientEvent_ != null) { clientEvent_ = - com.google.cloud.talent.v4beta1.ClientEvent.newBuilder(clientEvent_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.ClientEvent.newBuilder(clientEvent_) + .mergeFrom(value) + .buildPartial(); } else { clientEvent_ = value; } @@ -703,12 +803,16 @@ public Builder mergeClientEvent(com.google.cloud.talent.v4beta1.ClientEvent valu return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearClientEvent() { if (clientEventBuilder_ == null) { @@ -722,58 +826,74 @@ public Builder clearClientEvent() { return this; } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.ClientEvent.Builder getClientEventBuilder() { - + onChanged(); return getClientEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder() { if (clientEventBuilder_ != null) { return clientEventBuilder_.getMessageOrBuilder(); } else { - return clientEvent_ == null ? - com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() : clientEvent_; + return clientEvent_ == null + ? com.google.cloud.talent.v4beta1.ClientEvent.getDefaultInstance() + : clientEvent_; } } /** + * + * *
      * Required. Events issued when end user interacts with customer's application that
      * uses Cloud Talent Solution.
      * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder> + com.google.cloud.talent.v4beta1.ClientEvent, + com.google.cloud.talent.v4beta1.ClientEvent.Builder, + com.google.cloud.talent.v4beta1.ClientEventOrBuilder> getClientEventFieldBuilder() { if (clientEventBuilder_ == null) { - clientEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ClientEvent, com.google.cloud.talent.v4beta1.ClientEvent.Builder, com.google.cloud.talent.v4beta1.ClientEventOrBuilder>( - getClientEvent(), - getParentForChildren(), - isClean()); + clientEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.ClientEvent, + com.google.cloud.talent.v4beta1.ClientEvent.Builder, + com.google.cloud.talent.v4beta1.ClientEventOrBuilder>( + getClientEvent(), getParentForChildren(), isClean()); clientEvent_ = null; } return clientEventBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,12 +903,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateClientEventRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateClientEventRequest) private static final com.google.cloud.talent.v4beta1.CreateClientEventRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateClientEventRequest(); } @@ -797,27 +917,27 @@ public static com.google.cloud.talent.v4beta1.CreateClientEventRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClientEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClientEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,6 +952,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateClientEventRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java index aed1052e582d..6e2e3d9c3e26 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateClientEventRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateClientEventRequestOrBuilder extends +public interface CreateClientEventRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateClientEventRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -15,11 +33,16 @@ public interface CreateClientEventRequestOrBuilder extends
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the event is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -27,39 +50,55 @@ public interface CreateClientEventRequestOrBuilder extends
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the clientEvent field is set. */ boolean hasClientEvent(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The clientEvent. */ com.google.cloud.talent.v4beta1.ClientEvent getClientEvent(); /** + * + * *
    * Required. Events issued when end user interacts with customer's application that
    * uses Cloud Talent Solution.
    * 
* - * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.ClientEventOrBuilder getClientEventOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java similarity index 63% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java index 63e7830509aa..3a01983324c1 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The Request of the CreateCompany method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateCompanyRequest} */ -public final class CreateCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateCompanyRequest) CreateCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCompanyRequest.newBuilder() to construct. private CreateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCompanyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, + com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -82,17 +107,18 @@ public java.lang.String getParent() {
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +129,16 @@ public java.lang.String getParent() { public static final int COMPANY_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Company company_; /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ @java.lang.Override @@ -115,23 +146,34 @@ public boolean hasCompany() { return company_ != null; } /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company getCompany() { - return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @@ -139,6 +181,7 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -171,8 +213,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (company_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCompany()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompany()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,19 +223,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateCompanyRequest other = (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; + com.google.cloud.talent.v4beta1.CreateCompanyRequest other = + (com.google.cloud.talent.v4beta1.CreateCompanyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCompany() != other.hasCompany()) return false; if (hasCompany()) { - if (!getCompany() - .equals(other.getCompany())) return false; + if (!getCompany().equals(other.getCompany())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -219,129 +259,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request of the CreateCompany method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateCompanyRequest) com.google.cloud.talent.v4beta1.CreateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, + com.google.cloud.talent.v4beta1.CreateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateCompanyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; } @java.lang.Override @@ -378,7 +424,8 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateCompanyRequest result = new com.google.cloud.talent.v4beta1.CreateCompanyRequest(this); + com.google.cloud.talent.v4beta1.CreateCompanyRequest result = + new com.google.cloud.talent.v4beta1.CreateCompanyRequest(this); result.parent_ = parent_; if (companyBuilder_ == null) { result.company_ = company_; @@ -393,38 +440,39 @@ public com.google.cloud.talent.v4beta1.CreateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +480,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -466,24 +515,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getCompanyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,6 +546,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -503,14 +555,16 @@ public Builder mergeFrom(
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,6 +573,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -526,16 +582,17 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -543,6 +600,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -550,21 +609,25 @@ public java.lang.String getParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -572,16 +635,21 @@ public Builder setParent(
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -589,17 +657,19 @@ public Builder clearParent() {
      * is created, for example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -607,39 +677,58 @@ public Builder setParentBytes( private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companyBuilder_; + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> + companyBuilder_; /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ public com.google.cloud.talent.v4beta1.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } else { return companyBuilder_.getMessage(); } } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { @@ -655,14 +744,17 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompany( - com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -673,17 +765,23 @@ public Builder setCompany( return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4beta1.Company.newBuilder(company_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Company.newBuilder(company_) + .mergeFrom(value) + .buildPartial(); } else { company_ = value; } @@ -695,11 +793,15 @@ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -713,55 +815,71 @@ public Builder clearCompany() { return this; } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null ? - com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } } /** + * + * *
      * Required. The company to be created.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - getCompany(), - getParentForChildren(), - isClean()); + companyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + getCompany(), getParentForChildren(), isClean()); company_ = null; } return companyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -771,12 +889,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateCompanyRequest) private static final com.google.cloud.talent.v4beta1.CreateCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateCompanyRequest(); } @@ -785,27 +903,27 @@ public static com.google.cloud.talent.v4beta1.CreateCompanyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -820,6 +938,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java index 958278518b0e..9d8ebf909be7 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateCompanyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateCompanyRequestOrBuilder extends +public interface CreateCompanyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateCompanyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -15,11 +33,16 @@ public interface CreateCompanyRequestOrBuilder extends
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -27,36 +50,52 @@ public interface CreateCompanyRequestOrBuilder extends
    * is created, for example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ boolean hasCompany(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ com.google.cloud.talent.v4beta1.Company getCompany(); /** + * + * *
    * Required. The company to be created.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java index f7ae73206358..12700fd398fe 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Create job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateJobRequest} */ -public final class CreateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateJobRequest) CreateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateJobRequest.class, com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateJobRequest.class, + com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -58,7 +79,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -82,17 +107,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -103,11 +129,15 @@ public java.lang.String getParent() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Job job_; /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ @java.lang.Override @@ -115,11 +145,15 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ @java.lang.Override @@ -127,11 +161,14 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @@ -139,6 +176,7 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -171,8 +208,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,19 +218,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateJobRequest other = (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; + com.google.cloud.talent.v4beta1.CreateJobRequest other = + (com.google.cloud.talent.v4beta1.CreateJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -218,130 +253,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Create job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateJobRequest) com.google.cloud.talent.v4beta1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateJobRequest.class, com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateJobRequest.class, + com.google.cloud.talent.v4beta1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -357,9 +398,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; } @java.lang.Override @@ -378,7 +419,8 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateJobRequest result = new com.google.cloud.talent.v4beta1.CreateJobRequest(this); + com.google.cloud.talent.v4beta1.CreateJobRequest result = + new com.google.cloud.talent.v4beta1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -393,38 +435,39 @@ public com.google.cloud.talent.v4beta1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +475,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -466,24 +510,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,6 +541,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -503,14 +550,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -519,6 +568,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -526,16 +577,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -543,6 +595,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -550,21 +604,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -572,16 +630,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -589,17 +652,19 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -607,24 +672,35 @@ public Builder setParentBytes( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -635,11 +711,14 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { @@ -655,14 +734,16 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJob( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -673,17 +754,20 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -695,11 +779,14 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -713,55 +800,66 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The Job to be created.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -771,12 +869,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateJobRequest) private static final com.google.cloud.talent.v4beta1.CreateJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateJobRequest(); } @@ -785,27 +883,27 @@ public static com.google.cloud.talent.v4beta1.CreateJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -820,6 +918,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java index 9a41f0619a5a..2713e432a75c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateJobRequestOrBuilder extends +public interface CreateJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface CreateJobRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,36 +50,49 @@ public interface CreateJobRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** + * + * *
    * Required. The Job to be created.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java similarity index 62% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java index cac7205f4e00..1aaab0f75c51 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The Request of the CreateTenant method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateTenantRequest} */ -public final class CreateTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CreateTenantRequest) CreateTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTenantRequest.newBuilder() to construct. private CreateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTenantRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateTenantRequest.class, com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateTenantRequest.class, + com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -101,11 +127,15 @@ public java.lang.String getParent() { public static final int TENANT_FIELD_NUMBER = 2; private com.google.cloud.talent.v4beta1.Tenant tenant_; /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ @java.lang.Override @@ -113,11 +143,15 @@ public boolean hasTenant() { return tenant_ != null; } /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ @java.lang.Override @@ -125,11 +159,14 @@ public com.google.cloud.talent.v4beta1.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @@ -137,6 +174,7 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -169,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (tenant_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTenant()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTenant()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,19 +216,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CreateTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CreateTenantRequest other = (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; + com.google.cloud.talent.v4beta1.CreateTenantRequest other = + (com.google.cloud.talent.v4beta1.CreateTenantRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasTenant() != other.hasTenant()) return false; if (hasTenant()) { - if (!getTenant() - .equals(other.getTenant())) return false; + if (!getTenant().equals(other.getTenant())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -217,129 +252,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CreateTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CreateTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request of the CreateTenant method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CreateTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CreateTenantRequest) com.google.cloud.talent.v4beta1.CreateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CreateTenantRequest.class, com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.CreateTenantRequest.class, + com.google.cloud.talent.v4beta1.CreateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CreateTenantRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; } @java.lang.Override @@ -376,7 +417,8 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.CreateTenantRequest result = new com.google.cloud.talent.v4beta1.CreateTenantRequest(this); + com.google.cloud.talent.v4beta1.CreateTenantRequest result = + new com.google.cloud.talent.v4beta1.CreateTenantRequest(this); result.parent_ = parent_; if (tenantBuilder_ == null) { result.tenant_ = tenant_; @@ -391,38 +433,39 @@ public com.google.cloud.talent.v4beta1.CreateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CreateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.CreateTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CreateTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -430,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CreateTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -464,24 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getTenantFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -494,20 +539,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -516,22 +565,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -539,60 +591,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -600,39 +665,58 @@ public Builder setParentBytes( private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantBuilder_; + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> + tenantBuilder_; /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ public com.google.cloud.talent.v4beta1.Tenant getTenant() { if (tenantBuilder_ == null) { - return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null + ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() + : tenant_; } else { return tenantBuilder_.getMessage(); } } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { @@ -648,14 +732,17 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTenant( - com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -666,17 +753,23 @@ public Builder setTenant( return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_) + .mergeFrom(value) + .buildPartial(); } else { tenant_ = value; } @@ -688,11 +781,15 @@ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -706,55 +803,71 @@ public Builder clearTenant() { return this; } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null + ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() + : tenant_; } } /** + * + * *
      * Required. The tenant to be created.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( - getTenant(), - getParentForChildren(), - isClean()); + tenantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder>( + getTenant(), getParentForChildren(), isClean()); tenant_ = null; } return tenantBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CreateTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CreateTenantRequest) private static final com.google.cloud.talent.v4beta1.CreateTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CreateTenantRequest(); } @@ -778,27 +891,27 @@ public static com.google.cloud.talent.v4beta1.CreateTenantRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +926,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CreateTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java index 424c9479c231..85efb9675bce 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequestOrBuilder.java @@ -1,60 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; -public interface CreateTenantRequestOrBuilder extends +public interface CreateTenantRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CreateTenantRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ boolean hasTenant(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ com.google.cloud.talent.v4beta1.Tenant getTenant(); /** + * + * *
    * Required. The tenant to be created.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java index b63142b1ff8b..7b477a792761 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttribute.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Custom attribute values that are either filterable or non-filterable.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CustomAttribute} */ -public final class CustomAttribute extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CustomAttribute extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.CustomAttribute) CustomAttributeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomAttribute.newBuilder() to construct. private CustomAttribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomAttribute() { stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; longValues_ = emptyLongList(); @@ -26,32 +44,35 @@ private CustomAttribute() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomAttribute(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CustomAttribute.class, com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); + com.google.cloud.talent.v4beta1.CustomAttribute.class, + com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); } public static final int STRING_VALUES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList stringValues_; /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -64,13 +85,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList - getStringValuesList() { + public com.google.protobuf.ProtocolStringList getStringValuesList() { return stringValues_; } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -83,12 +106,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -101,6 +127,7 @@ public int getStringValuesCount() {
    * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -108,6 +135,8 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -120,17 +149,19 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString - getStringValuesBytes(int index) { + public com.google.protobuf.ByteString getStringValuesBytes(int index) { return stringValues_.getByteString(index); } public static final int LONG_VALUES_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList longValues_; /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -139,14 +170,16 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ @java.lang.Override - public java.util.List - getLongValuesList() { + public java.util.List getLongValuesList() { return longValues_; } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -155,12 +188,15 @@ public java.lang.String getStringValues(int index) {
    * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -169,17 +205,21 @@ public int getLongValuesCount() {
    * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ public long getLongValues(int index) { return longValues_.getLong(index); } + private int longValuesMemoizedSerializedSize = -1; public static final int FILTERABLE_FIELD_NUMBER = 3; private boolean filterable_; /** + * + * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -188,6 +228,7 @@ public long getLongValues(int index) {
    * 
* * bool filterable = 3; + * * @return The filterable. */ @java.lang.Override @@ -198,6 +239,8 @@ public boolean getFilterable() { public static final int KEYWORD_SEARCHABLE_FIELD_NUMBER = 4; private boolean keywordSearchable_; /** + * + * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -206,6 +249,7 @@ public boolean getFilterable() {
    * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ @java.lang.Override @@ -214,6 +258,7 @@ public boolean getKeywordSearchable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stringValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stringValues_.getRaw(i)); @@ -264,24 +308,21 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < longValues_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeInt64SizeNoTag(longValues_.getLong(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(longValues_.getLong(i)); } size += dataSize; if (!getLongValuesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } longValuesMemoizedSerializedSize = dataSize; } if (filterable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, filterable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterable_); } if (keywordSearchable_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, keywordSearchable_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, keywordSearchable_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,21 +332,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.CustomAttribute)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.CustomAttribute other = (com.google.cloud.talent.v4beta1.CustomAttribute) obj; - - if (!getStringValuesList() - .equals(other.getStringValuesList())) return false; - if (!getLongValuesList() - .equals(other.getLongValuesList())) return false; - if (getFilterable() - != other.getFilterable()) return false; - if (getKeywordSearchable() - != other.getKeywordSearchable()) return false; + com.google.cloud.talent.v4beta1.CustomAttribute other = + (com.google.cloud.talent.v4beta1.CustomAttribute) obj; + + if (!getStringValuesList().equals(other.getStringValuesList())) return false; + if (!getLongValuesList().equals(other.getLongValuesList())) return false; + if (getFilterable() != other.getFilterable()) return false; + if (getKeywordSearchable() != other.getKeywordSearchable()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,140 +364,144 @@ public int hashCode() { hash = (53 * hash) + getLongValuesList().hashCode(); } hash = (37 * hash) + FILTERABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFilterable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFilterable()); hash = (37 * hash) + KEYWORD_SEARCHABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getKeywordSearchable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKeywordSearchable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.CustomAttribute parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.CustomAttribute prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Custom attribute values that are either filterable or non-filterable.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.CustomAttribute} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.CustomAttribute) com.google.cloud.talent.v4beta1.CustomAttributeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.CustomAttribute.class, com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); + com.google.cloud.talent.v4beta1.CustomAttribute.class, + com.google.cloud.talent.v4beta1.CustomAttribute.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.CustomAttribute.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; } @java.lang.Override @@ -496,7 +538,8 @@ public com.google.cloud.talent.v4beta1.CustomAttribute build() { @java.lang.Override public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { - com.google.cloud.talent.v4beta1.CustomAttribute result = new com.google.cloud.talent.v4beta1.CustomAttribute(this); + com.google.cloud.talent.v4beta1.CustomAttribute result = + new com.google.cloud.talent.v4beta1.CustomAttribute(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { stringValues_ = stringValues_.getUnmodifiableView(); @@ -518,38 +561,39 @@ public com.google.cloud.talent.v4beta1.CustomAttribute buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.CustomAttribute) { - return mergeFrom((com.google.cloud.talent.v4beta1.CustomAttribute)other); + return mergeFrom((com.google.cloud.talent.v4beta1.CustomAttribute) other); } else { super.mergeFrom(other); return this; @@ -557,7 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.CustomAttribute other) { - if (other == com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance()) + return this; if (!other.stringValues_.isEmpty()) { if (stringValues_.isEmpty()) { stringValues_ = other.stringValues_; @@ -610,44 +655,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureStringValuesIsMutable(); - stringValues_.add(s); - break; - } // case 10 - case 16: { - long v = input.readInt64(); - ensureLongValuesIsMutable(); - longValues_.addLong(v); - break; - } // case 16 - case 18: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensureLongValuesIsMutable(); - while (input.getBytesUntilLimit() > 0) { - longValues_.addLong(input.readInt64()); - } - input.popLimit(limit); - break; - } // case 18 - case 24: { - filterable_ = input.readBool(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureStringValuesIsMutable(); + stringValues_.add(s); + break; + } // case 10 + case 16: + { + long v = input.readInt64(); + ensureLongValuesIsMutable(); + longValues_.addLong(v); + break; + } // case 16 + case 18: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureLongValuesIsMutable(); + while (input.getBytesUntilLimit() > 0) { + longValues_.addLong(input.readInt64()); + } + input.popLimit(limit); + break; + } // case 18 + case 24: + { + filterable_ = input.readBool(); - break; - } // case 24 - case 32: { - keywordSearchable_ = input.readBool(); + break; + } // case 24 + case 32: + { + keywordSearchable_ = input.readBool(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,16 +708,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList stringValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList stringValues_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureStringValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { stringValues_ = new com.google.protobuf.LazyStringArrayList(stringValues_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -679,13 +735,15 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - public com.google.protobuf.ProtocolStringList - getStringValuesList() { + public com.google.protobuf.ProtocolStringList getStringValuesList() { return stringValues_.getUnmodifiableView(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -698,12 +756,15 @@ private void ensureStringValuesIsMutable() {
      * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ public int getStringValuesCount() { return stringValues_.size(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -716,6 +777,7 @@ public int getStringValuesCount() {
      * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ @@ -723,6 +785,8 @@ public java.lang.String getStringValues(int index) { return stringValues_.get(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -735,14 +799,16 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - public com.google.protobuf.ByteString - getStringValuesBytes(int index) { + public com.google.protobuf.ByteString getStringValuesBytes(int index) { return stringValues_.getByteString(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -755,21 +821,23 @@ public java.lang.String getStringValues(int index) {
      * 
* * repeated string string_values = 1; + * * @param index The index to set the value at. * @param value The stringValues to set. * @return This builder for chaining. */ - public Builder setStringValues( - int index, java.lang.String value) { + public Builder setStringValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.set(index, value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -782,20 +850,22 @@ public Builder setStringValues(
      * 
* * repeated string string_values = 1; + * * @param value The stringValues to add. * @return This builder for chaining. */ - public Builder addStringValues( - java.lang.String value) { + public Builder addStringValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureStringValuesIsMutable(); + throw new NullPointerException(); + } + ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -808,18 +878,19 @@ public Builder addStringValues(
      * 
* * repeated string string_values = 1; + * * @param values The stringValues to add. * @return This builder for chaining. */ - public Builder addAllStringValues( - java.lang.Iterable values) { + public Builder addAllStringValues(java.lang.Iterable values) { ensureStringValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stringValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stringValues_); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -832,6 +903,7 @@ public Builder addAllStringValues(
      * 
* * repeated string string_values = 1; + * * @return This builder for chaining. */ public Builder clearStringValues() { @@ -841,6 +913,8 @@ public Builder clearStringValues() { return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -853,15 +927,15 @@ public Builder clearStringValues() {
      * 
* * repeated string string_values = 1; + * * @param value The bytes of the stringValues to add. * @return This builder for chaining. */ - public Builder addStringValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addStringValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureStringValuesIsMutable(); stringValues_.add(value); onChanged(); @@ -869,13 +943,16 @@ public Builder addStringValuesBytes( } private com.google.protobuf.Internal.LongList longValues_ = emptyLongList(); + private void ensureLongValuesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { longValues_ = mutableCopy(longValues_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -884,14 +961,17 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ - public java.util.List - getLongValuesList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(longValues_) : longValues_; + public java.util.List getLongValuesList() { + return ((bitField0_ & 0x00000002) != 0) + ? java.util.Collections.unmodifiableList(longValues_) + : longValues_; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -900,12 +980,15 @@ private void ensureLongValuesIsMutable() {
      * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ public int getLongValuesCount() { return longValues_.size(); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -914,6 +997,7 @@ public int getLongValuesCount() {
      * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ @@ -921,6 +1005,8 @@ public long getLongValues(int index) { return longValues_.getLong(index); } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -929,18 +1015,20 @@ public long getLongValues(int index) {
      * 
* * repeated int64 long_values = 2; + * * @param index The index to set the value at. * @param value The longValues to set. * @return This builder for chaining. */ - public Builder setLongValues( - int index, long value) { + public Builder setLongValues(int index, long value) { ensureLongValuesIsMutable(); longValues_.setLong(index, value); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -949,6 +1037,7 @@ public Builder setLongValues(
      * 
* * repeated int64 long_values = 2; + * * @param value The longValues to add. * @return This builder for chaining. */ @@ -959,6 +1048,8 @@ public Builder addLongValues(long value) { return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -967,18 +1058,19 @@ public Builder addLongValues(long value) {
      * 
* * repeated int64 long_values = 2; + * * @param values The longValues to add. * @return This builder for chaining. */ - public Builder addAllLongValues( - java.lang.Iterable values) { + public Builder addAllLongValues(java.lang.Iterable values) { ensureLongValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, longValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, longValues_); onChanged(); return this; } /** + * + * *
      * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      * This field is used to perform number range search.
@@ -987,6 +1079,7 @@ public Builder addAllLongValues(
      * 
* * repeated int64 long_values = 2; + * * @return This builder for chaining. */ public Builder clearLongValues() { @@ -996,8 +1089,10 @@ public Builder clearLongValues() { return this; } - private boolean filterable_ ; + private boolean filterable_; /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1006,6 +1101,7 @@ public Builder clearLongValues() {
      * 
* * bool filterable = 3; + * * @return The filterable. */ @java.lang.Override @@ -1013,6 +1109,8 @@ public boolean getFilterable() { return filterable_; } /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1021,16 +1119,19 @@ public boolean getFilterable() {
      * 
* * bool filterable = 3; + * * @param value The filterable to set. * @return This builder for chaining. */ public Builder setFilterable(boolean value) { - + filterable_ = value; onChanged(); return this; } /** + * + * *
      * If the `filterable` flag is true, the custom field values may be used for
      * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -1039,17 +1140,20 @@ public Builder setFilterable(boolean value) {
      * 
* * bool filterable = 3; + * * @return This builder for chaining. */ public Builder clearFilterable() { - + filterable_ = false; onChanged(); return this; } - private boolean keywordSearchable_ ; + private boolean keywordSearchable_; /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1058,6 +1162,7 @@ public Builder clearFilterable() {
      * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ @java.lang.Override @@ -1065,6 +1170,8 @@ public boolean getKeywordSearchable() { return keywordSearchable_; } /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1073,16 +1180,19 @@ public boolean getKeywordSearchable() {
      * 
* * bool keyword_searchable = 4; + * * @param value The keywordSearchable to set. * @return This builder for chaining. */ public Builder setKeywordSearchable(boolean value) { - + keywordSearchable_ = value; onChanged(); return this; } /** + * + * *
      * If the `keyword_searchable` flag is true, the keywords in custom fields are
      * searchable by keyword match.
@@ -1091,17 +1201,18 @@ public Builder setKeywordSearchable(boolean value) {
      * 
* * bool keyword_searchable = 4; + * * @return This builder for chaining. */ public Builder clearKeywordSearchable() { - + keywordSearchable_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,12 +1222,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.CustomAttribute) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.CustomAttribute) private static final com.google.cloud.talent.v4beta1.CustomAttribute DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.CustomAttribute(); } @@ -1125,27 +1236,27 @@ public static com.google.cloud.talent.v4beta1.CustomAttribute getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomAttribute parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomAttribute parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,6 +1271,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.CustomAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java similarity index 87% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java index 8a54c664071f..9a1302e5db3b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CustomAttributeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface CustomAttributeOrBuilder extends +public interface CustomAttributeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.CustomAttribute) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -20,11 +38,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @return A list containing the stringValues. */ - java.util.List - getStringValuesList(); + java.util.List getStringValuesList(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -37,10 +57,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @return The count of stringValues. */ int getStringValuesCount(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -53,11 +76,14 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @param index The index of the element to return. * @return The stringValues at the given index. */ java.lang.String getStringValues(int index); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
@@ -70,13 +96,15 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated string string_values = 1; + * * @param index The index of the value to return. * @return The bytes of the stringValues at the given index. */ - com.google.protobuf.ByteString - getStringValuesBytes(int index); + com.google.protobuf.ByteString getStringValuesBytes(int index); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -85,10 +113,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @return A list containing the longValues. */ java.util.List getLongValuesList(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -97,10 +128,13 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @return The count of longValues. */ int getLongValuesCount(); /** + * + * *
    * Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
    * This field is used to perform number range search.
@@ -109,12 +143,15 @@ public interface CustomAttributeOrBuilder extends
    * 
* * repeated int64 long_values = 2; + * * @param index The index of the element to return. * @return The longValues at the given index. */ long getLongValues(int index); /** + * + * *
    * If the `filterable` flag is true, the custom field values may be used for
    * custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
@@ -123,11 +160,14 @@ public interface CustomAttributeOrBuilder extends
    * 
* * bool filterable = 3; + * * @return The filterable. */ boolean getFilterable(); /** + * + * *
    * If the `keyword_searchable` flag is true, the keywords in custom fields are
    * searchable by keyword match.
@@ -136,6 +176,7 @@ public interface CustomAttributeOrBuilder extends
    * 
* * bool keyword_searchable = 4; + * * @return The keywordSearchable. */ boolean getKeywordSearchable(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java similarity index 81% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java index ab7cc30ff6a6..0e72a3fcae2a 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DegreeType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Educational degree level defined in International Standard Classification
  * of Education (ISCED).
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.DegreeType}
  */
-public enum DegreeType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum DegreeType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -24,6 +42,8 @@ public enum DegreeType
    */
   DEGREE_TYPE_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -34,6 +54,8 @@ public enum DegreeType
    */
   PRIMARY_EDUCATION(1),
   /**
+   *
+   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -45,6 +67,8 @@ public enum DegreeType
    */
   LOWER_SECONDARY_EDUCATION(2),
   /**
+   *
+   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -57,6 +81,8 @@ public enum DegreeType
    */
   UPPER_SECONDARY_EDUCATION(3),
   /**
+   *
+   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -68,6 +94,8 @@ public enum DegreeType
    */
   ADULT_REMEDIAL_EDUCATION(4),
   /**
+   *
+   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -79,6 +107,8 @@ public enum DegreeType
    */
   ASSOCIATES_OR_EQUIVALENT(5),
   /**
+   *
+   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -89,6 +119,8 @@ public enum DegreeType
    */
   BACHELORS_OR_EQUIVALENT(6),
   /**
+   *
+   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -99,6 +131,8 @@ public enum DegreeType
    */
   MASTERS_OR_EQUIVALENT(7),
   /**
+   *
+   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -113,6 +147,8 @@ public enum DegreeType
   ;
 
   /**
+   *
+   *
    * 
    * Default value. Represents no degree, or early childhood education.
    * Maps to ISCED code 0.
@@ -123,6 +159,8 @@ public enum DegreeType
    */
   public static final int DEGREE_TYPE_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Primary education which is typically the first stage of compulsory
    * education. ISCED code 1.
@@ -133,6 +171,8 @@ public enum DegreeType
    */
   public static final int PRIMARY_EDUCATION_VALUE = 1;
   /**
+   *
+   *
    * 
    * Lower secondary education; First stage of secondary education building on
    * primary education, typically with a more subject-oriented curriculum.
@@ -144,6 +184,8 @@ public enum DegreeType
    */
   public static final int LOWER_SECONDARY_EDUCATION_VALUE = 2;
   /**
+   *
+   *
    * 
    * Middle education; Second/final stage of secondary education preparing for
    * tertiary education and/or providing skills relevant to employment.
@@ -156,6 +198,8 @@ public enum DegreeType
    */
   public static final int UPPER_SECONDARY_EDUCATION_VALUE = 3;
   /**
+   *
+   *
    * 
    * Adult Remedial Education; Programmes providing learning experiences that
    * build on secondary education and prepare for labour market entry and/or
@@ -167,6 +211,8 @@ public enum DegreeType
    */
   public static final int ADULT_REMEDIAL_EDUCATION_VALUE = 4;
   /**
+   *
+   *
    * 
    * Associate's or equivalent; Short first tertiary programmes that are
    * typically practically-based, occupationally-specific and prepare for
@@ -178,6 +224,8 @@ public enum DegreeType
    */
   public static final int ASSOCIATES_OR_EQUIVALENT_VALUE = 5;
   /**
+   *
+   *
    * 
    * Bachelor's or equivalent; Programmes designed to provide intermediate
    * academic and/or professional knowledge, skills and competencies leading
@@ -188,6 +236,8 @@ public enum DegreeType
    */
   public static final int BACHELORS_OR_EQUIVALENT_VALUE = 6;
   /**
+   *
+   *
    * 
    * Master's or equivalent; Programmes designed to provide advanced academic
    * and/or professional knowledge, skills and competencies leading to a
@@ -198,6 +248,8 @@ public enum DegreeType
    */
   public static final int MASTERS_OR_EQUIVALENT_VALUE = 7;
   /**
+   *
+   *
    * 
    * Doctoral or equivalent; Programmes designed primarily to lead to an
    * advanced research qualification, usually concluding with the submission
@@ -209,7 +261,6 @@ public enum DegreeType
    */
   public static final int DOCTORAL_OR_EQUIVALENT_VALUE = 8;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -234,55 +285,61 @@ public static DegreeType valueOf(int value) {
    */
   public static DegreeType forNumber(int value) {
     switch (value) {
-      case 0: return DEGREE_TYPE_UNSPECIFIED;
-      case 1: return PRIMARY_EDUCATION;
-      case 2: return LOWER_SECONDARY_EDUCATION;
-      case 3: return UPPER_SECONDARY_EDUCATION;
-      case 4: return ADULT_REMEDIAL_EDUCATION;
-      case 5: return ASSOCIATES_OR_EQUIVALENT;
-      case 6: return BACHELORS_OR_EQUIVALENT;
-      case 7: return MASTERS_OR_EQUIVALENT;
-      case 8: return DOCTORAL_OR_EQUIVALENT;
-      default: return null;
+      case 0:
+        return DEGREE_TYPE_UNSPECIFIED;
+      case 1:
+        return PRIMARY_EDUCATION;
+      case 2:
+        return LOWER_SECONDARY_EDUCATION;
+      case 3:
+        return UPPER_SECONDARY_EDUCATION;
+      case 4:
+        return ADULT_REMEDIAL_EDUCATION;
+      case 5:
+        return ASSOCIATES_OR_EQUIVALENT;
+      case 6:
+        return BACHELORS_OR_EQUIVALENT;
+      case 7:
+        return MASTERS_OR_EQUIVALENT;
+      case 8:
+        return DOCTORAL_OR_EQUIVALENT;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      DegreeType> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DegreeType findValueByNumber(int number) {
-            return DegreeType.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public DegreeType findValueByNumber(int number) {
+          return DegreeType.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DegreeType[] VALUES = values();
 
-  public static DegreeType valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DegreeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -298,4 +355,3 @@ private DegreeType(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.DegreeType)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
similarity index 65%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
index f07be11354ce..30cc735734c7 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequest.java
@@ -1,56 +1,77 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Request to delete a company.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteCompanyRequest} */ -public final class DeleteCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteCompanyRequest) DeleteCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCompanyRequest.newBuilder() to construct. private DeleteCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -86,17 +111,18 @@ public java.lang.String getName() {
    * example, "projects/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; + com.google.cloud.talent.v4beta1.DeleteCompanyRequest other = + (com.google.cloud.talent.v4beta1.DeleteCompanyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -169,129 +195,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteCompanyRequest) com.google.cloud.talent.v4beta1.DeleteCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, + com.google.cloud.talent.v4beta1.DeleteCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteCompanyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; } @java.lang.Override @@ -322,7 +354,8 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteCompanyRequest result = new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(this); + com.google.cloud.talent.v4beta1.DeleteCompanyRequest result = + new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -332,38 +365,39 @@ public com.google.cloud.talent.v4beta1.DeleteCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -402,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,6 +462,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -434,14 +473,16 @@ public Builder mergeFrom(
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,6 +491,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -459,16 +502,17 @@ public java.lang.String getName() {
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +520,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -485,21 +531,25 @@ public java.lang.String getName() {
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -509,16 +559,21 @@ public Builder setName(
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be deleted.
      * The format is
@@ -528,24 +583,26 @@ public Builder clearName() {
      * example, "projects/foo/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteCompanyRequest) private static final com.google.cloud.talent.v4beta1.DeleteCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteCompanyRequest(); } @@ -569,27 +626,27 @@ public static com.google.cloud.talent.v4beta1.DeleteCompanyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java index 0a0dab559ffa..ddfbf7a80814 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteCompanyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface DeleteCompanyRequestOrBuilder extends +public interface DeleteCompanyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteCompanyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -17,11 +35,16 @@ public interface DeleteCompanyRequestOrBuilder extends
    * example, "projects/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the company to be deleted.
    * The format is
@@ -31,9 +54,11 @@ public interface DeleteCompanyRequestOrBuilder extends
    * example, "projects/foo/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java similarity index 64% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java index b005f8975f28..ef497c7d888d 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Delete job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteJobRequest} */ -public final class DeleteJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteJobRequest) DeleteJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteJobRequest.newBuilder() to construct. private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteJobRequest.class, com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteJobRequest.class, + com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -86,17 +111,18 @@ public java.lang.String getName() {
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteJobRequest other = (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; + com.google.cloud.talent.v4beta1.DeleteJobRequest other = + (com.google.cloud.talent.v4beta1.DeleteJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,130 +194,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Delete job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteJobRequest) com.google.cloud.talent.v4beta1.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteJobRequest.class, com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteJobRequest.class, + com.google.cloud.talent.v4beta1.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteJobRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; } @java.lang.Override @@ -322,7 +354,8 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteJobRequest result = new com.google.cloud.talent.v4beta1.DeleteJobRequest(this); + com.google.cloud.talent.v4beta1.DeleteJobRequest result = + new com.google.cloud.talent.v4beta1.DeleteJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -332,38 +365,39 @@ public com.google.cloud.talent.v4beta1.DeleteJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteJobRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -402,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,6 +462,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -434,14 +473,16 @@ public Builder mergeFrom(
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,6 +491,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -459,16 +502,17 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +520,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -485,21 +531,25 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -509,16 +559,21 @@ public Builder setName(
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to be deleted.
      * The format is
@@ -528,24 +583,26 @@ public Builder clearName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteJobRequest) private static final com.google.cloud.talent.v4beta1.DeleteJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteJobRequest(); } @@ -569,27 +626,27 @@ public static com.google.cloud.talent.v4beta1.DeleteJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java index 017cd593e192..ff441ebae65b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface DeleteJobRequestOrBuilder extends +public interface DeleteJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -17,11 +35,16 @@ public interface DeleteJobRequestOrBuilder extends
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the job to be deleted.
    * The format is
@@ -31,9 +54,11 @@ public interface DeleteJobRequestOrBuilder extends
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java similarity index 62% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java index d51c2f5fde45..1f0c0d6fe994 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Request to delete a tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteTenantRequest} */ -public final class DeleteTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeleteTenantRequest) DeleteTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTenantRequest.newBuilder() to construct. private DeleteTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, + com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to be deleted.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeleteTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeleteTenantRequest other = (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; + com.google.cloud.talent.v4beta1.DeleteTenantRequest other = + (com.google.cloud.talent.v4beta1.DeleteTenantRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,129 +189,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeleteTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeleteTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request to delete a tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.DeleteTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeleteTenantRequest) com.google.cloud.talent.v4beta1.DeleteTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, + com.google.cloud.talent.v4beta1.DeleteTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.DeleteTenantRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.DeleteTenantRequest result = new com.google.cloud.talent.v4beta1.DeleteTenantRequest(this); + com.google.cloud.talent.v4beta1.DeleteTenantRequest result = + new com.google.cloud.talent.v4beta1.DeleteTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.talent.v4beta1.DeleteTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.DeleteTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.DeleteTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.DeleteTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -365,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.DeleteTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -396,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +456,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +482,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,67 +508,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be deleted.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeleteTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeleteTenantRequest) private static final com.google.cloud.talent.v4beta1.DeleteTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeleteTenantRequest(); } @@ -548,27 +605,27 @@ public static com.google.cloud.talent.v4beta1.DeleteTenantRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeleteTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java new file mode 100644 index 000000000000..c002bac0b0b4 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface DeleteTenantRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the tenant to be deleted.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java similarity index 68% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java index 0c82a6c193c1..0523a79ba467 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Device information collected from the job seeker, candidate, or
  * other entity conducting the job search. Providing this information improves
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.DeviceInfo}
  */
-public final class DeviceInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeviceInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.DeviceInfo)
     DeviceInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeviceInfo.newBuilder() to construct.
   private DeviceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeviceInfo() {
     deviceType_ = 0;
     id_ = "";
@@ -28,39 +46,43 @@ private DeviceInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeviceInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.DeviceInfo.class, com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
+            com.google.cloud.talent.v4beta1.DeviceInfo.class,
+            com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enumeration describing an API access portal and exposure mechanism.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.DeviceInfo.DeviceType} */ - public enum DeviceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DeviceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The device type isn't specified.
      * 
@@ -69,6 +91,8 @@ public enum DeviceType */ DEVICE_TYPE_UNSPECIFIED(0), /** + * + * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -78,6 +102,8 @@ public enum DeviceType
      */
     WEB(1),
     /**
+     *
+     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -87,6 +113,8 @@ public enum DeviceType
      */
     MOBILE_WEB(2),
     /**
+     *
+     *
      * 
      * An Android device native application.
      * 
@@ -95,6 +123,8 @@ public enum DeviceType */ ANDROID(3), /** + * + * *
      * An iOS device native application.
      * 
@@ -103,6 +133,8 @@ public enum DeviceType */ IOS(4), /** + * + * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -112,6 +144,8 @@ public enum DeviceType
      */
     BOT(5),
     /**
+     *
+     *
      * 
      * Other devices types.
      * 
@@ -123,6 +157,8 @@ public enum DeviceType ; /** + * + * *
      * The device type isn't specified.
      * 
@@ -131,6 +167,8 @@ public enum DeviceType */ public static final int DEVICE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
      * Explorer)
@@ -140,6 +178,8 @@ public enum DeviceType
      */
     public static final int WEB_VALUE = 1;
     /**
+     *
+     *
      * 
      * A mobile device web browser, such as a phone or tablet with a Chrome
      * browser.
@@ -149,6 +189,8 @@ public enum DeviceType
      */
     public static final int MOBILE_WEB_VALUE = 2;
     /**
+     *
+     *
      * 
      * An Android device native application.
      * 
@@ -157,6 +199,8 @@ public enum DeviceType */ public static final int ANDROID_VALUE = 3; /** + * + * *
      * An iOS device native application.
      * 
@@ -165,6 +209,8 @@ public enum DeviceType */ public static final int IOS_VALUE = 4; /** + * + * *
      * A bot, as opposed to a device operated by human beings, such as a web
      * crawler.
@@ -174,6 +220,8 @@ public enum DeviceType
      */
     public static final int BOT_VALUE = 5;
     /**
+     *
+     *
      * 
      * Other devices types.
      * 
@@ -182,7 +230,6 @@ public enum DeviceType */ public static final int OTHER_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,53 +254,57 @@ public static DeviceType valueOf(int value) { */ public static DeviceType forNumber(int value) { switch (value) { - case 0: return DEVICE_TYPE_UNSPECIFIED; - case 1: return WEB; - case 2: return MOBILE_WEB; - case 3: return ANDROID; - case 4: return IOS; - case 5: return BOT; - case 6: return OTHER; - default: return null; + case 0: + return DEVICE_TYPE_UNSPECIFIED; + case 1: + return WEB; + case 2: + return MOBILE_WEB; + case 3: + return ANDROID; + case 4: + return IOS; + case 5: + return BOT; + case 6: + return OTHER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DeviceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DeviceType findValueByNumber(int number) { - return DeviceType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeviceType findValueByNumber(int number) { + return DeviceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.DeviceInfo.getDescriptor().getEnumTypes().get(0); } private static final DeviceType[] VALUES = values(); - public static DeviceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -273,39 +324,53 @@ private DeviceType(int value) { public static final int DEVICE_TYPE_FIELD_NUMBER = 1; private int deviceType_; /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override public int getDeviceTypeValue() { + @java.lang.Override + public int getDeviceTypeValue() { return deviceType_; } /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null + ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED + : result; } public static final int ID_FIELD_NUMBER = 2; private volatile java.lang.Object id_; /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -314,30 +379,30 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -346,6 +411,7 @@ public java.lang.String getId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,9 +423,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (deviceType_ != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (deviceType_ + != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { @@ -374,9 +441,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (deviceType_ != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, deviceType_); + if (deviceType_ + != com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.DEVICE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deviceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); @@ -389,16 +457,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.DeviceInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.DeviceInfo other = (com.google.cloud.talent.v4beta1.DeviceInfo) obj; + com.google.cloud.talent.v4beta1.DeviceInfo other = + (com.google.cloud.talent.v4beta1.DeviceInfo) obj; if (deviceType_ != other.deviceType_) return false; - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -419,97 +487,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.DeviceInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.DeviceInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Device information collected from the job seeker, candidate, or
    * other entity conducting the job search. Providing this information improves
@@ -518,33 +593,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.DeviceInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.DeviceInfo)
       com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.DeviceInfo.class, com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
+              com.google.cloud.talent.v4beta1.DeviceInfo.class,
+              com.google.cloud.talent.v4beta1.DeviceInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -556,9 +630,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor;
     }
 
     @java.lang.Override
@@ -577,7 +651,8 @@ public com.google.cloud.talent.v4beta1.DeviceInfo build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() {
-      com.google.cloud.talent.v4beta1.DeviceInfo result = new com.google.cloud.talent.v4beta1.DeviceInfo(this);
+      com.google.cloud.talent.v4beta1.DeviceInfo result =
+          new com.google.cloud.talent.v4beta1.DeviceInfo(this);
       result.deviceType_ = deviceType_;
       result.id_ = id_;
       onBuilt();
@@ -588,38 +663,39 @@ public com.google.cloud.talent.v4beta1.DeviceInfo buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.DeviceInfo) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.DeviceInfo)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.DeviceInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -661,22 +737,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              deviceType_ = input.readEnum();
+            case 8:
+              {
+                deviceType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              id_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                id_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -689,51 +768,67 @@ public Builder mergeFrom(
 
     private int deviceType_ = 0;
     /**
+     *
+     *
      * 
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ - @java.lang.Override public int getDeviceTypeValue() { + @java.lang.Override + public int getDeviceTypeValue() { return deviceType_; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @param value The enum numeric value on the wire for deviceType to set. * @return This builder for chaining. */ public Builder setDeviceTypeValue(int value) { - + deviceType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); - return result == null ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType result = + com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.valueOf(deviceType_); + return result == null + ? com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @param value The deviceType to set. * @return This builder for chaining. */ @@ -741,21 +836,24 @@ public Builder setDeviceType(com.google.cloud.talent.v4beta1.DeviceInfo.DeviceTy if (value == null) { throw new NullPointerException(); } - + deviceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the device.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return This builder for chaining. */ public Builder clearDeviceType() { - + deviceType_ = 0; onChanged(); return this; @@ -763,19 +861,21 @@ public Builder clearDeviceType() { private java.lang.Object id_ = ""; /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -784,21 +884,22 @@ public java.lang.String getId() { } } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -806,64 +907,71 @@ public java.lang.String getId() { } } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * A device-specific ID. The ID must be a unique identifier that
      * distinguishes the device from other devices.
      * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -873,12 +981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.DeviceInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.DeviceInfo) private static final com.google.cloud.talent.v4beta1.DeviceInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.DeviceInfo(); } @@ -887,27 +995,27 @@ public static com.google.cloud.talent.v4beta1.DeviceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeviceInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeviceInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.DeviceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java index 4117afcead67..d723c94a14d9 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeviceInfoOrBuilder.java @@ -1,50 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface DeviceInfoOrBuilder extends +public interface DeviceInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeviceInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The enum numeric value on the wire for deviceType. */ int getDeviceTypeValue(); /** + * + * *
    * Type of the device.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo.DeviceType device_type = 1; + * * @return The deviceType. */ com.google.cloud.talent.v4beta1.DeviceInfo.DeviceType getDeviceType(); /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * A device-specific ID. The ID must be a unique identifier that
    * distinguishes the device from other devices.
    * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java index 281274bdd173..010200f29ed8 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EmploymentType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents the employment type of a job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.EmploymentType} */ -public enum EmploymentType - implements com.google.protobuf.ProtocolMessageEnum { +public enum EmploymentType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value if the employment type isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum EmploymentType */ EMPLOYMENT_TYPE_UNSPECIFIED(0), /** + * + * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -30,6 +50,8 @@ public enum EmploymentType
    */
   FULL_TIME(1),
   /**
+   *
+   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -39,6 +61,8 @@ public enum EmploymentType
    */
   PART_TIME(2),
   /**
+   *
+   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -48,6 +72,8 @@ public enum EmploymentType
    */
   CONTRACTOR(3),
   /**
+   *
+   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -59,6 +85,8 @@ public enum EmploymentType
    */
   CONTRACT_TO_HIRE(4),
   /**
+   *
+   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -68,6 +96,8 @@ public enum EmploymentType
    */
   TEMPORARY(5),
   /**
+   *
+   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -78,6 +108,8 @@ public enum EmploymentType
    */
   INTERN(6),
   /**
+   *
+   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -87,6 +119,8 @@ public enum EmploymentType
    */
   VOLUNTEER(7),
   /**
+   *
+   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -96,6 +130,8 @@ public enum EmploymentType
    */
   PER_DIEM(8),
   /**
+   *
+   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -106,6 +142,8 @@ public enum EmploymentType
    */
   FLY_IN_FLY_OUT(9),
   /**
+   *
+   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -117,6 +155,8 @@ public enum EmploymentType ; /** + * + * *
    * The default value if the employment type isn't specified.
    * 
@@ -125,6 +165,8 @@ public enum EmploymentType */ public static final int EMPLOYMENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job requires working a number of hours that constitute full
    * time employment, typically 40 or more hours per week.
@@ -134,6 +176,8 @@ public enum EmploymentType
    */
   public static final int FULL_TIME_VALUE = 1;
   /**
+   *
+   *
    * 
    * The job entails working fewer hours than a full time job,
    * typically less than 40 hours a week.
@@ -143,6 +187,8 @@ public enum EmploymentType
    */
   public static final int PART_TIME_VALUE = 2;
   /**
+   *
+   *
    * 
    * The job is offered as a contracted, as opposed to a salaried employee,
    * position.
@@ -152,6 +198,8 @@ public enum EmploymentType
    */
   public static final int CONTRACTOR_VALUE = 3;
   /**
+   *
+   *
    * 
    * The job is offered as a contracted position with the understanding
    * that it's converted into a full-time position at the end of the
@@ -163,6 +211,8 @@ public enum EmploymentType
    */
   public static final int CONTRACT_TO_HIRE_VALUE = 4;
   /**
+   *
+   *
    * 
    * The job is offered as a temporary employment opportunity, usually
    * a short-term engagement.
@@ -172,6 +222,8 @@ public enum EmploymentType
    */
   public static final int TEMPORARY_VALUE = 5;
   /**
+   *
+   *
    * 
    * The job is a fixed-term opportunity for students or entry-level job
    * seekers to obtain on-the-job training, typically offered as a summer
@@ -182,6 +234,8 @@ public enum EmploymentType
    */
   public static final int INTERN_VALUE = 6;
   /**
+   *
+   *
    * 
    * The is an opportunity for an individual to volunteer, where there's no
    * expectation of compensation for the provided services.
@@ -191,6 +245,8 @@ public enum EmploymentType
    */
   public static final int VOLUNTEER_VALUE = 7;
   /**
+   *
+   *
    * 
    * The job requires an employee to work on an as-needed basis with a
    * flexible schedule.
@@ -200,6 +256,8 @@ public enum EmploymentType
    */
   public static final int PER_DIEM_VALUE = 8;
   /**
+   *
+   *
    * 
    * The job involves employing people in remote areas and flying them
    * temporarily to the work site instead of relocating employees and their
@@ -210,6 +268,8 @@ public enum EmploymentType
    */
   public static final int FLY_IN_FLY_OUT_VALUE = 9;
   /**
+   *
+   *
    * 
    * The job does not fit any of the other listed types.
    * 
@@ -218,7 +278,6 @@ public enum EmploymentType */ public static final int OTHER_EMPLOYMENT_TYPE_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -243,57 +302,65 @@ public static EmploymentType valueOf(int value) { */ public static EmploymentType forNumber(int value) { switch (value) { - case 0: return EMPLOYMENT_TYPE_UNSPECIFIED; - case 1: return FULL_TIME; - case 2: return PART_TIME; - case 3: return CONTRACTOR; - case 4: return CONTRACT_TO_HIRE; - case 5: return TEMPORARY; - case 6: return INTERN; - case 7: return VOLUNTEER; - case 8: return PER_DIEM; - case 9: return FLY_IN_FLY_OUT; - case 10: return OTHER_EMPLOYMENT_TYPE; - default: return null; + case 0: + return EMPLOYMENT_TYPE_UNSPECIFIED; + case 1: + return FULL_TIME; + case 2: + return PART_TIME; + case 3: + return CONTRACTOR; + case 4: + return CONTRACT_TO_HIRE; + case 5: + return TEMPORARY; + case 6: + return INTERN; + case 7: + return VOLUNTEER; + case 8: + return PER_DIEM; + case 9: + return FLY_IN_FLY_OUT; + case 10: + return OTHER_EMPLOYMENT_TYPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EmploymentType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EmploymentType findValueByNumber(int number) { - return EmploymentType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EmploymentType findValueByNumber(int number) { + return EmploymentType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(3); } private static final EmploymentType[] VALUES = values(); - public static EmploymentType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EmploymentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -309,4 +376,3 @@ private EmploymentType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.EmploymentType) } - diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java new file mode 100644 index 000000000000..9bf3bda85a3d --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java @@ -0,0 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/event.proto + +package com.google.cloud.talent.v4beta1; + +public final class EventProto { + private EventProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\'google/cloud/talent/v4beta1/event.prot" + + "o\022\033google.cloud.talent.v4beta1\032\037google/a" + + "pi/field_behavior.proto\032\037google/protobuf" + + "/timestamp.proto\"\310\001\n\013ClientEvent\022\022\n\nrequ" + + "est_id\030\001 \001(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013c" + + "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\002\022:\n\tjob_event\030\005 \001(\0132%.google.cl" + + "oud.talent.v4beta1.JobEventH\000\022\023\n\013event_n" + + "otes\030\t \001(\tB\007\n\005event\"\366\003\n\010JobEvent\022E\n\004type" + + "\030\001 \001(\01622.google.cloud.talent.v4beta1.Job" + + "Event.JobEventTypeB\003\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340" + + "A\002\022\017\n\007profile\030\003 \001(\t\"\376\002\n\014JobEventType\022\036\n\032" + + "JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSI" + + "ON\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APP" + + "LICATION_START\020\004\022\026\n\022APPLICATION_FINISH\020\005" + + "\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n\024AP" + + "PLICATION_REDIRECT\020\007\022!\n\035APPLICATION_STAR" + + "T_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRECT_" + + "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" + + "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" + + "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" + + "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" + + "\nEventProtoP\001ZAgoogle.golang.org/genprot" + + "o/googleapis/cloud/talent/v4beta1;talent" + + "\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor, + new java.lang.String[] { + "RequestId", "EventId", "CreateTime", "JobEvent", "EventNotes", "Event", + }); + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor, + new java.lang.String[] { + "Type", "Jobs", "Profile", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java new file mode 100644 index 000000000000..9aeec3907ff9 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java @@ -0,0 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/event_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class EventServiceProto { + private EventServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/talent/v4beta1/event_serv" + + "ice.proto\022\033google.cloud.talent.v4beta1\032\034" + + "google/api/annotations.proto\032\027google/api" + + "/client.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\'googl" + + "e/cloud/talent/v4beta1/event.proto\"\224\001\n\030C" + + "reateClientEventRequest\0223\n\006parent\030\001 \001(\tB" + + "#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022C\n\014" + + "client_event\030\002 \001(\0132(.google.cloud.talent" + + ".v4beta1.ClientEventB\003\340A\0022\372\002\n\014EventServi" + + "ce\022\373\001\n\021CreateClientEvent\0225.google.cloud." + + "talent.v4beta1.CreateClientEventRequest\032" + + "(.google.cloud.talent.v4beta1.ClientEven" + + "t\"\204\001\202\323\344\223\002h\"3/v4beta1/{parent=projects/*/" + + "tenants/*}/clientEvents:\001*Z.\")/v4beta1/{" + + "parent=projects/*}/clientEvents:\001*\332A\023par" + + "ent,client_event\032l\312A\023jobs.googleapis.com" + + "\322AShttps://www.googleapis.com/auth/cloud" + + "-platform,https://www.googleapis.com/aut" + + "h/jobsB\177\n\037com.google.cloud.talent.v4beta" + + "1B\021EventServiceProtoP\001ZAgoogle.golang.or" + + "g/genproto/googleapis/cloud/talent/v4bet" + + "a1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.EventProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor, + new java.lang.String[] { + "Parent", "ClientEvent", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.EventProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java new file mode 100644 index 000000000000..63e204fdce09 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java @@ -0,0 +1,194 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/filters.proto + +package com.google.cloud.talent.v4beta1; + +public final class FiltersProto { + private FiltersProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n)google/cloud/talent/v4beta1/filters.pr" + + "oto\022\033google.cloud.talent.v4beta1\032\037google" + + "/api/field_behavior.proto\032(google/cloud/" + + "talent/v4beta1/common.proto\032\036google/prot" + + "obuf/duration.proto\032\030google/type/latlng." + + "proto\032\033google/type/timeofday.proto\"\200\005\n\010J" + + "obQuery\022\r\n\005query\030\001 \001(\t\022\033\n\023query_language" + + "_code\030\016 \001(\t\022\021\n\tcompanies\030\002 \003(\t\022E\n\020locati" + + "on_filters\030\003 \003(\0132+.google.cloud.talent.v" + + "4beta1.LocationFilter\022@\n\016job_categories\030" + + "\004 \003(\0162(.google.cloud.talent.v4beta1.JobC" + + "ategory\022B\n\016commute_filter\030\005 \001(\0132*.google" + + ".cloud.talent.v4beta1.CommuteFilter\022\035\n\025c" + + "ompany_display_names\030\006 \003(\t\022L\n\023compensati" + + "on_filter\030\007 \001(\0132/.google.cloud.talent.v4" + + "beta1.CompensationFilter\022\037\n\027custom_attri" + + "bute_filter\030\010 \001(\t\022\033\n\023disable_spell_check" + + "\030\t \001(\010\022E\n\020employment_types\030\n \003(\0162+.googl" + + "e.cloud.talent.v4beta1.EmploymentType\022\026\n" + + "\016language_codes\030\013 \003(\t\022G\n\022publish_time_ra" + + "nge\030\014 \001(\0132+.google.cloud.talent.v4beta1." + + "TimestampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\203\003" + + "\n\016LocationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013reg" + + "ion_code\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google" + + ".type.LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022" + + "a\n\026telecommute_preference\030\005 \001(\0162A.google" + + ".cloud.talent.v4beta1.LocationFilter.Tel" + + "ecommutePreference\022\017\n\007negated\030\006 \001(\010\"\225\001\n\025" + + "TelecommutePreference\022&\n\"TELECOMMUTE_PRE" + + "FERENCE_UNSPECIFIED\020\000\022\034\n\024TELECOMMUTE_EXC" + + "LUDED\020\001\032\002\010\001\022\027\n\023TELECOMMUTE_ALLOWED\020\002\022\035\n\031" + + "TELECOMMUTE_JOBS_EXCLUDED\020\003\"\312\003\n\022Compensa" + + "tionFilter\022M\n\004type\030\001 \001(\0162:.google.cloud." + + "talent.v4beta1.CompensationFilter.Filter" + + "TypeB\003\340A\002\022R\n\005units\030\002 \003(\0162>.google.cloud." + + "talent.v4beta1.CompensationInfo.Compensa" + + "tionUnitB\003\340A\002\022N\n\005range\030\003 \001(\0132?.google.cl" + + "oud.talent.v4beta1.CompensationInfo.Comp" + + "ensationRange\0228\n0include_jobs_with_unspe" + + "cified_compensation_range\030\004 \001(\010\"\206\001\n\nFilt" + + "erType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n\tU" + + "NIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANNUA" + + "LIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTAL_" + + "AMOUNT\020\004\"\313\003\n\rCommuteFilter\022G\n\016commute_me" + + "thod\030\001 \001(\0162*.google.cloud.talent.v4beta1" + + ".CommuteMethodB\003\340A\002\0223\n\021start_coordinates" + + "\030\002 \001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017trav" + + "el_duration\030\003 \001(\0132\031.google.protobuf.Dura" + + "tionB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004" + + " \001(\010\022N\n\014road_traffic\030\005 \001(\01626.google.clou" + + "d.talent.v4beta1.CommuteFilter.RoadTraff" + + "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" + + "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" + + "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" + + "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" + + "ogle.cloud.talent.v4beta1B\014FiltersProtoP" + + "\001ZAgoogle.golang.org/genproto/googleapis" + + "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" + + "o3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.type.LatLngProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor, + new java.lang.String[] { + "Query", + "QueryLanguageCode", + "Companies", + "LocationFilters", + "JobCategories", + "CommuteFilter", + "CompanyDisplayNames", + "CompensationFilter", + "CustomAttributeFilter", + "DisableSpellCheck", + "EmploymentTypes", + "LanguageCodes", + "PublishTimeRange", + "ExcludedJobs", + }); + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor, + new java.lang.String[] { + "Address", + "RegionCode", + "LatLng", + "DistanceInMiles", + "TelecommutePreference", + "Negated", + }); + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor, + new java.lang.String[] { + "Type", "Units", "Range", "IncludeJobsWithUnspecifiedCompensationRange", + }); + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor, + new java.lang.String[] { + "CommuteMethod", + "StartCoordinates", + "TravelDuration", + "AllowImpreciseAddresses", + "RoadTraffic", + "DepartureTime", + "TrafficOption", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.type.LatLngProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java index d471a20719f4..d384369e9a71 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Request for getting a company by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetCompanyRequest} */ -public final class GetCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetCompanyRequest) GetCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCompanyRequest.newBuilder() to construct. private GetCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCompanyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetCompanyRequest.class, com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetCompanyRequest.class, + com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/api-test-project/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -86,17 +111,18 @@ public java.lang.String getName() {
    * example, "projects/api-test-project/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetCompanyRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetCompanyRequest other = (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; + com.google.cloud.talent.v4beta1.GetCompanyRequest other = + (com.google.cloud.talent.v4beta1.GetCompanyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -169,129 +195,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetCompanyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetCompanyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for getting a company by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetCompanyRequest) com.google.cloud.talent.v4beta1.GetCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetCompanyRequest.class, com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetCompanyRequest.class, + com.google.cloud.talent.v4beta1.GetCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetCompanyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; } @java.lang.Override @@ -322,7 +354,8 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetCompanyRequest result = new com.google.cloud.talent.v4beta1.GetCompanyRequest(this); + com.google.cloud.talent.v4beta1.GetCompanyRequest result = + new com.google.cloud.talent.v4beta1.GetCompanyRequest(this); result.name_ = name_; onBuilt(); return result; @@ -332,38 +365,39 @@ public com.google.cloud.talent.v4beta1.GetCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -371,7 +405,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.GetCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -402,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,6 +462,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -434,14 +473,16 @@ public Builder mergeFrom(
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,6 +491,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -459,16 +502,17 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +520,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -485,21 +531,25 @@ public java.lang.String getName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -509,16 +559,21 @@ public Builder setName(
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company to be retrieved.
      * The format is
@@ -528,24 +583,26 @@ public Builder clearName() {
      * example, "projects/api-test-project/companies/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetCompanyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetCompanyRequest) private static final com.google.cloud.talent.v4beta1.GetCompanyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetCompanyRequest(); } @@ -569,27 +626,27 @@ public static com.google.cloud.talent.v4beta1.GetCompanyRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompanyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompanyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetCompanyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java index 3a8a56e7aeef..dae7329e9b4e 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetCompanyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface GetCompanyRequestOrBuilder extends +public interface GetCompanyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetCompanyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -17,11 +35,16 @@ public interface GetCompanyRequestOrBuilder extends
    * example, "projects/api-test-project/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the company to be retrieved.
    * The format is
@@ -31,9 +54,11 @@ public interface GetCompanyRequestOrBuilder extends
    * example, "projects/api-test-project/companies/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java similarity index 64% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java index 775d81b8b0cd..941e441a4012 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequest.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Get job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetJobRequest} */ -public final class GetJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetJobRequest) GetJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetJobRequest.class, com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetJobRequest.class, + com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -86,17 +111,18 @@ public java.lang.String getName() {
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -105,6 +131,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -141,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetJobRequest other = (com.google.cloud.talent.v4beta1.GetJobRequest) obj; + com.google.cloud.talent.v4beta1.GetJobRequest other = + (com.google.cloud.talent.v4beta1.GetJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,130 +194,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Get job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetJobRequest) com.google.cloud.talent.v4beta1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetJobRequest.class, com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetJobRequest.class, + com.google.cloud.talent.v4beta1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; } @java.lang.Override @@ -322,7 +354,8 @@ public com.google.cloud.talent.v4beta1.GetJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetJobRequest result = new com.google.cloud.talent.v4beta1.GetJobRequest(this); + com.google.cloud.talent.v4beta1.GetJobRequest result = + new com.google.cloud.talent.v4beta1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -332,38 +365,39 @@ public com.google.cloud.talent.v4beta1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetJobRequest) other); } else { super.mergeFrom(other); return this; @@ -402,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,6 +461,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -434,14 +472,16 @@ public Builder mergeFrom(
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,6 +490,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -459,16 +501,17 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -476,6 +519,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -485,21 +530,25 @@ public java.lang.String getName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -509,16 +558,21 @@ public Builder setName(
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the job to retrieve.
      * The format is
@@ -528,24 +582,26 @@ public Builder clearName() {
      * example, "projects/foo/jobs/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetJobRequest) private static final com.google.cloud.talent.v4beta1.GetJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetJobRequest(); } @@ -569,27 +625,27 @@ public static com.google.cloud.talent.v4beta1.GetJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +660,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java index e3a789068a5a..9c20b03e4b69 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface GetJobRequestOrBuilder extends +public interface GetJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -17,11 +35,16 @@ public interface GetJobRequestOrBuilder extends
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of the job to retrieve.
    * The format is
@@ -31,9 +54,11 @@ public interface GetJobRequestOrBuilder extends
    * example, "projects/foo/jobs/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java similarity index 62% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java index 335a40231447..dc3d1907304c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Request for getting a tenant by name.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest} */ -public final class GetTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.GetTenantRequest) GetTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTenantRequest.newBuilder() to construct. private GetTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTenantRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetTenantRequest.class, com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetTenantRequest.class, + com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -66,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to be retrieved.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    * "projects/foo/tenants/bar".
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.GetTenantRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.GetTenantRequest other = (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; + com.google.cloud.talent.v4beta1.GetTenantRequest other = + (com.google.cloud.talent.v4beta1.GetTenantRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,130 +188,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.GetTenantRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.GetTenantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for getting a tenant by name.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.GetTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.GetTenantRequest) com.google.cloud.talent.v4beta1.GetTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.GetTenantRequest.class, com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.GetTenantRequest.class, + com.google.cloud.talent.v4beta1.GetTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.GetTenantRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; } @java.lang.Override @@ -316,7 +348,8 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.GetTenantRequest result = new com.google.cloud.talent.v4beta1.GetTenantRequest(this); + com.google.cloud.talent.v4beta1.GetTenantRequest result = + new com.google.cloud.talent.v4beta1.GetTenantRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.cloud.talent.v4beta1.GetTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.GetTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.GetTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.GetTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -365,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.GetTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -396,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +456,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -441,22 +482,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -464,67 +508,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to be retrieved.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
      * "projects/foo/tenants/bar".
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -534,12 +591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.GetTenantRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.GetTenantRequest) private static final com.google.cloud.talent.v4beta1.GetTenantRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.GetTenantRequest(); } @@ -548,27 +605,27 @@ public static com.google.cloud.talent.v4beta1.GetTenantRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTenantRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTenantRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.GetTenantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java new file mode 100644 index 000000000000..7fb3e7cb4811 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public interface GetTenantRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetTenantRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the tenant to be retrieved.
+   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
+   * "projects/foo/tenants/bar".
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java new file mode 100644 index 000000000000..c036e0f5d115 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/histogram.proto + +package com.google.cloud.talent.v4beta1; + +public final class HistogramProto { + private HistogramProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/talent/v4beta1/histogram." + + "proto\022\033google.cloud.talent.v4beta1\")\n\016Hi" + + "stogramQuery\022\027\n\017histogram_query\030\001 \001(\t\"\266\001" + + "\n\024HistogramQueryResult\022\027\n\017histogram_quer" + + "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" + + "d.talent.v4beta1.HistogramQueryResult.Hi" + + "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" + + "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor, + new java.lang.String[] { + "HistogramQuery", + }); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor, + new java.lang.String[] { + "HistogramQuery", "Histogram", + }); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java similarity index 69% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java index 216804e4f60e..dd6c694716e5 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQuery.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The histogram request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQuery} */ -public final class HistogramQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HistogramQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.HistogramQuery) HistogramQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HistogramQuery.newBuilder() to construct. private HistogramQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HistogramQuery() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HistogramQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQuery.class, com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQuery.class, + com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** + * + * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ @java.lang.Override @@ -67,14 +89,15 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** + * + * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -83,16 +106,15 @@ public java.lang.String getHistogramQuery() {
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -101,6 +123,7 @@ public java.lang.String getHistogramQuery() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_); } @@ -137,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.HistogramQuery)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.HistogramQuery other = (com.google.cloud.talent.v4beta1.HistogramQuery) obj; + com.google.cloud.talent.v4beta1.HistogramQuery other = + (com.google.cloud.talent.v4beta1.HistogramQuery) obj; - if (!getHistogramQuery() - .equals(other.getHistogramQuery())) return false; + if (!getHistogramQuery().equals(other.getHistogramQuery())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,130 +186,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.HistogramQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.HistogramQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The histogram request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.HistogramQuery) com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQuery.class, com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQuery.class, + com.google.cloud.talent.v4beta1.HistogramQuery.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.HistogramQuery.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; } @java.lang.Override @@ -318,7 +346,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery build() { @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { - com.google.cloud.talent.v4beta1.HistogramQuery result = new com.google.cloud.talent.v4beta1.HistogramQuery(this); + com.google.cloud.talent.v4beta1.HistogramQuery result = + new com.google.cloud.talent.v4beta1.HistogramQuery(this); result.histogramQuery_ = histogramQuery_; onBuilt(); return result; @@ -328,38 +357,39 @@ public com.google.cloud.talent.v4beta1.HistogramQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.HistogramQuery) { - return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQuery)other); + return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQuery) other); } else { super.mergeFrom(other); return this; @@ -398,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,6 +453,8 @@ public Builder mergeFrom( private java.lang.Object histogramQuery_ = ""; /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -429,13 +463,13 @@ public Builder mergeFrom(
      * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -444,6 +478,8 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -452,15 +488,14 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -468,6 +503,8 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -476,20 +513,22 @@ public java.lang.String getHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery( - java.lang.String value) { + public Builder setHistogramQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -498,15 +537,18 @@ public Builder setHistogramQuery(
      * 
* * string histogram_query = 1; + * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** + * + * *
      * An expression specifies a histogram request against matching resources
      * (for example, jobs, profiles) for searches.
@@ -515,23 +557,23 @@ public Builder clearHistogramQuery() {
      * 
* * string histogram_query = 1; + * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,12 +583,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.HistogramQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.HistogramQuery) private static final com.google.cloud.talent.v4beta1.HistogramQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.HistogramQuery(); } @@ -555,27 +597,27 @@ public static com.google.cloud.talent.v4beta1.HistogramQuery getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HistogramQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HistogramQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +632,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.HistogramQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java similarity index 64% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java index 2b6d25a54ccb..5f6869b8e4fe 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; -public interface HistogramQueryOrBuilder extends +public interface HistogramQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.HistogramQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -16,10 +34,13 @@ public interface HistogramQueryOrBuilder extends
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** + * + * *
    * An expression specifies a histogram request against matching resources
    * (for example, jobs, profiles) for searches.
@@ -28,8 +49,8 @@ public interface HistogramQueryOrBuilder extends
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString - getHistogramQueryBytes(); + com.google.protobuf.ByteString getHistogramQueryBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java similarity index 66% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java index 582bf0b6587b..6ac148470011 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResult.java @@ -1,73 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/histogram.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Histogram result that matches [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in searches.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQueryResult} */ -public final class HistogramQueryResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HistogramQueryResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.HistogramQueryResult) HistogramQueryResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HistogramQueryResult.newBuilder() to construct. private HistogramQueryResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HistogramQueryResult() { histogramQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HistogramQueryResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQueryResult.class, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQueryResult.class, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); } public static final int HISTOGRAM_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object histogramQuery_; /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ @java.lang.Override @@ -76,29 +97,29 @@ public java.lang.String getHistogramQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; } } /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -107,24 +128,23 @@ public java.lang.String getHistogramQuery() { } public static final int HISTOGRAM_FIELD_NUMBER = 2; + private static final class HistogramDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.Long> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.INT64, - 0L); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> histogram_; - private com.google.protobuf.MapField - internalGetHistogram() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.INT64, + 0L); + } + + private com.google.protobuf.MapField histogram_; + + private com.google.protobuf.MapField internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } @@ -133,6 +153,8 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** + * + * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -146,22 +168,22 @@ public int getHistogramCount() {
    *
    * map<string, int64> histogram = 2;
    */
-
   @java.lang.Override
-  public boolean containsHistogram(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHistogram(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHistogram().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHistogramMap()} instead.
-   */
+  /** Use {@link #getHistogramMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHistogram() {
     return getHistogramMap();
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -176,11 +198,12 @@ public java.util.Map getHistogram() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
   public java.util.Map getHistogramMap() {
     return internalGetHistogram().getMap();
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -195,16 +218,16 @@ public java.util.Map getHistogramMap() {
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
-  public long getHistogramOrDefault(
-      java.lang.String key,
-      long defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHistogram().getMap();
+  public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHistogram().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -219,12 +242,11 @@ public long getHistogramOrDefault(
    * map<string, int64> histogram = 2;
    */
   @java.lang.Override
-
-  public long getHistogramOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHistogram().getMap();
+  public long getHistogramOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHistogram().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -232,6 +254,7 @@ public long getHistogramOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -243,17 +266,12 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, histogramQuery_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHistogram(),
-        HistogramDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHistogram(), HistogramDefaultEntryHolder.defaultEntry, 2);
     getUnknownFields().writeTo(output);
   }
 
@@ -266,15 +284,15 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(histogramQuery_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, histogramQuery_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHistogram().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      histogram__ = HistogramDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, histogram__);
+    for (java.util.Map.Entry entry :
+        internalGetHistogram().getMap().entrySet()) {
+      com.google.protobuf.MapEntry histogram__ =
+          HistogramDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, histogram__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -284,17 +302,16 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.HistogramQueryResult)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.HistogramQueryResult other = (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj;
+    com.google.cloud.talent.v4beta1.HistogramQueryResult other =
+        (com.google.cloud.talent.v4beta1.HistogramQueryResult) obj;
 
-    if (!getHistogramQuery()
-        .equals(other.getHistogramQuery())) return false;
-    if (!internalGetHistogram().equals(
-        other.internalGetHistogram())) return false;
+    if (!getHistogramQuery().equals(other.getHistogramQuery())) return false;
+    if (!internalGetHistogram().equals(other.internalGetHistogram())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -318,151 +335,155 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.HistogramQueryResult parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.HistogramQueryResult prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Histogram result that matches [HistogramQuery][google.cloud.talent.v4beta1.HistogramQuery] specified in searches.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.HistogramQueryResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.HistogramQueryResult) com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 2: return internalGetHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableHistogram(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.HistogramQueryResult.class, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); + com.google.cloud.talent.v4beta1.HistogramQueryResult.class, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.HistogramQueryResult.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.HistogramProto.internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.HistogramProto + .internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; } @java.lang.Override @@ -494,7 +515,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult build() { @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { - com.google.cloud.talent.v4beta1.HistogramQueryResult result = new com.google.cloud.talent.v4beta1.HistogramQueryResult(this); + com.google.cloud.talent.v4beta1.HistogramQueryResult result = + new com.google.cloud.talent.v4beta1.HistogramQueryResult(this); int from_bitField0_ = bitField0_; result.histogramQuery_ = histogramQuery_; result.histogram_ = internalGetHistogram(); @@ -507,38 +529,39 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.HistogramQueryResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQueryResult)other); + return mergeFrom((com.google.cloud.talent.v4beta1.HistogramQueryResult) other); } else { super.mergeFrom(other); return this; @@ -546,13 +569,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.HistogramQueryResult other) { - if (other == com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()) + return this; if (!other.getHistogramQuery().isEmpty()) { histogramQuery_ = other.histogramQuery_; onChanged(); } - internalGetMutableHistogram().mergeFrom( - other.internalGetHistogram()); + internalGetMutableHistogram().mergeFrom(other.internalGetHistogram()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -579,25 +602,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - histogramQuery_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - com.google.protobuf.MapEntry - histogram__ = input.readMessage( - HistogramDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableHistogram().getMutableMap().put( - histogram__.getKey(), histogram__.getValue()); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + histogramQuery_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + com.google.protobuf.MapEntry histogram__ = + input.readMessage( + HistogramDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableHistogram() + .getMutableMap() + .put(histogram__.getKey(), histogram__.getValue()); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,22 +635,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object histogramQuery_ = ""; /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ public java.lang.String getHistogramQuery() { java.lang.Object ref = histogramQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); histogramQuery_ = s; return s; @@ -631,20 +662,21 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - public com.google.protobuf.ByteString - getHistogramQueryBytes() { + public com.google.protobuf.ByteString getHistogramQueryBytes() { java.lang.Object ref = histogramQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); histogramQuery_ = b; return b; } else { @@ -652,75 +684,82 @@ public java.lang.String getHistogramQuery() { } } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @param value The histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQuery( - java.lang.String value) { + public Builder setHistogramQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + histogramQuery_ = value; onChanged(); return this; } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @return This builder for chaining. */ public Builder clearHistogramQuery() { - + histogramQuery_ = getDefaultInstance().getHistogramQuery(); onChanged(); return this; } /** + * + * *
      * Requested histogram expression.
      * 
* * string histogram_query = 1; + * * @param value The bytes for histogramQuery to set. * @return This builder for chaining. */ - public Builder setHistogramQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setHistogramQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + histogramQuery_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.Long> histogram_; - private com.google.protobuf.MapField - internalGetHistogram() { + private com.google.protobuf.MapField histogram_; + + private com.google.protobuf.MapField internalGetHistogram() { if (histogram_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HistogramDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HistogramDefaultEntryHolder.defaultEntry); } return histogram_; } + private com.google.protobuf.MapField - internalGetMutableHistogram() { - onChanged();; + internalGetMutableHistogram() { + onChanged(); + ; if (histogram_ == null) { - histogram_ = com.google.protobuf.MapField.newMapField( - HistogramDefaultEntryHolder.defaultEntry); + histogram_ = + com.google.protobuf.MapField.newMapField(HistogramDefaultEntryHolder.defaultEntry); } if (!histogram_.isMutable()) { histogram_ = histogram_.copy(); @@ -732,6 +771,8 @@ public int getHistogramCount() { return internalGetHistogram().getMap().size(); } /** + * + * *
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -745,22 +786,22 @@ public int getHistogramCount() {
      *
      * map<string, int64> histogram = 2;
      */
-
     @java.lang.Override
-    public boolean containsHistogram(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHistogram(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHistogram().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHistogramMap()} instead.
-     */
+    /** Use {@link #getHistogramMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHistogram() {
       return getHistogramMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -775,11 +816,12 @@ public java.util.Map getHistogram() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
     public java.util.Map getHistogramMap() {
       return internalGetHistogram().getMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -794,16 +836,16 @@ public java.util.Map getHistogramMap() {
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
-    public long getHistogramOrDefault(
-        java.lang.String key,
-        long defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHistogram().getMap();
+    public long getHistogramOrDefault(java.lang.String key, long defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHistogram().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -818,12 +860,11 @@ public long getHistogramOrDefault(
      * map<string, int64> histogram = 2;
      */
     @java.lang.Override
-
-    public long getHistogramOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHistogram().getMap();
+    public long getHistogramOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHistogram().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -831,11 +872,12 @@ public long getHistogramOrThrow(
     }
 
     public Builder clearHistogram() {
-      internalGetMutableHistogram().getMutableMap()
-          .clear();
+      internalGetMutableHistogram().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -849,23 +891,21 @@ public Builder clearHistogram() {
      *
      * map<string, int64> histogram = 2;
      */
-
-    public Builder removeHistogram(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHistogram().getMutableMap()
-          .remove(key);
+    public Builder removeHistogram(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHistogram().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHistogram() {
+    public java.util.Map getMutableHistogram() {
       return internalGetMutableHistogram().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -879,16 +919,17 @@ public Builder removeHistogram(
      *
      * map<string, int64> histogram = 2;
      */
-    public Builder putHistogram(
-        java.lang.String key,
-        long value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      
-      internalGetMutableHistogram().getMutableMap()
-          .put(key, value);
+    public Builder putHistogram(java.lang.String key, long value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+
+      internalGetMutableHistogram().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map from the values of the facet associated with distinct values to the
      * number of matching entries with corresponding value.
@@ -902,16 +943,13 @@ public Builder putHistogram(
      *
      * map<string, int64> histogram = 2;
      */
-
-    public Builder putAllHistogram(
-        java.util.Map values) {
-      internalGetMutableHistogram().getMutableMap()
-          .putAll(values);
+    public Builder putAllHistogram(java.util.Map values) {
+      internalGetMutableHistogram().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -921,12 +959,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.HistogramQueryResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.HistogramQueryResult)
   private static final com.google.cloud.talent.v4beta1.HistogramQueryResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.HistogramQueryResult();
   }
@@ -935,27 +973,27 @@ public static com.google.cloud.talent.v4beta1.HistogramQueryResult getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HistogramQueryResult parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HistogramQueryResult parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -970,6 +1008,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.HistogramQueryResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
index 35045e571b0f..1aebca305fb1 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramQueryResultOrBuilder.java
@@ -1,33 +1,56 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/histogram.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface HistogramQueryResultOrBuilder extends
+public interface HistogramQueryResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.HistogramQueryResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The histogramQuery. */ java.lang.String getHistogramQuery(); /** + * + * *
    * Requested histogram expression.
    * 
* * string histogram_query = 1; + * * @return The bytes for histogramQuery. */ - com.google.protobuf.ByteString - getHistogramQueryBytes(); + com.google.protobuf.ByteString getHistogramQueryBytes(); /** + * + * *
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -43,6 +66,8 @@ public interface HistogramQueryResultOrBuilder extends
    */
   int getHistogramCount();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -56,15 +81,13 @@ public interface HistogramQueryResultOrBuilder extends
    *
    * map<string, int64> histogram = 2;
    */
-  boolean containsHistogram(
-      java.lang.String key);
-  /**
-   * Use {@link #getHistogramMap()} instead.
-   */
+  boolean containsHistogram(java.lang.String key);
+  /** Use {@link #getHistogramMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHistogram();
+  java.util.Map getHistogram();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -78,9 +101,10 @@ boolean containsHistogram(
    *
    * map<string, int64> histogram = 2;
    */
-  java.util.Map
-  getHistogramMap();
+  java.util.Map getHistogramMap();
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -94,11 +118,10 @@ boolean containsHistogram(
    *
    * map<string, int64> histogram = 2;
    */
-
-  long getHistogramOrDefault(
-      java.lang.String key,
-      long defaultValue);
+  long getHistogramOrDefault(java.lang.String key, long defaultValue);
   /**
+   *
+   *
    * 
    * A map from the values of the facet associated with distinct values to the
    * number of matching entries with corresponding value.
@@ -112,7 +135,5 @@ long getHistogramOrDefault(
    *
    * map<string, int64> histogram = 2;
    */
-
-  long getHistogramOrThrow(
-      java.lang.String key);
+  long getHistogramOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
similarity index 68%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
index 63c0406d239b..1ba1e845509d 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HtmlSanitization.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Option for HTML content sanitization on user input fields, for example, job
  * description. By setting this option, user can determine whether and how
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.HtmlSanitization}
  */
-public enum HtmlSanitization
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum HtmlSanitization implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -23,6 +41,8 @@ public enum HtmlSanitization */ HTML_SANITIZATION_UNSPECIFIED(0), /** + * + * *
    * Disables sanitization on HTML input.
    * 
@@ -31,6 +51,8 @@ public enum HtmlSanitization */ HTML_SANITIZATION_DISABLED(1), /** + * + * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -43,6 +65,8 @@ public enum HtmlSanitization
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -51,6 +75,8 @@ public enum HtmlSanitization */ public static final int HTML_SANITIZATION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Disables sanitization on HTML input.
    * 
@@ -59,6 +85,8 @@ public enum HtmlSanitization */ public static final int HTML_SANITIZATION_DISABLED_VALUE = 1; /** + * + * *
    * Sanitizes HTML input, only accepts bold, italic, ordered list, and
    * unordered list markup tags.
@@ -68,7 +96,6 @@ public enum HtmlSanitization
    */
   public static final int SIMPLE_FORMATTING_ONLY_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -93,49 +120,49 @@ public static HtmlSanitization valueOf(int value) {
    */
   public static HtmlSanitization forNumber(int value) {
     switch (value) {
-      case 0: return HTML_SANITIZATION_UNSPECIFIED;
-      case 1: return HTML_SANITIZATION_DISABLED;
-      case 2: return SIMPLE_FORMATTING_ONLY;
-      default: return null;
+      case 0:
+        return HTML_SANITIZATION_UNSPECIFIED;
+      case 1:
+        return HTML_SANITIZATION_DISABLED;
+      case 2:
+        return SIMPLE_FORMATTING_ONLY;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      HtmlSanitization> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public HtmlSanitization findValueByNumber(int number) {
-            return HtmlSanitization.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public HtmlSanitization findValueByNumber(int number) {
+          return HtmlSanitization.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(8);
   }
 
   private static final HtmlSanitization[] VALUES = values();
 
-  public static HtmlSanitization valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static HtmlSanitization valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -151,4 +178,3 @@ private HtmlSanitization(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.HtmlSanitization)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
similarity index 80%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
index 62250d83d94b..eb75c3c3d5dc 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Job.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * A Job resource represents a job posting (also referred to as a "job listing"
  * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Job}
  */
-public final class Job extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Job extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job)
     JobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Job() {
     name_ = "";
     company_ = "";
@@ -44,46 +62,49 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.JobResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 10:
         return internalGetCustomAttributes();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.JobResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Job.class, com.google.cloud.talent.v4beta1.Job.Builder.class);
+            com.google.cloud.talent.v4beta1.Job.class,
+            com.google.cloud.talent.v4beta1.Job.Builder.class);
   }
 
-  public interface ApplicationInfoOrBuilder extends
+  public interface ApplicationInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ApplicationInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -91,11 +112,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - java.util.List - getEmailsList(); + java.util.List getEmailsList(); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -103,10 +126,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @return The count of emails. */ int getEmailsCount(); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -114,11 +140,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ java.lang.String getEmails(int index); /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -126,13 +155,15 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - com.google.protobuf.ByteString - getEmailsBytes(int index); + com.google.protobuf.ByteString getEmailsBytes(int index); /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -142,10 +173,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * string instruction = 2; + * * @return The instruction. */ java.lang.String getInstruction(); /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -155,12 +189,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * string instruction = 2; + * * @return The bytes for instruction. */ - com.google.protobuf.ByteString - getInstructionBytes(); + com.google.protobuf.ByteString getInstructionBytes(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -168,11 +204,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -180,10 +218,13 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -191,11 +232,14 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -203,28 +247,31 @@ public interface ApplicationInfoOrBuilder extends
      * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); } /** + * + * *
    * Application related details of a job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo} */ - public static final class ApplicationInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ApplicationInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo) ApplicationInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ApplicationInfo.newBuilder() to construct. private ApplicationInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ApplicationInfo() { emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; instruction_ = ""; @@ -233,32 +280,35 @@ private ApplicationInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ApplicationInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); } public static final int EMAILS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList emails_; /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -266,13 +316,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList - getEmailsList() { + public com.google.protobuf.ProtocolStringList getEmailsList() { return emails_; } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -280,12 +332,15 @@ protected java.lang.Object newInstance(
      * 
* * repeated string emails = 1; + * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -293,6 +348,7 @@ public int getEmailsCount() {
      * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -300,6 +356,8 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** + * + * *
      * Use this field to specify email address(es) to which resumes or
      * applications can be sent.
@@ -307,17 +365,19 @@ public java.lang.String getEmails(int index) {
      * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString - getEmailsBytes(int index) { + public com.google.protobuf.ByteString getEmailsBytes(int index) { return emails_.getByteString(index); } public static final int INSTRUCTION_FIELD_NUMBER = 2; private volatile java.lang.Object instruction_; /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -327,6 +387,7 @@ public java.lang.String getEmails(int index) {
      * 
* * string instruction = 2; + * * @return The instruction. */ @java.lang.Override @@ -335,14 +396,15 @@ public java.lang.String getInstruction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; } } /** + * + * *
      * Use this field to provide instructions, such as "Mail your application
      * to ...", that a candidate can follow to apply for the job.
@@ -352,16 +414,15 @@ public java.lang.String getInstruction() {
      * 
* * string instruction = 2; + * * @return The bytes for instruction. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstructionBytes() { + public com.google.protobuf.ByteString getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instruction_ = b; return b; } else { @@ -372,6 +433,8 @@ public java.lang.String getInstruction() { public static final int URIS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uris_; /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -379,13 +442,15 @@ public java.lang.String getInstruction() {
      * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -393,12 +458,15 @@ public java.lang.String getInstruction() {
      * 
* * repeated string uris = 3; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -406,6 +474,7 @@ public int getUrisCount() {
      * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -413,6 +482,8 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Use this URI field to direct an applicant to a website, for example to
      * link to an online application form.
@@ -420,15 +491,16 @@ public java.lang.String getUris(int index) {
      * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -440,8 +512,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < emails_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emails_.getRaw(i)); } @@ -487,19 +558,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; + com.google.cloud.talent.v4beta1.Job.ApplicationInfo other = + (com.google.cloud.talent.v4beta1.Job.ApplicationInfo) obj; - if (!getEmailsList() - .equals(other.getEmailsList())) return false; - if (!getInstruction() - .equals(other.getInstruction())) return false; - if (!getUrisList() - .equals(other.getUrisList())) return false; + if (!getEmailsList().equals(other.getEmailsList())) return false; + if (!getInstruction().equals(other.getInstruction())) return false; + if (!getUrisList().equals(other.getUrisList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -527,87 +596,94 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.Job.ApplicationInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -617,39 +693,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Application related details of a job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ApplicationInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ApplicationInfo) com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.class, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -663,9 +741,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; } @java.lang.Override @@ -684,7 +762,8 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { - com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo result = + new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { emails_ = emails_.getUnmodifiableView(); @@ -705,38 +784,41 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.ApplicationInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.ApplicationInfo) other); } else { super.mergeFrom(other); return this; @@ -744,7 +826,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ApplicationInfo other) { - if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance()) + return this; if (!other.emails_.isEmpty()) { if (emails_.isEmpty()) { emails_ = other.emails_; @@ -795,29 +878,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureEmailsIsMutable(); - emails_.add(s); - break; - } // case 10 - case 18: { - instruction_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUrisIsMutable(); - uris_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureEmailsIsMutable(); + emails_.add(s); + break; + } // case 10 + case 18: + { + instruction_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUrisIsMutable(); + uris_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -827,16 +914,21 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList emails_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList emails_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureEmailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { emails_ = new com.google.protobuf.LazyStringArrayList(emails_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -844,13 +936,15 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; + * * @return A list containing the emails. */ - public com.google.protobuf.ProtocolStringList - getEmailsList() { + public com.google.protobuf.ProtocolStringList getEmailsList() { return emails_.getUnmodifiableView(); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -858,12 +952,15 @@ private void ensureEmailsIsMutable() {
        * 
* * repeated string emails = 1; + * * @return The count of emails. */ public int getEmailsCount() { return emails_.size(); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -871,6 +968,7 @@ public int getEmailsCount() {
        * 
* * repeated string emails = 1; + * * @param index The index of the element to return. * @return The emails at the given index. */ @@ -878,6 +976,8 @@ public java.lang.String getEmails(int index) { return emails_.get(index); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -885,14 +985,16 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; + * * @param index The index of the value to return. * @return The bytes of the emails at the given index. */ - public com.google.protobuf.ByteString - getEmailsBytes(int index) { + public com.google.protobuf.ByteString getEmailsBytes(int index) { return emails_.getByteString(index); } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -900,21 +1002,23 @@ public java.lang.String getEmails(int index) {
        * 
* * repeated string emails = 1; + * * @param index The index to set the value at. * @param value The emails to set. * @return This builder for chaining. */ - public Builder setEmails( - int index, java.lang.String value) { + public Builder setEmails(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.set(index, value); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -922,20 +1026,22 @@ public Builder setEmails(
        * 
* * repeated string emails = 1; + * * @param value The emails to add. * @return This builder for chaining. */ - public Builder addEmails( - java.lang.String value) { + public Builder addEmails(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureEmailsIsMutable(); + throw new NullPointerException(); + } + ensureEmailsIsMutable(); emails_.add(value); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -943,18 +1049,19 @@ public Builder addEmails(
        * 
* * repeated string emails = 1; + * * @param values The emails to add. * @return This builder for chaining. */ - public Builder addAllEmails( - java.lang.Iterable values) { + public Builder addAllEmails(java.lang.Iterable values) { ensureEmailsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, emails_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, emails_); onChanged(); return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -962,6 +1069,7 @@ public Builder addAllEmails(
        * 
* * repeated string emails = 1; + * * @return This builder for chaining. */ public Builder clearEmails() { @@ -971,6 +1079,8 @@ public Builder clearEmails() { return this; } /** + * + * *
        * Use this field to specify email address(es) to which resumes or
        * applications can be sent.
@@ -978,15 +1088,15 @@ public Builder clearEmails() {
        * 
* * repeated string emails = 1; + * * @param value The bytes of the emails to add. * @return This builder for chaining. */ - public Builder addEmailsBytes( - com.google.protobuf.ByteString value) { + public Builder addEmailsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureEmailsIsMutable(); emails_.add(value); onChanged(); @@ -995,6 +1105,8 @@ public Builder addEmailsBytes( private java.lang.Object instruction_ = ""; /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1004,13 +1116,13 @@ public Builder addEmailsBytes(
        * 
* * string instruction = 2; + * * @return The instruction. */ public java.lang.String getInstruction() { java.lang.Object ref = instruction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instruction_ = s; return s; @@ -1019,6 +1131,8 @@ public java.lang.String getInstruction() { } } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1028,15 +1142,14 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; + * * @return The bytes for instruction. */ - public com.google.protobuf.ByteString - getInstructionBytes() { + public com.google.protobuf.ByteString getInstructionBytes() { java.lang.Object ref = instruction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instruction_ = b; return b; } else { @@ -1044,6 +1157,8 @@ public java.lang.String getInstruction() { } } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1053,20 +1168,22 @@ public java.lang.String getInstruction() {
        * 
* * string instruction = 2; + * * @param value The instruction to set. * @return This builder for chaining. */ - public Builder setInstruction( - java.lang.String value) { + public Builder setInstruction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instruction_ = value; onChanged(); return this; } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1076,15 +1193,18 @@ public Builder setInstruction(
        * 
* * string instruction = 2; + * * @return This builder for chaining. */ public Builder clearInstruction() { - + instruction_ = getDefaultInstance().getInstruction(); onChanged(); return this; } /** + * + * *
        * Use this field to provide instructions, such as "Mail your application
        * to ...", that a candidate can follow to apply for the job.
@@ -1094,29 +1214,33 @@ public Builder clearInstruction() {
        * 
* * string instruction = 2; + * * @param value The bytes for instruction to set. * @return This builder for chaining. */ - public Builder setInstructionBytes( - com.google.protobuf.ByteString value) { + public Builder setInstructionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instruction_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1124,13 +1248,15 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1138,12 +1264,15 @@ private void ensureUrisIsMutable() {
        * 
* * repeated string uris = 3; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1151,6 +1280,7 @@ public int getUrisCount() {
        * 
* * repeated string uris = 3; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -1158,6 +1288,8 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1165,14 +1297,16 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1180,21 +1314,23 @@ public java.lang.String getUris(int index) {
        * 
* * repeated string uris = 3; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1202,20 +1338,22 @@ public Builder setUris(
        * 
* * repeated string uris = 3; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1223,18 +1361,19 @@ public Builder addUris(
        * 
* * repeated string uris = 3; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1242,6 +1381,7 @@ public Builder addAllUris(
        * 
* * repeated string uris = 3; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -1251,6 +1391,8 @@ public Builder clearUris() { return this; } /** + * + * *
        * Use this URI field to direct an applicant to a website, for example to
        * link to an online application form.
@@ -1258,20 +1400,21 @@ public Builder clearUris() {
        * 
* * repeated string uris = 3; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1284,12 +1427,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ApplicationInfo) private static final com.google.cloud.talent.v4beta1.Job.ApplicationInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ApplicationInfo(); } @@ -1298,27 +1441,28 @@ public static com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ApplicationInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplicationInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1333,14 +1477,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DerivedInfoOrBuilder extends + public interface DerivedInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.DerivedInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1349,9 +1495,10 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    java.util.List 
-        getLocationsList();
+    java.util.List getLocationsList();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1362,6 +1509,8 @@ public interface DerivedInfoOrBuilder extends
      */
     com.google.cloud.talent.v4beta1.Location getLocations(int index);
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1372,6 +1521,8 @@ public interface DerivedInfoOrBuilder extends
      */
     int getLocationsCount();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1380,9 +1531,11 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    java.util.List 
+    java.util.List
         getLocationsOrBuilderList();
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1391,74 +1544,90 @@ public interface DerivedInfoOrBuilder extends
      *
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
-    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
-        int index);
+    com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List - getJobCategoriesValueList(); + java.util.List getJobCategoriesValueList(); /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); } /** + * + * *
    * Derived details about the job posting.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo} */ - public static final class DerivedInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DerivedInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.DerivedInfo) DerivedInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DerivedInfo.newBuilder() to construct. private DerivedInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DerivedInfo() { locations_ = java.util.Collections.emptyList(); jobCategories_ = java.util.Collections.emptyList(); @@ -1466,32 +1635,35 @@ private DerivedInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DerivedInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); } public static final int LOCATIONS_FIELD_NUMBER = 1; private java.util.List locations_; /** + * + * *
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1505,6 +1677,8 @@ public java.util.List getLocationsList
       return locations_;
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1514,11 +1688,13 @@ public java.util.List getLocationsList
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getLocationsOrBuilderList() {
       return locations_;
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1532,6 +1708,8 @@ public int getLocationsCount() {
       return locations_.size();
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1545,6 +1723,8 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
       return locations_.get(index);
     }
     /**
+     *
+     *
      * 
      * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
      * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -1554,42 +1734,52 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
      * repeated .google.cloud.talent.v4beta1.Location locations = 1;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
       return locations_.get(index);
     }
 
     public static final int JOB_CATEGORIES_FIELD_NUMBER = 3;
     private java.util.List jobCategories_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory> jobCategories_converter_ =
+            java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
+        jobCategories_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
               public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.cloud.talent.v4beta1.JobCategory result = com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
-                return result == null ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED : result;
+                com.google.cloud.talent.v4beta1.JobCategory result =
+                    com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
+                return result == null
+                    ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ @java.lang.Override @@ -1597,11 +1787,14 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -1610,24 +1803,29 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return jobCategories_; } /** + * + * *
      * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -1635,9 +1833,11 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } + private int jobCategoriesMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1649,8 +1849,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); @@ -1672,20 +1871,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobCategoriesMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1695,15 +1894,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.DerivedInfo other = (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; + com.google.cloud.talent.v4beta1.Job.DerivedInfo other = + (com.google.cloud.talent.v4beta1.Job.DerivedInfo) obj; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1730,87 +1929,93 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.DerivedInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1820,39 +2025,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Derived details about the job posting.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.DerivedInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.DerivedInfo) com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.class, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1869,9 +2076,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; } @java.lang.Override @@ -1890,7 +2097,8 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { - com.google.cloud.talent.v4beta1.Job.DerivedInfo result = new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); + com.google.cloud.talent.v4beta1.Job.DerivedInfo result = + new com.google.cloud.talent.v4beta1.Job.DerivedInfo(this); int from_bitField0_ = bitField0_; if (locationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1914,38 +2122,41 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfo buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.DerivedInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.DerivedInfo) other); } else { super.mergeFrom(other); return this; @@ -1953,7 +2164,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) { - if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance()) + return this; if (locationsBuilder_ == null) { if (!other.locations_.isEmpty()) { if (locations_.isEmpty()) { @@ -1972,9 +2184,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.DerivedInfo other) locationsBuilder_ = null; locations_ = other.locations_; bitField0_ = (bitField0_ & ~0x00000001); - locationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationsFieldBuilder() : null; + locationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationsFieldBuilder() + : null; } else { locationsBuilder_.addAllMessages(other.locations_); } @@ -2016,42 +2229,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.Location m = - input.readMessage( - com.google.cloud.talent.v4beta1.Location.parser(), - extensionRegistry); - if (locationsBuilder_ == null) { - ensureLocationsIsMutable(); - locations_.add(m); - } else { - locationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 24: { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 10: + { + com.google.cloud.talent.v4beta1.Location m = + input.readMessage( + com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry); + if (locationsBuilder_ == null) { + ensureLocationsIsMutable(); + locations_.add(m); + } else { + locationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 24: + { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2061,21 +2277,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List locations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - locations_ = new java.util.ArrayList(locations_); + locations_ = + new java.util.ArrayList(locations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> locationsBuilder_; + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> + locationsBuilder_; /** + * + * *
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2092,6 +2316,8 @@ public java.util.List getLocationsList
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2108,6 +2334,8 @@ public int getLocationsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2124,6 +2352,8 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2132,8 +2362,7 @@ public com.google.cloud.talent.v4beta1.Location getLocations(int index) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public Builder setLocations(
-          int index, com.google.cloud.talent.v4beta1.Location value) {
+      public Builder setLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2147,6 +2376,8 @@ public Builder setLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2167,6 +2398,8 @@ public Builder setLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2189,6 +2422,8 @@ public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2197,8 +2432,7 @@ public Builder addLocations(com.google.cloud.talent.v4beta1.Location value) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public Builder addLocations(
-          int index, com.google.cloud.talent.v4beta1.Location value) {
+      public Builder addLocations(int index, com.google.cloud.talent.v4beta1.Location value) {
         if (locationsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2212,6 +2446,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2232,6 +2468,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2252,6 +2490,8 @@ public Builder addLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2264,8 +2504,7 @@ public Builder addAllLocations(
           java.lang.Iterable values) {
         if (locationsBuilder_ == null) {
           ensureLocationsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, locations_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_);
           onChanged();
         } else {
           locationsBuilder_.addAllMessages(values);
@@ -2273,6 +2512,8 @@ public Builder addAllLocations(
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2292,6 +2533,8 @@ public Builder clearLocations() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2311,6 +2554,8 @@ public Builder removeLocations(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2319,11 +2564,12 @@ public Builder removeLocations(int index) {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(
-          int index) {
+      public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(int index) {
         return getLocationsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2332,14 +2578,16 @@ public com.google.cloud.talent.v4beta1.Location.Builder getLocationsBuilder(
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
-          int index) {
+      public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(int index) {
         if (locationsBuilder_ == null) {
-          return locations_.get(index);  } else {
+          return locations_.get(index);
+        } else {
           return locationsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2348,8 +2596,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public java.util.List 
-           getLocationsOrBuilderList() {
+      public java.util.List
+          getLocationsOrBuilderList() {
         if (locationsBuilder_ != null) {
           return locationsBuilder_.getMessageOrBuilderList();
         } else {
@@ -2357,6 +2605,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2366,10 +2616,12 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationsOrBuilder(
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
       public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
-        return getLocationsFieldBuilder().addBuilder(
-            com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+        return getLocationsFieldBuilder()
+            .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2378,12 +2630,13 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder() {
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(
-          int index) {
-        return getLocationsFieldBuilder().addBuilder(
-            index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+      public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(int index) {
+        return getLocationsFieldBuilder()
+            .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * Structured locations of the job, resolved from [Job.addresses][google.cloud.talent.v4beta1.Job.addresses].
        * [locations][google.cloud.talent.v4beta1.Job.DerivedInfo.locations] are exactly matched to [Job.addresses][google.cloud.talent.v4beta1.Job.addresses] in the same
@@ -2392,27 +2645,30 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationsBuilder(
        *
        * repeated .google.cloud.talent.v4beta1.Location locations = 1;
        */
-      public java.util.List 
-           getLocationsBuilderList() {
+      public java.util.List
+          getLocationsBuilderList() {
         return getLocationsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
+              com.google.cloud.talent.v4beta1.Location,
+              com.google.cloud.talent.v4beta1.Location.Builder,
+              com.google.cloud.talent.v4beta1.LocationOrBuilder>
           getLocationsFieldBuilder() {
         if (locationsBuilder_ == null) {
-          locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
-                  locations_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          locationsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.cloud.talent.v4beta1.Location,
+                  com.google.cloud.talent.v4beta1.Location.Builder,
+                  com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+                  locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           locations_ = null;
         }
         return locationsBuilder_;
       }
 
-      private java.util.List jobCategories_ =
-        java.util.Collections.emptyList();
+      private java.util.List jobCategories_ = java.util.Collections.emptyList();
+
       private void ensureJobCategoriesIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2420,34 +2676,44 @@ private void ensureJobCategoriesIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2455,11 +2721,14 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. @@ -2475,11 +2744,14 @@ public Builder setJobCategories( return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2493,11 +2765,14 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2511,11 +2786,14 @@ public Builder addAllJobCategories( return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2525,23 +2803,28 @@ public Builder clearJobCategories() { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2549,28 +2832,33 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue( - int index, int value) { + public Builder setJobCategoriesValue(int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -2581,16 +2869,18 @@ public Builder addJobCategoriesValue(int value) { return this; } /** + * + * *
        * Job categories derived from [Job.title][google.cloud.talent.v4beta1.Job.title] and [Job.description][google.cloud.talent.v4beta1.Job.description].
        * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 3; + * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue( - java.lang.Iterable values) { + public Builder addAllJobCategoriesValue(java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -2598,6 +2888,7 @@ public Builder addAllJobCategoriesValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2610,41 +2901,42 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.DerivedInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.DerivedInfo) private static final com.google.cloud.talent.v4beta1.Job.DerivedInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.DerivedInfo(); } - public static com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DerivedInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + public static com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DerivedInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2659,25 +2951,30 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ProcessingOptionsOrBuilder extends + public interface ProcessingOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job.ProcessingOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ boolean getDisableStreetAddressResolution(); /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2691,10 +2988,13 @@ public interface ProcessingOptionsOrBuilder extends
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ int getHtmlSanitizationValue(); /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2708,64 +3008,72 @@ public interface ProcessingOptionsOrBuilder extends
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization(); } /** + * + * *
    * Options for job processing.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions} */ - public static final class ProcessingOptions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ProcessingOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions) ProcessingOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProcessingOptions.newBuilder() to construct. private ProcessingOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProcessingOptions() { htmlSanitization_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProcessingOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); } public static final int DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER = 1; private boolean disableStreetAddressResolution_; /** + * + * *
      * If set to `true`, the service does not attempt to resolve a
      * more precise address for the job.
      * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -2776,6 +3084,8 @@ public boolean getDisableStreetAddressResolution() { public static final int HTML_SANITIZATION_FIELD_NUMBER = 2; private int htmlSanitization_; /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2789,12 +3099,16 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override public int getHtmlSanitizationValue() { + @java.lang.Override + public int getHtmlSanitizationValue() { return htmlSanitization_; } /** + * + * *
      * Option for job HTML content sanitization. Applied fields are:
      * * description
@@ -2808,15 +3122,21 @@ public boolean getDisableStreetAddressResolution() {
      * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.HtmlSanitization result = com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); - return result == null ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.HtmlSanitization result = + com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); + return result == null + ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2828,12 +3148,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disableStreetAddressResolution_ != false) { output.writeBool(1, disableStreetAddressResolution_); } - if (htmlSanitization_ != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { + if (htmlSanitization_ + != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED + .getNumber()) { output.writeEnum(2, htmlSanitization_); } getUnknownFields().writeTo(output); @@ -2846,12 +3167,14 @@ public int getSerializedSize() { size = 0; if (disableStreetAddressResolution_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disableStreetAddressResolution_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 1, disableStreetAddressResolution_); } - if (htmlSanitization_ != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, htmlSanitization_); + if (htmlSanitization_ + != com.google.cloud.talent.v4beta1.HtmlSanitization.HTML_SANITIZATION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, htmlSanitization_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2861,15 +3184,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; + com.google.cloud.talent.v4beta1.Job.ProcessingOptions other = + (com.google.cloud.talent.v4beta1.Job.ProcessingOptions) obj; - if (getDisableStreetAddressResolution() - != other.getDisableStreetAddressResolution()) return false; + if (getDisableStreetAddressResolution() != other.getDisableStreetAddressResolution()) + return false; if (htmlSanitization_ != other.htmlSanitization_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2883,8 +3207,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLE_STREET_ADDRESS_RESOLUTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableStreetAddressResolution()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getDisableStreetAddressResolution()); hash = (37 * hash) + HTML_SANITIZATION_FIELD_NUMBER; hash = (53 * hash) + htmlSanitization_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -2893,87 +3218,94 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.Job.ProcessingOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2983,39 +3315,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options for job processing.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Job.ProcessingOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job.ProcessingOptions) com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.class, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3027,9 +3361,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobResourceProto + .internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; } @java.lang.Override @@ -3048,7 +3382,8 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { - com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions result = + new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(this); result.disableStreetAddressResolution_ = disableStreetAddressResolution_; result.htmlSanitization_ = htmlSanitization_; onBuilt(); @@ -3059,38 +3394,41 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Job.ProcessingOptions) { - return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Job.ProcessingOptions) other); } else { super.mergeFrom(other); return this; @@ -3098,7 +3436,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job.ProcessingOptions other) { - if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance()) + return this; if (other.getDisableStreetAddressResolution() != false) { setDisableStreetAddressResolution(other.getDisableStreetAddressResolution()); } @@ -3131,22 +3470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disableStreetAddressResolution_ = input.readBool(); - - break; - } // case 8 - case 16: { - htmlSanitization_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disableStreetAddressResolution_ = input.readBool(); + + break; + } // case 8 + case 16: + { + htmlSanitization_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3157,14 +3499,17 @@ public Builder mergeFrom( return this; } - private boolean disableStreetAddressResolution_ ; + private boolean disableStreetAddressResolution_; /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @return The disableStreetAddressResolution. */ @java.lang.Override @@ -3172,32 +3517,38 @@ public boolean getDisableStreetAddressResolution() { return disableStreetAddressResolution_; } /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @param value The disableStreetAddressResolution to set. * @return This builder for chaining. */ public Builder setDisableStreetAddressResolution(boolean value) { - + disableStreetAddressResolution_ = value; onChanged(); return this; } /** + * + * *
        * If set to `true`, the service does not attempt to resolve a
        * more precise address for the job.
        * 
* * bool disable_street_address_resolution = 1; + * * @return This builder for chaining. */ public Builder clearDisableStreetAddressResolution() { - + disableStreetAddressResolution_ = false; onChanged(); return this; @@ -3205,6 +3556,8 @@ public Builder clearDisableStreetAddressResolution() { private int htmlSanitization_ = 0; /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3218,12 +3571,16 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The enum numeric value on the wire for htmlSanitization. */ - @java.lang.Override public int getHtmlSanitizationValue() { + @java.lang.Override + public int getHtmlSanitizationValue() { return htmlSanitization_; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3237,16 +3594,19 @@ public Builder clearDisableStreetAddressResolution() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @param value The enum numeric value on the wire for htmlSanitization to set. * @return This builder for chaining. */ public Builder setHtmlSanitizationValue(int value) { - + htmlSanitization_ = value; onChanged(); return this; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3260,15 +3620,21 @@ public Builder setHtmlSanitizationValue(int value) {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return The htmlSanitization. */ @java.lang.Override public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.HtmlSanitization result = com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); - return result == null ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.HtmlSanitization result = + com.google.cloud.talent.v4beta1.HtmlSanitization.valueOf(htmlSanitization_); + return result == null + ? com.google.cloud.talent.v4beta1.HtmlSanitization.UNRECOGNIZED + : result; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3282,6 +3648,7 @@ public com.google.cloud.talent.v4beta1.HtmlSanitization getHtmlSanitization() {
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @param value The htmlSanitization to set. * @return This builder for chaining. */ @@ -3289,12 +3656,14 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitizat if (value == null) { throw new NullPointerException(); } - + htmlSanitization_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Option for job HTML content sanitization. Applied fields are:
        * * description
@@ -3308,14 +3677,16 @@ public Builder setHtmlSanitization(com.google.cloud.talent.v4beta1.HtmlSanitizat
        * 
* * .google.cloud.talent.v4beta1.HtmlSanitization html_sanitization = 2; + * * @return This builder for chaining. */ public Builder clearHtmlSanitization() { - + htmlSanitization_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3328,12 +3699,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job.ProcessingOptions) private static final com.google.cloud.talent.v4beta1.Job.ProcessingOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job.ProcessingOptions(); } @@ -3342,27 +3713,28 @@ public static com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessingOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessingOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3377,12 +3749,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3397,6 +3770,7 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getDefaultInstanceF
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -3405,14 +3779,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -3427,16 +3802,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3447,6 +3821,8 @@ public java.lang.String getName() { public static final int COMPANY_FIELD_NUMBER = 2; private volatile java.lang.Object company_; /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3456,7 +3832,10 @@ public java.lang.String getName() {
    * example, "projects/foo/companies/bar".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ @java.lang.Override @@ -3465,14 +3844,15 @@ public java.lang.String getCompany() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; } } /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -3482,17 +3862,18 @@ public java.lang.String getCompany() {
    * example, "projects/foo/companies/bar".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -3503,6 +3884,8 @@ public java.lang.String getCompany() { public static final int REQUISITION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object requisitionId_; /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3513,6 +3896,7 @@ public java.lang.String getCompany() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ @java.lang.Override @@ -3521,14 +3905,15 @@ public java.lang.String getRequisitionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; } } /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -3539,16 +3924,15 @@ public java.lang.String getRequisitionId() {
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequisitionIdBytes() { + public com.google.protobuf.ByteString getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -3559,12 +3943,15 @@ public java.lang.String getRequisitionId() { public static final int TITLE_FIELD_NUMBER = 4; private volatile java.lang.Object title_; /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ @java.lang.Override @@ -3573,30 +3960,30 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -3607,6 +3994,8 @@ public java.lang.String getTitle() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3619,6 +4008,7 @@ public java.lang.String getTitle() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ @java.lang.Override @@ -3627,14 +4017,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -3647,16 +4038,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3667,6 +4057,8 @@ public java.lang.String getDescription() { public static final int ADDRESSES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList addresses_; /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3684,13 +4076,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList - getAddressesList() { + public com.google.protobuf.ProtocolStringList getAddressesList() { return addresses_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3708,12 +4102,15 @@ public java.lang.String getDescription() {
    * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3731,6 +4128,7 @@ public int getAddressesCount() {
    * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -3738,6 +4136,8 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -3755,22 +4155,25 @@ public java.lang.String getAddresses(int index) {
    * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString - getAddressesBytes(int index) { + public com.google.protobuf.ByteString getAddressesBytes(int index) { return addresses_.getByteString(index); } public static final int APPLICATION_INFO_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ @java.lang.Override @@ -3778,18 +4181,25 @@ public boolean hasApplicationInfo() { return applicationInfo_ != null; } /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() { - return applicationInfo_ == null ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } /** + * + * *
    * Job application information.
    * 
@@ -3797,41 +4207,53 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder + getApplicationInfoOrBuilder() { return getApplicationInfo(); } public static final int JOB_BENEFITS_FIELD_NUMBER = 8; private java.util.List jobBenefits_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit> jobBenefits_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit> + jobBenefits_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>() { public com.google.cloud.talent.v4beta1.JobBenefit convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobBenefit result = com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.JobBenefit result = + com.google.cloud.talent.v4beta1.JobBenefit.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.JobBenefit.UNRECOGNIZED + : result; } }; /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ @java.lang.Override public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>( + jobBenefits_, jobBenefits_converter_); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ @java.lang.Override @@ -3839,11 +4261,14 @@ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -3852,24 +4277,29 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ @java.lang.Override - public java.util.List - getJobBenefitsValueList() { + public java.util.List getJobBenefitsValueList() { return jobBenefits_; } /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -3877,17 +4307,21 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } + private int jobBenefitsMemoizedSerializedSize; public static final int COMPENSATION_INFO_FIELD_NUMBER = 9; private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ @java.lang.Override @@ -3895,19 +4329,26 @@ public boolean hasCompensationInfo() { return compensationInfo_ != null; } /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() { - return compensationInfo_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_; + return compensationInfo_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() + : compensationInfo_; } /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -3921,21 +4362,29 @@ public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensation
   }
 
   public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 10;
+
   private static final class CustomAttributesDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> defaultEntry =
+            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
+                .
+                    newDefaultInstance(
+                        com.google.cloud.talent.v4beta1.JobResourceProto
+                            .internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor,
+                        com.google.protobuf.WireFormat.FieldType.STRING,
+                        "",
+                        com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                        com.google.cloud.talent.v4beta1.CustomAttribute.getDefaultInstance());
   }
+
+  private com.google.protobuf.MapField<
+          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+      customAttributes_;
+
   private com.google.protobuf.MapField<
-      java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> customAttributes_;
-  private com.google.protobuf.MapField
-  internalGetCustomAttributes() {
+          java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+      internalGetCustomAttributes() {
     if (customAttributes_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomAttributesDefaultEntryHolder.defaultEntry);
@@ -3947,6 +4396,8 @@ public int getCustomAttributesCount() {
     return internalGetCustomAttributes().getMap().size();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -3960,24 +4411,26 @@ public int getCustomAttributesCount() {
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - @java.lang.Override - public boolean containsCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCustomAttributes().getMap().containsKey(key); } - /** - * Use {@link #getCustomAttributesMap()} instead. - */ + /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCustomAttributes() { + public java.util.Map + getCustomAttributes() { return getCustomAttributesMap(); } /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -3991,14 +4444,17 @@ public java.util.Map
    *
-   * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+   * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+   * 
    */
   @java.lang.Override
-
-  public java.util.Map getCustomAttributesMap() {
+  public java.util.Map
+      getCustomAttributesMap() {
     return internalGetCustomAttributes().getMap();
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4012,19 +4468,22 @@ public java.util.Map
    *
-   * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+   * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+   * 
    */
   @java.lang.Override
-
   public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
-      java.lang.String key,
-      com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetCustomAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -4038,13 +4497,15 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -4056,34 +4517,45 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThro public static final int DEGREE_TYPES_FIELD_NUMBER = 11; private java.util.List degreeTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType> degreeTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType> + degreeTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>() { public com.google.cloud.talent.v4beta1.DegreeType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.DegreeType result = com.google.cloud.talent.v4beta1.DegreeType.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.DegreeType result = + com.google.cloud.talent.v4beta1.DegreeType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.DegreeType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ @java.lang.Override public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>( + degreeTypes_, degreeTypes_converter_); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ @java.lang.Override @@ -4091,11 +4563,14 @@ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -4104,24 +4579,29 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ @java.lang.Override - public java.util.List - getDegreeTypesValueList() { + public java.util.List getDegreeTypesValueList() { return degreeTypes_; } /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -4129,11 +4609,14 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } + private int degreeTypesMemoizedSerializedSize; public static final int DEPARTMENT_FIELD_NUMBER = 12; private volatile java.lang.Object department_; /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -4141,6 +4624,7 @@ public int getDegreeTypesValue(int index) {
    * 
* * string department = 12; + * * @return The department. */ @java.lang.Override @@ -4149,14 +4633,15 @@ public java.lang.String getDepartment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; } } /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -4164,16 +4649,15 @@ public java.lang.String getDepartment() {
    * 
* * string department = 12; + * * @return The bytes for department. */ @java.lang.Override - public com.google.protobuf.ByteString - getDepartmentBytes() { + public com.google.protobuf.ByteString getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); department_ = b; return b; } else { @@ -4184,16 +4668,22 @@ public java.lang.String getDepartment() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 13; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> + employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() { public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.EmploymentType result = com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.EmploymentType result = + com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4201,14 +4691,18 @@ public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4216,6 +4710,7 @@ public java.util.List getEmploym
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ @java.lang.Override @@ -4223,6 +4718,8 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4230,6 +4727,7 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4238,6 +4736,8 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4245,14 +4745,16 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return employmentTypes_; } /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -4260,6 +4762,7 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4267,11 +4770,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } + private int employmentTypesMemoizedSerializedSize; public static final int INCENTIVES_FIELD_NUMBER = 14; private volatile java.lang.Object incentives_; /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4279,6 +4785,7 @@ public int getEmploymentTypesValue(int index) {
    * 
* * string incentives = 14; + * * @return The incentives. */ @java.lang.Override @@ -4287,14 +4794,15 @@ public java.lang.String getIncentives() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; } } /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -4302,16 +4810,15 @@ public java.lang.String getIncentives() {
    * 
* * string incentives = 14; + * * @return The bytes for incentives. */ @java.lang.Override - public com.google.protobuf.ByteString - getIncentivesBytes() { + public com.google.protobuf.ByteString getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incentives_ = b; return b; } else { @@ -4322,6 +4829,8 @@ public java.lang.String getIncentives() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 15; private volatile java.lang.Object languageCode_; /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4335,6 +4844,7 @@ public java.lang.String getIncentives() {
    * 
* * string language_code = 15; + * * @return The languageCode. */ @java.lang.Override @@ -4343,14 +4853,15 @@ public java.lang.String getLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; } } /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -4364,16 +4875,15 @@ public java.lang.String getLanguageCode() {
    * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -4384,33 +4894,44 @@ public java.lang.String getLanguageCode() { public static final int JOB_LEVEL_FIELD_NUMBER = 16; private int jobLevel_; /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override public int getJobLevelValue() { + @java.lang.Override + public int getJobLevelValue() { return jobLevel_; } /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The jobLevel. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobLevel result = com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4beta1.JobLevel result = + com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result; } public static final int PROMOTION_VALUE_FIELD_NUMBER = 17; private int promotionValue_; /** + * + * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -4421,6 +4942,7 @@ public java.lang.String getLanguageCode() {
    * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ @java.lang.Override @@ -4431,6 +4953,8 @@ public int getPromotionValue() { public static final int QUALIFICATIONS_FIELD_NUMBER = 18; private volatile java.lang.Object qualifications_; /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4441,6 +4965,7 @@ public int getPromotionValue() {
    * 
* * string qualifications = 18; + * * @return The qualifications. */ @java.lang.Override @@ -4449,14 +4974,15 @@ public java.lang.String getQualifications() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; } } /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -4467,16 +4993,15 @@ public java.lang.String getQualifications() {
    * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ @java.lang.Override - public com.google.protobuf.ByteString - getQualificationsBytes() { + public com.google.protobuf.ByteString getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); qualifications_ = b; return b; } else { @@ -4487,6 +5012,8 @@ public java.lang.String getQualifications() { public static final int RESPONSIBILITIES_FIELD_NUMBER = 19; private volatile java.lang.Object responsibilities_; /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -4497,6 +5024,7 @@ public java.lang.String getQualifications() {
    * 
* * string responsibilities = 19; + * * @return The responsibilities. */ @java.lang.Override @@ -4505,14 +5033,15 @@ public java.lang.String getResponsibilities() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; } } /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -4523,16 +5052,15 @@ public java.lang.String getResponsibilities() {
    * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ @java.lang.Override - public com.google.protobuf.ByteString - getResponsibilitiesBytes() { + public com.google.protobuf.ByteString getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -4543,6 +5071,8 @@ public java.lang.String getResponsibilities() { public static final int POSTING_REGION_FIELD_NUMBER = 20; private int postingRegion_; /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -4554,12 +5084,16 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override public int getPostingRegionValue() { + @java.lang.Override + public int getPostingRegionValue() { return postingRegion_; } /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -4571,17 +5105,22 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The postingRegion. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.PostingRegion result = com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4beta1.PostingRegion result = + com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result; } public static final int VISIBILITY_FIELD_NUMBER = 21; private int visibility_; /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -4589,14 +5128,19 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { + @java.lang.Override + @java.lang.Deprecated + public int getVisibilityValue() { return visibility_; } /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -4604,25 +5148,32 @@ public java.lang.String getResponsibilities() {
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Visibility result = com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4beta1.Visibility result = + com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result; } public static final int JOB_START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp jobStartTime_; /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ @java.lang.Override @@ -4630,19 +5181,26 @@ public boolean hasJobStartTime() { return jobStartTime_ != null; } /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getJobStartTime() { - return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; + return jobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobStartTime_; } /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -4658,12 +5216,15 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
   public static final int JOB_END_TIME_FIELD_NUMBER = 23;
   private com.google.protobuf.Timestamp jobEndTime_;
   /**
+   *
+   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ @java.lang.Override @@ -4671,12 +5232,15 @@ public boolean hasJobEndTime() { return jobEndTime_ != null; } /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ @java.lang.Override @@ -4684,6 +5248,8 @@ public com.google.protobuf.Timestamp getJobEndTime() { return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; } /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -4699,6 +5265,8 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
   public static final int POSTING_PUBLISH_TIME_FIELD_NUMBER = 24;
   private com.google.protobuf.Timestamp postingPublishTime_;
   /**
+   *
+   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4706,6 +5274,7 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ @java.lang.Override @@ -4713,6 +5282,8 @@ public boolean hasPostingPublishTime() { return postingPublishTime_ != null; } /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4720,13 +5291,18 @@ public boolean hasPostingPublishTime() {
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingPublishTime() { - return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; + return postingPublishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingPublishTime_; } /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -4743,6 +5319,8 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
   public static final int POSTING_EXPIRE_TIME_FIELD_NUMBER = 25;
   private com.google.protobuf.Timestamp postingExpireTime_;
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4782,6 +5360,7 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ @java.lang.Override @@ -4789,6 +5368,8 @@ public boolean hasPostingExpireTime() { return postingExpireTime_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4828,13 +5409,18 @@ public boolean hasPostingExpireTime() {
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingExpireTime() { - return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; + return postingExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingExpireTime_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -4883,11 +5469,16 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
   public static final int POSTING_CREATE_TIME_FIELD_NUMBER = 26;
   private com.google.protobuf.Timestamp postingCreateTime_;
   /**
+   *
+   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ @java.lang.Override @@ -4895,23 +5486,34 @@ public boolean hasPostingCreateTime() { return postingCreateTime_ != null; } /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingCreateTime() { - return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { @@ -4921,11 +5523,16 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { public static final int POSTING_UPDATE_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp postingUpdateTime_; /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ @java.lang.Override @@ -4933,23 +5540,34 @@ public boolean hasPostingUpdateTime() { return postingUpdateTime_ != null; } /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getPostingUpdateTime() { - return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { @@ -4959,11 +5577,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { public static final int COMPANY_DISPLAY_NAME_FIELD_NUMBER = 28; private volatile java.lang.Object companyDisplayName_; /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ @java.lang.Override @@ -4972,29 +5593,29 @@ public java.lang.String getCompanyDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; } } /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -5005,11 +5626,16 @@ public java.lang.String getCompanyDisplayName() { public static final int DERIVED_INFO_FIELD_NUMBER = 29; private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ @java.lang.Override @@ -5017,23 +5643,34 @@ public boolean hasDerivedInfo() { return derivedInfo_ != null; } /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() { - return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { @@ -5043,11 +5680,14 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr public static final int PROCESSING_OPTIONS_FIELD_NUMBER = 30; private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ @java.lang.Override @@ -5055,18 +5695,25 @@ public boolean hasProcessingOptions() { return processingOptions_ != null; } /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() { - return processingOptions_ == null ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } /** + * + * *
    * Options for job processing.
    * 
@@ -5074,11 +5721,13 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOption * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder + getProcessingOptionsOrBuilder() { return getProcessingOptions(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5090,8 +5739,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -5124,12 +5772,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (compensationInfo_ != null) { output.writeMessage(9, getCompensationInfo()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetCustomAttributes(), - CustomAttributesDefaultEntryHolder.defaultEntry, - 10); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetCustomAttributes(), CustomAttributesDefaultEntryHolder.defaultEntry, 10); if (getDegreeTypesList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(degreeTypesMemoizedSerializedSize); @@ -5165,10 +5809,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, responsibilities_); } - if (postingRegion_ != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + if (postingRegion_ + != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { output.writeEnum(20, postingRegion_); } - if (visibility_ != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { + if (visibility_ + != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { output.writeEnum(21, visibility_); } if (jobStartTime_ != null) { @@ -5231,46 +5877,46 @@ public int getSerializedSize() { size += 1 * getAddressesList().size(); } if (applicationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getApplicationInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getApplicationInfo()); } { int dataSize = 0; for (int i = 0; i < jobBenefits_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobBenefits_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobBenefits_.get(i)); } size += dataSize; - if (!getJobBenefitsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobBenefitsMemoizedSerializedSize = dataSize; + if (!getJobBenefitsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobBenefitsMemoizedSerializedSize = dataSize; } if (compensationInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getCompensationInfo()); - } - for (java.util.Map.Entry entry - : internalGetCustomAttributes().getMap().entrySet()) { - com.google.protobuf.MapEntry - customAttributes__ = CustomAttributesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, customAttributes__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getCompensationInfo()); + } + for (java.util.Map.Entry + entry : internalGetCustomAttributes().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> + customAttributes__ = + CustomAttributesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, customAttributes__); } { int dataSize = 0; for (int i = 0; i < degreeTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(degreeTypes_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(degreeTypes_.get(i)); } size += dataSize; - if (!getDegreeTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }degreeTypesMemoizedSerializedSize = dataSize; + if (!getDegreeTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + degreeTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(department_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, department_); @@ -5278,14 +5924,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + employmentTypesMemoizedSerializedSize = dataSize; } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incentives_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, incentives_); @@ -5294,12 +5941,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, languageCode_); } if (jobLevel_ != com.google.cloud.talent.v4beta1.JobLevel.JOB_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, jobLevel_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, jobLevel_); } if (promotionValue_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(17, promotionValue_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(17, promotionValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(qualifications_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, qualifications_); @@ -5307,48 +5952,40 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responsibilities_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, responsibilities_); } - if (postingRegion_ != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(20, postingRegion_); + if (postingRegion_ + != com.google.cloud.talent.v4beta1.PostingRegion.POSTING_REGION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, postingRegion_); } - if (visibility_ != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(21, visibility_); + if (visibility_ + != com.google.cloud.talent.v4beta1.Visibility.VISIBILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(21, visibility_); } if (jobStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getJobStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getJobStartTime()); } if (jobEndTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getJobEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getJobEndTime()); } if (postingPublishTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getPostingPublishTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getPostingPublishTime()); } if (postingExpireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getPostingExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getPostingExpireTime()); } if (postingCreateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getPostingCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getPostingCreateTime()); } if (postingUpdateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getPostingUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getPostingUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(companyDisplayName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, companyDisplayName_); } if (derivedInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getDerivedInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getDerivedInfo()); } if (processingOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getProcessingOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(30, getProcessingOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5358,96 +5995,72 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Job)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Job other = (com.google.cloud.talent.v4beta1.Job) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCompany() - .equals(other.getCompany())) return false; - if (!getRequisitionId() - .equals(other.getRequisitionId())) return false; - if (!getTitle() - .equals(other.getTitle())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getAddressesList() - .equals(other.getAddressesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getCompany().equals(other.getCompany())) return false; + if (!getRequisitionId().equals(other.getRequisitionId())) return false; + if (!getTitle().equals(other.getTitle())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getAddressesList().equals(other.getAddressesList())) return false; if (hasApplicationInfo() != other.hasApplicationInfo()) return false; if (hasApplicationInfo()) { - if (!getApplicationInfo() - .equals(other.getApplicationInfo())) return false; + if (!getApplicationInfo().equals(other.getApplicationInfo())) return false; } if (!jobBenefits_.equals(other.jobBenefits_)) return false; if (hasCompensationInfo() != other.hasCompensationInfo()) return false; if (hasCompensationInfo()) { - if (!getCompensationInfo() - .equals(other.getCompensationInfo())) return false; + if (!getCompensationInfo().equals(other.getCompensationInfo())) return false; } - if (!internalGetCustomAttributes().equals( - other.internalGetCustomAttributes())) return false; + if (!internalGetCustomAttributes().equals(other.internalGetCustomAttributes())) return false; if (!degreeTypes_.equals(other.degreeTypes_)) return false; - if (!getDepartment() - .equals(other.getDepartment())) return false; + if (!getDepartment().equals(other.getDepartment())) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getIncentives() - .equals(other.getIncentives())) return false; - if (!getLanguageCode() - .equals(other.getLanguageCode())) return false; + if (!getIncentives().equals(other.getIncentives())) return false; + if (!getLanguageCode().equals(other.getLanguageCode())) return false; if (jobLevel_ != other.jobLevel_) return false; - if (getPromotionValue() - != other.getPromotionValue()) return false; - if (!getQualifications() - .equals(other.getQualifications())) return false; - if (!getResponsibilities() - .equals(other.getResponsibilities())) return false; + if (getPromotionValue() != other.getPromotionValue()) return false; + if (!getQualifications().equals(other.getQualifications())) return false; + if (!getResponsibilities().equals(other.getResponsibilities())) return false; if (postingRegion_ != other.postingRegion_) return false; if (visibility_ != other.visibility_) return false; if (hasJobStartTime() != other.hasJobStartTime()) return false; if (hasJobStartTime()) { - if (!getJobStartTime() - .equals(other.getJobStartTime())) return false; + if (!getJobStartTime().equals(other.getJobStartTime())) return false; } if (hasJobEndTime() != other.hasJobEndTime()) return false; if (hasJobEndTime()) { - if (!getJobEndTime() - .equals(other.getJobEndTime())) return false; + if (!getJobEndTime().equals(other.getJobEndTime())) return false; } if (hasPostingPublishTime() != other.hasPostingPublishTime()) return false; if (hasPostingPublishTime()) { - if (!getPostingPublishTime() - .equals(other.getPostingPublishTime())) return false; + if (!getPostingPublishTime().equals(other.getPostingPublishTime())) return false; } if (hasPostingExpireTime() != other.hasPostingExpireTime()) return false; if (hasPostingExpireTime()) { - if (!getPostingExpireTime() - .equals(other.getPostingExpireTime())) return false; + if (!getPostingExpireTime().equals(other.getPostingExpireTime())) return false; } if (hasPostingCreateTime() != other.hasPostingCreateTime()) return false; if (hasPostingCreateTime()) { - if (!getPostingCreateTime() - .equals(other.getPostingCreateTime())) return false; + if (!getPostingCreateTime().equals(other.getPostingCreateTime())) return false; } if (hasPostingUpdateTime() != other.hasPostingUpdateTime()) return false; if (hasPostingUpdateTime()) { - if (!getPostingUpdateTime() - .equals(other.getPostingUpdateTime())) return false; + if (!getPostingUpdateTime().equals(other.getPostingUpdateTime())) return false; } - if (!getCompanyDisplayName() - .equals(other.getCompanyDisplayName())) return false; + if (!getCompanyDisplayName().equals(other.getCompanyDisplayName())) return false; if (hasDerivedInfo() != other.hasDerivedInfo()) return false; if (hasDerivedInfo()) { - if (!getDerivedInfo() - .equals(other.getDerivedInfo())) return false; + if (!getDerivedInfo().equals(other.getDerivedInfo())) return false; } if (hasProcessingOptions() != other.hasProcessingOptions()) return false; if (hasProcessingOptions()) { - if (!getProcessingOptions() - .equals(other.getProcessingOptions())) return false; + if (!getProcessingOptions().equals(other.getProcessingOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5555,97 +6168,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Job parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Job parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.talent.v4beta1.Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Job parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Job prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Job resource represents a job posting (also referred to as a "job listing"
    * or "job requisition"). A job belongs to a [Company][google.cloud.talent.v4beta1.Company], which is the hiring
@@ -5654,55 +6273,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Job}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Job)
       com.google.cloud.talent.v4beta1.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.JobResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 10:
           return internalGetCustomAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 10:
           return internalGetMutableCustomAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.JobResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Job.class, com.google.cloud.talent.v4beta1.Job.Builder.class);
+              com.google.cloud.talent.v4beta1.Job.class,
+              com.google.cloud.talent.v4beta1.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Job.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5809,9 +6425,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.JobResourceProto.internal_static_google_cloud_talent_v4beta1_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.JobResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Job_descriptor;
     }
 
     @java.lang.Override
@@ -5927,38 +6543,39 @@ public com.google.cloud.talent.v4beta1.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Job) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Job)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Job) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6013,8 +6630,7 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Job other) {
       if (other.hasCompensationInfo()) {
         mergeCompensationInfo(other.getCompensationInfo());
       }
-      internalGetMutableCustomAttributes().mergeFrom(
-          other.internalGetCustomAttributes());
+      internalGetMutableCustomAttributes().mergeFrom(other.internalGetCustomAttributes());
       if (!other.degreeTypes_.isEmpty()) {
         if (degreeTypes_.isEmpty()) {
           degreeTypes_ = other.degreeTypes_;
@@ -6121,222 +6737,246 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              company_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                company_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              requisitionId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                requisitionId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              title_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                title_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAddressesIsMutable();
-              addresses_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getApplicationInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAddressesIsMutable();
+                addresses_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getApplicationInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 58
-            case 64: {
-              int tmpRaw = input.readEnum();
-              ensureJobBenefitsIsMutable();
-              jobBenefits_.add(tmpRaw);
-              break;
-            } // case 64
-            case 66: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 58
+            case 64:
+              {
                 int tmpRaw = input.readEnum();
                 ensureJobBenefitsIsMutable();
                 jobBenefits_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getCompensationInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 64
+            case 66:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureJobBenefitsIsMutable();
+                  jobBenefits_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getCompensationInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 74
-            case 82: {
-              com.google.protobuf.MapEntry
-              customAttributes__ = input.readMessage(
-                  CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableCustomAttributes().getMutableMap().put(
-                  customAttributes__.getKey(), customAttributes__.getValue());
-              break;
-            } // case 82
-            case 88: {
-              int tmpRaw = input.readEnum();
-              ensureDegreeTypesIsMutable();
-              degreeTypes_.add(tmpRaw);
-              break;
-            } // case 88
-            case 90: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 74
+            case 82:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+                    customAttributes__ =
+                        input.readMessage(
+                            CustomAttributesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableCustomAttributes()
+                    .getMutableMap()
+                    .put(customAttributes__.getKey(), customAttributes__.getValue());
+                break;
+              } // case 82
+            case 88:
+              {
                 int tmpRaw = input.readEnum();
                 ensureDegreeTypesIsMutable();
                 degreeTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 90
-            case 98: {
-              department_ = input.readStringRequireUtf8();
+                break;
+              } // case 88
+            case 90:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureDegreeTypesIsMutable();
+                  degreeTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 90
+            case 98:
+              {
+                department_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 98
-            case 104: {
-              int tmpRaw = input.readEnum();
-              ensureEmploymentTypesIsMutable();
-              employmentTypes_.add(tmpRaw);
-              break;
-            } // case 104
-            case 106: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+                break;
+              } // case 98
+            case 104:
+              {
                 int tmpRaw = input.readEnum();
                 ensureEmploymentTypesIsMutable();
                 employmentTypes_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 106
-            case 114: {
-              incentives_ = input.readStringRequireUtf8();
+                break;
+              } // case 104
+            case 106:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureEmploymentTypesIsMutable();
+                  employmentTypes_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 106
+            case 114:
+              {
+                incentives_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 114
-            case 122: {
-              languageCode_ = input.readStringRequireUtf8();
+                break;
+              } // case 114
+            case 122:
+              {
+                languageCode_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 122
-            case 128: {
-              jobLevel_ = input.readEnum();
+                break;
+              } // case 122
+            case 128:
+              {
+                jobLevel_ = input.readEnum();
 
-              break;
-            } // case 128
-            case 136: {
-              promotionValue_ = input.readInt32();
+                break;
+              } // case 128
+            case 136:
+              {
+                promotionValue_ = input.readInt32();
 
-              break;
-            } // case 136
-            case 146: {
-              qualifications_ = input.readStringRequireUtf8();
+                break;
+              } // case 136
+            case 146:
+              {
+                qualifications_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 146
-            case 154: {
-              responsibilities_ = input.readStringRequireUtf8();
+                break;
+              } // case 146
+            case 154:
+              {
+                responsibilities_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 154
-            case 160: {
-              postingRegion_ = input.readEnum();
+                break;
+              } // case 154
+            case 160:
+              {
+                postingRegion_ = input.readEnum();
 
-              break;
-            } // case 160
-            case 168: {
-              visibility_ = input.readEnum();
+                break;
+              } // case 160
+            case 168:
+              {
+                visibility_ = input.readEnum();
 
-              break;
-            } // case 168
-            case 178: {
-              input.readMessage(
-                  getJobStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 168
+            case 178:
+              {
+                input.readMessage(getJobStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getJobEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(getJobEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 186
-            case 194: {
-              input.readMessage(
-                  getPostingPublishTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 186
+            case 194:
+              {
+                input.readMessage(
+                    getPostingPublishTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 194
-            case 202: {
-              input.readMessage(
-                  getPostingExpireTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 194
+            case 202:
+              {
+                input.readMessage(
+                    getPostingExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 202
-            case 210: {
-              input.readMessage(
-                  getPostingCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 202
+            case 210:
+              {
+                input.readMessage(
+                    getPostingCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 210
-            case 218: {
-              input.readMessage(
-                  getPostingUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 210
+            case 218:
+              {
+                input.readMessage(
+                    getPostingUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 218
-            case 226: {
-              companyDisplayName_ = input.readStringRequireUtf8();
+                break;
+              } // case 218
+            case 226:
+              {
+                companyDisplayName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 226
-            case 234: {
-              input.readMessage(
-                  getDerivedInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 226
+            case 234:
+              {
+                input.readMessage(getDerivedInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 234
-            case 242: {
-              input.readMessage(
-                  getProcessingOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 234
+            case 242:
+              {
+                input.readMessage(
+                    getProcessingOptionsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 242
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 242
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6346,10 +6986,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6364,13 +7007,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6379,6 +7022,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6393,15 +7038,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6409,6 +7053,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6423,20 +7069,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6451,15 +7099,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during job update.
      * The resource name for the job. This is generated by the service when a
@@ -6474,16 +7125,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6491,6 +7142,8 @@ public Builder setNameBytes( private java.lang.Object company_ = ""; /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6500,14 +7153,16 @@ public Builder setNameBytes(
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ public java.lang.String getCompany() { java.lang.Object ref = company_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); company_ = s; return s; @@ -6516,6 +7171,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6525,16 +7182,17 @@ public java.lang.String getCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ - public com.google.protobuf.ByteString - getCompanyBytes() { + public com.google.protobuf.ByteString getCompanyBytes() { java.lang.Object ref = company_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); company_ = b; return b; } else { @@ -6542,6 +7200,8 @@ public java.lang.String getCompany() { } } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6551,21 +7211,25 @@ public java.lang.String getCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The company to set. * @return This builder for chaining. */ - public Builder setCompany( - java.lang.String value) { + public Builder setCompany(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + company_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6575,16 +7239,21 @@ public Builder setCompany(
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCompany() { - + company_ = getDefaultInstance().getCompany(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the company listing the job.
      * The format is
@@ -6594,17 +7263,19 @@ public Builder clearCompany() {
      * example, "projects/foo/companies/bar".
      * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for company to set. * @return This builder for chaining. */ - public Builder setCompanyBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + company_ = value; onChanged(); return this; @@ -6612,6 +7283,8 @@ public Builder setCompanyBytes( private java.lang.Object requisitionId_ = ""; /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6622,13 +7295,13 @@ public Builder setCompanyBytes(
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ public java.lang.String getRequisitionId() { java.lang.Object ref = requisitionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requisitionId_ = s; return s; @@ -6637,6 +7310,8 @@ public java.lang.String getRequisitionId() { } } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6647,15 +7322,14 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ - public com.google.protobuf.ByteString - getRequisitionIdBytes() { + public com.google.protobuf.ByteString getRequisitionIdBytes() { java.lang.Object ref = requisitionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requisitionId_ = b; return b; } else { @@ -6663,6 +7337,8 @@ public java.lang.String getRequisitionId() { } } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6673,20 +7349,22 @@ public java.lang.String getRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionId( - java.lang.String value) { + public Builder setRequisitionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requisitionId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6697,15 +7375,18 @@ public Builder setRequisitionId(
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRequisitionId() { - + requisitionId_ = getDefaultInstance().getRequisitionId(); onChanged(); return this; } /** + * + * *
      * Required. The requisition ID, also referred to as the posting ID, is assigned by the
      * client to identify a job. This field is intended to be used by clients
@@ -6716,16 +7397,16 @@ public Builder clearRequisitionId() {
      * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for requisitionId to set. * @return This builder for chaining. */ - public Builder setRequisitionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequisitionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requisitionId_ = value; onChanged(); return this; @@ -6733,19 +7414,21 @@ public Builder setRequisitionIdBytes( private java.lang.Object title_ = ""; /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -6754,21 +7437,22 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -6776,57 +7460,64 @@ public java.lang.String getTitle() { } } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** + * + * *
      * Required. The title of the job, such as "Software Engineer"
      * The maximum number of allowed characters is 500.
      * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -6834,6 +7525,8 @@ public Builder setTitleBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6846,13 +7539,13 @@ public Builder setTitleBytes(
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6861,6 +7554,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6873,15 +7568,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -6889,6 +7583,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6901,20 +7597,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6927,15 +7625,18 @@ public Builder setDescription(
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Required. The description of the job, which typically includes a multi-paragraph
      * description of the company and related information. Separate fields are
@@ -6948,29 +7649,33 @@ public Builder clearDescription() {
      * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList addresses_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList addresses_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAddressesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { addresses_ = new com.google.protobuf.LazyStringArrayList(addresses_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -6988,13 +7693,15 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - public com.google.protobuf.ProtocolStringList - getAddressesList() { + public com.google.protobuf.ProtocolStringList getAddressesList() { return addresses_.getUnmodifiableView(); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7012,12 +7719,15 @@ private void ensureAddressesIsMutable() {
      * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ public int getAddressesCount() { return addresses_.size(); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7035,6 +7745,7 @@ public int getAddressesCount() {
      * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ @@ -7042,6 +7753,8 @@ public java.lang.String getAddresses(int index) { return addresses_.get(index); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7059,14 +7772,16 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - public com.google.protobuf.ByteString - getAddressesBytes(int index) { + public com.google.protobuf.ByteString getAddressesBytes(int index) { return addresses_.getByteString(index); } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7084,21 +7799,23 @@ public java.lang.String getAddresses(int index) {
      * 
* * repeated string addresses = 6; + * * @param index The index to set the value at. * @param value The addresses to set. * @return This builder for chaining. */ - public Builder setAddresses( - int index, java.lang.String value) { + public Builder setAddresses(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.set(index, value); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7116,20 +7833,22 @@ public Builder setAddresses(
      * 
* * repeated string addresses = 6; + * * @param value The addresses to add. * @return This builder for chaining. */ - public Builder addAddresses( - java.lang.String value) { + public Builder addAddresses(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAddressesIsMutable(); + throw new NullPointerException(); + } + ensureAddressesIsMutable(); addresses_.add(value); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7147,18 +7866,19 @@ public Builder addAddresses(
      * 
* * repeated string addresses = 6; + * * @param values The addresses to add. * @return This builder for chaining. */ - public Builder addAllAddresses( - java.lang.Iterable values) { + public Builder addAllAddresses(java.lang.Iterable values) { ensureAddressesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, addresses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, addresses_); onChanged(); return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7176,6 +7896,7 @@ public Builder addAllAddresses(
      * 
* * repeated string addresses = 6; + * * @return This builder for chaining. */ public Builder clearAddresses() { @@ -7185,6 +7906,8 @@ public Builder clearAddresses() { return this; } /** + * + * *
      * Strongly recommended for the best service experience.
      * Location(s) where the employer is looking to hire for this job posting.
@@ -7202,15 +7925,15 @@ public Builder clearAddresses() {
      * 
* * repeated string addresses = 6; + * * @param value The bytes of the addresses to add. * @return This builder for chaining. */ - public Builder addAddressesBytes( - com.google.protobuf.ByteString value) { + public Builder addAddressesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAddressesIsMutable(); addresses_.add(value); onChanged(); @@ -7219,34 +7942,47 @@ public Builder addAddressesBytes( private com.google.cloud.talent.v4beta1.Job.ApplicationInfo applicationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> applicationInfoBuilder_; + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> + applicationInfoBuilder_; /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ public boolean hasApplicationInfo() { return applicationInfoBuilder_ != null || applicationInfo_ != null; } /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo() { if (applicationInfoBuilder_ == null) { - return applicationInfo_ == null ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } else { return applicationInfoBuilder_.getMessage(); } } /** + * + * *
      * Job application information.
      * 
@@ -7267,6 +8003,8 @@ public Builder setApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicatio return this; } /** + * + * *
      * Job application information.
      * 
@@ -7285,6 +8023,8 @@ public Builder setApplicationInfo( return this; } /** + * + * *
      * Job application information.
      * 
@@ -7295,7 +8035,9 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicat if (applicationInfoBuilder_ == null) { if (applicationInfo_ != null) { applicationInfo_ = - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.newBuilder(applicationInfo_) + .mergeFrom(value) + .buildPartial(); } else { applicationInfo_ = value; } @@ -7307,6 +8049,8 @@ public Builder mergeApplicationInfo(com.google.cloud.talent.v4beta1.Job.Applicat return this; } /** + * + * *
      * Job application information.
      * 
@@ -7325,6 +8069,8 @@ public Builder clearApplicationInfo() { return this; } /** + * + * *
      * Job application information.
      * 
@@ -7332,26 +8078,32 @@ public Builder clearApplicationInfo() { * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ public com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder getApplicationInfoBuilder() { - + onChanged(); return getApplicationInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Job application information.
      * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ - public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder + getApplicationInfoOrBuilder() { if (applicationInfoBuilder_ != null) { return applicationInfoBuilder_.getMessageOrBuilder(); } else { - return applicationInfo_ == null ? - com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() : applicationInfo_; + return applicationInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.ApplicationInfo.getDefaultInstance() + : applicationInfo_; } } /** + * + * *
      * Job application information.
      * 
@@ -7359,21 +8111,24 @@ public com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicati * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder> getApplicationInfoFieldBuilder() { if (applicationInfoBuilder_ == null) { - applicationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ApplicationInfo, com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>( - getApplicationInfo(), - getParentForChildren(), - isClean()); + applicationInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.ApplicationInfo, + com.google.cloud.talent.v4beta1.Job.ApplicationInfo.Builder, + com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder>( + getApplicationInfo(), getParentForChildren(), isClean()); applicationInfo_ = null; } return applicationInfoBuilder_; } - private java.util.List jobBenefits_ = - java.util.Collections.emptyList(); + private java.util.List jobBenefits_ = java.util.Collections.emptyList(); + private void ensureJobBenefitsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobBenefits_ = new java.util.ArrayList(jobBenefits_); @@ -7381,34 +8136,44 @@ private void ensureJobBenefitsIsMutable() { } } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ public java.util.List getJobBenefitsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>(jobBenefits_, jobBenefits_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobBenefit>( + jobBenefits_, jobBenefits_converter_); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ public int getJobBenefitsCount() { return jobBenefits_.size(); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ @@ -7416,17 +8181,19 @@ public com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index) { return jobBenefits_converter_.convert(jobBenefits_.get(index)); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index to set the value at. * @param value The jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefits( - int index, com.google.cloud.talent.v4beta1.JobBenefit value) { + public Builder setJobBenefits(int index, com.google.cloud.talent.v4beta1.JobBenefit value) { if (value == null) { throw new NullPointerException(); } @@ -7436,11 +8203,14 @@ public Builder setJobBenefits( return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param value The jobBenefits to add. * @return This builder for chaining. */ @@ -7454,11 +8224,14 @@ public Builder addJobBenefits(com.google.cloud.talent.v4beta1.JobBenefit value) return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param values The jobBenefits to add. * @return This builder for chaining. */ @@ -7472,11 +8245,14 @@ public Builder addAllJobBenefits( return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return This builder for chaining. */ public Builder clearJobBenefits() { @@ -7486,23 +8262,28 @@ public Builder clearJobBenefits() { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - public java.util.List - getJobBenefitsValueList() { + public java.util.List getJobBenefitsValueList() { return java.util.Collections.unmodifiableList(jobBenefits_); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ @@ -7510,28 +8291,33 @@ public int getJobBenefitsValue(int index) { return jobBenefits_.get(index); } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobBenefits to set. * @return This builder for chaining. */ - public Builder setJobBenefitsValue( - int index, int value) { + public Builder setJobBenefitsValue(int index, int value) { ensureJobBenefitsIsMutable(); jobBenefits_.set(index, value); onChanged(); return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param value The enum numeric value on the wire for jobBenefits to add. * @return This builder for chaining. */ @@ -7542,16 +8328,18 @@ public Builder addJobBenefitsValue(int value) { return this; } /** + * + * *
      * The benefits included with the job.
      * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param values The enum numeric values on the wire for jobBenefits to add. * @return This builder for chaining. */ - public Builder addAllJobBenefitsValue( - java.lang.Iterable values) { + public Builder addAllJobBenefitsValue(java.lang.Iterable values) { ensureJobBenefitsIsMutable(); for (int value : values) { jobBenefits_.add(value); @@ -7562,36 +8350,49 @@ public Builder addAllJobBenefitsValue( private com.google.cloud.talent.v4beta1.CompensationInfo compensationInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> compensationInfoBuilder_; + com.google.cloud.talent.v4beta1.CompensationInfo, + com.google.cloud.talent.v4beta1.CompensationInfo.Builder, + com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> + compensationInfoBuilder_; /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ public boolean hasCompensationInfo() { return compensationInfoBuilder_ != null || compensationInfo_ != null; } /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
      * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ public com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo() { if (compensationInfoBuilder_ == null) { - return compensationInfo_ == null ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_; + return compensationInfo_ == null + ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() + : compensationInfo_; } else { return compensationInfoBuilder_.getMessage(); } } /** + * + * *
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7613,6 +8414,8 @@ public Builder setCompensationInfo(com.google.cloud.talent.v4beta1.CompensationI
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7632,6 +8435,8 @@ public Builder setCompensationInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7643,7 +8448,9 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
       if (compensationInfoBuilder_ == null) {
         if (compensationInfo_ != null) {
           compensationInfo_ =
-            com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.CompensationInfo.newBuilder(compensationInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           compensationInfo_ = value;
         }
@@ -7655,6 +8462,8 @@ public Builder mergeCompensationInfo(com.google.cloud.talent.v4beta1.Compensatio
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7674,6 +8483,8 @@ public Builder clearCompensationInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7682,11 +8493,13 @@ public Builder clearCompensationInfo() {
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
     public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationInfoBuilder() {
-      
+
       onChanged();
       return getCompensationInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7694,15 +8507,19 @@ public com.google.cloud.talent.v4beta1.CompensationInfo.Builder getCompensationI
      *
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
-    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder() {
+    public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder
+        getCompensationInfoOrBuilder() {
       if (compensationInfoBuilder_ != null) {
         return compensationInfoBuilder_.getMessageOrBuilder();
       } else {
-        return compensationInfo_ == null ?
-            com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance() : compensationInfo_;
+        return compensationInfo_ == null
+            ? com.google.cloud.talent.v4beta1.CompensationInfo.getDefaultInstance()
+            : compensationInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Job compensation information (a.k.a. "pay rate") i.e., the compensation
      * that will paid to the employee.
@@ -7711,35 +8528,45 @@ public com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensation
      * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder> 
+            com.google.cloud.talent.v4beta1.CompensationInfo,
+            com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
+            com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>
         getCompensationInfoFieldBuilder() {
       if (compensationInfoBuilder_ == null) {
-        compensationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CompensationInfo, com.google.cloud.talent.v4beta1.CompensationInfo.Builder, com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
-                getCompensationInfo(),
-                getParentForChildren(),
-                isClean());
+        compensationInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.CompensationInfo,
+                com.google.cloud.talent.v4beta1.CompensationInfo.Builder,
+                com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder>(
+                getCompensationInfo(), getParentForChildren(), isClean());
         compensationInfo_ = null;
       }
       return compensationInfoBuilder_;
     }
 
     private com.google.protobuf.MapField<
-        java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute> customAttributes_;
-    private com.google.protobuf.MapField
-    internalGetCustomAttributes() {
+            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+        customAttributes_;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+        internalGetCustomAttributes() {
       if (customAttributes_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       return customAttributes_;
     }
-    private com.google.protobuf.MapField
-    internalGetMutableCustomAttributes() {
-      onChanged();;
+
+    private com.google.protobuf.MapField<
+            java.lang.String, com.google.cloud.talent.v4beta1.CustomAttribute>
+        internalGetMutableCustomAttributes() {
+      onChanged();
+      ;
       if (customAttributes_ == null) {
-        customAttributes_ = com.google.protobuf.MapField.newMapField(
-            CustomAttributesDefaultEntryHolder.defaultEntry);
+        customAttributes_ =
+            com.google.protobuf.MapField.newMapField(
+                CustomAttributesDefaultEntryHolder.defaultEntry);
       }
       if (!customAttributes_.isMutable()) {
         customAttributes_ = customAttributes_.copy();
@@ -7751,6 +8578,8 @@ public int getCustomAttributesCount() {
       return internalGetCustomAttributes().getMap().size();
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7764,24 +8593,26 @@ public int getCustomAttributesCount() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - @java.lang.Override - public boolean containsCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetCustomAttributes().getMap().containsKey(key); } - /** - * Use {@link #getCustomAttributesMap()} instead. - */ + /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getCustomAttributes() { + public java.util.Map + getCustomAttributes() { return getCustomAttributesMap(); } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7795,14 +8626,17 @@ public java.util.Map
      *
-     * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+     * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+     * 
      */
     @java.lang.Override
-
-    public java.util.Map getCustomAttributesMap() {
+    public java.util.Map
+        getCustomAttributesMap() {
       return internalGetCustomAttributes().getMap();
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7816,19 +8650,22 @@ public java.util.Map
      *
-     * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+     * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10;
+     * 
      */
     @java.lang.Override
-
     public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
-        java.lang.String key,
-        com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetCustomAttributes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7842,13 +8679,15 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefa
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetCustomAttributes().getMap(); if (!map.containsKey(key)) { @@ -7858,11 +8697,12 @@ public com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThro } public Builder clearCustomAttributes() { - internalGetMutableCustomAttributes().getMutableMap() - .clear(); + internalGetMutableCustomAttributes().getMutableMap().clear(); return this; } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7876,25 +8716,25 @@ public Builder clearCustomAttributes() {
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - - public Builder removeCustomAttributes( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableCustomAttributes().getMutableMap() - .remove(key); + public Builder removeCustomAttributes(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableCustomAttributes().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableCustomAttributes() { + getMutableCustomAttributes() { return internalGetMutableCustomAttributes().getMutableMap(); } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7908,21 +8748,24 @@ public Builder removeCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ public Builder putCustomAttributes( - java.lang.String key, - com.google.cloud.talent.v4beta1.CustomAttribute value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.cloud.talent.v4beta1.CustomAttribute value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableCustomAttributes().getMutableMap() - .put(key, value); + internalGetMutableCustomAttributes().getMutableMap().put(key, value); return this; } /** + * + * *
      * A map of fields to hold both filterable and non-filterable custom job
      * attributes that are not covered by the provided structured fields.
@@ -7936,18 +8779,17 @@ public Builder putCustomAttributes(
      * is 50KB.
      * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - public Builder putAllCustomAttributes( java.util.Map values) { - internalGetMutableCustomAttributes().getMutableMap() - .putAll(values); + internalGetMutableCustomAttributes().getMutableMap().putAll(values); return this; } - private java.util.List degreeTypes_ = - java.util.Collections.emptyList(); + private java.util.List degreeTypes_ = java.util.Collections.emptyList(); + private void ensureDegreeTypesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { degreeTypes_ = new java.util.ArrayList(degreeTypes_); @@ -7955,34 +8797,44 @@ private void ensureDegreeTypesIsMutable() { } } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ public java.util.List getDegreeTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>(degreeTypes_, degreeTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.DegreeType>( + degreeTypes_, degreeTypes_converter_); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ public int getDegreeTypesCount() { return degreeTypes_.size(); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ @@ -7990,17 +8842,19 @@ public com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index) { return degreeTypes_converter_.convert(degreeTypes_.get(index)); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index to set the value at. * @param value The degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypes( - int index, com.google.cloud.talent.v4beta1.DegreeType value) { + public Builder setDegreeTypes(int index, com.google.cloud.talent.v4beta1.DegreeType value) { if (value == null) { throw new NullPointerException(); } @@ -8010,11 +8864,14 @@ public Builder setDegreeTypes( return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param value The degreeTypes to add. * @return This builder for chaining. */ @@ -8028,11 +8885,14 @@ public Builder addDegreeTypes(com.google.cloud.talent.v4beta1.DegreeType value) return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param values The degreeTypes to add. * @return This builder for chaining. */ @@ -8046,11 +8906,14 @@ public Builder addAllDegreeTypes( return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return This builder for chaining. */ public Builder clearDegreeTypes() { @@ -8060,23 +8923,28 @@ public Builder clearDegreeTypes() { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - public java.util.List - getDegreeTypesValueList() { + public java.util.List getDegreeTypesValueList() { return java.util.Collections.unmodifiableList(degreeTypes_); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ @@ -8084,28 +8952,33 @@ public int getDegreeTypesValue(int index) { return degreeTypes_.get(index); } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for degreeTypes to set. * @return This builder for chaining. */ - public Builder setDegreeTypesValue( - int index, int value) { + public Builder setDegreeTypesValue(int index, int value) { ensureDegreeTypesIsMutable(); degreeTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param value The enum numeric value on the wire for degreeTypes to add. * @return This builder for chaining. */ @@ -8116,16 +8989,18 @@ public Builder addDegreeTypesValue(int value) { return this; } /** + * + * *
      * The desired education degrees for the job, such as Bachelors, Masters.
      * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param values The enum numeric values on the wire for degreeTypes to add. * @return This builder for chaining. */ - public Builder addAllDegreeTypesValue( - java.lang.Iterable values) { + public Builder addAllDegreeTypesValue(java.lang.Iterable values) { ensureDegreeTypesIsMutable(); for (int value : values) { degreeTypes_.add(value); @@ -8136,6 +9011,8 @@ public Builder addAllDegreeTypesValue( private java.lang.Object department_ = ""; /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8143,13 +9020,13 @@ public Builder addAllDegreeTypesValue(
      * 
* * string department = 12; + * * @return The department. */ public java.lang.String getDepartment() { java.lang.Object ref = department_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); department_ = s; return s; @@ -8158,6 +9035,8 @@ public java.lang.String getDepartment() { } } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8165,15 +9044,14 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; + * * @return The bytes for department. */ - public com.google.protobuf.ByteString - getDepartmentBytes() { + public com.google.protobuf.ByteString getDepartmentBytes() { java.lang.Object ref = department_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); department_ = b; return b; } else { @@ -8181,6 +9059,8 @@ public java.lang.String getDepartment() { } } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8188,20 +9068,22 @@ public java.lang.String getDepartment() {
      * 
* * string department = 12; + * * @param value The department to set. * @return This builder for chaining. */ - public Builder setDepartment( - java.lang.String value) { + public Builder setDepartment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + department_ = value; onChanged(); return this; } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8209,15 +9091,18 @@ public Builder setDepartment(
      * 
* * string department = 12; + * * @return This builder for chaining. */ public Builder clearDepartment() { - + department_ = getDefaultInstance().getDepartment(); onChanged(); return this; } /** + * + * *
      * The department or functional area within the company with the open
      * position.
@@ -8225,23 +9110,23 @@ public Builder clearDepartment() {
      * 
* * string department = 12; + * * @param value The bytes for department to set. * @return This builder for chaining. */ - public Builder setDepartmentBytes( - com.google.protobuf.ByteString value) { + public Builder setDepartmentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + department_ = value; onChanged(); return this; } - private java.util.List employmentTypes_ = - java.util.Collections.emptyList(); + private java.util.List employmentTypes_ = java.util.Collections.emptyList(); + private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -8249,6 +9134,8 @@ private void ensureEmploymentTypesIsMutable() { } } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8256,13 +9143,17 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8270,12 +9161,15 @@ public java.util.List getEmploym
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8283,6 +9177,7 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -8290,6 +9185,8 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8297,6 +9194,7 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. @@ -8312,6 +9210,8 @@ public Builder setEmploymentTypes( return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8319,6 +9219,7 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -8332,6 +9233,8 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8339,6 +9242,7 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -8352,6 +9256,8 @@ public Builder addAllEmploymentTypes( return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8359,6 +9265,7 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -8368,6 +9275,8 @@ public Builder clearEmploymentTypes() { return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8375,13 +9284,15 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8389,6 +9300,7 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -8396,6 +9308,8 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8403,18 +9317,20 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue( - int index, int value) { + public Builder setEmploymentTypesValue(int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8422,6 +9338,7 @@ public Builder setEmploymentTypesValue(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -8432,6 +9349,8 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** + * + * *
      * The employment type(s) of a job, for example,
      * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -8439,11 +9358,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue( - java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -8454,6 +9373,8 @@ public Builder addAllEmploymentTypesValue( private java.lang.Object incentives_ = ""; /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8461,13 +9382,13 @@ public Builder addAllEmploymentTypesValue(
      * 
* * string incentives = 14; + * * @return The incentives. */ public java.lang.String getIncentives() { java.lang.Object ref = incentives_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incentives_ = s; return s; @@ -8476,6 +9397,8 @@ public java.lang.String getIncentives() { } } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8483,15 +9406,14 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; + * * @return The bytes for incentives. */ - public com.google.protobuf.ByteString - getIncentivesBytes() { + public com.google.protobuf.ByteString getIncentivesBytes() { java.lang.Object ref = incentives_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incentives_ = b; return b; } else { @@ -8499,6 +9421,8 @@ public java.lang.String getIncentives() { } } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8506,20 +9430,22 @@ public java.lang.String getIncentives() {
      * 
* * string incentives = 14; + * * @param value The incentives to set. * @return This builder for chaining. */ - public Builder setIncentives( - java.lang.String value) { + public Builder setIncentives(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incentives_ = value; onChanged(); return this; } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8527,15 +9453,18 @@ public Builder setIncentives(
      * 
* * string incentives = 14; + * * @return This builder for chaining. */ public Builder clearIncentives() { - + incentives_ = getDefaultInstance().getIncentives(); onChanged(); return this; } /** + * + * *
      * A description of bonus, commission, and other compensation
      * incentives associated with the job not including salary or pay.
@@ -8543,16 +9472,16 @@ public Builder clearIncentives() {
      * 
* * string incentives = 14; + * * @param value The bytes for incentives to set. * @return This builder for chaining. */ - public Builder setIncentivesBytes( - com.google.protobuf.ByteString value) { + public Builder setIncentivesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incentives_ = value; onChanged(); return this; @@ -8560,6 +9489,8 @@ public Builder setIncentivesBytes( private java.lang.Object languageCode_ = ""; /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8573,13 +9504,13 @@ public Builder setIncentivesBytes(
      * 
* * string language_code = 15; + * * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); languageCode_ = s; return s; @@ -8588,6 +9519,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8601,15 +9534,14 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ - public com.google.protobuf.ByteString - getLanguageCodeBytes() { + public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); languageCode_ = b; return b; } else { @@ -8617,6 +9549,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8630,20 +9564,22 @@ public java.lang.String getLanguageCode() {
      * 
* * string language_code = 15; + * * @param value The languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCode( - java.lang.String value) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8657,15 +9593,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 15; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
      * The language of the posting. This field is distinct from
      * any requirements for fluency that are associated with the job.
@@ -8679,16 +9618,16 @@ public Builder clearLanguageCode() {
      * 
* * string language_code = 15; + * * @param value The bytes for languageCode to set. * @return This builder for chaining. */ - public Builder setLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -8696,51 +9635,65 @@ public Builder setLanguageCodeBytes( private int jobLevel_ = 0; /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ - @java.lang.Override public int getJobLevelValue() { + @java.lang.Override + public int getJobLevelValue() { return jobLevel_; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @param value The enum numeric value on the wire for jobLevel to set. * @return This builder for chaining. */ public Builder setJobLevelValue(int value) { - + jobLevel_ = value; onChanged(); return this; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The jobLevel. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobLevel getJobLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobLevel result = com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); + com.google.cloud.talent.v4beta1.JobLevel result = + com.google.cloud.talent.v4beta1.JobLevel.valueOf(jobLevel_); return result == null ? com.google.cloud.talent.v4beta1.JobLevel.UNRECOGNIZED : result; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @param value The jobLevel to set. * @return This builder for chaining. */ @@ -8748,28 +9701,33 @@ public Builder setJobLevel(com.google.cloud.talent.v4beta1.JobLevel value) { if (value == null) { throw new NullPointerException(); } - + jobLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The experience level associated with the job, such as "Entry Level".
      * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return This builder for chaining. */ public Builder clearJobLevel() { - + jobLevel_ = 0; onChanged(); return this; } - private int promotionValue_ ; + private int promotionValue_; /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8780,6 +9738,7 @@ public Builder clearJobLevel() {
      * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ @java.lang.Override @@ -8787,6 +9746,8 @@ public int getPromotionValue() { return promotionValue_; } /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8797,16 +9758,19 @@ public int getPromotionValue() {
      * 
* * int32 promotion_value = 17; + * * @param value The promotionValue to set. * @return This builder for chaining. */ public Builder setPromotionValue(int value) { - + promotionValue_ = value; onChanged(); return this; } /** + * + * *
      * A promotion value of the job, as determined by the client.
      * The value determines the sort order of the jobs returned when searching for
@@ -8817,10 +9781,11 @@ public Builder setPromotionValue(int value) {
      * 
* * int32 promotion_value = 17; + * * @return This builder for chaining. */ public Builder clearPromotionValue() { - + promotionValue_ = 0; onChanged(); return this; @@ -8828,6 +9793,8 @@ public Builder clearPromotionValue() { private java.lang.Object qualifications_ = ""; /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8838,13 +9805,13 @@ public Builder clearPromotionValue() {
      * 
* * string qualifications = 18; + * * @return The qualifications. */ public java.lang.String getQualifications() { java.lang.Object ref = qualifications_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); qualifications_ = s; return s; @@ -8853,6 +9820,8 @@ public java.lang.String getQualifications() { } } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8863,15 +9832,14 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ - public com.google.protobuf.ByteString - getQualificationsBytes() { + public com.google.protobuf.ByteString getQualificationsBytes() { java.lang.Object ref = qualifications_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); qualifications_ = b; return b; } else { @@ -8879,6 +9847,8 @@ public java.lang.String getQualifications() { } } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8889,20 +9859,22 @@ public java.lang.String getQualifications() {
      * 
* * string qualifications = 18; + * * @param value The qualifications to set. * @return This builder for chaining. */ - public Builder setQualifications( - java.lang.String value) { + public Builder setQualifications(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + qualifications_ = value; onChanged(); return this; } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8913,15 +9885,18 @@ public Builder setQualifications(
      * 
* * string qualifications = 18; + * * @return This builder for chaining. */ public Builder clearQualifications() { - + qualifications_ = getDefaultInstance().getQualifications(); onChanged(); return this; } /** + * + * *
      * A description of the qualifications required to perform the
      * job. The use of this field is recommended
@@ -8932,16 +9907,16 @@ public Builder clearQualifications() {
      * 
* * string qualifications = 18; + * * @param value The bytes for qualifications to set. * @return This builder for chaining. */ - public Builder setQualificationsBytes( - com.google.protobuf.ByteString value) { + public Builder setQualificationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + qualifications_ = value; onChanged(); return this; @@ -8949,6 +9924,8 @@ public Builder setQualificationsBytes( private java.lang.Object responsibilities_ = ""; /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -8959,13 +9936,13 @@ public Builder setQualificationsBytes(
      * 
* * string responsibilities = 19; + * * @return The responsibilities. */ public java.lang.String getResponsibilities() { java.lang.Object ref = responsibilities_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); responsibilities_ = s; return s; @@ -8974,6 +9951,8 @@ public java.lang.String getResponsibilities() { } } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -8984,15 +9963,14 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ - public com.google.protobuf.ByteString - getResponsibilitiesBytes() { + public com.google.protobuf.ByteString getResponsibilitiesBytes() { java.lang.Object ref = responsibilities_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); responsibilities_ = b; return b; } else { @@ -9000,6 +9978,8 @@ public java.lang.String getResponsibilities() { } } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9010,20 +9990,22 @@ public java.lang.String getResponsibilities() {
      * 
* * string responsibilities = 19; + * * @param value The responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilities( - java.lang.String value) { + public Builder setResponsibilities(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + responsibilities_ = value; onChanged(); return this; } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9034,15 +10016,18 @@ public Builder setResponsibilities(
      * 
* * string responsibilities = 19; + * * @return This builder for chaining. */ public Builder clearResponsibilities() { - + responsibilities_ = getDefaultInstance().getResponsibilities(); onChanged(); return this; } /** + * + * *
      * A description of job responsibilities. The use of this field is
      * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -9053,16 +10038,16 @@ public Builder clearResponsibilities() {
      * 
* * string responsibilities = 19; + * * @param value The bytes for responsibilities to set. * @return This builder for chaining. */ - public Builder setResponsibilitiesBytes( - com.google.protobuf.ByteString value) { + public Builder setResponsibilitiesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + responsibilities_ = value; onChanged(); return this; @@ -9070,6 +10055,8 @@ public Builder setResponsibilitiesBytes( private int postingRegion_ = 0; /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9081,12 +10068,16 @@ public Builder setResponsibilitiesBytes(
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ - @java.lang.Override public int getPostingRegionValue() { + @java.lang.Override + public int getPostingRegionValue() { return postingRegion_; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9098,16 +10089,19 @@ public Builder setResponsibilitiesBytes(
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @param value The enum numeric value on the wire for postingRegion to set. * @return This builder for chaining. */ public Builder setPostingRegionValue(int value) { - + postingRegion_ = value; onChanged(); return this; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9119,15 +10113,19 @@ public Builder setPostingRegionValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The postingRegion. */ @java.lang.Override public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.PostingRegion result = com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); + com.google.cloud.talent.v4beta1.PostingRegion result = + com.google.cloud.talent.v4beta1.PostingRegion.valueOf(postingRegion_); return result == null ? com.google.cloud.talent.v4beta1.PostingRegion.UNRECOGNIZED : result; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9139,6 +10137,7 @@ public com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @param value The postingRegion to set. * @return This builder for chaining. */ @@ -9146,12 +10145,14 @@ public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion va if (value == null) { throw new NullPointerException(); } - + postingRegion_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
      * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -9163,10 +10164,11 @@ public Builder setPostingRegion(com.google.cloud.talent.v4beta1.PostingRegion va
      * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return This builder for chaining. */ public Builder clearPostingRegion() { - + postingRegion_ = 0; onChanged(); return this; @@ -9174,6 +10176,8 @@ public Builder clearPostingRegion() { private int visibility_ = 0; /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9181,14 +10185,19 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Override @java.lang.Deprecated public int getVisibilityValue() { + @java.lang.Override + @java.lang.Deprecated + public int getVisibilityValue() { return visibility_; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9196,18 +10205,22 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @param value The enum numeric value on the wire for visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setVisibilityValue(int value) { - + @java.lang.Deprecated + public Builder setVisibilityValue(int value) { + visibility_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9215,17 +10228,22 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.talent.v4beta1.Visibility getVisibility() { + @java.lang.Deprecated + public com.google.cloud.talent.v4beta1.Visibility getVisibility() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Visibility result = com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); + com.google.cloud.talent.v4beta1.Visibility result = + com.google.cloud.talent.v4beta1.Visibility.valueOf(visibility_); return result == null ? com.google.cloud.talent.v4beta1.Visibility.UNRECOGNIZED : result; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9233,21 +10251,25 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @param value The visibility to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { + @java.lang.Deprecated + public Builder setVisibility(com.google.cloud.talent.v4beta1.Visibility value) { if (value == null) { throw new NullPointerException(); } - + visibility_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Deprecated. The job is only visible to the owner.
      * The visibility of the job.
@@ -9255,12 +10277,14 @@ public Builder clearPostingRegion() {
      * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearVisibility() { - + @java.lang.Deprecated + public Builder clearVisibility() { + visibility_ = 0; onChanged(); return this; @@ -9268,36 +10292,49 @@ public Builder clearPostingRegion() { private com.google.protobuf.Timestamp jobStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + jobStartTimeBuilder_; /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ public boolean hasJobStartTime() { return jobStartTimeBuilder_ != null || jobStartTime_ != null; } /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ public com.google.protobuf.Timestamp getJobStartTime() { if (jobStartTimeBuilder_ == null) { - return jobStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_; + return jobStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobStartTime_; } else { return jobStartTimeBuilder_.getMessage(); } } /** + * + * *
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9319,6 +10356,8 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9326,8 +10365,7 @@ public Builder setJobStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_start_time = 22;
      */
-    public Builder setJobStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobStartTimeBuilder_ == null) {
         jobStartTime_ = builderForValue.build();
         onChanged();
@@ -9338,6 +10376,8 @@ public Builder setJobStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9349,7 +10389,9 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       if (jobStartTimeBuilder_ == null) {
         if (jobStartTime_ != null) {
           jobStartTime_ =
-            com.google.protobuf.Timestamp.newBuilder(jobStartTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(jobStartTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           jobStartTime_ = value;
         }
@@ -9361,6 +10403,8 @@ public Builder mergeJobStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9380,6 +10424,8 @@ public Builder clearJobStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9388,11 +10434,13 @@ public Builder clearJobStartTime() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     public com.google.protobuf.Timestamp.Builder getJobStartTimeBuilder() {
-      
+
       onChanged();
       return getJobStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9404,11 +10452,14 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
       if (jobStartTimeBuilder_ != null) {
         return jobStartTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobStartTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : jobStartTime_;
+        return jobStartTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : jobStartTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The start timestamp of the job in UTC time zone. Typically this field
      * is used for contracting engagements. Invalid timestamps are ignored.
@@ -9417,14 +10468,17 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
      * .google.protobuf.Timestamp job_start_time = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getJobStartTimeFieldBuilder() {
       if (jobStartTimeBuilder_ == null) {
-        jobStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getJobStartTime(),
-                getParentForChildren(),
-                isClean());
+        jobStartTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getJobStartTime(), getParentForChildren(), isClean());
         jobStartTime_ = null;
       }
       return jobStartTimeBuilder_;
@@ -9432,36 +10486,49 @@ public com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp jobEndTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> jobEndTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        jobEndTimeBuilder_;
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ public boolean hasJobEndTime() { return jobEndTimeBuilder_ != null || jobEndTime_ != null; } /** + * + * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
      * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ public com.google.protobuf.Timestamp getJobEndTime() { if (jobEndTimeBuilder_ == null) { - return jobEndTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_; + return jobEndTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : jobEndTime_; } else { return jobEndTimeBuilder_.getMessage(); } } /** + * + * *
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9483,6 +10550,8 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9490,8 +10559,7 @@ public Builder setJobEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp job_end_time = 23;
      */
-    public Builder setJobEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setJobEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (jobEndTimeBuilder_ == null) {
         jobEndTime_ = builderForValue.build();
         onChanged();
@@ -9502,6 +10570,8 @@ public Builder setJobEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9513,7 +10583,7 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       if (jobEndTimeBuilder_ == null) {
         if (jobEndTime_ != null) {
           jobEndTime_ =
-            com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(jobEndTime_).mergeFrom(value).buildPartial();
         } else {
           jobEndTime_ = value;
         }
@@ -9525,6 +10595,8 @@ public Builder mergeJobEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9544,6 +10616,8 @@ public Builder clearJobEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9552,11 +10626,13 @@ public Builder clearJobEndTime() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     public com.google.protobuf.Timestamp.Builder getJobEndTimeBuilder() {
-      
+
       onChanged();
       return getJobEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9568,11 +10644,14 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
       if (jobEndTimeBuilder_ != null) {
         return jobEndTimeBuilder_.getMessageOrBuilder();
       } else {
-        return jobEndTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : jobEndTime_;
+        return jobEndTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : jobEndTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The end timestamp of the job. Typically this field is used for contracting
      * engagements. Invalid timestamps are ignored.
@@ -9581,14 +10660,17 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * .google.protobuf.Timestamp job_end_time = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getJobEndTimeFieldBuilder() {
       if (jobEndTimeBuilder_ == null) {
-        jobEndTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getJobEndTime(),
-                getParentForChildren(),
-                isClean());
+        jobEndTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getJobEndTime(), getParentForChildren(), isClean());
         jobEndTime_ = null;
       }
       return jobEndTimeBuilder_;
@@ -9596,8 +10678,13 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingPublishTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingPublishTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingPublishTimeBuilder_;
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9605,12 +10692,15 @@ public com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ public boolean hasPostingPublishTime() { return postingPublishTimeBuilder_ != null || postingPublishTime_ != null; } /** + * + * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9618,16 +10708,21 @@ public boolean hasPostingPublishTime() {
      * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ public com.google.protobuf.Timestamp getPostingPublishTime() { if (postingPublishTimeBuilder_ == null) { - return postingPublishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_; + return postingPublishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingPublishTime_; } else { return postingPublishTimeBuilder_.getMessage(); } } /** + * + * *
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9650,6 +10745,8 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9658,8 +10755,7 @@ public Builder setPostingPublishTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
-    public Builder setPostingPublishTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingPublishTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingPublishTimeBuilder_ == null) {
         postingPublishTime_ = builderForValue.build();
         onChanged();
@@ -9670,6 +10766,8 @@ public Builder setPostingPublishTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9682,7 +10780,9 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       if (postingPublishTimeBuilder_ == null) {
         if (postingPublishTime_ != null) {
           postingPublishTime_ =
-            com.google.protobuf.Timestamp.newBuilder(postingPublishTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(postingPublishTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postingPublishTime_ = value;
         }
@@ -9694,6 +10794,8 @@ public Builder mergePostingPublishTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9714,6 +10816,8 @@ public Builder clearPostingPublishTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9723,11 +10827,13 @@ public Builder clearPostingPublishTime() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     public com.google.protobuf.Timestamp.Builder getPostingPublishTimeBuilder() {
-      
+
       onChanged();
       return getPostingPublishTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9740,11 +10846,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
       if (postingPublishTimeBuilder_ != null) {
         return postingPublishTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingPublishTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : postingPublishTime_;
+        return postingPublishTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : postingPublishTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The timestamp this job posting was most recently published. The default
      * value is the time the request arrives at the server. Invalid timestamps are
@@ -9754,14 +10863,17 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_publish_time = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getPostingPublishTimeFieldBuilder() {
       if (postingPublishTimeBuilder_ == null) {
-        postingPublishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPostingPublishTime(),
-                getParentForChildren(),
-                isClean());
+        postingPublishTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPostingPublishTime(), getParentForChildren(), isClean());
         postingPublishTime_ = null;
       }
       return postingPublishTimeBuilder_;
@@ -9769,8 +10881,13 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingExpireTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingExpireTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingExpireTimeBuilder_;
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9810,12 +10927,15 @@ public com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ public boolean hasPostingExpireTime() { return postingExpireTimeBuilder_ != null || postingExpireTime_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9855,16 +10975,21 @@ public boolean hasPostingExpireTime() {
      * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ public com.google.protobuf.Timestamp getPostingExpireTime() { if (postingExpireTimeBuilder_ == null) { - return postingExpireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_; + return postingExpireTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingExpireTime_; } else { return postingExpireTimeBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9919,6 +11044,8 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -9959,8 +11086,7 @@ public Builder setPostingExpireTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
-    public Builder setPostingExpireTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setPostingExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (postingExpireTimeBuilder_ == null) {
         postingExpireTime_ = builderForValue.build();
         onChanged();
@@ -9971,6 +11097,8 @@ public Builder setPostingExpireTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10015,7 +11143,9 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       if (postingExpireTimeBuilder_ == null) {
         if (postingExpireTime_ != null) {
           postingExpireTime_ =
-            com.google.protobuf.Timestamp.newBuilder(postingExpireTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(postingExpireTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postingExpireTime_ = value;
         }
@@ -10027,6 +11157,8 @@ public Builder mergePostingExpireTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10079,6 +11211,8 @@ public Builder clearPostingExpireTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10120,11 +11254,13 @@ public Builder clearPostingExpireTime() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     public com.google.protobuf.Timestamp.Builder getPostingExpireTimeBuilder() {
-      
+
       onChanged();
       return getPostingExpireTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10169,11 +11305,14 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
       if (postingExpireTimeBuilder_ != null) {
         return postingExpireTimeBuilder_.getMessageOrBuilder();
       } else {
-        return postingExpireTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : postingExpireTime_;
+        return postingExpireTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : postingExpireTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * The expiration timestamp of the job. After this timestamp, the
@@ -10215,14 +11354,17 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
      * .google.protobuf.Timestamp posting_expire_time = 25;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getPostingExpireTimeFieldBuilder() {
       if (postingExpireTimeBuilder_ == null) {
-        postingExpireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getPostingExpireTime(),
-                getParentForChildren(),
-                isClean());
+        postingExpireTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getPostingExpireTime(), getParentForChildren(), isClean());
         postingExpireTime_ = null;
       }
       return postingExpireTimeBuilder_;
@@ -10230,39 +11372,58 @@ public com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp postingCreateTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingCreateTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        postingCreateTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ public boolean hasPostingCreateTime() { return postingCreateTimeBuilder_ != null || postingCreateTime_ != null; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ public com.google.protobuf.Timestamp getPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { - return postingCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } else { return postingCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { @@ -10278,14 +11439,17 @@ public Builder setPostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostingCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (postingCreateTimeBuilder_ == null) { postingCreateTime_ = builderForValue.build(); onChanged(); @@ -10296,17 +11460,23 @@ public Builder setPostingCreateTime( return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { if (postingCreateTimeBuilder_ == null) { if (postingCreateTime_ != null) { postingCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { postingCreateTime_ = value; } @@ -10318,11 +11488,15 @@ public Builder mergePostingCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostingCreateTime() { if (postingCreateTimeBuilder_ == null) { @@ -10336,48 +11510,64 @@ public Builder clearPostingCreateTime() { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getPostingCreateTimeBuilder() { - + onChanged(); return getPostingCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { if (postingCreateTimeBuilder_ != null) { return postingCreateTimeBuilder_.getMessageOrBuilder(); } else { - return postingCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : postingCreateTime_; + return postingCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingCreateTime_; } } /** + * + * *
      * Output only. The timestamp when this job posting was created.
      * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getPostingCreateTimeFieldBuilder() { if (postingCreateTimeBuilder_ == null) { - postingCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPostingCreateTime(), - getParentForChildren(), - isClean()); + postingCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPostingCreateTime(), getParentForChildren(), isClean()); postingCreateTime_ = null; } return postingCreateTimeBuilder_; @@ -10385,39 +11575,58 @@ public com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder() { private com.google.protobuf.Timestamp postingUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> postingUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + postingUpdateTimeBuilder_; /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ public boolean hasPostingUpdateTime() { return postingUpdateTimeBuilder_ != null || postingUpdateTime_ != null; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ public com.google.protobuf.Timestamp getPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { - return postingUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } else { return postingUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { @@ -10433,14 +11642,17 @@ public Builder setPostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setPostingUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPostingUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (postingUpdateTimeBuilder_ == null) { postingUpdateTime_ = builderForValue.build(); onChanged(); @@ -10451,17 +11663,23 @@ public Builder setPostingUpdateTime( return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { if (postingUpdateTimeBuilder_ == null) { if (postingUpdateTime_ != null) { postingUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(postingUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { postingUpdateTime_ = value; } @@ -10473,11 +11691,15 @@ public Builder mergePostingUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPostingUpdateTime() { if (postingUpdateTimeBuilder_ == null) { @@ -10491,48 +11713,64 @@ public Builder clearPostingUpdateTime() { return this; } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getPostingUpdateTimeBuilder() { - + onChanged(); return getPostingUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { if (postingUpdateTimeBuilder_ != null) { return postingUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return postingUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : postingUpdateTime_; + return postingUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : postingUpdateTime_; } } /** + * + * *
      * Output only. The timestamp when this job posting was last updated.
      * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getPostingUpdateTimeFieldBuilder() { if (postingUpdateTimeBuilder_ == null) { - postingUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPostingUpdateTime(), - getParentForChildren(), - isClean()); + postingUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPostingUpdateTime(), getParentForChildren(), isClean()); postingUpdateTime_ = null; } return postingUpdateTimeBuilder_; @@ -10540,18 +11778,20 @@ public com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder() { private java.lang.Object companyDisplayName_ = ""; /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ public java.lang.String getCompanyDisplayName() { java.lang.Object ref = companyDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); companyDisplayName_ = s; return s; @@ -10560,20 +11800,21 @@ public java.lang.String getCompanyDisplayName() { } } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ - public com.google.protobuf.ByteString - getCompanyDisplayNameBytes() { + public com.google.protobuf.ByteString getCompanyDisplayNameBytes() { java.lang.Object ref = companyDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); companyDisplayName_ = b; return b; } else { @@ -10581,54 +11822,61 @@ public java.lang.String getCompanyDisplayName() { } } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayName( - java.lang.String value) { + public Builder setCompanyDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + companyDisplayName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCompanyDisplayName() { - + companyDisplayName_ = getDefaultInstance().getCompanyDisplayName(); onChanged(); return this; } /** + * + * *
      * Output only. Display name of the company listing the job.
      * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for companyDisplayName to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCompanyDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + companyDisplayName_ = value; onChanged(); return this; @@ -10636,39 +11884,58 @@ public Builder setCompanyDisplayNameBytes( private com.google.cloud.talent.v4beta1.Job.DerivedInfo derivedInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> derivedInfoBuilder_; + com.google.cloud.talent.v4beta1.Job.DerivedInfo, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> + derivedInfoBuilder_; /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ public boolean hasDerivedInfo() { return derivedInfoBuilder_ != null || derivedInfo_ != null; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ public com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo() { if (derivedInfoBuilder_ == null) { - return derivedInfo_ == null ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } else { return derivedInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { @@ -10684,11 +11951,15 @@ public Builder setDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo va return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDerivedInfo( com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder builderForValue) { @@ -10702,17 +11973,23 @@ public Builder setDerivedInfo( return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo value) { if (derivedInfoBuilder_ == null) { if (derivedInfo_ != null) { derivedInfo_ = - com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.DerivedInfo.newBuilder(derivedInfo_) + .mergeFrom(value) + .buildPartial(); } else { derivedInfo_ = value; } @@ -10724,11 +12001,15 @@ public Builder mergeDerivedInfo(com.google.cloud.talent.v4beta1.Job.DerivedInfo return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDerivedInfo() { if (derivedInfoBuilder_ == null) { @@ -10742,48 +12023,64 @@ public Builder clearDerivedInfo() { return this; } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder getDerivedInfoBuilder() { - + onChanged(); return getDerivedInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder() { if (derivedInfoBuilder_ != null) { return derivedInfoBuilder_.getMessageOrBuilder(); } else { - return derivedInfo_ == null ? - com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() : derivedInfo_; + return derivedInfo_ == null + ? com.google.cloud.talent.v4beta1.Job.DerivedInfo.getDefaultInstance() + : derivedInfo_; } } /** + * + * *
      * Output only. Derived details about the job posting.
      * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> + com.google.cloud.talent.v4beta1.Job.DerivedInfo, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder> getDerivedInfoFieldBuilder() { if (derivedInfoBuilder_ == null) { - derivedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.DerivedInfo, com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>( - getDerivedInfo(), - getParentForChildren(), - isClean()); + derivedInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.DerivedInfo, + com.google.cloud.talent.v4beta1.Job.DerivedInfo.Builder, + com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder>( + getDerivedInfo(), getParentForChildren(), isClean()); derivedInfo_ = null; } return derivedInfoBuilder_; @@ -10791,41 +12088,55 @@ public com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOr private com.google.cloud.talent.v4beta1.Job.ProcessingOptions processingOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> processingOptionsBuilder_; + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> + processingOptionsBuilder_; /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ public boolean hasProcessingOptions() { return processingOptionsBuilder_ != null || processingOptions_ != null; } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ public com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions() { if (processingOptionsBuilder_ == null) { - return processingOptions_ == null ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } else { return processingOptionsBuilder_.getMessage(); } } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public Builder setProcessingOptions(com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { + public Builder setProcessingOptions( + com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { if (processingOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10839,6 +12150,8 @@ public Builder setProcessingOptions(com.google.cloud.talent.v4beta1.Job.Processi return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10857,17 +12170,22 @@ public Builder setProcessingOptions( return this; } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public Builder mergeProcessingOptions(com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { + public Builder mergeProcessingOptions( + com.google.cloud.talent.v4beta1.Job.ProcessingOptions value) { if (processingOptionsBuilder_ == null) { if (processingOptions_ != null) { processingOptions_ = - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.newBuilder(processingOptions_) + .mergeFrom(value) + .buildPartial(); } else { processingOptions_ = value; } @@ -10879,6 +12197,8 @@ public Builder mergeProcessingOptions(com.google.cloud.talent.v4beta1.Job.Proces return this; } /** + * + * *
      * Options for job processing.
      * 
@@ -10897,33 +12217,42 @@ public Builder clearProcessingOptions() { return this; } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder getProcessingOptionsBuilder() { - + public com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder + getProcessingOptionsBuilder() { + onChanged(); return getProcessingOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options for job processing.
      * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ - public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcessingOptionsOrBuilder() { + public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder + getProcessingOptionsOrBuilder() { if (processingOptionsBuilder_ != null) { return processingOptionsBuilder_.getMessageOrBuilder(); } else { - return processingOptions_ == null ? - com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() : processingOptions_; + return processingOptions_ == null + ? com.google.cloud.talent.v4beta1.Job.ProcessingOptions.getDefaultInstance() + : processingOptions_; } } /** + * + * *
      * Options for job processing.
      * 
@@ -10931,21 +12260,24 @@ public com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder getProcess * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder> getProcessingOptionsFieldBuilder() { if (processingOptionsBuilder_ == null) { - processingOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job.ProcessingOptions, com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>( - getProcessingOptions(), - getParentForChildren(), - isClean()); + processingOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job.ProcessingOptions, + com.google.cloud.talent.v4beta1.Job.ProcessingOptions.Builder, + com.google.cloud.talent.v4beta1.Job.ProcessingOptionsOrBuilder>( + getProcessingOptions(), getParentForChildren(), isClean()); processingOptions_ = null; } return processingOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10955,12 +12287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Job) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Job) private static final com.google.cloud.talent.v4beta1.Job DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Job(); } @@ -10969,27 +12301,27 @@ public static com.google.cloud.talent.v4beta1.Job getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Job parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Job parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11004,6 +12336,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java similarity index 76% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java index 40a05c0e30fe..8a7b2867cb81 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobBenefit.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents employee benefits included with the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.JobBenefit} */ -public enum JobBenefit - implements com.google.protobuf.ProtocolMessageEnum { +public enum JobBenefit implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value if the type isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum JobBenefit */ JOB_BENEFIT_UNSPECIFIED(0), /** + * + * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -30,6 +50,8 @@ public enum JobBenefit
    */
   CHILD_CARE(1),
   /**
+   *
+   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -39,6 +61,8 @@ public enum JobBenefit
    */
   DENTAL(2),
   /**
+   *
+   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -47,6 +71,8 @@ public enum JobBenefit */ DOMESTIC_PARTNER(3), /** + * + * *
    * The job allows for a flexible work schedule.
    * 
@@ -55,6 +81,8 @@ public enum JobBenefit */ FLEXIBLE_HOURS(4), /** + * + * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -63,6 +91,8 @@ public enum JobBenefit */ MEDICAL(5), /** + * + * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -72,6 +102,8 @@ public enum JobBenefit
    */
   LIFE_INSURANCE(6),
   /**
+   *
+   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -81,6 +113,8 @@ public enum JobBenefit
    */
   PARENTAL_LEAVE(7),
   /**
+   *
+   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -90,6 +124,8 @@ public enum JobBenefit
    */
   RETIREMENT_PLAN(8),
   /**
+   *
+   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -98,6 +134,8 @@ public enum JobBenefit */ SICK_DAYS(9), /** + * + * *
    * The job includes paid time off for vacation.
    * 
@@ -106,6 +144,8 @@ public enum JobBenefit */ VACATION(10), /** + * + * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -118,6 +158,8 @@ public enum JobBenefit
   ;
 
   /**
+   *
+   *
    * 
    * Default value if the type isn't specified.
    * 
@@ -126,6 +168,8 @@ public enum JobBenefit */ public static final int JOB_BENEFIT_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The job includes access to programs that support child care, such
    * as daycare.
@@ -135,6 +179,8 @@ public enum JobBenefit
    */
   public static final int CHILD_CARE_VALUE = 1;
   /**
+   *
+   *
    * 
    * The job includes dental services covered by a dental
    * insurance plan.
@@ -144,6 +190,8 @@ public enum JobBenefit
    */
   public static final int DENTAL_VALUE = 2;
   /**
+   *
+   *
    * 
    * The job offers specific benefits to domestic partners.
    * 
@@ -152,6 +200,8 @@ public enum JobBenefit */ public static final int DOMESTIC_PARTNER_VALUE = 3; /** + * + * *
    * The job allows for a flexible work schedule.
    * 
@@ -160,6 +210,8 @@ public enum JobBenefit */ public static final int FLEXIBLE_HOURS_VALUE = 4; /** + * + * *
    * The job includes health services covered by a medical insurance plan.
    * 
@@ -168,6 +220,8 @@ public enum JobBenefit */ public static final int MEDICAL_VALUE = 5; /** + * + * *
    * The job includes a life insurance plan provided by the employer or
    * available for purchase by the employee.
@@ -177,6 +231,8 @@ public enum JobBenefit
    */
   public static final int LIFE_INSURANCE_VALUE = 6;
   /**
+   *
+   *
    * 
    * The job allows for a leave of absence to a parent to care for a newborn
    * child.
@@ -186,6 +242,8 @@ public enum JobBenefit
    */
   public static final int PARENTAL_LEAVE_VALUE = 7;
   /**
+   *
+   *
    * 
    * The job includes a workplace retirement plan provided by the
    * employer or available for purchase by the employee.
@@ -195,6 +253,8 @@ public enum JobBenefit
    */
   public static final int RETIREMENT_PLAN_VALUE = 8;
   /**
+   *
+   *
    * 
    * The job allows for paid time off due to illness.
    * 
@@ -203,6 +263,8 @@ public enum JobBenefit */ public static final int SICK_DAYS_VALUE = 9; /** + * + * *
    * The job includes paid time off for vacation.
    * 
@@ -211,6 +273,8 @@ public enum JobBenefit */ public static final int VACATION_VALUE = 10; /** + * + * *
    * The job includes vision services covered by a vision
    * insurance plan.
@@ -220,7 +284,6 @@ public enum JobBenefit
    */
   public static final int VISION_VALUE = 11;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -245,58 +308,67 @@ public static JobBenefit valueOf(int value) {
    */
   public static JobBenefit forNumber(int value) {
     switch (value) {
-      case 0: return JOB_BENEFIT_UNSPECIFIED;
-      case 1: return CHILD_CARE;
-      case 2: return DENTAL;
-      case 3: return DOMESTIC_PARTNER;
-      case 4: return FLEXIBLE_HOURS;
-      case 5: return MEDICAL;
-      case 6: return LIFE_INSURANCE;
-      case 7: return PARENTAL_LEAVE;
-      case 8: return RETIREMENT_PLAN;
-      case 9: return SICK_DAYS;
-      case 10: return VACATION;
-      case 11: return VISION;
-      default: return null;
+      case 0:
+        return JOB_BENEFIT_UNSPECIFIED;
+      case 1:
+        return CHILD_CARE;
+      case 2:
+        return DENTAL;
+      case 3:
+        return DOMESTIC_PARTNER;
+      case 4:
+        return FLEXIBLE_HOURS;
+      case 5:
+        return MEDICAL;
+      case 6:
+        return LIFE_INSURANCE;
+      case 7:
+        return PARENTAL_LEAVE;
+      case 8:
+        return RETIREMENT_PLAN;
+      case 9:
+        return SICK_DAYS;
+      case 10:
+        return VACATION;
+      case 11:
+        return VISION;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      JobBenefit> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public JobBenefit findValueByNumber(int number) {
-            return JobBenefit.forNumber(number);
-          }
-        };
 
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public JobBenefit findValueByNumber(int number) {
+          return JobBenefit.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final JobBenefit[] VALUES = values();
 
-  public static JobBenefit valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static JobBenefit valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -312,4 +384,3 @@ private JobBenefit(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobBenefit)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
similarity index 79%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
index 6f404cf5df65..a842a2873d97 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * An enum that represents the categorization or primary focus of specific
  * role. This value is different than the "industry" associated with a role,
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.JobCategory}
  */
-public enum JobCategory
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobCategory implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default value if the category isn't specified.
    * 
@@ -23,6 +41,8 @@ public enum JobCategory */ JOB_CATEGORY_UNSPECIFIED(0), /** + * + * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -31,6 +51,8 @@ public enum JobCategory */ ACCOUNTING_AND_FINANCE(1), /** + * + * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -39,6 +61,8 @@ public enum JobCategory */ ADMINISTRATIVE_AND_OFFICE(2), /** + * + * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -47,6 +71,8 @@ public enum JobCategory */ ADVERTISING_AND_MARKETING(3), /** + * + * *
    * An animal care job, such as Veterinarian.
    * 
@@ -55,6 +81,8 @@ public enum JobCategory */ ANIMAL_CARE(4), /** + * + * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -63,6 +91,8 @@ public enum JobCategory */ ART_FASHION_AND_DESIGN(5), /** + * + * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -71,6 +101,8 @@ public enum JobCategory */ BUSINESS_OPERATIONS(6), /** + * + * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -79,6 +111,8 @@ public enum JobCategory */ CLEANING_AND_FACILITIES(7), /** + * + * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -87,6 +121,8 @@ public enum JobCategory */ COMPUTER_AND_IT(8), /** + * + * *
    * A construction job, such as General Laborer.
    * 
@@ -95,6 +131,8 @@ public enum JobCategory */ CONSTRUCTION(9), /** + * + * *
    * A customer service job, such s Cashier.
    * 
@@ -103,6 +141,8 @@ public enum JobCategory */ CUSTOMER_SERVICE(10), /** + * + * *
    * An education job, such as School Teacher.
    * 
@@ -111,6 +151,8 @@ public enum JobCategory */ EDUCATION(11), /** + * + * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -119,6 +161,8 @@ public enum JobCategory */ ENTERTAINMENT_AND_TRAVEL(12), /** + * + * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -127,6 +171,8 @@ public enum JobCategory */ FARMING_AND_OUTDOORS(13), /** + * + * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -135,6 +181,8 @@ public enum JobCategory */ HEALTHCARE(14), /** + * + * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -143,6 +191,8 @@ public enum JobCategory */ HUMAN_RESOURCES(15), /** + * + * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -151,6 +201,8 @@ public enum JobCategory */ INSTALLATION_MAINTENANCE_AND_REPAIR(16), /** + * + * *
    * A legal job, such as Law Clerk.
    * 
@@ -159,6 +211,8 @@ public enum JobCategory */ LEGAL(17), /** + * + * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -168,6 +222,8 @@ public enum JobCategory
    */
   MANAGEMENT(18),
   /**
+   *
+   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -176,6 +232,8 @@ public enum JobCategory */ MANUFACTURING_AND_WAREHOUSE(19), /** + * + * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -184,6 +242,8 @@ public enum JobCategory */ MEDIA_COMMUNICATIONS_AND_WRITING(20), /** + * + * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -192,6 +252,8 @@ public enum JobCategory */ OIL_GAS_AND_MINING(21), /** + * + * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -200,6 +262,8 @@ public enum JobCategory */ PERSONAL_CARE_AND_SERVICES(22), /** + * + * *
    * A protective services job, such as Security Guard.
    * 
@@ -208,6 +272,8 @@ public enum JobCategory */ PROTECTIVE_SERVICES(23), /** + * + * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -216,6 +282,8 @@ public enum JobCategory */ REAL_ESTATE(24), /** + * + * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -224,6 +292,8 @@ public enum JobCategory */ RESTAURANT_AND_HOSPITALITY(25), /** + * + * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -232,6 +302,8 @@ public enum JobCategory */ SALES_AND_RETAIL(26), /** + * + * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -240,6 +312,8 @@ public enum JobCategory */ SCIENCE_AND_ENGINEERING(27), /** + * + * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -248,6 +322,8 @@ public enum JobCategory */ SOCIAL_SERVICES_AND_NON_PROFIT(28), /** + * + * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -256,6 +332,8 @@ public enum JobCategory */ SPORTS_FITNESS_AND_RECREATION(29), /** + * + * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -267,6 +345,8 @@ public enum JobCategory ; /** + * + * *
    * The default value if the category isn't specified.
    * 
@@ -275,6 +355,8 @@ public enum JobCategory */ public static final int JOB_CATEGORY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * An accounting and finance job, such as an Accountant.
    * 
@@ -283,6 +365,8 @@ public enum JobCategory */ public static final int ACCOUNTING_AND_FINANCE_VALUE = 1; /** + * + * *
    * An administrative and office job, such as an Administrative Assistant.
    * 
@@ -291,6 +375,8 @@ public enum JobCategory */ public static final int ADMINISTRATIVE_AND_OFFICE_VALUE = 2; /** + * + * *
    * An advertising and marketing job, such as Marketing Manager.
    * 
@@ -299,6 +385,8 @@ public enum JobCategory */ public static final int ADVERTISING_AND_MARKETING_VALUE = 3; /** + * + * *
    * An animal care job, such as Veterinarian.
    * 
@@ -307,6 +395,8 @@ public enum JobCategory */ public static final int ANIMAL_CARE_VALUE = 4; /** + * + * *
    * An art, fashion, or design job, such as Designer.
    * 
@@ -315,6 +405,8 @@ public enum JobCategory */ public static final int ART_FASHION_AND_DESIGN_VALUE = 5; /** + * + * *
    * A business operations job, such as Business Operations Manager.
    * 
@@ -323,6 +415,8 @@ public enum JobCategory */ public static final int BUSINESS_OPERATIONS_VALUE = 6; /** + * + * *
    * A cleaning and facilities job, such as Custodial Staff.
    * 
@@ -331,6 +425,8 @@ public enum JobCategory */ public static final int CLEANING_AND_FACILITIES_VALUE = 7; /** + * + * *
    * A computer and IT job, such as Systems Administrator.
    * 
@@ -339,6 +435,8 @@ public enum JobCategory */ public static final int COMPUTER_AND_IT_VALUE = 8; /** + * + * *
    * A construction job, such as General Laborer.
    * 
@@ -347,6 +445,8 @@ public enum JobCategory */ public static final int CONSTRUCTION_VALUE = 9; /** + * + * *
    * A customer service job, such s Cashier.
    * 
@@ -355,6 +455,8 @@ public enum JobCategory */ public static final int CUSTOMER_SERVICE_VALUE = 10; /** + * + * *
    * An education job, such as School Teacher.
    * 
@@ -363,6 +465,8 @@ public enum JobCategory */ public static final int EDUCATION_VALUE = 11; /** + * + * *
    * An entertainment and travel job, such as Flight Attendant.
    * 
@@ -371,6 +475,8 @@ public enum JobCategory */ public static final int ENTERTAINMENT_AND_TRAVEL_VALUE = 12; /** + * + * *
    * A farming or outdoor job, such as Park Ranger.
    * 
@@ -379,6 +485,8 @@ public enum JobCategory */ public static final int FARMING_AND_OUTDOORS_VALUE = 13; /** + * + * *
    * A healthcare job, such as Registered Nurse.
    * 
@@ -387,6 +495,8 @@ public enum JobCategory */ public static final int HEALTHCARE_VALUE = 14; /** + * + * *
    * A human resources job, such as Human Resources Director.
    * 
@@ -395,6 +505,8 @@ public enum JobCategory */ public static final int HUMAN_RESOURCES_VALUE = 15; /** + * + * *
    * An installation, maintenance, or repair job, such as Electrician.
    * 
@@ -403,6 +515,8 @@ public enum JobCategory */ public static final int INSTALLATION_MAINTENANCE_AND_REPAIR_VALUE = 16; /** + * + * *
    * A legal job, such as Law Clerk.
    * 
@@ -411,6 +525,8 @@ public enum JobCategory */ public static final int LEGAL_VALUE = 17; /** + * + * *
    * A management job, often used in conjunction with another category,
    * such as Store Manager.
@@ -420,6 +536,8 @@ public enum JobCategory
    */
   public static final int MANAGEMENT_VALUE = 18;
   /**
+   *
+   *
    * 
    * A manufacturing or warehouse job, such as Assembly Technician.
    * 
@@ -428,6 +546,8 @@ public enum JobCategory */ public static final int MANUFACTURING_AND_WAREHOUSE_VALUE = 19; /** + * + * *
    * A media, communications, or writing job, such as Media Relations.
    * 
@@ -436,6 +556,8 @@ public enum JobCategory */ public static final int MEDIA_COMMUNICATIONS_AND_WRITING_VALUE = 20; /** + * + * *
    * An oil, gas or mining job, such as Offshore Driller.
    * 
@@ -444,6 +566,8 @@ public enum JobCategory */ public static final int OIL_GAS_AND_MINING_VALUE = 21; /** + * + * *
    * A personal care and services job, such as Hair Stylist.
    * 
@@ -452,6 +576,8 @@ public enum JobCategory */ public static final int PERSONAL_CARE_AND_SERVICES_VALUE = 22; /** + * + * *
    * A protective services job, such as Security Guard.
    * 
@@ -460,6 +586,8 @@ public enum JobCategory */ public static final int PROTECTIVE_SERVICES_VALUE = 23; /** + * + * *
    * A real estate job, such as Buyer's Agent.
    * 
@@ -468,6 +596,8 @@ public enum JobCategory */ public static final int REAL_ESTATE_VALUE = 24; /** + * + * *
    * A restaurant and hospitality job, such as Restaurant Server.
    * 
@@ -476,6 +606,8 @@ public enum JobCategory */ public static final int RESTAURANT_AND_HOSPITALITY_VALUE = 25; /** + * + * *
    * A sales and/or retail job, such Sales Associate.
    * 
@@ -484,6 +616,8 @@ public enum JobCategory */ public static final int SALES_AND_RETAIL_VALUE = 26; /** + * + * *
    * A science and engineering job, such as Lab Technician.
    * 
@@ -492,6 +626,8 @@ public enum JobCategory */ public static final int SCIENCE_AND_ENGINEERING_VALUE = 27; /** + * + * *
    * A social services or non-profit job, such as Case Worker.
    * 
@@ -500,6 +636,8 @@ public enum JobCategory */ public static final int SOCIAL_SERVICES_AND_NON_PROFIT_VALUE = 28; /** + * + * *
    * A sports, fitness, or recreation job, such as Personal Trainer.
    * 
@@ -508,6 +646,8 @@ public enum JobCategory */ public static final int SPORTS_FITNESS_AND_RECREATION_VALUE = 29; /** + * + * *
    * A transportation or logistics job, such as Truck Driver.
    * 
@@ -516,7 +656,6 @@ public enum JobCategory */ public static final int TRANSPORTATION_AND_LOGISTICS_VALUE = 30; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -541,77 +680,105 @@ public static JobCategory valueOf(int value) { */ public static JobCategory forNumber(int value) { switch (value) { - case 0: return JOB_CATEGORY_UNSPECIFIED; - case 1: return ACCOUNTING_AND_FINANCE; - case 2: return ADMINISTRATIVE_AND_OFFICE; - case 3: return ADVERTISING_AND_MARKETING; - case 4: return ANIMAL_CARE; - case 5: return ART_FASHION_AND_DESIGN; - case 6: return BUSINESS_OPERATIONS; - case 7: return CLEANING_AND_FACILITIES; - case 8: return COMPUTER_AND_IT; - case 9: return CONSTRUCTION; - case 10: return CUSTOMER_SERVICE; - case 11: return EDUCATION; - case 12: return ENTERTAINMENT_AND_TRAVEL; - case 13: return FARMING_AND_OUTDOORS; - case 14: return HEALTHCARE; - case 15: return HUMAN_RESOURCES; - case 16: return INSTALLATION_MAINTENANCE_AND_REPAIR; - case 17: return LEGAL; - case 18: return MANAGEMENT; - case 19: return MANUFACTURING_AND_WAREHOUSE; - case 20: return MEDIA_COMMUNICATIONS_AND_WRITING; - case 21: return OIL_GAS_AND_MINING; - case 22: return PERSONAL_CARE_AND_SERVICES; - case 23: return PROTECTIVE_SERVICES; - case 24: return REAL_ESTATE; - case 25: return RESTAURANT_AND_HOSPITALITY; - case 26: return SALES_AND_RETAIL; - case 27: return SCIENCE_AND_ENGINEERING; - case 28: return SOCIAL_SERVICES_AND_NON_PROFIT; - case 29: return SPORTS_FITNESS_AND_RECREATION; - case 30: return TRANSPORTATION_AND_LOGISTICS; - default: return null; + case 0: + return JOB_CATEGORY_UNSPECIFIED; + case 1: + return ACCOUNTING_AND_FINANCE; + case 2: + return ADMINISTRATIVE_AND_OFFICE; + case 3: + return ADVERTISING_AND_MARKETING; + case 4: + return ANIMAL_CARE; + case 5: + return ART_FASHION_AND_DESIGN; + case 6: + return BUSINESS_OPERATIONS; + case 7: + return CLEANING_AND_FACILITIES; + case 8: + return COMPUTER_AND_IT; + case 9: + return CONSTRUCTION; + case 10: + return CUSTOMER_SERVICE; + case 11: + return EDUCATION; + case 12: + return ENTERTAINMENT_AND_TRAVEL; + case 13: + return FARMING_AND_OUTDOORS; + case 14: + return HEALTHCARE; + case 15: + return HUMAN_RESOURCES; + case 16: + return INSTALLATION_MAINTENANCE_AND_REPAIR; + case 17: + return LEGAL; + case 18: + return MANAGEMENT; + case 19: + return MANUFACTURING_AND_WAREHOUSE; + case 20: + return MEDIA_COMMUNICATIONS_AND_WRITING; + case 21: + return OIL_GAS_AND_MINING; + case 22: + return PERSONAL_CARE_AND_SERVICES; + case 23: + return PROTECTIVE_SERVICES; + case 24: + return REAL_ESTATE; + case 25: + return RESTAURANT_AND_HOSPITALITY; + case 26: + return SALES_AND_RETAIL; + case 27: + return SCIENCE_AND_ENGINEERING; + case 28: + return SOCIAL_SERVICES_AND_NON_PROFIT; + case 29: + return SPORTS_FITNESS_AND_RECREATION; + case 30: + return TRANSPORTATION_AND_LOGISTICS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobCategory findValueByNumber(int number) { - return JobCategory.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobCategory findValueByNumber(int number) { + return JobCategory.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(5); } private static final JobCategory[] VALUES = values(); - public static JobCategory valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -627,4 +794,3 @@ private JobCategory(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobCategory) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java index 86df01b76dea..c7a3b5f85e00 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An event issued when a job seeker interacts with the application that
  * implements Cloud Talent Solution.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.JobEvent}
  */
-public final class JobEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobEvent)
     JobEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobEvent.newBuilder() to construct.
   private JobEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobEvent() {
     type_ = 0;
     jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -28,30 +46,33 @@ private JobEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.EventProto
+        .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.EventProto
+        .internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.JobEvent.class, com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
+            com.google.cloud.talent.v4beta1.JobEvent.class,
+            com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * An enumeration of an event attributed to the behavior of the end user,
    * such as a job seeker.
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.JobEvent.JobEventType}
    */
-  public enum JobEventType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum JobEventType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -70,6 +92,8 @@ public enum JobEventType */ JOB_EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -81,6 +105,8 @@ public enum JobEventType
      */
     IMPRESSION(1),
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -93,6 +119,8 @@ public enum JobEventType
      */
     VIEW(2),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -103,6 +131,8 @@ public enum JobEventType
      */
     VIEW_REDIRECT(3),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -112,6 +142,8 @@ public enum JobEventType
      */
     APPLICATION_START(4),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -121,6 +153,8 @@ public enum JobEventType
      */
     APPLICATION_FINISH(5),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -134,6 +168,8 @@ public enum JobEventType
      */
     APPLICATION_QUICK_SUBMISSION(6),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -144,6 +180,8 @@ public enum JobEventType
      */
     APPLICATION_REDIRECT(7),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -155,6 +193,8 @@ public enum JobEventType
      */
     APPLICATION_START_FROM_SEARCH(8),
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -169,6 +209,8 @@ public enum JobEventType
      */
     APPLICATION_REDIRECT_FROM_SEARCH(9),
     /**
+     *
+     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -179,6 +221,8 @@ public enum JobEventType
      */
     APPLICATION_COMPANY_SUBMIT(10),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -188,6 +232,8 @@ public enum JobEventType
      */
     BOOKMARK(11),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -198,6 +244,8 @@ public enum JobEventType
      */
     NOTIFICATION(12),
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -210,6 +258,8 @@ public enum JobEventType
      */
     HIRED(13),
     /**
+     *
+     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -220,6 +270,8 @@ public enum JobEventType
      */
     SENT_CV(14),
     /**
+     *
+     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -235,6 +287,8 @@ public enum JobEventType
     ;
 
     /**
+     *
+     *
      * 
      * The event is unspecified by other provided values.
      * 
@@ -243,6 +297,8 @@ public enum JobEventType */ public static final int JOB_EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job seeker or other entity interacting with the service has
      * had a job rendered in their view, such as in a list of search results in
@@ -254,6 +310,8 @@ public enum JobEventType
      */
     public static final int IMPRESSION_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, has
      * viewed the details of a job, including the full description. This
@@ -266,6 +324,8 @@ public enum JobEventType
      */
     public static final int VIEW_VALUE = 2;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to view a job and was redirected to a different
@@ -276,6 +336,8 @@ public enum JobEventType
      */
     public static final int VIEW_REDIRECT_VALUE = 3;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * began the process or demonstrated the intention of applying for a job.
@@ -285,6 +347,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_START_VALUE = 4;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job.
@@ -294,6 +358,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_FINISH_VALUE = 5;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * submitted an application for a job with a single click without
@@ -307,6 +373,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_QUICK_SUBMISSION_VALUE = 6;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service
      * performed an action to apply to a job and was redirected to a different
@@ -317,6 +385,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_REDIRECT_VALUE = 7;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service began the
      * process or demonstrated the intention of applying for a job from the
@@ -328,6 +398,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_START_FROM_SEARCH_VALUE = 8;
     /**
+     *
+     *
      * 
      * The job seeker, or other entity interacting with the service, performs an
      * action with a single click from the search results page to apply to a job
@@ -342,6 +414,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_REDIRECT_FROM_SEARCH_VALUE = 9;
     /**
+     *
+     *
      * 
      * This event should be used when a company submits an application
      * on behalf of a job seeker. This event is intended for use by staffing
@@ -352,6 +426,8 @@ public enum JobEventType
      */
     public static final int APPLICATION_COMPANY_SUBMIT_VALUE = 10;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service demonstrated
      * an interest in a job by bookmarking or saving it.
@@ -361,6 +437,8 @@ public enum JobEventType
      */
     public static final int BOOKMARK_VALUE = 11;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * sent a notification, such as an email alert or device notification,
@@ -371,6 +449,8 @@ public enum JobEventType
      */
     public static final int NOTIFICATION_VALUE = 12;
     /**
+     *
+     *
      * 
      * The job seeker or other entity interacting with the service was
      * employed by the hiring entity (employer). Send this event
@@ -383,6 +463,8 @@ public enum JobEventType
      */
     public static final int HIRED_VALUE = 13;
     /**
+     *
+     *
      * 
      * A recruiter or staffing agency submitted an application on behalf of the
      * candidate after interacting with the service to identify a suitable job
@@ -393,6 +475,8 @@ public enum JobEventType
      */
     public static final int SENT_CV_VALUE = 14;
     /**
+     *
+     *
      * 
      * The entity interacting with the service (for example, the job seeker),
      * was granted an initial interview by the hiring entity (employer). This
@@ -405,7 +489,6 @@ public enum JobEventType
      */
     public static final int INTERVIEW_GRANTED_VALUE = 15;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -430,62 +513,75 @@ public static JobEventType valueOf(int value) {
      */
     public static JobEventType forNumber(int value) {
       switch (value) {
-        case 0: return JOB_EVENT_TYPE_UNSPECIFIED;
-        case 1: return IMPRESSION;
-        case 2: return VIEW;
-        case 3: return VIEW_REDIRECT;
-        case 4: return APPLICATION_START;
-        case 5: return APPLICATION_FINISH;
-        case 6: return APPLICATION_QUICK_SUBMISSION;
-        case 7: return APPLICATION_REDIRECT;
-        case 8: return APPLICATION_START_FROM_SEARCH;
-        case 9: return APPLICATION_REDIRECT_FROM_SEARCH;
-        case 10: return APPLICATION_COMPANY_SUBMIT;
-        case 11: return BOOKMARK;
-        case 12: return NOTIFICATION;
-        case 13: return HIRED;
-        case 14: return SENT_CV;
-        case 15: return INTERVIEW_GRANTED;
-        default: return null;
+        case 0:
+          return JOB_EVENT_TYPE_UNSPECIFIED;
+        case 1:
+          return IMPRESSION;
+        case 2:
+          return VIEW;
+        case 3:
+          return VIEW_REDIRECT;
+        case 4:
+          return APPLICATION_START;
+        case 5:
+          return APPLICATION_FINISH;
+        case 6:
+          return APPLICATION_QUICK_SUBMISSION;
+        case 7:
+          return APPLICATION_REDIRECT;
+        case 8:
+          return APPLICATION_START_FROM_SEARCH;
+        case 9:
+          return APPLICATION_REDIRECT_FROM_SEARCH;
+        case 10:
+          return APPLICATION_COMPANY_SUBMIT;
+        case 11:
+          return BOOKMARK;
+        case 12:
+          return NOTIFICATION;
+        case 13:
+          return HIRED;
+        case 14:
+          return SENT_CV;
+        case 15:
+          return INTERVIEW_GRANTED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        JobEventType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public JobEventType findValueByNumber(int number) {
-              return JobEventType.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public JobEventType findValueByNumber(int number) {
+            return JobEventType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4beta1.JobEvent.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final JobEventType[] VALUES = values();
 
-    public static JobEventType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static JobEventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -505,33 +601,50 @@ private JobEventType(int value) {
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = + com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED + : result; } public static final int JOBS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList jobs_; /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -544,13 +657,15 @@ private JobEventType(int value) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_; } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -563,12 +678,15 @@ private JobEventType(int value) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -581,6 +699,7 @@ public int getJobsCount() {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -588,6 +707,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -600,17 +721,19 @@ public java.lang.String getJobs(int index) {
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } public static final int PROFILE_FIELD_NUMBER = 3; private volatile java.lang.Object profile_; /** + * + * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -619,6 +742,7 @@ public java.lang.String getJobs(int index) {
    * 
* * string profile = 3; + * * @return The profile. */ @java.lang.Override @@ -627,14 +751,15 @@ public java.lang.String getProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profile_ = s; return s; } } /** + * + * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -643,16 +768,15 @@ public java.lang.String getProfile() {
    * 
* * string profile = 3; + * * @return The bytes for profile. */ @java.lang.Override - public com.google.protobuf.ByteString - getProfileBytes() { + public com.google.protobuf.ByteString getProfileBytes() { java.lang.Object ref = profile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); profile_ = b; return b; } else { @@ -661,6 +785,7 @@ public java.lang.String getProfile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -672,9 +797,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } for (int i = 0; i < jobs_.size(); i++) { @@ -692,9 +818,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.cloud.talent.v4beta1.JobEvent.JobEventType.JOB_EVENT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } { int dataSize = 0; @@ -715,7 +842,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobEvent)) { return super.equals(obj); @@ -723,10 +850,8 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.talent.v4beta1.JobEvent other = (com.google.cloud.talent.v4beta1.JobEvent) obj; if (type_ != other.type_) return false; - if (!getJobsList() - .equals(other.getJobsList())) return false; - if (!getProfile() - .equals(other.getProfile())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; + if (!getProfile().equals(other.getProfile())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -751,97 +876,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An event issued when a job seeker interacts with the application that
    * implements Cloud Talent Solution.
@@ -849,33 +981,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.JobEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobEvent)
       com.google.cloud.talent.v4beta1.JobEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.JobEvent.class, com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
+              com.google.cloud.talent.v4beta1.JobEvent.class,
+              com.google.cloud.talent.v4beta1.JobEvent.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.JobEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -889,9 +1020,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.EventProto.internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.EventProto
+          .internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor;
     }
 
     @java.lang.Override
@@ -910,7 +1041,8 @@ public com.google.cloud.talent.v4beta1.JobEvent build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.JobEvent buildPartial() {
-      com.google.cloud.talent.v4beta1.JobEvent result = new com.google.cloud.talent.v4beta1.JobEvent(this);
+      com.google.cloud.talent.v4beta1.JobEvent result =
+          new com.google.cloud.talent.v4beta1.JobEvent(this);
       int from_bitField0_ = bitField0_;
       result.type_ = type_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -927,38 +1059,39 @@ public com.google.cloud.talent.v4beta1.JobEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.JobEvent) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.JobEvent)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.JobEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1010,28 +1143,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              type_ = input.readEnum();
+            case 8:
+              {
+                type_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureJobsIsMutable();
-              jobs_.add(s);
-              break;
-            } // case 18
-            case 26: {
-              profile_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureJobsIsMutable();
+                jobs_.add(s);
+                break;
+              } // case 18
+            case 26:
+              {
+                profile_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1041,55 +1178,80 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); - return result == null ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.JobEvent.JobEventType result = + com.google.cloud.talent.v4beta1.JobEvent.JobEventType.valueOf(type_); + return result == null + ? com.google.cloud.talent.v4beta1.JobEvent.JobEventType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The type to set. * @return This builder for chaining. */ @@ -1097,34 +1259,43 @@ public Builder setType(com.google.cloud.talent.v4beta1.JobEvent.JobEventType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
      * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList jobs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList jobs_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new com.google.protobuf.LazyStringArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1137,13 +1308,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - public com.google.protobuf.ProtocolStringList - getJobsList() { + public com.google.protobuf.ProtocolStringList getJobsList() { return jobs_.getUnmodifiableView(); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1156,12 +1329,15 @@ private void ensureJobsIsMutable() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ public int getJobsCount() { return jobs_.size(); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1174,6 +1350,7 @@ public int getJobsCount() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ @@ -1181,6 +1358,8 @@ public java.lang.String getJobs(int index) { return jobs_.get(index); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1193,14 +1372,16 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - public com.google.protobuf.ByteString - getJobsBytes(int index) { + public com.google.protobuf.ByteString getJobsBytes(int index) { return jobs_.getByteString(index); } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1213,21 +1394,23 @@ public java.lang.String getJobs(int index) {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The jobs to set. * @return This builder for chaining. */ - public Builder setJobs( - int index, java.lang.String value) { + public Builder setJobs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1240,20 +1423,22 @@ public Builder setJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The jobs to add. * @return This builder for chaining. */ - public Builder addJobs( - java.lang.String value) { + public Builder addJobs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureJobsIsMutable(); + throw new NullPointerException(); + } + ensureJobsIsMutable(); jobs_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1266,18 +1451,19 @@ public Builder addJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The jobs to add. * @return This builder for chaining. */ - public Builder addAllJobs( - java.lang.Iterable values) { + public Builder addAllJobs(java.lang.Iterable values) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1290,6 +1476,7 @@ public Builder addAllJobs(
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearJobs() { @@ -1299,6 +1486,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
      * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -1311,15 +1500,15 @@ public Builder clearJobs() {
      * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the jobs to add. * @return This builder for chaining. */ - public Builder addJobsBytes( - com.google.protobuf.ByteString value) { + public Builder addJobsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureJobsIsMutable(); jobs_.add(value); onChanged(); @@ -1328,6 +1517,8 @@ public Builder addJobsBytes( private java.lang.Object profile_ = ""; /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1336,13 +1527,13 @@ public Builder addJobsBytes(
      * 
* * string profile = 3; + * * @return The profile. */ public java.lang.String getProfile() { java.lang.Object ref = profile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); profile_ = s; return s; @@ -1351,6 +1542,8 @@ public java.lang.String getProfile() { } } /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1359,15 +1552,14 @@ public java.lang.String getProfile() {
      * 
* * string profile = 3; + * * @return The bytes for profile. */ - public com.google.protobuf.ByteString - getProfileBytes() { + public com.google.protobuf.ByteString getProfileBytes() { java.lang.Object ref = profile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); profile_ = b; return b; } else { @@ -1375,6 +1567,8 @@ public java.lang.String getProfile() { } } /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1383,20 +1577,22 @@ public java.lang.String getProfile() {
      * 
* * string profile = 3; + * * @param value The profile to set. * @return This builder for chaining. */ - public Builder setProfile( - java.lang.String value) { + public Builder setProfile(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + profile_ = value; onChanged(); return this; } /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1405,15 +1601,18 @@ public Builder setProfile(
      * 
* * string profile = 3; + * * @return This builder for chaining. */ public Builder clearProfile() { - + profile_ = getDefaultInstance().getProfile(); onChanged(); return this; } /** + * + * *
      * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
      * The format is
@@ -1422,23 +1621,23 @@ public Builder clearProfile() {
      * 
* * string profile = 3; + * * @param value The bytes for profile to set. * @return This builder for chaining. */ - public Builder setProfileBytes( - com.google.protobuf.ByteString value) { + public Builder setProfileBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + profile_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1448,12 +1647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobEvent) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobEvent) private static final com.google.cloud.talent.v4beta1.JobEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobEvent(); } @@ -1462,27 +1661,27 @@ public static com.google.cloud.talent.v4beta1.JobEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1497,6 +1696,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java similarity index 79% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java index e14f941b5dbe..4636c41a58cc 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobEventOrBuilder.java @@ -1,32 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/event.proto package com.google.cloud.talent.v4beta1; -public interface JobEventOrBuilder extends +public interface JobEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Required. The type of the event (see [JobEventType][google.cloud.talent.v4beta1.JobEvent.JobEventType]).
    * 
* - * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.JobEvent.JobEventType type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The type. */ com.google.cloud.talent.v4beta1.JobEvent.JobEventType getType(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -39,11 +67,13 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the jobs. */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -56,10 +86,13 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of jobs. */ int getJobsCount(); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -72,11 +105,14 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** + * + * *
    * Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
    * For example, if this is an [impression][google.cloud.talent.v4beta1.JobEvent.JobEventType.IMPRESSION] event,
@@ -89,13 +125,15 @@ public interface JobEventOrBuilder extends
    * 
* * repeated string jobs = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ - com.google.protobuf.ByteString - getJobsBytes(int index); + com.google.protobuf.ByteString getJobsBytes(int index); /** + * + * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -104,10 +142,13 @@ public interface JobEventOrBuilder extends
    * 
* * string profile = 3; + * * @return The profile. */ java.lang.String getProfile(); /** + * + * *
    * The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
    * The format is
@@ -116,8 +157,8 @@ public interface JobEventOrBuilder extends
    * 
* * string profile = 3; + * * @return The bytes for profile. */ - com.google.protobuf.ByteString - getProfileBytes(); + com.google.protobuf.ByteString getProfileBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java similarity index 72% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java index 81941111809f..d6a1f7de47fd 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobLevel.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents the required experience level required for the job.
  * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.JobLevel} */ -public enum JobLevel - implements com.google.protobuf.ProtocolMessageEnum { +public enum JobLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default value if the level isn't specified.
    * 
@@ -21,6 +39,8 @@ public enum JobLevel */ JOB_LEVEL_UNSPECIFIED(0), /** + * + * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -30,6 +50,8 @@ public enum JobLevel
    */
   ENTRY_LEVEL(1),
   /**
+   *
+   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -39,6 +61,8 @@ public enum JobLevel
    */
   EXPERIENCED(2),
   /**
+   *
+   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -47,6 +71,8 @@ public enum JobLevel */ MANAGER(3), /** + * + * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -55,6 +81,8 @@ public enum JobLevel */ DIRECTOR(4), /** + * + * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -66,6 +94,8 @@ public enum JobLevel ; /** + * + * *
    * The default value if the level isn't specified.
    * 
@@ -74,6 +104,8 @@ public enum JobLevel */ public static final int JOB_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Entry-level individual contributors, typically with less than 2 years of
    * experience in a similar role. Includes interns.
@@ -83,6 +115,8 @@ public enum JobLevel
    */
   public static final int ENTRY_LEVEL_VALUE = 1;
   /**
+   *
+   *
    * 
    * Experienced individual contributors, typically with 2+ years of
    * experience in a similar role.
@@ -92,6 +126,8 @@ public enum JobLevel
    */
   public static final int EXPERIENCED_VALUE = 2;
   /**
+   *
+   *
    * 
    * Entry- to mid-level managers responsible for managing a team of people.
    * 
@@ -100,6 +136,8 @@ public enum JobLevel */ public static final int MANAGER_VALUE = 3; /** + * + * *
    * Senior-level managers responsible for managing teams of managers.
    * 
@@ -108,6 +146,8 @@ public enum JobLevel */ public static final int DIRECTOR_VALUE = 4; /** + * + * *
    * Executive-level managers and above, including C-level positions.
    * 
@@ -116,7 +156,6 @@ public enum JobLevel */ public static final int EXECUTIVE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -141,52 +180,55 @@ public static JobLevel valueOf(int value) { */ public static JobLevel forNumber(int value) { switch (value) { - case 0: return JOB_LEVEL_UNSPECIFIED; - case 1: return ENTRY_LEVEL; - case 2: return EXPERIENCED; - case 3: return MANAGER; - case 4: return DIRECTOR; - case 5: return EXECUTIVE; - default: return null; + case 0: + return JOB_LEVEL_UNSPECIFIED; + case 1: + return ENTRY_LEVEL; + case 2: + return EXPERIENCED; + case 3: + return MANAGER; + case 4: + return DIRECTOR; + case 5: + return EXECUTIVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobLevel findValueByNumber(int number) { - return JobLevel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobLevel findValueByNumber(int number) { + return JobLevel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(4); } private static final JobLevel[] VALUES = values(); - public static JobLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -202,4 +244,3 @@ private JobLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobLevel) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java similarity index 100% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobName.java diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java similarity index 73% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java index 48e3f19e513c..c79c769bfd05 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResult.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
  * [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
@@ -12,49 +29,54 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult}
  */
-public final class JobOperationResult extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class JobOperationResult extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobOperationResult)
     JobOperationResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use JobOperationResult.newBuilder() to construct.
   private JobOperationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private JobOperationResult() {
     jobResults_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new JobOperationResult();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.JobServiceProto
+        .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.JobServiceProto
+        .internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.JobOperationResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
+            com.google.cloud.talent.v4beta1.JobOperationResult.class,
+            com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
   }
 
-  public interface JobResultOrBuilder extends
+  public interface JobResultOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -63,10 +85,13 @@ public interface JobResultOrBuilder extends
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -75,10 +100,13 @@ public interface JobResultOrBuilder extends
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -91,26 +119,34 @@ public interface JobResultOrBuilder extends
     com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder();
 
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -121,52 +157,57 @@ public interface JobResultOrBuilder extends
     com.google.rpc.StatusOrBuilder getStatusOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Mutation result of a job.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult.JobResult} */ - public static final class JobResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class JobResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobOperationResult.JobResult) JobResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobResult.newBuilder() to construct. private JobResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private JobResult() { - } + + private JobResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JobResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -175,6 +216,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -182,6 +224,8 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -190,6 +234,7 @@ public boolean hasJob() {
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -197,6 +242,8 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** + * + * *
      * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
      * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -214,12 +261,15 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
     public static final int STATUS_FIELD_NUMBER = 2;
     private com.google.rpc.Status status_;
     /**
+     *
+     *
      * 
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -227,12 +277,15 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -240,6 +293,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
      * The status of the job processed. This field is populated if the
      * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -253,6 +308,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -264,8 +320,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -282,12 +337,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
       }
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getStatus());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -297,22 +350,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.JobOperationResult.JobResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other = (com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) obj;
+      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other =
+          (com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob()
-            .equals(other.getJob())) return false;
+        if (!getJob().equals(other.getJob())) return false;
       }
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus()
-            .equals(other.getStatus())) return false;
+        if (!getStatus().equals(other.getStatus())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -339,87 +391,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -429,39 +488,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Mutation result of a job.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult.JobResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobOperationResult.JobResult) com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.class, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,13 +542,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult + getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance(); } @@ -502,7 +564,8 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult build() { @java.lang.Override public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult buildPartial() { - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult result = new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult(this); + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult result = + new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -521,38 +584,41 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) { - return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult.JobResult)other); + return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult.JobResult) other); } else { super.mergeFrom(other); return this; @@ -560,7 +626,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult other) { - if (other == com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()) return this; + if (other + == com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -593,26 +661,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getStatusFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -625,8 +692,13 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -635,12 +707,15 @@ public Builder mergeFrom(
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -649,6 +724,7 @@ public boolean hasJob() {
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -659,6 +735,8 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** + * + * *
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -682,6 +760,8 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -691,8 +771,7 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) {
        *
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
-      public Builder setJob(
-          com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+      public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
         if (jobBuilder_ == null) {
           job_ = builderForValue.build();
           onChanged();
@@ -703,6 +782,8 @@ public Builder setJob(
         return this;
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -716,7 +797,9 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
         if (jobBuilder_ == null) {
           if (job_ != null) {
             job_ =
-              com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4beta1.Job.newBuilder(job_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             job_ = value;
           }
@@ -728,6 +811,8 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -749,6 +834,8 @@ public Builder clearJob() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -759,11 +846,13 @@ public Builder clearJob() {
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
       public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() {
-        
+
         onChanged();
         return getJobFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -777,11 +866,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
         if (jobBuilder_ != null) {
           return jobBuilder_.getMessageOrBuilder();
         } else {
-          return job_ == null ?
-              com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
+          return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_;
         }
       }
       /**
+       *
+       *
        * 
        * Here [Job][google.cloud.talent.v4beta1.Job] only contains basic information including [name][google.cloud.talent.v4beta1.Job.name],
        * [company][google.cloud.talent.v4beta1.Job.company], [language_code][google.cloud.talent.v4beta1.Job.language_code]
@@ -792,14 +882,17 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
        * .google.cloud.talent.v4beta1.Job job = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> 
+              com.google.cloud.talent.v4beta1.Job,
+              com.google.cloud.talent.v4beta1.Job.Builder,
+              com.google.cloud.talent.v4beta1.JobOrBuilder>
           getJobFieldBuilder() {
         if (jobBuilder_ == null) {
-          jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>(
-                  getJob(),
-                  getParentForChildren(),
-                  isClean());
+          jobBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4beta1.Job,
+                  com.google.cloud.talent.v4beta1.Job.Builder,
+                  com.google.cloud.talent.v4beta1.JobOrBuilder>(
+                  getJob(), getParentForChildren(), isClean());
           job_ = null;
         }
         return jobBuilder_;
@@ -807,26 +900,33 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
 
       private com.google.rpc.Status status_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+          statusBuilder_;
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
        * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
        * 
* * .google.rpc.Status status = 2; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -837,6 +937,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -858,6 +960,8 @@ public Builder setStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -865,8 +969,7 @@ public Builder setStatus(com.google.rpc.Status value) {
        *
        * .google.rpc.Status status = 2;
        */
-      public Builder setStatus(
-          com.google.rpc.Status.Builder builderForValue) {
+      public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
         if (statusBuilder_ == null) {
           status_ = builderForValue.build();
           onChanged();
@@ -877,6 +980,8 @@ public Builder setStatus(
         return this;
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -887,8 +992,7 @@ public Builder setStatus(
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
           if (status_ != null) {
-            status_ =
-              com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+            status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
           } else {
             status_ = value;
           }
@@ -900,6 +1004,8 @@ public Builder mergeStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -919,6 +1025,8 @@ public Builder clearStatus() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -927,11 +1035,13 @@ public Builder clearStatus() {
        * .google.rpc.Status status = 2;
        */
       public com.google.rpc.Status.Builder getStatusBuilder() {
-        
+
         onChanged();
         return getStatusFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -943,11 +1053,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
         if (statusBuilder_ != null) {
           return statusBuilder_.getMessageOrBuilder();
         } else {
-          return status_ == null ?
-              com.google.rpc.Status.getDefaultInstance() : status_;
+          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
         }
       }
       /**
+       *
+       *
        * 
        * The status of the job processed. This field is populated if the
        * processing of the [job][google.cloud.talent.v4beta1.JobOperationResult.JobResult.job] fails.
@@ -956,18 +1067,19 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        * .google.rpc.Status status = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
           getStatusFieldBuilder() {
         if (statusBuilder_ == null) {
-          statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                  getStatus(),
-                  getParentForChildren(),
-                  isClean());
+          statusBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.rpc.Status,
+                  com.google.rpc.Status.Builder,
+                  com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
           status_ = null;
         }
         return statusBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -980,41 +1092,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobOperationResult.JobResult)
-    private static final com.google.cloud.talent.v4beta1.JobOperationResult.JobResult DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobOperationResult.JobResult();
     }
 
-    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public JobResult parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public JobResult parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1026,78 +1141,96 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int JOB_RESULTS_FIELD_NUMBER = 1;
   private java.util.List jobResults_;
   /**
+   *
+   *
    * 
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override - public java.util.List getJobResultsList() { + public java.util.List + getJobResultsList() { return jobResults_; } /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> getJobResultsOrBuilderList() { return jobResults_; } /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override public int getJobResultsCount() { return jobResults_.size(); } /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index) { return jobResults_.get(index); } /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder + getJobResultsOrBuilder(int index) { return jobResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1109,8 +1242,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < jobResults_.size(); i++) { output.writeMessage(1, jobResults_.get(i)); } @@ -1124,8 +1256,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, jobResults_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobResults_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1135,15 +1266,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobOperationResult)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.JobOperationResult other = (com.google.cloud.talent.v4beta1.JobOperationResult) obj; + com.google.cloud.talent.v4beta1.JobOperationResult other = + (com.google.cloud.talent.v4beta1.JobOperationResult) obj; - if (!getJobResultsList() - .equals(other.getJobResultsList())) return false; + if (!getJobResultsList().equals(other.getJobResultsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1165,96 +1296,103 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobOperationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobOperationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The result of [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs] or
    * [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs] APIs. It's used to
@@ -1263,33 +1401,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.JobOperationResult}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobOperationResult)
       com.google.cloud.talent.v4beta1.JobOperationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.JobServiceProto
+          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.JobServiceProto
+          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.JobOperationResult.class, com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
+              com.google.cloud.talent.v4beta1.JobOperationResult.class,
+              com.google.cloud.talent.v4beta1.JobOperationResult.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.JobOperationResult.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1304,9 +1441,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.JobServiceProto
+          .internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor;
     }
 
     @java.lang.Override
@@ -1325,7 +1462,8 @@ public com.google.cloud.talent.v4beta1.JobOperationResult build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.JobOperationResult buildPartial() {
-      com.google.cloud.talent.v4beta1.JobOperationResult result = new com.google.cloud.talent.v4beta1.JobOperationResult(this);
+      com.google.cloud.talent.v4beta1.JobOperationResult result =
+          new com.google.cloud.talent.v4beta1.JobOperationResult(this);
       int from_bitField0_ = bitField0_;
       if (jobResultsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -1344,38 +1482,39 @@ public com.google.cloud.talent.v4beta1.JobOperationResult buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.JobOperationResult) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.JobOperationResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1383,7 +1522,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult other) {
-      if (other == com.google.cloud.talent.v4beta1.JobOperationResult.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4beta1.JobOperationResult.getDefaultInstance())
+        return this;
       if (jobResultsBuilder_ == null) {
         if (!other.jobResults_.isEmpty()) {
           if (jobResults_.isEmpty()) {
@@ -1402,9 +1542,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobOperationResult othe
             jobResultsBuilder_ = null;
             jobResults_ = other.jobResults_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            jobResultsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getJobResultsFieldBuilder() : null;
+            jobResultsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getJobResultsFieldBuilder()
+                    : null;
           } else {
             jobResultsBuilder_.addAllMessages(other.jobResults_);
           }
@@ -1436,25 +1577,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.talent.v4beta1.JobOperationResult.JobResult m =
-                  input.readMessage(
-                      com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.parser(),
-                      extensionRegistry);
-              if (jobResultsBuilder_ == null) {
-                ensureJobResultsIsMutable();
-                jobResults_.add(m);
-              } else {
-                jobResultsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.talent.v4beta1.JobOperationResult.JobResult m =
+                    input.readMessage(
+                        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.parser(),
+                        extensionRegistry);
+                if (jobResultsBuilder_ == null) {
+                  ensureJobResultsIsMutable();
+                  jobResults_.add(m);
+                } else {
+                  jobResultsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1464,29 +1607,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List jobResults_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        jobResults_ = java.util.Collections.emptyList();
+
     private void ensureJobResultsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        jobResults_ = new java.util.ArrayList(jobResults_);
+        jobResults_ =
+            new java.util.ArrayList(
+                jobResults_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> jobResultsBuilder_;
+            com.google.cloud.talent.v4beta1.JobOperationResult.JobResult,
+            com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder,
+            com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>
+        jobResultsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public java.util.List getJobResultsList() { + public java.util.List + getJobResultsList() { if (jobResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(jobResults_); } else { @@ -1494,12 +1648,15 @@ public java.util.List * List of job mutation results from a batch mutate operation. It can change * until operation status is FINISHED, FAILED or CANCELLED. *
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public int getJobResultsCount() { if (jobResultsBuilder_ == null) { @@ -1509,12 +1666,15 @@ public int getJobResultsCount() { } } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index) { if (jobResultsBuilder_ == null) { @@ -1524,12 +1684,15 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResult } } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder setJobResults( int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { @@ -1546,15 +1709,19 @@ public Builder setJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder setJobResults( - int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); jobResults_.set(index, builderForValue.build()); @@ -1565,14 +1732,18 @@ public Builder setJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public Builder addJobResults(com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { + public Builder addJobResults( + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { if (jobResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1586,12 +1757,15 @@ public Builder addJobResults(com.google.cloud.talent.v4beta1.JobOperationResult. return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder addJobResults( int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult value) { @@ -1608,12 +1782,15 @@ public Builder addJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder addJobResults( com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { @@ -1627,15 +1804,19 @@ public Builder addJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder addJobResults( - int index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder builderForValue) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); jobResults_.add(index, builderForValue.build()); @@ -1646,19 +1827,22 @@ public Builder addJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder addAllJobResults( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (jobResultsBuilder_ == null) { ensureJobResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobResults_); onChanged(); } else { jobResultsBuilder_.addAllMessages(values); @@ -1666,12 +1850,15 @@ public Builder addAllJobResults( return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder clearJobResults() { if (jobResultsBuilder_ == null) { @@ -1684,12 +1871,15 @@ public Builder clearJobResults() { return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ public Builder removeJobResults(int index) { if (jobResultsBuilder_ == null) { @@ -1702,42 +1892,53 @@ public Builder removeJobResults(int index) { return this; } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder getJobResultsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder + getJobResultsBuilder(int index) { return getJobResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder + getJobResultsOrBuilder(int index) { if (jobResultsBuilder_ == null) { - return jobResults_.get(index); } else { + return jobResults_.get(index); + } else { return jobResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public java.util.List - getJobResultsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> + getJobResultsOrBuilderList() { if (jobResultsBuilder_ != null) { return jobResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1745,59 +1946,75 @@ public com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder get } } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder addJobResultsBuilder() { - return getJobResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder + addJobResultsBuilder() { + return getJobResultsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder addJobResultsBuilder( - int index) { - return getJobResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder + addJobResultsBuilder(int index) { + return getJobResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.getDefaultInstance()); } /** + * + * *
      * List of job mutation results from a batch mutate operation. It can change
      * until operation status is FINISHED, FAILED or CANCELLED.
      * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - public java.util.List - getJobResultsBuilderList() { + public java.util.List + getJobResultsBuilderList() { return getJobResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder> getJobResultsFieldBuilder() { if (jobResultsBuilder_ == null) { - jobResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>( - jobResults_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResult.Builder, + com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder>( + jobResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobResults_ = null; } return jobResultsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1807,12 +2024,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobOperationResult) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobOperationResult) private static final com.google.cloud.talent.v4beta1.JobOperationResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobOperationResult(); } @@ -1821,27 +2038,27 @@ public static com.google.cloud.talent.v4beta1.JobOperationResult getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobOperationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobOperationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1856,6 +2073,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobOperationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java index 059dda3272f9..213ed5f5aa39 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOperationResultOrBuilder.java @@ -1,57 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface JobOperationResultOrBuilder extends +public interface JobOperationResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobOperationResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - java.util.List - getJobResultsList(); + java.util.List getJobResultsList(); /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ com.google.cloud.talent.v4beta1.JobOperationResult.JobResult getJobResults(int index); /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ int getJobResultsCount(); /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ - java.util.List + java.util.List getJobResultsOrBuilderList(); /** + * + * *
    * List of job mutation results from a batch mutate operation. It can change
    * until operation status is FINISHED, FAILED or CANCELLED.
    * 
* - * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * repeated .google.cloud.talent.v4beta1.JobOperationResult.JobResult job_results = 1; + * */ com.google.cloud.talent.v4beta1.JobOperationResult.JobResultOrBuilder getJobResultsOrBuilder( int index); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java similarity index 90% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java index b161568826c6..65c621323f8c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job.proto package com.google.cloud.talent.v4beta1; -public interface JobOrBuilder extends +public interface JobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Job) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -22,10 +40,13 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during job update.
    * The resource name for the job. This is generated by the service when a
@@ -40,12 +61,14 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -55,11 +78,16 @@ public interface JobOrBuilder extends
    * example, "projects/foo/companies/bar".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The company. */ java.lang.String getCompany(); /** + * + * *
    * Required. The resource name of the company listing the job.
    * The format is
@@ -69,13 +97,17 @@ public interface JobOrBuilder extends
    * example, "projects/foo/companies/bar".
    * 
* - * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for company. */ - com.google.protobuf.ByteString - getCompanyBytes(); + com.google.protobuf.ByteString getCompanyBytes(); /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -86,10 +118,13 @@ public interface JobOrBuilder extends
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The requisitionId. */ java.lang.String getRequisitionId(); /** + * + * *
    * Required. The requisition ID, also referred to as the posting ID, is assigned by the
    * client to identify a job. This field is intended to be used by clients
@@ -100,34 +135,41 @@ public interface JobOrBuilder extends
    * 
* * string requisition_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for requisitionId. */ - com.google.protobuf.ByteString - getRequisitionIdBytes(); + com.google.protobuf.ByteString getRequisitionIdBytes(); /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The title. */ java.lang.String getTitle(); /** + * + * *
    * Required. The title of the job, such as "Software Engineer"
    * The maximum number of allowed characters is 500.
    * 
* * string title = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -140,10 +182,13 @@ public interface JobOrBuilder extends
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Required. The description of the job, which typically includes a multi-paragraph
    * description of the company and related information. Separate fields are
@@ -156,12 +201,14 @@ public interface JobOrBuilder extends
    * 
* * string description = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -179,11 +226,13 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @return A list containing the addresses. */ - java.util.List - getAddressesList(); + java.util.List getAddressesList(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -201,10 +250,13 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @return The count of addresses. */ int getAddressesCount(); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -222,11 +274,14 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @param index The index of the element to return. * @return The addresses at the given index. */ java.lang.String getAddresses(int index); /** + * + * *
    * Strongly recommended for the best service experience.
    * Location(s) where the employer is looking to hire for this job posting.
@@ -244,31 +299,39 @@ public interface JobOrBuilder extends
    * 
* * repeated string addresses = 6; + * * @param index The index of the value to return. * @return The bytes of the addresses at the given index. */ - com.google.protobuf.ByteString - getAddressesBytes(int index); + com.google.protobuf.ByteString getAddressesBytes(int index); /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return Whether the applicationInfo field is set. */ boolean hasApplicationInfo(); /** + * + * *
    * Job application information.
    * 
* * .google.cloud.talent.v4beta1.Job.ApplicationInfo application_info = 7; + * * @return The applicationInfo. */ com.google.cloud.talent.v4beta1.Job.ApplicationInfo getApplicationInfo(); /** + * + * *
    * Job application information.
    * 
@@ -278,75 +341,97 @@ public interface JobOrBuilder extends com.google.cloud.talent.v4beta1.Job.ApplicationInfoOrBuilder getApplicationInfoOrBuilder(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the jobBenefits. */ java.util.List getJobBenefitsList(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return The count of jobBenefits. */ int getJobBenefitsCount(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the element to return. * @return The jobBenefits at the given index. */ com.google.cloud.talent.v4beta1.JobBenefit getJobBenefits(int index); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @return A list containing the enum numeric values on the wire for jobBenefits. */ - java.util.List - getJobBenefitsValueList(); + java.util.List getJobBenefitsValueList(); /** + * + * *
    * The benefits included with the job.
    * 
* * repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobBenefits at the given index. */ int getJobBenefitsValue(int index); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return Whether the compensationInfo field is set. */ boolean hasCompensationInfo(); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
    * 
* * .google.cloud.talent.v4beta1.CompensationInfo compensation_info = 9; + * * @return The compensationInfo. */ com.google.cloud.talent.v4beta1.CompensationInfo getCompensationInfo(); /** + * + * *
    * Job compensation information (a.k.a. "pay rate") i.e., the compensation
    * that will paid to the employee.
@@ -357,6 +442,8 @@ public interface JobOrBuilder extends
   com.google.cloud.talent.v4beta1.CompensationInfoOrBuilder getCompensationInfoOrBuilder();
 
   /**
+   *
+   *
    * 
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -370,10 +457,13 @@ public interface JobOrBuilder extends
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ int getCustomAttributesCount(); /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -387,17 +477,17 @@ public interface JobOrBuilder extends
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; - */ - boolean containsCustomAttributes( - java.lang.String key); - /** - * Use {@link #getCustomAttributesMap()} instead. + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ + boolean containsCustomAttributes(java.lang.String key); + /** Use {@link #getCustomAttributesMap()} instead. */ @java.lang.Deprecated java.util.Map - getCustomAttributes(); + getCustomAttributes(); /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -411,11 +501,14 @@ boolean containsCustomAttributes(
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ java.util.Map - getCustomAttributesMap(); + getCustomAttributesMap(); /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -429,15 +522,18 @@ boolean containsCustomAttributes(
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ /* nullable */ -com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( + com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.talent.v4beta1.CustomAttribute defaultValue); + com.google.cloud.talent.v4beta1.CustomAttribute defaultValue); /** + * + * *
    * A map of fields to hold both filterable and non-filterable custom job
    * attributes that are not covered by the provided structured fields.
@@ -451,62 +547,77 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrDefault(
    * is 50KB.
    * 
* - * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * map<string, .google.cloud.talent.v4beta1.CustomAttribute> custom_attributes = 10; + * */ - - com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow( - java.lang.String key); + com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(java.lang.String key); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the degreeTypes. */ java.util.List getDegreeTypesList(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return The count of degreeTypes. */ int getDegreeTypesCount(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the element to return. * @return The degreeTypes at the given index. */ com.google.cloud.talent.v4beta1.DegreeType getDegreeTypes(int index); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @return A list containing the enum numeric values on the wire for degreeTypes. */ - java.util.List - getDegreeTypesValueList(); + java.util.List getDegreeTypesValueList(); /** + * + * *
    * The desired education degrees for the job, such as Bachelors, Masters.
    * 
* * repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of degreeTypes at the given index. */ int getDegreeTypesValue(int index); /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -514,10 +625,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string department = 12; + * * @return The department. */ java.lang.String getDepartment(); /** + * + * *
    * The department or functional area within the company with the open
    * position.
@@ -525,12 +639,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string department = 12; + * * @return The bytes for department. */ - com.google.protobuf.ByteString - getDepartmentBytes(); + com.google.protobuf.ByteString getDepartmentBytes(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -538,10 +654,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -549,10 +668,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -560,11 +682,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -572,11 +697,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List - getEmploymentTypesValueList(); + java.util.List getEmploymentTypesValueList(); /** + * + * *
    * The employment type(s) of a job, for example,
    * [full time][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME] or
@@ -584,12 +711,15 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 13; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -597,10 +727,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string incentives = 14; + * * @return The incentives. */ java.lang.String getIncentives(); /** + * + * *
    * A description of bonus, commission, and other compensation
    * incentives associated with the job not including salary or pay.
@@ -608,12 +741,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string incentives = 14; + * * @return The bytes for incentives. */ - com.google.protobuf.ByteString - getIncentivesBytes(); + com.google.protobuf.ByteString getIncentivesBytes(); /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -627,10 +762,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string language_code = 15; + * * @return The languageCode. */ java.lang.String getLanguageCode(); /** + * + * *
    * The language of the posting. This field is distinct from
    * any requirements for fluency that are associated with the job.
@@ -644,31 +782,39 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string language_code = 15; + * * @return The bytes for languageCode. */ - com.google.protobuf.ByteString - getLanguageCodeBytes(); + com.google.protobuf.ByteString getLanguageCodeBytes(); /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The enum numeric value on the wire for jobLevel. */ int getJobLevelValue(); /** + * + * *
    * The experience level associated with the job, such as "Entry Level".
    * 
* * .google.cloud.talent.v4beta1.JobLevel job_level = 16; + * * @return The jobLevel. */ com.google.cloud.talent.v4beta1.JobLevel getJobLevel(); /** + * + * *
    * A promotion value of the job, as determined by the client.
    * The value determines the sort order of the jobs returned when searching for
@@ -679,11 +825,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * int32 promotion_value = 17; + * * @return The promotionValue. */ int getPromotionValue(); /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -694,10 +843,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string qualifications = 18; + * * @return The qualifications. */ java.lang.String getQualifications(); /** + * + * *
    * A description of the qualifications required to perform the
    * job. The use of this field is recommended
@@ -708,12 +860,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string qualifications = 18; + * * @return The bytes for qualifications. */ - com.google.protobuf.ByteString - getQualificationsBytes(); + com.google.protobuf.ByteString getQualificationsBytes(); /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -724,10 +878,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string responsibilities = 19; + * * @return The responsibilities. */ java.lang.String getResponsibilities(); /** + * + * *
    * A description of job responsibilities. The use of this field is
    * recommended as an alternative to using the more general [description][google.cloud.talent.v4beta1.Job.description]
@@ -738,12 +895,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * string responsibilities = 19; + * * @return The bytes for responsibilities. */ - com.google.protobuf.ByteString - getResponsibilitiesBytes(); + com.google.protobuf.ByteString getResponsibilitiesBytes(); /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -755,10 +914,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The enum numeric value on the wire for postingRegion. */ int getPostingRegionValue(); /** + * + * *
    * The job [PostingRegion][google.cloud.talent.v4beta1.PostingRegion] (for example, state, country) throughout
    * which the job is available. If this field is set, a [LocationFilter][google.cloud.talent.v4beta1.LocationFilter]
@@ -770,11 +932,14 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4beta1.PostingRegion posting_region = 20; + * * @return The postingRegion. */ com.google.cloud.talent.v4beta1.PostingRegion getPostingRegion(); /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -782,12 +947,16 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The enum numeric value on the wire for visibility. */ - @java.lang.Deprecated int getVisibilityValue(); + @java.lang.Deprecated + int getVisibilityValue(); /** + * + * *
    * Deprecated. The job is only visible to the owner.
    * The visibility of the job.
@@ -795,33 +964,43 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.cloud.talent.v4beta1.Visibility visibility = 21 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. - * See google/cloud/talent/v4beta1/job.proto;l=275 + * + * @deprecated google.cloud.talent.v4beta1.Job.visibility is deprecated. See + * google/cloud/talent/v4beta1/job.proto;l=275 * @return The visibility. */ - @java.lang.Deprecated com.google.cloud.talent.v4beta1.Visibility getVisibility(); + @java.lang.Deprecated + com.google.cloud.talent.v4beta1.Visibility getVisibility(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return Whether the jobStartTime field is set. */ boolean hasJobStartTime(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_start_time = 22; + * * @return The jobStartTime. */ com.google.protobuf.Timestamp getJobStartTime(); /** + * + * *
    * The start timestamp of the job in UTC time zone. Typically this field
    * is used for contracting engagements. Invalid timestamps are ignored.
@@ -832,26 +1011,34 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getJobStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return Whether the jobEndTime field is set. */ boolean hasJobEndTime(); /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
    * 
* * .google.protobuf.Timestamp job_end_time = 23; + * * @return The jobEndTime. */ com.google.protobuf.Timestamp getJobEndTime(); /** + * + * *
    * The end timestamp of the job. Typically this field is used for contracting
    * engagements. Invalid timestamps are ignored.
@@ -862,6 +1049,8 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getJobEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -869,10 +1058,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return Whether the postingPublishTime field is set. */ boolean hasPostingPublishTime(); /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -880,10 +1072,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_publish_time = 24; + * * @return The postingPublishTime. */ com.google.protobuf.Timestamp getPostingPublishTime(); /** + * + * *
    * The timestamp this job posting was most recently published. The default
    * value is the time the request arrives at the server. Invalid timestamps are
@@ -895,6 +1090,8 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getPostingPublishTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -934,10 +1131,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return Whether the postingExpireTime field is set. */ boolean hasPostingExpireTime(); /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -977,10 +1177,13 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
    * 
* * .google.protobuf.Timestamp posting_expire_time = 25; + * * @return The postingExpireTime. */ com.google.protobuf.Timestamp getPostingExpireTime(); /** + * + * *
    * Strongly recommended for the best service experience.
    * The expiration timestamp of the job. After this timestamp, the
@@ -1024,125 +1227,180 @@ com.google.cloud.talent.v4beta1.CustomAttribute getCustomAttributesOrThrow(
   com.google.protobuf.TimestampOrBuilder getPostingExpireTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingCreateTime field is set. */ boolean hasPostingCreateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingCreateTime. */ com.google.protobuf.Timestamp getPostingCreateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was created.
    * 
* - * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_create_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getPostingCreateTimeOrBuilder(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the postingUpdateTime field is set. */ boolean hasPostingUpdateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The postingUpdateTime. */ com.google.protobuf.Timestamp getPostingUpdateTime(); /** + * + * *
    * Output only. The timestamp when this job posting was last updated.
    * 
* - * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp posting_update_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getPostingUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The companyDisplayName. */ java.lang.String getCompanyDisplayName(); /** + * + * *
    * Output only. Display name of the company listing the job.
    * 
* * string company_display_name = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for companyDisplayName. */ - com.google.protobuf.ByteString - getCompanyDisplayNameBytes(); + com.google.protobuf.ByteString getCompanyDisplayNameBytes(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the derivedInfo field is set. */ boolean hasDerivedInfo(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The derivedInfo. */ com.google.cloud.talent.v4beta1.Job.DerivedInfo getDerivedInfo(); /** + * + * *
    * Output only. Derived details about the job posting.
    * 
* - * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.talent.v4beta1.Job.DerivedInfo derived_info = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.talent.v4beta1.Job.DerivedInfoOrBuilder getDerivedInfoOrBuilder(); /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return Whether the processingOptions field is set. */ boolean hasProcessingOptions(); /** + * + * *
    * Options for job processing.
    * 
* * .google.cloud.talent.v4beta1.Job.ProcessingOptions processing_options = 30; + * * @return The processingOptions. */ com.google.cloud.talent.v4beta1.Job.ProcessingOptions getProcessingOptions(); /** + * + * *
    * Options for job processing.
    * 
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java similarity index 85% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java index 661ee23c84bf..9b86a69f74d1 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQuery.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The query required to perform a search query.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobQuery} */ -public final class JobQuery extends - com.google.protobuf.GeneratedMessageV3 implements +public final class JobQuery extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.JobQuery) JobQueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use JobQuery.newBuilder() to construct. private JobQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private JobQuery() { query_ = ""; queryLanguageCode_ = ""; @@ -34,32 +52,35 @@ private JobQuery() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new JobQuery(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobQuery.class, com.google.cloud.talent.v4beta1.JobQuery.Builder.class); + com.google.cloud.talent.v4beta1.JobQuery.class, + com.google.cloud.talent.v4beta1.JobQuery.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object query_; /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -67,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string query = 1; + * * @return The query. */ @java.lang.Override @@ -75,14 +97,15 @@ public java.lang.String getQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; } } /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -90,16 +113,15 @@ public java.lang.String getQuery() {
    * 
* * string query = 1; + * * @return The bytes for query. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -110,6 +132,8 @@ public java.lang.String getQuery() { public static final int QUERY_LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object queryLanguageCode_; /** + * + * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -121,6 +145,7 @@ public java.lang.String getQuery() {
    * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ @java.lang.Override @@ -129,14 +154,15 @@ public java.lang.String getQueryLanguageCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; } } /** + * + * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -148,16 +174,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -168,6 +193,8 @@ public java.lang.String getQueryLanguageCode() { public static final int COMPANIES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList companies_; /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -183,13 +210,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList - getCompaniesList() { + public com.google.protobuf.ProtocolStringList getCompaniesList() { return companies_; } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -205,12 +234,15 @@ public java.lang.String getQueryLanguageCode() {
    * 
* * repeated string companies = 2; + * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -226,6 +258,7 @@ public int getCompaniesCount() {
    * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -233,6 +266,8 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -248,17 +283,19 @@ public java.lang.String getCompanies(int index) {
    * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString - getCompaniesBytes(int index) { + public com.google.protobuf.ByteString getCompaniesBytes(int index) { return companies_.getByteString(index); } public static final int LOCATION_FILTERS_FIELD_NUMBER = 3; private java.util.List locationFilters_; /** + * + * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -278,6 +315,8 @@ public java.util.List getLocatio
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -293,11 +332,13 @@ public java.util.List getLocatio
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -317,6 +358,8 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -336,6 +379,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind
     return locationFilters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -359,16 +404,22 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
   public static final int JOB_CATEGORIES_FIELD_NUMBER = 4;
   private java.util.List jobCategories_;
   private static final com.google.protobuf.Internal.ListAdapter.Converter<
-      java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory> jobCategories_converter_ =
+          java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>
+      jobCategories_converter_ =
           new com.google.protobuf.Internal.ListAdapter.Converter<
               java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>() {
             public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer from) {
               @SuppressWarnings("deprecation")
-              com.google.cloud.talent.v4beta1.JobCategory result = com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
-              return result == null ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED : result;
+              com.google.cloud.talent.v4beta1.JobCategory result =
+                  com.google.cloud.talent.v4beta1.JobCategory.valueOf(from);
+              return result == null
+                  ? com.google.cloud.talent.v4beta1.JobCategory.UNRECOGNIZED
+                  : result;
             }
           };
   /**
+   *
+   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -378,14 +429,18 @@ public com.google.cloud.talent.v4beta1.JobCategory convert(java.lang.Integer fro
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ @java.lang.Override public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -395,6 +450,7 @@ public java.util.List getJobCategor
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ @java.lang.Override @@ -402,6 +458,8 @@ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -411,6 +469,7 @@ public int getJobCategoriesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -419,6 +478,8 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -428,14 +489,16 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ @java.lang.Override - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return jobCategories_; } /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -445,6 +508,7 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -452,11 +516,14 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } + private int jobCategoriesMemoizedSerializedSize; public static final int COMMUTE_FILTER_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -466,6 +533,7 @@ public int getJobCategoriesValue(int index) {
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ @java.lang.Override @@ -473,6 +541,8 @@ public boolean hasCommuteFilter() { return commuteFilter_ != null; } /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -482,13 +552,18 @@ public boolean hasCommuteFilter() {
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter() { - return commuteFilter_ == null ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_; + return commuteFilter_ == null + ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() + : commuteFilter_; } /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -507,6 +582,8 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
   public static final int COMPANY_DISPLAY_NAMES_FIELD_NUMBER = 6;
   private com.google.protobuf.LazyStringList companyDisplayNames_;
   /**
+   *
+   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -530,13 +607,15 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
    * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList - getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { return companyDisplayNames_; } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -560,12 +639,15 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
    * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -589,6 +671,7 @@ public int getCompanyDisplayNamesCount() {
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -596,6 +679,8 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -619,17 +704,19 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } public static final int COMPENSATION_FILTER_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -639,6 +726,7 @@ public java.lang.String getCompanyDisplayNames(int index) {
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ @java.lang.Override @@ -646,6 +734,8 @@ public boolean hasCompensationFilter() { return compensationFilter_ != null; } /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -655,13 +745,18 @@ public boolean hasCompensationFilter() {
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter() { - return compensationFilter_ == null ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_; + return compensationFilter_ == null + ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() + : compensationFilter_; } /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -673,13 +768,16 @@ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(
    * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder() {
+  public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder
+      getCompensationFilterOrBuilder() {
     return getCompensationFilter();
   }
 
   public static final int CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER = 8;
   private volatile java.lang.Object customAttributeFilter_;
   /**
+   *
+   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -701,6 +799,7 @@ public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensati
    * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ @java.lang.Override @@ -709,14 +808,15 @@ public java.lang.String getCustomAttributeFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; } } /** + * + * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -738,16 +838,15 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -758,6 +857,8 @@ public java.lang.String getCustomAttributeFilter() { public static final int DISABLE_SPELL_CHECK_FIELD_NUMBER = 9; private boolean disableSpellCheck_; /** + * + * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -766,6 +867,7 @@ public java.lang.String getCustomAttributeFilter() {
    * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ @java.lang.Override @@ -776,16 +878,22 @@ public boolean getDisableSpellCheck() { public static final int EMPLOYMENT_TYPES_FIELD_NUMBER = 10; private java.util.List employmentTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> employmentTypes_converter_ = + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType> + employmentTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>() { public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.EmploymentType result = com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); - return result == null ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.EmploymentType result = + com.google.cloud.talent.v4beta1.EmploymentType.valueOf(from); + return result == null + ? com.google.cloud.talent.v4beta1.EmploymentType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -796,14 +904,18 @@ public com.google.cloud.talent.v4beta1.EmploymentType convert(java.lang.Integer
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ @java.lang.Override public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -814,6 +926,7 @@ public java.util.List getEmploym
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ @java.lang.Override @@ -821,6 +934,8 @@ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -831,6 +946,7 @@ public int getEmploymentTypesCount() {
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -839,6 +955,8 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -849,14 +967,16 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ @java.lang.Override - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return employmentTypes_; } /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -867,6 +987,7 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -874,11 +995,14 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } + private int employmentTypesMemoizedSerializedSize; public static final int LANGUAGE_CODES_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList languageCodes_; /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -891,13 +1015,15 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_; } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -910,12 +1036,15 @@ public int getEmploymentTypesValue(int index) {
    * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -928,6 +1057,7 @@ public int getLanguageCodesCount() {
    * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -935,6 +1065,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -947,23 +1079,26 @@ public java.lang.String getLanguageCodes(int index) {
    * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } public static final int PUBLISH_TIME_RANGE_FIELD_NUMBER = 12; private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ @java.lang.Override @@ -971,19 +1106,26 @@ public boolean hasPublishTimeRange() { return publishTimeRange_ != null; } /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ @java.lang.Override public com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange() { - return publishTimeRange_ == null ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_; + return publishTimeRange_ == null + ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() + : publishTimeRange_; } /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -999,37 +1141,45 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
   public static final int EXCLUDED_JOBS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList excludedJobs_;
   /**
+   *
+   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList - getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList getExcludedJobsList() { return excludedJobs_; } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -1037,21 +1187,24 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString - getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1063,8 +1216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(query_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); @@ -1137,24 +1289,23 @@ public int getSerializedSize() { size += 1 * getCompaniesList().size(); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, locationFilters_.get(i)); } { int dataSize = 0; for (int i = 0; i < jobCategories_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(jobCategories_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(jobCategories_.get(i)); } size += dataSize; - if (!getJobCategoriesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }jobCategoriesMemoizedSerializedSize = dataSize; + if (!getJobCategoriesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + jobCategoriesMemoizedSerializedSize = dataSize; } if (commuteFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCommuteFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteFilter()); } { int dataSize = 0; @@ -1165,27 +1316,26 @@ public int getSerializedSize() { size += 1 * getCompanyDisplayNamesList().size(); } if (compensationFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCompensationFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompensationFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(customAttributeFilter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, customAttributeFilter_); } if (disableSpellCheck_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, disableSpellCheck_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, disableSpellCheck_); } { int dataSize = 0; for (int i = 0; i < employmentTypes_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(employmentTypes_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(employmentTypes_.get(i)); } size += dataSize; - if (!getEmploymentTypesList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }employmentTypesMemoizedSerializedSize = dataSize; + if (!getEmploymentTypesList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + employmentTypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; @@ -1196,8 +1346,7 @@ public int getSerializedSize() { size += 1 * getLanguageCodesList().size(); } if (publishTimeRange_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getPublishTimeRange()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getPublishTimeRange()); } { int dataSize = 0; @@ -1218,48 +1367,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.JobQuery)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.JobQuery other = (com.google.cloud.talent.v4beta1.JobQuery) obj; - if (!getQuery() - .equals(other.getQuery())) return false; - if (!getQueryLanguageCode() - .equals(other.getQueryLanguageCode())) return false; - if (!getCompaniesList() - .equals(other.getCompaniesList())) return false; - if (!getLocationFiltersList() - .equals(other.getLocationFiltersList())) return false; + if (!getQuery().equals(other.getQuery())) return false; + if (!getQueryLanguageCode().equals(other.getQueryLanguageCode())) return false; + if (!getCompaniesList().equals(other.getCompaniesList())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; if (!jobCategories_.equals(other.jobCategories_)) return false; if (hasCommuteFilter() != other.hasCommuteFilter()) return false; if (hasCommuteFilter()) { - if (!getCommuteFilter() - .equals(other.getCommuteFilter())) return false; + if (!getCommuteFilter().equals(other.getCommuteFilter())) return false; } - if (!getCompanyDisplayNamesList() - .equals(other.getCompanyDisplayNamesList())) return false; + if (!getCompanyDisplayNamesList().equals(other.getCompanyDisplayNamesList())) return false; if (hasCompensationFilter() != other.hasCompensationFilter()) return false; if (hasCompensationFilter()) { - if (!getCompensationFilter() - .equals(other.getCompensationFilter())) return false; + if (!getCompensationFilter().equals(other.getCompensationFilter())) return false; } - if (!getCustomAttributeFilter() - .equals(other.getCustomAttributeFilter())) return false; - if (getDisableSpellCheck() - != other.getDisableSpellCheck()) return false; + if (!getCustomAttributeFilter().equals(other.getCustomAttributeFilter())) return false; + if (getDisableSpellCheck() != other.getDisableSpellCheck()) return false; if (!employmentTypes_.equals(other.employmentTypes_)) return false; - if (!getLanguageCodesList() - .equals(other.getLanguageCodesList())) return false; + if (!getLanguageCodesList().equals(other.getLanguageCodesList())) return false; if (hasPublishTimeRange() != other.hasPublishTimeRange()) return false; if (hasPublishTimeRange()) { - if (!getPublishTimeRange() - .equals(other.getPublishTimeRange())) return false; + if (!getPublishTimeRange().equals(other.getPublishTimeRange())) return false; } - if (!getExcludedJobsList() - .equals(other.getExcludedJobsList())) return false; + if (!getExcludedJobsList().equals(other.getExcludedJobsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1302,8 +1439,7 @@ public int hashCode() { hash = (37 * hash) + CUSTOM_ATTRIBUTE_FILTER_FIELD_NUMBER; hash = (53 * hash) + getCustomAttributeFilter().hashCode(); hash = (37 * hash) + DISABLE_SPELL_CHECK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableSpellCheck()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableSpellCheck()); if (getEmploymentTypesCount() > 0) { hash = (37 * hash) + EMPLOYMENT_TYPES_FIELD_NUMBER; hash = (53 * hash) + employmentTypes_.hashCode(); @@ -1325,130 +1461,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.JobQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.JobQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The query required to perform a search query.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.JobQuery} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.JobQuery) com.google.cloud.talent.v4beta1.JobQueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.JobQuery.class, com.google.cloud.talent.v4beta1.JobQuery.Builder.class); + com.google.cloud.talent.v4beta1.JobQuery.class, + com.google.cloud.talent.v4beta1.JobQuery.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.JobQuery.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1501,9 +1643,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; } @java.lang.Override @@ -1522,7 +1664,8 @@ public com.google.cloud.talent.v4beta1.JobQuery build() { @java.lang.Override public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { - com.google.cloud.talent.v4beta1.JobQuery result = new com.google.cloud.talent.v4beta1.JobQuery(this); + com.google.cloud.talent.v4beta1.JobQuery result = + new com.google.cloud.talent.v4beta1.JobQuery(this); int from_bitField0_ = bitField0_; result.query_ = query_; result.queryLanguageCode_ = queryLanguageCode_; @@ -1590,38 +1733,39 @@ public com.google.cloud.talent.v4beta1.JobQuery buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.JobQuery) { - return mergeFrom((com.google.cloud.talent.v4beta1.JobQuery)other); + return mergeFrom((com.google.cloud.talent.v4beta1.JobQuery) other); } else { super.mergeFrom(other); return this; @@ -1666,9 +1810,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.JobQuery other) { locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000002); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationFiltersFieldBuilder() : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationFiltersFieldBuilder() + : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -1766,124 +1911,136 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - query_ = input.readStringRequireUtf8(); + case 10: + { + query_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompaniesIsMutable(); - companies_.add(s); - break; - } // case 18 - case 26: { - com.google.cloud.talent.v4beta1.LocationFilter m = - input.readMessage( - com.google.cloud.talent.v4beta1.LocationFilter.parser(), - extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - int tmpRaw = input.readEnum(); - ensureJobCategoriesIsMutable(); - jobCategories_.add(tmpRaw); - break; - } // case 32 - case 34: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompaniesIsMutable(); + companies_.add(s); + break; + } // case 18 + case 26: + { + com.google.cloud.talent.v4beta1.LocationFilter m = + input.readMessage( + com.google.cloud.talent.v4beta1.LocationFilter.parser(), extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { int tmpRaw = input.readEnum(); ensureJobCategoriesIsMutable(); jobCategories_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 34 - case 42: { - input.readMessage( - getCommuteFilterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 32 + case 34: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureJobCategoriesIsMutable(); + jobCategories_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 34 + case 42: + { + input.readMessage(getCommuteFilterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCompanyDisplayNamesIsMutable(); - companyDisplayNames_.add(s); - break; - } // case 50 - case 58: { - input.readMessage( - getCompensationFilterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCompanyDisplayNamesIsMutable(); + companyDisplayNames_.add(s); + break; + } // case 50 + case 58: + { + input.readMessage( + getCompensationFilterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 66: { - customAttributeFilter_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: + { + customAttributeFilter_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 72: { - disableSpellCheck_ = input.readBool(); + break; + } // case 66 + case 72: + { + disableSpellCheck_ = input.readBool(); - break; - } // case 72 - case 80: { - int tmpRaw = input.readEnum(); - ensureEmploymentTypesIsMutable(); - employmentTypes_.add(tmpRaw); - break; - } // case 80 - case 82: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + break; + } // case 72 + case 80: + { int tmpRaw = input.readEnum(); ensureEmploymentTypesIsMutable(); employmentTypes_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 82 - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLanguageCodesIsMutable(); - languageCodes_.add(s); - break; - } // case 90 - case 98: { - input.readMessage( - getPublishTimeRangeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 80 + case 82: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEmploymentTypesIsMutable(); + employmentTypes_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 82 + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLanguageCodesIsMutable(); + languageCodes_.add(s); + break; + } // case 90 + case 98: + { + input.readMessage( + getPublishTimeRangeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureExcludedJobsIsMutable(); - excludedJobs_.add(s); - break; - } // case 106 - case 114: { - queryLanguageCode_ = input.readStringRequireUtf8(); + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExcludedJobsIsMutable(); + excludedJobs_.add(s); + break; + } // case 106 + case 114: + { + queryLanguageCode_ = input.readStringRequireUtf8(); - break; - } // case 114 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 114 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1893,10 +2050,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object query_ = ""; /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1904,13 +2064,13 @@ public Builder mergeFrom(
      * 
* * string query = 1; + * * @return The query. */ public java.lang.String getQuery() { java.lang.Object ref = query_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); query_ = s; return s; @@ -1919,6 +2079,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1926,15 +2088,14 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; + * * @return The bytes for query. */ - public com.google.protobuf.ByteString - getQueryBytes() { + public com.google.protobuf.ByteString getQueryBytes() { java.lang.Object ref = query_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); query_ = b; return b; } else { @@ -1942,6 +2103,8 @@ public java.lang.String getQuery() { } } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1949,20 +2112,22 @@ public java.lang.String getQuery() {
      * 
* * string query = 1; + * * @param value The query to set. * @return This builder for chaining. */ - public Builder setQuery( - java.lang.String value) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; onChanged(); return this; } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1970,15 +2135,18 @@ public Builder setQuery(
      * 
* * string query = 1; + * * @return This builder for chaining. */ public Builder clearQuery() { - + query_ = getDefaultInstance().getQuery(); onChanged(); return this; } /** + * + * *
      * The query string that matches against the job title, description, and
      * location fields.
@@ -1986,16 +2154,16 @@ public Builder clearQuery() {
      * 
* * string query = 1; + * * @param value The bytes for query to set. * @return This builder for chaining. */ - public Builder setQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); return this; @@ -2003,6 +2171,8 @@ public Builder setQueryBytes( private java.lang.Object queryLanguageCode_ = ""; /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2014,13 +2184,13 @@ public Builder setQueryBytes(
      * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ public java.lang.String getQueryLanguageCode() { java.lang.Object ref = queryLanguageCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryLanguageCode_ = s; return s; @@ -2029,6 +2199,8 @@ public java.lang.String getQueryLanguageCode() { } } /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2040,15 +2212,14 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ - public com.google.protobuf.ByteString - getQueryLanguageCodeBytes() { + public com.google.protobuf.ByteString getQueryLanguageCodeBytes() { java.lang.Object ref = queryLanguageCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryLanguageCode_ = b; return b; } else { @@ -2056,6 +2227,8 @@ public java.lang.String getQueryLanguageCode() { } } /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2067,20 +2240,22 @@ public java.lang.String getQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @param value The queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCode( - java.lang.String value) { + public Builder setQueryLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryLanguageCode_ = value; onChanged(); return this; } /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2092,15 +2267,18 @@ public Builder setQueryLanguageCode(
      * 
* * string query_language_code = 14; + * * @return This builder for chaining. */ public Builder clearQueryLanguageCode() { - + queryLanguageCode_ = getDefaultInstance().getQueryLanguageCode(); onChanged(); return this; } /** + * + * *
      * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
      * better interpret the query.
@@ -2112,29 +2290,33 @@ public Builder clearQueryLanguageCode() {
      * 
* * string query_language_code = 14; + * * @param value The bytes for queryLanguageCode to set. * @return This builder for chaining. */ - public Builder setQueryLanguageCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setQueryLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryLanguageCode_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList companies_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList companies_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new com.google.protobuf.LazyStringArrayList(companies_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2150,13 +2332,15 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - public com.google.protobuf.ProtocolStringList - getCompaniesList() { + public com.google.protobuf.ProtocolStringList getCompaniesList() { return companies_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2172,12 +2356,15 @@ private void ensureCompaniesIsMutable() {
      * 
* * repeated string companies = 2; + * * @return The count of companies. */ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2193,6 +2380,7 @@ public int getCompaniesCount() {
      * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ @@ -2200,6 +2388,8 @@ public java.lang.String getCompanies(int index) { return companies_.get(index); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2215,14 +2405,16 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - public com.google.protobuf.ByteString - getCompaniesBytes(int index) { + public com.google.protobuf.ByteString getCompaniesBytes(int index) { return companies_.getByteString(index); } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2238,21 +2430,23 @@ public java.lang.String getCompanies(int index) {
      * 
* * repeated string companies = 2; + * * @param index The index to set the value at. * @param value The companies to set. * @return This builder for chaining. */ - public Builder setCompanies( - int index, java.lang.String value) { + public Builder setCompanies(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2268,20 +2462,22 @@ public Builder setCompanies(
      * 
* * repeated string companies = 2; + * * @param value The companies to add. * @return This builder for chaining. */ - public Builder addCompanies( - java.lang.String value) { + public Builder addCompanies(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompaniesIsMutable(); + throw new NullPointerException(); + } + ensureCompaniesIsMutable(); companies_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2297,18 +2493,19 @@ public Builder addCompanies(
      * 
* * repeated string companies = 2; + * * @param values The companies to add. * @return This builder for chaining. */ - public Builder addAllCompanies( - java.lang.Iterable values) { + public Builder addAllCompanies(java.lang.Iterable values) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); onChanged(); return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2324,6 +2521,7 @@ public Builder addAllCompanies(
      * 
* * repeated string companies = 2; + * * @return This builder for chaining. */ public Builder clearCompanies() { @@ -2333,6 +2531,8 @@ public Builder clearCompanies() { return this; } /** + * + * *
      * This filter specifies the company entities to search against.
      * If a value isn't specified, jobs are searched for against all
@@ -2348,15 +2548,15 @@ public Builder clearCompanies() {
      * 
* * repeated string companies = 2; + * * @param value The bytes of the companies to add. * @return This builder for chaining. */ - public Builder addCompaniesBytes( - com.google.protobuf.ByteString value) { + public Builder addCompaniesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompaniesIsMutable(); companies_.add(value); onChanged(); @@ -2364,18 +2564,26 @@ public Builder addCompaniesBytes( } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - locationFilters_ = new java.util.ArrayList(locationFilters_); + locationFilters_ = + new java.util.ArrayList( + locationFilters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> locationFiltersBuilder_; + com.google.cloud.talent.v4beta1.LocationFilter, + com.google.cloud.talent.v4beta1.LocationFilter.Builder, + com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> + locationFiltersBuilder_; /** + * + * *
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2398,6 +2606,8 @@ public java.util.List getLocatio
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2420,6 +2630,8 @@ public int getLocationFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2442,6 +2654,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int ind
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2471,6 +2685,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2497,6 +2713,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2525,6 +2743,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.LocationFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2554,6 +2774,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2580,6 +2802,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2606,6 +2830,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2624,8 +2850,7 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -2633,6 +2858,8 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2658,6 +2885,8 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2683,6 +2912,8 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2702,6 +2933,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2719,11 +2952,14 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder getLocationFilters
     public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);  } else {
+        return locationFilters_.get(index);
+      } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2738,8 +2974,8 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
      *
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
-    public java.util.List 
-         getLocationFiltersOrBuilderList() {
+    public java.util.List
+        getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2747,6 +2983,8 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
       }
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2762,10 +3000,12 @@ public com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFilter
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
     public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2782,10 +3022,12 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
      */
     public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFiltersBuilder(
         int index) {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4beta1.LocationFilter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filter specifies geo-regions containing the jobs to
      * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -2800,16 +3042,22 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
      *
      * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
      */
-    public java.util.List 
-         getLocationFiltersBuilderList() {
+    public java.util.List
+        getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder> 
+            com.google.cloud.talent.v4beta1.LocationFilter,
+            com.google.cloud.talent.v4beta1.LocationFilter.Builder,
+            com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.LocationFilter, com.google.cloud.talent.v4beta1.LocationFilter.Builder, com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>(
+        locationFiltersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.LocationFilter,
+                com.google.cloud.talent.v4beta1.LocationFilter.Builder,
+                com.google.cloud.talent.v4beta1.LocationFilterOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2819,8 +3067,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter.Builder addLocationFilters
       return locationFiltersBuilder_;
     }
 
-    private java.util.List jobCategories_ =
-      java.util.Collections.emptyList();
+    private java.util.List jobCategories_ = java.util.Collections.emptyList();
+
     private void ensureJobCategoriesIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         jobCategories_ = new java.util.ArrayList(jobCategories_);
@@ -2828,6 +3076,8 @@ private void ensureJobCategoriesIsMutable() {
       }
     }
     /**
+     *
+     *
      * 
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2837,13 +3087,17 @@ private void ensureJobCategoriesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ public java.util.List getJobCategoriesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>(jobCategories_, jobCategories_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.JobCategory>( + jobCategories_, jobCategories_converter_); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2853,12 +3107,15 @@ public java.util.List getJobCategor
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ public int getJobCategoriesCount() { return jobCategories_.size(); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2868,6 +3125,7 @@ public int getJobCategoriesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ @@ -2875,6 +3133,8 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) { return jobCategories_converter_.convert(jobCategories_.get(index)); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2884,12 +3144,12 @@ public com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index to set the value at. * @param value The jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategories( - int index, com.google.cloud.talent.v4beta1.JobCategory value) { + public Builder setJobCategories(int index, com.google.cloud.talent.v4beta1.JobCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2899,6 +3159,8 @@ public Builder setJobCategories( return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2908,6 +3170,7 @@ public Builder setJobCategories(
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param value The jobCategories to add. * @return This builder for chaining. */ @@ -2921,6 +3184,8 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2930,6 +3195,7 @@ public Builder addJobCategories(com.google.cloud.talent.v4beta1.JobCategory valu
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param values The jobCategories to add. * @return This builder for chaining. */ @@ -2943,6 +3209,8 @@ public Builder addAllJobCategories( return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2952,6 +3220,7 @@ public Builder addAllJobCategories(
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return This builder for chaining. */ public Builder clearJobCategories() { @@ -2961,6 +3230,8 @@ public Builder clearJobCategories() { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2970,13 +3241,15 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - public java.util.List - getJobCategoriesValueList() { + public java.util.List getJobCategoriesValueList() { return java.util.Collections.unmodifiableList(jobCategories_); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -2986,6 +3259,7 @@ public Builder clearJobCategories() {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ @@ -2993,6 +3267,8 @@ public int getJobCategoriesValue(int index) { return jobCategories_.get(index); } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3002,18 +3278,20 @@ public int getJobCategoriesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for jobCategories to set. * @return This builder for chaining. */ - public Builder setJobCategoriesValue( - int index, int value) { + public Builder setJobCategoriesValue(int index, int value) { ensureJobCategoriesIsMutable(); jobCategories_.set(index, value); onChanged(); return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3023,6 +3301,7 @@ public Builder setJobCategoriesValue(
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param value The enum numeric value on the wire for jobCategories to add. * @return This builder for chaining. */ @@ -3033,6 +3312,8 @@ public Builder addJobCategoriesValue(int value) { return this; } /** + * + * *
      * The category filter specifies the categories of jobs to search against.
      * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -3042,11 +3323,11 @@ public Builder addJobCategoriesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param values The enum numeric values on the wire for jobCategories to add. * @return This builder for chaining. */ - public Builder addAllJobCategoriesValue( - java.lang.Iterable values) { + public Builder addAllJobCategoriesValue(java.lang.Iterable values) { ensureJobCategoriesIsMutable(); for (int value : values) { jobCategories_.add(value); @@ -3057,8 +3338,13 @@ public Builder addAllJobCategoriesValue( private com.google.cloud.talent.v4beta1.CommuteFilter commuteFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> commuteFilterBuilder_; + com.google.cloud.talent.v4beta1.CommuteFilter, + com.google.cloud.talent.v4beta1.CommuteFilter.Builder, + com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> + commuteFilterBuilder_; /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3068,12 +3354,15 @@ public Builder addAllJobCategoriesValue(
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ public boolean hasCommuteFilter() { return commuteFilterBuilder_ != null || commuteFilter_ != null; } /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3083,16 +3372,21 @@ public boolean hasCommuteFilter() {
      * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ public com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter() { if (commuteFilterBuilder_ == null) { - return commuteFilter_ == null ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_; + return commuteFilter_ == null + ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() + : commuteFilter_; } else { return commuteFilterBuilder_.getMessage(); } } /** + * + * *
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3117,6 +3411,8 @@ public Builder setCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter va
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3139,6 +3435,8 @@ public Builder setCommuteFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3153,7 +3451,9 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter
       if (commuteFilterBuilder_ == null) {
         if (commuteFilter_ != null) {
           commuteFilter_ =
-            com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder(commuteFilter_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.CommuteFilter.newBuilder(commuteFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           commuteFilter_ = value;
         }
@@ -3165,6 +3465,8 @@ public Builder mergeCommuteFilter(com.google.cloud.talent.v4beta1.CommuteFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3187,6 +3489,8 @@ public Builder clearCommuteFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3198,11 +3502,13 @@ public Builder clearCommuteFilter() {
      * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
      */
     public com.google.cloud.talent.v4beta1.CommuteFilter.Builder getCommuteFilterBuilder() {
-      
+
       onChanged();
       return getCommuteFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3217,11 +3523,14 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
       if (commuteFilterBuilder_ != null) {
         return commuteFilterBuilder_.getMessageOrBuilder();
       } else {
-        return commuteFilter_ == null ?
-            com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance() : commuteFilter_;
+        return commuteFilter_ == null
+            ? com.google.cloud.talent.v4beta1.CommuteFilter.getDefaultInstance()
+            : commuteFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Allows filtering jobs by commute time with different travel methods (for
      *  example, driving or public transit).
@@ -3233,27 +3542,34 @@ public com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOr
      * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder> 
+            com.google.cloud.talent.v4beta1.CommuteFilter,
+            com.google.cloud.talent.v4beta1.CommuteFilter.Builder,
+            com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>
         getCommuteFilterFieldBuilder() {
       if (commuteFilterBuilder_ == null) {
-        commuteFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CommuteFilter, com.google.cloud.talent.v4beta1.CommuteFilter.Builder, com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>(
-                getCommuteFilter(),
-                getParentForChildren(),
-                isClean());
+        commuteFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.CommuteFilter,
+                com.google.cloud.talent.v4beta1.CommuteFilter.Builder,
+                com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder>(
+                getCommuteFilter(), getParentForChildren(), isClean());
         commuteFilter_ = null;
       }
       return commuteFilterBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList companyDisplayNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList companyDisplayNames_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureCompanyDisplayNamesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         companyDisplayNames_ = new com.google.protobuf.LazyStringArrayList(companyDisplayNames_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3277,13 +3593,15 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - public com.google.protobuf.ProtocolStringList - getCompanyDisplayNamesList() { + public com.google.protobuf.ProtocolStringList getCompanyDisplayNamesList() { return companyDisplayNames_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3307,12 +3625,15 @@ private void ensureCompanyDisplayNamesIsMutable() {
      * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ public int getCompanyDisplayNamesCount() { return companyDisplayNames_.size(); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3336,6 +3657,7 @@ public int getCompanyDisplayNamesCount() {
      * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ @@ -3343,6 +3665,8 @@ public java.lang.String getCompanyDisplayNames(int index) { return companyDisplayNames_.get(index); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3366,14 +3690,16 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - public com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index) { + public com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index) { return companyDisplayNames_.getByteString(index); } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3397,21 +3723,23 @@ public java.lang.String getCompanyDisplayNames(int index) {
      * 
* * repeated string company_display_names = 6; + * * @param index The index to set the value at. * @param value The companyDisplayNames to set. * @return This builder for chaining. */ - public Builder setCompanyDisplayNames( - int index, java.lang.String value) { + public Builder setCompanyDisplayNames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3435,20 +3763,22 @@ public Builder setCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @param value The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNames( - java.lang.String value) { + public Builder addCompanyDisplayNames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCompanyDisplayNamesIsMutable(); + throw new NullPointerException(); + } + ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3472,18 +3802,19 @@ public Builder addCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @param values The companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addAllCompanyDisplayNames( - java.lang.Iterable values) { + public Builder addAllCompanyDisplayNames(java.lang.Iterable values) { ensureCompanyDisplayNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companyDisplayNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companyDisplayNames_); onChanged(); return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3507,6 +3838,7 @@ public Builder addAllCompanyDisplayNames(
      * 
* * repeated string company_display_names = 6; + * * @return This builder for chaining. */ public Builder clearCompanyDisplayNames() { @@ -3516,6 +3848,8 @@ public Builder clearCompanyDisplayNames() { return this; } /** + * + * *
      * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
      * of the jobs to search against. The company name must match the value
@@ -3539,15 +3873,15 @@ public Builder clearCompanyDisplayNames() {
      * 
* * repeated string company_display_names = 6; + * * @param value The bytes of the companyDisplayNames to add. * @return This builder for chaining. */ - public Builder addCompanyDisplayNamesBytes( - com.google.protobuf.ByteString value) { + public Builder addCompanyDisplayNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCompanyDisplayNamesIsMutable(); companyDisplayNames_.add(value); onChanged(); @@ -3556,8 +3890,13 @@ public Builder addCompanyDisplayNamesBytes( private com.google.cloud.talent.v4beta1.CompensationFilter compensationFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> compensationFilterBuilder_; + com.google.cloud.talent.v4beta1.CompensationFilter, + com.google.cloud.talent.v4beta1.CompensationFilter.Builder, + com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> + compensationFilterBuilder_; /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3567,12 +3906,15 @@ public Builder addCompanyDisplayNamesBytes(
      * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ public boolean hasCompensationFilter() { return compensationFilterBuilder_ != null || compensationFilter_ != null; } /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3582,16 +3924,21 @@ public boolean hasCompensationFilter() {
      * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ public com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter() { if (compensationFilterBuilder_ == null) { - return compensationFilter_ == null ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_; + return compensationFilter_ == null + ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() + : compensationFilter_; } else { return compensationFilterBuilder_.getMessage(); } } /** + * + * *
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3616,6 +3963,8 @@ public Builder setCompensationFilter(com.google.cloud.talent.v4beta1.Compensatio
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3638,6 +3987,8 @@ public Builder setCompensationFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3648,11 +3999,14 @@ public Builder setCompensationFilter(
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public Builder mergeCompensationFilter(com.google.cloud.talent.v4beta1.CompensationFilter value) {
+    public Builder mergeCompensationFilter(
+        com.google.cloud.talent.v4beta1.CompensationFilter value) {
       if (compensationFilterBuilder_ == null) {
         if (compensationFilter_ != null) {
           compensationFilter_ =
-            com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder(compensationFilter_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.CompensationFilter.newBuilder(compensationFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           compensationFilter_ = value;
         }
@@ -3664,6 +4018,8 @@ public Builder mergeCompensationFilter(com.google.cloud.talent.v4beta1.Compensat
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3686,6 +4042,8 @@ public Builder clearCompensationFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3696,12 +4054,15 @@ public Builder clearCompensationFilter() {
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public com.google.cloud.talent.v4beta1.CompensationFilter.Builder getCompensationFilterBuilder() {
-      
+    public com.google.cloud.talent.v4beta1.CompensationFilter.Builder
+        getCompensationFilterBuilder() {
+
       onChanged();
       return getCompensationFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3712,15 +4073,19 @@ public com.google.cloud.talent.v4beta1.CompensationFilter.Builder getCompensatio
      *
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
-    public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder() {
+    public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder
+        getCompensationFilterOrBuilder() {
       if (compensationFilterBuilder_ != null) {
         return compensationFilterBuilder_.getMessageOrBuilder();
       } else {
-        return compensationFilter_ == null ?
-            com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance() : compensationFilter_;
+        return compensationFilter_ == null
+            ? com.google.cloud.talent.v4beta1.CompensationFilter.getDefaultInstance()
+            : compensationFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * This search filter is applied only to
      * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -3732,14 +4097,17 @@ public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensati
      * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder> 
+            com.google.cloud.talent.v4beta1.CompensationFilter,
+            com.google.cloud.talent.v4beta1.CompensationFilter.Builder,
+            com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>
         getCompensationFilterFieldBuilder() {
       if (compensationFilterBuilder_ == null) {
-        compensationFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.CompensationFilter, com.google.cloud.talent.v4beta1.CompensationFilter.Builder, com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>(
-                getCompensationFilter(),
-                getParentForChildren(),
-                isClean());
+        compensationFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.CompensationFilter,
+                com.google.cloud.talent.v4beta1.CompensationFilter.Builder,
+                com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder>(
+                getCompensationFilter(), getParentForChildren(), isClean());
         compensationFilter_ = null;
       }
       return compensationFilterBuilder_;
@@ -3747,6 +4115,8 @@ public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensati
 
     private java.lang.Object customAttributeFilter_ = "";
     /**
+     *
+     *
      * 
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3768,13 +4138,13 @@ public com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensati
      * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ public java.lang.String getCustomAttributeFilter() { java.lang.Object ref = customAttributeFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customAttributeFilter_ = s; return s; @@ -3783,6 +4153,8 @@ public java.lang.String getCustomAttributeFilter() { } } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3804,15 +4176,14 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ - public com.google.protobuf.ByteString - getCustomAttributeFilterBytes() { + public com.google.protobuf.ByteString getCustomAttributeFilterBytes() { java.lang.Object ref = customAttributeFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customAttributeFilter_ = b; return b; } else { @@ -3820,6 +4191,8 @@ public java.lang.String getCustomAttributeFilter() { } } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3841,20 +4214,22 @@ public java.lang.String getCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @param value The customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilter( - java.lang.String value) { + public Builder setCustomAttributeFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + customAttributeFilter_ = value; onChanged(); return this; } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3876,15 +4251,18 @@ public Builder setCustomAttributeFilter(
      * 
* * string custom_attribute_filter = 8; + * * @return This builder for chaining. */ public Builder clearCustomAttributeFilter() { - + customAttributeFilter_ = getDefaultInstance().getCustomAttributeFilter(); onChanged(); return this; } /** + * + * *
      * This filter specifies a structured syntax to match against the
      * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -3906,23 +4284,25 @@ public Builder clearCustomAttributeFilter() {
      * 
* * string custom_attribute_filter = 8; + * * @param value The bytes for customAttributeFilter to set. * @return This builder for chaining. */ - public Builder setCustomAttributeFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setCustomAttributeFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + customAttributeFilter_ = value; onChanged(); return this; } - private boolean disableSpellCheck_ ; + private boolean disableSpellCheck_; /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3931,6 +4311,7 @@ public Builder setCustomAttributeFilterBytes(
      * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ @java.lang.Override @@ -3938,6 +4319,8 @@ public boolean getDisableSpellCheck() { return disableSpellCheck_; } /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3946,16 +4329,19 @@ public boolean getDisableSpellCheck() {
      * 
* * bool disable_spell_check = 9; + * * @param value The disableSpellCheck to set. * @return This builder for chaining. */ public Builder setDisableSpellCheck(boolean value) { - + disableSpellCheck_ = value; onChanged(); return this; } /** + * + * *
      * This flag controls the spell-check feature. If false, the
      * service attempts to correct a misspelled query,
@@ -3964,17 +4350,18 @@ public Builder setDisableSpellCheck(boolean value) {
      * 
* * bool disable_spell_check = 9; + * * @return This builder for chaining. */ public Builder clearDisableSpellCheck() { - + disableSpellCheck_ = false; onChanged(); return this; } - private java.util.List employmentTypes_ = - java.util.Collections.emptyList(); + private java.util.List employmentTypes_ = java.util.Collections.emptyList(); + private void ensureEmploymentTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { employmentTypes_ = new java.util.ArrayList(employmentTypes_); @@ -3982,6 +4369,8 @@ private void ensureEmploymentTypesIsMutable() { } } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -3992,13 +4381,17 @@ private void ensureEmploymentTypesIsMutable() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ public java.util.List getEmploymentTypesList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>(employmentTypes_, employmentTypes_converter_); + java.lang.Integer, com.google.cloud.talent.v4beta1.EmploymentType>( + employmentTypes_, employmentTypes_converter_); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4009,12 +4402,15 @@ public java.util.List getEmploym
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ public int getEmploymentTypesCount() { return employmentTypes_.size(); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4025,6 +4421,7 @@ public int getEmploymentTypesCount() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ @@ -4032,6 +4429,8 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind return employmentTypes_converter_.convert(employmentTypes_.get(index)); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4042,6 +4441,7 @@ public com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int ind
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index to set the value at. * @param value The employmentTypes to set. * @return This builder for chaining. @@ -4057,6 +4457,8 @@ public Builder setEmploymentTypes( return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4067,6 +4469,7 @@ public Builder setEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param value The employmentTypes to add. * @return This builder for chaining. */ @@ -4080,6 +4483,8 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4090,6 +4495,7 @@ public Builder addEmploymentTypes(com.google.cloud.talent.v4beta1.EmploymentType
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param values The employmentTypes to add. * @return This builder for chaining. */ @@ -4103,6 +4509,8 @@ public Builder addAllEmploymentTypes( return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4113,6 +4521,7 @@ public Builder addAllEmploymentTypes(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return This builder for chaining. */ public Builder clearEmploymentTypes() { @@ -4122,6 +4531,8 @@ public Builder clearEmploymentTypes() { return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4132,13 +4543,15 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - public java.util.List - getEmploymentTypesValueList() { + public java.util.List getEmploymentTypesValueList() { return java.util.Collections.unmodifiableList(employmentTypes_); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4149,6 +4562,7 @@ public Builder clearEmploymentTypes() {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ @@ -4156,6 +4570,8 @@ public int getEmploymentTypesValue(int index) { return employmentTypes_.get(index); } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4166,18 +4582,20 @@ public int getEmploymentTypesValue(int index) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for employmentTypes to set. * @return This builder for chaining. */ - public Builder setEmploymentTypesValue( - int index, int value) { + public Builder setEmploymentTypesValue(int index, int value) { ensureEmploymentTypesIsMutable(); employmentTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4188,6 +4606,7 @@ public Builder setEmploymentTypesValue(
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param value The enum numeric value on the wire for employmentTypes to add. * @return This builder for chaining. */ @@ -4198,6 +4617,8 @@ public Builder addEmploymentTypesValue(int value) { return this; } /** + * + * *
      * The employment type filter specifies the employment type of jobs to
      * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -4208,11 +4629,11 @@ public Builder addEmploymentTypesValue(int value) {
      * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param values The enum numeric values on the wire for employmentTypes to add. * @return This builder for chaining. */ - public Builder addAllEmploymentTypesValue( - java.lang.Iterable values) { + public Builder addAllEmploymentTypesValue(java.lang.Iterable values) { ensureEmploymentTypesIsMutable(); for (int value : values) { employmentTypes_.add(value); @@ -4221,14 +4642,18 @@ public Builder addAllEmploymentTypesValue( return this; } - private com.google.protobuf.LazyStringList languageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList languageCodes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLanguageCodesIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { languageCodes_ = new com.google.protobuf.LazyStringArrayList(languageCodes_); bitField0_ |= 0x00000020; - } + } } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4241,13 +4666,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - public com.google.protobuf.ProtocolStringList - getLanguageCodesList() { + public com.google.protobuf.ProtocolStringList getLanguageCodesList() { return languageCodes_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4260,12 +4687,15 @@ private void ensureLanguageCodesIsMutable() {
      * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ public int getLanguageCodesCount() { return languageCodes_.size(); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4278,6 +4708,7 @@ public int getLanguageCodesCount() {
      * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ @@ -4285,6 +4716,8 @@ public java.lang.String getLanguageCodes(int index) { return languageCodes_.get(index); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4297,14 +4730,16 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - public com.google.protobuf.ByteString - getLanguageCodesBytes(int index) { + public com.google.protobuf.ByteString getLanguageCodesBytes(int index) { return languageCodes_.getByteString(index); } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4317,21 +4752,23 @@ public java.lang.String getLanguageCodes(int index) {
      * 
* * repeated string language_codes = 11; + * * @param index The index to set the value at. * @param value The languageCodes to set. * @return This builder for chaining. */ - public Builder setLanguageCodes( - int index, java.lang.String value) { + public Builder setLanguageCodes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4344,20 +4781,22 @@ public Builder setLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @param value The languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodes( - java.lang.String value) { + public Builder addLanguageCodes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLanguageCodesIsMutable(); + throw new NullPointerException(); + } + ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4370,18 +4809,19 @@ public Builder addLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @param values The languageCodes to add. * @return This builder for chaining. */ - public Builder addAllLanguageCodes( - java.lang.Iterable values) { + public Builder addAllLanguageCodes(java.lang.Iterable values) { ensureLanguageCodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, languageCodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, languageCodes_); onChanged(); return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4394,6 +4834,7 @@ public Builder addAllLanguageCodes(
      * 
* * repeated string language_codes = 11; + * * @return This builder for chaining. */ public Builder clearLanguageCodes() { @@ -4403,6 +4844,8 @@ public Builder clearLanguageCodes() { return this; } /** + * + * *
      * This filter specifies the locale of jobs to search against,
      * for example, "en-US".
@@ -4415,15 +4858,15 @@ public Builder clearLanguageCodes() {
      * 
* * repeated string language_codes = 11; + * * @param value The bytes of the languageCodes to add. * @return This builder for chaining. */ - public Builder addLanguageCodesBytes( - com.google.protobuf.ByteString value) { + public Builder addLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLanguageCodesIsMutable(); languageCodes_.add(value); onChanged(); @@ -4432,36 +4875,49 @@ public Builder addLanguageCodesBytes( private com.google.cloud.talent.v4beta1.TimestampRange publishTimeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> publishTimeRangeBuilder_; + com.google.cloud.talent.v4beta1.TimestampRange, + com.google.cloud.talent.v4beta1.TimestampRange.Builder, + com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> + publishTimeRangeBuilder_; /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ public boolean hasPublishTimeRange() { return publishTimeRangeBuilder_ != null || publishTimeRange_ != null; } /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
      * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ public com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange() { if (publishTimeRangeBuilder_ == null) { - return publishTimeRange_ == null ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_; + return publishTimeRange_ == null + ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() + : publishTimeRange_; } else { return publishTimeRangeBuilder_.getMessage(); } } /** + * + * *
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4483,6 +4939,8 @@ public Builder setPublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRang
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4502,6 +4960,8 @@ public Builder setPublishTimeRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4513,7 +4973,9 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRa
       if (publishTimeRangeBuilder_ == null) {
         if (publishTimeRange_ != null) {
           publishTimeRange_ =
-            com.google.cloud.talent.v4beta1.TimestampRange.newBuilder(publishTimeRange_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.TimestampRange.newBuilder(publishTimeRange_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           publishTimeRange_ = value;
         }
@@ -4525,6 +4987,8 @@ public Builder mergePublishTimeRange(com.google.cloud.talent.v4beta1.TimestampRa
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4544,6 +5008,8 @@ public Builder clearPublishTimeRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4552,11 +5018,13 @@ public Builder clearPublishTimeRange() {
      * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
      */
     public com.google.cloud.talent.v4beta1.TimestampRange.Builder getPublishTimeRangeBuilder() {
-      
+
       onChanged();
       return getPublishTimeRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4568,11 +5036,14 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
       if (publishTimeRangeBuilder_ != null) {
         return publishTimeRangeBuilder_.getMessageOrBuilder();
       } else {
-        return publishTimeRange_ == null ?
-            com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance() : publishTimeRange_;
+        return publishTimeRange_ == null
+            ? com.google.cloud.talent.v4beta1.TimestampRange.getDefaultInstance()
+            : publishTimeRange_;
       }
     }
     /**
+     *
+     *
      * 
      * Jobs published within a range specified by this filter are searched
      * against.
@@ -4581,58 +5052,71 @@ public com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRan
      * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder> 
+            com.google.cloud.talent.v4beta1.TimestampRange,
+            com.google.cloud.talent.v4beta1.TimestampRange.Builder,
+            com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>
         getPublishTimeRangeFieldBuilder() {
       if (publishTimeRangeBuilder_ == null) {
-        publishTimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.TimestampRange, com.google.cloud.talent.v4beta1.TimestampRange.Builder, com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>(
-                getPublishTimeRange(),
-                getParentForChildren(),
-                isClean());
+        publishTimeRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.TimestampRange,
+                com.google.cloud.talent.v4beta1.TimestampRange.Builder,
+                com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder>(
+                getPublishTimeRange(), getParentForChildren(), isClean());
         publishTimeRange_ = null;
       }
       return publishTimeRangeBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList excludedJobs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList excludedJobs_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureExcludedJobsIsMutable() {
       if (!((bitField0_ & 0x00000040) != 0)) {
         excludedJobs_ = new com.google.protobuf.LazyStringArrayList(excludedJobs_);
         bitField0_ |= 0x00000040;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - public com.google.protobuf.ProtocolStringList - getExcludedJobsList() { + public com.google.protobuf.ProtocolStringList getExcludedJobsList() { return excludedJobs_.getUnmodifiableView(); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ public int getExcludedJobsCount() { return excludedJobs_.size(); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ @@ -4640,85 +5124,95 @@ public java.lang.String getExcludedJobs(int index) { return excludedJobs_.get(index); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - public com.google.protobuf.ByteString - getExcludedJobsBytes(int index) { + public com.google.protobuf.ByteString getExcludedJobsBytes(int index) { return excludedJobs_.getByteString(index); } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param index The index to set the value at. * @param value The excludedJobs to set. * @return This builder for chaining. */ - public Builder setExcludedJobs( - int index, java.lang.String value) { + public Builder setExcludedJobs(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.set(index, value); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param value The excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobs( - java.lang.String value) { + public Builder addExcludedJobs(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureExcludedJobsIsMutable(); + throw new NullPointerException(); + } + ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param values The excludedJobs to add. * @return This builder for chaining. */ - public Builder addAllExcludedJobs( - java.lang.Iterable values) { + public Builder addAllExcludedJobs(java.lang.Iterable values) { ensureExcludedJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludedJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedJobs_); onChanged(); return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @return This builder for chaining. */ public Builder clearExcludedJobs() { @@ -4728,29 +5222,31 @@ public Builder clearExcludedJobs() { return this; } /** + * + * *
      * This filter specifies a list of job names to be excluded during search.
      * At most 400 excluded job names are allowed.
      * 
* * repeated string excluded_jobs = 13; + * * @param value The bytes of the excludedJobs to add. * @return This builder for chaining. */ - public Builder addExcludedJobsBytes( - com.google.protobuf.ByteString value) { + public Builder addExcludedJobsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureExcludedJobsIsMutable(); excludedJobs_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4760,12 +5256,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.JobQuery) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.JobQuery) private static final com.google.cloud.talent.v4beta1.JobQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.JobQuery(); } @@ -4774,27 +5270,27 @@ public static com.google.cloud.talent.v4beta1.JobQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JobQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JobQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4809,6 +5305,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.JobQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java similarity index 93% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java index 3e418b3128a9..2036ea0028aa 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobQueryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface JobQueryOrBuilder extends +public interface JobQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.JobQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -15,10 +33,13 @@ public interface JobQueryOrBuilder extends
    * 
* * string query = 1; + * * @return The query. */ java.lang.String getQuery(); /** + * + * *
    * The query string that matches against the job title, description, and
    * location fields.
@@ -26,12 +47,14 @@ public interface JobQueryOrBuilder extends
    * 
* * string query = 1; + * * @return The bytes for query. */ - com.google.protobuf.ByteString - getQueryBytes(); + com.google.protobuf.ByteString getQueryBytes(); /** + * + * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -43,10 +66,13 @@ public interface JobQueryOrBuilder extends
    * 
* * string query_language_code = 14; + * * @return The queryLanguageCode. */ java.lang.String getQueryLanguageCode(); /** + * + * *
    * The language code of [query][google.cloud.talent.v4beta1.JobQuery.query]. For example, "en-US". This field helps to
    * better interpret the query.
@@ -58,12 +84,14 @@ public interface JobQueryOrBuilder extends
    * 
* * string query_language_code = 14; + * * @return The bytes for queryLanguageCode. */ - com.google.protobuf.ByteString - getQueryLanguageCodeBytes(); + com.google.protobuf.ByteString getQueryLanguageCodeBytes(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -79,11 +107,13 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @return A list containing the companies. */ - java.util.List - getCompaniesList(); + java.util.List getCompaniesList(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -99,10 +129,13 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @return The count of companies. */ int getCompaniesCount(); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -118,11 +151,14 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @param index The index of the element to return. * @return The companies at the given index. */ java.lang.String getCompanies(int index); /** + * + * *
    * This filter specifies the company entities to search against.
    * If a value isn't specified, jobs are searched for against all
@@ -138,13 +174,15 @@ public interface JobQueryOrBuilder extends
    * 
* * repeated string companies = 2; + * * @param index The index of the value to return. * @return The bytes of the companies at the given index. */ - com.google.protobuf.ByteString - getCompaniesBytes(int index); + com.google.protobuf.ByteString getCompaniesBytes(int index); /** + * + * *
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -159,9 +197,10 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  java.util.List 
-      getLocationFiltersList();
+  java.util.List getLocationFiltersList();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -178,6 +217,8 @@ public interface JobQueryOrBuilder extends
    */
   com.google.cloud.talent.v4beta1.LocationFilter getLocationFilters(int index);
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -194,6 +235,8 @@ public interface JobQueryOrBuilder extends
    */
   int getLocationFiltersCount();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -208,9 +251,11 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  java.util.List 
+  java.util.List
       getLocationFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The location filter specifies geo-regions containing the jobs to
    * search against. See [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] for more information.
@@ -225,10 +270,11 @@ public interface JobQueryOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.LocationFilter location_filters = 3;
    */
-  com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(
-      int index);
+  com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -238,10 +284,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the jobCategories. */ java.util.List getJobCategoriesList(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -251,10 +300,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return The count of jobCategories. */ int getJobCategoriesCount(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -264,11 +316,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the element to return. * @return The jobCategories at the given index. */ com.google.cloud.talent.v4beta1.JobCategory getJobCategories(int index); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -278,11 +333,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @return A list containing the enum numeric values on the wire for jobCategories. */ - java.util.List - getJobCategoriesValueList(); + java.util.List getJobCategoriesValueList(); /** + * + * *
    * The category filter specifies the categories of jobs to search against.
    * See [JobCategory][google.cloud.talent.v4beta1.JobCategory] for more information.
@@ -292,12 +349,15 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.JobCategory job_categories = 4; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of jobCategories at the given index. */ int getJobCategoriesValue(int index); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -307,10 +367,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return Whether the commuteFilter field is set. */ boolean hasCommuteFilter(); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -320,10 +383,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * .google.cloud.talent.v4beta1.CommuteFilter commute_filter = 5; + * * @return The commuteFilter. */ com.google.cloud.talent.v4beta1.CommuteFilter getCommuteFilter(); /** + * + * *
    * Allows filtering jobs by commute time with different travel methods (for
    *  example, driving or public transit).
@@ -337,6 +403,8 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
   com.google.cloud.talent.v4beta1.CommuteFilterOrBuilder getCommuteFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -360,11 +428,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string company_display_names = 6; + * * @return A list containing the companyDisplayNames. */ - java.util.List - getCompanyDisplayNamesList(); + java.util.List getCompanyDisplayNamesList(); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -388,10 +458,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string company_display_names = 6; + * * @return The count of companyDisplayNames. */ int getCompanyDisplayNamesCount(); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -415,11 +488,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the element to return. * @return The companyDisplayNames at the given index. */ java.lang.String getCompanyDisplayNames(int index); /** + * + * *
    * This filter specifies the company [Company.display_name][google.cloud.talent.v4beta1.Company.display_name]
    * of the jobs to search against. The company name must match the value
@@ -443,13 +519,15 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string company_display_names = 6; + * * @param index The index of the value to return. * @return The bytes of the companyDisplayNames at the given index. */ - com.google.protobuf.ByteString - getCompanyDisplayNamesBytes(int index); + com.google.protobuf.ByteString getCompanyDisplayNamesBytes(int index); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -459,10 +537,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return Whether the compensationFilter field is set. */ boolean hasCompensationFilter(); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -472,10 +553,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * .google.cloud.talent.v4beta1.CompensationFilter compensation_filter = 7; + * * @return The compensationFilter. */ com.google.cloud.talent.v4beta1.CompensationFilter getCompensationFilter(); /** + * + * *
    * This search filter is applied only to
    * [Job.compensation_info][google.cloud.talent.v4beta1.Job.compensation_info]. For example, if the filter is specified
@@ -489,6 +573,8 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
   com.google.cloud.talent.v4beta1.CompensationFilterOrBuilder getCompensationFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -510,10 +596,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * string custom_attribute_filter = 8; + * * @return The customAttributeFilter. */ java.lang.String getCustomAttributeFilter(); /** + * + * *
    * This filter specifies a structured syntax to match against the
    * [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] marked as `filterable`.
@@ -535,12 +624,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * string custom_attribute_filter = 8; + * * @return The bytes for customAttributeFilter. */ - com.google.protobuf.ByteString - getCustomAttributeFilterBytes(); + com.google.protobuf.ByteString getCustomAttributeFilterBytes(); /** + * + * *
    * This flag controls the spell-check feature. If false, the
    * service attempts to correct a misspelled query,
@@ -549,11 +640,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * bool disable_spell_check = 9; + * * @return The disableSpellCheck. */ boolean getDisableSpellCheck(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -564,10 +658,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the employmentTypes. */ java.util.List getEmploymentTypesList(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -578,10 +675,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return The count of employmentTypes. */ int getEmploymentTypesCount(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -592,11 +692,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the element to return. * @return The employmentTypes at the given index. */ com.google.cloud.talent.v4beta1.EmploymentType getEmploymentTypes(int index); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -607,11 +710,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @return A list containing the enum numeric values on the wire for employmentTypes. */ - java.util.List - getEmploymentTypesValueList(); + java.util.List getEmploymentTypesValueList(); /** + * + * *
    * The employment type filter specifies the employment type of jobs to
    * search against, such as [EmploymentType.FULL_TIME][google.cloud.talent.v4beta1.EmploymentType.FULL_TIME].
@@ -622,12 +727,15 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated .google.cloud.talent.v4beta1.EmploymentType employment_types = 10; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of employmentTypes at the given index. */ int getEmploymentTypesValue(int index); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -640,11 +748,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string language_codes = 11; + * * @return A list containing the languageCodes. */ - java.util.List - getLanguageCodesList(); + java.util.List getLanguageCodesList(); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -657,10 +767,13 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string language_codes = 11; + * * @return The count of languageCodes. */ int getLanguageCodesCount(); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -673,11 +786,14 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string language_codes = 11; + * * @param index The index of the element to return. * @return The languageCodes at the given index. */ java.lang.String getLanguageCodes(int index); /** + * + * *
    * This filter specifies the locale of jobs to search against,
    * for example, "en-US".
@@ -690,33 +806,41 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
    * 
* * repeated string language_codes = 11; + * * @param index The index of the value to return. * @return The bytes of the languageCodes at the given index. */ - com.google.protobuf.ByteString - getLanguageCodesBytes(int index); + com.google.protobuf.ByteString getLanguageCodesBytes(int index); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return Whether the publishTimeRange field is set. */ boolean hasPublishTimeRange(); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
    * 
* * .google.cloud.talent.v4beta1.TimestampRange publish_time_range = 12; + * * @return The publishTimeRange. */ com.google.cloud.talent.v4beta1.TimestampRange getPublishTimeRange(); /** + * + * *
    * Jobs published within a range specified by this filter are searched
    * against.
@@ -727,47 +851,57 @@ com.google.cloud.talent.v4beta1.LocationFilterOrBuilder getLocationFiltersOrBuil
   com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder getPublishTimeRangeOrBuilder();
 
   /**
+   *
+   *
    * 
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return A list containing the excludedJobs. */ - java.util.List - getExcludedJobsList(); + java.util.List getExcludedJobsList(); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @return The count of excludedJobs. */ int getExcludedJobsCount(); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the element to return. * @return The excludedJobs at the given index. */ java.lang.String getExcludedJobs(int index); /** + * + * *
    * This filter specifies a list of job names to be excluded during search.
    * At most 400 excluded job names are allowed.
    * 
* * repeated string excluded_jobs = 13; + * * @param index The index of the value to return. * @return The bytes of the excludedJobs at the given index. */ - com.google.protobuf.ByteString - getExcludedJobsBytes(int index); + com.google.protobuf.ByteString getExcludedJobsBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java new file mode 100644 index 000000000000..8985ac656fd0 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java @@ -0,0 +1,211 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job.proto + +package com.google.cloud.talent.v4beta1; + +public final class JobResourceProto { + private JobResourceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n%google/cloud/talent/v4beta1/job.proto\022" + + "\033google.cloud.talent.v4beta1\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032(google/cloud/talent/v4beta1/co" + + "mmon.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\340\017\n\003Job\022\014\n\004name\030\001 \001(\t\0224\n\007company\030\002 \001" + + "(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Company\022" + + "\033\n\016requisition_id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 " + + "\001(\tB\003\340A\002\022\030\n\013description\030\005 \001(\tB\003\340A\002\022\021\n\tad" + + "dresses\030\006 \003(\t\022J\n\020application_info\030\007 \001(\0132" + + "0.google.cloud.talent.v4beta1.Job.Applic" + + "ationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.google" + + ".cloud.talent.v4beta1.JobBenefit\022H\n\021comp" + + "ensation_info\030\t \001(\0132-.google.cloud.talen" + + "t.v4beta1.CompensationInfo\022Q\n\021custom_att" + + "ributes\030\n \003(\01326.google.cloud.talent.v4be" + + "ta1.Job.CustomAttributesEntry\022=\n\014degree_" + + "types\030\013 \003(\0162\'.google.cloud.talent.v4beta" + + "1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020empl" + + "oyment_types\030\r \003(\0162+.google.cloud.talent" + + ".v4beta1.EmploymentType\022\022\n\nincentives\030\016 " + + "\001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_level\030" + + "\020 \001(\0162%.google.cloud.talent.v4beta1.JobL" + + "evel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qualifi" + + "cations\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022" + + "B\n\016posting_region\030\024 \001(\0162*.google.cloud.t" + + "alent.v4beta1.PostingRegion\022?\n\nvisibilit" + + "y\030\025 \001(\0162\'.google.cloud.talent.v4beta1.Vi" + + "sibilityB\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\0220\n\014job_end_time" + + "\030\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024po" + + "sting_publish_time\030\030 \001(\0132\032.google.protob" + + "uf.Timestamp\0227\n\023posting_expire_time\030\031 \001(" + + "\0132\032.google.protobuf.Timestamp\022<\n\023posting" + + "_create_time\030\032 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\022<\n\023posting_update_time\030\033 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022!\n\024com" + + "pany_display_name\030\034 \001(\tB\003\340A\003\022G\n\014derived_" + + "info\030\035 \001(\0132,.google.cloud.talent.v4beta1" + + ".Job.DerivedInfoB\003\340A\003\022N\n\022processing_opti" + + "ons\030\036 \001(\01322.google.cloud.talent.v4beta1." + + "Job.ProcessingOptions\032D\n\017ApplicationInfo" + + "\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 \001(\t\022\014\n" + + "\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tlocations" + + "\030\001 \003(\0132%.google.cloud.talent.v4beta1.Loc" + + "ation\022@\n\016job_categories\030\003 \003(\0162(.google.c" + + "loud.talent.v4beta1.JobCategory\032\210\001\n\021Proc" + + "essingOptions\022)\n!disable_street_address_" + + "resolution\030\001 \001(\010\022H\n\021html_sanitization\030\002 " + + "\001(\0162-.google.cloud.talent.v4beta1.HtmlSa" + + "nitization\032e\n\025CustomAttributesEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.t" + + "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" + + "jobs.googleapis.com/Job\022.projects/{proje" + + "ct}/tenants/{tenant}/jobs/{job}\022\035project" + + "s/{project}/jobs/{job}B~\n\037com.google.clo" + + "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" + + "oogle.golang.org/genproto/googleapis/clo" + + "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Job_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_descriptor, + new java.lang.String[] { + "Name", + "Company", + "RequisitionId", + "Title", + "Description", + "Addresses", + "ApplicationInfo", + "JobBenefits", + "CompensationInfo", + "CustomAttributes", + "DegreeTypes", + "Department", + "EmploymentTypes", + "Incentives", + "LanguageCode", + "JobLevel", + "PromotionValue", + "Qualifications", + "Responsibilities", + "PostingRegion", + "Visibility", + "JobStartTime", + "JobEndTime", + "PostingPublishTime", + "PostingExpireTime", + "PostingCreateTime", + "PostingUpdateTime", + "CompanyDisplayName", + "DerivedInfo", + "ProcessingOptions", + }); + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor, + new java.lang.String[] { + "Emails", "Instruction", "Uris", + }); + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor, + new java.lang.String[] { + "Locations", "JobCategories", + }); + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor, + new java.lang.String[] { + "DisableStreetAddressResolution", "HtmlSanitization", + }); + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor = + internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java new file mode 100644 index 000000000000..e513814b921c --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java @@ -0,0 +1,479 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/job_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class JobServiceProto { + private JobServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/talent/v4beta1/job_servic" + + "e.proto\022\033google.cloud.talent.v4beta1\032\034go" + + "ogle/api/annotations.proto\032\027google/api/c" + + "lient.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032(google/" + + "cloud/talent/v4beta1/common.proto\032)googl" + + "e/cloud/talent/v4beta1/filters.proto\032+go" + + "ogle/cloud/talent/v4beta1/histogram.prot" + + "o\032%google/cloud/talent/v4beta1/job.proto" + + "\032#google/longrunning/operations.proto\032\036g" + + "oogle/protobuf/duration.proto\032\033google/pr" + + "otobuf/empty.proto\032 google/protobuf/fiel" + + "d_mask.proto\032\027google/rpc/status.proto\"w\n" + + "\020CreateJobRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A" + + "\031\022\027jobs.googleapis.com/Job\0222\n\003job\030\002 \001(\0132" + + " .google.cloud.talent.v4beta1.JobB\003\340A\002\">" + + "\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027j" + + "obs.googleapis.com/Job\"w\n\020UpdateJobReque" + + "st\0222\n\003job\030\001 \001(\0132 .google.cloud.talent.v4" + + "beta1.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" + + "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" + + "is.com/Job\"^\n\026BatchDeleteJobsRequest\022/\n\006" + + "parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.co" + + "m/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\"\266\001\n\017ListJobsR" + + "equest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.goo" + + "gleapis.com/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\n" + + "page_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010j" + + "ob_view\030\005 \001(\0162$.google.cloud.talent.v4be" + + "ta1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs" + + "\030\001 \003(\0132 .google.cloud.talent.v4beta1.Job" + + "\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 " + + "\001(\0132-.google.cloud.talent.v4beta1.Respon" + + "seMetadata\"\273\013\n\021SearchJobsRequest\022/\n\006pare" + + "nt\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Jo" + + "b\022N\n\013search_mode\030\002 \001(\01629.google.cloud.ta" + + "lent.v4beta1.SearchJobsRequest.SearchMod" + + "e\022K\n\020request_metadata\030\003 \001(\0132,.google.clo" + + "ud.talent.v4beta1.RequestMetadataB\003\340A\002\0228" + + "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." + + "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " + + "\001(\010\022\'\n\033require_precise_result_size\030\006 \001(\010" + + "B\002\030\001\022F\n\021histogram_queries\030\007 \003(\0132+.google" + + ".cloud.talent.v4beta1.HistogramQuery\0226\n\010" + + "job_view\030\010 \001(\0162$.google.cloud.talent.v4b" + + "eta1.JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_siz" + + "e\030\n \001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030" + + "\014 \001(\t\022b\n\025diversification_level\030\r \001(\0162C.g" + + "oogle.cloud.talent.v4beta1.SearchJobsReq" + + "uest.DiversificationLevel\022]\n\023custom_rank" + + "ing_info\030\016 \001(\0132@.google.cloud.talent.v4b" + + "eta1.SearchJobsRequest.CustomRankingInfo" + + "\022\035\n\025disable_keyword_match\030\020 \001(\010\022[\n\022keywo" + + "rd_match_mode\030\022 \001(\0162?.google.cloud.talen" + + "t.v4beta1.SearchJobsRequest.KeywordMatch" + + "Mode\032\232\002\n\021CustomRankingInfo\022o\n\020importance" + + "_level\030\001 \001(\0162P.google.cloud.talent.v4bet" + + "a1.SearchJobsRequest.CustomRankingInfo.I" + + "mportanceLevelB\003\340A\002\022\037\n\022ranking_expressio" + + "n\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLevel\022 \n\034IMPOR" + + "TANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003L" + + "OW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007" + + "EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SEARCH_MODE_U" + + "NSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED" + + "_JOB_SEARCH\020\002\"W\n\024DiversificationLevel\022%\n" + + "!DIVERSIFICATION_LEVEL_UNSPECIFIED\020\000\022\014\n\010" + + "DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\207\001\n\020KeywordMatchM" + + "ode\022\"\n\036KEYWORD_MATCH_MODE_UNSPECIFIED\020\000\022" + + "\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n\021KEYWORD_M" + + "ATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TITLE_ONLY\020\003" + + "\"\327\006\n\022SearchJobsResponse\022R\n\rmatching_jobs" + + "\030\001 \003(\0132;.google.cloud.talent.v4beta1.Sea" + + "rchJobsResponse.MatchingJob\022R\n\027histogram" + + "_query_results\030\002 \003(\01321.google.cloud.tale" + + "nt.v4beta1.HistogramQueryResult\022\027\n\017next_" + + "page_token\030\003 \001(\t\022?\n\020location_filters\030\004 \003" + + "(\0132%.google.cloud.talent.v4beta1.Locatio" + + "n\022\034\n\024estimated_total_size\030\005 \001(\005\022\022\n\ntotal" + + "_size\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.c" + + "loud.talent.v4beta1.ResponseMetadata\022\"\n\032" + + "broadened_query_jobs_count\030\010 \001(\005\022I\n\020spel" + + "l_correction\030\t \001(\0132/.google.cloud.talent" + + ".v4beta1.SpellingCorrection\032\334\001\n\013Matching" + + "Job\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v" + + "4beta1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_t" + + "itle_snippet\030\003 \001(\t\022\033\n\023search_text_snippe" + + "t\030\004 \001(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.c" + + "loud.talent.v4beta1.SearchJobsResponse.C" + + "ommuteInfo\032~\n\013CommuteInfo\022;\n\014job_locatio" + + "n\030\001 \001(\0132%.google.cloud.talent.v4beta1.Lo" + + "cation\0222\n\017travel_duration\030\002 \001(\0132\031.google" + + ".protobuf.Duration\"~\n\026BatchCreateJobsReq" + + "uest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googl" + + "eapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .google.clo" + + "ud.talent.v4beta1.JobB\003\340A\002\"\257\001\n\026BatchUpda" + + "teJobsRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027j" + + "obs.googleapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .g" + + "oogle.cloud.talent.v4beta1.JobB\003\340A\002\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "Mask\"\304\001\n\022JobOperationResult\022N\n\013job_resul" + + "ts\030\001 \003(\01329.google.cloud.talent.v4beta1.J" + + "obOperationResult.JobResult\032^\n\tJobResult" + + "\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v4be" + + "ta1.Job\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + + "tus*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" + + "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" + + "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" + + "L\020\0042\316\022\n\nJobService\022\311\001\n\tCreateJob\022-.googl" + + "e.cloud.talent.v4beta1.CreateJobRequest\032" + + " .google.cloud.talent.v4beta1.Job\"k\202\323\344\223\002" + + "X\"+/v4beta1/{parent=projects/*/tenants/*" + + "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" + + "}/jobs:\001*\332A\nparent,job\022\233\002\n\017BatchCreateJo" + + "bs\0223.google.cloud.talent.v4beta1.BatchCr" + + "eateJobsRequest\032\035.google.longrunning.Ope" + + "ration\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projec" + + "ts/*/tenants/*}/jobs:batchCreate:\001*Z2\"-/" + + "v4beta1/{parent=projects/*}/jobs:batchCr" + + "eate:\001*\332A\013parent,jobs\312A,\n\022JobOperationRe" + + "sult\022\026BatchOperationMetadata\022\267\001\n\006GetJob\022" + + "*.google.cloud.talent.v4beta1.GetJobRequ" + + "est\032 .google.cloud.talent.v4beta1.Job\"_\202" + + "\323\344\223\002R\022+/v4beta1/{name=projects/*/tenants" + + "/*/jobs/*}Z#\022!/v4beta1/{name=projects/*/" + + "jobs/*}\332A\004name\022\312\001\n\tUpdateJob\022-.google.cl" + + "oud.talent.v4beta1.UpdateJobRequest\032 .go" + + "ogle.cloud.talent.v4beta1.Job\"l\202\323\344\223\002`2//" + + "v4beta1/{job.name=projects/*/tenants/*/j" + + "obs/*}:\001*Z*2%/v4beta1/{job.name=projects" + + "/*/jobs/*}:\001*\332A\003job\022\233\002\n\017BatchUpdateJobs\022" + + "3.google.cloud.talent.v4beta1.BatchUpdat" + + "eJobsRequest\032\035.google.longrunning.Operat" + + "ion\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projects/" + + "*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/v4b" + + "eta1/{parent=projects/*}/jobs:batchUpdat" + + "e:\001*\332A\013parent,jobs\312A,\n\022JobOperationResul" + + "t\022\026BatchOperationMetadata\022\263\001\n\tDeleteJob\022" + + "-.google.cloud.talent.v4beta1.DeleteJobR" + + "equest\032\026.google.protobuf.Empty\"_\202\323\344\223\002R*+" + + "/v4beta1/{name=projects/*/tenants/*/jobs" + + "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}" + + "\332A\004name\022\344\001\n\017BatchDeleteJobs\0223.google.clo" + + "ud.talent.v4beta1.BatchDeleteJobsRequest" + + "\032\026.google.protobuf.Empty\"\203\001\202\323\344\223\002m\"7/v4be" + + "ta1/{parent=projects/*/tenants/*}/jobs:b" + + "atchDelete:\001*Z/\"-/v4beta1/{parent=projec" + + "ts/*}/jobs:batchDelete\332A\rparent,filter\022\321" + + "\001\n\010ListJobs\022,.google.cloud.talent.v4beta" + + "1.ListJobsRequest\032-.google.cloud.talent." + + "v4beta1.ListJobsResponse\"h\202\323\344\223\002R\022+/v4bet" + + "a1/{parent=projects/*/tenants/*}/jobsZ#\022" + + "!/v4beta1/{parent=projects/*}/jobs\332A\rpar" + + "ent,filter\022\333\001\n\nSearchJobs\022..google.cloud" + + ".talent.v4beta1.SearchJobsRequest\032/.goog" + + "le.cloud.talent.v4beta1.SearchJobsRespon" + + "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/" + + "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p" + + "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea" + + "rchJobsForAlert\022..google.cloud.talent.v4" + + "beta1.SearchJobsRequest\032/.google.cloud.t" + + "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v" + + "\":/v4beta1/{parent=projects/*/tenants/*}" + + "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par" + + "ent=projects/*}/jobs:searchForAlert:\001*\032l" + + "\312A\023jobs.googleapis.com\322AShttps://www.goo" + + "gleapis.com/auth/cloud-platform,https://" + + "www.googleapis.com/auth/jobsB}\n\037com.goog" + + "le.cloud.talent.v4beta1B\017JobServiceProto" + + "P\001ZAgoogle.golang.org/genproto/googleapi" + + "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), + com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor, + new java.lang.String[] { + "Parent", "Job", + }); + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor, + new java.lang.String[] { + "Job", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", + }); + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageToken", "PageSize", "JobView", + }); + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor, + new java.lang.String[] { + "Jobs", "NextPageToken", "Metadata", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor, + new java.lang.String[] { + "Parent", + "SearchMode", + "RequestMetadata", + "JobQuery", + "EnableBroadening", + "RequirePreciseResultSize", + "HistogramQueries", + "JobView", + "Offset", + "PageSize", + "PageToken", + "OrderBy", + "DiversificationLevel", + "CustomRankingInfo", + "DisableKeywordMatch", + "KeywordMatchMode", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor, + new java.lang.String[] { + "ImportanceLevel", "RankingExpression", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor, + new java.lang.String[] { + "MatchingJobs", + "HistogramQueryResults", + "NextPageToken", + "LocationFilters", + "EstimatedTotalSize", + "TotalSize", + "Metadata", + "BroadenedQueryJobsCount", + "SpellCorrection", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor, + new java.lang.String[] { + "Job", "JobSummary", "JobTitleSnippet", "SearchTextSnippet", "CommuteInfo", + }); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor = + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor, + new java.lang.String[] { + "JobLocation", "TravelDuration", + }); + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Jobs", + }); + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "Jobs", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor, + new java.lang.String[] { + "JobResults", + }); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor = + internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor, + new java.lang.String[] { + "Job", "Status", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); + com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); + com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java similarity index 79% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java index 7d4adaa7b35e..93c93013c8cf 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that specifies the job attributes that are returned in the
  * [MatchingJob.job][google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.job] or
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.JobView}
  */
-public enum JobView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum JobView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -23,6 +41,8 @@ public enum JobView */ JOB_VIEW_UNSPECIFIED(0), /** + * + * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
@@ -32,6 +52,8 @@ public enum JobView
    */
   JOB_VIEW_ID_ONLY(1),
   /**
+   *
+   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -42,6 +64,8 @@ public enum JobView
    */
   JOB_VIEW_MINIMAL(2),
   /**
+   *
+   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -53,6 +77,8 @@ public enum JobView
    */
   JOB_VIEW_SMALL(3),
   /**
+   *
+   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -64,6 +90,8 @@ public enum JobView ; /** + * + * *
    * Default value.
    * 
@@ -72,6 +100,8 @@ public enum JobView */ public static final int JOB_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A ID only view of job, with following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.language_code][google.cloud.talent.v4beta1.Job.language_code].
@@ -81,6 +111,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_ID_ONLY_VALUE = 1;
   /**
+   *
+   *
    * 
    * A minimal view of the job, with the following attributes:
    * [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -91,6 +123,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_MINIMAL_VALUE = 2;
   /**
+   *
+   *
    * 
    * A small view of the job, with the following attributes in the search
    * results: [Job.name][google.cloud.talent.v4beta1.Job.name], [Job.requisition_id][google.cloud.talent.v4beta1.Job.requisition_id], [Job.title][google.cloud.talent.v4beta1.Job.title],
@@ -102,6 +136,8 @@ public enum JobView
    */
   public static final int JOB_VIEW_SMALL_VALUE = 3;
   /**
+   *
+   *
    * 
    * All available attributes are included in the search results.
    * 
@@ -110,7 +146,6 @@ public enum JobView */ public static final int JOB_VIEW_FULL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,51 +170,53 @@ public static JobView valueOf(int value) { */ public static JobView forNumber(int value) { switch (value) { - case 0: return JOB_VIEW_UNSPECIFIED; - case 1: return JOB_VIEW_ID_ONLY; - case 2: return JOB_VIEW_MINIMAL; - case 3: return JOB_VIEW_SMALL; - case 4: return JOB_VIEW_FULL; - default: return null; + case 0: + return JOB_VIEW_UNSPECIFIED; + case 1: + return JOB_VIEW_ID_ONLY; + case 2: + return JOB_VIEW_MINIMAL; + case 3: + return JOB_VIEW_SMALL; + case 4: + return JOB_VIEW_FULL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - JobView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JobView findValueByNumber(int number) { - return JobView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JobView findValueByNumber(int number) { + return JobView.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor().getEnumTypes().get(0); } private static final JobView[] VALUES = values(); - public static JobView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static JobView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -195,4 +232,3 @@ private JobView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.JobView) } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java similarity index 69% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java index 0eb47dabb17a..832939b0ca63 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * List companies for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesRequest} */ -public final class ListCompaniesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompaniesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListCompaniesRequest) ListCompaniesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompaniesRequest.newBuilder() to construct. private ListCompaniesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompaniesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,32 +44,35 @@ private ListCompaniesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompaniesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, + com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -85,17 +110,18 @@ public java.lang.String getParent() {
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,11 +132,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -119,29 +148,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -152,12 +181,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -168,6 +200,8 @@ public int getPageSize() { public static final int REQUIRE_OPEN_JOBS_FIELD_NUMBER = 4; private boolean requireOpenJobs_; /** + * + * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -176,6 +210,7 @@ public int getPageSize() {
    * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ @java.lang.Override @@ -184,6 +219,7 @@ public boolean getRequireOpenJobs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,8 +231,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,12 +260,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (requireOpenJobs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, requireOpenJobs_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, requireOpenJobs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -240,21 +273,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListCompaniesRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListCompaniesRequest other = (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; + com.google.cloud.talent.v4beta1.ListCompaniesRequest other = + (com.google.cloud.talent.v4beta1.ListCompaniesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (getRequireOpenJobs() - != other.getRequireOpenJobs()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (getRequireOpenJobs() != other.getRequireOpenJobs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,137 +303,142 @@ public int hashCode() { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPageSize(); hash = (37 * hash) + REQUIRE_OPEN_JOBS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequireOpenJobs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireOpenJobs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListCompaniesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListCompaniesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List companies for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListCompaniesRequest) com.google.cloud.talent.v4beta1.ListCompaniesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, + com.google.cloud.talent.v4beta1.ListCompaniesRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListCompaniesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; } @java.lang.Override @@ -440,7 +475,8 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListCompaniesRequest result = new com.google.cloud.talent.v4beta1.ListCompaniesRequest(this); + com.google.cloud.talent.v4beta1.ListCompaniesRequest result = + new com.google.cloud.talent.v4beta1.ListCompaniesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -453,38 +489,39 @@ public com.google.cloud.talent.v4beta1.ListCompaniesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListCompaniesRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesRequest) other); } else { super.mergeFrom(other); return this; @@ -492,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -533,32 +571,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); - break; - } // case 24 - case 32: { - requireOpenJobs_ = input.readBool(); + break; + } // case 24 + case 32: + { + requireOpenJobs_ = input.readBool(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,6 +614,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -579,14 +624,16 @@ public Builder mergeFrom(
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -595,6 +642,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -603,16 +652,17 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -620,6 +670,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -628,21 +680,25 @@ public java.lang.String getParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -651,16 +707,21 @@ public Builder setParent(
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the tenant under which the company is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -669,17 +730,19 @@ public Builder clearParent() {
      * example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -687,18 +750,20 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -707,20 +772,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -728,67 +794,77 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -796,39 +872,47 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of companies to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } - private boolean requireOpenJobs_ ; + private boolean requireOpenJobs_; /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -837,6 +921,7 @@ public Builder clearPageSize() {
      * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ @java.lang.Override @@ -844,6 +929,8 @@ public boolean getRequireOpenJobs() { return requireOpenJobs_; } /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -852,16 +939,19 @@ public boolean getRequireOpenJobs() {
      * 
* * bool require_open_jobs = 4; + * * @param value The requireOpenJobs to set. * @return This builder for chaining. */ public Builder setRequireOpenJobs(boolean value) { - + requireOpenJobs_ = value; onChanged(); return this; } /** + * + * *
      * Set to true if the companies requested must have open jobs.
      * Defaults to false.
@@ -870,17 +960,18 @@ public Builder setRequireOpenJobs(boolean value) {
      * 
* * bool require_open_jobs = 4; + * * @return This builder for chaining. */ public Builder clearRequireOpenJobs() { - + requireOpenJobs_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -890,12 +981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListCompaniesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesRequest) private static final com.google.cloud.talent.v4beta1.ListCompaniesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListCompaniesRequest(); } @@ -904,27 +995,27 @@ public static com.google.cloud.talent.v4beta1.ListCompaniesRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompaniesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompaniesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -939,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListCompaniesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java index 43ab2850f2ca..096d1bbaa8ff 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; -public interface ListCompaniesRequestOrBuilder extends +public interface ListCompaniesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListCompaniesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -16,11 +34,16 @@ public interface ListCompaniesRequestOrBuilder extends
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the tenant under which the company is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
@@ -29,44 +52,56 @@ public interface ListCompaniesRequestOrBuilder extends
    * example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of companies to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Set to true if the companies requested must have open jobs.
    * Defaults to false.
@@ -75,6 +110,7 @@ public interface ListCompaniesRequestOrBuilder extends
    * 
* * bool require_open_jobs = 4; + * * @return The requireOpenJobs. */ boolean getRequireOpenJobs(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java similarity index 72% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java index edcee578f028..26c3309e8620 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The List companies response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesResponse} */ -public final class ListCompaniesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompaniesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListCompaniesResponse) ListCompaniesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompaniesResponse.newBuilder() to construct. private ListCompaniesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompaniesResponse() { companies_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListCompaniesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompaniesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, + com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); } public static final int COMPANIES_FIELD_NUMBER = 1; private java.util.List companies_; /** + * + * *
    * Companies for the current client.
    * 
@@ -63,6 +84,8 @@ public java.util.List getCompaniesList( return companies_; } /** + * + * *
    * Companies for the current client.
    * 
@@ -70,11 +93,13 @@ public java.util.List getCompaniesList( * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompaniesOrBuilderList() { return companies_; } /** + * + * *
    * Companies for the current client.
    * 
@@ -86,6 +111,8 @@ public int getCompaniesCount() { return companies_.size(); } /** + * + * *
    * Companies for the current client.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { return companies_.get(index); } /** + * + * *
    * Companies for the current client.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index) { return companies_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -158,12 +189,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -171,19 +205,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -197,6 +238,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,8 +250,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < companies_.size(); i++) {
       output.writeMessage(1, companies_.get(i));
     }
@@ -229,15 +270,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < companies_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, companies_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, companies_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,21 +286,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListCompaniesResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListCompaniesResponse other = (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj;
+    com.google.cloud.talent.v4beta1.ListCompaniesResponse other =
+        (com.google.cloud.talent.v4beta1.ListCompaniesResponse) obj;
 
-    if (!getCompaniesList()
-        .equals(other.getCompaniesList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getCompaniesList().equals(other.getCompaniesList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -290,129 +327,136 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListCompaniesResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListCompaniesResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.talent.v4beta1.ListCompaniesResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The List companies response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListCompaniesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListCompaniesResponse) com.google.cloud.talent.v4beta1.ListCompaniesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, + com.google.cloud.talent.v4beta1.ListCompaniesResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListCompaniesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; } @java.lang.Override @@ -456,7 +500,8 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListCompaniesResponse result = new com.google.cloud.talent.v4beta1.ListCompaniesResponse(this); + com.google.cloud.talent.v4beta1.ListCompaniesResponse result = + new com.google.cloud.talent.v4beta1.ListCompaniesResponse(this); int from_bitField0_ = bitField0_; if (companiesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +526,39 @@ public com.google.cloud.talent.v4beta1.ListCompaniesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListCompaniesResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListCompaniesResponse) other); } else { super.mergeFrom(other); return this; @@ -520,7 +566,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance()) + return this; if (companiesBuilder_ == null) { if (!other.companies_.isEmpty()) { if (companies_.isEmpty()) { @@ -539,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListCompaniesResponse o companiesBuilder_ = null; companies_ = other.companies_; bitField0_ = (bitField0_ & ~0x00000001); - companiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompaniesFieldBuilder() : null; + companiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompaniesFieldBuilder() + : null; } else { companiesBuilder_.addAllMessages(other.companies_); } @@ -580,37 +628,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.Company m = - input.readMessage( - com.google.cloud.talent.v4beta1.Company.parser(), - extensionRegistry); - if (companiesBuilder_ == null) { - ensureCompaniesIsMutable(); - companies_.add(m); - } else { - companiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4beta1.Company m = + input.readMessage( + com.google.cloud.talent.v4beta1.Company.parser(), extensionRegistry); + if (companiesBuilder_ == null) { + ensureCompaniesIsMutable(); + companies_.add(m); + } else { + companiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +669,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List companies_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCompaniesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { companies_ = new java.util.ArrayList(companies_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companiesBuilder_; + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> + companiesBuilder_; /** + * + * *
      * Companies for the current client.
      * 
@@ -649,6 +705,8 @@ public java.util.List getCompaniesList( } } /** + * + * *
      * Companies for the current client.
      * 
@@ -663,6 +721,8 @@ public int getCompaniesCount() { } } /** + * + * *
      * Companies for the current client.
      * 
@@ -677,14 +737,15 @@ public com.google.cloud.talent.v4beta1.Company getCompanies(int index) { } } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder setCompanies( - int index, com.google.cloud.talent.v4beta1.Company value) { + public Builder setCompanies(int index, com.google.cloud.talent.v4beta1.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +759,8 @@ public Builder setCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -716,6 +779,8 @@ public Builder setCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -736,14 +801,15 @@ public Builder addCompanies(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder addCompanies( - int index, com.google.cloud.talent.v4beta1.Company value) { + public Builder addCompanies(int index, com.google.cloud.talent.v4beta1.Company value) { if (companiesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,14 +823,15 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public Builder addCompanies( - com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder addCompanies(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); companies_.add(builderForValue.build()); @@ -775,6 +842,8 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -793,6 +862,8 @@ public Builder addCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -803,8 +874,7 @@ public Builder addAllCompanies( java.lang.Iterable values) { if (companiesBuilder_ == null) { ensureCompaniesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, companies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, companies_); onChanged(); } else { companiesBuilder_.addAllMessages(values); @@ -812,6 +882,8 @@ public Builder addAllCompanies( return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -829,6 +901,8 @@ public Builder clearCompanies() { return this; } /** + * + * *
      * Companies for the current client.
      * 
@@ -846,39 +920,44 @@ public Builder removeCompanies(int index) { return this; } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.Company.Builder getCompaniesBuilder( - int index) { + public com.google.cloud.talent.v4beta1.Company.Builder getCompaniesBuilder(int index) { return getCompaniesFieldBuilder().getBuilder(index); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index) { if (companiesBuilder_ == null) { - return companies_.get(index); } else { + return companies_.get(index); + } else { return companiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public java.util.List - getCompaniesOrBuilderList() { + public java.util.List + getCompaniesOrBuilderList() { if (companiesBuilder_ != null) { return companiesBuilder_.getMessageOrBuilderList(); } else { @@ -886,6 +965,8 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( } } /** + * + * *
      * Companies for the current client.
      * 
@@ -893,42 +974,48 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder() { - return getCompaniesFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); + return getCompaniesFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder( - int index) { - return getCompaniesFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder(int index) { + return getCompaniesFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4beta1.Company.getDefaultInstance()); } /** + * + * *
      * Companies for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - public java.util.List - getCompaniesBuilderList() { + public java.util.List + getCompaniesBuilderList() { return getCompaniesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompaniesFieldBuilder() { if (companiesBuilder_ == null) { - companiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - companies_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + companiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + companies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); companies_ = null; } return companiesBuilder_; @@ -936,18 +1023,20 @@ public com.google.cloud.talent.v4beta1.Company.Builder addCompaniesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -956,20 +1045,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -977,54 +1067,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1032,36 +1129,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1083,6 +1193,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1102,6 +1214,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1113,7 +1227,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1125,6 +1241,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1144,6 +1262,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1152,11 +1272,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1168,11 +1290,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1181,21 +1306,24 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1205,12 +1333,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListCompaniesResponse)
   private static final com.google.cloud.talent.v4beta1.ListCompaniesResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListCompaniesResponse();
   }
@@ -1219,27 +1347,27 @@ public static com.google.cloud.talent.v4beta1.ListCompaniesResponse getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListCompaniesResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListCompaniesResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1382,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListCompaniesResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
index 833e6f8a0c9c..86c1666558af 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListCompaniesResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListCompaniesResponseOrBuilder extends
+public interface ListCompaniesResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListCompaniesResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - java.util.List - getCompaniesList(); + java.util.List getCompaniesList(); /** + * + * *
    * Companies for the current client.
    * 
@@ -25,6 +44,8 @@ public interface ListCompaniesResponseOrBuilder extends */ com.google.cloud.talent.v4beta1.Company getCompanies(int index); /** + * + * *
    * Companies for the current client.
    * 
@@ -33,65 +54,81 @@ public interface ListCompaniesResponseOrBuilder extends */ int getCompaniesCount(); /** + * + * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - java.util.List + java.util.List getCompaniesOrBuilderList(); /** + * + * *
    * Companies for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Company companies = 1; */ - com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder( - int index); + com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompaniesOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
similarity index 74%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
index 1c5e06c955bf..3300d0382f9f 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * List jobs request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsRequest} */ -public final class ListJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListJobsRequest) ListJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsRequest() { parent_ = ""; filter_ = ""; @@ -28,32 +46,35 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsRequest.class, com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsRequest.class, + com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -61,7 +82,10 @@ protected java.lang.Object newInstance(
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -70,14 +94,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -85,17 +110,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,6 +132,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -127,6 +155,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -135,14 +164,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -164,16 +194,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -184,11 +213,14 @@ public java.lang.String getFilter() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -197,29 +229,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -230,6 +262,8 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -238,6 +272,7 @@ public java.lang.String getPageToken() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -248,6 +283,8 @@ public int getPageSize() { public static final int JOB_VIEW_FIELD_NUMBER = 5; private int jobView_; /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -255,12 +292,16 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -268,15 +309,19 @@ public int getPageSize() {
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The jobView. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = + com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -288,8 +333,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -324,12 +368,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (jobView_ != com.google.cloud.talent.v4beta1.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, jobView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, jobView_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,21 +381,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListJobsRequest other = (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + com.google.cloud.talent.v4beta1.ListJobsRequest other = + (com.google.cloud.talent.v4beta1.ListJobsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (jobView_ != other.jobView_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -381,130 +420,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List jobs request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListJobsRequest) com.google.cloud.talent.v4beta1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsRequest.class, com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsRequest.class, + com.google.cloud.talent.v4beta1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; } @java.lang.Override @@ -543,7 +588,8 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListJobsRequest result = new com.google.cloud.talent.v4beta1.ListJobsRequest(this); + com.google.cloud.talent.v4beta1.ListJobsRequest result = + new com.google.cloud.talent.v4beta1.ListJobsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageToken_ = pageToken_; @@ -557,38 +603,39 @@ public com.google.cloud.talent.v4beta1.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -596,7 +643,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -641,37 +689,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 40: { - jobView_ = input.readEnum(); + break; + } // case 32 + case 40: + { + jobView_ = input.readEnum(); - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -684,6 +738,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -691,14 +747,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -707,6 +765,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -714,16 +774,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -731,6 +792,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -738,21 +801,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -760,16 +827,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant under which the job is created.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -777,17 +849,19 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -795,6 +869,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -816,13 +892,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -831,6 +907,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -852,15 +930,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -868,6 +945,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -889,20 +968,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -924,15 +1005,18 @@ public Builder setFilter(
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Required. The filter string specifies the jobs to be enumerated.
      * Supported operator: =, AND
@@ -954,16 +1038,16 @@ public Builder clearFilter() {
      * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -971,18 +1055,20 @@ public Builder setFilterBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -991,20 +1077,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1012,61 +1099,70 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting point of a query result.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1075,6 +1171,7 @@ public Builder setPageTokenBytes(
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1082,6 +1179,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1090,16 +1189,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of jobs to be returned per page of results.
      * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -1108,10 +1210,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1119,6 +1222,8 @@ public Builder clearPageSize() { private int jobView_ = 0; /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1126,12 +1231,16 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1139,16 +1248,19 @@ public Builder clearPageSize() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1156,15 +1268,19 @@ public Builder setJobViewValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = + com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1172,6 +1288,7 @@ public com.google.cloud.talent.v4beta1.JobView getJobView() {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @param value The jobView to set. * @return This builder for chaining. */ @@ -1179,12 +1296,14 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the
      * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -1192,17 +1311,18 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) {
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1212,12 +1332,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListJobsRequest) private static final com.google.cloud.talent.v4beta1.ListJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListJobsRequest(); } @@ -1226,27 +1346,27 @@ public static com.google.cloud.talent.v4beta1.ListJobsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,6 +1381,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java index 7ddddf3afde0..e69c59d4f373 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface ListJobsRequestOrBuilder extends +public interface ListJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface ListJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant under which the job is created.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,13 +50,17 @@ public interface ListJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -55,10 +82,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Required. The filter string specifies the jobs to be enumerated.
    * Supported operator: =, AND
@@ -80,32 +110,39 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting point of a query result.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of jobs to be returned per page of results.
    * If [job_view][google.cloud.talent.v4beta1.ListJobsRequest.job_view] is set to [JobView.JOB_VIEW_ID_ONLY][google.cloud.talent.v4beta1.JobView.JOB_VIEW_ID_ONLY], the maximum allowed
@@ -114,11 +151,14 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -126,10 +166,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** + * + * *
    * The desired job attributes returned for jobs in the
    * search response. Defaults to [JobView.JOB_VIEW_FULL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_FULL] if no value is
@@ -137,6 +180,7 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 5; + * * @return The jobView. */ com.google.cloud.talent.v4beta1.JobView getJobView(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java similarity index 73% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java index f73a0801cec4..29ac567dc666 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * List jobs response.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsResponse} */ -public final class ListJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListJobsResponse) ListJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsResponse.class, com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsResponse.class, + com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** + * + * *
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -65,6 +86,8 @@ public java.util.List getJobsList() {
     return jobs_;
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -74,11 +97,13 @@ public java.util.List getJobsList() {
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getJobsOrBuilderList() {
     return jobs_;
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -92,6 +117,8 @@ public int getJobsCount() {
     return jobs_.size();
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -105,6 +132,8 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
     return jobs_.get(index);
   }
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -114,19 +143,21 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) {
     return jobs_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
   private volatile java.lang.Object nextPageToken_;
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -135,29 +166,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -181,19 +215,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -207,6 +248,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -218,8 +260,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < jobs_.size(); i++) {
       output.writeMessage(1, jobs_.get(i));
     }
@@ -239,15 +280,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < jobs_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, jobs_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -257,21 +296,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListJobsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListJobsResponse other = (com.google.cloud.talent.v4beta1.ListJobsResponse) obj;
+    com.google.cloud.talent.v4beta1.ListJobsResponse other =
+        (com.google.cloud.talent.v4beta1.ListJobsResponse) obj;
 
-    if (!getJobsList()
-        .equals(other.getJobsList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getJobsList().equals(other.getJobsList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -299,130 +336,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListJobsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListJobsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * List jobs response.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListJobsResponse) com.google.cloud.talent.v4beta1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListJobsResponse.class, com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListJobsResponse.class, + com.google.cloud.talent.v4beta1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListJobsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; } @java.lang.Override @@ -466,7 +509,8 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListJobsResponse result = new com.google.cloud.talent.v4beta1.ListJobsResponse(this); + com.google.cloud.talent.v4beta1.ListJobsResponse result = + new com.google.cloud.talent.v4beta1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -491,38 +535,39 @@ public com.google.cloud.talent.v4beta1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -530,7 +575,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance()) + return this; if (jobsBuilder_ == null) { if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { @@ -549,9 +595,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListJobsResponse other) jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -590,37 +637,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.Job m = - input.readMessage( - com.google.cloud.talent.v4beta1.Job.parser(), - extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4beta1.Job m = + input.readMessage( + com.google.cloud.talent.v4beta1.Job.parser(), extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -630,21 +678,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobsBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -661,6 +716,8 @@ public java.util.List getJobsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -677,6 +734,8 @@ public int getJobsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -693,6 +752,8 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -701,8 +762,7 @@ public com.google.cloud.talent.v4beta1.Job getJobs(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder setJobs(
-        int index, com.google.cloud.talent.v4beta1.Job value) {
+    public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,6 +776,8 @@ public Builder setJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -724,8 +786,7 @@ public Builder setJobs(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder setJobs(
-        int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder setJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.set(index, builderForValue.build());
@@ -736,6 +797,8 @@ public Builder setJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -758,6 +821,8 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -766,8 +831,7 @@ public Builder addJobs(com.google.cloud.talent.v4beta1.Job value) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(
-        int index, com.google.cloud.talent.v4beta1.Job value) {
+    public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job value) {
       if (jobsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -781,6 +845,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -789,8 +855,7 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(
-        com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder addJobs(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(builderForValue.build());
@@ -801,6 +866,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -809,8 +876,7 @@ public Builder addJobs(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public Builder addJobs(
-        int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
+    public Builder addJobs(int index, com.google.cloud.talent.v4beta1.Job.Builder builderForValue) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
         jobs_.add(index, builderForValue.build());
@@ -821,6 +887,8 @@ public Builder addJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -833,8 +901,7 @@ public Builder addAllJobs(
         java.lang.Iterable values) {
       if (jobsBuilder_ == null) {
         ensureJobsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, jobs_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_);
         onChanged();
       } else {
         jobsBuilder_.addAllMessages(values);
@@ -842,6 +909,8 @@ public Builder addAllJobs(
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -861,6 +930,8 @@ public Builder clearJobs() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -880,6 +951,8 @@ public Builder removeJobs(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -888,11 +961,12 @@ public Builder removeJobs(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(
-        int index) {
+    public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(int index) {
       return getJobsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -901,14 +975,16 @@ public com.google.cloud.talent.v4beta1.Job.Builder getJobsBuilder(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
-        int index) {
+    public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index) {
       if (jobsBuilder_ == null) {
-        return jobs_.get(index);  } else {
+        return jobs_.get(index);
+      } else {
         return jobsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -917,8 +993,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public java.util.List 
-         getJobsOrBuilderList() {
+    public java.util.List
+        getJobsOrBuilderList() {
       if (jobsBuilder_ != null) {
         return jobsBuilder_.getMessageOrBuilderList();
       } else {
@@ -926,6 +1002,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -935,10 +1013,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
     public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() {
-      return getJobsFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
+      return getJobsFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -947,12 +1027,13 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder() {
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
-        int index) {
-      return getJobsFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
+    public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(int index) {
+      return getJobsFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4beta1.Job.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The Jobs for a given company.
      * The maximum number of items returned is based on the limit field
@@ -961,20 +1042,22 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
      *
      * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
      */
-    public java.util.List 
-         getJobsBuilderList() {
+    public java.util.List getJobsBuilderList() {
       return getJobsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> 
+            com.google.cloud.talent.v4beta1.Job,
+            com.google.cloud.talent.v4beta1.Job.Builder,
+            com.google.cloud.talent.v4beta1.JobOrBuilder>
         getJobsFieldBuilder() {
       if (jobsBuilder_ == null) {
-        jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>(
-                jobs_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        jobsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.Job,
+                com.google.cloud.talent.v4beta1.Job.Builder,
+                com.google.cloud.talent.v4beta1.JobOrBuilder>(
+                jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         jobs_ = null;
       }
       return jobsBuilder_;
@@ -982,18 +1065,20 @@ public com.google.cloud.talent.v4beta1.Job.Builder addJobsBuilder(
 
     private java.lang.Object nextPageToken_ = "";
     /**
+     *
+     *
      * 
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1002,20 +1087,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,54 +1109,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1078,36 +1171,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1129,6 +1235,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1148,6 +1256,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1159,7 +1269,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1171,6 +1283,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1190,6 +1304,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1198,11 +1314,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1214,11 +1332,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1227,21 +1348,24 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1251,12 +1375,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListJobsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListJobsResponse)
   private static final com.google.cloud.talent.v4beta1.ListJobsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListJobsResponse();
   }
@@ -1265,27 +1389,27 @@ public static com.google.cloud.talent.v4beta1.ListJobsResponse getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListJobsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListJobsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1300,6 +1424,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListJobsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
index 2510362a948d..87828719eaf9 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListJobsResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListJobsResponseOrBuilder extends
+public interface ListJobsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListJobsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -16,9 +34,10 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  java.util.List 
-      getJobsList();
+  java.util.List getJobsList();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -29,6 +48,8 @@ public interface ListJobsResponseOrBuilder extends
    */
   com.google.cloud.talent.v4beta1.Job getJobs(int index);
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -39,6 +60,8 @@ public interface ListJobsResponseOrBuilder extends
    */
   int getJobsCount();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -47,9 +70,10 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  java.util.List 
-      getJobsOrBuilderList();
+  java.util.List getJobsOrBuilderList();
   /**
+   *
+   *
    * 
    * The Jobs for a given company.
    * The maximum number of items returned is based on the limit field
@@ -58,50 +82,62 @@ public interface ListJobsResponseOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.Job jobs = 1;
    */
-  com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(
-      int index);
+  com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
similarity index 66%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
index 6c56c0036282..ffe0578c83e4 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * List tenants for which the client has ACL visibility.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsRequest} */ -public final class ListTenantsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTenantsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListTenantsRequest) ListTenantsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTenantsRequest.newBuilder() to construct. private ListTenantsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTenantsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,39 +44,45 @@ private ListTenantsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTenantsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsRequest.class, com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsRequest.class, + com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -67,31 +91,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -115,29 +144,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -148,12 +177,15 @@ public java.lang.String getPageToken() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -162,6 +194,7 @@ public int getPageSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -200,8 +232,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,19 +242,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ListTenantsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ListTenantsRequest other = (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; + com.google.cloud.talent.v4beta1.ListTenantsRequest other = + (com.google.cloud.talent.v4beta1.ListTenantsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (getPageSize() - != other.getPageSize()) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -247,129 +276,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ListTenantsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListTenantsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * List tenants for which the client has ACL visibility.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListTenantsRequest) com.google.cloud.talent.v4beta1.ListTenantsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsRequest.class, com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsRequest.class, + com.google.cloud.talent.v4beta1.ListTenantsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListTenantsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; } @java.lang.Override @@ -404,7 +439,8 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { - com.google.cloud.talent.v4beta1.ListTenantsRequest result = new com.google.cloud.talent.v4beta1.ListTenantsRequest(this); + com.google.cloud.talent.v4beta1.ListTenantsRequest result = + new com.google.cloud.talent.v4beta1.ListTenantsRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; result.pageSize_ = pageSize_; @@ -416,38 +452,39 @@ public com.google.cloud.talent.v4beta1.ListTenantsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListTenantsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsRequest) other); } else { super.mergeFrom(other); return this; @@ -455,7 +492,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsRequest other) { - if (other == com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -493,27 +531,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -526,20 +568,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -548,22 +594,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -571,60 +620,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Resource name of the project under which the tenant is created.
      * The format is "projects/{project_id}", for example,
      * "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -632,18 +694,20 @@ public Builder setParentBytes( private java.lang.Object pageToken_ = ""; /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -652,20 +716,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -673,67 +738,77 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The starting indicator from which to return results.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -741,39 +816,45 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tenants to be returned, at most 100.
      * Default is 100 if a non-positive number is provided.
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -783,12 +864,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListTenantsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListTenantsRequest) private static final com.google.cloud.talent.v4beta1.ListTenantsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListTenantsRequest(); } @@ -797,27 +878,27 @@ public static com.google.cloud.talent.v4beta1.ListTenantsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTenantsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTenantsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -832,6 +913,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ListTenantsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java index a0142ebe9a5d..4d7c89a12ac6 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsRequestOrBuilder.java @@ -1,63 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; -public interface ListTenantsRequestOrBuilder extends +public interface ListTenantsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListTenantsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Resource name of the project under which the tenant is created.
    * The format is "projects/{project_id}", for example,
    * "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The starting indicator from which to return results.
    * 
* * string page_token = 2; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The maximum number of tenants to be returned, at most 100.
    * Default is 100 if a non-positive number is provided.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java similarity index 72% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java index 2c4dcbc255e4..6f225bf4fe47 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The List tenants response object.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsResponse} */ -public final class ListTenantsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTenantsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ListTenantsResponse) ListTenantsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTenantsResponse.newBuilder() to construct. private ListTenantsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTenantsResponse() { tenants_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,32 +44,35 @@ private ListTenantsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTenantsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsResponse.class, com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsResponse.class, + com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); } public static final int TENANTS_FIELD_NUMBER = 1; private java.util.List tenants_; /** + * + * *
    * Tenants for the current client.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTenantsList() { return tenants_; } /** + * + * *
    * Tenants for the current client.
    * 
@@ -70,11 +93,13 @@ public java.util.List getTenantsList() { * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTenantsOrBuilderList() { return tenants_; } /** + * + * *
    * Tenants for the current client.
    * 
@@ -86,6 +111,8 @@ public int getTenantsCount() { return tenants_.size(); } /** + * + * *
    * Tenants for the current client.
    * 
@@ -97,6 +124,8 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { return tenants_.get(index); } /** + * + * *
    * Tenants for the current client.
    * 
@@ -104,19 +133,21 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ @java.lang.Override - public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index) { return tenants_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -158,12 +189,15 @@ public java.lang.String getNextPageToken() { public static final int METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -171,19 +205,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -197,6 +238,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -208,8 +250,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < tenants_.size(); i++) {
       output.writeMessage(1, tenants_.get(i));
     }
@@ -229,15 +270,13 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < tenants_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, tenants_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tenants_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMetadata());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -247,21 +286,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.ListTenantsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.ListTenantsResponse other = (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj;
+    com.google.cloud.talent.v4beta1.ListTenantsResponse other =
+        (com.google.cloud.talent.v4beta1.ListTenantsResponse) obj;
 
-    if (!getTenantsList()
-        .equals(other.getTenantsList())) return false;
-    if (!getNextPageToken()
-        .equals(other.getNextPageToken())) return false;
+    if (!getTenantsList().equals(other.getTenantsList())) return false;
+    if (!getNextPageToken().equals(other.getNextPageToken())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -290,129 +327,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.ListTenantsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.ListTenantsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The List tenants response object.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ListTenantsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ListTenantsResponse) com.google.cloud.talent.v4beta1.ListTenantsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ListTenantsResponse.class, com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); + com.google.cloud.talent.v4beta1.ListTenantsResponse.class, + com.google.cloud.talent.v4beta1.ListTenantsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ListTenantsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; } @java.lang.Override @@ -456,7 +499,8 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { - com.google.cloud.talent.v4beta1.ListTenantsResponse result = new com.google.cloud.talent.v4beta1.ListTenantsResponse(this); + com.google.cloud.talent.v4beta1.ListTenantsResponse result = + new com.google.cloud.talent.v4beta1.ListTenantsResponse(this); int from_bitField0_ = bitField0_; if (tenantsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,38 +525,39 @@ public com.google.cloud.talent.v4beta1.ListTenantsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ListTenantsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ListTenantsResponse) other); } else { super.mergeFrom(other); return this; @@ -520,7 +565,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsResponse other) { - if (other == com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance()) + return this; if (tenantsBuilder_ == null) { if (!other.tenants_.isEmpty()) { if (tenants_.isEmpty()) { @@ -539,9 +585,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.ListTenantsResponse oth tenantsBuilder_ = null; tenants_ = other.tenants_; bitField0_ = (bitField0_ & ~0x00000001); - tenantsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTenantsFieldBuilder() : null; + tenantsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTenantsFieldBuilder() + : null; } else { tenantsBuilder_.addAllMessages(other.tenants_); } @@ -580,37 +627,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.Tenant m = - input.readMessage( - com.google.cloud.talent.v4beta1.Tenant.parser(), - extensionRegistry); - if (tenantsBuilder_ == null) { - ensureTenantsIsMutable(); - tenants_.add(m); - } else { - tenantsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4beta1.Tenant m = + input.readMessage( + com.google.cloud.talent.v4beta1.Tenant.parser(), extensionRegistry); + if (tenantsBuilder_ == null) { + ensureTenantsIsMutable(); + tenants_.add(m); + } else { + tenantsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,21 +668,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List tenants_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTenantsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tenants_ = new java.util.ArrayList(tenants_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantsBuilder_; + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> + tenantsBuilder_; /** + * + * *
      * Tenants for the current client.
      * 
@@ -649,6 +704,8 @@ public java.util.List getTenantsList() { } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -663,6 +720,8 @@ public int getTenantsCount() { } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -677,14 +736,15 @@ public com.google.cloud.talent.v4beta1.Tenant getTenants(int index) { } } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder setTenants( - int index, com.google.cloud.talent.v4beta1.Tenant value) { + public Builder setTenants(int index, com.google.cloud.talent.v4beta1.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -698,6 +758,8 @@ public Builder setTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -716,6 +778,8 @@ public Builder setTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -736,14 +800,15 @@ public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder addTenants( - int index, com.google.cloud.talent.v4beta1.Tenant value) { + public Builder addTenants(int index, com.google.cloud.talent.v4beta1.Tenant value) { if (tenantsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -757,14 +822,15 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public Builder addTenants( - com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder addTenants(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); tenants_.add(builderForValue.build()); @@ -775,6 +841,8 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -793,6 +861,8 @@ public Builder addTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -803,8 +873,7 @@ public Builder addAllTenants( java.lang.Iterable values) { if (tenantsBuilder_ == null) { ensureTenantsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tenants_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tenants_); onChanged(); } else { tenantsBuilder_.addAllMessages(values); @@ -812,6 +881,8 @@ public Builder addAllTenants( return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -829,6 +900,8 @@ public Builder clearTenants() { return this; } /** + * + * *
      * Tenants for the current client.
      * 
@@ -846,39 +919,44 @@ public Builder removeTenants(int index) { return this; } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantsBuilder(int index) { return getTenantsFieldBuilder().getBuilder(index); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index) { if (tenantsBuilder_ == null) { - return tenants_.get(index); } else { + return tenants_.get(index); + } else { return tenantsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public java.util.List - getTenantsOrBuilderList() { + public java.util.List + getTenantsOrBuilderList() { if (tenantsBuilder_ != null) { return tenantsBuilder_.getMessageOrBuilderList(); } else { @@ -886,6 +964,8 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( } } /** + * + * *
      * Tenants for the current client.
      * 
@@ -893,42 +973,47 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder() { - return getTenantsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); + return getTenantsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder( - int index) { - return getTenantsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder(int index) { + return getTenantsFieldBuilder() + .addBuilder(index, com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance()); } /** + * + * *
      * Tenants for the current client.
      * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - public java.util.List - getTenantsBuilderList() { + public java.util.List getTenantsBuilderList() { return getTenantsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantsFieldBuilder() { if (tenantsBuilder_ == null) { - tenantsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( - tenants_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tenantsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder>( + tenants_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tenants_ = null; } return tenantsBuilder_; @@ -936,18 +1021,20 @@ public com.google.cloud.talent.v4beta1.Tenant.Builder addTenantsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -956,20 +1043,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -977,54 +1065,61 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; @@ -1032,36 +1127,49 @@ public Builder setNextPageTokenBytes( private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1083,6 +1191,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1102,6 +1212,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1113,7 +1225,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -1125,6 +1239,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1144,6 +1260,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1152,11 +1270,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1168,11 +1288,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -1181,21 +1304,24 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1205,12 +1331,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ListTenantsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ListTenantsResponse)
   private static final com.google.cloud.talent.v4beta1.ListTenantsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ListTenantsResponse();
   }
@@ -1219,27 +1345,27 @@ public static com.google.cloud.talent.v4beta1.ListTenantsResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ListTenantsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ListTenantsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1380,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.ListTenantsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
index 3890d1fc12d0..f85274fe444f 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ListTenantsResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface ListTenantsResponseOrBuilder extends
+public interface ListTenantsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ListTenantsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - java.util.List - getTenantsList(); + java.util.List getTenantsList(); /** + * + * *
    * Tenants for the current client.
    * 
@@ -25,6 +44,8 @@ public interface ListTenantsResponseOrBuilder extends */ com.google.cloud.talent.v4beta1.Tenant getTenants(int index); /** + * + * *
    * Tenants for the current client.
    * 
@@ -33,65 +54,81 @@ public interface ListTenantsResponseOrBuilder extends */ int getTenantsCount(); /** + * + * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - java.util.List + java.util.List getTenantsOrBuilderList(); /** + * + * *
    * Tenants for the current client.
    * 
* * repeated .google.cloud.talent.v4beta1.Tenant tenants = 1; */ - com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder( - int index); + com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantsOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 3; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
similarity index 75%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
index 6c2432747876..df25288ace66 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Location.java
@@ -1,63 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * A resource that represents a location with full geographic information.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Location} */ -public final class Location extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Location extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Location) LocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Location.newBuilder() to construct. private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Location() { locationType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Location(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Location.class, com.google.cloud.talent.v4beta1.Location.Builder.class); + com.google.cloud.talent.v4beta1.Location.class, + com.google.cloud.talent.v4beta1.Location.Builder.class); } /** + * + * *
    * An enum which represents the type of a location.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.Location.LocationType} */ - public enum LocationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value if the type isn't specified.
      * 
@@ -66,6 +88,8 @@ public enum LocationType */ LOCATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * A country level location.
      * 
@@ -74,6 +98,8 @@ public enum LocationType */ COUNTRY(1), /** + * + * *
      * A state or equivalent level location.
      * 
@@ -82,6 +108,8 @@ public enum LocationType */ ADMINISTRATIVE_AREA(2), /** + * + * *
      * A county or equivalent level location.
      * 
@@ -90,6 +118,8 @@ public enum LocationType */ SUB_ADMINISTRATIVE_AREA(3), /** + * + * *
      * A city or equivalent level location.
      * 
@@ -98,6 +128,8 @@ public enum LocationType */ LOCALITY(4), /** + * + * *
      * A postal code level location.
      * 
@@ -106,6 +138,8 @@ public enum LocationType */ POSTAL_CODE(5), /** + * + * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -118,6 +152,8 @@ public enum LocationType
      */
     SUB_LOCALITY(6),
     /**
+     *
+     *
      * 
      * A district or equivalent level location.
      * 
@@ -126,6 +162,8 @@ public enum LocationType */ SUB_LOCALITY_1(7), /** + * + * *
      * A smaller district or equivalent level display.
      * 
@@ -134,6 +172,8 @@ public enum LocationType */ SUB_LOCALITY_2(8), /** + * + * *
      * A neighborhood level location.
      * 
@@ -142,6 +182,8 @@ public enum LocationType */ NEIGHBORHOOD(9), /** + * + * *
      * A street address level location.
      * 
@@ -153,6 +195,8 @@ public enum LocationType ; /** + * + * *
      * Default value if the type isn't specified.
      * 
@@ -161,6 +205,8 @@ public enum LocationType */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A country level location.
      * 
@@ -169,6 +215,8 @@ public enum LocationType */ public static final int COUNTRY_VALUE = 1; /** + * + * *
      * A state or equivalent level location.
      * 
@@ -177,6 +225,8 @@ public enum LocationType */ public static final int ADMINISTRATIVE_AREA_VALUE = 2; /** + * + * *
      * A county or equivalent level location.
      * 
@@ -185,6 +235,8 @@ public enum LocationType */ public static final int SUB_ADMINISTRATIVE_AREA_VALUE = 3; /** + * + * *
      * A city or equivalent level location.
      * 
@@ -193,6 +245,8 @@ public enum LocationType */ public static final int LOCALITY_VALUE = 4; /** + * + * *
      * A postal code level location.
      * 
@@ -201,6 +255,8 @@ public enum LocationType */ public static final int POSTAL_CODE_VALUE = 5; /** + * + * *
      * A sublocality is a subdivision of a locality, for example a city borough,
      * ward, or arrondissement. Sublocalities are usually recognized by a local
@@ -213,6 +269,8 @@ public enum LocationType
      */
     public static final int SUB_LOCALITY_VALUE = 6;
     /**
+     *
+     *
      * 
      * A district or equivalent level location.
      * 
@@ -221,6 +279,8 @@ public enum LocationType */ public static final int SUB_LOCALITY_1_VALUE = 7; /** + * + * *
      * A smaller district or equivalent level display.
      * 
@@ -229,6 +289,8 @@ public enum LocationType */ public static final int SUB_LOCALITY_2_VALUE = 8; /** + * + * *
      * A neighborhood level location.
      * 
@@ -237,6 +299,8 @@ public enum LocationType */ public static final int NEIGHBORHOOD_VALUE = 9; /** + * + * *
      * A street address level location.
      * 
@@ -245,7 +309,6 @@ public enum LocationType */ public static final int STREET_ADDRESS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -270,57 +333,65 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: return LOCATION_TYPE_UNSPECIFIED; - case 1: return COUNTRY; - case 2: return ADMINISTRATIVE_AREA; - case 3: return SUB_ADMINISTRATIVE_AREA; - case 4: return LOCALITY; - case 5: return POSTAL_CODE; - case 6: return SUB_LOCALITY; - case 7: return SUB_LOCALITY_1; - case 8: return SUB_LOCALITY_2; - case 9: return NEIGHBORHOOD; - case 10: return STREET_ADDRESS; - default: return null; + case 0: + return LOCATION_TYPE_UNSPECIFIED; + case 1: + return COUNTRY; + case 2: + return ADMINISTRATIVE_AREA; + case 3: + return SUB_ADMINISTRATIVE_AREA; + case 4: + return LOCALITY; + case 5: + return POSTAL_CODE; + case 6: + return SUB_LOCALITY; + case 7: + return SUB_LOCALITY_1; + case 8: + return SUB_LOCALITY_2; + case 9: + return NEIGHBORHOOD; + case 10: + return STREET_ADDRESS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LocationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -340,6 +411,8 @@ private LocationType(int value) { public static final int LOCATION_TYPE_FIELD_NUMBER = 1; private int locationType_; /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -348,12 +421,16 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -362,17 +439,24 @@ private LocationType(int value) {
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The locationType. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Location.LocationType result = com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); - return result == null ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.Location.LocationType result = + com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); + return result == null + ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED + : result; } public static final int POSTAL_ADDRESS_FIELD_NUMBER = 2; private com.google.type.PostalAddress postalAddress_; /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -381,6 +465,7 @@ private LocationType(int value) {
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ @java.lang.Override @@ -388,6 +473,8 @@ public boolean hasPostalAddress() { return postalAddress_ != null; } /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -396,13 +483,18 @@ public boolean hasPostalAddress() {
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ @java.lang.Override public com.google.type.PostalAddress getPostalAddress() { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -420,11 +512,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
   public static final int LAT_LNG_FIELD_NUMBER = 3;
   private com.google.type.LatLng latLng_;
   /**
+   *
+   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -432,11 +527,14 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ @java.lang.Override @@ -444,6 +542,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
@@ -458,6 +558,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { public static final int RADIUS_MILES_FIELD_NUMBER = 4; private double radiusMiles_; /** + * + * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -468,6 +570,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ @java.lang.Override @@ -476,6 +579,7 @@ public double getRadiusMiles() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -487,9 +591,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (locationType_ != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (locationType_ + != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, locationType_); } if (postalAddress_ != null) { @@ -510,21 +615,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (locationType_ != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, locationType_); + if (locationType_ + != com.google.cloud.talent.v4beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, locationType_); } if (postalAddress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPostalAddress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostalAddress()); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(radiusMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, radiusMiles_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, radiusMiles_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -534,7 +637,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Location)) { return super.equals(obj); @@ -544,17 +647,14 @@ public boolean equals(final java.lang.Object obj) { if (locationType_ != other.locationType_) return false; if (hasPostalAddress() != other.hasPostalAddress()) return false; if (hasPostalAddress()) { - if (!getPostalAddress() - .equals(other.getPostalAddress())) return false; + if (!getPostalAddress().equals(other.getPostalAddress())) return false; } if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng() - .equals(other.getLatLng())) return false; + if (!getLatLng().equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getRadiusMiles()) - != java.lang.Double.doubleToLongBits( - other.getRadiusMiles())) return false; + != java.lang.Double.doubleToLongBits(other.getRadiusMiles())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -577,137 +677,145 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + RADIUS_MILES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRadiusMiles())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRadiusMiles())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Location parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Location parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A resource that represents a location with full geographic information.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.Location} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Location) com.google.cloud.talent.v4beta1.LocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.Location.class, com.google.cloud.talent.v4beta1.Location.Builder.class); + com.google.cloud.talent.v4beta1.Location.class, + com.google.cloud.talent.v4beta1.Location.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.Location.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -731,9 +839,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_Location_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_Location_descriptor; } @java.lang.Override @@ -752,7 +860,8 @@ public com.google.cloud.talent.v4beta1.Location build() { @java.lang.Override public com.google.cloud.talent.v4beta1.Location buildPartial() { - com.google.cloud.talent.v4beta1.Location result = new com.google.cloud.talent.v4beta1.Location(this); + com.google.cloud.talent.v4beta1.Location result = + new com.google.cloud.talent.v4beta1.Location(this); result.locationType_ = locationType_; if (postalAddressBuilder_ == null) { result.postalAddress_ = postalAddress_; @@ -773,38 +882,39 @@ public com.google.cloud.talent.v4beta1.Location buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.Location) { - return mergeFrom((com.google.cloud.talent.v4beta1.Location)other); + return mergeFrom((com.google.cloud.talent.v4beta1.Location) other); } else { super.mergeFrom(other); return this; @@ -851,36 +961,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - locationType_ = input.readEnum(); - - break; - } // case 8 - case 18: { - input.readMessage( - getPostalAddressFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 33: { - radiusMiles_ = input.readDouble(); - - break; - } // case 33 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + locationType_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + input.readMessage(getPostalAddressFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 33: + { + radiusMiles_ = input.readDouble(); + + break; + } // case 33 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -893,6 +1004,8 @@ public Builder mergeFrom( private int locationType_ = 0; /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -901,12 +1014,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ - @java.lang.Override public int getLocationTypeValue() { + @java.lang.Override + public int getLocationTypeValue() { return locationType_; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -915,16 +1032,19 @@ public Builder mergeFrom(
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @param value The enum numeric value on the wire for locationType to set. * @return This builder for chaining. */ public Builder setLocationTypeValue(int value) { - + locationType_ = value; onChanged(); return this; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -933,15 +1053,21 @@ public Builder setLocationTypeValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The locationType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Location.LocationType result = com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); - return result == null ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.Location.LocationType result = + com.google.cloud.talent.v4beta1.Location.LocationType.valueOf(locationType_); + return result == null + ? com.google.cloud.talent.v4beta1.Location.LocationType.UNRECOGNIZED + : result; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -950,6 +1076,7 @@ public com.google.cloud.talent.v4beta1.Location.LocationType getLocationType() {
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @param value The locationType to set. * @return This builder for chaining. */ @@ -957,12 +1084,14 @@ public Builder setLocationType(com.google.cloud.talent.v4beta1.Location.Location if (value == null) { throw new NullPointerException(); } - + locationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of a location, which corresponds to the address lines field of
      * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -971,10 +1100,11 @@ public Builder setLocationType(com.google.cloud.talent.v4beta1.Location.Location
      * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return This builder for chaining. */ public Builder clearLocationType() { - + locationType_ = 0; onChanged(); return this; @@ -982,8 +1112,13 @@ public Builder clearLocationType() { private com.google.type.PostalAddress postalAddress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> postalAddressBuilder_; + com.google.type.PostalAddress, + com.google.type.PostalAddress.Builder, + com.google.type.PostalAddressOrBuilder> + postalAddressBuilder_; /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -992,12 +1127,15 @@ public Builder clearLocationType() {
      * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ public boolean hasPostalAddress() { return postalAddressBuilder_ != null || postalAddress_ != null; } /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1006,16 +1144,21 @@ public boolean hasPostalAddress() {
      * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ public com.google.type.PostalAddress getPostalAddress() { if (postalAddressBuilder_ == null) { - return postalAddress_ == null ? com.google.type.PostalAddress.getDefaultInstance() : postalAddress_; + return postalAddress_ == null + ? com.google.type.PostalAddress.getDefaultInstance() + : postalAddress_; } else { return postalAddressBuilder_.getMessage(); } } /** + * + * *
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1039,6 +1182,8 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1048,8 +1193,7 @@ public Builder setPostalAddress(com.google.type.PostalAddress value) {
      *
      * .google.type.PostalAddress postal_address = 2;
      */
-    public Builder setPostalAddress(
-        com.google.type.PostalAddress.Builder builderForValue) {
+    public Builder setPostalAddress(com.google.type.PostalAddress.Builder builderForValue) {
       if (postalAddressBuilder_ == null) {
         postalAddress_ = builderForValue.build();
         onChanged();
@@ -1060,6 +1204,8 @@ public Builder setPostalAddress(
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1073,7 +1219,9 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       if (postalAddressBuilder_ == null) {
         if (postalAddress_ != null) {
           postalAddress_ =
-            com.google.type.PostalAddress.newBuilder(postalAddress_).mergeFrom(value).buildPartial();
+              com.google.type.PostalAddress.newBuilder(postalAddress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           postalAddress_ = value;
         }
@@ -1085,6 +1233,8 @@ public Builder mergePostalAddress(com.google.type.PostalAddress value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1106,6 +1256,8 @@ public Builder clearPostalAddress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1116,11 +1268,13 @@ public Builder clearPostalAddress() {
      * .google.type.PostalAddress postal_address = 2;
      */
     public com.google.type.PostalAddress.Builder getPostalAddressBuilder() {
-      
+
       onChanged();
       return getPostalAddressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1134,11 +1288,14 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
       if (postalAddressBuilder_ != null) {
         return postalAddressBuilder_.getMessageOrBuilder();
       } else {
-        return postalAddress_ == null ?
-            com.google.type.PostalAddress.getDefaultInstance() : postalAddress_;
+        return postalAddress_ == null
+            ? com.google.type.PostalAddress.getDefaultInstance()
+            : postalAddress_;
       }
     }
     /**
+     *
+     *
      * 
      * Postal address of the location that includes human readable information,
      * such as postal delivery and payments addresses. Given a postal address,
@@ -1149,14 +1306,17 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
      * .google.type.PostalAddress postal_address = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder> 
+            com.google.type.PostalAddress,
+            com.google.type.PostalAddress.Builder,
+            com.google.type.PostalAddressOrBuilder>
         getPostalAddressFieldBuilder() {
       if (postalAddressBuilder_ == null) {
-        postalAddressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.PostalAddress, com.google.type.PostalAddress.Builder, com.google.type.PostalAddressOrBuilder>(
-                getPostalAddress(),
-                getParentForChildren(),
-                isClean());
+        postalAddressBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.PostalAddress,
+                com.google.type.PostalAddress.Builder,
+                com.google.type.PostalAddressOrBuilder>(
+                getPostalAddress(), getParentForChildren(), isClean());
         postalAddress_ = null;
       }
       return postalAddressBuilder_;
@@ -1164,24 +1324,31 @@ public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder() {
 
     private com.google.type.LatLng latLng_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_;
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
+        latLngBuilder_;
     /**
+     *
+     *
      * 
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1192,6 +1359,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1212,14 +1381,15 @@ public Builder setLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
* * .google.type.LatLng lat_lng = 3; */ - public Builder setLatLng( - com.google.type.LatLng.Builder builderForValue) { + public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) { if (latLngBuilder_ == null) { latLng_ = builderForValue.build(); onChanged(); @@ -1230,6 +1400,8 @@ public Builder setLatLng( return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1239,8 +1411,7 @@ public Builder setLatLng( public Builder mergeLatLng(com.google.type.LatLng value) { if (latLngBuilder_ == null) { if (latLng_ != null) { - latLng_ = - com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); + latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial(); } else { latLng_ = value; } @@ -1252,6 +1423,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1270,6 +1443,8 @@ public Builder clearLatLng() { return this; } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1277,11 +1452,13 @@ public Builder clearLatLng() { * .google.type.LatLng lat_lng = 3; */ public com.google.type.LatLng.Builder getLatLngBuilder() { - + onChanged(); return getLatLngFieldBuilder().getBuilder(); } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1292,11 +1469,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { if (latLngBuilder_ != null) { return latLngBuilder_.getMessageOrBuilder(); } else { - return latLng_ == null ? - com.google.type.LatLng.getDefaultInstance() : latLng_; + return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } } /** + * + * *
      * An object representing a latitude/longitude pair.
      * 
@@ -1304,21 +1482,23 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() { * .google.type.LatLng lat_lng = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getLatLngFieldBuilder() { if (latLngBuilder_ == null) { - latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - getLatLng(), - getParentForChildren(), - isClean()); + latLngBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean()); latLng_ = null; } return latLngBuilder_; } - private double radiusMiles_ ; + private double radiusMiles_; /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1329,6 +1509,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ @java.lang.Override @@ -1336,6 +1517,8 @@ public double getRadiusMiles() { return radiusMiles_; } /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1346,16 +1529,19 @@ public double getRadiusMiles() {
      * 
* * double radius_miles = 4; + * * @param value The radiusMiles to set. * @return This builder for chaining. */ public Builder setRadiusMiles(double value) { - + radiusMiles_ = value; onChanged(); return this; } /** + * + * *
      * Radius in miles of the job location. This value is derived from the
      * location bounding box in which a circle with the specified radius
@@ -1366,17 +1552,18 @@ public Builder setRadiusMiles(double value) {
      * 
* * double radius_miles = 4; + * * @return This builder for chaining. */ public Builder clearRadiusMiles() { - + radiusMiles_ = 0D; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1386,12 +1573,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Location) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Location) private static final com.google.cloud.talent.v4beta1.Location DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Location(); } @@ -1400,27 +1587,27 @@ public static com.google.cloud.talent.v4beta1.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1435,6 +1622,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java index 1b33e78e344c..eeabbd6d6d1c 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Geographic region of the search.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.LocationFilter} */ -public final class LocationFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LocationFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.LocationFilter) LocationFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LocationFilter.newBuilder() to construct. private LocationFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LocationFilter() { address_ = ""; regionCode_ = ""; @@ -27,39 +45,43 @@ private LocationFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LocationFilter(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.LocationFilter.class, com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); + com.google.cloud.talent.v4beta1.LocationFilter.class, + com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); } /** + * + * *
    * Specify whether to include telecommute jobs.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference} */ - public enum TelecommutePreference - implements com.google.protobuf.ProtocolMessageEnum { + public enum TelecommutePreference implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -68,6 +90,8 @@ public enum TelecommutePreference */ TELECOMMUTE_PREFERENCE_UNSPECIFIED(0), /** + * + * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -78,6 +102,8 @@ public enum TelecommutePreference
     @java.lang.Deprecated
     TELECOMMUTE_EXCLUDED(1),
     /**
+     *
+     *
      * 
      * Allow telecommute jobs.
      * 
@@ -86,6 +112,8 @@ public enum TelecommutePreference */ TELECOMMUTE_ALLOWED(2), /** + * + * *
      * Exclude telecommute jobs.
      * 
@@ -97,6 +125,8 @@ public enum TelecommutePreference ; /** + * + * *
      * Default value if the telecommute preference isn't specified.
      * 
@@ -105,6 +135,8 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_PREFERENCE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Deprecated: Ignore telecommute status of jobs. Use
      * TELECOMMUTE_JOBS_EXCLUDED if want to exclude telecommute jobs.
@@ -114,6 +146,8 @@ public enum TelecommutePreference
      */
     @java.lang.Deprecated public static final int TELECOMMUTE_EXCLUDED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Allow telecommute jobs.
      * 
@@ -122,6 +156,8 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_ALLOWED_VALUE = 2; /** + * + * *
      * Exclude telecommute jobs.
      * 
@@ -130,7 +166,6 @@ public enum TelecommutePreference */ public static final int TELECOMMUTE_JOBS_EXCLUDED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -155,11 +190,16 @@ public static TelecommutePreference valueOf(int value) { */ public static TelecommutePreference forNumber(int value) { switch (value) { - case 0: return TELECOMMUTE_PREFERENCE_UNSPECIFIED; - case 1: return TELECOMMUTE_EXCLUDED; - case 2: return TELECOMMUTE_ALLOWED; - case 3: return TELECOMMUTE_JOBS_EXCLUDED; - default: return null; + case 0: + return TELECOMMUTE_PREFERENCE_UNSPECIFIED; + case 1: + return TELECOMMUTE_EXCLUDED; + case 2: + return TELECOMMUTE_ALLOWED; + case 3: + return TELECOMMUTE_JOBS_EXCLUDED; + default: + return null; } } @@ -167,28 +207,28 @@ public static TelecommutePreference forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TelecommutePreference> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TelecommutePreference findValueByNumber(int number) { - return TelecommutePreference.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TelecommutePreference findValueByNumber(int number) { + return TelecommutePreference.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.talent.v4beta1.LocationFilter.getDescriptor().getEnumTypes().get(0); } @@ -197,8 +237,7 @@ public TelecommutePreference findValueByNumber(int number) { public static TelecommutePreference valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -218,11 +257,14 @@ private TelecommutePreference(int value) { public static final int ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object address_; /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The address. */ @java.lang.Override @@ -231,29 +273,29 @@ public java.lang.String getAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } } /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The bytes for address. */ @java.lang.Override - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -264,6 +306,8 @@ public java.lang.String getAddress() { public static final int REGION_CODE_FIELD_NUMBER = 2; private volatile java.lang.Object regionCode_; /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -280,6 +324,7 @@ public java.lang.String getAddress() {
    * 
* * string region_code = 2; + * * @return The regionCode. */ @java.lang.Override @@ -288,14 +333,15 @@ public java.lang.String getRegionCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; } } /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -312,16 +358,15 @@ public java.lang.String getRegionCode() {
    * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -332,12 +377,15 @@ public java.lang.String getRegionCode() { public static final int LAT_LNG_FIELD_NUMBER = 3; private com.google.type.LatLng latLng_; /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ @java.lang.Override @@ -345,12 +393,15 @@ public boolean hasLatLng() { return latLng_ != null; } /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ @java.lang.Override @@ -358,6 +409,8 @@ public com.google.type.LatLng getLatLng() { return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_; } /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -373,6 +426,8 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
   public static final int DISTANCE_IN_MILES_FIELD_NUMBER = 4;
   private double distanceInMiles_;
   /**
+   *
+   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -380,6 +435,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
    * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ @java.lang.Override @@ -390,6 +446,8 @@ public double getDistanceInMiles() { public static final int TELECOMMUTE_PREFERENCE_FIELD_NUMBER = 5; private int telecommutePreference_; /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -411,13 +469,19 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override public int getTelecommutePreferenceValue() { + @java.lang.Override + public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -439,24 +503,36 @@ public double getDistanceInMiles() {
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference + getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); - return result == null ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf( + telecommutePreference_); + return result == null + ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED + : result; } public static final int NEGATED_FIELD_NUMBER = 6; private boolean negated_; /** + * + * *
    * Whether to apply negation to the filter so profiles matching the filter
    * are excluded.
    * 
* * bool negated = 6; + * * @return The negated. */ @java.lang.Override @@ -465,6 +541,7 @@ public boolean getNegated() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -476,8 +553,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, address_); } @@ -490,7 +566,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { output.writeDouble(4, distanceInMiles_); } - if (telecommutePreference_ != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { + if (telecommutePreference_ + != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference + .TELECOMMUTE_PREFERENCE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, telecommutePreference_); } if (negated_ != false) { @@ -512,20 +591,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regionCode_); } if (latLng_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLatLng()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLatLng()); } if (java.lang.Double.doubleToRawLongBits(distanceInMiles_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, distanceInMiles_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, distanceInMiles_); } - if (telecommutePreference_ != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.TELECOMMUTE_PREFERENCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, telecommutePreference_); + if (telecommutePreference_ + != com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference + .TELECOMMUTE_PREFERENCE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, telecommutePreference_); } if (negated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, negated_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, negated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -535,28 +613,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.LocationFilter)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.LocationFilter other = (com.google.cloud.talent.v4beta1.LocationFilter) obj; + com.google.cloud.talent.v4beta1.LocationFilter other = + (com.google.cloud.talent.v4beta1.LocationFilter) obj; - if (!getAddress() - .equals(other.getAddress())) return false; - if (!getRegionCode() - .equals(other.getRegionCode())) return false; + if (!getAddress().equals(other.getAddress())) return false; + if (!getRegionCode().equals(other.getRegionCode())) return false; if (hasLatLng() != other.hasLatLng()) return false; if (hasLatLng()) { - if (!getLatLng() - .equals(other.getLatLng())) return false; + if (!getLatLng().equals(other.getLatLng())) return false; } if (java.lang.Double.doubleToLongBits(getDistanceInMiles()) - != java.lang.Double.doubleToLongBits( - other.getDistanceInMiles())) return false; + != java.lang.Double.doubleToLongBits(other.getDistanceInMiles())) return false; if (telecommutePreference_ != other.telecommutePreference_) return false; - if (getNegated() - != other.getNegated()) return false; + if (getNegated() != other.getNegated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -577,142 +651,149 @@ public int hashCode() { hash = (53 * hash) + getLatLng().hashCode(); } hash = (37 * hash) + DISTANCE_IN_MILES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDistanceInMiles())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDistanceInMiles())); hash = (37 * hash) + TELECOMMUTE_PREFERENCE_FIELD_NUMBER; hash = (53 * hash) + telecommutePreference_; hash = (37 * hash) + NEGATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNegated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.LocationFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.LocationFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Geographic region of the search.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.LocationFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.LocationFilter) com.google.cloud.talent.v4beta1.LocationFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.LocationFilter.class, com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); + com.google.cloud.talent.v4beta1.LocationFilter.class, + com.google.cloud.talent.v4beta1.LocationFilter.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.LocationFilter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -736,9 +817,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.FiltersProto.internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.FiltersProto + .internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; } @java.lang.Override @@ -757,7 +838,8 @@ public com.google.cloud.talent.v4beta1.LocationFilter build() { @java.lang.Override public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { - com.google.cloud.talent.v4beta1.LocationFilter result = new com.google.cloud.talent.v4beta1.LocationFilter(this); + com.google.cloud.talent.v4beta1.LocationFilter result = + new com.google.cloud.talent.v4beta1.LocationFilter(this); result.address_ = address_; result.regionCode_ = regionCode_; if (latLngBuilder_ == null) { @@ -776,38 +858,39 @@ public com.google.cloud.talent.v4beta1.LocationFilter buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.LocationFilter) { - return mergeFrom((com.google.cloud.talent.v4beta1.LocationFilter)other); + return mergeFrom((com.google.cloud.talent.v4beta1.LocationFilter) other); } else { super.mergeFrom(other); return this; @@ -862,44 +945,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - address_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - regionCode_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getLatLngFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 33: { - distanceInMiles_ = input.readDouble(); - - break; - } // case 33 - case 40: { - telecommutePreference_ = input.readEnum(); - - break; - } // case 40 - case 48: { - negated_ = input.readBool(); - - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + address_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + regionCode_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getLatLngFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 33: + { + distanceInMiles_ = input.readDouble(); + + break; + } // case 33 + case 40: + { + telecommutePreference_ = input.readEnum(); + + break; + } // case 40 + case 48: + { + negated_ = input.readBool(); + + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -912,18 +1000,20 @@ public Builder mergeFrom( private java.lang.Object address_ = ""; /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; @@ -932,20 +1022,21 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return The bytes for address. */ - public com.google.protobuf.ByteString - getAddressBytes() { + public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); address_ = b; return b; } else { @@ -953,54 +1044,61 @@ public java.lang.String getAddress() { } } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @param value The address to set. * @return This builder for chaining. */ - public Builder setAddress( - java.lang.String value) { + public Builder setAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + address_ = value; onChanged(); return this; } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @return This builder for chaining. */ public Builder clearAddress() { - + address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** + * + * *
      * The address name, such as "Mountain View" or "Bay Area".
      * 
* * string address = 1; + * * @param value The bytes for address to set. * @return This builder for chaining. */ - public Builder setAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + address_ = value; onChanged(); return this; @@ -1008,6 +1106,8 @@ public Builder setAddressBytes( private java.lang.Object regionCode_ = ""; /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1024,13 +1124,13 @@ public Builder setAddressBytes(
      * 
* * string region_code = 2; + * * @return The regionCode. */ public java.lang.String getRegionCode() { java.lang.Object ref = regionCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regionCode_ = s; return s; @@ -1039,6 +1139,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1055,15 +1157,14 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - public com.google.protobuf.ByteString - getRegionCodeBytes() { + public com.google.protobuf.ByteString getRegionCodeBytes() { java.lang.Object ref = regionCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); regionCode_ = b; return b; } else { @@ -1071,6 +1172,8 @@ public java.lang.String getRegionCode() { } } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1087,20 +1190,22 @@ public java.lang.String getRegionCode() {
      * 
* * string region_code = 2; + * * @param value The regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCode( - java.lang.String value) { + public Builder setRegionCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + regionCode_ = value; onChanged(); return this; } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1117,15 +1222,18 @@ public Builder setRegionCode(
      * 
* * string region_code = 2; + * * @return This builder for chaining. */ public Builder clearRegionCode() { - + regionCode_ = getDefaultInstance().getRegionCode(); onChanged(); return this; } /** + * + * *
      * CLDR region code of the country/region. This field may be used in two ways:
      * 1) If telecommute preference is not set, this field is used address
@@ -1142,16 +1250,16 @@ public Builder clearRegionCode() {
      * 
* * string region_code = 2; + * * @param value The bytes for regionCode to set. * @return This builder for chaining. */ - public Builder setRegionCodeBytes( - com.google.protobuf.ByteString value) { + public Builder setRegionCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + regionCode_ = value; onChanged(); return this; @@ -1159,26 +1267,33 @@ public Builder setRegionCodeBytes( private com.google.type.LatLng latLng_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> latLngBuilder_; + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + latLngBuilder_; /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ public boolean hasLatLng() { return latLngBuilder_ != null || latLng_ != null; } /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
      * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ public com.google.type.LatLng getLatLng() { @@ -1189,6 +1304,8 @@ public com.google.type.LatLng getLatLng() { } } /** + * + * *
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1210,6 +1327,8 @@ public Builder setLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1217,8 +1336,7 @@ public Builder setLatLng(com.google.type.LatLng value) {
      *
      * .google.type.LatLng lat_lng = 3;
      */
-    public Builder setLatLng(
-        com.google.type.LatLng.Builder builderForValue) {
+    public Builder setLatLng(com.google.type.LatLng.Builder builderForValue) {
       if (latLngBuilder_ == null) {
         latLng_ = builderForValue.build();
         onChanged();
@@ -1229,6 +1347,8 @@ public Builder setLatLng(
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1239,8 +1359,7 @@ public Builder setLatLng(
     public Builder mergeLatLng(com.google.type.LatLng value) {
       if (latLngBuilder_ == null) {
         if (latLng_ != null) {
-          latLng_ =
-            com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
+          latLng_ = com.google.type.LatLng.newBuilder(latLng_).mergeFrom(value).buildPartial();
         } else {
           latLng_ = value;
         }
@@ -1252,6 +1371,8 @@ public Builder mergeLatLng(com.google.type.LatLng value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1271,6 +1392,8 @@ public Builder clearLatLng() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1279,11 +1402,13 @@ public Builder clearLatLng() {
      * .google.type.LatLng lat_lng = 3;
      */
     public com.google.type.LatLng.Builder getLatLngBuilder() {
-      
+
       onChanged();
       return getLatLngFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1295,11 +1420,12 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
       if (latLngBuilder_ != null) {
         return latLngBuilder_.getMessageOrBuilder();
       } else {
-        return latLng_ == null ?
-            com.google.type.LatLng.getDefaultInstance() : latLng_;
+        return latLng_ == null ? com.google.type.LatLng.getDefaultInstance() : latLng_;
       }
     }
     /**
+     *
+     *
      * 
      * The latitude and longitude of the geographic center to search from. This
      * field is ignored if `address` is provided.
@@ -1308,21 +1434,23 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * .google.type.LatLng lat_lng = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> 
+            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>
         getLatLngFieldBuilder() {
       if (latLngBuilder_ == null) {
-        latLngBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>(
-                getLatLng(),
-                getParentForChildren(),
-                isClean());
+        latLngBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.type.LatLng,
+                com.google.type.LatLng.Builder,
+                com.google.type.LatLngOrBuilder>(getLatLng(), getParentForChildren(), isClean());
         latLng_ = null;
       }
       return latLngBuilder_;
     }
 
-    private double distanceInMiles_ ;
+    private double distanceInMiles_;
     /**
+     *
+     *
      * 
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1330,6 +1458,7 @@ public com.google.type.LatLngOrBuilder getLatLngOrBuilder() {
      * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ @java.lang.Override @@ -1337,6 +1466,8 @@ public double getDistanceInMiles() { return distanceInMiles_; } /** + * + * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1344,16 +1475,19 @@ public double getDistanceInMiles() {
      * 
* * double distance_in_miles = 4; + * * @param value The distanceInMiles to set. * @return This builder for chaining. */ public Builder setDistanceInMiles(double value) { - + distanceInMiles_ = value; onChanged(); return this; } /** + * + * *
      * The distance_in_miles is applied when the location being searched for is
      * identified as a city or smaller. This field is ignored if the location
@@ -1361,10 +1495,11 @@ public Builder setDistanceInMiles(double value) {
      * 
* * double distance_in_miles = 4; + * * @return This builder for chaining. */ public Builder clearDistanceInMiles() { - + distanceInMiles_ = 0D; onChanged(); return this; @@ -1372,6 +1507,8 @@ public Builder clearDistanceInMiles() { private int telecommutePreference_ = 0; /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1393,13 +1530,19 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ - @java.lang.Override public int getTelecommutePreferenceValue() { + @java.lang.Override + public int getTelecommutePreferenceValue() { return telecommutePreference_; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1421,17 +1564,22 @@ public Builder clearDistanceInMiles() {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @param value The enum numeric value on the wire for telecommutePreference to set. * @return This builder for chaining. */ public Builder setTelecommutePreferenceValue(int value) { - + telecommutePreference_ = value; onChanged(); return this; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1453,16 +1601,26 @@ public Builder setTelecommutePreferenceValue(int value) {
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference() { + public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference + getTelecommutePreference() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf(telecommutePreference_); - return result == null ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference result = + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.valueOf( + telecommutePreference_); + return result == null + ? com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference.UNRECOGNIZED + : result; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1484,20 +1642,26 @@ public com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getT
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @param value The telecommutePreference to set. * @return This builder for chaining. */ - public Builder setTelecommutePreference(com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference value) { + public Builder setTelecommutePreference( + com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference value) { if (value == null) { throw new NullPointerException(); } - + telecommutePreference_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Allows the client to return jobs without a
      * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -1519,24 +1683,30 @@ public Builder setTelecommutePreference(com.google.cloud.talent.v4beta1.Location
      * This field is only used for job search requests.
      * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return This builder for chaining. */ public Builder clearTelecommutePreference() { - + telecommutePreference_ = 0; onChanged(); return this; } - private boolean negated_ ; + private boolean negated_; /** + * + * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; + * * @return The negated. */ @java.lang.Override @@ -1544,39 +1714,45 @@ public boolean getNegated() { return negated_; } /** + * + * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; + * * @param value The negated to set. * @return This builder for chaining. */ public Builder setNegated(boolean value) { - + negated_ = value; onChanged(); return this; } /** + * + * *
      * Whether to apply negation to the filter so profiles matching the filter
      * are excluded.
      * 
* * bool negated = 6; + * * @return This builder for chaining. */ public Builder clearNegated() { - + negated_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1586,12 +1762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.LocationFilter) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.LocationFilter) private static final com.google.cloud.talent.v4beta1.LocationFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.LocationFilter(); } @@ -1600,27 +1776,27 @@ public static com.google.cloud.talent.v4beta1.LocationFilter getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LocationFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LocationFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1635,6 +1811,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.LocationFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java similarity index 86% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java index ca480203c29d..503bb48fd1c6 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationFilterOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto package com.google.cloud.talent.v4beta1; -public interface LocationFilterOrBuilder extends +public interface LocationFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.LocationFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The address. */ java.lang.String getAddress(); /** + * + * *
    * The address name, such as "Mountain View" or "Bay Area".
    * 
* * string address = 1; + * * @return The bytes for address. */ - com.google.protobuf.ByteString - getAddressBytes(); + com.google.protobuf.ByteString getAddressBytes(); /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -44,10 +67,13 @@ public interface LocationFilterOrBuilder extends
    * 
* * string region_code = 2; + * * @return The regionCode. */ java.lang.String getRegionCode(); /** + * + * *
    * CLDR region code of the country/region. This field may be used in two ways:
    * 1) If telecommute preference is not set, this field is used address
@@ -64,32 +90,40 @@ public interface LocationFilterOrBuilder extends
    * 
* * string region_code = 2; + * * @return The bytes for regionCode. */ - com.google.protobuf.ByteString - getRegionCodeBytes(); + com.google.protobuf.ByteString getRegionCodeBytes(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * The latitude and longitude of the geographic center to search from. This
    * field is ignored if `address` is provided.
@@ -100,6 +134,8 @@ public interface LocationFilterOrBuilder extends
   com.google.type.LatLngOrBuilder getLatLngOrBuilder();
 
   /**
+   *
+   *
    * 
    * The distance_in_miles is applied when the location being searched for is
    * identified as a city or smaller. This field is ignored if the location
@@ -107,11 +143,14 @@ public interface LocationFilterOrBuilder extends
    * 
* * double distance_in_miles = 4; + * * @return The distanceInMiles. */ double getDistanceInMiles(); /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -133,11 +172,16 @@ public interface LocationFilterOrBuilder extends
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The enum numeric value on the wire for telecommutePreference. */ int getTelecommutePreferenceValue(); /** + * + * *
    * Allows the client to return jobs without a
    * set location, specifically, telecommuting jobs (telecommuting is considered
@@ -159,18 +203,24 @@ public interface LocationFilterOrBuilder extends
    * This field is only used for job search requests.
    * 
* - * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * .google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference telecommute_preference = 5; + * + * * @return The telecommutePreference. */ com.google.cloud.talent.v4beta1.LocationFilter.TelecommutePreference getTelecommutePreference(); /** + * + * *
    * Whether to apply negation to the filter so profiles matching the filter
    * are excluded.
    * 
* * bool negated = 6; + * * @return The negated. */ boolean getNegated(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java similarity index 83% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java index f0c7568fd6bd..b19aaa08e413 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/LocationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface LocationOrBuilder extends +public interface LocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Location) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -16,10 +34,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The enum numeric value on the wire for locationType. */ int getLocationTypeValue(); /** + * + * *
    * The type of a location, which corresponds to the address lines field of
    * [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA"
@@ -28,11 +49,14 @@ public interface LocationOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.Location.LocationType location_type = 1; + * * @return The locationType. */ com.google.cloud.talent.v4beta1.Location.LocationType getLocationType(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -41,10 +65,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return Whether the postalAddress field is set. */ boolean hasPostalAddress(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -53,10 +80,13 @@ public interface LocationOrBuilder extends
    * 
* * .google.type.PostalAddress postal_address = 2; + * * @return The postalAddress. */ com.google.type.PostalAddress getPostalAddress(); /** + * + * *
    * Postal address of the location that includes human readable information,
    * such as postal delivery and payments addresses. Given a postal address,
@@ -69,24 +99,32 @@ public interface LocationOrBuilder extends
   com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder();
 
   /**
+   *
+   *
    * 
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return Whether the latLng field is set. */ boolean hasLatLng(); /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
* * .google.type.LatLng lat_lng = 3; + * * @return The latLng. */ com.google.type.LatLng getLatLng(); /** + * + * *
    * An object representing a latitude/longitude pair.
    * 
@@ -96,6 +134,8 @@ public interface LocationOrBuilder extends com.google.type.LatLngOrBuilder getLatLngOrBuilder(); /** + * + * *
    * Radius in miles of the job location. This value is derived from the
    * location bounding box in which a circle with the specified radius
@@ -106,6 +146,7 @@ public interface LocationOrBuilder extends
    * 
* * double radius_miles = 4; + * * @return The radiusMiles. */ double getRadiusMiles(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java similarity index 78% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java index 7e448fd561d0..9880ffb14916 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/PostingRegion.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * An enum that represents the job posting region. In most cases, job postings
  * don't need to specify a region. If a region is given, jobs are
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.PostingRegion}
  */
-public enum PostingRegion
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum PostingRegion implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
@@ -24,6 +42,8 @@ public enum PostingRegion
    */
   POSTING_REGION_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
@@ -39,6 +59,8 @@ public enum PostingRegion
    */
   ADMINISTRATIVE_AREA(1),
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
@@ -50,6 +72,8 @@ public enum PostingRegion
    */
   NATION(2),
   /**
+   *
+   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -63,6 +87,8 @@ public enum PostingRegion
   ;
 
   /**
+   *
+   *
    * 
    * If the region is unspecified, the job is only returned if it
    * matches the [LocationFilter][google.cloud.talent.v4beta1.LocationFilter].
@@ -72,6 +98,8 @@ public enum PostingRegion
    */
   public static final int POSTING_REGION_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job posting is returned when the
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in the search query is in the same administrative area
@@ -87,6 +115,8 @@ public enum PostingRegion
    */
   public static final int ADMINISTRATIVE_AREA_VALUE = 1;
   /**
+   *
+   *
    * 
    * In addition to exact location matching, job is returned when
    * [LocationFilter][google.cloud.talent.v4beta1.LocationFilter] in search query is in the same country as this job.
@@ -98,6 +128,8 @@ public enum PostingRegion
    */
   public static final int NATION_VALUE = 2;
   /**
+   *
+   *
    * 
    * Job allows employees to work remotely (telecommute).
    * If locations are provided with this value, the job is
@@ -108,7 +140,6 @@ public enum PostingRegion
    */
   public static final int TELECOMMUTE_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -133,50 +164,51 @@ public static PostingRegion valueOf(int value) {
    */
   public static PostingRegion forNumber(int value) {
     switch (value) {
-      case 0: return POSTING_REGION_UNSPECIFIED;
-      case 1: return ADMINISTRATIVE_AREA;
-      case 2: return NATION;
-      case 3: return TELECOMMUTE;
-      default: return null;
+      case 0:
+        return POSTING_REGION_UNSPECIFIED;
+      case 1:
+        return ADMINISTRATIVE_AREA;
+      case 2:
+        return NATION;
+      case 3:
+        return TELECOMMUTE;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      PostingRegion> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public PostingRegion findValueByNumber(int number) {
-            return PostingRegion.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public PostingRegion findValueByNumber(int number) {
+          return PostingRegion.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(6);
   }
 
   private static final PostingRegion[] VALUES = values();
 
-  public static PostingRegion valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static PostingRegion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -192,4 +224,3 @@ private PostingRegion(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.PostingRegion)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ProjectName.java
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
similarity index 78%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
index 888f4c52ddae..a6cbf2f2c285 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Meta information related to the job searcher or entity
  * conducting the job search. This information is used to improve the
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.RequestMetadata}
  */
-public final class RequestMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.RequestMetadata)
     RequestMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RequestMetadata.newBuilder() to construct.
   private RequestMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RequestMetadata() {
     domain_ = "";
     sessionId_ = "";
@@ -29,32 +47,35 @@ private RequestMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RequestMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.CommonProto
+        .internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.RequestMetadata.class, com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
+            com.google.cloud.talent.v4beta1.RequestMetadata.class,
+            com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
   }
 
   public static final int DOMAIN_FIELD_NUMBER = 1;
   private volatile java.lang.Object domain_;
   /**
+   *
+   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -70,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * string domain = 1; + * * @return The domain. */ @java.lang.Override @@ -78,14 +100,15 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -101,16 +124,15 @@ public java.lang.String getDomain() {
    * 
* * string domain = 1; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -121,6 +143,8 @@ public java.lang.String getDomain() { public static final int SESSION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object sessionId_; /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -134,6 +158,7 @@ public java.lang.String getDomain() {
    * 
* * string session_id = 2; + * * @return The sessionId. */ @java.lang.Override @@ -142,14 +167,15 @@ public java.lang.String getSessionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -163,16 +189,15 @@ public java.lang.String getSessionId() {
    * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -183,6 +208,8 @@ public java.lang.String getSessionId() { public static final int USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object userId_; /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -196,6 +223,7 @@ public java.lang.String getSessionId() {
    * 
* * string user_id = 3; + * * @return The userId. */ @java.lang.Override @@ -204,14 +232,15 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -225,16 +254,15 @@ public java.lang.String getUserId() {
    * 
* * string user_id = 3; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -245,6 +273,8 @@ public java.lang.String getUserId() { public static final int ALLOW_MISSING_IDS_FIELD_NUMBER = 4; private boolean allowMissingIds_; /** + * + * *
    * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -253,6 +283,7 @@ public java.lang.String getUserId() {
    * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ @java.lang.Override @@ -263,12 +294,15 @@ public boolean getAllowMissingIds() { public static final int DEVICE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ @java.lang.Override @@ -276,19 +310,26 @@ public boolean hasDeviceInfo() { return deviceInfo_ != null; } /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo() { - return deviceInfo_ == null ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_; + return deviceInfo_ == null + ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() + : deviceInfo_; } /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
@@ -302,6 +343,7 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +355,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
     }
@@ -349,12 +390,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userId_);
     }
     if (allowMissingIds_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(4, allowMissingIds_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissingIds_);
     }
     if (deviceInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getDeviceInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeviceInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -364,25 +403,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.RequestMetadata)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.RequestMetadata other = (com.google.cloud.talent.v4beta1.RequestMetadata) obj;
+    com.google.cloud.talent.v4beta1.RequestMetadata other =
+        (com.google.cloud.talent.v4beta1.RequestMetadata) obj;
 
-    if (!getDomain()
-        .equals(other.getDomain())) return false;
-    if (!getSessionId()
-        .equals(other.getSessionId())) return false;
-    if (!getUserId()
-        .equals(other.getUserId())) return false;
-    if (getAllowMissingIds()
-        != other.getAllowMissingIds()) return false;
+    if (!getDomain().equals(other.getDomain())) return false;
+    if (!getSessionId().equals(other.getSessionId())) return false;
+    if (!getUserId().equals(other.getUserId())) return false;
+    if (getAllowMissingIds() != other.getAllowMissingIds()) return false;
     if (hasDeviceInfo() != other.hasDeviceInfo()) return false;
     if (hasDeviceInfo()) {
-      if (!getDeviceInfo()
-          .equals(other.getDeviceInfo())) return false;
+      if (!getDeviceInfo().equals(other.getDeviceInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -402,8 +437,7 @@ public int hashCode() {
     hash = (37 * hash) + USER_ID_FIELD_NUMBER;
     hash = (53 * hash) + getUserId().hashCode();
     hash = (37 * hash) + ALLOW_MISSING_IDS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowMissingIds());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissingIds());
     if (hasDeviceInfo()) {
       hash = (37 * hash) + DEVICE_INFO_FIELD_NUMBER;
       hash = (53 * hash) + getDeviceInfo().hashCode();
@@ -413,97 +447,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.RequestMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.RequestMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Meta information related to the job searcher or entity
    * conducting the job search. This information is used to improve the
@@ -512,33 +553,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.RequestMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.RequestMetadata)
       com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.RequestMetadata.class, com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
+              com.google.cloud.talent.v4beta1.RequestMetadata.class,
+              com.google.cloud.talent.v4beta1.RequestMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,9 +600,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.CommonProto
+          .internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -581,7 +621,8 @@ public com.google.cloud.talent.v4beta1.RequestMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() {
-      com.google.cloud.talent.v4beta1.RequestMetadata result = new com.google.cloud.talent.v4beta1.RequestMetadata(this);
+      com.google.cloud.talent.v4beta1.RequestMetadata result =
+          new com.google.cloud.talent.v4beta1.RequestMetadata(this);
       result.domain_ = domain_;
       result.sessionId_ = sessionId_;
       result.userId_ = userId_;
@@ -599,38 +640,39 @@ public com.google.cloud.talent.v4beta1.RequestMetadata buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.RequestMetadata) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.RequestMetadata)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.RequestMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -638,7 +680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.talent.v4beta1.RequestMetadata other) {
-      if (other == com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance())
+        return this;
       if (!other.getDomain().isEmpty()) {
         domain_ = other.domain_;
         onChanged();
@@ -683,39 +726,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              domain_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                domain_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              sessionId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                sessionId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              userId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                userId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              allowMissingIds_ = input.readBool();
+                break;
+              } // case 26
+            case 32:
+              {
+                allowMissingIds_ = input.readBool();
 
-              break;
-            } // case 32
-            case 42: {
-              input.readMessage(
-                  getDeviceInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 32
+            case 42:
+              {
+                input.readMessage(getDeviceInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -728,6 +775,8 @@ public Builder mergeFrom(
 
     private java.lang.Object domain_ = "";
     /**
+     *
+     *
      * 
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -743,13 +792,13 @@ public Builder mergeFrom(
      * 
* * string domain = 1; + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -758,6 +807,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -773,15 +824,14 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -789,6 +839,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -804,20 +856,22 @@ public java.lang.String getDomain() {
      * 
* * string domain = 1; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -833,15 +887,18 @@ public Builder setDomain(
      * 
* * string domain = 1; + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * The client-defined scope or source of the service call, which typically
@@ -857,16 +914,16 @@ public Builder clearDomain() {
      * 
* * string domain = 1; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -874,6 +931,8 @@ public Builder setDomainBytes( private java.lang.Object sessionId_ = ""; /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -887,13 +946,13 @@ public Builder setDomainBytes(
      * 
* * string session_id = 2; + * * @return The sessionId. */ public java.lang.String getSessionId() { java.lang.Object ref = sessionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sessionId_ = s; return s; @@ -902,6 +961,8 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -915,15 +976,14 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ - public com.google.protobuf.ByteString - getSessionIdBytes() { + public com.google.protobuf.ByteString getSessionIdBytes() { java.lang.Object ref = sessionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sessionId_ = b; return b; } else { @@ -931,6 +991,8 @@ public java.lang.String getSessionId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -944,20 +1006,22 @@ public java.lang.String getSessionId() {
      * 
* * string session_id = 2; + * * @param value The sessionId to set. * @return This builder for chaining. */ - public Builder setSessionId( - java.lang.String value) { + public Builder setSessionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sessionId_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -971,15 +1035,18 @@ public Builder setSessionId(
      * 
* * string session_id = 2; + * * @return This builder for chaining. */ public Builder clearSessionId() { - + sessionId_ = getDefaultInstance().getSessionId(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique session identification string. A session is defined as the
@@ -993,16 +1060,16 @@ public Builder clearSessionId() {
      * 
* * string session_id = 2; + * * @param value The bytes for sessionId to set. * @return This builder for chaining. */ - public Builder setSessionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setSessionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionId_ = value; onChanged(); return this; @@ -1010,6 +1077,8 @@ public Builder setSessionIdBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1023,13 +1092,13 @@ public Builder setSessionIdBytes(
      * 
* * string user_id = 3; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -1038,6 +1107,8 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1051,15 +1122,14 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -1067,6 +1137,8 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1080,20 +1152,22 @@ public java.lang.String getUserId() {
      * 
* * string user_id = 3; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { + public Builder setUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + userId_ = value; onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1107,15 +1181,18 @@ public Builder setUserId(
      * 
* * string user_id = 3; + * * @return This builder for chaining. */ public Builder clearUserId() { - + userId_ = getDefaultInstance().getUserId(); onChanged(); return this; } /** + * + * *
      * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
      * A unique user identification string, as determined by the client.
@@ -1129,23 +1206,25 @@ public Builder clearUserId() {
      * 
* * string user_id = 3; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + userId_ = value; onChanged(); return this; } - private boolean allowMissingIds_ ; + private boolean allowMissingIds_; /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1154,6 +1233,7 @@ public Builder setUserIdBytes(
      * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ @java.lang.Override @@ -1161,6 +1241,8 @@ public boolean getAllowMissingIds() { return allowMissingIds_; } /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1169,16 +1251,19 @@ public boolean getAllowMissingIds() {
      * 
* * bool allow_missing_ids = 4; + * * @param value The allowMissingIds to set. * @return This builder for chaining. */ public Builder setAllowMissingIds(boolean value) { - + allowMissingIds_ = value; onChanged(); return this; } /** + * + * *
      * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
      * available for some reason. It is highly recommended not to set this field
@@ -1187,10 +1272,11 @@ public Builder setAllowMissingIds(boolean value) {
      * 
* * bool allow_missing_ids = 4; + * * @return This builder for chaining. */ public Builder clearAllowMissingIds() { - + allowMissingIds_ = false; onChanged(); return this; @@ -1198,36 +1284,49 @@ public Builder clearAllowMissingIds() { private com.google.cloud.talent.v4beta1.DeviceInfo deviceInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> deviceInfoBuilder_; + com.google.cloud.talent.v4beta1.DeviceInfo, + com.google.cloud.talent.v4beta1.DeviceInfo.Builder, + com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> + deviceInfoBuilder_; /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ public boolean hasDeviceInfo() { return deviceInfoBuilder_ != null || deviceInfo_ != null; } /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
      * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ public com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo() { if (deviceInfoBuilder_ == null) { - return deviceInfo_ == null ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_; + return deviceInfo_ == null + ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() + : deviceInfo_; } else { return deviceInfoBuilder_.getMessage(); } } /** + * + * *
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1249,6 +1348,8 @@ public Builder setDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1268,6 +1369,8 @@ public Builder setDeviceInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1279,7 +1382,9 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value)
       if (deviceInfoBuilder_ == null) {
         if (deviceInfo_ != null) {
           deviceInfo_ =
-            com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder(deviceInfo_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.DeviceInfo.newBuilder(deviceInfo_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           deviceInfo_ = value;
         }
@@ -1291,6 +1396,8 @@ public Builder mergeDeviceInfo(com.google.cloud.talent.v4beta1.DeviceInfo value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1310,6 +1417,8 @@ public Builder clearDeviceInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1318,11 +1427,13 @@ public Builder clearDeviceInfo() {
      * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5;
      */
     public com.google.cloud.talent.v4beta1.DeviceInfo.Builder getDeviceInfoBuilder() {
-      
+
       onChanged();
       return getDeviceInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1334,11 +1445,14 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
       if (deviceInfoBuilder_ != null) {
         return deviceInfoBuilder_.getMessageOrBuilder();
       } else {
-        return deviceInfo_ == null ?
-            com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance() : deviceInfo_;
+        return deviceInfo_ == null
+            ? com.google.cloud.talent.v4beta1.DeviceInfo.getDefaultInstance()
+            : deviceInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * The type of device used by the job seeker at the time of the call to the
      * service.
@@ -1347,21 +1461,24 @@ public com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder getDeviceInfoOrBuilde
      * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder> 
+            com.google.cloud.talent.v4beta1.DeviceInfo,
+            com.google.cloud.talent.v4beta1.DeviceInfo.Builder,
+            com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>
         getDeviceInfoFieldBuilder() {
       if (deviceInfoBuilder_ == null) {
-        deviceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.DeviceInfo, com.google.cloud.talent.v4beta1.DeviceInfo.Builder, com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>(
-                getDeviceInfo(),
-                getParentForChildren(),
-                isClean());
+        deviceInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.DeviceInfo,
+                com.google.cloud.talent.v4beta1.DeviceInfo.Builder,
+                com.google.cloud.talent.v4beta1.DeviceInfoOrBuilder>(
+                getDeviceInfo(), getParentForChildren(), isClean());
         deviceInfo_ = null;
       }
       return deviceInfoBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1371,12 +1488,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.RequestMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.RequestMetadata)
   private static final com.google.cloud.talent.v4beta1.RequestMetadata DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.RequestMetadata();
   }
@@ -1385,27 +1502,27 @@ public static com.google.cloud.talent.v4beta1.RequestMetadata getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RequestMetadata parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RequestMetadata parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1420,6 +1537,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.RequestMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
similarity index 87%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
index f114b91a946a..bca38bf8c511 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/RequestMetadataOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface RequestMetadataOrBuilder extends
+public interface RequestMetadataOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.RequestMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -23,10 +41,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string domain = 1; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * The client-defined scope or source of the service call, which typically
@@ -42,12 +63,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string domain = 1; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -61,10 +84,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string session_id = 2; + * * @return The sessionId. */ java.lang.String getSessionId(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique session identification string. A session is defined as the
@@ -78,12 +104,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string session_id = 2; + * * @return The bytes for sessionId. */ - com.google.protobuf.ByteString - getSessionIdBytes(); + com.google.protobuf.ByteString getSessionIdBytes(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -97,10 +125,13 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string user_id = 3; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * Required if [allow_missing_ids][google.cloud.talent.v4beta1.RequestMetadata.allow_missing_ids] is unset or `false`.
    * A unique user identification string, as determined by the client.
@@ -114,12 +145,14 @@ public interface RequestMetadataOrBuilder extends
    * 
* * string user_id = 3; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Only set when any of [domain][google.cloud.talent.v4beta1.RequestMetadata.domain], [session_id][google.cloud.talent.v4beta1.RequestMetadata.session_id] and [user_id][google.cloud.talent.v4beta1.RequestMetadata.user_id] isn't
    * available for some reason. It is highly recommended not to set this field
@@ -128,31 +161,40 @@ public interface RequestMetadataOrBuilder extends
    * 
* * bool allow_missing_ids = 4; + * * @return The allowMissingIds. */ boolean getAllowMissingIds(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return Whether the deviceInfo field is set. */ boolean hasDeviceInfo(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
    * 
* * .google.cloud.talent.v4beta1.DeviceInfo device_info = 5; + * * @return The deviceInfo. */ com.google.cloud.talent.v4beta1.DeviceInfo getDeviceInfo(); /** + * + * *
    * The type of device used by the job seeker at the time of the call to the
    * service.
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
similarity index 65%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
index b3e3aafa1e37..7c86c93f1c3b 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadata.java
@@ -1,62 +1,84 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Additional information returned to client, such as debugging information.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ResponseMetadata} */ -public final class ResponseMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.ResponseMetadata) ResponseMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResponseMetadata.newBuilder() to construct. private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResponseMetadata() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResponseMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ResponseMetadata.class, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4beta1.ResponseMetadata.class, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); } public static final int REQUEST_ID_FIELD_NUMBER = 1; private volatile java.lang.Object requestId_; /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The requestId. */ @java.lang.Override @@ -65,30 +87,30 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -97,6 +119,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_); } @@ -133,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.ResponseMetadata)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.ResponseMetadata other = (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; + com.google.cloud.talent.v4beta1.ResponseMetadata other = + (com.google.cloud.talent.v4beta1.ResponseMetadata) obj; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,130 +182,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.ResponseMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.ResponseMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Additional information returned to client, such as debugging information.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.ResponseMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.ResponseMetadata) com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.ResponseMetadata.class, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); + com.google.cloud.talent.v4beta1.ResponseMetadata.class, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; } @java.lang.Override @@ -314,7 +342,8 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata build() { @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { - com.google.cloud.talent.v4beta1.ResponseMetadata result = new com.google.cloud.talent.v4beta1.ResponseMetadata(this); + com.google.cloud.talent.v4beta1.ResponseMetadata result = + new com.google.cloud.talent.v4beta1.ResponseMetadata(this); result.requestId_ = requestId_; onBuilt(); return result; @@ -324,38 +353,39 @@ public com.google.cloud.talent.v4beta1.ResponseMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.ResponseMetadata) { - return mergeFrom((com.google.cloud.talent.v4beta1.ResponseMetadata)other); + return mergeFrom((com.google.cloud.talent.v4beta1.ResponseMetadata) other); } else { super.mergeFrom(other); return this; @@ -363,7 +393,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.ResponseMetadata other) { - if (other == com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()) + return this; if (!other.getRequestId().isEmpty()) { requestId_ = other.requestId_; onChanged(); @@ -394,17 +425,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - requestId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + requestId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +450,21 @@ public Builder mergeFrom( private java.lang.Object requestId_ = ""; /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -438,21 +473,22 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -460,64 +496,71 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { + public Builder setRequestId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + requestId_ = value; onChanged(); return this; } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @return This builder for chaining. */ public Builder clearRequestId() { - + requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** + * + * *
      * A unique id associated with this call.
      * This id is logged for tracking purposes.
      * 
* * string request_id = 1; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +570,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.ResponseMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.ResponseMetadata) private static final com.google.cloud.talent.v4beta1.ResponseMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.ResponseMetadata(); } @@ -541,27 +584,27 @@ public static com.google.cloud.talent.v4beta1.ResponseMetadata getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,6 +619,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.ResponseMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java similarity index 50% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java index eaf1c9869787..45601997b428 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/ResponseMetadataOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface ResponseMetadataOrBuilder extends +public interface ResponseMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.ResponseMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * A unique id associated with this call.
    * This id is logged for tracking purposes.
    * 
* * string request_id = 1; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java similarity index 85% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java index 7f374b34ad34..12fb92160926 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * The Request body of the `SearchJobs` call.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest} */ -public final class SearchJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsRequest) SearchJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchJobsRequest.newBuilder() to construct. private SearchJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchJobsRequest() { parent_ = ""; searchMode_ = 0; @@ -32,30 +50,33 @@ private SearchJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); } /** + * + * *
    * A string-represented enumeration of the job search mode. The service
    * operate differently for different modes of service.
@@ -63,9 +84,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode}
    */
-  public enum SearchMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SearchMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -75,6 +97,8 @@ public enum SearchMode
      */
     SEARCH_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -84,6 +108,8 @@ public enum SearchMode
      */
     JOB_SEARCH(1),
     /**
+     *
+     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -99,6 +125,8 @@ public enum SearchMode
     ;
 
     /**
+     *
+     *
      * 
      * The mode of the search method isn't specified. The default search
      * behavior is identical to JOB_SEARCH search behavior.
@@ -108,6 +136,8 @@ public enum SearchMode
      */
     public static final int SEARCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The job search matches against all jobs, and featured jobs
      * (jobs with promotionValue > 0) are not specially handled.
@@ -117,6 +147,8 @@ public enum SearchMode
      */
     public static final int JOB_SEARCH_VALUE = 1;
     /**
+     *
+     *
      * 
      * The job search matches only against featured jobs (jobs with a
      * promotionValue > 0). This method doesn't return any jobs having a
@@ -129,7 +161,6 @@ public enum SearchMode
      */
     public static final int FEATURED_JOB_SEARCH_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -154,49 +185,51 @@ public static SearchMode valueOf(int value) {
      */
     public static SearchMode forNumber(int value) {
       switch (value) {
-        case 0: return SEARCH_MODE_UNSPECIFIED;
-        case 1: return JOB_SEARCH;
-        case 2: return FEATURED_JOB_SEARCH;
-        default: return null;
+        case 0:
+          return SEARCH_MODE_UNSPECIFIED;
+        case 1:
+          return JOB_SEARCH;
+        case 2:
+          return FEATURED_JOB_SEARCH;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        SearchMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public SearchMode findValueByNumber(int number) {
-              return SearchMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public SearchMode findValueByNumber(int number) {
+            return SearchMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final SearchMode[] VALUES = values();
 
-    public static SearchMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static SearchMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -214,6 +247,8 @@ private SearchMode(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -225,9 +260,10 @@ private SearchMode(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel}
    */
-  public enum DiversificationLevel
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum DiversificationLevel implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The diversification level isn't specified.
      * 
@@ -236,6 +272,8 @@ public enum DiversificationLevel */ DIVERSIFICATION_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -246,6 +284,8 @@ public enum DiversificationLevel
      */
     DISABLED(1),
     /**
+     *
+     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -262,6 +302,8 @@ public enum DiversificationLevel
     ;
 
     /**
+     *
+     *
      * 
      * The diversification level isn't specified.
      * 
@@ -270,6 +312,8 @@ public enum DiversificationLevel */ public static final int DIVERSIFICATION_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Disables diversification. Jobs that would normally be pushed to the last
      * page would not have their positions altered. This may result in highly
@@ -280,6 +324,8 @@ public enum DiversificationLevel
      */
     public static final int DISABLED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Default diversifying behavior. The result list is ordered so that
      * highly similar results are pushed to the end of the last page of search
@@ -293,7 +339,6 @@ public enum DiversificationLevel
      */
     public static final int SIMPLE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,10 +363,14 @@ public static DiversificationLevel valueOf(int value) {
      */
     public static DiversificationLevel forNumber(int value) {
       switch (value) {
-        case 0: return DIVERSIFICATION_LEVEL_UNSPECIFIED;
-        case 1: return DISABLED;
-        case 2: return SIMPLE;
-        default: return null;
+        case 0:
+          return DIVERSIFICATION_LEVEL_UNSPECIFIED;
+        case 1:
+          return DISABLED;
+        case 2:
+          return SIMPLE;
+        default:
+          return null;
       }
     }
 
@@ -329,29 +378,31 @@ public static DiversificationLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DiversificationLevel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DiversificationLevel findValueByNumber(int number) {
-              return DiversificationLevel.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap
+        internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public DiversificationLevel findValueByNumber(int number) {
+                return DiversificationLevel.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final DiversificationLevel[] VALUES = values();
@@ -359,8 +410,7 @@ public DiversificationLevel findValueByNumber(int number) {
     public static DiversificationLevel valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -378,6 +428,8 @@ private DiversificationLevel(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Controls what keyword matching behavior the search has. When keyword
    * matching is enabled, a keyword match returns jobs that may not match given
@@ -397,9 +449,10 @@ private DiversificationLevel(int value) {
    *
    * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode}
    */
-  public enum KeywordMatchMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum KeywordMatchMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -409,6 +462,8 @@ public enum KeywordMatchMode
      */
     KEYWORD_MATCH_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Disables keyword matching.
      * 
@@ -417,6 +472,8 @@ public enum KeywordMatchMode */ KEYWORD_MATCH_DISABLED(1), /** + * + * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
      * [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
@@ -428,6 +485,8 @@ public enum KeywordMatchMode
      */
     KEYWORD_MATCH_ALL(2),
     /**
+     *
+     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
      * 
@@ -439,6 +498,8 @@ public enum KeywordMatchMode ; /** + * + * *
      * The keyword match option isn't specified. Defaults to
      * [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] behavior.
@@ -448,6 +509,8 @@ public enum KeywordMatchMode
      */
     public static final int KEYWORD_MATCH_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Disables keyword matching.
      * 
@@ -456,6 +519,8 @@ public enum KeywordMatchMode */ public static final int KEYWORD_MATCH_DISABLED_VALUE = 1; /** + * + * *
      * Enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title],
      * [Job.description][google.cloud.talent.v4beta1.Job.description], [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name], [Job.addresses][google.cloud.talent.v4beta1.Job.addresses],
@@ -467,6 +532,8 @@ public enum KeywordMatchMode
      */
     public static final int KEYWORD_MATCH_ALL_VALUE = 2;
     /**
+     *
+     *
      * 
      * Only enable keyword matching over [Job.title][google.cloud.talent.v4beta1.Job.title].
      * 
@@ -475,7 +542,6 @@ public enum KeywordMatchMode */ public static final int KEYWORD_MATCH_TITLE_ONLY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -500,41 +566,47 @@ public static KeywordMatchMode valueOf(int value) { */ public static KeywordMatchMode forNumber(int value) { switch (value) { - case 0: return KEYWORD_MATCH_MODE_UNSPECIFIED; - case 1: return KEYWORD_MATCH_DISABLED; - case 2: return KEYWORD_MATCH_ALL; - case 3: return KEYWORD_MATCH_TITLE_ONLY; - default: return null; + case 0: + return KEYWORD_MATCH_MODE_UNSPECIFIED; + case 1: + return KEYWORD_MATCH_DISABLED; + case 2: + return KEYWORD_MATCH_ALL; + case 3: + return KEYWORD_MATCH_TITLE_ONLY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - KeywordMatchMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeywordMatchMode findValueByNumber(int number) { - return KeywordMatchMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KeywordMatchMode findValueByNumber(int number) { + return KeywordMatchMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor().getEnumTypes().get(2); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.SearchJobsRequest.getDescriptor() + .getEnumTypes() + .get(2); } private static final KeywordMatchMode[] VALUES = values(); @@ -542,8 +614,7 @@ public KeywordMatchMode findValueByNumber(int number) { public static KeywordMatchMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -560,11 +631,14 @@ private KeywordMatchMode(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode) } - public interface CustomRankingInfoOrBuilder extends + public interface CustomRankingInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -572,11 +646,16 @@ public interface CustomRankingInfoOrBuilder extends
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ int getImportanceLevelValue(); /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -584,12 +663,18 @@ public interface CustomRankingInfoOrBuilder extends
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel(); /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -610,10 +695,13 @@ public interface CustomRankingInfoOrBuilder extends
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ java.lang.String getRankingExpression(); /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -634,27 +722,30 @@ public interface CustomRankingInfoOrBuilder extends
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ - com.google.protobuf.ByteString - getRankingExpressionBytes(); + com.google.protobuf.ByteString getRankingExpressionBytes(); } /** + * + * *
    * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo} */ - public static final class CustomRankingInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CustomRankingInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) CustomRankingInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CustomRankingInfo.newBuilder() to construct. private CustomRankingInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CustomRankingInfo() { importanceLevel_ = 0; rankingExpression_ = ""; @@ -662,39 +753,44 @@ private CustomRankingInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomRankingInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); } /** + * + * *
      * The importance level for [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression].
      * 
* - * Protobuf enum {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} + * Protobuf enum {@code + * google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel} */ - public enum ImportanceLevel - implements com.google.protobuf.ProtocolMessageEnum { + public enum ImportanceLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value if the importance level isn't specified.
        * 
@@ -703,6 +799,8 @@ public enum ImportanceLevel */ IMPORTANCE_LEVEL_UNSPECIFIED(0), /** + * + * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -713,6 +811,8 @@ public enum ImportanceLevel
        */
       NONE(1),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -723,6 +823,8 @@ public enum ImportanceLevel
        */
       LOW(2),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -733,6 +835,8 @@ public enum ImportanceLevel
        */
       MILD(3),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -743,6 +847,8 @@ public enum ImportanceLevel
        */
       MEDIUM(4),
       /**
+       *
+       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -753,6 +859,8 @@ public enum ImportanceLevel
        */
       HIGH(5),
       /**
+       *
+       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -766,6 +874,8 @@ public enum ImportanceLevel
       ;
 
       /**
+       *
+       *
        * 
        * Default value if the importance level isn't specified.
        * 
@@ -774,6 +884,8 @@ public enum ImportanceLevel */ public static final int IMPORTANCE_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The given ranking expression is of None importance, existing relevance
        * score (determined by API algorithm) dominates job's final ranking
@@ -784,6 +896,8 @@ public enum ImportanceLevel
        */
       public static final int NONE_VALUE = 1;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Low importance in terms of job's
        * final ranking position compared to existing relevance
@@ -794,6 +908,8 @@ public enum ImportanceLevel
        */
       public static final int LOW_VALUE = 2;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Mild importance in terms of job's
        * final ranking position compared to existing relevance
@@ -804,6 +920,8 @@ public enum ImportanceLevel
        */
       public static final int MILD_VALUE = 3;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Medium importance in terms of job's
        * final ranking position compared to existing relevance
@@ -814,6 +932,8 @@ public enum ImportanceLevel
        */
       public static final int MEDIUM_VALUE = 4;
       /**
+       *
+       *
        * 
        * The given ranking expression is of High importance in terms of job's
        * final ranking position compared to existing relevance
@@ -824,6 +944,8 @@ public enum ImportanceLevel
        */
       public static final int HIGH_VALUE = 5;
       /**
+       *
+       *
        * 
        * The given ranking expression is of Extreme importance, and dominates
        * job's final ranking position with existing relevance
@@ -834,7 +956,6 @@ public enum ImportanceLevel
        */
       public static final int EXTREME_VALUE = 6;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -859,14 +980,22 @@ public static ImportanceLevel valueOf(int value) {
        */
       public static ImportanceLevel forNumber(int value) {
         switch (value) {
-          case 0: return IMPORTANCE_LEVEL_UNSPECIFIED;
-          case 1: return NONE;
-          case 2: return LOW;
-          case 3: return MILD;
-          case 4: return MEDIUM;
-          case 5: return HIGH;
-          case 6: return EXTREME;
-          default: return null;
+          case 0:
+            return IMPORTANCE_LEVEL_UNSPECIFIED;
+          case 1:
+            return NONE;
+          case 2:
+            return LOW;
+          case 3:
+            return MILD;
+          case 4:
+            return MEDIUM;
+          case 5:
+            return HIGH;
+          case 6:
+            return EXTREME;
+          default:
+            return null;
         }
       }
 
@@ -874,29 +1003,31 @@ public static ImportanceLevel forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          ImportanceLevel> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public ImportanceLevel findValueByNumber(int number) {
-                return ImportanceLevel.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap
+          internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap() {
+                public ImportanceLevel findValueByNumber(int number) {
+                  return ImportanceLevel.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final ImportanceLevel[] VALUES = values();
@@ -904,8 +1035,7 @@ public ImportanceLevel findValueByNumber(int number) {
       public static ImportanceLevel valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException(
-            "EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -925,6 +1055,8 @@ private ImportanceLevel(int value) {
     public static final int IMPORTANCE_LEVEL_FIELD_NUMBER = 1;
     private int importanceLevel_;
     /**
+     *
+     *
      * 
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -932,13 +1064,19 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override public int getImportanceLevelValue() { + @java.lang.Override + public int getImportanceLevelValue() { return importanceLevel_; } /** + * + * *
      * Required. Controls over how important the score of
      * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -946,18 +1084,30 @@ private ImportanceLevel(int value) {
      * An error is thrown if not specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .valueOf(importanceLevel_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .UNRECOGNIZED + : result; } public static final int RANKING_EXPRESSION_FIELD_NUMBER = 2; private volatile java.lang.Object rankingExpression_; /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -978,6 +1128,7 @@ private ImportanceLevel(int value) {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ @java.lang.Override @@ -986,14 +1137,15 @@ public java.lang.String getRankingExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; } } /** + * + * *
      * Required. Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm). A combination of the ranking
@@ -1014,16 +1166,15 @@ public java.lang.String getRankingExpression() {
      * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getRankingExpressionBytes() { + public com.google.protobuf.ByteString getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1032,6 +1183,7 @@ public java.lang.String getRankingExpression() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1043,9 +1195,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (importanceLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (importanceLevel_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .IMPORTANCE_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { @@ -1060,9 +1214,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (importanceLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.IMPORTANCE_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, importanceLevel_); + if (importanceLevel_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .IMPORTANCE_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, importanceLevel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rankingExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rankingExpression_); @@ -1075,16 +1231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other = + (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) obj; if (importanceLevel_ != other.importanceLevel_) return false; - if (!getRankingExpression() - .equals(other.getRankingExpression())) return false; + if (!getRankingExpression().equals(other.getRankingExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1106,87 +1262,95 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1196,39 +1360,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Custom ranking information for [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.class, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder.class); } - // Construct using com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1240,14 +1407,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { - return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance(); + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getDefaultInstanceForType() { + return com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + .getDefaultInstance(); } @java.lang.Override @@ -1261,7 +1430,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo result = new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(this); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo result = + new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(this); result.importanceLevel_ = importanceLevel_; result.rankingExpression_ = rankingExpression_; onBuilt(); @@ -1272,46 +1442,53 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo)other); + return mergeFrom( + (com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo other) { + if (other + == com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + .getDefaultInstance()) return this; if (other.importanceLevel_ != 0) { setImportanceLevelValue(other.getImportanceLevelValue()); } @@ -1345,22 +1522,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - importanceLevel_ = input.readEnum(); - - break; - } // case 8 - case 18: { - rankingExpression_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + importanceLevel_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + rankingExpression_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1373,6 +1553,8 @@ public Builder mergeFrom( private int importanceLevel_ = 0; /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1380,13 +1562,19 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for importanceLevel. */ - @java.lang.Override public int getImportanceLevelValue() { + @java.lang.Override + public int getImportanceLevelValue() { return importanceLevel_; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1394,17 +1582,22 @@ public Builder mergeFrom(
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for importanceLevel to set. * @return This builder for chaining. */ public Builder setImportanceLevelValue(int value) { - + importanceLevel_ = value; onChanged(); return this; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1412,16 +1605,27 @@ public Builder setImportanceLevelValue(int value) {
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The importanceLevel. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel getImportanceLevel() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + getImportanceLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.valueOf(importanceLevel_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .valueOf(importanceLevel_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + .UNRECOGNIZED + : result; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1429,20 +1633,27 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Impor
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The importanceLevel to set. * @return This builder for chaining. */ - public Builder setImportanceLevel(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel value) { + public Builder setImportanceLevel( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel + value) { if (value == null) { throw new NullPointerException(); } - + importanceLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Required. Controls over how important the score of
        * [CustomRankingInfo.ranking_expression][google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ranking_expression] gets applied to job's final
@@ -1450,11 +1661,14 @@ public Builder setImportanceLevel(com.google.cloud.talent.v4beta1.SearchJobsRequ
        * An error is thrown if not specified.
        * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel importance_level = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearImportanceLevel() { - + importanceLevel_ = 0; onChanged(); return this; @@ -1462,6 +1676,8 @@ public Builder clearImportanceLevel() { private java.lang.Object rankingExpression_ = ""; /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1482,13 +1698,13 @@ public Builder clearImportanceLevel() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rankingExpression. */ public java.lang.String getRankingExpression() { java.lang.Object ref = rankingExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rankingExpression_ = s; return s; @@ -1497,6 +1713,8 @@ public java.lang.String getRankingExpression() { } } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1517,15 +1735,14 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for rankingExpression. */ - public com.google.protobuf.ByteString - getRankingExpressionBytes() { + public com.google.protobuf.ByteString getRankingExpressionBytes() { java.lang.Object ref = rankingExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rankingExpression_ = b; return b; } else { @@ -1533,6 +1750,8 @@ public java.lang.String getRankingExpression() { } } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1553,20 +1772,22 @@ public java.lang.String getRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpression( - java.lang.String value) { + public Builder setRankingExpression(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rankingExpression_ = value; onChanged(); return this; } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1587,15 +1808,18 @@ public Builder setRankingExpression(
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRankingExpression() { - + rankingExpression_ = getDefaultInstance().getRankingExpression(); onChanged(); return this; } /** + * + * *
        * Required. Controls over how job documents get ranked on top of existing relevance
        * score (determined by API algorithm). A combination of the ranking
@@ -1616,20 +1840,21 @@ public Builder clearRankingExpression() {
        * 
* * string ranking_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for rankingExpression to set. * @return This builder for chaining. */ - public Builder setRankingExpressionBytes( - com.google.protobuf.ByteString value) { + public Builder setRankingExpressionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rankingExpression_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1642,41 +1867,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo) - private static final com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo DEFAULT_INSTANCE; + private static final com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo(); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstance() { + public static com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CustomRankingInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CustomRankingInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1688,15 +1916,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -1704,7 +1934,10 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getDe
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -1713,14 +1946,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -1728,17 +1962,18 @@ public java.lang.String getParent() {
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1749,42 +1984,58 @@ public java.lang.String getParent() { public static final int SEARCH_MODE_FIELD_NUMBER = 2; private int searchMode_; /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override public int getSearchModeValue() { + @java.lang.Override + public int getSearchModeValue() { return searchMode_; } /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED + : result; } public static final int REQUEST_METADATA_FIELD_NUMBER = 3; private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ @java.lang.Override @@ -1792,27 +2043,38 @@ public boolean hasRequestMetadata() { return requestMetadata_ != null; } /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata() { - return requestMetadata_ == null ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() + : requestMetadata_; } /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { @@ -1822,11 +2084,14 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada public static final int JOB_QUERY_FIELD_NUMBER = 4; private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ @java.lang.Override @@ -1834,18 +2099,25 @@ public boolean hasJobQuery() { return jobQuery_ != null; } /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return The jobQuery. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobQuery getJobQuery() { - return jobQuery_ == null ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() + : jobQuery_; } /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -1860,6 +2132,8 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() public static final int ENABLE_BROADENING_FIELD_NUMBER = 5; private boolean enableBroadening_; /** + * + * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -1868,6 +2142,7 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder()
    * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ @java.lang.Override @@ -1878,23 +2153,29 @@ public boolean getEnableBroadening() { public static final int REQUIRE_PRECISE_RESULT_SIZE_FIELD_NUMBER = 6; private boolean requirePreciseResultSize_; /** + * + * *
    * This field is deprecated.
    * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ @java.lang.Override - @java.lang.Deprecated public boolean getRequirePreciseResultSize() { + @java.lang.Deprecated + public boolean getRequirePreciseResultSize() { return requirePreciseResultSize_; } public static final int HISTOGRAM_QUERIES_FIELD_NUMBER = 7; private java.util.List histogramQueries_; /** + * + * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -1988,6 +2269,8 @@ public java.util.List getHistogr
     return histogramQueries_;
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2077,11 +2360,13 @@ public java.util.List getHistogr
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getHistogramQueriesOrBuilderList() {
     return histogramQueries_;
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2175,6 +2460,8 @@ public int getHistogramQueriesCount() {
     return histogramQueries_.size();
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2268,6 +2555,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
     return histogramQueries_.get(index);
   }
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -2365,35 +2654,46 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
   public static final int JOB_VIEW_FIELD_NUMBER = 8;
   private int jobView_;
   /**
+   *
+   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The jobView. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = + com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } public static final int OFFSET_FIELD_NUMBER = 9; private int offset_; /** + * + * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -2406,6 +2706,7 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
    * 
* * int32 offset = 9; + * * @return The offset. */ @java.lang.Override @@ -2416,6 +2717,8 @@ public int getOffset() { public static final int PAGE_SIZE_FIELD_NUMBER = 10; private int pageSize_; /** + * + * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -2423,6 +2726,7 @@ public int getOffset() {
    * 
* * int32 page_size = 10; + * * @return The pageSize. */ @java.lang.Override @@ -2433,6 +2737,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 11; private volatile java.lang.Object pageToken_; /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -2440,6 +2746,7 @@ public int getPageSize() {
    * 
* * string page_token = 11; + * * @return The pageToken. */ @java.lang.Override @@ -2448,14 +2755,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -2463,16 +2771,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -2483,6 +2790,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 12; private volatile java.lang.Object orderBy_; /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2535,6 +2844,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 12; + * * @return The orderBy. */ @java.lang.Override @@ -2543,14 +2853,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -2603,16 +2914,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -2623,6 +2933,8 @@ public java.lang.String getOrderBy() { public static final int DIVERSIFICATION_LEVEL_FIELD_NUMBER = 13; private int diversificationLevel_; /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2634,13 +2946,19 @@ public java.lang.String getOrderBy() {
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override public int getDiversificationLevelValue() { + @java.lang.Override + public int getDiversificationLevelValue() { return diversificationLevel_; } /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -2652,24 +2970,38 @@ public java.lang.String getOrderBy() {
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel + getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf( + diversificationLevel_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED + : result; } public static final int CUSTOM_RANKING_INFO_FIELD_NUMBER = 14; private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ @java.lang.Override @@ -2677,34 +3009,49 @@ public boolean hasCustomRankingInfo() { return customRankingInfo_ != null; } /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { - return customRankingInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getCustomRankingInfo() { + return customRankingInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() + : customRankingInfo_; } /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder() { return getCustomRankingInfo(); } public static final int DISABLE_KEYWORD_MATCH_FIELD_NUMBER = 16; private boolean disableKeywordMatch_; /** + * + * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -2731,6 +3078,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuil
    * 
* * bool disable_keyword_match = 16; + * * @return The disableKeywordMatch. */ @java.lang.Override @@ -2741,35 +3089,50 @@ public boolean getDisableKeywordMatch() { public static final int KEYWORD_MATCH_MODE_FIELD_NUMBER = 18; private int keywordMatchMode_; /** + * + * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override public int getKeywordMatchModeValue() { + @java.lang.Override + public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** + * + * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf( + keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2781,12 +3144,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (searchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { + if (searchMode_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, searchMode_); } if (requestMetadata_ != null) { @@ -2819,7 +3183,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, orderBy_); } - if (diversificationLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { + if (diversificationLevel_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel + .DIVERSIFICATION_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(13, diversificationLevel_); } if (customRankingInfo_ != null) { @@ -2828,7 +3195,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (disableKeywordMatch_ != false) { output.writeBool(16, disableKeywordMatch_); } - if (keywordMatchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { + if (keywordMatchMode_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(18, keywordMatchMode_); } getUnknownFields().writeTo(output); @@ -2843,41 +3213,34 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (searchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, searchMode_); + if (searchMode_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.SEARCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, searchMode_); } if (requestMetadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRequestMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestMetadata()); } if (jobQuery_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getJobQuery()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getJobQuery()); } if (enableBroadening_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, enableBroadening_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableBroadening_); } if (requirePreciseResultSize_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requirePreciseResultSize_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requirePreciseResultSize_); } for (int i = 0; i < histogramQueries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, histogramQueries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, histogramQueries_.get(i)); } if (jobView_ != com.google.cloud.talent.v4beta1.JobView.JOB_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, jobView_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, jobView_); } if (offset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(9, offset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, offset_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(10, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, pageToken_); @@ -2885,21 +3248,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, orderBy_); } - if (diversificationLevel_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.DIVERSIFICATION_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(13, diversificationLevel_); + if (diversificationLevel_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel + .DIVERSIFICATION_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, diversificationLevel_); } if (customRankingInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getCustomRankingInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getCustomRankingInfo()); } if (disableKeywordMatch_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, disableKeywordMatch_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, disableKeywordMatch_); } - if (keywordMatchMode_ != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(18, keywordMatchMode_); + if (keywordMatchMode_ + != com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode + .KEYWORD_MATCH_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, keywordMatchMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2909,49 +3274,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsRequest other = (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; + com.google.cloud.talent.v4beta1.SearchJobsRequest other = + (com.google.cloud.talent.v4beta1.SearchJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (searchMode_ != other.searchMode_) return false; if (hasRequestMetadata() != other.hasRequestMetadata()) return false; if (hasRequestMetadata()) { - if (!getRequestMetadata() - .equals(other.getRequestMetadata())) return false; + if (!getRequestMetadata().equals(other.getRequestMetadata())) return false; } if (hasJobQuery() != other.hasJobQuery()) return false; if (hasJobQuery()) { - if (!getJobQuery() - .equals(other.getJobQuery())) return false; - } - if (getEnableBroadening() - != other.getEnableBroadening()) return false; - if (getRequirePreciseResultSize() - != other.getRequirePreciseResultSize()) return false; - if (!getHistogramQueriesList() - .equals(other.getHistogramQueriesList())) return false; + if (!getJobQuery().equals(other.getJobQuery())) return false; + } + if (getEnableBroadening() != other.getEnableBroadening()) return false; + if (getRequirePreciseResultSize() != other.getRequirePreciseResultSize()) return false; + if (!getHistogramQueriesList().equals(other.getHistogramQueriesList())) return false; if (jobView_ != other.jobView_) return false; - if (getOffset() - != other.getOffset()) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (getOffset() != other.getOffset()) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (diversificationLevel_ != other.diversificationLevel_) return false; if (hasCustomRankingInfo() != other.hasCustomRankingInfo()) return false; if (hasCustomRankingInfo()) { - if (!getCustomRankingInfo() - .equals(other.getCustomRankingInfo())) return false; + if (!getCustomRankingInfo().equals(other.getCustomRankingInfo())) return false; } - if (getDisableKeywordMatch() - != other.getDisableKeywordMatch()) return false; + if (getDisableKeywordMatch() != other.getDisableKeywordMatch()) return false; if (keywordMatchMode_ != other.keywordMatchMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2977,11 +3331,9 @@ public int hashCode() { hash = (53 * hash) + getJobQuery().hashCode(); } hash = (37 * hash) + ENABLE_BROADENING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableBroadening()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableBroadening()); hash = (37 * hash) + REQUIRE_PRECISE_RESULT_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequirePreciseResultSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequirePreciseResultSize()); if (getHistogramQueriesCount() > 0) { hash = (37 * hash) + HISTOGRAM_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getHistogramQueriesList().hashCode(); @@ -3003,8 +3355,7 @@ public int hashCode() { hash = (53 * hash) + getCustomRankingInfo().hashCode(); } hash = (37 * hash) + DISABLE_KEYWORD_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisableKeywordMatch()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableKeywordMatch()); hash = (37 * hash) + KEYWORD_MATCH_MODE_FIELD_NUMBER; hash = (53 * hash) + keywordMatchMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -3013,129 +3364,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The Request body of the `SearchJobs` call.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsRequest) com.google.cloud.talent.v4beta1.SearchJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsRequest.class, com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsRequest.class, + com.google.cloud.talent.v4beta1.SearchJobsRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3192,9 +3549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; } @java.lang.Override @@ -3213,7 +3570,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsRequest result = new com.google.cloud.talent.v4beta1.SearchJobsRequest(this); + com.google.cloud.talent.v4beta1.SearchJobsRequest result = + new com.google.cloud.talent.v4beta1.SearchJobsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.searchMode_ = searchMode_; @@ -3259,38 +3617,39 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -3298,7 +3657,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -3336,9 +3696,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsRequest other histogramQueriesBuilder_ = null; histogramQueries_ = other.histogramQueries_; bitField0_ = (bitField0_ & ~0x00000001); - histogramQueriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHistogramQueriesFieldBuilder() : null; + histogramQueriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHistogramQueriesFieldBuilder() + : null; } else { histogramQueriesBuilder_.addAllMessages(other.histogramQueries_); } @@ -3399,106 +3760,117 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - searchMode_ = input.readEnum(); + break; + } // case 10 + case 16: + { + searchMode_ = input.readEnum(); - break; - } // case 16 - case 26: { - input.readMessage( - getRequestMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 16 + case 26: + { + input.readMessage(getRequestMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - input.readMessage( - getJobQueryFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getJobQueryFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 40: { - enableBroadening_ = input.readBool(); + break; + } // case 34 + case 40: + { + enableBroadening_ = input.readBool(); - break; - } // case 40 - case 48: { - requirePreciseResultSize_ = input.readBool(); + break; + } // case 40 + case 48: + { + requirePreciseResultSize_ = input.readBool(); - break; - } // case 48 - case 58: { - com.google.cloud.talent.v4beta1.HistogramQuery m = - input.readMessage( - com.google.cloud.talent.v4beta1.HistogramQuery.parser(), - extensionRegistry); - if (histogramQueriesBuilder_ == null) { - ensureHistogramQueriesIsMutable(); - histogramQueries_.add(m); - } else { - histogramQueriesBuilder_.addMessage(m); - } - break; - } // case 58 - case 64: { - jobView_ = input.readEnum(); + break; + } // case 48 + case 58: + { + com.google.cloud.talent.v4beta1.HistogramQuery m = + input.readMessage( + com.google.cloud.talent.v4beta1.HistogramQuery.parser(), extensionRegistry); + if (histogramQueriesBuilder_ == null) { + ensureHistogramQueriesIsMutable(); + histogramQueries_.add(m); + } else { + histogramQueriesBuilder_.addMessage(m); + } + break; + } // case 58 + case 64: + { + jobView_ = input.readEnum(); - break; - } // case 64 - case 72: { - offset_ = input.readInt32(); + break; + } // case 64 + case 72: + { + offset_ = input.readInt32(); - break; - } // case 72 - case 80: { - pageSize_ = input.readInt32(); + break; + } // case 72 + case 80: + { + pageSize_ = input.readInt32(); - break; - } // case 80 - case 90: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 80 + case 90: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 90 - case 98: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 90 + case 98: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 98 - case 104: { - diversificationLevel_ = input.readEnum(); + break; + } // case 98 + case 104: + { + diversificationLevel_ = input.readEnum(); - break; - } // case 104 - case 114: { - input.readMessage( - getCustomRankingInfoFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 104 + case 114: + { + input.readMessage( + getCustomRankingInfoFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 114 - case 128: { - disableKeywordMatch_ = input.readBool(); + break; + } // case 114 + case 128: + { + disableKeywordMatch_ = input.readBool(); - break; - } // case 128 - case 144: { - keywordMatchMode_ = input.readEnum(); + break; + } // case 128 + case 144: + { + keywordMatchMode_ = input.readEnum(); - break; - } // case 144 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 144 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3508,10 +3880,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3519,14 +3894,16 @@ public Builder mergeFrom(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -3535,6 +3912,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3542,16 +3921,17 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -3559,6 +3939,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3566,21 +3948,25 @@ public java.lang.String getParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3588,16 +3974,21 @@ public Builder setParent(
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The resource name of the tenant to search within.
      * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -3605,17 +3996,19 @@ public Builder clearParent() {
      * is created. For example, "projects/foo".
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -3623,78 +4016,98 @@ public Builder setParentBytes( private int searchMode_ = 0; /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ - @java.lang.Override public int getSearchModeValue() { + @java.lang.Override + public int getSearchModeValue() { return searchMode_; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @param value The enum numeric value on the wire for searchMode to set. * @return This builder for chaining. */ public Builder setSearchModeValue(int value) { - + searchMode_ = value; onChanged(); return this; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.valueOf(searchMode_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @param value The searchMode to set. * @return This builder for chaining. */ - public Builder setSearchMode(com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode value) { + public Builder setSearchMode( + com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode value) { if (value == null) { throw new NullPointerException(); } - + searchMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Mode of a search.
      * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return This builder for chaining. */ public Builder clearSearchMode() { - + searchMode_ = 0; onChanged(); return this; @@ -3702,45 +4115,64 @@ public Builder clearSearchMode() { private com.google.cloud.talent.v4beta1.RequestMetadata requestMetadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> requestMetadataBuilder_; + com.google.cloud.talent.v4beta1.RequestMetadata, + com.google.cloud.talent.v4beta1.RequestMetadata.Builder, + com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> + requestMetadataBuilder_; /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ public boolean hasRequestMetadata() { return requestMetadataBuilder_ != null || requestMetadata_ != null; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ public com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata() { if (requestMetadataBuilder_ == null) { - return requestMetadata_ == null ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() + : requestMetadata_; } else { return requestMetadataBuilder_.getMessage(); } } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadata value) { if (requestMetadataBuilder_ == null) { @@ -3756,13 +4188,17 @@ public Builder setRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadat return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequestMetadata( com.google.cloud.talent.v4beta1.RequestMetadata.Builder builderForValue) { @@ -3776,19 +4212,25 @@ public Builder setRequestMetadata( return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetadata value) { if (requestMetadataBuilder_ == null) { if (requestMetadata_ != null) { requestMetadata_ = - com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder(requestMetadata_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.RequestMetadata.newBuilder(requestMetadata_) + .mergeFrom(value) + .buildPartial(); } else { requestMetadata_ = value; } @@ -3800,13 +4242,17 @@ public Builder mergeRequestMetadata(com.google.cloud.talent.v4beta1.RequestMetad return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequestMetadata() { if (requestMetadataBuilder_ == null) { @@ -3820,54 +4266,70 @@ public Builder clearRequestMetadata() { return this; } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.RequestMetadata.Builder getRequestMetadataBuilder() { - + onChanged(); return getRequestMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder() { if (requestMetadataBuilder_ != null) { return requestMetadataBuilder_.getMessageOrBuilder(); } else { - return requestMetadata_ == null ? - com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() : requestMetadata_; + return requestMetadata_ == null + ? com.google.cloud.talent.v4beta1.RequestMetadata.getDefaultInstance() + : requestMetadata_; } } /** + * + * *
      * Required. The meta information collected about the job searcher, used to improve the
      * search quality of the service. The identifiers (such as `user_id`) are
      * provided by users, and must be unique and consistent.
      * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> + com.google.cloud.talent.v4beta1.RequestMetadata, + com.google.cloud.talent.v4beta1.RequestMetadata.Builder, + com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder> getRequestMetadataFieldBuilder() { if (requestMetadataBuilder_ == null) { - requestMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.RequestMetadata, com.google.cloud.talent.v4beta1.RequestMetadata.Builder, com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder>( - getRequestMetadata(), - getParentForChildren(), - isClean()); + requestMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.RequestMetadata, + com.google.cloud.talent.v4beta1.RequestMetadata.Builder, + com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder>( + getRequestMetadata(), getParentForChildren(), isClean()); requestMetadata_ = null; } return requestMetadataBuilder_; @@ -3875,34 +4337,47 @@ public com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetada private com.google.cloud.talent.v4beta1.JobQuery jobQuery_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder> jobQueryBuilder_; + com.google.cloud.talent.v4beta1.JobQuery, + com.google.cloud.talent.v4beta1.JobQuery.Builder, + com.google.cloud.talent.v4beta1.JobQueryOrBuilder> + jobQueryBuilder_; /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ public boolean hasJobQuery() { return jobQueryBuilder_ != null || jobQuery_ != null; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return The jobQuery. */ public com.google.cloud.talent.v4beta1.JobQuery getJobQuery() { if (jobQueryBuilder_ == null) { - return jobQuery_ == null ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() + : jobQuery_; } else { return jobQueryBuilder_.getMessage(); } } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3923,14 +4398,15 @@ public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ - public Builder setJobQuery( - com.google.cloud.talent.v4beta1.JobQuery.Builder builderForValue) { + public Builder setJobQuery(com.google.cloud.talent.v4beta1.JobQuery.Builder builderForValue) { if (jobQueryBuilder_ == null) { jobQuery_ = builderForValue.build(); onChanged(); @@ -3941,6 +4417,8 @@ public Builder setJobQuery( return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3951,7 +4429,9 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { if (jobQueryBuilder_ == null) { if (jobQuery_ != null) { jobQuery_ = - com.google.cloud.talent.v4beta1.JobQuery.newBuilder(jobQuery_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.JobQuery.newBuilder(jobQuery_) + .mergeFrom(value) + .buildPartial(); } else { jobQuery_ = value; } @@ -3963,6 +4443,8 @@ public Builder mergeJobQuery(com.google.cloud.talent.v4beta1.JobQuery value) { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3981,6 +4463,8 @@ public Builder clearJobQuery() { return this; } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -3988,11 +4472,13 @@ public Builder clearJobQuery() { * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ public com.google.cloud.talent.v4beta1.JobQuery.Builder getJobQueryBuilder() { - + onChanged(); return getJobQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4003,11 +4489,14 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() if (jobQueryBuilder_ != null) { return jobQueryBuilder_.getMessageOrBuilder(); } else { - return jobQuery_ == null ? - com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() : jobQuery_; + return jobQuery_ == null + ? com.google.cloud.talent.v4beta1.JobQuery.getDefaultInstance() + : jobQuery_; } } /** + * + * *
      * Query used to search against jobs, such as keyword, location filters, etc.
      * 
@@ -4015,21 +4504,26 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder() * .google.cloud.talent.v4beta1.JobQuery job_query = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder> + com.google.cloud.talent.v4beta1.JobQuery, + com.google.cloud.talent.v4beta1.JobQuery.Builder, + com.google.cloud.talent.v4beta1.JobQueryOrBuilder> getJobQueryFieldBuilder() { if (jobQueryBuilder_ == null) { - jobQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.JobQuery, com.google.cloud.talent.v4beta1.JobQuery.Builder, com.google.cloud.talent.v4beta1.JobQueryOrBuilder>( - getJobQuery(), - getParentForChildren(), - isClean()); + jobQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.JobQuery, + com.google.cloud.talent.v4beta1.JobQuery.Builder, + com.google.cloud.talent.v4beta1.JobQueryOrBuilder>( + getJobQuery(), getParentForChildren(), isClean()); jobQuery_ = null; } return jobQueryBuilder_; } - private boolean enableBroadening_ ; + private boolean enableBroadening_; /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4038,6 +4532,7 @@ public com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder()
      * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ @java.lang.Override @@ -4045,6 +4540,8 @@ public boolean getEnableBroadening() { return enableBroadening_; } /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4053,16 +4550,19 @@ public boolean getEnableBroadening() {
      * 
* * bool enable_broadening = 5; + * * @param value The enableBroadening to set. * @return This builder for chaining. */ public Builder setEnableBroadening(boolean value) { - + enableBroadening_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether to broaden the search when it produces sparse results.
      * Broadened queries append results to the end of the matching results
@@ -4071,77 +4571,98 @@ public Builder setEnableBroadening(boolean value) {
      * 
* * bool enable_broadening = 5; + * * @return This builder for chaining. */ public Builder clearEnableBroadening() { - + enableBroadening_ = false; onChanged(); return this; } - private boolean requirePreciseResultSize_ ; + private boolean requirePreciseResultSize_; /** + * + * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ @java.lang.Override - @java.lang.Deprecated public boolean getRequirePreciseResultSize() { + @java.lang.Deprecated + public boolean getRequirePreciseResultSize() { return requirePreciseResultSize_; } /** + * + * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @param value The requirePreciseResultSize to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setRequirePreciseResultSize(boolean value) { - + @java.lang.Deprecated + public Builder setRequirePreciseResultSize(boolean value) { + requirePreciseResultSize_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated.
      * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearRequirePreciseResultSize() { - + @java.lang.Deprecated + public Builder clearRequirePreciseResultSize() { + requirePreciseResultSize_ = false; onChanged(); return this; } private java.util.List histogramQueries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHistogramQueriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - histogramQueries_ = new java.util.ArrayList(histogramQueries_); + histogramQueries_ = + new java.util.ArrayList( + histogramQueries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> histogramQueriesBuilder_; + com.google.cloud.talent.v4beta1.HistogramQuery, + com.google.cloud.talent.v4beta1.HistogramQuery.Builder, + com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> + histogramQueriesBuilder_; /** + * + * *
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4230,7 +4751,8 @@ private void ensureHistogramQueriesIsMutable() {
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List getHistogramQueriesList() {
+    public java.util.List
+        getHistogramQueriesList() {
       if (histogramQueriesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(histogramQueries_);
       } else {
@@ -4238,6 +4760,8 @@ public java.util.List getHistogr
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4334,6 +4858,8 @@ public int getHistogramQueriesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4430,6 +4956,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int in
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4533,6 +5061,8 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4633,6 +5163,8 @@ public Builder setHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4735,6 +5267,8 @@ public Builder addHistogramQueries(com.google.cloud.talent.v4beta1.HistogramQuer
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4838,6 +5372,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -4938,6 +5474,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5038,6 +5576,8 @@ public Builder addHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5130,8 +5670,7 @@ public Builder addAllHistogramQueries(
         java.lang.Iterable values) {
       if (histogramQueriesBuilder_ == null) {
         ensureHistogramQueriesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, histogramQueries_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueries_);
         onChanged();
       } else {
         histogramQueriesBuilder_.addAllMessages(values);
@@ -5139,6 +5678,8 @@ public Builder addAllHistogramQueries(
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5238,6 +5779,8 @@ public Builder clearHistogramQueries() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5337,6 +5880,8 @@ public Builder removeHistogramQueries(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5430,6 +5975,8 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
       return getHistogramQueriesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5521,11 +6068,14 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder getHistogramQuerie
     public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
         int index) {
       if (histogramQueriesBuilder_ == null) {
-        return histogramQueries_.get(index);  } else {
+        return histogramQueries_.get(index);
+      } else {
         return histogramQueriesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5614,8 +6164,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List 
-         getHistogramQueriesOrBuilderList() {
+    public java.util.List
+        getHistogramQueriesOrBuilderList() {
       if (histogramQueriesBuilder_ != null) {
         return histogramQueriesBuilder_.getMessageOrBuilderList();
       } else {
@@ -5623,6 +6173,8 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
       }
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5712,10 +6264,12 @@ public com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueri
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
     public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQueriesBuilder() {
-      return getHistogramQueriesFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5806,10 +6360,12 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      */
     public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQueriesBuilder(
         int index) {
-      return getHistogramQueriesFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
+      return getHistogramQueriesFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4beta1.HistogramQuery.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * An expression specifies a histogram request against matching jobs.
      * Expression syntax is an aggregation function call with histogram facets and
@@ -5898,16 +6454,22 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
      *
      * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
      */
-    public java.util.List 
-         getHistogramQueriesBuilderList() {
+    public java.util.List
+        getHistogramQueriesBuilderList() {
       return getHistogramQueriesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder> 
+            com.google.cloud.talent.v4beta1.HistogramQuery,
+            com.google.cloud.talent.v4beta1.HistogramQuery.Builder,
+            com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>
         getHistogramQueriesFieldBuilder() {
       if (histogramQueriesBuilder_ == null) {
-        histogramQueriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.HistogramQuery, com.google.cloud.talent.v4beta1.HistogramQuery.Builder, com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>(
+        histogramQueriesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.HistogramQuery,
+                com.google.cloud.talent.v4beta1.HistogramQuery.Builder,
+                com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder>(
                 histogramQueries_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -5919,55 +6481,69 @@ public com.google.cloud.talent.v4beta1.HistogramQuery.Builder addHistogramQuerie
 
     private int jobView_ = 0;
     /**
+     *
+     *
      * 
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ - @java.lang.Override public int getJobViewValue() { + @java.lang.Override + public int getJobViewValue() { return jobView_; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @param value The enum numeric value on the wire for jobView to set. * @return This builder for chaining. */ public Builder setJobViewValue(int value) { - + jobView_ = value; onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The jobView. */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobView getJobView() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.JobView result = com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); + com.google.cloud.talent.v4beta1.JobView result = + com.google.cloud.talent.v4beta1.JobView.valueOf(jobView_); return result == null ? com.google.cloud.talent.v4beta1.JobView.UNRECOGNIZED : result; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @param value The jobView to set. * @return This builder for chaining. */ @@ -5975,29 +6551,34 @@ public Builder setJobView(com.google.cloud.talent.v4beta1.JobView value) { if (value == null) { throw new NullPointerException(); } - + jobView_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired job attributes returned for jobs in the search response.
      * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
      * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return This builder for chaining. */ public Builder clearJobView() { - + jobView_ = 0; onChanged(); return this; } - private int offset_ ; + private int offset_; /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6010,6 +6591,7 @@ public Builder clearJobView() {
      * 
* * int32 offset = 9; + * * @return The offset. */ @java.lang.Override @@ -6017,6 +6599,8 @@ public int getOffset() { return offset_; } /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6029,16 +6613,19 @@ public int getOffset() {
      * 
* * int32 offset = 9; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
      * An integer that specifies the current offset (that is, starting result
      * location, amongst the jobs deemed by the API as relevant) in search
@@ -6051,17 +6638,20 @@ public Builder setOffset(int value) {
      * 
* * int32 offset = 9; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6069,6 +6659,7 @@ public Builder clearOffset() {
      * 
* * int32 page_size = 10; + * * @return The pageSize. */ @java.lang.Override @@ -6076,6 +6667,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6083,16 +6676,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 10; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * A limit on the number of jobs returned in the search results.
      * Increasing this value above the default value of 10 can increase search
@@ -6100,10 +6696,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 10; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -6111,6 +6708,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6118,13 +6717,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 11; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -6133,6 +6732,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6140,15 +6741,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -6156,6 +6756,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6163,20 +6765,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 11; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6184,15 +6788,18 @@ public Builder setPageToken(
      * 
* * string page_token = 11; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The token specifying the current offset within
      * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -6200,16 +6807,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 11; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -6217,6 +6824,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6269,13 +6878,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 12; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -6284,6 +6893,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6336,15 +6947,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -6352,6 +6962,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6404,20 +7016,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 12; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6470,15 +7084,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 12; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The criteria determining how search results are sorted. Default is
      * `"relevance desc"`.
@@ -6531,16 +7148,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 12; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -6548,6 +7165,8 @@ public Builder setOrderByBytes( private int diversificationLevel_ = 0; /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6559,13 +7178,19 @@ public Builder setOrderByBytes(
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ - @java.lang.Override public int getDiversificationLevelValue() { + @java.lang.Override + public int getDiversificationLevelValue() { return diversificationLevel_; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6577,17 +7202,22 @@ public Builder setOrderByBytes(
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @param value The enum numeric value on the wire for diversificationLevel to set. * @return This builder for chaining. */ public Builder setDiversificationLevelValue(int value) { - + diversificationLevel_ = value; onChanged(); return this; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6599,16 +7229,26 @@ public Builder setDiversificationLevelValue(int value) {
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel + getDiversificationLevel() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf(diversificationLevel_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.valueOf( + diversificationLevel_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel.UNRECOGNIZED + : result; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6620,20 +7260,26 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel ge
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @param value The diversificationLevel to set. * @return This builder for chaining. */ - public Builder setDiversificationLevel(com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel value) { + public Builder setDiversificationLevel( + com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel value) { if (value == null) { throw new NullPointerException(); } - + diversificationLevel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls whether highly similar jobs are returned next to each other in
      * the search results. Jobs are identified as highly similar based on
@@ -6645,11 +7291,14 @@ public Builder setDiversificationLevel(com.google.cloud.talent.v4beta1.SearchJob
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return This builder for chaining. */ public Builder clearDiversificationLevel() { - + diversificationLevel_ = 0; onChanged(); return this; @@ -6657,44 +7306,66 @@ public Builder clearDiversificationLevel() { private com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo customRankingInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> customRankingInfoBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> + customRankingInfoBuilder_; /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ public boolean hasCustomRankingInfo() { return customRankingInfoBuilder_ != null || customRankingInfo_ != null; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + getCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { - return customRankingInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + .getDefaultInstance() + : customRankingInfo_; } else { return customRankingInfoBuilder_.getMessage(); } } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public Builder setCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { + public Builder setCustomRankingInfo( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6708,15 +7379,20 @@ public Builder setCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRe return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ public Builder setCustomRankingInfo( - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder builderForValue) { + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder + builderForValue) { if (customRankingInfoBuilder_ == null) { customRankingInfo_ = builderForValue.build(); onChanged(); @@ -6727,18 +7403,26 @@ public Builder setCustomRankingInfo( return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { + public Builder mergeCustomRankingInfo( + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo value) { if (customRankingInfoBuilder_ == null) { if (customRankingInfo_ != null) { customRankingInfo_ = - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder(customRankingInfo_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.newBuilder( + customRankingInfo_) + .mergeFrom(value) + .buildPartial(); } else { customRankingInfo_ = value; } @@ -6750,12 +7434,16 @@ public Builder mergeCustomRankingInfo(com.google.cloud.talent.v4beta1.SearchJobs return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ public Builder clearCustomRankingInfo() { if (customRankingInfoBuilder_ == null) { @@ -6769,58 +7457,79 @@ public Builder clearCustomRankingInfo() { return this; } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder getCustomRankingInfoBuilder() { - + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder + getCustomRankingInfoBuilder() { + onChanged(); return getCustomRankingInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder() { if (customRankingInfoBuilder_ != null) { return customRankingInfoBuilder_.getMessageOrBuilder(); } else { - return customRankingInfo_ == null ? - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.getDefaultInstance() : customRankingInfo_; + return customRankingInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo + .getDefaultInstance() + : customRankingInfo_; } } /** + * + * *
      * Controls over how job documents get ranked on top of existing relevance
      * score (determined by API algorithm).
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder> getCustomRankingInfoFieldBuilder() { if (customRankingInfoBuilder_ == null) { - customRankingInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder>( - getCustomRankingInfo(), - getParentForChildren(), - isClean()); + customRankingInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.Builder, + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder>( + getCustomRankingInfo(), getParentForChildren(), isClean()); customRankingInfo_ = null; } return customRankingInfoBuilder_; } - private boolean disableKeywordMatch_ ; + private boolean disableKeywordMatch_; /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6847,6 +7556,7 @@ public com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuil
      * 
* * bool disable_keyword_match = 16; + * * @return The disableKeywordMatch. */ @java.lang.Override @@ -6854,6 +7564,8 @@ public boolean getDisableKeywordMatch() { return disableKeywordMatch_; } /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6880,16 +7592,19 @@ public boolean getDisableKeywordMatch() {
      * 
* * bool disable_keyword_match = 16; + * * @param value The disableKeywordMatch to set. * @return This builder for chaining. */ public Builder setDisableKeywordMatch(boolean value) { - + disableKeywordMatch_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated. Please use
      * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -6916,10 +7631,11 @@ public Builder setDisableKeywordMatch(boolean value) {
      * 
* * bool disable_keyword_match = 16; + * * @return This builder for chaining. */ public Builder clearDisableKeywordMatch() { - + disableKeywordMatch_ = false; onChanged(); return this; @@ -6927,90 +7643,122 @@ public Builder clearDisableKeywordMatch() { private int keywordMatchMode_ = 0; /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ - @java.lang.Override public int getKeywordMatchModeValue() { + @java.lang.Override + public int getKeywordMatchModeValue() { return keywordMatchMode_; } /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @param value The enum numeric value on the wire for keywordMatchMode to set. * @return This builder for chaining. */ public Builder setKeywordMatchModeValue(int value) { - + keywordMatchMode_ = value; onChanged(); return this; } /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode() { + public com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode + getKeywordMatchMode() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf(keywordMatchMode_); - return result == null ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode result = + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.valueOf( + keywordMatchMode_); + return result == null + ? com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.UNRECOGNIZED + : result; } /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @param value The keywordMatchMode to set. * @return This builder for chaining. */ - public Builder setKeywordMatchMode(com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode value) { + public Builder setKeywordMatchMode( + com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode value) { if (value == null) { throw new NullPointerException(); } - + keywordMatchMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Controls what keyword match options to use.
      * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
      * is specified.
      * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return This builder for chaining. */ public Builder clearKeywordMatchMode() { - + keywordMatchMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7020,12 +7768,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsRequest) private static final com.google.cloud.talent.v4beta1.SearchJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsRequest(); } @@ -7034,27 +7782,27 @@ public static com.google.cloud.talent.v4beta1.SearchJobsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7069,6 +7817,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SearchJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java similarity index 94% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java index 4eba164b8194..07bee1444e37 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface SearchJobsRequestOrBuilder extends +public interface SearchJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -15,11 +33,16 @@ public interface SearchJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The resource name of the tenant to search within.
    * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
@@ -27,85 +50,115 @@ public interface SearchJobsRequestOrBuilder extends
    * is created. For example, "projects/foo".
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The enum numeric value on the wire for searchMode. */ int getSearchModeValue(); /** + * + * *
    * Mode of a search.
    * Defaults to [SearchMode.JOB_SEARCH][google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode.JOB_SEARCH].
    * 
* * .google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode search_mode = 2; + * * @return The searchMode. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode getSearchMode(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requestMetadata field is set. */ boolean hasRequestMetadata(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requestMetadata. */ com.google.cloud.talent.v4beta1.RequestMetadata getRequestMetadata(); /** + * + * *
    * Required. The meta information collected about the job searcher, used to improve the
    * search quality of the service. The identifiers (such as `user_id`) are
    * provided by users, and must be unique and consistent.
    * 
* - * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.RequestMetadata request_metadata = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.RequestMetadataOrBuilder getRequestMetadataOrBuilder(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return Whether the jobQuery field is set. */ boolean hasJobQuery(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
* * .google.cloud.talent.v4beta1.JobQuery job_query = 4; + * * @return The jobQuery. */ com.google.cloud.talent.v4beta1.JobQuery getJobQuery(); /** + * + * *
    * Query used to search against jobs, such as keyword, location filters, etc.
    * 
@@ -115,6 +168,8 @@ public interface SearchJobsRequestOrBuilder extends com.google.cloud.talent.v4beta1.JobQueryOrBuilder getJobQueryOrBuilder(); /** + * + * *
    * Controls whether to broaden the search when it produces sparse results.
    * Broadened queries append results to the end of the matching results
@@ -123,23 +178,30 @@ public interface SearchJobsRequestOrBuilder extends
    * 
* * bool enable_broadening = 5; + * * @return The enableBroadening. */ boolean getEnableBroadening(); /** + * + * *
    * This field is deprecated.
    * 
* * bool require_precise_result_size = 6 [deprecated = true]; - * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is deprecated. - * See google/cloud/talent/v4beta1/job_service.proto;l=574 + * + * @deprecated google.cloud.talent.v4beta1.SearchJobsRequest.require_precise_result_size is + * deprecated. See google/cloud/talent/v4beta1/job_service.proto;l=574 * @return The requirePreciseResultSize. */ - @java.lang.Deprecated boolean getRequirePreciseResultSize(); + @java.lang.Deprecated + boolean getRequirePreciseResultSize(); /** + * + * *
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -228,9 +290,10 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  java.util.List 
-      getHistogramQueriesList();
+  java.util.List getHistogramQueriesList();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -321,6 +384,8 @@ public interface SearchJobsRequestOrBuilder extends
    */
   com.google.cloud.talent.v4beta1.HistogramQuery getHistogramQueries(int index);
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -411,6 +476,8 @@ public interface SearchJobsRequestOrBuilder extends
    */
   int getHistogramQueriesCount();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -499,9 +566,11 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  java.util.List 
+  java.util.List
       getHistogramQueriesOrBuilderList();
   /**
+   *
+   *
    * 
    * An expression specifies a histogram request against matching jobs.
    * Expression syntax is an aggregation function call with histogram facets and
@@ -590,31 +659,38 @@ public interface SearchJobsRequestOrBuilder extends
    *
    * repeated .google.cloud.talent.v4beta1.HistogramQuery histogram_queries = 7;
    */
-  com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(
-      int index);
+  com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The enum numeric value on the wire for jobView. */ int getJobViewValue(); /** + * + * *
    * The desired job attributes returned for jobs in the search response.
    * Defaults to [JobView.JOB_VIEW_SMALL][google.cloud.talent.v4beta1.JobView.JOB_VIEW_SMALL] if no value is specified.
    * 
* * .google.cloud.talent.v4beta1.JobView job_view = 8; + * * @return The jobView. */ com.google.cloud.talent.v4beta1.JobView getJobView(); /** + * + * *
    * An integer that specifies the current offset (that is, starting result
    * location, amongst the jobs deemed by the API as relevant) in search
@@ -627,11 +703,14 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * int32 offset = 9; + * * @return The offset. */ int getOffset(); /** + * + * *
    * A limit on the number of jobs returned in the search results.
    * Increasing this value above the default value of 10 can increase search
@@ -639,11 +718,14 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * int32 page_size = 10; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -651,10 +733,13 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * string page_token = 11; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The token specifying the current offset within
    * search results. See [SearchJobsResponse.next_page_token][google.cloud.talent.v4beta1.SearchJobsResponse.next_page_token] for
@@ -662,12 +747,14 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * string page_token = 11; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -720,10 +807,13 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * string order_by = 12; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The criteria determining how search results are sorted. Default is
    * `"relevance desc"`.
@@ -776,12 +866,14 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * string order_by = 12; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -793,11 +885,16 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The enum numeric value on the wire for diversificationLevel. */ int getDiversificationLevelValue(); /** + * + * *
    * Controls whether highly similar jobs are returned next to each other in
    * the search results. Jobs are identified as highly similar based on
@@ -809,42 +906,62 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel diversification_level = 13; + * + * * @return The diversificationLevel. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel getDiversificationLevel(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return Whether the customRankingInfo field is set. */ boolean hasCustomRankingInfo(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * * @return The customRankingInfo. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo getCustomRankingInfo(); /** + * + * *
    * Controls over how job documents get ranked on top of existing relevance
    * score (determined by API algorithm).
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * + * .google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo custom_ranking_info = 14; + * */ - com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder getCustomRankingInfoOrBuilder(); + com.google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfoOrBuilder + getCustomRankingInfoOrBuilder(); /** + * + * *
    * This field is deprecated. Please use
    * [SearchJobsRequest.keyword_match_mode][google.cloud.talent.v4beta1.SearchJobsRequest.keyword_match_mode] going forward.
@@ -871,29 +988,38 @@ com.google.cloud.talent.v4beta1.HistogramQueryOrBuilder getHistogramQueriesOrBui
    * 
* * bool disable_keyword_match = 16; + * * @return The disableKeywordMatch. */ boolean getDisableKeywordMatch(); /** + * + * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The enum numeric value on the wire for keywordMatchMode. */ int getKeywordMatchModeValue(); /** + * + * *
    * Controls what keyword match options to use.
    * Defaults to [KeywordMatchMode.KEYWORD_MATCH_ALL][google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode.KEYWORD_MATCH_ALL] if no value
    * is specified.
    * 
* - * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * .google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode keyword_match_mode = 18; + * + * * @return The keywordMatchMode. */ com.google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode getKeywordMatchMode(); diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java similarity index 76% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java index bf9524f20de1..a1b8bb557b13 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Response for SearchJob method.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse} */ -public final class SearchJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SearchJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse) SearchJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SearchJobsResponse.newBuilder() to construct. private SearchJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SearchJobsResponse() { matchingJobs_ = java.util.Collections.emptyList(); histogramQueryResults_ = java.util.Collections.emptyList(); @@ -28,52 +46,62 @@ private SearchJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); } - public interface MatchingJobOrBuilder extends + public interface MatchingJobOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
@@ -83,28 +111,35 @@ public interface MatchingJobOrBuilder extends com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The jobSummary. */ java.lang.String getJobSummary(); /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ - com.google.protobuf.ByteString - getJobSummaryBytes(); + com.google.protobuf.ByteString getJobSummaryBytes(); /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -112,10 +147,13 @@ public interface MatchingJobOrBuilder extends
      * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ java.lang.String getJobTitleSnippet(); /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -123,12 +161,14 @@ public interface MatchingJobOrBuilder extends
      * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ - com.google.protobuf.ByteString - getJobTitleSnippetBytes(); + com.google.protobuf.ByteString getJobTitleSnippetBytes(); /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -137,10 +177,13 @@ public interface MatchingJobOrBuilder extends
      * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ java.lang.String getSearchTextSnippet(); /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -149,32 +192,40 @@ public interface MatchingJobOrBuilder extends
      * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ - com.google.protobuf.ByteString - getSearchTextSnippetBytes(); + com.google.protobuf.ByteString getSearchTextSnippetBytes(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ boolean hasCommuteInfo(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo(); /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -182,24 +233,28 @@ public interface MatchingJobOrBuilder extends
      *
      * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
-    com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder();
+    com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
+        getCommuteInfoOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob} */ - public static final class MatchingJob extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MatchingJob extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) MatchingJobOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MatchingJob.newBuilder() to construct. private MatchingJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MatchingJob() { jobSummary_ = ""; jobTitleSnippet_ = ""; @@ -208,37 +263,41 @@ private MatchingJob() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MatchingJob(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ @java.lang.Override @@ -246,11 +305,14 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ @java.lang.Override @@ -258,6 +320,8 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** + * + * *
      * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
@@ -272,12 +336,15 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private volatile java.lang.Object jobSummary_; /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The jobSummary. */ @java.lang.Override @@ -286,30 +353,30 @@ public java.lang.String getJobSummary() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; } } /** + * + * *
      * A summary of the job with core information that's displayed on the search
      * results listing page.
      * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobSummaryBytes() { + public com.google.protobuf.ByteString getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -320,6 +387,8 @@ public java.lang.String getJobSummary() { public static final int JOB_TITLE_SNIPPET_FIELD_NUMBER = 3; private volatile java.lang.Object jobTitleSnippet_; /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -327,6 +396,7 @@ public java.lang.String getJobSummary() {
      * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ @java.lang.Override @@ -335,14 +405,15 @@ public java.lang.String getJobTitleSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; } } /** + * + * *
      * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
      * closely matching a search query's keywords, if available. The matching
@@ -350,16 +421,15 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -370,6 +440,8 @@ public java.lang.String getJobTitleSnippet() { public static final int SEARCH_TEXT_SNIPPET_FIELD_NUMBER = 4; private volatile java.lang.Object searchTextSnippet_; /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -378,6 +450,7 @@ public java.lang.String getJobTitleSnippet() {
      * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ @java.lang.Override @@ -386,14 +459,15 @@ public java.lang.String getSearchTextSnippet() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; } } /** + * + * *
      * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
      * fields that most closely match a search query's keywords, if available.
@@ -402,16 +476,15 @@ public java.lang.String getSearchTextSnippet() {
      * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ @java.lang.Override - public com.google.protobuf.ByteString - getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -422,12 +495,15 @@ public java.lang.String getSearchTextSnippet() { public static final int COMMUTE_INFO_FIELD_NUMBER = 5; private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ @java.lang.Override @@ -435,19 +511,26 @@ public boolean hasCommuteInfo() { return commuteInfo_ != null; } /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
      * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo() { - return commuteInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; + return commuteInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() + : commuteInfo_; } /** + * + * *
      * Commute information which is generated based on specified
      *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -456,11 +539,13 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommute
      * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
      */
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
+        getCommuteInfoOrBuilder() {
       return getCommuteInfo();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -472,8 +557,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (job_ != null) {
         output.writeMessage(1, getJob());
       }
@@ -499,8 +583,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (job_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJob());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSummary_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobSummary_);
@@ -512,8 +595,7 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchTextSnippet_);
       }
       if (commuteInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getCommuteInfo());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCommuteInfo());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -523,28 +605,24 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj;
+      com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other =
+          (com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) obj;
 
       if (hasJob() != other.hasJob()) return false;
       if (hasJob()) {
-        if (!getJob()
-            .equals(other.getJob())) return false;
-      }
-      if (!getJobSummary()
-          .equals(other.getJobSummary())) return false;
-      if (!getJobTitleSnippet()
-          .equals(other.getJobTitleSnippet())) return false;
-      if (!getSearchTextSnippet()
-          .equals(other.getSearchTextSnippet())) return false;
+        if (!getJob().equals(other.getJob())) return false;
+      }
+      if (!getJobSummary().equals(other.getJobSummary())) return false;
+      if (!getJobTitleSnippet().equals(other.getJobTitleSnippet())) return false;
+      if (!getSearchTextSnippet().equals(other.getSearchTextSnippet())) return false;
       if (hasCommuteInfo() != other.hasCommuteInfo()) return false;
       if (hasCommuteInfo()) {
-        if (!getCommuteInfo()
-            .equals(other.getCommuteInfo())) return false;
+        if (!getCommuteInfo().equals(other.getCommuteInfo())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -577,87 +655,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -667,39 +752,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Job entry with metadata inside [SearchJobsResponse][google.cloud.talent.v4beta1.SearchJobsResponse].
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -725,13 +812,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob + getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance(); } @@ -746,7 +834,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob result = new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob result = + new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -768,46 +857,52 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob other) { + if (other + == com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -852,41 +947,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - jobSummary_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - jobTitleSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - searchTextSnippet_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - input.readMessage( - getCommuteInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + jobSummary_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + jobTitleSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + searchTextSnippet_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + input.readMessage(getCommuteInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -899,24 +996,33 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; + * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -927,6 +1033,8 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -947,14 +1055,15 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
* * .google.cloud.talent.v4beta1.Job job = 1; */ - public Builder setJob( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -965,6 +1074,8 @@ public Builder setJob( return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -975,7 +1086,9 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_) + .mergeFrom(value) + .buildPartial(); } else { job_ = value; } @@ -987,6 +1100,8 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1005,6 +1120,8 @@ public Builder clearJob() { return this; } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1012,11 +1129,13 @@ public Builder clearJob() { * .google.cloud.talent.v4beta1.Job job = 1; */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1027,11 +1146,12 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** + * + * *
        * Job resource that matches the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
        * 
@@ -1039,14 +1159,17 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { * .google.cloud.talent.v4beta1.Job job = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -1054,19 +1177,21 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobSummary_ = ""; /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return The jobSummary. */ public java.lang.String getJobSummary() { java.lang.Object ref = jobSummary_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobSummary_ = s; return s; @@ -1075,21 +1200,22 @@ public java.lang.String getJobSummary() { } } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return The bytes for jobSummary. */ - public com.google.protobuf.ByteString - getJobSummaryBytes() { + public com.google.protobuf.ByteString getJobSummaryBytes() { java.lang.Object ref = jobSummary_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobSummary_ = b; return b; } else { @@ -1097,57 +1223,64 @@ public java.lang.String getJobSummary() { } } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @param value The jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummary( - java.lang.String value) { + public Builder setJobSummary(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobSummary_ = value; onChanged(); return this; } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @return This builder for chaining. */ public Builder clearJobSummary() { - + jobSummary_ = getDefaultInstance().getJobSummary(); onChanged(); return this; } /** + * + * *
        * A summary of the job with core information that's displayed on the search
        * results listing page.
        * 
* * string job_summary = 2; + * * @param value The bytes for jobSummary to set. * @return This builder for chaining. */ - public Builder setJobSummaryBytes( - com.google.protobuf.ByteString value) { + public Builder setJobSummaryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobSummary_ = value; onChanged(); return this; @@ -1155,6 +1288,8 @@ public Builder setJobSummaryBytes( private java.lang.Object jobTitleSnippet_ = ""; /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1162,13 +1297,13 @@ public Builder setJobSummaryBytes(
        * 
* * string job_title_snippet = 3; + * * @return The jobTitleSnippet. */ public java.lang.String getJobTitleSnippet() { java.lang.Object ref = jobTitleSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobTitleSnippet_ = s; return s; @@ -1177,6 +1312,8 @@ public java.lang.String getJobTitleSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1184,15 +1321,14 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @return The bytes for jobTitleSnippet. */ - public com.google.protobuf.ByteString - getJobTitleSnippetBytes() { + public com.google.protobuf.ByteString getJobTitleSnippetBytes() { java.lang.Object ref = jobTitleSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jobTitleSnippet_ = b; return b; } else { @@ -1200,6 +1336,8 @@ public java.lang.String getJobTitleSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1207,20 +1345,22 @@ public java.lang.String getJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @param value The jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippet( - java.lang.String value) { + public Builder setJobTitleSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobTitleSnippet_ = value; onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1228,15 +1368,18 @@ public Builder setJobTitleSnippet(
        * 
* * string job_title_snippet = 3; + * * @return This builder for chaining. */ public Builder clearJobTitleSnippet() { - + jobTitleSnippet_ = getDefaultInstance().getJobTitleSnippet(); onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.title][google.cloud.talent.v4beta1.Job.title] field most
        * closely matching a search query's keywords, if available. The matching
@@ -1244,16 +1387,16 @@ public Builder clearJobTitleSnippet() {
        * 
* * string job_title_snippet = 3; + * * @param value The bytes for jobTitleSnippet to set. * @return This builder for chaining. */ - public Builder setJobTitleSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setJobTitleSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobTitleSnippet_ = value; onChanged(); return this; @@ -1261,6 +1404,8 @@ public Builder setJobTitleSnippetBytes( private java.lang.Object searchTextSnippet_ = ""; /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1269,13 +1414,13 @@ public Builder setJobTitleSnippetBytes(
        * 
* * string search_text_snippet = 4; + * * @return The searchTextSnippet. */ public java.lang.String getSearchTextSnippet() { java.lang.Object ref = searchTextSnippet_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchTextSnippet_ = s; return s; @@ -1284,6 +1429,8 @@ public java.lang.String getSearchTextSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1292,15 +1439,14 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @return The bytes for searchTextSnippet. */ - public com.google.protobuf.ByteString - getSearchTextSnippetBytes() { + public com.google.protobuf.ByteString getSearchTextSnippetBytes() { java.lang.Object ref = searchTextSnippet_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchTextSnippet_ = b; return b; } else { @@ -1308,6 +1454,8 @@ public java.lang.String getSearchTextSnippet() { } } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1316,20 +1464,22 @@ public java.lang.String getSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @param value The searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippet( - java.lang.String value) { + public Builder setSearchTextSnippet(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + searchTextSnippet_ = value; onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1338,15 +1488,18 @@ public Builder setSearchTextSnippet(
        * 
* * string search_text_snippet = 4; + * * @return This builder for chaining. */ public Builder clearSearchTextSnippet() { - + searchTextSnippet_ = getDefaultInstance().getSearchTextSnippet(); onChanged(); return this; } /** + * + * *
        * Contains snippets of text from the [Job.description][google.cloud.talent.v4beta1.Job.description] and similar
        * fields that most closely match a search query's keywords, if available.
@@ -1355,16 +1508,16 @@ public Builder clearSearchTextSnippet() {
        * 
* * string search_text_snippet = 4; + * * @param value The bytes for searchTextSnippet to set. * @return This builder for chaining. */ - public Builder setSearchTextSnippetBytes( - com.google.protobuf.ByteString value) { + public Builder setSearchTextSnippetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + searchTextSnippet_ = value; onChanged(); return this; @@ -1372,36 +1525,49 @@ public Builder setSearchTextSnippetBytes( private com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commuteInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> commuteInfoBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> + commuteInfoBuilder_; /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
        * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return Whether the commuteInfo field is set. */ public boolean hasCommuteInfo() { return commuteInfoBuilder_ != null || commuteInfo_ != null; } /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
        * 
* * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5; + * * @return The commuteInfo. */ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommuteInfo() { if (commuteInfoBuilder_ == null) { - return commuteInfo_ == null ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_; + return commuteInfo_ == null + ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() + : commuteInfo_; } else { return commuteInfoBuilder_.getMessage(); } } /** + * + * *
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1409,7 +1575,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getCommute
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder setCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
+      public Builder setCommuteInfo(
+          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1423,6 +1590,8 @@ public Builder setCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1442,6 +1611,8 @@ public Builder setCommuteInfo(
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1449,11 +1620,15 @@ public Builder setCommuteInfo(
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public Builder mergeCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
+      public Builder mergeCommuteInfo(
+          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo value) {
         if (commuteInfoBuilder_ == null) {
           if (commuteInfo_ != null) {
             commuteInfo_ =
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder(commuteInfo_).mergeFrom(value).buildPartial();
+                com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder(
+                        commuteInfo_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             commuteInfo_ = value;
           }
@@ -1465,6 +1640,8 @@ public Builder mergeCommuteInfo(com.google.cloud.talent.v4beta1.SearchJobsRespon
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1484,6 +1661,8 @@ public Builder clearCommuteInfo() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1491,12 +1670,15 @@ public Builder clearCommuteInfo() {
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder getCommuteInfoBuilder() {
-        
+      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder
+          getCommuteInfoBuilder() {
+
         onChanged();
         return getCommuteInfoFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1504,15 +1686,19 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder ge
        *
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
-      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder getCommuteInfoOrBuilder() {
+      public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder
+          getCommuteInfoOrBuilder() {
         if (commuteInfoBuilder_ != null) {
           return commuteInfoBuilder_.getMessageOrBuilder();
         } else {
-          return commuteInfo_ == null ?
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance() : commuteInfo_;
+          return commuteInfo_ == null
+              ? com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()
+              : commuteInfo_;
         }
       }
       /**
+       *
+       *
        * 
        * Commute information which is generated based on specified
        *  [CommuteFilter][google.cloud.talent.v4beta1.CommuteFilter].
@@ -1521,18 +1707,22 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder g
        * .google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo commute_info = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder> 
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo,
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder,
+              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>
           getCommuteInfoFieldBuilder() {
         if (commuteInfoBuilder_ == null) {
-          commuteInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>(
-                  getCommuteInfo(),
-                  getParentForChildren(),
-                  isClean());
+          commuteInfoBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo,
+                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder,
+                  com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder>(
+                  getCommuteInfo(), getParentForChildren(), isClean());
           commuteInfo_ = null;
         }
         return commuteInfoBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1545,41 +1735,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob)
-    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob();
     }
 
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public MatchingJob parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public MatchingJob parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1591,35 +1784,44 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CommuteInfoOrBuilder extends
+  public interface CommuteInfoOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ boolean hasJobLocation(); /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return The jobLocation. */ com.google.cloud.talent.v4beta1.Location getJobLocation(); /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1629,6 +1831,8 @@ public interface CommuteInfoOrBuilder extends com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1637,10 +1841,13 @@ public interface CommuteInfoOrBuilder extends
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ boolean hasTravelDuration(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1649,10 +1856,13 @@ public interface CommuteInfoOrBuilder extends
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ com.google.protobuf.Duration getTravelDuration(); /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1665,57 +1875,63 @@ public interface CommuteInfoOrBuilder extends
     com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Commute details related to this job.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo} */ - public static final class CommuteInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CommuteInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) CommuteInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommuteInfo.newBuilder() to construct. private CommuteInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommuteInfo() { - } + + private CommuteInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommuteInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); } public static final int JOB_LOCATION_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Location jobLocation_; /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ @java.lang.Override @@ -1723,18 +1939,25 @@ public boolean hasJobLocation() { return jobLocation_ != null; } /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return The jobLocation. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Location getJobLocation() { - return jobLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : jobLocation_; } /** + * + * *
      * Location used as the destination in the commute calculation.
      * 
@@ -1749,6 +1972,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder public static final int TRAVEL_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration travelDuration_; /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1757,6 +1982,7 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ @java.lang.Override @@ -1764,6 +1990,8 @@ public boolean hasTravelDuration() { return travelDuration_ != null; } /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1772,13 +2000,18 @@ public boolean hasTravelDuration() {
      * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ @java.lang.Override public com.google.protobuf.Duration getTravelDuration() { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } /** + * + * *
      * The number of seconds required to travel to the job location from the
      * query location. A duration of 0 seconds indicates that the job isn't
@@ -1794,6 +2027,7 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1805,8 +2039,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (jobLocation_ != null) {
         output.writeMessage(1, getJobLocation());
       }
@@ -1823,12 +2056,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (jobLocation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getJobLocation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJobLocation());
       }
       if (travelDuration_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getTravelDuration());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTravelDuration());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1838,22 +2069,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)) {
         return super.equals(obj);
       }
-      com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other = (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj;
+      com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other =
+          (com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) obj;
 
       if (hasJobLocation() != other.hasJobLocation()) return false;
       if (hasJobLocation()) {
-        if (!getJobLocation()
-            .equals(other.getJobLocation())) return false;
+        if (!getJobLocation().equals(other.getJobLocation())) return false;
       }
       if (hasTravelDuration() != other.hasTravelDuration()) return false;
       if (hasTravelDuration()) {
-        if (!getTravelDuration()
-            .equals(other.getTravelDuration())) return false;
+        if (!getTravelDuration().equals(other.getTravelDuration())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1880,87 +2110,94 @@ public int hashCode() {
     }
 
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1970,39 +2207,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Commute details related to this job.
      * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2022,13 +2261,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; } @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo + getDefaultInstanceForType() { return com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance(); } @@ -2043,7 +2283,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo result = new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo result = + new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo(this); if (jobLocationBuilder_ == null) { result.jobLocation_ = jobLocation_; } else { @@ -2062,46 +2303,52 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo other) { + if (other + == com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo.getDefaultInstance()) + return this; if (other.hasJobLocation()) { mergeJobLocation(other.getJobLocation()); } @@ -2134,26 +2381,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobLocationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getTravelDurationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobLocationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getTravelDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2166,34 +2413,47 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Location jobLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> jobLocationBuilder_; + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> + jobLocationBuilder_; /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return Whether the jobLocation field is set. */ public boolean hasJobLocation() { return jobLocationBuilder_ != null || jobLocation_ != null; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
* * .google.cloud.talent.v4beta1.Location job_location = 1; + * * @return The jobLocation. */ public com.google.cloud.talent.v4beta1.Location getJobLocation() { if (jobLocationBuilder_ == null) { - return jobLocation_ == null ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : jobLocation_; } else { return jobLocationBuilder_.getMessage(); } } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2214,6 +2474,8 @@ public Builder setJobLocation(com.google.cloud.talent.v4beta1.Location value) { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2232,6 +2494,8 @@ public Builder setJobLocation( return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2242,7 +2506,9 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4beta1.Location value) if (jobLocationBuilder_ == null) { if (jobLocation_ != null) { jobLocation_ = - com.google.cloud.talent.v4beta1.Location.newBuilder(jobLocation_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Location.newBuilder(jobLocation_) + .mergeFrom(value) + .buildPartial(); } else { jobLocation_ = value; } @@ -2254,6 +2520,8 @@ public Builder mergeJobLocation(com.google.cloud.talent.v4beta1.Location value) return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2272,6 +2540,8 @@ public Builder clearJobLocation() { return this; } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2279,11 +2549,13 @@ public Builder clearJobLocation() { * .google.cloud.talent.v4beta1.Location job_location = 1; */ public com.google.cloud.talent.v4beta1.Location.Builder getJobLocationBuilder() { - + onChanged(); return getJobLocationFieldBuilder().getBuilder(); } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2294,11 +2566,14 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder if (jobLocationBuilder_ != null) { return jobLocationBuilder_.getMessageOrBuilder(); } else { - return jobLocation_ == null ? - com.google.cloud.talent.v4beta1.Location.getDefaultInstance() : jobLocation_; + return jobLocation_ == null + ? com.google.cloud.talent.v4beta1.Location.getDefaultInstance() + : jobLocation_; } } /** + * + * *
        * Location used as the destination in the commute calculation.
        * 
@@ -2306,14 +2581,17 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder * .google.cloud.talent.v4beta1.Location job_location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> getJobLocationFieldBuilder() { if (jobLocationBuilder_ == null) { - jobLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>( - getJobLocation(), - getParentForChildren(), - isClean()); + jobLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder>( + getJobLocation(), getParentForChildren(), isClean()); jobLocation_ = null; } return jobLocationBuilder_; @@ -2321,8 +2599,13 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder private com.google.protobuf.Duration travelDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> travelDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + travelDurationBuilder_; /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2331,12 +2614,15 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getJobLocationOrBuilder
        * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return Whether the travelDuration field is set. */ public boolean hasTravelDuration() { return travelDurationBuilder_ != null || travelDuration_ != null; } /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2345,16 +2631,21 @@ public boolean hasTravelDuration() {
        * 
* * .google.protobuf.Duration travel_duration = 2; + * * @return The travelDuration. */ public com.google.protobuf.Duration getTravelDuration() { if (travelDurationBuilder_ == null) { - return travelDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : travelDuration_; + return travelDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : travelDuration_; } else { return travelDurationBuilder_.getMessage(); } } /** + * + * *
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2378,6 +2669,8 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2387,8 +2680,7 @@ public Builder setTravelDuration(com.google.protobuf.Duration value) {
        *
        * .google.protobuf.Duration travel_duration = 2;
        */
-      public Builder setTravelDuration(
-          com.google.protobuf.Duration.Builder builderForValue) {
+      public Builder setTravelDuration(com.google.protobuf.Duration.Builder builderForValue) {
         if (travelDurationBuilder_ == null) {
           travelDuration_ = builderForValue.build();
           onChanged();
@@ -2399,6 +2691,8 @@ public Builder setTravelDuration(
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2412,7 +2706,9 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         if (travelDurationBuilder_ == null) {
           if (travelDuration_ != null) {
             travelDuration_ =
-              com.google.protobuf.Duration.newBuilder(travelDuration_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Duration.newBuilder(travelDuration_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             travelDuration_ = value;
           }
@@ -2424,6 +2720,8 @@ public Builder mergeTravelDuration(com.google.protobuf.Duration value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2445,6 +2743,8 @@ public Builder clearTravelDuration() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2455,11 +2755,13 @@ public Builder clearTravelDuration() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       public com.google.protobuf.Duration.Builder getTravelDurationBuilder() {
-        
+
         onChanged();
         return getTravelDurationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2473,11 +2775,14 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
         if (travelDurationBuilder_ != null) {
           return travelDurationBuilder_.getMessageOrBuilder();
         } else {
-          return travelDuration_ == null ?
-              com.google.protobuf.Duration.getDefaultInstance() : travelDuration_;
+          return travelDuration_ == null
+              ? com.google.protobuf.Duration.getDefaultInstance()
+              : travelDuration_;
         }
       }
       /**
+       *
+       *
        * 
        * The number of seconds required to travel to the job location from the
        * query location. A duration of 0 seconds indicates that the job isn't
@@ -2488,18 +2793,22 @@ public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder() {
        * .google.protobuf.Duration travel_duration = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
           getTravelDurationFieldBuilder() {
         if (travelDurationBuilder_ == null) {
-          travelDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                  getTravelDuration(),
-                  getParentForChildren(),
-                  isClean());
+          travelDurationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Duration,
+                  com.google.protobuf.Duration.Builder,
+                  com.google.protobuf.DurationOrBuilder>(
+                  getTravelDuration(), getParentForChildren(), isClean());
           travelDuration_ = null;
         }
         return travelDurationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2512,41 +2821,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo)
-    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo DEFAULT_INSTANCE;
+    private static final com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo();
     }
 
-    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstance() {
+    public static com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CommuteInfo parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CommuteInfo parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2558,146 +2870,184 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo getDefaultInstanceForType() {
+    public com.google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int MATCHING_JOBS_FIELD_NUMBER = 1;
-  private java.util.List matchingJobs_;
+  private java.util.List
+      matchingJobs_;
   /**
+   *
+   *
    * 
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override - public java.util.List getMatchingJobsList() { + public java.util.List + getMatchingJobsList() { return matchingJobs_; } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsOrBuilderList() { return matchingJobs_; } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override public int getMatchingJobsCount() { return matchingJobs_.size(); } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { return matchingJobs_.get(index); } /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder + getMatchingJobsOrBuilder(int index) { return matchingJobs_.get(index); } public static final int HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER = 2; - private java.util.List histogramQueryResults_; + private java.util.List + histogramQueryResults_; /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override - public java.util.List getHistogramQueryResultsList() { + public java.util.List + getHistogramQueryResultsList() { return histogramQueryResults_; } /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List getHistogramQueryResultsOrBuilderList() { return histogramQueryResults_; } /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override public int getHistogramQueryResultsCount() { return histogramQueryResults_.size(); } /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index) { return histogramQueryResults_.get(index); } /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ @java.lang.Override - public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder + getHistogramQueryResultsOrBuilder(int index) { return histogramQueryResults_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -2706,30 +3056,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -2740,6 +3090,8 @@ public java.lang.String getNextPageToken() { public static final int LOCATION_FILTERS_FIELD_NUMBER = 4; private java.util.List locationFilters_; /** + * + * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2753,6 +3105,8 @@ public java.util.List getLocationFilte
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2762,11 +3116,13 @@ public java.util.List getLocationFilte
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getLocationFiltersOrBuilderList() {
     return locationFilters_;
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2780,6 +3136,8 @@ public int getLocationFiltersCount() {
     return locationFilters_.size();
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2793,6 +3151,8 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
     return locationFilters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -2802,14 +3162,15 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
   @java.lang.Override
-  public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
-      int index) {
+  public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(int index) {
     return locationFilters_.get(index);
   }
 
   public static final int ESTIMATED_TOTAL_SIZE_FIELD_NUMBER = 5;
   private int estimatedTotalSize_;
   /**
+   *
+   *
    * 
    * An estimation of the number of jobs that match the specified query.
    * This number isn't guaranteed to be accurate. For accurate results,
@@ -2817,6 +3178,7 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
    * 
* * int32 estimated_total_size = 5; + * * @return The estimatedTotalSize. */ @java.lang.Override @@ -2827,11 +3189,14 @@ public int getEstimatedTotalSize() { public static final int TOTAL_SIZE_FIELD_NUMBER = 6; private int totalSize_; /** + * + * *
    * The precise result count with limit 100,000.
    * 
* * int32 total_size = 6; + * * @return The totalSize. */ @java.lang.Override @@ -2842,12 +3207,15 @@ public int getTotalSize() { public static final int METADATA_FIELD_NUMBER = 7; private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -2855,19 +3223,26 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return The metadata. */ @java.lang.Override public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -2883,6 +3258,8 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
   public static final int BROADENED_QUERY_JOBS_COUNT_FIELD_NUMBER = 8;
   private int broadenedQueryJobsCount_;
   /**
+   *
+   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -2894,6 +3271,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
    * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -2904,11 +3282,14 @@ public int getBroadenedQueryJobsCount() { public static final int SPELL_CORRECTION_FIELD_NUMBER = 9; private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ @java.lang.Override @@ -2916,18 +3297,25 @@ public boolean hasSpellCorrection() { return spellCorrection_ != null; } /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ @java.lang.Override public com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection() { - return spellCorrection_ == null ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } /** + * + * *
    * The spell checking result, and correction.
    * 
@@ -2940,6 +3328,7 @@ public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorre } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2951,8 +3340,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < matchingJobs_.size(); i++) { output.writeMessage(1, matchingJobs_.get(i)); } @@ -2990,39 +3378,33 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < matchingJobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, matchingJobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, matchingJobs_.get(i)); } for (int i = 0; i < histogramQueryResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, histogramQueryResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, histogramQueryResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); } for (int i = 0; i < locationFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, locationFilters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, locationFilters_.get(i)); } if (estimatedTotalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, estimatedTotalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, estimatedTotalSize_); } if (totalSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, totalSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalSize_); } if (metadata_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getMetadata()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getMetadata()); } if (broadenedQueryJobsCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, broadenedQueryJobsCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, broadenedQueryJobsCount_); } if (spellCorrection_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getSpellCorrection()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getSpellCorrection()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3032,36 +3414,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SearchJobsResponse other = (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; - - if (!getMatchingJobsList() - .equals(other.getMatchingJobsList())) return false; - if (!getHistogramQueryResultsList() - .equals(other.getHistogramQueryResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getLocationFiltersList() - .equals(other.getLocationFiltersList())) return false; - if (getEstimatedTotalSize() - != other.getEstimatedTotalSize()) return false; - if (getTotalSize() - != other.getTotalSize()) return false; + com.google.cloud.talent.v4beta1.SearchJobsResponse other = + (com.google.cloud.talent.v4beta1.SearchJobsResponse) obj; + + if (!getMatchingJobsList().equals(other.getMatchingJobsList())) return false; + if (!getHistogramQueryResultsList().equals(other.getHistogramQueryResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getLocationFiltersList().equals(other.getLocationFiltersList())) return false; + if (getEstimatedTotalSize() != other.getEstimatedTotalSize()) return false; + if (getTotalSize() != other.getTotalSize()) return false; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { - if (!getMetadata() - .equals(other.getMetadata())) return false; + if (!getMetadata().equals(other.getMetadata())) return false; } - if (getBroadenedQueryJobsCount() - != other.getBroadenedQueryJobsCount()) return false; + if (getBroadenedQueryJobsCount() != other.getBroadenedQueryJobsCount()) return false; if (hasSpellCorrection() != other.hasSpellCorrection()) return false; if (hasSpellCorrection()) { - if (!getSpellCorrection() - .equals(other.getSpellCorrection())) return false; + if (!getSpellCorrection().equals(other.getSpellCorrection())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3108,129 +3482,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SearchJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.SearchJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for SearchJob method.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SearchJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SearchJobsResponse) com.google.cloud.talent.v4beta1.SearchJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SearchJobsResponse.class, com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); + com.google.cloud.talent.v4beta1.SearchJobsResponse.class, + com.google.cloud.talent.v4beta1.SearchJobsResponse.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SearchJobsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3279,9 +3659,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; } @java.lang.Override @@ -3300,7 +3680,8 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { - com.google.cloud.talent.v4beta1.SearchJobsResponse result = new com.google.cloud.talent.v4beta1.SearchJobsResponse(this); + com.google.cloud.talent.v4beta1.SearchJobsResponse result = + new com.google.cloud.talent.v4beta1.SearchJobsResponse(this); int from_bitField0_ = bitField0_; if (matchingJobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3351,38 +3732,39 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SearchJobsResponse) { - return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SearchJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -3390,7 +3772,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse other) { - if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance()) + return this; if (matchingJobsBuilder_ == null) { if (!other.matchingJobs_.isEmpty()) { if (matchingJobs_.isEmpty()) { @@ -3409,9 +3792,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe matchingJobsBuilder_ = null; matchingJobs_ = other.matchingJobs_; bitField0_ = (bitField0_ & ~0x00000001); - matchingJobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMatchingJobsFieldBuilder() : null; + matchingJobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMatchingJobsFieldBuilder() + : null; } else { matchingJobsBuilder_.addAllMessages(other.matchingJobs_); } @@ -3435,9 +3819,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe histogramQueryResultsBuilder_ = null; histogramQueryResults_ = other.histogramQueryResults_; bitField0_ = (bitField0_ & ~0x00000002); - histogramQueryResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHistogramQueryResultsFieldBuilder() : null; + histogramQueryResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHistogramQueryResultsFieldBuilder() + : null; } else { histogramQueryResultsBuilder_.addAllMessages(other.histogramQueryResults_); } @@ -3465,9 +3850,10 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.SearchJobsResponse othe locationFiltersBuilder_ = null; locationFilters_ = other.locationFilters_; bitField0_ = (bitField0_ & ~0x00000004); - locationFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getLocationFiltersFieldBuilder() : null; + locationFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocationFiltersFieldBuilder() + : null; } else { locationFiltersBuilder_.addAllMessages(other.locationFilters_); } @@ -3514,85 +3900,90 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob m = - input.readMessage( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.parser(), - extensionRegistry); - if (matchingJobsBuilder_ == null) { - ensureMatchingJobsIsMutable(); - matchingJobs_.add(m); - } else { - matchingJobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.cloud.talent.v4beta1.HistogramQueryResult m = - input.readMessage( - com.google.cloud.talent.v4beta1.HistogramQueryResult.parser(), - extensionRegistry); - if (histogramQueryResultsBuilder_ == null) { - ensureHistogramQueryResultsIsMutable(); - histogramQueryResults_.add(m); - } else { - histogramQueryResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob m = + input.readMessage( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.parser(), + extensionRegistry); + if (matchingJobsBuilder_ == null) { + ensureMatchingJobsIsMutable(); + matchingJobs_.add(m); + } else { + matchingJobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.cloud.talent.v4beta1.HistogramQueryResult m = + input.readMessage( + com.google.cloud.talent.v4beta1.HistogramQueryResult.parser(), + extensionRegistry); + if (histogramQueryResultsBuilder_ == null) { + ensureHistogramQueryResultsIsMutable(); + histogramQueryResults_.add(m); + } else { + histogramQueryResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - com.google.cloud.talent.v4beta1.Location m = - input.readMessage( - com.google.cloud.talent.v4beta1.Location.parser(), - extensionRegistry); - if (locationFiltersBuilder_ == null) { - ensureLocationFiltersIsMutable(); - locationFilters_.add(m); - } else { - locationFiltersBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: { - estimatedTotalSize_ = input.readInt32(); + break; + } // case 26 + case 34: + { + com.google.cloud.talent.v4beta1.Location m = + input.readMessage( + com.google.cloud.talent.v4beta1.Location.parser(), extensionRegistry); + if (locationFiltersBuilder_ == null) { + ensureLocationFiltersIsMutable(); + locationFilters_.add(m); + } else { + locationFiltersBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: + { + estimatedTotalSize_ = input.readInt32(); - break; - } // case 40 - case 48: { - totalSize_ = input.readInt32(); + break; + } // case 40 + case 48: + { + totalSize_ = input.readInt32(); - break; - } // case 48 - case 58: { - input.readMessage( - getMetadataFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 48 + case 58: + { + input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 64: { - broadenedQueryJobsCount_ = input.readInt32(); + break; + } // case 58 + case 64: + { + broadenedQueryJobsCount_ = input.readInt32(); - break; - } // case 64 - case 74: { - input.readMessage( - getSpellCorrectionFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 64 + case 74: + { + input.readMessage(getSpellCorrectionFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3602,28 +3993,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List matchingJobs_ = - java.util.Collections.emptyList(); + private java.util.List + matchingJobs_ = java.util.Collections.emptyList(); + private void ensureMatchingJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - matchingJobs_ = new java.util.ArrayList(matchingJobs_); + matchingJobs_ = + new java.util.ArrayList( + matchingJobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> matchingJobsBuilder_; + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + matchingJobsBuilder_; /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List getMatchingJobsList() { + public java.util.List + getMatchingJobsList() { if (matchingJobsBuilder_ == null) { return java.util.Collections.unmodifiableList(matchingJobs_); } else { @@ -3631,11 +4033,14 @@ public java.util.List * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest]. *
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public int getMatchingJobsCount() { if (matchingJobsBuilder_ == null) { @@ -3645,13 +4050,17 @@ public int getMatchingJobsCount() { } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs( + int index) { if (matchingJobsBuilder_ == null) { return matchingJobs_.get(index); } else { @@ -3659,11 +4068,14 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchin } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder setMatchingJobs( int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { @@ -3680,14 +4092,18 @@ public Builder setMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder setMatchingJobs( - int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.set(index, builderForValue.build()); @@ -3698,13 +4114,17 @@ public Builder setMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public Builder addMatchingJobs(com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { + public Builder addMatchingJobs( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { if (matchingJobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3718,11 +4138,14 @@ public Builder addMatchingJobs(com.google.cloud.talent.v4beta1.SearchJobsRespons return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob value) { @@ -3739,11 +4162,14 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { @@ -3757,14 +4183,18 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addMatchingJobs( - int index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { + int index, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder builderForValue) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); matchingJobs_.add(index, builderForValue.build()); @@ -3775,18 +4205,21 @@ public Builder addMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder addAllMatchingJobs( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (matchingJobsBuilder_ == null) { ensureMatchingJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, matchingJobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchingJobs_); onChanged(); } else { matchingJobsBuilder_.addAllMessages(values); @@ -3794,11 +4227,14 @@ public Builder addAllMatchingJobs( return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder clearMatchingJobs() { if (matchingJobsBuilder_ == null) { @@ -3811,11 +4247,14 @@ public Builder clearMatchingJobs() { return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ public Builder removeMatchingJobs(int index) { if (matchingJobsBuilder_ == null) { @@ -3828,39 +4267,50 @@ public Builder removeMatchingJobs(int index) { return this; } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder getMatchingJobsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder + getMatchingJobsBuilder(int index) { return getMatchingJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder + getMatchingJobsOrBuilder(int index) { if (matchingJobsBuilder_ == null) { - return matchingJobs_.get(index); } else { + return matchingJobs_.get(index); + } else { return matchingJobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List - getMatchingJobsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + getMatchingJobsOrBuilderList() { if (matchingJobsBuilder_ != null) { return matchingJobsBuilder_.getMessageOrBuilderList(); } else { @@ -3868,75 +4318,101 @@ public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder g } } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder() { - return getMatchingJobsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder + addMatchingJobsBuilder() { + return getMatchingJobsFieldBuilder() + .addBuilder( + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder addMatchingJobsBuilder( - int index) { - return getMatchingJobsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder + addMatchingJobsBuilder(int index) { + return getMatchingJobsFieldBuilder() + .addBuilder( + index, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.getDefaultInstance()); } /** + * + * *
      * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
      * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - public java.util.List - getMatchingJobsBuilderList() { + public java.util.List + getMatchingJobsBuilderList() { return getMatchingJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder> getMatchingJobsFieldBuilder() { if (matchingJobsBuilder_ == null) { - matchingJobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( - matchingJobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + matchingJobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob.Builder, + com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder>( + matchingJobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); matchingJobs_ = null; } return matchingJobsBuilder_; } - private java.util.List histogramQueryResults_ = - java.util.Collections.emptyList(); + private java.util.List + histogramQueryResults_ = java.util.Collections.emptyList(); + private void ensureHistogramQueryResultsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - histogramQueryResults_ = new java.util.ArrayList(histogramQueryResults_); + histogramQueryResults_ = + new java.util.ArrayList( + histogramQueryResults_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> histogramQueryResultsBuilder_; + com.google.cloud.talent.v4beta1.HistogramQueryResult, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, + com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> + histogramQueryResultsBuilder_; /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List getHistogramQueryResultsList() { + public java.util.List + getHistogramQueryResultsList() { if (histogramQueryResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(histogramQueryResults_); } else { @@ -3944,12 +4420,15 @@ public java.util.List getH } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public int getHistogramQueryResultsCount() { if (histogramQueryResultsBuilder_ == null) { @@ -3959,14 +4438,18 @@ public int getHistogramQueryResultsCount() { } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults( + int index) { if (histogramQueryResultsBuilder_ == null) { return histogramQueryResults_.get(index); } else { @@ -3974,12 +4457,15 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryRes } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult value) { @@ -3996,12 +4482,15 @@ public Builder setHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder setHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4015,14 +4504,18 @@ public Builder setHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public Builder addHistogramQueryResults(com.google.cloud.talent.v4beta1.HistogramQueryResult value) { + public Builder addHistogramQueryResults( + com.google.cloud.talent.v4beta1.HistogramQueryResult value) { if (histogramQueryResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4036,12 +4529,15 @@ public Builder addHistogramQueryResults(com.google.cloud.talent.v4beta1.Histogra return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult value) { @@ -4058,12 +4554,15 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4077,12 +4576,15 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addHistogramQueryResults( int index, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder builderForValue) { @@ -4096,19 +4598,21 @@ public Builder addHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder addAllHistogramQueryResults( java.lang.Iterable values) { if (histogramQueryResultsBuilder_ == null) { ensureHistogramQueryResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, histogramQueryResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, histogramQueryResults_); onChanged(); } else { histogramQueryResultsBuilder_.addAllMessages(values); @@ -4116,12 +4620,15 @@ public Builder addAllHistogramQueryResults( return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder clearHistogramQueryResults() { if (histogramQueryResultsBuilder_ == null) { @@ -4134,12 +4641,15 @@ public Builder clearHistogramQueryResults() { return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ public Builder removeHistogramQueryResults(int index) { if (histogramQueryResultsBuilder_ == null) { @@ -4152,42 +4662,52 @@ public Builder removeHistogramQueryResults(int index) { return this; } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder getHistogramQueryResultsBuilder( - int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder + getHistogramQueryResultsBuilder(int index) { return getHistogramQueryResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( - int index) { + public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder + getHistogramQueryResultsOrBuilder(int index) { if (histogramQueryResultsBuilder_ == null) { - return histogramQueryResults_.get(index); } else { + return histogramQueryResults_.get(index); + } else { return histogramQueryResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List - getHistogramQueryResultsOrBuilderList() { + public java.util.List + getHistogramQueryResultsOrBuilderList() { if (histogramQueryResultsBuilder_ != null) { return histogramQueryResultsBuilder_.getMessageOrBuilderList(); } else { @@ -4195,48 +4715,65 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogra } } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogramQueryResultsBuilder() { - return getHistogramQueryResultsFieldBuilder().addBuilder( - com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder + addHistogramQueryResultsBuilder() { + return getHistogramQueryResultsFieldBuilder() + .addBuilder(com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogramQueryResultsBuilder( - int index) { - return getHistogramQueryResultsFieldBuilder().addBuilder( - index, com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); + public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder + addHistogramQueryResultsBuilder(int index) { + return getHistogramQueryResultsFieldBuilder() + .addBuilder( + index, com.google.cloud.talent.v4beta1.HistogramQueryResult.getDefaultInstance()); } /** + * + * *
      * The histogram results that match with specified
      * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
      * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - public java.util.List - getHistogramQueryResultsBuilderList() { + public java.util.List + getHistogramQueryResultsBuilderList() { return getHistogramQueryResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> + com.google.cloud.talent.v4beta1.HistogramQueryResult, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, + com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder> getHistogramQueryResultsFieldBuilder() { if (histogramQueryResultsBuilder_ == null) { - histogramQueryResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.HistogramQueryResult, com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( + histogramQueryResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.talent.v4beta1.HistogramQueryResult, + com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder, + com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>( histogramQueryResults_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4248,19 +4785,21 @@ public com.google.cloud.talent.v4beta1.HistogramQueryResult.Builder addHistogram private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -4269,21 +4808,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4291,75 +4831,89 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token that specifies the starting position of the next page of results.
      * This field is empty if there are no more results.
      * 
* * string next_page_token = 3; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } private java.util.List locationFilters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureLocationFiltersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - locationFilters_ = new java.util.ArrayList(locationFilters_); + locationFilters_ = + new java.util.ArrayList(locationFilters_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> locationFiltersBuilder_; + com.google.cloud.talent.v4beta1.Location, + com.google.cloud.talent.v4beta1.Location.Builder, + com.google.cloud.talent.v4beta1.LocationOrBuilder> + locationFiltersBuilder_; /** + * + * *
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4376,6 +4930,8 @@ public java.util.List getLocationFilte
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4392,6 +4948,8 @@ public int getLocationFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4408,6 +4966,8 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4416,8 +4976,7 @@ public com.google.cloud.talent.v4beta1.Location getLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public Builder setLocationFilters(
-        int index, com.google.cloud.talent.v4beta1.Location value) {
+    public Builder setLocationFilters(int index, com.google.cloud.talent.v4beta1.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4431,6 +4990,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4451,6 +5012,8 @@ public Builder setLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4473,6 +5036,8 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.Location value
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4481,8 +5046,7 @@ public Builder addLocationFilters(com.google.cloud.talent.v4beta1.Location value
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public Builder addLocationFilters(
-        int index, com.google.cloud.talent.v4beta1.Location value) {
+    public Builder addLocationFilters(int index, com.google.cloud.talent.v4beta1.Location value) {
       if (locationFiltersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4496,6 +5060,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4516,6 +5082,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4536,6 +5104,8 @@ public Builder addLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4548,8 +5118,7 @@ public Builder addAllLocationFilters(
         java.lang.Iterable values) {
       if (locationFiltersBuilder_ == null) {
         ensureLocationFiltersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, locationFilters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locationFilters_);
         onChanged();
       } else {
         locationFiltersBuilder_.addAllMessages(values);
@@ -4557,6 +5126,8 @@ public Builder addAllLocationFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4576,6 +5147,8 @@ public Builder clearLocationFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4595,6 +5168,8 @@ public Builder removeLocationFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4603,11 +5178,12 @@ public Builder removeLocationFilters(int index) {
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilder(
-        int index) {
+    public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilder(int index) {
       return getLocationFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4619,11 +5195,14 @@ public com.google.cloud.talent.v4beta1.Location.Builder getLocationFiltersBuilde
     public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
         int index) {
       if (locationFiltersBuilder_ == null) {
-        return locationFilters_.get(index);  } else {
+        return locationFilters_.get(index);
+      } else {
         return locationFiltersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4632,8 +5211,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public java.util.List 
-         getLocationFiltersOrBuilderList() {
+    public java.util.List
+        getLocationFiltersOrBuilderList() {
       if (locationFiltersBuilder_ != null) {
         return locationFiltersBuilder_.getMessageOrBuilderList();
       } else {
@@ -4641,6 +5220,8 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
       }
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4650,10 +5231,12 @@ public com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBui
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
     public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder() {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4662,12 +5245,13 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder(
-        int index) {
-      return getLocationFiltersFieldBuilder().addBuilder(
-          index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
+    public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilder(int index) {
+      return getLocationFiltersFieldBuilder()
+          .addBuilder(index, com.google.cloud.talent.v4beta1.Location.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The location filters that the service applied to the specified query. If
      * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -4676,16 +5260,22 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      *
      * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
      */
-    public java.util.List 
-         getLocationFiltersBuilderList() {
+    public java.util.List
+        getLocationFiltersBuilderList() {
       return getLocationFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder> 
+            com.google.cloud.talent.v4beta1.Location,
+            com.google.cloud.talent.v4beta1.Location.Builder,
+            com.google.cloud.talent.v4beta1.LocationOrBuilder>
         getLocationFiltersFieldBuilder() {
       if (locationFiltersBuilder_ == null) {
-        locationFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.Location, com.google.cloud.talent.v4beta1.Location.Builder, com.google.cloud.talent.v4beta1.LocationOrBuilder>(
+        locationFiltersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.Location,
+                com.google.cloud.talent.v4beta1.Location.Builder,
+                com.google.cloud.talent.v4beta1.LocationOrBuilder>(
                 locationFilters_,
                 ((bitField0_ & 0x00000004) != 0),
                 getParentForChildren(),
@@ -4695,8 +5285,10 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
       return locationFiltersBuilder_;
     }
 
-    private int estimatedTotalSize_ ;
+    private int estimatedTotalSize_;
     /**
+     *
+     *
      * 
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -4704,6 +5296,7 @@ public com.google.cloud.talent.v4beta1.Location.Builder addLocationFiltersBuilde
      * 
* * int32 estimated_total_size = 5; + * * @return The estimatedTotalSize. */ @java.lang.Override @@ -4711,6 +5304,8 @@ public int getEstimatedTotalSize() { return estimatedTotalSize_; } /** + * + * *
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -4718,16 +5313,19 @@ public int getEstimatedTotalSize() {
      * 
* * int32 estimated_total_size = 5; + * * @param value The estimatedTotalSize to set. * @return This builder for chaining. */ public Builder setEstimatedTotalSize(int value) { - + estimatedTotalSize_ = value; onChanged(); return this; } /** + * + * *
      * An estimation of the number of jobs that match the specified query.
      * This number isn't guaranteed to be accurate. For accurate results,
@@ -4735,22 +5333,26 @@ public Builder setEstimatedTotalSize(int value) {
      * 
* * int32 estimated_total_size = 5; + * * @return This builder for chaining. */ public Builder clearEstimatedTotalSize() { - + estimatedTotalSize_ = 0; onChanged(); return this; } - private int totalSize_ ; + private int totalSize_; /** + * + * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; + * * @return The totalSize. */ @java.lang.Override @@ -4758,30 +5360,36 @@ public int getTotalSize() { return totalSize_; } /** + * + * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; + * * @param value The totalSize to set. * @return This builder for chaining. */ public Builder setTotalSize(int value) { - + totalSize_ = value; onChanged(); return this; } /** + * + * *
      * The precise result count with limit 100,000.
      * 
* * int32 total_size = 6; + * * @return This builder for chaining. */ public Builder clearTotalSize() { - + totalSize_ = 0; onChanged(); return this; @@ -4789,36 +5397,49 @@ public Builder clearTotalSize() { private com.google.cloud.talent.v4beta1.ResponseMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> metadataBuilder_; + com.google.cloud.talent.v4beta1.ResponseMetadata, + com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, + com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> + metadataBuilder_; /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
      * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return The metadata. */ public com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata() { if (metadataBuilder_ == null) { - return metadata_ == null ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_; + return metadata_ == null + ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() + : metadata_; } else { return metadataBuilder_.getMessage(); } } /** + * + * *
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4840,6 +5461,8 @@ public Builder setMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4859,6 +5482,8 @@ public Builder setMetadata(
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4870,7 +5495,9 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       if (metadataBuilder_ == null) {
         if (metadata_ != null) {
           metadata_ =
-            com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial();
+              com.google.cloud.talent.v4beta1.ResponseMetadata.newBuilder(metadata_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           metadata_ = value;
         }
@@ -4882,6 +5509,8 @@ public Builder mergeMetadata(com.google.cloud.talent.v4beta1.ResponseMetadata va
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4901,6 +5530,8 @@ public Builder clearMetadata() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4909,11 +5540,13 @@ public Builder clearMetadata() {
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
      */
     public com.google.cloud.talent.v4beta1.ResponseMetadata.Builder getMetadataBuilder() {
-      
+
       onChanged();
       return getMetadataFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4925,11 +5558,14 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
       if (metadataBuilder_ != null) {
         return metadataBuilder_.getMessageOrBuilder();
       } else {
-        return metadata_ == null ?
-            com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance() : metadata_;
+        return metadata_ == null
+            ? com.google.cloud.talent.v4beta1.ResponseMetadata.getDefaultInstance()
+            : metadata_;
       }
     }
     /**
+     *
+     *
      * 
      * Additional information for the API invocation, such as the request
      * tracking id.
@@ -4938,21 +5574,26 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder> 
+            com.google.cloud.talent.v4beta1.ResponseMetadata,
+            com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+            com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>
         getMetadataFieldBuilder() {
       if (metadataBuilder_ == null) {
-        metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.talent.v4beta1.ResponseMetadata, com.google.cloud.talent.v4beta1.ResponseMetadata.Builder, com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
-                getMetadata(),
-                getParentForChildren(),
-                isClean());
+        metadataBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.talent.v4beta1.ResponseMetadata,
+                com.google.cloud.talent.v4beta1.ResponseMetadata.Builder,
+                com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder>(
+                getMetadata(), getParentForChildren(), isClean());
         metadata_ = null;
       }
       return metadataBuilder_;
     }
 
-    private int broadenedQueryJobsCount_ ;
+    private int broadenedQueryJobsCount_;
     /**
+     *
+     *
      * 
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4964,6 +5605,7 @@ public com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBu
      * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ @java.lang.Override @@ -4971,6 +5613,8 @@ public int getBroadenedQueryJobsCount() { return broadenedQueryJobsCount_; } /** + * + * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -4982,16 +5626,19 @@ public int getBroadenedQueryJobsCount() {
      * 
* * int32 broadened_query_jobs_count = 8; + * * @param value The broadenedQueryJobsCount to set. * @return This builder for chaining. */ public Builder setBroadenedQueryJobsCount(int value) { - + broadenedQueryJobsCount_ = value; onChanged(); return this; } /** + * + * *
      * If query broadening is enabled, we may append additional results from the
      * broadened query. This number indicates how many of the jobs returned in the
@@ -5003,10 +5650,11 @@ public Builder setBroadenedQueryJobsCount(int value) {
      * 
* * int32 broadened_query_jobs_count = 8; + * * @return This builder for chaining. */ public Builder clearBroadenedQueryJobsCount() { - + broadenedQueryJobsCount_ = 0; onChanged(); return this; @@ -5014,34 +5662,47 @@ public Builder clearBroadenedQueryJobsCount() { private com.google.cloud.talent.v4beta1.SpellingCorrection spellCorrection_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> spellCorrectionBuilder_; + com.google.cloud.talent.v4beta1.SpellingCorrection, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, + com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> + spellCorrectionBuilder_; /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ public boolean hasSpellCorrection() { return spellCorrectionBuilder_ != null || spellCorrection_ != null; } /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ public com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection() { if (spellCorrectionBuilder_ == null) { - return spellCorrection_ == null ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } else { return spellCorrectionBuilder_.getMessage(); } } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5062,6 +5723,8 @@ public Builder setSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorrec return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5080,6 +5743,8 @@ public Builder setSpellCorrection( return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5090,7 +5755,9 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorr if (spellCorrectionBuilder_ == null) { if (spellCorrection_ != null) { spellCorrection_ = - com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder(spellCorrection_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder(spellCorrection_) + .mergeFrom(value) + .buildPartial(); } else { spellCorrection_ = value; } @@ -5102,6 +5769,8 @@ public Builder mergeSpellCorrection(com.google.cloud.talent.v4beta1.SpellingCorr return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5120,6 +5789,8 @@ public Builder clearSpellCorrection() { return this; } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5127,26 +5798,32 @@ public Builder clearSpellCorrection() { * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ public com.google.cloud.talent.v4beta1.SpellingCorrection.Builder getSpellCorrectionBuilder() { - + onChanged(); return getSpellCorrectionFieldBuilder().getBuilder(); } /** + * + * *
      * The spell checking result, and correction.
      * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ - public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder() { + public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder + getSpellCorrectionOrBuilder() { if (spellCorrectionBuilder_ != null) { return spellCorrectionBuilder_.getMessageOrBuilder(); } else { - return spellCorrection_ == null ? - com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() : spellCorrection_; + return spellCorrection_ == null + ? com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance() + : spellCorrection_; } } /** + * + * *
      * The spell checking result, and correction.
      * 
@@ -5154,21 +5831,24 @@ public com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder getSpellCorre * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> + com.google.cloud.talent.v4beta1.SpellingCorrection, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, + com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder> getSpellCorrectionFieldBuilder() { if (spellCorrectionBuilder_ == null) { - spellCorrectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.SpellingCorrection, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder>( - getSpellCorrection(), - getParentForChildren(), - isClean()); + spellCorrectionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.SpellingCorrection, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder, + com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder>( + getSpellCorrection(), getParentForChildren(), isClean()); spellCorrection_ = null; } return spellCorrectionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5178,12 +5858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SearchJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SearchJobsResponse) private static final com.google.cloud.talent.v4beta1.SearchJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SearchJobsResponse(); } @@ -5192,27 +5872,27 @@ public static com.google.cloud.talent.v4beta1.SearchJobsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SearchJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SearchJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5227,6 +5907,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SearchJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java similarity index 85% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java index c0cf4d300fda..d63f49648e9b 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SearchJobsResponseOrBuilder.java @@ -1,128 +1,181 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/job_service.proto package com.google.cloud.talent.v4beta1; -public interface SearchJobsResponseOrBuilder extends +public interface SearchJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SearchJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - java.util.List + java.util.List getMatchingJobsList(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob getMatchingJobs(int index); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ int getMatchingJobsCount(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ - java.util.List + java.util.List getMatchingJobsOrBuilderList(); /** + * + * *
    * The Job entities that match the specified [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
    * 
* - * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * repeated .google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob matching_jobs = 1; + * */ com.google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJobOrBuilder getMatchingJobsOrBuilder( int index); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - java.util.List + java.util.List getHistogramQueryResultsList(); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ com.google.cloud.talent.v4beta1.HistogramQueryResult getHistogramQueryResults(int index); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ int getHistogramQueryResultsCount(); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ - java.util.List + java.util.List getHistogramQueryResultsOrBuilderList(); /** + * + * *
    * The histogram results that match with specified
    * [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries].
    * 
* - * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 2; + * */ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder( int index); /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token that specifies the starting position of the next page of results.
    * This field is empty if there are no more results.
    * 
* * string next_page_token = 3; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -131,9 +184,10 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  java.util.List 
-      getLocationFiltersList();
+  java.util.List getLocationFiltersList();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -144,6 +198,8 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    */
   com.google.cloud.talent.v4beta1.Location getLocationFilters(int index);
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -154,6 +210,8 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    */
   int getLocationFiltersCount();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -162,9 +220,11 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  java.util.List 
+  java.util.List
       getLocationFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The location filters that the service applied to the specified query. If
    * any filters are lat-lng based, the [Location.location_type][google.cloud.talent.v4beta1.Location.location_type] is
@@ -173,10 +233,11 @@ com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder getHistogramQueryR
    *
    * repeated .google.cloud.talent.v4beta1.Location location_filters = 4;
    */
-  com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
-      int index);
+  com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * An estimation of the number of jobs that match the specified query.
    * This number isn't guaranteed to be accurate. For accurate results,
@@ -184,41 +245,53 @@ com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
    * 
* * int32 estimated_total_size = 5; + * * @return The estimatedTotalSize. */ int getEstimatedTotalSize(); /** + * + * *
    * The precise result count with limit 100,000.
    * 
* * int32 total_size = 6; + * * @return The totalSize. */ int getTotalSize(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
    * 
* * .google.cloud.talent.v4beta1.ResponseMetadata metadata = 7; + * * @return The metadata. */ com.google.cloud.talent.v4beta1.ResponseMetadata getMetadata(); /** + * + * *
    * Additional information for the API invocation, such as the request
    * tracking id.
@@ -229,6 +302,8 @@ com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
   com.google.cloud.talent.v4beta1.ResponseMetadataOrBuilder getMetadataOrBuilder();
 
   /**
+   *
+   *
    * 
    * If query broadening is enabled, we may append additional results from the
    * broadened query. This number indicates how many of the jobs returned in the
@@ -240,29 +315,38 @@ com.google.cloud.talent.v4beta1.LocationOrBuilder getLocationFiltersOrBuilder(
    * 
* * int32 broadened_query_jobs_count = 8; + * * @return The broadenedQueryJobsCount. */ int getBroadenedQueryJobsCount(); /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return Whether the spellCorrection field is set. */ boolean hasSpellCorrection(); /** + * + * *
    * The spell checking result, and correction.
    * 
* * .google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 9; + * * @return The spellCorrection. */ com.google.cloud.talent.v4beta1.SpellingCorrection getSpellCorrection(); /** + * + * *
    * The spell checking result, and correction.
    * 
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java similarity index 71% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java index 8146b4382e69..f139abd15133 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrection.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Spell check result.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SpellingCorrection} */ -public final class SpellingCorrection extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SpellingCorrection extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.SpellingCorrection) SpellingCorrectionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SpellingCorrection.newBuilder() to construct. private SpellingCorrection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SpellingCorrection() { correctedText_ = ""; correctedHtml_ = ""; @@ -26,37 +44,41 @@ private SpellingCorrection() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SpellingCorrection(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SpellingCorrection.class, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4beta1.SpellingCorrection.class, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); } public static final int CORRECTED_FIELD_NUMBER = 1; private boolean corrected_; /** + * + * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; + * * @return The corrected. */ @java.lang.Override @@ -67,11 +89,14 @@ public boolean getCorrected() { public static final int CORRECTED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object correctedText_; /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The correctedText. */ @java.lang.Override @@ -80,29 +105,29 @@ public java.lang.String getCorrectedText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; } } /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ @java.lang.Override - public com.google.protobuf.ByteString - getCorrectedTextBytes() { + public com.google.protobuf.ByteString getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedText_ = b; return b; } else { @@ -113,6 +138,8 @@ public java.lang.String getCorrectedText() { public static final int CORRECTED_HTML_FIELD_NUMBER = 3; private volatile java.lang.Object correctedHtml_; /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -123,6 +150,7 @@ public java.lang.String getCorrectedText() {
    * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ @java.lang.Override @@ -131,14 +159,15 @@ public java.lang.String getCorrectedHtml() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; } } /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -149,16 +178,15 @@ public java.lang.String getCorrectedHtml() {
    * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ @java.lang.Override - public com.google.protobuf.ByteString - getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -167,6 +195,7 @@ public java.lang.String getCorrectedHtml() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (corrected_ != false) { output.writeBool(1, corrected_); } @@ -199,8 +227,7 @@ public int getSerializedSize() { size = 0; if (corrected_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, corrected_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, corrected_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correctedText_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, correctedText_); @@ -216,19 +243,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.SpellingCorrection)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.SpellingCorrection other = (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; + com.google.cloud.talent.v4beta1.SpellingCorrection other = + (com.google.cloud.talent.v4beta1.SpellingCorrection) obj; - if (getCorrected() - != other.getCorrected()) return false; - if (!getCorrectedText() - .equals(other.getCorrectedText())) return false; - if (!getCorrectedHtml() - .equals(other.getCorrectedHtml())) return false; + if (getCorrected() != other.getCorrected()) return false; + if (!getCorrectedText().equals(other.getCorrectedText())) return false; + if (!getCorrectedHtml().equals(other.getCorrectedHtml())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -241,8 +266,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CORRECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCorrected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCorrected()); hash = (37 * hash) + CORRECTED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getCorrectedText().hashCode(); hash = (37 * hash) + CORRECTED_HTML_FIELD_NUMBER; @@ -253,129 +277,135 @@ public int hashCode() { } public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.SpellingCorrection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.SpellingCorrection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Spell check result.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.SpellingCorrection} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.SpellingCorrection) com.google.cloud.talent.v4beta1.SpellingCorrectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.SpellingCorrection.class, com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); + com.google.cloud.talent.v4beta1.SpellingCorrection.class, + com.google.cloud.talent.v4beta1.SpellingCorrection.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.SpellingCorrection.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; } @java.lang.Override @@ -410,7 +440,8 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection build() { @java.lang.Override public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { - com.google.cloud.talent.v4beta1.SpellingCorrection result = new com.google.cloud.talent.v4beta1.SpellingCorrection(this); + com.google.cloud.talent.v4beta1.SpellingCorrection result = + new com.google.cloud.talent.v4beta1.SpellingCorrection(this); result.corrected_ = corrected_; result.correctedText_ = correctedText_; result.correctedHtml_ = correctedHtml_; @@ -422,38 +453,39 @@ public com.google.cloud.talent.v4beta1.SpellingCorrection buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.SpellingCorrection) { - return mergeFrom((com.google.cloud.talent.v4beta1.SpellingCorrection)other); + return mergeFrom((com.google.cloud.talent.v4beta1.SpellingCorrection) other); } else { super.mergeFrom(other); return this; @@ -461,7 +493,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.SpellingCorrection other) { - if (other == com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.SpellingCorrection.getDefaultInstance()) + return this; if (other.getCorrected() != false) { setCorrected(other.getCorrected()); } @@ -499,27 +532,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - corrected_ = input.readBool(); - - break; - } // case 8 - case 18: { - correctedText_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - correctedHtml_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + corrected_ = input.readBool(); + + break; + } // case 8 + case 18: + { + correctedText_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + correctedHtml_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,13 +567,16 @@ public Builder mergeFrom( return this; } - private boolean corrected_ ; + private boolean corrected_; /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @return The corrected. */ @java.lang.Override @@ -544,30 +584,36 @@ public boolean getCorrected() { return corrected_; } /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @param value The corrected to set. * @return This builder for chaining. */ public Builder setCorrected(boolean value) { - + corrected_ = value; onChanged(); return this; } /** + * + * *
      * Indicates if the query was corrected by the spell checker.
      * 
* * bool corrected = 1; + * * @return This builder for chaining. */ public Builder clearCorrected() { - + corrected_ = false; onChanged(); return this; @@ -575,18 +621,20 @@ public Builder clearCorrected() { private java.lang.Object correctedText_ = ""; /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return The correctedText. */ public java.lang.String getCorrectedText() { java.lang.Object ref = correctedText_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedText_ = s; return s; @@ -595,20 +643,21 @@ public java.lang.String getCorrectedText() { } } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ - public com.google.protobuf.ByteString - getCorrectedTextBytes() { + public com.google.protobuf.ByteString getCorrectedTextBytes() { java.lang.Object ref = correctedText_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedText_ = b; return b; } else { @@ -616,54 +665,61 @@ public java.lang.String getCorrectedText() { } } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @param value The correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedText( - java.lang.String value) { + public Builder setCorrectedText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedText_ = value; onChanged(); return this; } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @return This builder for chaining. */ public Builder clearCorrectedText() { - + correctedText_ = getDefaultInstance().getCorrectedText(); onChanged(); return this; } /** + * + * *
      * Correction output consisting of the corrected keyword string.
      * 
* * string corrected_text = 2; + * * @param value The bytes for correctedText to set. * @return This builder for chaining. */ - public Builder setCorrectedTextBytes( - com.google.protobuf.ByteString value) { + public Builder setCorrectedTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedText_ = value; onChanged(); return this; @@ -671,6 +727,8 @@ public Builder setCorrectedTextBytes( private java.lang.Object correctedHtml_ = ""; /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -681,13 +739,13 @@ public Builder setCorrectedTextBytes(
      * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ public java.lang.String getCorrectedHtml() { java.lang.Object ref = correctedHtml_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); correctedHtml_ = s; return s; @@ -696,6 +754,8 @@ public java.lang.String getCorrectedHtml() { } } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -706,15 +766,14 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ - public com.google.protobuf.ByteString - getCorrectedHtmlBytes() { + public com.google.protobuf.ByteString getCorrectedHtmlBytes() { java.lang.Object ref = correctedHtml_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); correctedHtml_ = b; return b; } else { @@ -722,6 +781,8 @@ public java.lang.String getCorrectedHtml() { } } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -732,20 +793,22 @@ public java.lang.String getCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @param value The correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtml( - java.lang.String value) { + public Builder setCorrectedHtml(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + correctedHtml_ = value; onChanged(); return this; } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -756,15 +819,18 @@ public Builder setCorrectedHtml(
      * 
* * string corrected_html = 3; + * * @return This builder for chaining. */ public Builder clearCorrectedHtml() { - + correctedHtml_ = getDefaultInstance().getCorrectedHtml(); onChanged(); return this; } /** + * + * *
      * Corrected output with html tags to highlight the corrected words.
      * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -775,23 +841,23 @@ public Builder clearCorrectedHtml() {
      * 
* * string corrected_html = 3; + * * @param value The bytes for correctedHtml to set. * @return This builder for chaining. */ - public Builder setCorrectedHtmlBytes( - com.google.protobuf.ByteString value) { + public Builder setCorrectedHtmlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + correctedHtml_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.SpellingCorrection) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.SpellingCorrection) private static final com.google.cloud.talent.v4beta1.SpellingCorrection DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.SpellingCorrection(); } @@ -815,27 +881,27 @@ public static com.google.cloud.talent.v4beta1.SpellingCorrection getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SpellingCorrection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SpellingCorrection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,6 +916,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.SpellingCorrection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java similarity index 70% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java index 566923fcb56b..480b7df7b017 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/SpellingCorrectionOrBuilder.java @@ -1,43 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface SpellingCorrectionOrBuilder extends +public interface SpellingCorrectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.SpellingCorrection) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Indicates if the query was corrected by the spell checker.
    * 
* * bool corrected = 1; + * * @return The corrected. */ boolean getCorrected(); /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The correctedText. */ java.lang.String getCorrectedText(); /** + * + * *
    * Correction output consisting of the corrected keyword string.
    * 
* * string corrected_text = 2; + * * @return The bytes for correctedText. */ - com.google.protobuf.ByteString - getCorrectedTextBytes(); + com.google.protobuf.ByteString getCorrectedTextBytes(); /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -48,10 +74,13 @@ public interface SpellingCorrectionOrBuilder extends
    * 
* * string corrected_html = 3; + * * @return The correctedHtml. */ java.lang.String getCorrectedHtml(); /** + * + * *
    * Corrected output with html tags to highlight the corrected words.
    * Corrected words are called out with the "<b><i>...</i></b>" html tags.
@@ -62,8 +91,8 @@ public interface SpellingCorrectionOrBuilder extends
    * 
* * string corrected_html = 3; + * * @return The bytes for correctedHtml. */ - com.google.protobuf.ByteString - getCorrectedHtmlBytes(); + com.google.protobuf.ByteString getCorrectedHtmlBytes(); } diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java similarity index 76% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java index 0bc9a4537f45..cf1f2a4bfe03 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Tenant.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * A Tenant resource represents a tenant in the service. A tenant is a group or
  * entity that shares common access with specific privileges for resources like
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.talent.v4beta1.Tenant}
  */
-public final class Tenant extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tenant extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.Tenant)
     TenantOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tenant.newBuilder() to construct.
   private Tenant(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tenant() {
     name_ = "";
     externalId_ = "";
@@ -31,39 +49,43 @@ private Tenant() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tenant();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.talent.v4beta1.TenantResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
+    return com.google.cloud.talent.v4beta1.TenantResourceProto
+        .internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.talent.v4beta1.Tenant.class, com.google.cloud.talent.v4beta1.Tenant.Builder.class);
+            com.google.cloud.talent.v4beta1.Tenant.class,
+            com.google.cloud.talent.v4beta1.Tenant.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Enum that represents how user data owned by the tenant is used.
    * 
* * Protobuf enum {@code google.cloud.talent.v4beta1.Tenant.DataUsageType} */ - public enum DataUsageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataUsageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -72,6 +94,8 @@ public enum DataUsageType */ DATA_USAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Data owned by this tenant is used to improve search/recommendation
      * quality across tenants.
@@ -81,6 +105,8 @@ public enum DataUsageType
      */
     AGGREGATED(1),
     /**
+     *
+     *
      * 
      * Data owned by this tenant is used to improve search/recommendation
      * quality for this tenant only.
@@ -93,6 +119,8 @@ public enum DataUsageType
     ;
 
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -101,6 +129,8 @@ public enum DataUsageType */ public static final int DATA_USAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Data owned by this tenant is used to improve search/recommendation
      * quality across tenants.
@@ -110,6 +140,8 @@ public enum DataUsageType
      */
     public static final int AGGREGATED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Data owned by this tenant is used to improve search/recommendation
      * quality for this tenant only.
@@ -119,7 +151,6 @@ public enum DataUsageType
      */
     public static final int ISOLATED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -144,49 +175,49 @@ public static DataUsageType valueOf(int value) {
      */
     public static DataUsageType forNumber(int value) {
       switch (value) {
-        case 0: return DATA_USAGE_TYPE_UNSPECIFIED;
-        case 1: return AGGREGATED;
-        case 2: return ISOLATED;
-        default: return null;
+        case 0:
+          return DATA_USAGE_TYPE_UNSPECIFIED;
+        case 1:
+          return AGGREGATED;
+        case 2:
+          return ISOLATED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DataUsageType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DataUsageType findValueByNumber(int number) {
-              return DataUsageType.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DataUsageType findValueByNumber(int number) {
+            return DataUsageType.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.talent.v4beta1.Tenant.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DataUsageType[] VALUES = values();
 
-    public static DataUsageType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DataUsageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -206,6 +237,8 @@ private DataUsageType(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -215,6 +248,7 @@ private DataUsageType(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -223,14 +257,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -240,16 +275,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -260,12 +294,15 @@ public java.lang.String getName() { public static final int EXTERNAL_ID_FIELD_NUMBER = 2; private volatile java.lang.Object externalId_; /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ @java.lang.Override @@ -274,30 +311,30 @@ public java.lang.String getExternalId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; } } /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -308,6 +345,8 @@ public java.lang.String getExternalId() { public static final int USAGE_TYPE_FIELD_NUMBER = 3; private int usageType_; /** + * + * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -315,12 +354,16 @@ public java.lang.String getExternalId() {
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The enum numeric value on the wire for usageType. */ - @java.lang.Override public int getUsageTypeValue() { + @java.lang.Override + public int getUsageTypeValue() { return usageType_; } /** + * + * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -328,17 +371,24 @@ public java.lang.String getExternalId() {
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The usageType. */ - @java.lang.Override public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { + @java.lang.Override + public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); - return result == null ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = + com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); + return result == null + ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED + : result; } public static final int KEYWORD_SEARCHABLE_PROFILE_CUSTOM_ATTRIBUTES_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_; /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -349,13 +399,15 @@ public java.lang.String getExternalId() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return A list containing the keywordSearchableProfileCustomAttributes. */ - public com.google.protobuf.ProtocolStringList - getKeywordSearchableProfileCustomAttributesList() { + public com.google.protobuf.ProtocolStringList getKeywordSearchableProfileCustomAttributesList() { return keywordSearchableProfileCustomAttributes_; } /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -366,12 +418,15 @@ public java.lang.String getExternalId() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return The count of keywordSearchableProfileCustomAttributes. */ public int getKeywordSearchableProfileCustomAttributesCount() { return keywordSearchableProfileCustomAttributes_.size(); } /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -382,6 +437,7 @@ public int getKeywordSearchableProfileCustomAttributesCount() {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ @@ -389,6 +445,8 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) { return keywordSearchableProfileCustomAttributes_.get(index); } /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -399,15 +457,17 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - public com.google.protobuf.ByteString - getKeywordSearchableProfileCustomAttributesBytes(int index) { + public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes( + int index) { return keywordSearchableProfileCustomAttributes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -419,19 +479,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, externalId_); } - if (usageType_ != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED.getNumber()) { + if (usageType_ + != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, usageType_); } for (int i = 0; i < keywordSearchableProfileCustomAttributes_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, keywordSearchableProfileCustomAttributes_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, keywordSearchableProfileCustomAttributes_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -448,9 +510,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, externalId_); } - if (usageType_ != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, usageType_); + if (usageType_ + != com.google.cloud.talent.v4beta1.Tenant.DataUsageType.DATA_USAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, usageType_); } { int dataSize = 0; @@ -468,17 +531,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.Tenant)) { return super.equals(obj); } com.google.cloud.talent.v4beta1.Tenant other = (com.google.cloud.talent.v4beta1.Tenant) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getExternalId() - .equals(other.getExternalId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getExternalId().equals(other.getExternalId())) return false; if (usageType_ != other.usageType_) return false; if (!getKeywordSearchableProfileCustomAttributesList() .equals(other.getKeywordSearchableProfileCustomAttributesList())) return false; @@ -508,97 +569,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.Tenant parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Tenant parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.Tenant parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.Tenant prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Tenant resource represents a tenant in the service. A tenant is a group or
    * entity that shares common access with specific privileges for resources like
@@ -608,33 +676,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.talent.v4beta1.Tenant}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.Tenant)
       com.google.cloud.talent.v4beta1.TenantOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.talent.v4beta1.TenantResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
+      return com.google.cloud.talent.v4beta1.TenantResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.talent.v4beta1.Tenant.class, com.google.cloud.talent.v4beta1.Tenant.Builder.class);
+              com.google.cloud.talent.v4beta1.Tenant.class,
+              com.google.cloud.talent.v4beta1.Tenant.Builder.class);
     }
 
     // Construct using com.google.cloud.talent.v4beta1.Tenant.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -650,9 +717,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.talent.v4beta1.TenantResourceProto.internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.talent.v4beta1.TenantResourceProto
+          .internal_static_google_cloud_talent_v4beta1_Tenant_descriptor;
     }
 
     @java.lang.Override
@@ -671,13 +738,15 @@ public com.google.cloud.talent.v4beta1.Tenant build() {
 
     @java.lang.Override
     public com.google.cloud.talent.v4beta1.Tenant buildPartial() {
-      com.google.cloud.talent.v4beta1.Tenant result = new com.google.cloud.talent.v4beta1.Tenant(this);
+      com.google.cloud.talent.v4beta1.Tenant result =
+          new com.google.cloud.talent.v4beta1.Tenant(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.externalId_ = externalId_;
       result.usageType_ = usageType_;
       if (((bitField0_ & 0x00000001) != 0)) {
-        keywordSearchableProfileCustomAttributes_ = keywordSearchableProfileCustomAttributes_.getUnmodifiableView();
+        keywordSearchableProfileCustomAttributes_ =
+            keywordSearchableProfileCustomAttributes_.getUnmodifiableView();
         bitField0_ = (bitField0_ & ~0x00000001);
       }
       result.keywordSearchableProfileCustomAttributes_ = keywordSearchableProfileCustomAttributes_;
@@ -689,38 +758,39 @@ public com.google.cloud.talent.v4beta1.Tenant buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.talent.v4beta1.Tenant) {
-        return mergeFrom((com.google.cloud.talent.v4beta1.Tenant)other);
+        return mergeFrom((com.google.cloud.talent.v4beta1.Tenant) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -742,11 +812,13 @@ public Builder mergeFrom(com.google.cloud.talent.v4beta1.Tenant other) {
       }
       if (!other.keywordSearchableProfileCustomAttributes_.isEmpty()) {
         if (keywordSearchableProfileCustomAttributes_.isEmpty()) {
-          keywordSearchableProfileCustomAttributes_ = other.keywordSearchableProfileCustomAttributes_;
+          keywordSearchableProfileCustomAttributes_ =
+              other.keywordSearchableProfileCustomAttributes_;
           bitField0_ = (bitField0_ & ~0x00000001);
         } else {
           ensureKeywordSearchableProfileCustomAttributesIsMutable();
-          keywordSearchableProfileCustomAttributes_.addAll(other.keywordSearchableProfileCustomAttributes_);
+          keywordSearchableProfileCustomAttributes_.addAll(
+              other.keywordSearchableProfileCustomAttributes_);
         }
         onChanged();
       }
@@ -776,33 +848,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              externalId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              usageType_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureKeywordSearchableProfileCustomAttributesIsMutable();
-              keywordSearchableProfileCustomAttributes_.add(s);
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                externalId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                usageType_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureKeywordSearchableProfileCustomAttributesIsMutable();
+                keywordSearchableProfileCustomAttributes_.add(s);
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -812,10 +889,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -825,13 +905,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -840,6 +920,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -849,15 +931,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -865,6 +946,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -874,20 +957,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -897,15 +982,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required during tenant update.
      * The resource name for a tenant. This is generated by the service when a
@@ -915,16 +1003,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -932,19 +1020,21 @@ public Builder setNameBytes( private java.lang.Object externalId_ = ""; /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ public java.lang.String getExternalId() { java.lang.Object ref = externalId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalId_ = s; return s; @@ -953,21 +1043,22 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - public com.google.protobuf.ByteString - getExternalIdBytes() { + public com.google.protobuf.ByteString getExternalIdBytes() { java.lang.Object ref = externalId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalId_ = b; return b; } else { @@ -975,57 +1066,64 @@ public java.lang.String getExternalId() { } } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The externalId to set. * @return This builder for chaining. */ - public Builder setExternalId( - java.lang.String value) { + public Builder setExternalId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearExternalId() { - + externalId_ = getDefaultInstance().getExternalId(); onChanged(); return this; } /** + * + * *
      * Required. Client side tenant identifier, used to uniquely identify the tenant.
      * The maximum number of allowed characters is 255.
      * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for externalId to set. * @return This builder for chaining. */ - public Builder setExternalIdBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalId_ = value; onChanged(); return this; @@ -1033,6 +1131,8 @@ public Builder setExternalIdBytes( private int usageType_ = 0; /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1040,12 +1140,16 @@ public Builder setExternalIdBytes(
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The enum numeric value on the wire for usageType. */ - @java.lang.Override public int getUsageTypeValue() { + @java.lang.Override + public int getUsageTypeValue() { return usageType_; } /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1053,16 +1157,19 @@ public Builder setExternalIdBytes(
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @param value The enum numeric value on the wire for usageType to set. * @return This builder for chaining. */ public Builder setUsageTypeValue(int value) { - + usageType_ = value; onChanged(); return this; } /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1070,15 +1177,21 @@ public Builder setUsageTypeValue(int value) {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The usageType. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() { @SuppressWarnings("deprecation") - com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); - return result == null ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED : result; + com.google.cloud.talent.v4beta1.Tenant.DataUsageType result = + com.google.cloud.talent.v4beta1.Tenant.DataUsageType.valueOf(usageType_); + return result == null + ? com.google.cloud.talent.v4beta1.Tenant.DataUsageType.UNRECOGNIZED + : result; } /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1086,6 +1199,7 @@ public com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType() {
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @param value The usageType to set. * @return This builder for chaining. */ @@ -1093,12 +1207,14 @@ public Builder setUsageType(com.google.cloud.talent.v4beta1.Tenant.DataUsageType if (value == null) { throw new NullPointerException(); } - + usageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Indicates whether data owned by this tenant may be used to provide product
      * improvements across other tenants.
@@ -1106,23 +1222,29 @@ public Builder setUsageType(com.google.cloud.talent.v4beta1.Tenant.DataUsageType
      * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return This builder for chaining. */ public Builder clearUsageType() { - + usageType_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList keywordSearchableProfileCustomAttributes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureKeywordSearchableProfileCustomAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - keywordSearchableProfileCustomAttributes_ = new com.google.protobuf.LazyStringArrayList(keywordSearchableProfileCustomAttributes_); + keywordSearchableProfileCustomAttributes_ = + new com.google.protobuf.LazyStringArrayList(keywordSearchableProfileCustomAttributes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1133,6 +1255,7 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return A list containing the keywordSearchableProfileCustomAttributes. */ public com.google.protobuf.ProtocolStringList @@ -1140,6 +1263,8 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() { return keywordSearchableProfileCustomAttributes_.getUnmodifiableView(); } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1150,12 +1275,15 @@ private void ensureKeywordSearchableProfileCustomAttributesIsMutable() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return The count of keywordSearchableProfileCustomAttributes. */ public int getKeywordSearchableProfileCustomAttributesCount() { return keywordSearchableProfileCustomAttributes_.size(); } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1166,6 +1294,7 @@ public int getKeywordSearchableProfileCustomAttributesCount() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ @@ -1173,6 +1302,8 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) { return keywordSearchableProfileCustomAttributes_.get(index); } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1183,14 +1314,17 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - public com.google.protobuf.ByteString - getKeywordSearchableProfileCustomAttributesBytes(int index) { + public com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes( + int index) { return keywordSearchableProfileCustomAttributes_.getByteString(index); } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1201,21 +1335,23 @@ public java.lang.String getKeywordSearchableProfileCustomAttributes(int index) {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index to set the value at. * @param value The keywordSearchableProfileCustomAttributes to set. * @return This builder for chaining. */ - public Builder setKeywordSearchableProfileCustomAttributes( - int index, java.lang.String value) { + public Builder setKeywordSearchableProfileCustomAttributes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableProfileCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1226,20 +1362,22 @@ public Builder setKeywordSearchableProfileCustomAttributes(
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param value The keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ - public Builder addKeywordSearchableProfileCustomAttributes( - java.lang.String value) { + public Builder addKeywordSearchableProfileCustomAttributes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureKeywordSearchableProfileCustomAttributesIsMutable(); + throw new NullPointerException(); + } + ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.add(value); onChanged(); return this; } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1250,6 +1388,7 @@ public Builder addKeywordSearchableProfileCustomAttributes(
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param values The keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ @@ -1262,6 +1401,8 @@ public Builder addAllKeywordSearchableProfileCustomAttributes( return this; } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1272,6 +1413,7 @@ public Builder addAllKeywordSearchableProfileCustomAttributes(
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return This builder for chaining. */ public Builder clearKeywordSearchableProfileCustomAttributes() { @@ -1281,6 +1423,8 @@ public Builder clearKeywordSearchableProfileCustomAttributes() { return this; } /** + * + * *
      * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
      * corresponding `string_values` are used in keyword searches. Profiles with
@@ -1291,23 +1435,24 @@ public Builder clearKeywordSearchableProfileCustomAttributes() {
      * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param value The bytes of the keywordSearchableProfileCustomAttributes to add. * @return This builder for chaining. */ public Builder addKeywordSearchableProfileCustomAttributesBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureKeywordSearchableProfileCustomAttributesIsMutable(); keywordSearchableProfileCustomAttributes_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1317,12 +1462,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.Tenant) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.Tenant) private static final com.google.cloud.talent.v4beta1.Tenant DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.Tenant(); } @@ -1331,27 +1476,27 @@ public static com.google.cloud.talent.v4beta1.Tenant getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tenant parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tenant parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1366,6 +1511,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.Tenant getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java similarity index 100% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantName.java diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java similarity index 83% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java index dd77b8ebddae..3e742a8d0842 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/tenant.proto package com.google.cloud.talent.v4beta1; -public interface TenantOrBuilder extends +public interface TenantOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.Tenant) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -17,10 +35,13 @@ public interface TenantOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required during tenant update.
    * The resource name for a tenant. This is generated by the service when a
@@ -30,34 +51,41 @@ public interface TenantOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The externalId. */ java.lang.String getExternalId(); /** + * + * *
    * Required. Client side tenant identifier, used to uniquely identify the tenant.
    * The maximum number of allowed characters is 255.
    * 
* * string external_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for externalId. */ - com.google.protobuf.ByteString - getExternalIdBytes(); + com.google.protobuf.ByteString getExternalIdBytes(); /** + * + * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -65,10 +93,13 @@ public interface TenantOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The enum numeric value on the wire for usageType. */ int getUsageTypeValue(); /** + * + * *
    * Indicates whether data owned by this tenant may be used to provide product
    * improvements across other tenants.
@@ -76,11 +107,14 @@ public interface TenantOrBuilder extends
    * 
* * .google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3; + * * @return The usageType. */ com.google.cloud.talent.v4beta1.Tenant.DataUsageType getUsageType(); /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -91,11 +125,13 @@ public interface TenantOrBuilder extends
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return A list containing the keywordSearchableProfileCustomAttributes. */ - java.util.List - getKeywordSearchableProfileCustomAttributesList(); + java.util.List getKeywordSearchableProfileCustomAttributesList(); /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -106,10 +142,13 @@ public interface TenantOrBuilder extends
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @return The count of keywordSearchableProfileCustomAttributes. */ int getKeywordSearchableProfileCustomAttributesCount(); /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -120,11 +159,14 @@ public interface TenantOrBuilder extends
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the element to return. * @return The keywordSearchableProfileCustomAttributes at the given index. */ java.lang.String getKeywordSearchableProfileCustomAttributes(int index); /** + * + * *
    * A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose
    * corresponding `string_values` are used in keyword searches. Profiles with
@@ -135,9 +177,9 @@ public interface TenantOrBuilder extends
    * 
* * repeated string keyword_searchable_profile_custom_attributes = 4; + * * @param index The index of the value to return. * @return The bytes of the keywordSearchableProfileCustomAttributes at the given index. */ - com.google.protobuf.ByteString - getKeywordSearchableProfileCustomAttributesBytes(int index); + com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes(int index); } diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java new file mode 100644 index 000000000000..5b0067852a43 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java @@ -0,0 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant.proto + +package com.google.cloud.talent.v4beta1; + +public final class TenantResourceProto { + private TenantResourceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n(google/cloud/talent/v4beta1/tenant.pro" + + "to\022\033google.cloud.talent.v4beta1\032\037google/" + + "api/field_behavior.proto\032\031google/api/res" + + "ource.proto\"\303\002\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013" + + "external_id\030\002 \001(\tB\003\340A\002\022E\n\nusage_type\030\003 \001" + + "(\01621.google.cloud.talent.v4beta1.Tenant." + + "DataUsageType\0224\n,keyword_searchable_prof" + + "ile_custom_attributes\030\004 \003(\t\"N\n\rDataUsage" + + "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" + + "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" + + "oogleapis.com/Tenant\022#projects/{project}" + + "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" + + "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" + + "ogle.golang.org/genproto/googleapis/clou" + + "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_Tenant_descriptor, + new java.lang.String[] { + "Name", "ExternalId", "UsageType", "KeywordSearchableProfileCustomAttributes", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java new file mode 100644 index 000000000000..9f97b7d7ba06 --- /dev/null +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java @@ -0,0 +1,200 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/talent/v4beta1/tenant_service.proto + +package com.google.cloud.talent.v4beta1; + +public final class TenantServiceProto { + private TenantServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/talent/v4beta1/tenant_ser" + + "vice.proto\022\033google.cloud.talent.v4beta1\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032(goog" + + "le/cloud/talent/v4beta1/common.proto\032(go" + + "ogle/cloud/talent/v4beta1/tenant.proto\032\033" + + "google/protobuf/empty.proto\032 google/prot" + + "obuf/field_mask.proto\"\224\001\n\023CreateTenantRe" + + "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + + "urcemanager.googleapis.com/Project\0228\n\006te" + + "nant\030\002 \001(\0132#.google.cloud.talent.v4beta1" + + ".TenantB\003\340A\002\"D\n\020GetTenantRequest\0220\n\004name" + + "\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/Tena" + + "nt\"\200\001\n\023UpdateTenantRequest\0228\n\006tenant\030\001 \001" + + "(\0132#.google.cloud.talent.v4beta1.TenantB" + + "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"G\n\023DeleteTenantRequest\0220\n\004" + + "name\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/" + + "Tenant\"\200\001\n\022ListTenantsRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + + "leapis.com/Project\022\022\n\npage_token\030\002 \001(\t\022\021" + + "\n\tpage_size\030\003 \001(\005\"\245\001\n\023ListTenantsRespons" + + "e\0224\n\007tenants\030\001 \003(\0132#.google.cloud.talent" + + ".v4beta1.Tenant\022\027\n\017next_page_token\030\002 \001(\t" + + "\022?\n\010metadata\030\003 \001(\0132-.google.cloud.talent" + + ".v4beta1.ResponseMetadata2\240\007\n\rTenantServ" + + "ice\022\246\001\n\014CreateTenant\0220.google.cloud.tale" + + "nt.v4beta1.CreateTenantRequest\032#.google." + + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\002)\"$/v4" + + "beta1/{parent=projects/*}/tenants:\001*\332A\rp" + + "arent,tenant\022\224\001\n\tGetTenant\022-.google.clou" + + "d.talent.v4beta1.GetTenantRequest\032#.goog" + + "le.cloud.talent.v4beta1.Tenant\"3\202\323\344\223\002&\022$" + + "/v4beta1/{name=projects/*/tenants/*}\332A\004n" + + "ame\022\246\001\n\014UpdateTenant\0220.google.cloud.tale" + + "nt.v4beta1.UpdateTenantRequest\032#.google." + + "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\00202+/v4" + + "beta1/{tenant.name=projects/*/tenants/*}" + + ":\001*\332A\006tenant\022\215\001\n\014DeleteTenant\0220.google.c" + + "loud.talent.v4beta1.DeleteTenantRequest\032" + + "\026.google.protobuf.Empty\"3\202\323\344\223\002&*$/v4beta" + + "1/{name=projects/*/tenants/*}\332A\004name\022\247\001\n" + + "\013ListTenants\022/.google.cloud.talent.v4bet" + + "a1.ListTenantsRequest\0320.google.cloud.tal" + + "ent.v4beta1.ListTenantsResponse\"5\202\323\344\223\002&\022" + + "$/v4beta1/{parent=projects/*}/tenants\332A\006" + + "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + + "/www.googleapis.com/auth/cloud-platform," + + "https://www.googleapis.com/auth/jobsB\200\001\n" + + "\037com.google.cloud.talent.v4beta1B\022Tenant" + + "ServiceProtoP\001ZAgoogle.golang.org/genpro" + + "to/googleapis/cloud/talent/v4beta1;talen" + + "t\242\002\003CTSb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), + com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor, + new java.lang.String[] { + "Parent", "Tenant", + }); + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor, + new java.lang.String[] { + "Tenant", "UpdateMask", + }); + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", "PageSize", + }); + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor, + new java.lang.String[] { + "Tenants", "NextPageToken", "Metadata", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); + com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java similarity index 70% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java index f0f1e9762e33..b740f4ebfc45 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRange.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Message representing a period of time between two timestamps.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.TimestampRange} */ -public final class TimestampRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.TimestampRange) TimestampRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimestampRange() { - } + + private TimestampRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimestampRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.TimestampRange.class, com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); + com.google.cloud.talent.v4beta1.TimestampRange.class, + com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -62,11 +83,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Begin of the period (inclusive).
    * 
@@ -88,11 +114,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -100,11 +129,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -112,6 +144,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * End of the period (exclusive).
    * 
@@ -124,6 +158,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (startTime_ != null) { output.writeMessage(1, getStartTime()); } @@ -153,12 +187,10 @@ public int getSerializedSize() { size = 0; if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +200,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.talent.v4beta1.TimestampRange)) { return super.equals(obj); } - com.google.cloud.talent.v4beta1.TimestampRange other = (com.google.cloud.talent.v4beta1.TimestampRange) obj; + com.google.cloud.talent.v4beta1.TimestampRange other = + (com.google.cloud.talent.v4beta1.TimestampRange) obj; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,130 +240,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.talent.v4beta1.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.talent.v4beta1.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message representing a period of time between two timestamps.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.TimestampRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.TimestampRange) com.google.cloud.talent.v4beta1.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.TimestampRange.class, com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); + com.google.cloud.talent.v4beta1.TimestampRange.class, + com.google.cloud.talent.v4beta1.TimestampRange.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.TimestampRange.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CommonProto.internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CommonProto + .internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; } @java.lang.Override @@ -373,7 +410,8 @@ public com.google.cloud.talent.v4beta1.TimestampRange build() { @java.lang.Override public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { - com.google.cloud.talent.v4beta1.TimestampRange result = new com.google.cloud.talent.v4beta1.TimestampRange(this); + com.google.cloud.talent.v4beta1.TimestampRange result = + new com.google.cloud.talent.v4beta1.TimestampRange(this); if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -392,38 +430,39 @@ public com.google.cloud.talent.v4beta1.TimestampRange buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.TimestampRange) { - return mergeFrom((com.google.cloud.talent.v4beta1.TimestampRange)other); + return mergeFrom((com.google.cloud.talent.v4beta1.TimestampRange) other); } else { super.mergeFrom(other); return this; @@ -464,26 +503,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,24 +534,33 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -524,6 +571,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -544,14 +593,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -562,6 +612,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -572,7 +624,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -584,6 +636,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -602,6 +656,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -609,11 +665,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -624,11 +682,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Begin of the period (inclusive).
      * 
@@ -636,14 +695,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -651,24 +713,33 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -679,6 +750,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -699,14 +772,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -717,6 +791,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -727,7 +803,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -739,6 +815,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -757,6 +835,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -764,11 +844,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -779,11 +861,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * End of the period (exclusive).
      * 
@@ -791,21 +874,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,12 +901,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.TimestampRange) } // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.TimestampRange) private static final com.google.cloud.talent.v4beta1.TimestampRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.TimestampRange(); } @@ -829,27 +915,27 @@ public static com.google.cloud.talent.v4beta1.TimestampRange getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,6 +950,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.talent.v4beta1.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java similarity index 67% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java index 2b17343b561b..022cab467503 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TimestampRangeOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/common.proto package com.google.cloud.talent.v4beta1; -public interface TimestampRangeOrBuilder extends +public interface TimestampRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.TimestampRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Begin of the period (inclusive).
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Begin of the period (inclusive).
    * 
@@ -35,24 +59,32 @@ public interface TimestampRangeOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * End of the period (exclusive).
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * End of the period (exclusive).
    * 
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java similarity index 70% rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java index 52cccfa9f47a..81d90150e8f5 100644 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java +++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/company_service.proto package com.google.cloud.talent.v4beta1; /** + * + * *
  * Request for updating a specified company.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateCompanyRequest} */ -public final class UpdateCompanyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCompanyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateCompanyRequest) UpdateCompanyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCompanyRequest.newBuilder() to construct. private UpdateCompanyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCompanyRequest() { - } + + private UpdateCompanyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCompanyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); } public static final int COMPANY_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Company company_; /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ @java.lang.Override @@ -62,23 +85,34 @@ public boolean hasCompany() { return company_ != null; } /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ @java.lang.Override public com.google.cloud.talent.v4beta1.Company getCompany() { - return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { @@ -88,6 +122,8 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +133,7 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +141,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +152,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +160,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +190,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (company_ != null) {
       output.writeMessage(1, getCompany());
     }
@@ -165,12 +207,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (company_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getCompany());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCompany());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +220,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateCompanyRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateCompanyRequest other = (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateCompanyRequest other =
+        (com.google.cloud.talent.v4beta1.UpdateCompanyRequest) obj;
 
     if (hasCompany() != other.hasCompany()) return false;
     if (hasCompany()) {
-      if (!getCompany()
-          .equals(other.getCompany())) return false;
+      if (!getCompany().equals(other.getCompany())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -222,129 +261,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateCompanyRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request for updating a specified company.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateCompanyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateCompanyRequest) com.google.cloud.talent.v4beta1.UpdateCompanyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, + com.google.cloud.talent.v4beta1.UpdateCompanyRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateCompanyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.CompanyServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; } @java.lang.Override @@ -385,7 +430,8 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateCompanyRequest result = new com.google.cloud.talent.v4beta1.UpdateCompanyRequest(this); + com.google.cloud.talent.v4beta1.UpdateCompanyRequest result = + new com.google.cloud.talent.v4beta1.UpdateCompanyRequest(this); if (companyBuilder_ == null) { result.company_ = company_; } else { @@ -404,38 +450,39 @@ public com.google.cloud.talent.v4beta1.UpdateCompanyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateCompanyRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateCompanyRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateCompanyRequest) other); } else { super.mergeFrom(other); return this; @@ -443,7 +490,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateCompanyRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance()) + return this; if (other.hasCompany()) { mergeCompany(other.getCompany()); } @@ -476,26 +524,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCompanyFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCompanyFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,39 +555,58 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Company company_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> companyBuilder_; + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> + companyBuilder_; /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ public boolean hasCompany() { return companyBuilder_ != null || company_ != null; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ public com.google.cloud.talent.v4beta1.Company getCompany() { if (companyBuilder_ == null) { - return company_ == null ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } else { return companyBuilder_.getMessage(); } } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { @@ -556,14 +622,17 @@ public Builder setCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompany( - com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { + public Builder setCompany(com.google.cloud.talent.v4beta1.Company.Builder builderForValue) { if (companyBuilder_ == null) { company_ = builderForValue.build(); onChanged(); @@ -574,17 +643,23 @@ public Builder setCompany( return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { if (companyBuilder_ == null) { if (company_ != null) { company_ = - com.google.cloud.talent.v4beta1.Company.newBuilder(company_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Company.newBuilder(company_) + .mergeFrom(value) + .buildPartial(); } else { company_ = value; } @@ -596,11 +671,15 @@ public Builder mergeCompany(com.google.cloud.talent.v4beta1.Company value) { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompany() { if (companyBuilder_ == null) { @@ -614,48 +693,64 @@ public Builder clearCompany() { return this; } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Company.Builder getCompanyBuilder() { - + onChanged(); return getCompanyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { if (companyBuilder_ != null) { return companyBuilder_.getMessageOrBuilder(); } else { - return company_ == null ? - com.google.cloud.talent.v4beta1.Company.getDefaultInstance() : company_; + return company_ == null + ? com.google.cloud.talent.v4beta1.Company.getDefaultInstance() + : company_; } } /** + * + * *
      * Required. The company resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder> + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder> getCompanyFieldBuilder() { if (companyBuilder_ == null) { - companyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Company, com.google.cloud.talent.v4beta1.Company.Builder, com.google.cloud.talent.v4beta1.CompanyOrBuilder>( - getCompany(), - getParentForChildren(), - isClean()); + companyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Company, + com.google.cloud.talent.v4beta1.Company.Builder, + com.google.cloud.talent.v4beta1.CompanyOrBuilder>( + getCompany(), getParentForChildren(), isClean()); company_ = null; } return companyBuilder_; @@ -663,8 +758,13 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +774,15 @@ public com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +792,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +831,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +843,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +854,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +870,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +882,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +906,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +919,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +940,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +959,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +986,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateCompanyRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateCompanyRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateCompanyRequest();
   }
@@ -877,27 +1000,27 @@ public static com.google.cloud.talent.v4beta1.UpdateCompanyRequest getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateCompanyRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateCompanyRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1035,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateCompanyRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
similarity index 71%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
index c94437daeb0f..113d3ea2fbd3 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateCompanyRequestOrBuilder.java
@@ -1,40 +1,72 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/company_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateCompanyRequestOrBuilder extends
+public interface UpdateCompanyRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateCompanyRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the company field is set. */ boolean hasCompany(); /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The company. */ com.google.cloud.talent.v4beta1.Company getCompany(); /** + * + * *
    * Required. The company resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.CompanyOrBuilder getCompanyOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +76,13 @@ public interface UpdateCompanyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +92,13 @@ public interface UpdateCompanyRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateCompanyRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
similarity index 72%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
index 608a99990fdb..bd5480d5f891 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequest.java
@@ -1,60 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Update job request.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateJobRequest} */ -public final class UpdateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateJobRequest) UpdateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateJobRequest() { - } + + private UpdateJobRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateJobRequest.class, com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateJobRequest.class, + com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Job job_; /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.cloud.talent.v4beta1.Job getJob() { return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { @@ -88,6 +117,8 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +128,7 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (job_ != null) {
       output.writeMessage(1, getJob());
     }
@@ -165,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getJob());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +215,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateJobRequest other = (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateJobRequest other =
+        (com.google.cloud.talent.v4beta1.UpdateJobRequest) obj;
 
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob()
-          .equals(other.getJob())) return false;
+      if (!getJob().equals(other.getJob())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -221,130 +255,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Update job request.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateJobRequest) com.google.cloud.talent.v4beta1.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateJobRequest.class, com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateJobRequest.class, + com.google.cloud.talent.v4beta1.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateJobRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.JobServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.JobServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; } @java.lang.Override @@ -385,7 +425,8 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateJobRequest result = new com.google.cloud.talent.v4beta1.UpdateJobRequest(this); + com.google.cloud.talent.v4beta1.UpdateJobRequest result = + new com.google.cloud.talent.v4beta1.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -404,38 +445,39 @@ public com.google.cloud.talent.v4beta1.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateJobRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateJobRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -443,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateJobRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -476,26 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getJobFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,24 +550,35 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ public com.google.cloud.talent.v4beta1.Job getJob() { @@ -536,11 +589,14 @@ public com.google.cloud.talent.v4beta1.Job getJob() { } } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { @@ -556,14 +612,16 @@ public Builder setJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJob( - com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.talent.v4beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -574,17 +632,20 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -596,11 +657,14 @@ public Builder mergeJob(com.google.cloud.talent.v4beta1.Job value) { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -614,48 +678,59 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.talent.v4beta1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The Job to be updated.
      * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder> + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Job, com.google.cloud.talent.v4beta1.Job.Builder, com.google.cloud.talent.v4beta1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Job, + com.google.cloud.talent.v4beta1.Job.Builder, + com.google.cloud.talent.v4beta1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -663,8 +738,13 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +754,15 @@ public com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +772,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +811,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +823,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +834,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +850,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +862,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +886,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +899,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +920,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +939,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +966,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateJobRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateJobRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateJobRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateJobRequest();
   }
@@ -877,27 +980,27 @@ public static com.google.cloud.talent.v4beta1.UpdateJobRequest getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateJobRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateJobRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1015,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateJobRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
index 6dc2e597804f..d495bee0edc2 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateJobRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/job_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateJobRequestOrBuilder extends
+public interface UpdateJobRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateJobRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ com.google.cloud.talent.v4beta1.Job getJob(); /** + * + * *
    * Required. The Job to be updated.
    * 
* - * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.JobOrBuilder getJobOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +73,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +89,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateJobRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
index 19d2d7582f6d..175fd399e727 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequest.java
@@ -1,60 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Request for updating a specified tenant.
  * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateTenantRequest} */ -public final class UpdateTenantRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTenantRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.talent.v4beta1.UpdateTenantRequest) UpdateTenantRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTenantRequest.newBuilder() to construct. private UpdateTenantRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTenantRequest() { - } + + private UpdateTenantRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTenantRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, + com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 1; private com.google.cloud.talent.v4beta1.Tenant tenant_; /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ @java.lang.Override @@ -62,11 +84,15 @@ public boolean hasTenant() { return tenant_ != null; } /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ @java.lang.Override @@ -74,11 +100,14 @@ public com.google.cloud.talent.v4beta1.Tenant getTenant() { return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; } /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { @@ -88,6 +117,8 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -97,6 +128,7 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -104,6 +136,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -113,6 +147,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -120,6 +155,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -136,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +185,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tenant_ != null) {
       output.writeMessage(1, getTenant());
     }
@@ -165,12 +202,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tenant_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTenant());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTenant());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,22 +215,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.talent.v4beta1.UpdateTenantRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.talent.v4beta1.UpdateTenantRequest other = (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj;
+    com.google.cloud.talent.v4beta1.UpdateTenantRequest other =
+        (com.google.cloud.talent.v4beta1.UpdateTenantRequest) obj;
 
     if (hasTenant() != other.hasTenant()) return false;
     if (hasTenant()) {
-      if (!getTenant()
-          .equals(other.getTenant())) return false;
+      if (!getTenant().equals(other.getTenant())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -222,129 +256,135 @@ public int hashCode() {
   }
 
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.talent.v4beta1.UpdateTenantRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.talent.v4beta1.UpdateTenantRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request for updating a specified tenant.
    * 
* * Protobuf type {@code google.cloud.talent.v4beta1.UpdateTenantRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.talent.v4beta1.UpdateTenantRequest) com.google.cloud.talent.v4beta1.UpdateTenantRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); + com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, + com.google.cloud.talent.v4beta1.UpdateTenantRequest.Builder.class); } // Construct using com.google.cloud.talent.v4beta1.UpdateTenantRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.talent.v4beta1.TenantServiceProto + .internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; } @java.lang.Override @@ -385,7 +425,8 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest build() { @java.lang.Override public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { - com.google.cloud.talent.v4beta1.UpdateTenantRequest result = new com.google.cloud.talent.v4beta1.UpdateTenantRequest(this); + com.google.cloud.talent.v4beta1.UpdateTenantRequest result = + new com.google.cloud.talent.v4beta1.UpdateTenantRequest(this); if (tenantBuilder_ == null) { result.tenant_ = tenant_; } else { @@ -404,38 +445,39 @@ public com.google.cloud.talent.v4beta1.UpdateTenantRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.talent.v4beta1.UpdateTenantRequest) { - return mergeFrom((com.google.cloud.talent.v4beta1.UpdateTenantRequest)other); + return mergeFrom((com.google.cloud.talent.v4beta1.UpdateTenantRequest) other); } else { super.mergeFrom(other); return this; @@ -443,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.talent.v4beta1.UpdateTenantRequest other) { - if (other == com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance()) + return this; if (other.hasTenant()) { mergeTenant(other.getTenant()); } @@ -476,26 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getTenantFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getTenantFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,39 +550,58 @@ public Builder mergeFrom( private com.google.cloud.talent.v4beta1.Tenant tenant_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> tenantBuilder_; + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> + tenantBuilder_; /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ public boolean hasTenant() { return tenantBuilder_ != null || tenant_ != null; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ public com.google.cloud.talent.v4beta1.Tenant getTenant() { if (tenantBuilder_ == null) { - return tenant_ == null ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null + ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() + : tenant_; } else { return tenantBuilder_.getMessage(); } } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { @@ -556,14 +617,17 @@ public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setTenant( - com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { + public Builder setTenant(com.google.cloud.talent.v4beta1.Tenant.Builder builderForValue) { if (tenantBuilder_ == null) { tenant_ = builderForValue.build(); onChanged(); @@ -574,17 +638,23 @@ public Builder setTenant( return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { if (tenantBuilder_ == null) { if (tenant_ != null) { tenant_ = - com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_).mergeFrom(value).buildPartial(); + com.google.cloud.talent.v4beta1.Tenant.newBuilder(tenant_) + .mergeFrom(value) + .buildPartial(); } else { tenant_ = value; } @@ -596,11 +666,15 @@ public Builder mergeTenant(com.google.cloud.talent.v4beta1.Tenant value) { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTenant() { if (tenantBuilder_ == null) { @@ -614,48 +688,64 @@ public Builder clearTenant() { return this; } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.Tenant.Builder getTenantBuilder() { - + onChanged(); return getTenantFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { if (tenantBuilder_ != null) { return tenantBuilder_.getMessageOrBuilder(); } else { - return tenant_ == null ? - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() : tenant_; + return tenant_ == null + ? com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance() + : tenant_; } } /** + * + * *
      * Required. The tenant resource to replace the current resource in the system.
      * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder> + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder> getTenantFieldBuilder() { if (tenantBuilder_ == null) { - tenantBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.talent.v4beta1.Tenant, com.google.cloud.talent.v4beta1.Tenant.Builder, com.google.cloud.talent.v4beta1.TenantOrBuilder>( - getTenant(), - getParentForChildren(), - isClean()); + tenantBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.talent.v4beta1.Tenant, + com.google.cloud.talent.v4beta1.Tenant.Builder, + com.google.cloud.talent.v4beta1.TenantOrBuilder>( + getTenant(), getParentForChildren(), isClean()); tenant_ = null; } return tenantBuilder_; @@ -663,8 +753,13 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -674,12 +769,15 @@ public com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -689,16 +787,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -723,6 +826,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -733,8 +838,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -745,6 +849,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -759,7 +865,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -771,6 +877,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -793,6 +901,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -804,11 +914,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -823,11 +935,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       if (updateMaskBuilder_ != null) {
         return updateMaskBuilder_.getMessageOrBuilder();
       } else {
-        return updateMask_ == null ?
-            com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
+        return updateMask_ == null
+            ? com.google.protobuf.FieldMask.getDefaultInstance()
+            : updateMask_;
       }
     }
     /**
+     *
+     *
      * 
      * Strongly recommended for the best service experience.
      * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -839,21 +954,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> 
+            com.google.protobuf.FieldMask,
+            com.google.protobuf.FieldMask.Builder,
+            com.google.protobuf.FieldMaskOrBuilder>
         getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
-        updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>(
-                getUpdateMask(),
-                getParentForChildren(),
-                isClean());
+        updateMaskBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.FieldMask,
+                com.google.protobuf.FieldMask.Builder,
+                com.google.protobuf.FieldMaskOrBuilder>(
+                getUpdateMask(), getParentForChildren(), isClean());
         updateMask_ = null;
       }
       return updateMaskBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -863,12 +981,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.talent.v4beta1.UpdateTenantRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.talent.v4beta1.UpdateTenantRequest)
   private static final com.google.cloud.talent.v4beta1.UpdateTenantRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.talent.v4beta1.UpdateTenantRequest();
   }
@@ -877,27 +995,27 @@ public static com.google.cloud.talent.v4beta1.UpdateTenantRequest getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTenantRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTenantRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -912,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.talent.v4beta1.UpdateTenantRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
similarity index 77%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
index 9827ae393633..aa10337362cf 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/UpdateTenantRequestOrBuilder.java
@@ -1,40 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/tenant_service.proto
 
 package com.google.cloud.talent.v4beta1;
 
-public interface UpdateTenantRequestOrBuilder extends
+public interface UpdateTenantRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.UpdateTenantRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the tenant field is set. */ boolean hasTenant(); /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The tenant. */ com.google.cloud.talent.v4beta1.Tenant getTenant(); /** + * + * *
    * Required. The tenant resource to replace the current resource in the system.
    * 
* - * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.talent.v4beta1.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.talent.v4beta1.TenantOrBuilder getTenantOrBuilder(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -44,10 +73,13 @@ public interface UpdateTenantRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
@@ -57,10 +89,13 @@ public interface UpdateTenantRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Strongly recommended for the best service experience.
    * If [update_mask][google.cloud.talent.v4beta1.UpdateTenantRequest.update_mask] is provided, only the specified fields in
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
similarity index 70%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
index c16dca5e463e..880679a9c968 100644
--- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
+++ b/java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/Visibility.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/talent/v4beta1/common.proto
 
 package com.google.cloud.talent.v4beta1;
 
 /**
+ *
+ *
  * 
  * Deprecated. All resources are only visible to the owner.
  * An enum that represents who has view access to the resource.
@@ -11,9 +28,11 @@
  *
  * Protobuf enum {@code google.cloud.talent.v4beta1.Visibility}
  */
-@java.lang.Deprecated public enum Visibility
-    implements com.google.protobuf.ProtocolMessageEnum {
+@java.lang.Deprecated
+public enum Visibility implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -22,6 +41,8 @@ */ VISIBILITY_UNSPECIFIED(0), /** + * + * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -30,6 +51,8 @@ */ ACCOUNT_ONLY(1), /** + * + * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -39,6 +62,8 @@
    */
   SHARED_WITH_GOOGLE(2),
   /**
+   *
+   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -51,6 +76,8 @@
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -59,6 +86,8 @@ */ public static final int VISIBILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The resource is only visible to the GCP account who owns it.
    * 
@@ -67,6 +96,8 @@ */ public static final int ACCOUNT_ONLY_VALUE = 1; /** + * + * *
    * The resource is visible to the owner and may be visible to other
    * applications and processes at Google.
@@ -76,6 +107,8 @@
    */
   public static final int SHARED_WITH_GOOGLE_VALUE = 2;
   /**
+   *
+   *
    * 
    * The resource is visible to the owner and may be visible to all other API
    * clients.
@@ -85,7 +118,6 @@
    */
   public static final int SHARED_WITH_PUBLIC_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -110,50 +142,51 @@ public static Visibility valueOf(int value) {
    */
   public static Visibility forNumber(int value) {
     switch (value) {
-      case 0: return VISIBILITY_UNSPECIFIED;
-      case 1: return ACCOUNT_ONLY;
-      case 2: return SHARED_WITH_GOOGLE;
-      case 3: return SHARED_WITH_PUBLIC;
-      default: return null;
+      case 0:
+        return VISIBILITY_UNSPECIFIED;
+      case 1:
+        return ACCOUNT_ONLY;
+      case 2:
+        return SHARED_WITH_GOOGLE;
+      case 3:
+        return SHARED_WITH_PUBLIC;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      Visibility> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Visibility findValueByNumber(int number) {
-            return Visibility.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public Visibility findValueByNumber(int number) {
+          return Visibility.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.cloud.talent.v4beta1.CommonProto.getDescriptor().getEnumTypes().get(7);
   }
 
   private static final Visibility[] VALUES = values();
 
-  public static Visibility valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static Visibility valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -169,4 +202,3 @@ private Visibility(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.talent.v4beta1.Visibility)
 }
-
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/batch.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/common.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/company_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/completion_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/event_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/filters.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/histogram.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/job_service.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant.proto
diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto b/java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
rename to java-talent/proto-google-cloud-talent-v4beta1/src/main/proto/google/cloud/talent/v4beta1/tenant_service.proto
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/AsyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyStringCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/AsyncDeleteCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/deletecompany/SyncDeleteCompanyString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/AsyncGetCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyCompanyname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/getcompany/SyncGetCompanyString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompanies.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/AsyncListCompaniesPaged.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompanies.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/listcompanies/SyncListCompaniesTenantname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/AsyncUpdateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservice/updatecompany/SyncUpdateCompanyCompanyFieldmask.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/companyservicesettings/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/AsyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completion/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/completionsettings/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/AsyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/eventservicesettings/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/AsyncBatchDeleteJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringListstring.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameListstring.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/AsyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobStringJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/createjob/SyncCreateJobTenantnameJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/AsyncDeleteJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobJobname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/deletejob/SyncDeleteJobString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/AsyncGetJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobJobname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/getjob/SyncGetJobString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/AsyncListJobsPaged.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsStringString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/listjobs/SyncListJobsTenantnameString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/AsyncSearchJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobs/SyncSearchJobs.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/AsyncUpdateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservice/updatejob/SyncUpdateJobJobFieldmask.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/jobservicesettings/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/completionstubsettings/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/jobservicestubsettings/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/AsyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/createtenant/SyncCreateTenantStringTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/AsyncDeleteTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/AsyncGetTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/gettenant/SyncGetTenantTenantname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenants.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/AsyncListTenantsPaged.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenants.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsProjectname.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/listtenants/SyncListTenantsString.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/AsyncUpdateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservice/updatetenant/SyncUpdateTenantTenantFieldmask.java
diff --git a/owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4/tenantservicesettings/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/AsyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyProjectnameCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyStringCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/createcompany/SyncCreateCompanyTenantnameCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/AsyncDeleteCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyCompanyname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/deletecompany/SyncDeleteCompanyString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/AsyncGetCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyCompanyname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/getcompany/SyncGetCompanyString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompanies.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/AsyncListCompaniesPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompanies.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesProjectname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/listcompanies/SyncListCompaniesTenantname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/AsyncUpdateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservice/updatecompany/SyncUpdateCompanyCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/companyservicesettings/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/AsyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completion/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/completionsettings/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/AsyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventProjectnameClientevent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventStringClientevent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservice/createclientevent/SyncCreateClientEventTenantnameClientevent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/eventservicesettings/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/AsyncBatchCreateJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsProjectnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsStringListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchcreatejobs/SyncBatchCreateJobsTenantnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/AsyncBatchDeleteJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsProjectnameString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsStringString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchdeletejobs/SyncBatchDeleteJobsTenantnameString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/AsyncBatchUpdateJobsLRO.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsProjectnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsStringListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/batchupdatejobs/SyncBatchUpdateJobsTenantnameListjob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/AsyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobProjectnameJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobStringJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/createjob/SyncCreateJobTenantnameJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/AsyncDeleteJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobJobname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/deletejob/SyncDeleteJobString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/AsyncGetJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobJobname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/getjob/SyncGetJobString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/AsyncListJobsPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsProjectnameString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsStringString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/listjobs/SyncListJobsTenantnameString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/AsyncSearchJobsPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobs/SyncSearchJobs.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlert.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/AsyncSearchJobsForAlertPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/searchjobsforalert/SyncSearchJobsForAlert.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/AsyncUpdateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservice/updatejob/SyncUpdateJobJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/jobservicesettings/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/companyservicestubsettings/createcompany/SyncCreateCompany.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/completionstubsettings/completequery/SyncCompleteQuery.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/eventservicestubsettings/createclientevent/SyncCreateClientEvent.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/jobservicestubsettings/createjob/SyncCreateJob.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/stub/tenantservicestubsettings/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/create/SyncCreateSetEndpoint.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/AsyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantProjectnameTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/createtenant/SyncCreateTenantStringTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/AsyncDeleteTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/deletetenant/SyncDeleteTenantTenantname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/AsyncGetTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/gettenant/SyncGetTenantTenantname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenants.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/AsyncListTenantsPaged.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenants.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsProjectname.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/listtenants/SyncListTenantsString.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/AsyncUpdateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservice/updatetenant/SyncUpdateTenantTenant.java
diff --git a/owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java b/java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
similarity index 100%
rename from owl-bot-staging/java-talent/v4beta1/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
rename to java-talent/samples/snippets/generated/com/google/cloud/talent/v4beta1/tenantservicesettings/createtenant/SyncCreateTenant.java
diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
deleted file mode 100644
index 64026ce5e838..000000000000
--- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CompanyServiceGrpc.java
+++ /dev/null
@@ -1,651 +0,0 @@
-package com.google.cloud.talent.v4;
-
-import static io.grpc.MethodDescriptor.generateFullMethodName;
-
-/**
- * 
- * A service that handles company management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4/company_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompanyServiceGrpc { - - private CompanyServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4.CompanyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompany", - requestType = com.google.cloud.talent.v4.CreateCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCompanyMethod() { - io.grpc.MethodDescriptor getCreateCompanyMethod; - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - CompanyServiceGrpc.getCreateCompanyMethod = getCreateCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("CreateCompany")) - .build(); - } - } - } - return getCreateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompany", - requestType = com.google.cloud.talent.v4.GetCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCompanyMethod() { - io.grpc.MethodDescriptor getGetCompanyMethod; - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - CompanyServiceGrpc.getGetCompanyMethod = getGetCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) - .build(); - } - } - } - return getGetCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", - requestType = com.google.cloud.talent.v4.UpdateCompanyRequest.class, - responseType = com.google.cloud.talent.v4.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCompanyMethod() { - io.grpc.MethodDescriptor getUpdateCompanyMethod; - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - CompanyServiceGrpc.getUpdateCompanyMethod = getUpdateCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) - .build(); - } - } - } - return getUpdateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", - requestType = com.google.cloud.talent.v4.DeleteCompanyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCompanyMethod() { - io.grpc.MethodDescriptor getDeleteCompanyMethod; - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - CompanyServiceGrpc.getDeleteCompanyMethod = getDeleteCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) - .build(); - } - } - } - return getDeleteCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCompaniesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompanies", - requestType = com.google.cloud.talent.v4.ListCompaniesRequest.class, - responseType = com.google.cloud.talent.v4.ListCompaniesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCompaniesMethod() { - io.grpc.MethodDescriptor getListCompaniesMethod; - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - CompanyServiceGrpc.getListCompaniesMethod = getListCompaniesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListCompaniesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListCompaniesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("ListCompanies")) - .build(); - } - } - } - return getListCompaniesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static CompanyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - }; - return CompanyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompanyServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - }; - return CompanyServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CompanyServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - }; - return CompanyServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static abstract class CompanyServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompanyMethod(), responseObserver); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany(com.google.cloud.talent.v4.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyMethod(), responseObserver); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCompanyMethod(), responseObserver); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompaniesMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateCompanyRequest, - com.google.cloud.talent.v4.Company>( - this, METHODID_CREATE_COMPANY))) - .addMethod( - getGetCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetCompanyRequest, - com.google.cloud.talent.v4.Company>( - this, METHODID_GET_COMPANY))) - .addMethod( - getUpdateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateCompanyRequest, - com.google.cloud.talent.v4.Company>( - this, METHODID_UPDATE_COMPANY))) - .addMethod( - getDeleteCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteCompanyRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_COMPANY))) - .addMethod( - getListCompaniesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListCompaniesRequest, - com.google.cloud.talent.v4.ListCompaniesResponse>( - this, METHODID_LIST_COMPANIES))) - .build(); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceStub extends io.grpc.stub.AbstractAsyncStub { - private CompanyServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany(com.google.cloud.talent.v4.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CompanyServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.cloud.talent.v4.Company createCompany(com.google.cloud.talent.v4.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.cloud.talent.v4.Company getCompany(com.google.cloud.talent.v4.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public com.google.cloud.talent.v4.Company updateCompany(com.google.cloud.talent.v4.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.protobuf.Empty deleteCompany(com.google.cloud.talent.v4.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4.ListCompaniesResponse listCompanies(com.google.cloud.talent.v4.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompaniesMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private CompanyServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCompany( - com.google.cloud.talent.v4.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCompany( - com.google.cloud.talent.v4.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCompany( - com.google.cloud.talent.v4.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCompany( - com.google.cloud.talent.v4.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCompanies( - com.google.cloud.talent.v4.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_COMPANY = 0; - private static final int METHODID_GET_COMPANY = 1; - private static final int METHODID_UPDATE_COMPANY = 2; - private static final int METHODID_DELETE_COMPANY = 3; - private static final int METHODID_LIST_COMPANIES = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompanyServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_COMPANY: - serviceImpl.createCompany((com.google.cloud.talent.v4.CreateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_COMPANY: - serviceImpl.getCompany((com.google.cloud.talent.v4.GetCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_COMPANY: - serviceImpl.updateCompany((com.google.cloud.talent.v4.UpdateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_COMPANY: - serviceImpl.deleteCompany((com.google.cloud.talent.v4.DeleteCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPANIES: - serviceImpl.listCompanies((com.google.cloud.talent.v4.ListCompaniesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompanyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4.CompanyServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CompanyService"); - } - } - - private static final class CompanyServiceFileDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier { - CompanyServiceFileDescriptorSupplier() {} - } - - private static final class CompanyServiceMethodDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompanyServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompanyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) - .addMethod(getCreateCompanyMethod()) - .addMethod(getGetCompanyMethod()) - .addMethod(getUpdateCompanyMethod()) - .addMethod(getDeleteCompanyMethod()) - .addMethod(getListCompaniesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java b/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java deleted file mode 100644 index 1cd8a445db47..000000000000 --- a/owl-bot-staging/java-talent/v4/grpc-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantServiceGrpc.java +++ /dev/null @@ -1,647 +0,0 @@ -package com.google.cloud.talent.v4; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * A service that handles tenant management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4/tenant_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TenantServiceGrpc { - - private TenantServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4.TenantService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTenant", - requestType = com.google.cloud.talent.v4.CreateTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTenantMethod() { - io.grpc.MethodDescriptor getCreateTenantMethod; - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - TenantServiceGrpc.getCreateTenantMethod = getCreateTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.CreateTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("CreateTenant")) - .build(); - } - } - } - return getCreateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTenant", - requestType = com.google.cloud.talent.v4.GetTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTenantMethod() { - io.grpc.MethodDescriptor getGetTenantMethod; - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - TenantServiceGrpc.getGetTenantMethod = getGetTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.GetTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) - .build(); - } - } - } - return getGetTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", - requestType = com.google.cloud.talent.v4.UpdateTenantRequest.class, - responseType = com.google.cloud.talent.v4.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTenantMethod() { - io.grpc.MethodDescriptor getUpdateTenantMethod; - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - TenantServiceGrpc.getUpdateTenantMethod = getUpdateTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.UpdateTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("UpdateTenant")) - .build(); - } - } - } - return getUpdateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", - requestType = com.google.cloud.talent.v4.DeleteTenantRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTenantMethod() { - io.grpc.MethodDescriptor getDeleteTenantMethod; - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - TenantServiceGrpc.getDeleteTenantMethod = getDeleteTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.DeleteTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("DeleteTenant")) - .build(); - } - } - } - return getDeleteTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTenantsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTenants", - requestType = com.google.cloud.talent.v4.ListTenantsRequest.class, - responseType = com.google.cloud.talent.v4.ListTenantsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTenantsMethod() { - io.grpc.MethodDescriptor getListTenantsMethod; - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - TenantServiceGrpc.getListTenantsMethod = getListTenantsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListTenantsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4.ListTenantsResponse.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) - .build(); - } - } - } - return getListTenantsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static TenantServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - }; - return TenantServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TenantServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - }; - return TenantServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static TenantServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - }; - return TenantServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static abstract class TenantServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant(com.google.cloud.talent.v4.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTenantMethod(), responseObserver); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant(com.google.cloud.talent.v4.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTenantMethod(), responseObserver); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTenantMethod(), responseObserver); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants(com.google.cloud.talent.v4.ListTenantsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTenantsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.CreateTenantRequest, - com.google.cloud.talent.v4.Tenant>( - this, METHODID_CREATE_TENANT))) - .addMethod( - getGetTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.GetTenantRequest, - com.google.cloud.talent.v4.Tenant>( - this, METHODID_GET_TENANT))) - .addMethod( - getUpdateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.UpdateTenantRequest, - com.google.cloud.talent.v4.Tenant>( - this, METHODID_UPDATE_TENANT))) - .addMethod( - getDeleteTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.DeleteTenantRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TENANT))) - .addMethod( - getListTenantsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4.ListTenantsRequest, - com.google.cloud.talent.v4.ListTenantsResponse>( - this, METHODID_LIST_TENANTS))) - .build(); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceStub extends io.grpc.stub.AbstractAsyncStub { - private TenantServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant(com.google.cloud.talent.v4.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant(com.google.cloud.talent.v4.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants(com.google.cloud.talent.v4.ListTenantsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private TenantServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant createTenant(com.google.cloud.talent.v4.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant getTenant(com.google.cloud.talent.v4.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4.Tenant updateTenant(com.google.cloud.talent.v4.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.protobuf.Empty deleteTenant(com.google.cloud.talent.v4.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4.ListTenantsResponse listTenants(com.google.cloud.talent.v4.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTenantsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private TenantServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTenant( - com.google.cloud.talent.v4.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTenant( - com.google.cloud.talent.v4.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTenant( - com.google.cloud.talent.v4.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTenant( - com.google.cloud.talent.v4.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTenants( - com.google.cloud.talent.v4.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TENANT = 0; - private static final int METHODID_GET_TENANT = 1; - private static final int METHODID_UPDATE_TENANT = 2; - private static final int METHODID_DELETE_TENANT = 3; - private static final int METHODID_LIST_TENANTS = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TenantServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TENANT: - serviceImpl.createTenant((com.google.cloud.talent.v4.CreateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TENANT: - serviceImpl.getTenant((com.google.cloud.talent.v4.GetTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TENANT: - serviceImpl.updateTenant((com.google.cloud.talent.v4.UpdateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TENANT: - serviceImpl.deleteTenant((com.google.cloud.talent.v4.DeleteTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TENANTS: - serviceImpl.listTenants((com.google.cloud.talent.v4.ListTenantsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TenantServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4.TenantServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TenantService"); - } - } - - private static final class TenantServiceFileDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier { - TenantServiceFileDescriptorSupplier() {} - } - - private static final class TenantServiceMethodDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TenantServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TenantServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) - .addMethod(getCreateTenantMethod()) - .addMethod(getGetTenantMethod()) - .addMethod(getUpdateTenantMethod()) - .addMethod(getDeleteTenantMethod()) - .addMethod(getListTenantsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java deleted file mode 100644 index ebea9649ff4d..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/CommonProto.java +++ /dev/null @@ -1,307 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/common.proto - -package com.google.cloud.talent.v4; - -public final class CommonProto { - private CommonProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_TimestampRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_Location_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_RequestMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_RequestMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_ResponseMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_ResponseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_DeviceInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_DeviceInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CustomAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_SpellingCorrection_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_SpellingCorrection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_CompensationInfo_CompensationRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_BatchOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_BatchOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/talent/v4/common.proto\022\026g" + - "oogle.cloud.talent.v4\032\037google/api/field_" + - "behavior.proto\032\037google/protobuf/timestam" + - "p.proto\032\036google/protobuf/wrappers.proto\032" + - "\030google/type/latlng.proto\032\027google/type/m" + - "oney.proto\032 google/type/postal_address.p" + - "roto\"n\n\016TimestampRange\022.\n\nstart_time\030\001 \001" + - "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + - "me\030\002 \001(\0132\032.google.protobuf.Timestamp\"\262\003\n" + - "\010Location\022D\n\rlocation_type\030\001 \001(\0162-.googl" + - "e.cloud.talent.v4.Location.LocationType\022" + - "2\n\016postal_address\030\002 \001(\0132\032.google.type.Po" + - "stalAddress\022$\n\007lat_lng\030\003 \001(\0132\023.google.ty" + - "pe.LatLng\022\024\n\014radius_miles\030\004 \001(\001\"\357\001\n\014Loca" + - "tionType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020\000\022" + - "\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTRATIVE_AREA\020\002\022\033\n" + - "\027SUB_ADMINISTRATIVE_AREA\020\003\022\014\n\010LOCALITY\020\004" + - "\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_LOCALITY\020\006\022\022\n\016S" + - "UB_LOCALITY_1\020\007\022\022\n\016SUB_LOCALITY_2\020\010\022\020\n\014N" + - "EIGHBORHOOD\020\t\022\022\n\016STREET_ADDRESS\020\n\"\232\001\n\017Re" + - "questMetadata\022\016\n\006domain\030\001 \001(\t\022\022\n\nsession" + - "_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022\031\n\021allow_miss" + - "ing_ids\030\004 \001(\010\0227\n\013device_info\030\005 \001(\0132\".goo" + - "gle.cloud.talent.v4.DeviceInfo\"&\n\020Respon" + - "seMetadata\022\022\n\nrequest_id\030\001 \001(\t\"\312\001\n\nDevic" + - "eInfo\022B\n\013device_type\030\001 \001(\0162-.google.clou" + - "d.talent.v4.DeviceInfo.DeviceType\022\n\n\002id\030" + - "\002 \001(\t\"l\n\nDeviceType\022\033\n\027DEVICE_TYPE_UNSPE" + - "CIFIED\020\000\022\007\n\003WEB\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007AND" + - "ROID\020\003\022\007\n\003IOS\020\004\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017C" + - "ustomAttribute\022\025\n\rstring_values\030\001 \003(\t\022\023\n" + - "\013long_values\030\002 \003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032" + - "\n\022keyword_searchable\030\004 \001(\010\"W\n\022SpellingCo" + - "rrection\022\021\n\tcorrected\030\001 \001(\010\022\026\n\016corrected" + - "_text\030\002 \001(\t\022\026\n\016corrected_html\030\003 \001(\t\"\210\t\n\020" + - "CompensationInfo\022K\n\007entries\030\001 \003(\0132:.goog" + - "le.cloud.talent.v4.CompensationInfo.Comp" + - "ensationEntry\022k\n\"annualized_base_compens" + - "ation_range\030\002 \001(\0132:.google.cloud.talent." + - "v4.CompensationInfo.CompensationRangeB\003\340" + - "A\003\022l\n#annualized_total_compensation_rang" + - "e\030\003 \001(\0132:.google.cloud.talent.v4.Compens" + - "ationInfo.CompensationRangeB\003\340A\003\032\203\003\n\021Com" + - "pensationEntry\022G\n\004type\030\001 \001(\01629.google.cl" + - "oud.talent.v4.CompensationInfo.Compensat" + - "ionType\022G\n\004unit\030\002 \001(\01629.google.cloud.tal" + - "ent.v4.CompensationInfo.CompensationUnit" + - "\022$\n\006amount\030\003 \001(\0132\022.google.type.MoneyH\000\022K" + - "\n\005range\030\004 \001(\0132:.google.cloud.talent.v4.C" + - "ompensationInfo.CompensationRangeH\000\022\023\n\013d" + - "escription\030\005 \001(\t\022=\n\027expected_units_per_y" + - "ear\030\006 \001(\0132\034.google.protobuf.DoubleValueB" + - "\025\n\023compensation_amount\032o\n\021CompensationRa" + - "nge\022,\n\020max_compensation\030\002 \001(\0132\022.google.t" + - "ype.Money\022,\n\020min_compensation\030\001 \001(\0132\022.go" + - "ogle.type.Money\"\265\001\n\020CompensationType\022!\n\035" + - "COMPENSATION_TYPE_UNSPECIFIED\020\000\022\010\n\004BASE\020" + - "\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_BONUS\020\003\022\n\n\006EQUIT" + - "Y\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017\n\013COMMISSIONS\020\006" + - "\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPENSATION_TYPE\020\010\"" + - "\234\001\n\020CompensationUnit\022!\n\035COMPENSATION_UNI" + - "T_UNSPECIFIED\020\000\022\n\n\006HOURLY\020\001\022\t\n\005DAILY\020\002\022\n" + - "\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n\n\006YEARLY\020\005\022\014\n\010O" + - "NE_TIME\020\006\022\033\n\027OTHER_COMPENSATION_UNIT\020\007\"\307" + - "\003\n\026BatchOperationMetadata\022C\n\005state\030\001 \001(\016" + - "24.google.cloud.talent.v4.BatchOperation" + - "Metadata.State\022\031\n\021state_description\030\002 \001(" + - "\t\022\025\n\rsuccess_count\030\003 \001(\005\022\025\n\rfailure_coun" + - "t\030\004 \001(\005\022\023\n\013total_count\030\005 \001(\005\022/\n\013create_t" + - "ime\030\006 \001(\0132\032.google.protobuf.Timestamp\022/\n" + - "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" + - "estamp\022,\n\010end_time\030\010 \001(\0132\032.google.protob" + - "uf.Timestamp\"z\n\005State\022\025\n\021STATE_UNSPECIFI" + - "ED\020\000\022\020\n\014INITIALIZING\020\001\022\016\n\nPROCESSING\020\002\022\r" + - "\n\tSUCCEEDED\020\003\022\n\n\006FAILED\020\004\022\016\n\nCANCELLING\020" + - "\005\022\r\n\tCANCELLED\020\006*y\n\013CompanySize\022\034\n\030COMPA" + - "NY_SIZE_UNSPECIFIED\020\000\022\010\n\004MINI\020\001\022\t\n\005SMALL" + - "\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006MEDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006" + - "BIGGER\020\006\022\t\n\005GIANT\020\007*\342\001\n\nJobBenefit\022\033\n\027JO" + - "B_BENEFIT_UNSPECIFIED\020\000\022\016\n\nCHILD_CARE\020\001\022" + - "\n\n\006DENTAL\020\002\022\024\n\020DOMESTIC_PARTNER\020\003\022\022\n\016FLE" + - "XIBLE_HOURS\020\004\022\013\n\007MEDICAL\020\005\022\022\n\016LIFE_INSUR" + - "ANCE\020\006\022\022\n\016PARENTAL_LEAVE\020\007\022\023\n\017RETIREMENT" + - "_PLAN\020\010\022\r\n\tSICK_DAYS\020\t\022\014\n\010VACATION\020\n\022\n\n\006" + - "VISION\020\013*\216\002\n\nDegreeType\022\033\n\027DEGREE_TYPE_U" + - "NSPECIFIED\020\000\022\025\n\021PRIMARY_EDUCATION\020\001\022\035\n\031L" + - "OWER_SECONDARY_EDUCATION\020\002\022\035\n\031UPPER_SECO" + - "NDARY_EDUCATION\020\003\022\034\n\030ADULT_REMEDIAL_EDUC" + - "ATION\020\004\022\034\n\030ASSOCIATES_OR_EQUIVALENT\020\005\022\033\n" + - "\027BACHELORS_OR_EQUIVALENT\020\006\022\031\n\025MASTERS_OR" + - "_EQUIVALENT\020\007\022\032\n\026DOCTORAL_OR_EQUIVALENT\020" + - "\010*\334\001\n\016EmploymentType\022\037\n\033EMPLOYMENT_TYPE_" + - "UNSPECIFIED\020\000\022\r\n\tFULL_TIME\020\001\022\r\n\tPART_TIM" + - "E\020\002\022\016\n\nCONTRACTOR\020\003\022\024\n\020CONTRACT_TO_HIRE\020" + - "\004\022\r\n\tTEMPORARY\020\005\022\n\n\006INTERN\020\006\022\r\n\tVOLUNTEE" + - "R\020\007\022\014\n\010PER_DIEM\020\010\022\022\n\016FLY_IN_FLY_OUT\020\t\022\031\n" + - "\025OTHER_EMPLOYMENT_TYPE\020\n*q\n\010JobLevel\022\031\n\025" + - "JOB_LEVEL_UNSPECIFIED\020\000\022\017\n\013ENTRY_LEVEL\020\001" + - "\022\017\n\013EXPERIENCED\020\002\022\013\n\007MANAGER\020\003\022\014\n\010DIRECT" + - "OR\020\004\022\r\n\tEXECUTIVE\020\005*\272\006\n\013JobCategory\022\034\n\030J" + - "OB_CATEGORY_UNSPECIFIED\020\000\022\032\n\026ACCOUNTING_" + - "AND_FINANCE\020\001\022\035\n\031ADMINISTRATIVE_AND_OFFI" + - "CE\020\002\022\035\n\031ADVERTISING_AND_MARKETING\020\003\022\017\n\013A" + - "NIMAL_CARE\020\004\022\032\n\026ART_FASHION_AND_DESIGN\020\005" + - "\022\027\n\023BUSINESS_OPERATIONS\020\006\022\033\n\027CLEANING_AN" + - "D_FACILITIES\020\007\022\023\n\017COMPUTER_AND_IT\020\010\022\020\n\014C" + - "ONSTRUCTION\020\t\022\024\n\020CUSTOMER_SERVICE\020\n\022\r\n\tE" + - "DUCATION\020\013\022\034\n\030ENTERTAINMENT_AND_TRAVEL\020\014" + - "\022\030\n\024FARMING_AND_OUTDOORS\020\r\022\016\n\nHEALTHCARE" + - "\020\016\022\023\n\017HUMAN_RESOURCES\020\017\022\'\n#INSTALLATION_" + - "MAINTENANCE_AND_REPAIR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nM" + - "ANAGEMENT\020\022\022\037\n\033MANUFACTURING_AND_WAREHOU" + - "SE\020\023\022$\n MEDIA_COMMUNICATIONS_AND_WRITING" + - "\020\024\022\026\n\022OIL_GAS_AND_MINING\020\025\022\036\n\032PERSONAL_C" + - "ARE_AND_SERVICES\020\026\022\027\n\023PROTECTIVE_SERVICE" + - "S\020\027\022\017\n\013REAL_ESTATE\020\030\022\036\n\032RESTAURANT_AND_H" + - "OSPITALITY\020\031\022\024\n\020SALES_AND_RETAIL\020\032\022\033\n\027SC" + - "IENCE_AND_ENGINEERING\020\033\022\"\n\036SOCIAL_SERVIC" + - "ES_AND_NON_PROFIT\020\034\022!\n\035SPORTS_FITNESS_AN" + - "D_RECREATION\020\035\022 \n\034TRANSPORTATION_AND_LOG" + - "ISTICS\020\036*e\n\rPostingRegion\022\036\n\032POSTING_REG" + - "ION_UNSPECIFIED\020\000\022\027\n\023ADMINISTRATIVE_AREA" + - "\020\001\022\n\n\006NATION\020\002\022\017\n\013TELECOMMUTE\020\003*n\n\nVisib" + - "ility\022\032\n\026VISIBILITY_UNSPECIFIED\020\000\022\020\n\014ACC" + - "OUNT_ONLY\020\001\022\026\n\022SHARED_WITH_GOOGLE\020\002\022\026\n\022S" + - "HARED_WITH_PUBLIC\020\003\032\002\030\001*q\n\020HtmlSanitizat" + - "ion\022!\n\035HTML_SANITIZATION_UNSPECIFIED\020\000\022\036" + - "\n\032HTML_SANITIZATION_DISABLED\020\001\022\032\n\026SIMPLE" + - "_FORMATTING_ONLY\020\002*{\n\rCommuteMethod\022\036\n\032C" + - "OMMUTE_METHOD_UNSPECIFIED\020\000\022\013\n\007DRIVING\020\001" + - "\022\013\n\007TRANSIT\020\002\022\013\n\007WALKING\020\003\022\013\n\007CYCLING\020\004\022" + - "\026\n\022TRANSIT_ACCESSIBLE\020\005Bo\n\032com.google.cl" + - "oud.talent.v4B\013CommonProtoP\001Z23/v4/{company.name=projects/*/te" + - "nants/*/companies/*}:\007company\332A\023company," + - "update_mask\022\221\001\n\rDeleteCompany\022,.google.c" + - "loud.talent.v4.DeleteCompanyRequest\032\026.go" + - "ogle.protobuf.Empty\":\202\323\344\223\002-*+/v4/{name=p" + - "rojects/*/tenants/*/companies/*}\332A\004name\022" + - "\252\001\n\rListCompanies\022,.google.cloud.talent." + - "v4.ListCompaniesRequest\032-.google.cloud.t" + - "alent.v4.ListCompaniesResponse\"<\202\323\344\223\002-\022+" + - "/v4/{parent=projects/*/tenants/*}/compan" + - "ies\332A\006parent\032l\312A\023jobs.googleapis.com\322ASh" + - "ttps://www.googleapis.com/auth/cloud-pla" + - "tform,https://www.googleapis.com/auth/jo" + - "bsBw\n\032com.google.cloud.talent.v4B\023Compan" + - "yServiceProtoP\001Z.google.cloud.talent.v4.CompleteQuer" + - "yResponse.CompletionResult\022:\n\010metadata\030\002" + - " \001(\0132(.google.cloud.talent.v4.ResponseMe" + - "tadata\032\204\001\n\020CompletionResult\022\022\n\nsuggestio" + - "n\030\001 \001(\t\022I\n\004type\030\002 \001(\0162;.google.cloud.tal" + - "ent.v4.CompleteQueryRequest.CompletionTy" + - "pe\022\021\n\timage_uri\030\003 \001(\t2\242\002\n\nCompletion\022\245\001\n" + - "\rCompleteQuery\022,.google.cloud.talent.v4." + - "CompleteQueryRequest\032-.google.cloud.tale" + - "nt.v4.CompleteQueryResponse\"7\202\323\344\223\0021\022//v4" + - "/{tenant=projects/*/tenants/*}:completeQ" + - "uery\032l\312A\023jobs.googleapis.com\322AShttps://w" + - "ww.googleapis.com/auth/cloud-platform,ht" + - "tps://www.googleapis.com/auth/jobsBz\n\032co" + - "m.google.cloud.talent.v4B\026CompletionServ" + - "iceProtoP\001Z - * Required. The resource name of the company to be deleted. - * The format is - * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/foo/tenants/bar/companies/baz". - *
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the company to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
-   * example, "projects/foo/tenants/bar/companies/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java deleted file mode 100644 index cd4e7e2e728e..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteJobRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/job_service.proto - -package com.google.cloud.talent.v4; - -public interface DeleteJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the job to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the job to be deleted.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java deleted file mode 100644 index 2fc07df36afe..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/DeleteTenantRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant_service.proto - -package com.google.cloud.talent.v4; - -public interface DeleteTenantRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.DeleteTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java deleted file mode 100644 index f6ffb0fb3b5d..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/EventProto.java +++ /dev/null @@ -1,89 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/event.proto - -package com.google.cloud.talent.v4; - -public final class EventProto { - private EventProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_ClientEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_ClientEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_JobEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_JobEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\"google/cloud/talent/v4/event.proto\022\026go" + - "ogle.cloud.talent.v4\032\037google/api/field_b" + - "ehavior.proto\032\037google/protobuf/timestamp" + - ".proto\"\303\001\n\013ClientEvent\022\022\n\nrequest_id\030\001 \001" + - "(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013create_time" + - "\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022" + - "5\n\tjob_event\030\005 \001(\0132 .google.cloud.talent" + - ".v4.JobEventH\000\022\023\n\013event_notes\030\t \001(\tB\007\n\005e" + - "vent\"\340\003\n\010JobEvent\022@\n\004type\030\001 \001(\0162-.google" + - ".cloud.talent.v4.JobEvent.JobEventTypeB\003" + - "\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340A\002\"\376\002\n\014JobEventType\022" + - "\036\n\032JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRE" + - "SSION\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021" + - "APPLICATION_START\020\004\022\026\n\022APPLICATION_FINIS" + - "H\020\005\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n" + - "\024APPLICATION_REDIRECT\020\007\022!\n\035APPLICATION_S" + - "TART_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRE" + - "CT_FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_" + - "SUBMIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014" + - "\022\t\n\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GR" + - "ANTED\020\017Bn\n\032com.google.cloud.talent.v4B\nE" + - "ventProtoP\001Z\n\014client_event\030\002 \001" + - "(\0132#.google.cloud.talent.v4.ClientEventB" + - "\003\340A\0022\305\002\n\014EventService\022\306\001\n\021CreateClientEv" + - "ent\0220.google.cloud.talent.v4.CreateClien" + - "tEventRequest\032#.google.cloud.talent.v4.C" + - "lientEvent\"Z\202\323\344\223\002>\"./v4/{parent=projects" + - "/*/tenants/*}/clientEvents:\014client_event" + - "\332A\023parent,client_event\032l\312A\023jobs.googleap" + - "is.com\322AShttps://www.googleapis.com/auth" + - "/cloud-platform,https://www.googleapis.c" + - "om/auth/jobsBu\n\032com.google.cloud.talent." + - "v4B\021EventServiceProtoP\001Z - * Required. The resource name of the company to be retrieved. - * The format is - * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for - * example, "projects/api-test-project/tenants/foo/companies/bar". - *
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the company to be retrieved.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
-   * example, "projects/api-test-project/tenants/foo/companies/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java deleted file mode 100644 index ba7c61ed366f..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/job_service.proto - -package com.google.cloud.talent.v4; - -public interface GetJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the job to retrieve.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the job to retrieve.
-   * The format is
-   * "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
-   * example, "projects/foo/tenants/bar/jobs/baz".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java deleted file mode 100644 index 2d4022936340..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/GetTenantRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant_service.proto - -package com.google.cloud.talent.v4; - -public interface GetTenantRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java deleted file mode 100644 index c4baba96311b..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/HistogramProto.java +++ /dev/null @@ -1,78 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/histogram.proto - -package com.google.cloud.talent.v4; - -public final class HistogramProto { - private HistogramProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQueryResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_HistogramQueryResult_HistogramEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/talent/v4/histogram.proto" + - "\022\026google.cloud.talent.v4\")\n\016HistogramQue" + - "ry\022\027\n\017histogram_query\030\001 \001(\t\"\261\001\n\024Histogra" + - "mQueryResult\022\027\n\017histogram_query\030\001 \001(\t\022N\n" + - "\thistogram\030\002 \003(\0132;.google.cloud.talent.v" + - "4.HistogramQueryResult.HistogramEntry\0320\n" + - "\016HistogramEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + - "\001(\003:\0028\001Br\n\032com.google.cloud.talent.v4B\016H" + - "istogramProtoP\001Z\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372" + - "A\031\n\027jobs.googleapis.com/Job\"r\n\020UpdateJob" + - "Request\022-\n\003job\030\001 \001(\0132\033.google.cloud.tale" + - "nt.v4.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + - "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" + - "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" + - "is.com/Job\"\261\001\n\017ListJobsRequest\022/\n\006parent" + - "\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022" + - "\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\npage_token\030\003 \001(\t" + - "\022\021\n\tpage_size\030\004 \001(\005\0221\n\010job_view\030\005 \001(\0162\037." + - "google.cloud.talent.v4.JobView\"\222\001\n\020ListJ" + - "obsResponse\022)\n\004jobs\030\001 \003(\0132\033.google.cloud" + - ".talent.v4.Job\022\027\n\017next_page_token\030\002 \001(\t\022" + - ":\n\010metadata\030\003 \001(\0132(.google.cloud.talent." + - "v4.ResponseMetadata\"\274\013\n\021SearchJobsReques" + - "t\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleap" + - "is.com/Job\022I\n\013search_mode\030\002 \001(\01624.google" + - ".cloud.talent.v4.SearchJobsRequest.Searc" + - "hMode\022F\n\020request_metadata\030\003 \001(\0132\'.google" + - ".cloud.talent.v4.RequestMetadataB\003\340A\002\0223\n" + - "\tjob_query\030\004 \001(\0132 .google.cloud.talent.v" + - "4.JobQuery\022\031\n\021enable_broadening\030\005 \001(\010\022A\n" + - "\021histogram_queries\030\007 \003(\0132&.google.cloud." + - "talent.v4.HistogramQuery\0221\n\010job_view\030\010 \001" + - "(\0162\037.google.cloud.talent.v4.JobView\022\016\n\006o" + - "ffset\030\t \001(\005\022\025\n\rmax_page_size\030\n \001(\005\022\022\n\npa" + - "ge_token\030\013 \001(\t\022\020\n\010order_by\030\014 \001(\t\022]\n\025dive" + - "rsification_level\030\r \001(\0162>.google.cloud.t" + - "alent.v4.SearchJobsRequest.Diversificati" + - "onLevel\022X\n\023custom_ranking_info\030\016 \001(\0132;.g" + - "oogle.cloud.talent.v4.SearchJobsRequest." + - "CustomRankingInfo\022!\n\025disable_keyword_mat" + - "ch\030\020 \001(\010B\002\030\001\022V\n\022keyword_match_mode\030\022 \001(\016" + - "2:.google.cloud.talent.v4.SearchJobsRequ" + - "est.KeywordMatchMode\032\225\002\n\021CustomRankingIn" + - "fo\022j\n\020importance_level\030\001 \001(\0162K.google.cl" + - "oud.talent.v4.SearchJobsRequest.CustomRa" + - "nkingInfo.ImportanceLevelB\003\340A\002\022\037\n\022rankin" + - "g_expression\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLev" + - "el\022 \n\034IMPORTANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004" + - "NONE\020\001\022\007\n\003LOW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n" + - "\004HIGH\020\005\022\013\n\007EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SE" + - "ARCH_MODE_UNSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022" + - "\027\n\023FEATURED_JOB_SEARCH\020\002\"\245\001\n\024Diversifica" + - "tionLevel\022%\n!DIVERSIFICATION_LEVEL_UNSPE" + - "CIFIED\020\000\022\014\n\010DISABLED\020\001\022\n\n\006SIMPLE\020\002\022\023\n\017ON" + - "E_PER_COMPANY\020\003\022\023\n\017TWO_PER_COMPANY\020\004\022\"\n\036" + - "DIVERSIFY_BY_LOOSER_SIMILARITY\020\005\"\207\001\n\020Key" + - "wordMatchMode\022\"\n\036KEYWORD_MATCH_MODE_UNSP" + - "ECIFIED\020\000\022\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n" + - "\021KEYWORD_MATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TI" + - "TLE_ONLY\020\003\"\221\006\n\022SearchJobsResponse\022M\n\rmat" + - "ching_jobs\030\001 \003(\01326.google.cloud.talent.v" + - "4.SearchJobsResponse.MatchingJob\022M\n\027hist" + - "ogram_query_results\030\002 \003(\0132,.google.cloud" + - ".talent.v4.HistogramQueryResult\022\027\n\017next_" + - "page_token\030\003 \001(\t\022:\n\020location_filters\030\004 \003" + - "(\0132 .google.cloud.talent.v4.Location\022\022\n\n" + - "total_size\030\006 \001(\005\022:\n\010metadata\030\007 \001(\0132(.goo" + - "gle.cloud.talent.v4.ResponseMetadata\022\"\n\032" + - "broadened_query_jobs_count\030\010 \001(\005\022D\n\020spel" + - "l_correction\030\t \001(\0132*.google.cloud.talent" + - ".v4.SpellingCorrection\032\322\001\n\013MatchingJob\022(" + - "\n\003job\030\001 \001(\0132\033.google.cloud.talent.v4.Job" + - "\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_title_snipp" + - "et\030\003 \001(\t\022\033\n\023search_text_snippet\030\004 \001(\t\022L\n" + - "\014commute_info\030\005 \001(\01326.google.cloud.talen" + - "t.v4.SearchJobsResponse.CommuteInfo\032y\n\013C" + - "ommuteInfo\0226\n\014job_location\030\001 \001(\0132 .googl" + - "e.cloud.talent.v4.Location\0222\n\017travel_dur" + - "ation\030\002 \001(\0132\031.google.protobuf.Duration\"y" + - "\n\026BatchCreateJobsRequest\022/\n\006parent\030\001 \001(\t" + - "B\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n\004job" + - "s\030\002 \003(\0132\033.google.cloud.talent.v4.JobB\003\340A" + - "\002\"\252\001\n\026BatchUpdateJobsRequest\022/\n\006parent\030\001" + - " \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Job\022.\n" + - "\004jobs\030\002 \003(\0132\033.google.cloud.talent.v4.Job" + - "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + - "obuf.FieldMask\"y\n\026BatchDeleteJobsRequest" + - "\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapi" + - "s.com/Tenant\022+\n\005names\030\002 \003(\tB\034\372A\031\n\027jobs.g" + - "oogleapis.com/Job\"Y\n\tJobResult\022(\n\003job\030\001 " + - "\001(\0132\033.google.cloud.talent.v4.Job\022\"\n\006stat" + - "us\030\002 \001(\0132\022.google.rpc.Status\"Q\n\027BatchCre" + - "ateJobsResponse\0226\n\013job_results\030\001 \003(\0132!.g" + - "oogle.cloud.talent.v4.JobResult\"Q\n\027Batch" + - "UpdateJobsResponse\0226\n\013job_results\030\001 \003(\0132" + - "!.google.cloud.talent.v4.JobResult\"Q\n\027Ba" + - "tchDeleteJobsResponse\0226\n\013job_results\030\001 \003" + - "(\0132!.google.cloud.talent.v4.JobResult*v\n" + - "\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000\022\024\n\020JO" + - "B_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIMAL\020\002\022\022" + - "\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FULL\020\0042\334\016" + - "\n\nJobService\022\224\001\n\tCreateJob\022(.google.clou" + - "d.talent.v4.CreateJobRequest\032\033.google.cl" + - "oud.talent.v4.Job\"@\202\323\344\223\002-\"&/v4/{parent=p" + - "rojects/*/tenants/*}/jobs:\003job\332A\nparent," + - "job\022\341\001\n\017BatchCreateJobs\022..google.cloud.t" + - "alent.v4.BatchCreateJobsRequest\032\035.google" + - ".longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{par" + - "ent=projects/*/tenants/*}/jobs:batchCrea" + - "te:\001*\332A\013parent,jobs\312A1\n\027BatchCreateJobsR" + - "esponse\022\026BatchOperationMetadata\022\203\001\n\006GetJ" + - "ob\022%.google.cloud.talent.v4.GetJobReques" + - "t\032\033.google.cloud.talent.v4.Job\"5\202\323\344\223\002(\022&" + - "/v4/{name=projects/*/tenants/*/jobs/*}\332A" + - "\004name\022\235\001\n\tUpdateJob\022(.google.cloud.talen" + - "t.v4.UpdateJobRequest\032\033.google.cloud.tal" + - "ent.v4.Job\"I\202\323\344\223\00212*/v4/{job.name=projec" + - "ts/*/tenants/*/jobs/*}:\003job\332A\017job,update" + - "_mask\022\341\001\n\017BatchUpdateJobs\022..google.cloud" + - ".talent.v4.BatchUpdateJobsRequest\032\035.goog" + - "le.longrunning.Operation\"\177\202\323\344\223\0027\"2/v4/{p" + - "arent=projects/*/tenants/*}/jobs:batchUp" + - "date:\001*\332A\013parent,jobs\312A1\n\027BatchUpdateJob" + - "sResponse\022\026BatchOperationMetadata\022\204\001\n\tDe" + - "leteJob\022(.google.cloud.talent.v4.DeleteJ" + - "obRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002" + - "(*&/v4/{name=projects/*/tenants/*/jobs/*" + - "}\332A\004name\022\343\001\n\017BatchDeleteJobs\022..google.cl" + - "oud.talent.v4.BatchDeleteJobsRequest\032\035.g" + - "oogle.longrunning.Operation\"\200\001\202\323\344\223\0027\"2/v" + - "4/{parent=projects/*/tenants/*}/jobs:bat" + - "chDelete:\001*\332A\014parent,names\312A1\n\027BatchDele" + - "teJobsResponse\022\026BatchOperationMetadata\022\235" + - "\001\n\010ListJobs\022\'.google.cloud.talent.v4.Lis" + - "tJobsRequest\032(.google.cloud.talent.v4.Li" + - "stJobsResponse\">\202\323\344\223\002(\022&/v4/{parent=proj" + - "ects/*/tenants/*}/jobs\332A\rparent,filter\022\235" + - "\001\n\nSearchJobs\022).google.cloud.talent.v4.S" + - "earchJobsRequest\032*.google.cloud.talent.v" + - "4.SearchJobsResponse\"8\202\323\344\223\0022\"-/v4/{paren" + - "t=projects/*/tenants/*}/jobs:search:\001*\022\255" + - "\001\n\022SearchJobsForAlert\022).google.cloud.tal" + - "ent.v4.SearchJobsRequest\032*.google.cloud." + - "talent.v4.SearchJobsResponse\"@\202\323\344\223\002:\"5/v" + - "4/{parent=projects/*/tenants/*}/jobs:sea" + - "rchForAlert:\001*\032l\312A\023jobs.googleapis.com\322A" + - "Shttps://www.googleapis.com/auth/cloud-p" + - "latform,https://www.googleapis.com/auth/" + - "jobsBs\n\032com.google.cloud.talent.v4B\017JobS" + - "erviceProtoP\001Z - * A unique id associated with this call. - * This id is logged for tracking purposes. - *
- * - * string request_id = 1; - * @return The requestId. - */ - java.lang.String getRequestId(); - /** - *
-   * A unique id associated with this call.
-   * This id is logged for tracking purposes.
-   * 
- * - * string request_id = 1; - * @return The bytes for requestId. - */ - com.google.protobuf.ByteString - getRequestIdBytes(); -} diff --git a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java b/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java deleted file mode 100644 index 9e5bfef61cea..000000000000 --- a/owl-bot-staging/java-talent/v4/proto-google-cloud-talent-v4/src/main/java/com/google/cloud/talent/v4/TenantProto.java +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4/tenant.proto - -package com.google.cloud.talent.v4; - -public final class TenantProto { - private TenantProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4_Tenant_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4_Tenant_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/talent/v4/tenant.proto\022\026g" + - "oogle.cloud.talent.v4\032\037google/api/field_" + - "behavior.proto\032\031google/api/resource.prot" + - "o\"v\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013external_id" + - "\030\002 \001(\tB\003\340A\002:D\352AA\n\032jobs.googleapis.com/Te" + - "nant\022#projects/{project}/tenants/{tenant" + - "}Bo\n\032com.google.cloud.talent.v4B\013TenantP" + - "rotoP\001Z - * A service that handles company management, including CRUD and enumeration. - *
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/company_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompanyServiceGrpc { - - private CompanyServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.CompanyService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompany", - requestType = com.google.cloud.talent.v4beta1.CreateCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCompanyMethod() { - io.grpc.MethodDescriptor getCreateCompanyMethod; - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getCreateCompanyMethod = CompanyServiceGrpc.getCreateCompanyMethod) == null) { - CompanyServiceGrpc.getCreateCompanyMethod = getCreateCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("CreateCompany")) - .build(); - } - } - } - return getCreateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompany", - requestType = com.google.cloud.talent.v4beta1.GetCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCompanyMethod() { - io.grpc.MethodDescriptor getGetCompanyMethod; - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getGetCompanyMethod = CompanyServiceGrpc.getGetCompanyMethod) == null) { - CompanyServiceGrpc.getGetCompanyMethod = getGetCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("GetCompany")) - .build(); - } - } - } - return getGetCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCompany", - requestType = com.google.cloud.talent.v4beta1.UpdateCompanyRequest.class, - responseType = com.google.cloud.talent.v4beta1.Company.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCompanyMethod() { - io.grpc.MethodDescriptor getUpdateCompanyMethod; - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getUpdateCompanyMethod = CompanyServiceGrpc.getUpdateCompanyMethod) == null) { - CompanyServiceGrpc.getUpdateCompanyMethod = getUpdateCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Company.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("UpdateCompany")) - .build(); - } - } - } - return getUpdateCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCompanyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCompany", - requestType = com.google.cloud.talent.v4beta1.DeleteCompanyRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCompanyMethod() { - io.grpc.MethodDescriptor getDeleteCompanyMethod; - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getDeleteCompanyMethod = CompanyServiceGrpc.getDeleteCompanyMethod) == null) { - CompanyServiceGrpc.getDeleteCompanyMethod = getDeleteCompanyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCompany")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("DeleteCompany")) - .build(); - } - } - } - return getDeleteCompanyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCompaniesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompanies", - requestType = com.google.cloud.talent.v4beta1.ListCompaniesRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListCompaniesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCompaniesMethod() { - io.grpc.MethodDescriptor getListCompaniesMethod; - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - synchronized (CompanyServiceGrpc.class) { - if ((getListCompaniesMethod = CompanyServiceGrpc.getListCompaniesMethod) == null) { - CompanyServiceGrpc.getListCompaniesMethod = getListCompaniesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompanies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListCompaniesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListCompaniesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CompanyServiceMethodDescriptorSupplier("ListCompanies")) - .build(); - } - } - } - return getListCompaniesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static CompanyServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - }; - return CompanyServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompanyServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - }; - return CompanyServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CompanyServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompanyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - }; - return CompanyServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static abstract class CompanyServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompanyMethod(), responseObserver); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompanyMethod(), responseObserver); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyMethod(), responseObserver); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCompanyMethod(), responseObserver); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompaniesMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateCompanyRequest, - com.google.cloud.talent.v4beta1.Company>( - this, METHODID_CREATE_COMPANY))) - .addMethod( - getGetCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetCompanyRequest, - com.google.cloud.talent.v4beta1.Company>( - this, METHODID_GET_COMPANY))) - .addMethod( - getUpdateCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateCompanyRequest, - com.google.cloud.talent.v4beta1.Company>( - this, METHODID_UPDATE_COMPANY))) - .addMethod( - getDeleteCompanyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteCompanyRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_COMPANY))) - .addMethod( - getListCompaniesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListCompaniesRequest, - com.google.cloud.talent.v4beta1.ListCompaniesResponse>( - this, METHODID_LIST_COMPANIES))) - .build(); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceStub extends io.grpc.stub.AbstractAsyncStub { - private CompanyServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public void createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public void getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public void updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public void deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public void listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CompanyServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company createCompany(com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company getCompany(com.google.cloud.talent.v4beta1.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Company updateCompany(com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.protobuf.Empty deleteCompany(com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCompanyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListCompaniesResponse listCompanies(com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompaniesMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service that handles company management, including CRUD and enumeration.
-   * 
- */ - public static final class CompanyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private CompanyServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompanyServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompanyServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new company entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCompany( - com.google.cloud.talent.v4beta1.CreateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCompany( - com.google.cloud.talent.v4beta1.GetCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified company.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCompany( - com.google.cloud.talent.v4beta1.UpdateCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes specified company.
-     * Prerequisite: The company has no jobs associated with it.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCompany( - com.google.cloud.talent.v4beta1.DeleteCompanyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCompanyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all companies associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCompanies( - com.google.cloud.talent.v4beta1.ListCompaniesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompaniesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_COMPANY = 0; - private static final int METHODID_GET_COMPANY = 1; - private static final int METHODID_UPDATE_COMPANY = 2; - private static final int METHODID_DELETE_COMPANY = 3; - private static final int METHODID_LIST_COMPANIES = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompanyServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompanyServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_COMPANY: - serviceImpl.createCompany((com.google.cloud.talent.v4beta1.CreateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_COMPANY: - serviceImpl.getCompany((com.google.cloud.talent.v4beta1.GetCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_COMPANY: - serviceImpl.updateCompany((com.google.cloud.talent.v4beta1.UpdateCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_COMPANY: - serviceImpl.deleteCompany((com.google.cloud.talent.v4beta1.DeleteCompanyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPANIES: - serviceImpl.listCompanies((com.google.cloud.talent.v4beta1.ListCompaniesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompanyServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.CompanyServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CompanyService"); - } - } - - private static final class CompanyServiceFileDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier { - CompanyServiceFileDescriptorSupplier() {} - } - - private static final class CompanyServiceMethodDescriptorSupplier - extends CompanyServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompanyServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompanyServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompanyServiceFileDescriptorSupplier()) - .addMethod(getCreateCompanyMethod()) - .addMethod(getGetCompanyMethod()) - .addMethod(getUpdateCompanyMethod()) - .addMethod(getDeleteCompanyMethod()) - .addMethod(getListCompaniesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java deleted file mode 100644 index 4b22e20c0607..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionGrpc.java +++ /dev/null @@ -1,307 +0,0 @@ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * A service handles auto completion.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/completion_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CompletionGrpc { - - private CompletionGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.Completion"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCompleteQueryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteQuery", - requestType = com.google.cloud.talent.v4beta1.CompleteQueryRequest.class, - responseType = com.google.cloud.talent.v4beta1.CompleteQueryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCompleteQueryMethod() { - io.grpc.MethodDescriptor getCompleteQueryMethod; - if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - synchronized (CompletionGrpc.class) { - if ((getCompleteQueryMethod = CompletionGrpc.getCompleteQueryMethod) == null) { - CompletionGrpc.getCompleteQueryMethod = getCompleteQueryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteQuery")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CompleteQueryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CompleteQueryResponse.getDefaultInstance())) - .setSchemaDescriptor(new CompletionMethodDescriptorSupplier("CompleteQuery")) - .build(); - } - } - } - return getCompleteQueryMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static CompletionStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - }; - return CompletionStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CompletionBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - }; - return CompletionBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CompletionFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CompletionFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - }; - return CompletionFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service handles auto completion.
-   * 
- */ - public static abstract class CompletionImplBase implements io.grpc.BindableService { - - /** - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public void completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteQueryMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCompleteQueryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CompleteQueryRequest, - com.google.cloud.talent.v4beta1.CompleteQueryResponse>( - this, METHODID_COMPLETE_QUERY))) - .build(); - } - } - - /** - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionStub extends io.grpc.stub.AbstractAsyncStub { - private CompletionStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionStub(channel, callOptions); - } - - /** - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public void completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CompletionBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionBlockingStub(channel, callOptions); - } - - /** - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public com.google.cloud.talent.v4beta1.CompleteQueryResponse completeQuery(com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteQueryMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service handles auto completion.
-   * 
- */ - public static final class CompletionFutureStub extends io.grpc.stub.AbstractFutureStub { - private CompletionFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CompletionFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CompletionFutureStub(channel, callOptions); - } - - /** - *
-     * Completes the specified prefix with keyword suggestions.
-     * Intended for use by a job search auto-complete search box.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture completeQuery( - com.google.cloud.talent.v4beta1.CompleteQueryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteQueryMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_COMPLETE_QUERY = 0; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final CompletionImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CompletionImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_COMPLETE_QUERY: - serviceImpl.completeQuery((com.google.cloud.talent.v4beta1.CompleteQueryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CompletionBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.CompletionServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Completion"); - } - } - - private static final class CompletionFileDescriptorSupplier - extends CompletionBaseDescriptorSupplier { - CompletionFileDescriptorSupplier() {} - } - - private static final class CompletionMethodDescriptorSupplier - extends CompletionBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CompletionMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (CompletionGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CompletionFileDescriptorSupplier()) - .addMethod(getCompleteQueryMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java deleted file mode 100644 index 98e485ab9043..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceGrpc.java +++ /dev/null @@ -1,1145 +0,0 @@ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * A service handles job management, including job CRUD, enumeration and search.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/job_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class JobServiceGrpc { - - private JobServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.JobService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJob", - requestType = com.google.cloud.talent.v4beta1.CreateJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateJobMethod() { - io.grpc.MethodDescriptor getCreateJobMethod; - if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getCreateJobMethod = JobServiceGrpc.getCreateJobMethod) == null) { - JobServiceGrpc.getCreateJobMethod = getCreateJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("CreateJob")) - .build(); - } - } - } - return getCreateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCreateJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateJobs", - requestType = com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateJobsMethod() { - io.grpc.MethodDescriptor getBatchCreateJobsMethod; - if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchCreateJobsMethod = JobServiceGrpc.getBatchCreateJobsMethod) == null) { - JobServiceGrpc.getBatchCreateJobsMethod = getBatchCreateJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchCreateJobs")) - .build(); - } - } - } - return getBatchCreateJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJob", - requestType = com.google.cloud.talent.v4beta1.GetJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJobMethod() { - io.grpc.MethodDescriptor getGetJobMethod; - if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getGetJobMethod = JobServiceGrpc.getGetJobMethod) == null) { - JobServiceGrpc.getGetJobMethod = getGetJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("GetJob")) - .build(); - } - } - } - return getGetJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateJob", - requestType = com.google.cloud.talent.v4beta1.UpdateJobRequest.class, - responseType = com.google.cloud.talent.v4beta1.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateJobMethod() { - io.grpc.MethodDescriptor getUpdateJobMethod; - if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getUpdateJobMethod = JobServiceGrpc.getUpdateJobMethod) == null) { - JobServiceGrpc.getUpdateJobMethod = getUpdateJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("UpdateJob")) - .build(); - } - } - } - return getUpdateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchUpdateJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateJobs", - requestType = com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchUpdateJobsMethod() { - io.grpc.MethodDescriptor getBatchUpdateJobsMethod; - if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchUpdateJobsMethod = JobServiceGrpc.getBatchUpdateJobsMethod) == null) { - JobServiceGrpc.getBatchUpdateJobsMethod = getBatchUpdateJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchUpdateJobs")) - .build(); - } - } - } - return getBatchUpdateJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJob", - requestType = com.google.cloud.talent.v4beta1.DeleteJobRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteJobMethod() { - io.grpc.MethodDescriptor getDeleteJobMethod; - if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getDeleteJobMethod = JobServiceGrpc.getDeleteJobMethod) == null) { - JobServiceGrpc.getDeleteJobMethod = getDeleteJobMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteJobRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("DeleteJob")) - .build(); - } - } - } - return getDeleteJobMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchDeleteJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteJobs", - requestType = com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchDeleteJobsMethod() { - io.grpc.MethodDescriptor getBatchDeleteJobsMethod; - if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getBatchDeleteJobsMethod = JobServiceGrpc.getBatchDeleteJobsMethod) == null) { - JobServiceGrpc.getBatchDeleteJobsMethod = getBatchDeleteJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("BatchDeleteJobs")) - .build(); - } - } - } - return getBatchDeleteJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobs", - requestType = com.google.cloud.talent.v4beta1.ListJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListJobsMethod() { - io.grpc.MethodDescriptor getListJobsMethod; - if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getListJobsMethod = JobServiceGrpc.getListJobsMethod) == null) { - JobServiceGrpc.getListJobsMethod = getListJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("ListJobs")) - .build(); - } - } - } - return getListJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchJobs", - requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchJobsMethod() { - io.grpc.MethodDescriptor getSearchJobsMethod; - if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getSearchJobsMethod = JobServiceGrpc.getSearchJobsMethod) == null) { - JobServiceGrpc.getSearchJobsMethod = getSearchJobsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobs")) - .build(); - } - } - } - return getSearchJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor getSearchJobsForAlertMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SearchJobsForAlert", - requestType = com.google.cloud.talent.v4beta1.SearchJobsRequest.class, - responseType = com.google.cloud.talent.v4beta1.SearchJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchJobsForAlertMethod() { - io.grpc.MethodDescriptor getSearchJobsForAlertMethod; - if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - synchronized (JobServiceGrpc.class) { - if ((getSearchJobsForAlertMethod = JobServiceGrpc.getSearchJobsForAlertMethod) == null) { - JobServiceGrpc.getSearchJobsForAlertMethod = getSearchJobsForAlertMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SearchJobsForAlert")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.SearchJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobServiceMethodDescriptorSupplier("SearchJobsForAlert")) - .build(); - } - } - } - return getSearchJobsForAlertMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static JobServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - }; - return JobServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static JobServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - }; - return JobServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static JobServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - }; - return JobServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static abstract class JobServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); - } - - /** - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public void batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateJobsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public void getJob(com.google.cloud.talent.v4beta1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); - } - - /** - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public void updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); - } - - /** - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public void batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateJobsMethod(), responseObserver); - } - - /** - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); - } - - /** - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public void batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteJobsMethod(), responseObserver); - } - - /** - *
-     * Lists jobs by filter.
-     * 
- */ - public void listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsMethod(), responseObserver); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchJobsForAlertMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateJobRequest, - com.google.cloud.talent.v4beta1.Job>( - this, METHODID_CREATE_JOB))) - .addMethod( - getBatchCreateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_CREATE_JOBS))) - .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetJobRequest, - com.google.cloud.talent.v4beta1.Job>( - this, METHODID_GET_JOB))) - .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateJobRequest, - com.google.cloud.talent.v4beta1.Job>( - this, METHODID_UPDATE_JOB))) - .addMethod( - getBatchUpdateJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest, - com.google.longrunning.Operation>( - this, METHODID_BATCH_UPDATE_JOBS))) - .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteJobRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) - .addMethod( - getBatchDeleteJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest, - com.google.protobuf.Empty>( - this, METHODID_BATCH_DELETE_JOBS))) - .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListJobsRequest, - com.google.cloud.talent.v4beta1.ListJobsResponse>( - this, METHODID_LIST_JOBS))) - .addMethod( - getSearchJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS))) - .addMethod( - getSearchJobsForAlertMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.SearchJobsRequest, - com.google.cloud.talent.v4beta1.SearchJobsResponse>( - this, METHODID_SEARCH_JOBS_FOR_ALERT))) - .build(); - } - } - - /** - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceStub extends io.grpc.stub.AbstractAsyncStub { - private JobServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public void batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public void getJob(com.google.cloud.talent.v4beta1.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public void updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public void batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public void deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public void batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists jobs by filter.
-     * 
- */ - public void listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public void searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private JobServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job createJob(com.google.cloud.talent.v4beta1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public com.google.longrunning.Operation batchCreateJobs(com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job getJob(com.google.cloud.talent.v4beta1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Job updateJob(com.google.cloud.talent.v4beta1.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public com.google.longrunning.Operation batchUpdateJobs(com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.protobuf.Empty deleteJob(com.google.cloud.talent.v4beta1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteJobs(com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists jobs by filter.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListJobsResponse listJobs(com.google.cloud.talent.v4beta1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobs(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchJobsMethod(), getCallOptions(), request); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public com.google.cloud.talent.v4beta1.SearchJobsResponse searchJobsForAlert(com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSearchJobsForAlertMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service handles job management, including job CRUD, enumeration and search.
-   * 
- */ - public static final class JobServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private JobServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new job.
-     * Typically, the job becomes searchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createJob( - com.google.cloud.talent.v4beta1.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Begins executing a batch create jobs operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCreateJobs( - com.google.cloud.talent.v4beta1.BatchCreateJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the specified job, whose status is OPEN or recently EXPIRED
-     * within the last 90 days.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getJob( - com.google.cloud.talent.v4beta1.GetJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified job.
-     * Typically, updated contents become visible in search results within 10
-     * seconds, but it may take up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateJob( - com.google.cloud.talent.v4beta1.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Begins executing a batch update jobs operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchUpdateJobs( - com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the specified job.
-     * Typically, the job becomes unsearchable within 10 seconds, but it may take
-     * up to 5 minutes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteJob( - com.google.cloud.talent.v4beta1.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchDeleteJobs( - com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists jobs by filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listJobs( - com.google.cloud.talent.v4beta1.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs that the caller has
-     * permission to search against.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchJobs( - com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchJobsMethod(), getCallOptions()), request); - } - - /** - *
-     * Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
-     * This API call is intended for the use case of targeting passive job
-     * seekers (for example, job seekers who have signed up to receive email
-     * alerts about potential job opportunities), and has different algorithmic
-     * adjustments that are targeted to passive job seekers.
-     * This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
-     * present in the database, and only returns jobs the caller has
-     * permission to search against.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture searchJobsForAlert( - com.google.cloud.talent.v4beta1.SearchJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSearchJobsForAlertMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_JOB = 0; - private static final int METHODID_BATCH_CREATE_JOBS = 1; - private static final int METHODID_GET_JOB = 2; - private static final int METHODID_UPDATE_JOB = 3; - private static final int METHODID_BATCH_UPDATE_JOBS = 4; - private static final int METHODID_DELETE_JOB = 5; - private static final int METHODID_BATCH_DELETE_JOBS = 6; - private static final int METHODID_LIST_JOBS = 7; - private static final int METHODID_SEARCH_JOBS = 8; - private static final int METHODID_SEARCH_JOBS_FOR_ALERT = 9; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final JobServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(JobServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_JOB: - serviceImpl.createJob((com.google.cloud.talent.v4beta1.CreateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_JOBS: - serviceImpl.batchCreateJobs((com.google.cloud.talent.v4beta1.BatchCreateJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JOB: - serviceImpl.getJob((com.google.cloud.talent.v4beta1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_JOB: - serviceImpl.updateJob((com.google.cloud.talent.v4beta1.UpdateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_UPDATE_JOBS: - serviceImpl.batchUpdateJobs((com.google.cloud.talent.v4beta1.BatchUpdateJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_JOB: - serviceImpl.deleteJob((com.google.cloud.talent.v4beta1.DeleteJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_JOBS: - serviceImpl.batchDeleteJobs((com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOBS: - serviceImpl.listJobs((com.google.cloud.talent.v4beta1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_JOBS: - serviceImpl.searchJobs((com.google.cloud.talent.v4beta1.SearchJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SEARCH_JOBS_FOR_ALERT: - serviceImpl.searchJobsForAlert((com.google.cloud.talent.v4beta1.SearchJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class JobServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - JobServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.JobServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("JobService"); - } - } - - private static final class JobServiceFileDescriptorSupplier - extends JobServiceBaseDescriptorSupplier { - JobServiceFileDescriptorSupplier() {} - } - - private static final class JobServiceMethodDescriptorSupplier - extends JobServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - JobServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (JobServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new JobServiceFileDescriptorSupplier()) - .addMethod(getCreateJobMethod()) - .addMethod(getBatchCreateJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getBatchUpdateJobsMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getBatchDeleteJobsMethod()) - .addMethod(getListJobsMethod()) - .addMethod(getSearchJobsMethod()) - .addMethod(getSearchJobsForAlertMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java b/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java deleted file mode 100644 index 008a5c2bc577..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/grpc-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceGrpc.java +++ /dev/null @@ -1,647 +0,0 @@ -package com.google.cloud.talent.v4beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * A service that handles tenant management, including CRUD and enumeration.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/talent/v4beta1/tenant_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TenantServiceGrpc { - - private TenantServiceGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.talent.v4beta1.TenantService"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTenant", - requestType = com.google.cloud.talent.v4beta1.CreateTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTenantMethod() { - io.grpc.MethodDescriptor getCreateTenantMethod; - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getCreateTenantMethod = TenantServiceGrpc.getCreateTenantMethod) == null) { - TenantServiceGrpc.getCreateTenantMethod = getCreateTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.CreateTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("CreateTenant")) - .build(); - } - } - } - return getCreateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTenant", - requestType = com.google.cloud.talent.v4beta1.GetTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTenantMethod() { - io.grpc.MethodDescriptor getGetTenantMethod; - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getGetTenantMethod = TenantServiceGrpc.getGetTenantMethod) == null) { - TenantServiceGrpc.getGetTenantMethod = getGetTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.GetTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("GetTenant")) - .build(); - } - } - } - return getGetTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTenant", - requestType = com.google.cloud.talent.v4beta1.UpdateTenantRequest.class, - responseType = com.google.cloud.talent.v4beta1.Tenant.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTenantMethod() { - io.grpc.MethodDescriptor getUpdateTenantMethod; - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getUpdateTenantMethod = TenantServiceGrpc.getUpdateTenantMethod) == null) { - TenantServiceGrpc.getUpdateTenantMethod = getUpdateTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.UpdateTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.Tenant.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("UpdateTenant")) - .build(); - } - } - } - return getUpdateTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTenantMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTenant", - requestType = com.google.cloud.talent.v4beta1.DeleteTenantRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTenantMethod() { - io.grpc.MethodDescriptor getDeleteTenantMethod; - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getDeleteTenantMethod = TenantServiceGrpc.getDeleteTenantMethod) == null) { - TenantServiceGrpc.getDeleteTenantMethod = getDeleteTenantMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTenant")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.DeleteTenantRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("DeleteTenant")) - .build(); - } - } - } - return getDeleteTenantMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTenantsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTenants", - requestType = com.google.cloud.talent.v4beta1.ListTenantsRequest.class, - responseType = com.google.cloud.talent.v4beta1.ListTenantsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTenantsMethod() { - io.grpc.MethodDescriptor getListTenantsMethod; - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - synchronized (TenantServiceGrpc.class) { - if ((getListTenantsMethod = TenantServiceGrpc.getListTenantsMethod) == null) { - TenantServiceGrpc.getListTenantsMethod = getListTenantsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTenants")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListTenantsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.talent.v4beta1.ListTenantsResponse.getDefaultInstance())) - .setSchemaDescriptor(new TenantServiceMethodDescriptorSupplier("ListTenants")) - .build(); - } - } - } - return getListTenantsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static TenantServiceStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - }; - return TenantServiceStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TenantServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - }; - return TenantServiceBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static TenantServiceFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TenantServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - }; - return TenantServiceFutureStub.newStub(factory, channel); - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static abstract class TenantServiceImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTenantMethod(), responseObserver); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTenantMethod(), responseObserver); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTenantMethod(), responseObserver); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTenantMethod(), responseObserver); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTenantsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.CreateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>( - this, METHODID_CREATE_TENANT))) - .addMethod( - getGetTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.GetTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>( - this, METHODID_GET_TENANT))) - .addMethod( - getUpdateTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.UpdateTenantRequest, - com.google.cloud.talent.v4beta1.Tenant>( - this, METHODID_UPDATE_TENANT))) - .addMethod( - getDeleteTenantMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.DeleteTenantRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TENANT))) - .addMethod( - getListTenantsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.talent.v4beta1.ListTenantsRequest, - com.google.cloud.talent.v4beta1.ListTenantsResponse>( - this, METHODID_LIST_TENANTS))) - .build(); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceStub extends io.grpc.stub.AbstractAsyncStub { - private TenantServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public void createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public void getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public void updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public void deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public void listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private TenantServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceBlockingStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant createTenant(com.google.cloud.talent.v4beta1.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant getTenant(com.google.cloud.talent.v4beta1.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.cloud.talent.v4beta1.Tenant updateTenant(com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.protobuf.Empty deleteTenant(com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTenantMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.cloud.talent.v4beta1.ListTenantsResponse listTenants(com.google.cloud.talent.v4beta1.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTenantsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * A service that handles tenant management, including CRUD and enumeration.
-   * 
- */ - public static final class TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub { - private TenantServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TenantServiceFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TenantServiceFutureStub(channel, callOptions); - } - - /** - *
-     * Creates a new tenant entity.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTenant( - com.google.cloud.talent.v4beta1.CreateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTenant( - com.google.cloud.talent.v4beta1.GetTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTenant( - com.google.cloud.talent.v4beta1.UpdateTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes specified tenant.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTenant( - com.google.cloud.talent.v4beta1.DeleteTenantRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTenantMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all tenants associated with the project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTenants( - com.google.cloud.talent.v4beta1.ListTenantsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTenantsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_TENANT = 0; - private static final int METHODID_GET_TENANT = 1; - private static final int METHODID_UPDATE_TENANT = 2; - private static final int METHODID_DELETE_TENANT = 3; - private static final int METHODID_LIST_TENANTS = 4; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final TenantServiceImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TenantServiceImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TENANT: - serviceImpl.createTenant((com.google.cloud.talent.v4beta1.CreateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TENANT: - serviceImpl.getTenant((com.google.cloud.talent.v4beta1.GetTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TENANT: - serviceImpl.updateTenant((com.google.cloud.talent.v4beta1.UpdateTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TENANT: - serviceImpl.deleteTenant((com.google.cloud.talent.v4beta1.DeleteTenantRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TENANTS: - serviceImpl.listTenants((com.google.cloud.talent.v4beta1.ListTenantsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TenantServiceBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.talent.v4beta1.TenantServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("TenantService"); - } - } - - private static final class TenantServiceFileDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier { - TenantServiceFileDescriptorSupplier() {} - } - - private static final class TenantServiceMethodDescriptorSupplier - extends TenantServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TenantServiceMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TenantServiceGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TenantServiceFileDescriptorSupplier()) - .addMethod(getCreateTenantMethod()) - .addMethod(getGetTenantMethod()) - .addMethod(getUpdateTenantMethod()) - .addMethod(getDeleteTenantMethod()) - .addMethod(getListTenantsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java deleted file mode 100644 index 5ed86508d229..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchCreateJobsRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface BatchCreateJobsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.BatchCreateJobsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant under which the job is created.
-   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
-   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
-   * is created. For example, "projects/foo".
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The resource name of the tenant under which the job is created.
-   * The format is "projects/{project_id}/tenants/{tenant_id}". For example,
-   * "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
-   * is created. For example, "projects/foo".
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getJobsList(); - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.talent.v4beta1.Job getJobs(int index); - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - int getJobsCount(); - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getJobsOrBuilderList(); - /** - *
-   * Required. The jobs to be created.
-   * 
- * - * repeated .google.cloud.talent.v4beta1.Job jobs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.talent.v4beta1.JobOrBuilder getJobsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java deleted file mode 100644 index 85c307bfbd03..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/BatchProto.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/batch.proto - -package com.google.cloud.talent.v4beta1; - -public final class BatchProto { - private BatchProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/batch.prot" + - "o\022\033google.cloud.talent.v4beta1Bx\n\037com.go" + - "ogle.cloud.talent.v4beta1B\nBatchProtoP\001Z" + - "Agoogle.golang.org/genproto/googleapis/c" + - "loud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java deleted file mode 100644 index 2532d2fbddb3..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CommonProto.java +++ /dev/null @@ -1,308 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/common.proto - -package com.google.cloud.talent.v4beta1; - -public final class CommonProto { - private CommonProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Location_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/talent/v4beta1/common.pro" + - "to\022\033google.cloud.talent.v4beta1\032\037google/" + - "api/field_behavior.proto\032\037google/protobu" + - "f/timestamp.proto\032\036google/protobuf/wrapp" + - "ers.proto\032\030google/type/latlng.proto\032\027goo" + - "gle/type/money.proto\032 google/type/postal" + - "_address.proto\"n\n\016TimestampRange\022.\n\nstar" + - "t_time\030\001 \001(\0132\032.google.protobuf.Timestamp" + - "\022,\n\010end_time\030\002 \001(\0132\032.google.protobuf.Tim" + - "estamp\"\267\003\n\010Location\022I\n\rlocation_type\030\001 \001" + - "(\01622.google.cloud.talent.v4beta1.Locatio" + - "n.LocationType\0222\n\016postal_address\030\002 \001(\0132\032" + - ".google.type.PostalAddress\022$\n\007lat_lng\030\003 " + - "\001(\0132\023.google.type.LatLng\022\024\n\014radius_miles" + - "\030\004 \001(\001\"\357\001\n\014LocationType\022\035\n\031LOCATION_TYPE" + - "_UNSPECIFIED\020\000\022\013\n\007COUNTRY\020\001\022\027\n\023ADMINISTR" + - "ATIVE_AREA\020\002\022\033\n\027SUB_ADMINISTRATIVE_AREA\020" + - "\003\022\014\n\010LOCALITY\020\004\022\017\n\013POSTAL_CODE\020\005\022\020\n\014SUB_" + - "LOCALITY\020\006\022\022\n\016SUB_LOCALITY_1\020\007\022\022\n\016SUB_LO" + - "CALITY_2\020\010\022\020\n\014NEIGHBORHOOD\020\t\022\022\n\016STREET_A" + - "DDRESS\020\n\"\237\001\n\017RequestMetadata\022\016\n\006domain\030\001" + - " \001(\t\022\022\n\nsession_id\030\002 \001(\t\022\017\n\007user_id\030\003 \001(" + - "\t\022\031\n\021allow_missing_ids\030\004 \001(\010\022<\n\013device_i" + - "nfo\030\005 \001(\0132\'.google.cloud.talent.v4beta1." + - "DeviceInfo\"&\n\020ResponseMetadata\022\022\n\nreques" + - "t_id\030\001 \001(\t\"\317\001\n\nDeviceInfo\022G\n\013device_type" + - "\030\001 \001(\01622.google.cloud.talent.v4beta1.Dev" + - "iceInfo.DeviceType\022\n\n\002id\030\002 \001(\t\"l\n\nDevice" + - "Type\022\033\n\027DEVICE_TYPE_UNSPECIFIED\020\000\022\007\n\003WEB" + - "\020\001\022\016\n\nMOBILE_WEB\020\002\022\013\n\007ANDROID\020\003\022\007\n\003IOS\020\004" + - "\022\007\n\003BOT\020\005\022\t\n\005OTHER\020\006\"m\n\017CustomAttribute\022" + - "\025\n\rstring_values\030\001 \003(\t\022\023\n\013long_values\030\002 " + - "\003(\003\022\022\n\nfilterable\030\003 \001(\010\022\032\n\022keyword_searc" + - "hable\030\004 \001(\010\"W\n\022SpellingCorrection\022\021\n\tcor" + - "rected\030\001 \001(\010\022\026\n\016corrected_text\030\002 \001(\t\022\026\n\016" + - "corrected_html\030\003 \001(\t\"\246\t\n\020CompensationInf" + - "o\022P\n\007entries\030\001 \003(\0132?.google.cloud.talent" + - ".v4beta1.CompensationInfo.CompensationEn" + - "try\022p\n\"annualized_base_compensation_rang" + - "e\030\002 \001(\0132?.google.cloud.talent.v4beta1.Co" + - "mpensationInfo.CompensationRangeB\003\340A\003\022q\n" + - "#annualized_total_compensation_range\030\003 \001" + - "(\0132?.google.cloud.talent.v4beta1.Compens" + - "ationInfo.CompensationRangeB\003\340A\003\032\222\003\n\021Com" + - "pensationEntry\022L\n\004type\030\001 \001(\0162>.google.cl" + - "oud.talent.v4beta1.CompensationInfo.Comp" + - "ensationType\022L\n\004unit\030\002 \001(\0162>.google.clou" + - "d.talent.v4beta1.CompensationInfo.Compen" + - "sationUnit\022$\n\006amount\030\003 \001(\0132\022.google.type" + - ".MoneyH\000\022P\n\005range\030\004 \001(\0132?.google.cloud.t" + - "alent.v4beta1.CompensationInfo.Compensat" + - "ionRangeH\000\022\023\n\013description\030\005 \001(\t\022=\n\027expec" + - "ted_units_per_year\030\006 \001(\0132\034.google.protob" + - "uf.DoubleValueB\025\n\023compensation_amount\032o\n" + - "\021CompensationRange\022,\n\020max_compensation\030\002" + - " \001(\0132\022.google.type.Money\022,\n\020min_compensa" + - "tion\030\001 \001(\0132\022.google.type.Money\"\265\001\n\020Compe" + - "nsationType\022!\n\035COMPENSATION_TYPE_UNSPECI" + - "FIED\020\000\022\010\n\004BASE\020\001\022\t\n\005BONUS\020\002\022\021\n\rSIGNING_B" + - "ONUS\020\003\022\n\n\006EQUITY\020\004\022\022\n\016PROFIT_SHARING\020\005\022\017" + - "\n\013COMMISSIONS\020\006\022\010\n\004TIPS\020\007\022\033\n\027OTHER_COMPE" + - "NSATION_TYPE\020\010\"\234\001\n\020CompensationUnit\022!\n\035C" + - "OMPENSATION_UNIT_UNSPECIFIED\020\000\022\n\n\006HOURLY" + - "\020\001\022\t\n\005DAILY\020\002\022\n\n\006WEEKLY\020\003\022\013\n\007MONTHLY\020\004\022\n" + - "\n\006YEARLY\020\005\022\014\n\010ONE_TIME\020\006\022\033\n\027OTHER_COMPEN" + - "SATION_UNIT\020\007\"\314\003\n\026BatchOperationMetadata" + - "\022H\n\005state\030\001 \001(\01629.google.cloud.talent.v4" + - "beta1.BatchOperationMetadata.State\022\031\n\021st" + - "ate_description\030\002 \001(\t\022\025\n\rsuccess_count\030\003" + - " \001(\005\022\025\n\rfailure_count\030\004 \001(\005\022\023\n\013total_cou" + - "nt\030\005 \001(\005\022/\n\013create_time\030\006 \001(\0132\032.google.p" + - "rotobuf.Timestamp\022/\n\013update_time\030\007 \001(\0132\032" + - ".google.protobuf.Timestamp\022,\n\010end_time\030\010" + - " \001(\0132\032.google.protobuf.Timestamp\"z\n\005Stat" + - "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIALIZING" + - "\020\001\022\016\n\nPROCESSING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI" + - "LED\020\004\022\016\n\nCANCELLING\020\005\022\r\n\tCANCELLED\020\006*y\n\013" + - "CompanySize\022\034\n\030COMPANY_SIZE_UNSPECIFIED\020" + - "\000\022\010\n\004MINI\020\001\022\t\n\005SMALL\020\002\022\013\n\007SMEDIUM\020\003\022\n\n\006M" + - "EDIUM\020\004\022\007\n\003BIG\020\005\022\n\n\006BIGGER\020\006\022\t\n\005GIANT\020\007*" + - "\342\001\n\nJobBenefit\022\033\n\027JOB_BENEFIT_UNSPECIFIE" + - "D\020\000\022\016\n\nCHILD_CARE\020\001\022\n\n\006DENTAL\020\002\022\024\n\020DOMES" + - "TIC_PARTNER\020\003\022\022\n\016FLEXIBLE_HOURS\020\004\022\013\n\007MED" + - "ICAL\020\005\022\022\n\016LIFE_INSURANCE\020\006\022\022\n\016PARENTAL_L" + - "EAVE\020\007\022\023\n\017RETIREMENT_PLAN\020\010\022\r\n\tSICK_DAYS" + - "\020\t\022\014\n\010VACATION\020\n\022\n\n\006VISION\020\013*\216\002\n\nDegreeT" + - "ype\022\033\n\027DEGREE_TYPE_UNSPECIFIED\020\000\022\025\n\021PRIM" + - "ARY_EDUCATION\020\001\022\035\n\031LOWER_SECONDARY_EDUCA" + - "TION\020\002\022\035\n\031UPPER_SECONDARY_EDUCATION\020\003\022\034\n" + - "\030ADULT_REMEDIAL_EDUCATION\020\004\022\034\n\030ASSOCIATE" + - "S_OR_EQUIVALENT\020\005\022\033\n\027BACHELORS_OR_EQUIVA" + - "LENT\020\006\022\031\n\025MASTERS_OR_EQUIVALENT\020\007\022\032\n\026DOC" + - "TORAL_OR_EQUIVALENT\020\010*\334\001\n\016EmploymentType" + - "\022\037\n\033EMPLOYMENT_TYPE_UNSPECIFIED\020\000\022\r\n\tFUL" + - "L_TIME\020\001\022\r\n\tPART_TIME\020\002\022\016\n\nCONTRACTOR\020\003\022" + - "\024\n\020CONTRACT_TO_HIRE\020\004\022\r\n\tTEMPORARY\020\005\022\n\n\006" + - "INTERN\020\006\022\r\n\tVOLUNTEER\020\007\022\014\n\010PER_DIEM\020\010\022\022\n" + - "\016FLY_IN_FLY_OUT\020\t\022\031\n\025OTHER_EMPLOYMENT_TY" + - "PE\020\n*q\n\010JobLevel\022\031\n\025JOB_LEVEL_UNSPECIFIE" + - "D\020\000\022\017\n\013ENTRY_LEVEL\020\001\022\017\n\013EXPERIENCED\020\002\022\013\n" + - "\007MANAGER\020\003\022\014\n\010DIRECTOR\020\004\022\r\n\tEXECUTIVE\020\005*" + - "\272\006\n\013JobCategory\022\034\n\030JOB_CATEGORY_UNSPECIF" + - "IED\020\000\022\032\n\026ACCOUNTING_AND_FINANCE\020\001\022\035\n\031ADM" + - "INISTRATIVE_AND_OFFICE\020\002\022\035\n\031ADVERTISING_" + - "AND_MARKETING\020\003\022\017\n\013ANIMAL_CARE\020\004\022\032\n\026ART_" + - "FASHION_AND_DESIGN\020\005\022\027\n\023BUSINESS_OPERATI" + - "ONS\020\006\022\033\n\027CLEANING_AND_FACILITIES\020\007\022\023\n\017CO" + - "MPUTER_AND_IT\020\010\022\020\n\014CONSTRUCTION\020\t\022\024\n\020CUS" + - "TOMER_SERVICE\020\n\022\r\n\tEDUCATION\020\013\022\034\n\030ENTERT" + - "AINMENT_AND_TRAVEL\020\014\022\030\n\024FARMING_AND_OUTD" + - "OORS\020\r\022\016\n\nHEALTHCARE\020\016\022\023\n\017HUMAN_RESOURCE" + - "S\020\017\022\'\n#INSTALLATION_MAINTENANCE_AND_REPA" + - "IR\020\020\022\t\n\005LEGAL\020\021\022\016\n\nMANAGEMENT\020\022\022\037\n\033MANUF" + - "ACTURING_AND_WAREHOUSE\020\023\022$\n MEDIA_COMMUN" + - "ICATIONS_AND_WRITING\020\024\022\026\n\022OIL_GAS_AND_MI" + - "NING\020\025\022\036\n\032PERSONAL_CARE_AND_SERVICES\020\026\022\027" + - "\n\023PROTECTIVE_SERVICES\020\027\022\017\n\013REAL_ESTATE\020\030" + - "\022\036\n\032RESTAURANT_AND_HOSPITALITY\020\031\022\024\n\020SALE" + - "S_AND_RETAIL\020\032\022\033\n\027SCIENCE_AND_ENGINEERIN" + - "G\020\033\022\"\n\036SOCIAL_SERVICES_AND_NON_PROFIT\020\034\022" + - "!\n\035SPORTS_FITNESS_AND_RECREATION\020\035\022 \n\034TR" + - "ANSPORTATION_AND_LOGISTICS\020\036*e\n\rPostingR" + - "egion\022\036\n\032POSTING_REGION_UNSPECIFIED\020\000\022\027\n" + - "\023ADMINISTRATIVE_AREA\020\001\022\n\n\006NATION\020\002\022\017\n\013TE" + - "LECOMMUTE\020\003*n\n\nVisibility\022\032\n\026VISIBILITY_" + - "UNSPECIFIED\020\000\022\020\n\014ACCOUNT_ONLY\020\001\022\026\n\022SHARE" + - "D_WITH_GOOGLE\020\002\022\026\n\022SHARED_WITH_PUBLIC\020\003\032" + - "\002\030\001*q\n\020HtmlSanitization\022!\n\035HTML_SANITIZA" + - "TION_UNSPECIFIED\020\000\022\036\n\032HTML_SANITIZATION_" + - "DISABLED\020\001\022\032\n\026SIMPLE_FORMATTING_ONLY\020\002*c" + - "\n\rCommuteMethod\022\036\n\032COMMUTE_METHOD_UNSPEC" + - "IFIED\020\000\022\013\n\007DRIVING\020\001\022\013\n\007TRANSIT\020\002\022\013\n\007WAL" + - "KING\020\003\022\013\n\007CYCLING\020\004By\n\037com.google.cloud." + - "talent.v4beta1B\013CommonProtoP\001ZAgoogle.go" + - "lang.org/genproto/googleapis/cloud/talen" + - "t/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - com.google.type.MoneyProto.getDescriptor(), - com.google.type.PostalAddressProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_TimestampRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_TimestampRange_descriptor, - new java.lang.String[] { "StartTime", "EndTime", }); - internal_static_google_cloud_talent_v4beta1_Location_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_Location_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Location_descriptor, - new java.lang.String[] { "LocationType", "PostalAddress", "LatLng", "RadiusMiles", }); - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_RequestMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_RequestMetadata_descriptor, - new java.lang.String[] { "Domain", "SessionId", "UserId", "AllowMissingIds", "DeviceInfo", }); - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ResponseMetadata_descriptor, - new java.lang.String[] { "RequestId", }); - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_DeviceInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeviceInfo_descriptor, - new java.lang.String[] { "DeviceType", "Id", }); - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_CustomAttribute_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CustomAttribute_descriptor, - new java.lang.String[] { "StringValues", "LongValues", "Filterable", "KeywordSearchable", }); - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SpellingCorrection_descriptor, - new java.lang.String[] { "Corrected", "CorrectedText", "CorrectedHtml", }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor, - new java.lang.String[] { "Entries", "AnnualizedBaseCompensationRange", "AnnualizedTotalCompensationRange", }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationEntry_descriptor, - new java.lang.String[] { "Type", "Unit", "Amount", "Range", "Description", "ExpectedUnitsPerYear", "CompensationAmount", }); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor = - internal_static_google_cloud_talent_v4beta1_CompensationInfo_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationInfo_CompensationRange_descriptor, - new java.lang.String[] { "MaxCompensation", "MinCompensation", }); - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchOperationMetadata_descriptor, - new java.lang.String[] { "State", "StateDescription", "SuccessCount", "FailureCount", "TotalCount", "CreateTime", "UpdateTime", "EndTime", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - com.google.type.MoneyProto.getDescriptor(); - com.google.type.PostalAddressProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java deleted file mode 100644 index f97ecddad09d..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyResourceProto.java +++ /dev/null @@ -1,92 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/company.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompanyResourceProto { - private CompanyResourceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Company_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/talent/v4beta1/company.pr" + - "oto\022\033google.cloud.talent.v4beta1\032\037google" + - "/api/field_behavior.proto\032\031google/api/re" + - "source.proto\032(google/cloud/talent/v4beta" + - "1/common.proto\"\200\005\n\007Company\022\014\n\004name\030\001 \001(\t" + - "\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\030\n\013external_" + - "id\030\003 \001(\tB\003\340A\002\0226\n\004size\030\004 \001(\0162(.google.clo" + - "ud.talent.v4beta1.CompanySize\022\034\n\024headqua" + - "rters_address\030\005 \001(\t\022\025\n\rhiring_agency\030\006 \001" + - "(\010\022\020\n\010eeo_text\030\007 \001(\t\022\023\n\013website_uri\030\010 \001(" + - "\t\022\027\n\017career_site_uri\030\t \001(\t\022\021\n\timage_uri\030" + - "\n \001(\t\0224\n(keyword_searchable_job_custom_a" + - "ttributes\030\013 \003(\tB\002\030\001\022K\n\014derived_info\030\014 \001(" + - "\01320.google.cloud.talent.v4beta1.Company." + - "DerivedInfoB\003\340A\003\022\026\n\tsuspended\030\r \001(\010B\003\340A\003" + - "\032S\n\013DerivedInfo\022D\n\025headquarters_location" + - "\030\001 \001(\0132%.google.cloud.talent.v4beta1.Loc" + - "ation:\201\001\352A~\n\033jobs.googleapis.com/Company" + - "\0227projects/{project}/tenants/{tenant}/co" + - "mpanies/{company}\022&projects/{project}/co" + - "mpanies/{company}B\202\001\n\037com.google.cloud.t" + - "alent.v4beta1B\024CompanyResourceProtoP\001ZAg" + - "oogle.golang.org/genproto/googleapis/clo" + - "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Company_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Company_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Company_descriptor, - new java.lang.String[] { "Name", "DisplayName", "ExternalId", "Size", "HeadquartersAddress", "HiringAgency", "EeoText", "WebsiteUri", "CareerSiteUri", "ImageUri", "KeywordSearchableJobCustomAttributes", "DerivedInfo", "Suspended", }); - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Company_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Company_DerivedInfo_descriptor, - new java.lang.String[] { "HeadquartersLocation", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java deleted file mode 100644 index 85748caf2c0f..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompanyServiceProto.java +++ /dev/null @@ -1,188 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/company_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompanyServiceProto { - private CompanyServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/talent/v4beta1/company_se" + - "rvice.proto\022\033google.cloud.talent.v4beta1" + - "\032\034google/api/annotations.proto\032\027google/a" + - "pi/client.proto\032\037google/api/field_behavi" + - "or.proto\032\031google/api/resource.proto\032(goo" + - "gle/cloud/talent/v4beta1/common.proto\032)g" + - "oogle/cloud/talent/v4beta1/company.proto" + - "\032\033google/protobuf/empty.proto\032 google/pr" + - "otobuf/field_mask.proto\"\207\001\n\024CreateCompan" + - "yRequest\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\022\033jobs.g" + - "oogleapis.com/Company\022:\n\007company\030\002 \001(\0132$" + - ".google.cloud.talent.v4beta1.CompanyB\003\340A" + - "\002\"F\n\021GetCompanyRequest\0221\n\004name\030\001 \001(\tB#\340A" + - "\002\372A\035\n\033jobs.googleapis.com/Company\"\203\001\n\024Up" + - "dateCompanyRequest\022:\n\007company\030\001 \001(\0132$.go" + - "ogle.cloud.talent.v4beta1.CompanyB\003\340A\002\022/" + - "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + - "eldMask\"I\n\024DeleteCompanyRequest\0221\n\004name\030" + - "\001 \001(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Compa" + - "ny\"\215\001\n\024ListCompaniesRequest\0223\n\006parent\030\001 " + - "\001(\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company" + - "\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022" + - "\031\n\021require_open_jobs\030\004 \001(\010\"\252\001\n\025ListCompa" + - "niesResponse\0227\n\tcompanies\030\001 \003(\0132$.google" + - ".cloud.talent.v4beta1.Company\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\022?\n\010metadata\030\003 \001(\0132-.googl" + - "e.cloud.talent.v4beta1.ResponseMetadata2" + - "\322\t\n\016CompanyService\022\343\001\n\rCreateCompany\0221.g" + - "oogle.cloud.talent.v4beta1.CreateCompany" + - "Request\032$.google.cloud.talent.v4beta1.Co" + - "mpany\"y\202\323\344\223\002b\"0/v4beta1/{parent=projects" + - "/*/tenants/*}/companies:\001*Z+\"&/v4beta1/{" + - "parent=projects/*}/companies:\001*\332A\016parent" + - ",company\022\315\001\n\nGetCompany\022..google.cloud.t" + - "alent.v4beta1.GetCompanyRequest\032$.google" + - ".cloud.talent.v4beta1.Company\"i\202\323\344\223\002\\\0220/" + - "v4beta1/{name=projects/*/tenants/*/compa" + - "nies/*}Z(\022&/v4beta1/{name=projects/*/com" + - "panies/*}\332A\004name\022\355\001\n\rUpdateCompany\0221.goo" + - "gle.cloud.talent.v4beta1.UpdateCompanyRe" + - "quest\032$.google.cloud.talent.v4beta1.Comp" + - "any\"\202\001\202\323\344\223\002r28/v4beta1/{company.name=pro" + - "jects/*/tenants/*/companies/*}:\001*Z32./v4" + - "beta1/{company.name=projects/*/companies" + - "/*}:\001*\332A\007company\022\305\001\n\rDeleteCompany\0221.goo" + - "gle.cloud.talent.v4beta1.DeleteCompanyRe" + - "quest\032\026.google.protobuf.Empty\"i\202\323\344\223\002\\*0/" + - "v4beta1/{name=projects/*/tenants/*/compa" + - "nies/*}Z(*&/v4beta1/{name=projects/*/com" + - "panies/*}\332A\004name\022\343\001\n\rListCompanies\0221.goo" + - "gle.cloud.talent.v4beta1.ListCompaniesRe" + - "quest\0322.google.cloud.talent.v4beta1.List" + - "CompaniesResponse\"k\202\323\344\223\002\\\0220/v4beta1/{par" + - "ent=projects/*/tenants/*}/companiesZ(\022&/" + - "v4beta1/{parent=projects/*}/companies\332A\006" + - "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + - "/www.googleapis.com/auth/cloud-platform," + - "https://www.googleapis.com/auth/jobsB\201\001\n" + - "\037com.google.cloud.talent.v4beta1B\023Compan" + - "yServiceProtoP\001ZAgoogle.golang.org/genpr" + - "oto/googleapis/cloud/talent/v4beta1;tale" + - "nt\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateCompanyRequest_descriptor, - new java.lang.String[] { "Parent", "Company", }); - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetCompanyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateCompanyRequest_descriptor, - new java.lang.String[] { "Company", "UpdateMask", }); - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteCompanyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListCompaniesRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", "RequireOpenJobs", }); - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListCompaniesResponse_descriptor, - new java.lang.String[] { "Companies", "NextPageToken", "Metadata", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CompanyResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java deleted file mode 100644 index aac3780db1aa..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CompletionServiceProto.java +++ /dev/null @@ -1,126 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/completion_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class CompletionServiceProto { - private CompletionServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/talent/v4beta1/completion" + - "_service.proto\022\033google.cloud.talent.v4be" + - "ta1\032\034google/api/annotations.proto\032\027googl" + - "e/api/client.proto\032\037google/api/field_beh" + - "avior.proto\032\031google/api/resource.proto\032(" + - "google/cloud/talent/v4beta1/common.proto" + - "\"\223\004\n\024CompleteQueryRequest\0223\n\006parent\030\001 \001(" + - "\tB#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022\022" + - "\n\005query\030\002 \001(\tB\003\340A\002\022\026\n\016language_codes\030\003 \003" + - "(\t\022\026\n\tpage_size\030\004 \001(\005B\003\340A\002\0221\n\007company\030\005 " + - "\001(\tB \372A\035\n\033jobs.googleapis.com/Company\022P\n" + - "\005scope\030\006 \001(\0162A.google.cloud.talent.v4bet" + - "a1.CompleteQueryRequest.CompletionScope\022" + - "N\n\004type\030\007 \001(\0162@.google.cloud.talent.v4be" + - "ta1.CompleteQueryRequest.CompletionType\"" + - "K\n\017CompletionScope\022 \n\034COMPLETION_SCOPE_U" + - "NSPECIFIED\020\000\022\n\n\006TENANT\020\001\022\n\n\006PUBLIC\020\002\"`\n\016" + - "CompletionType\022\037\n\033COMPLETION_TYPE_UNSPEC" + - "IFIED\020\000\022\r\n\tJOB_TITLE\020\001\022\020\n\014COMPANY_NAME\020\002" + - "\022\014\n\010COMBINED\020\003\"\305\002\n\025CompleteQueryResponse" + - "\022_\n\022completion_results\030\001 \003(\0132C.google.cl" + - "oud.talent.v4beta1.CompleteQueryResponse" + - ".CompletionResult\022?\n\010metadata\030\002 \001(\0132-.go" + - "ogle.cloud.talent.v4beta1.ResponseMetada" + - "ta\032\211\001\n\020CompletionResult\022\022\n\nsuggestion\030\001 " + - "\001(\t\022N\n\004type\030\002 \001(\0162@.google.cloud.talent." + - "v4beta1.CompleteQueryRequest.CompletionT" + - "ype\022\021\n\timage_uri\030\003 \001(\t2\325\002\n\nCompletion\022\330\001" + - "\n\rCompleteQuery\0221.google.cloud.talent.v4" + - "beta1.CompleteQueryRequest\0322.google.clou" + - "d.talent.v4beta1.CompleteQueryResponse\"`" + - "\202\323\344\223\002Z\022//v4beta1/{parent=projects/*/tena" + - "nts/*}:completeZ\'\022%/v4beta1/{parent=proj" + - "ects/*}:complete\032l\312A\023jobs.googleapis.com" + - "\322AShttps://www.googleapis.com/auth/cloud" + - "-platform,https://www.googleapis.com/aut" + - "h/jobsB\204\001\n\037com.google.cloud.talent.v4bet" + - "a1B\026CompletionServiceProtoP\001ZAgoogle.gol" + - "ang.org/genproto/googleapis/cloud/talent" + - "/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryRequest_descriptor, - new java.lang.String[] { "Parent", "Query", "LanguageCodes", "PageSize", "Company", "Scope", "Type", }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor, - new java.lang.String[] { "CompletionResults", "Metadata", }); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor = - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompleteQueryResponse_CompletionResult_descriptor, - new java.lang.String[] { "Suggestion", "Type", "ImageUri", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java deleted file mode 100644 index 7b3ca2a3b5a6..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/DeleteTenantRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface DeleteTenantRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.DeleteTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the tenant to be deleted.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java deleted file mode 100644 index 909b5676cb97..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventProto.java +++ /dev/null @@ -1,90 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/event.proto - -package com.google.cloud.talent.v4beta1; - -public final class EventProto { - private EventProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\'google/cloud/talent/v4beta1/event.prot" + - "o\022\033google.cloud.talent.v4beta1\032\037google/a" + - "pi/field_behavior.proto\032\037google/protobuf" + - "/timestamp.proto\"\310\001\n\013ClientEvent\022\022\n\nrequ" + - "est_id\030\001 \001(\t\022\025\n\010event_id\030\002 \001(\tB\003\340A\002\0224\n\013c" + - "reate_time\030\004 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\002\022:\n\tjob_event\030\005 \001(\0132%.google.cl" + - "oud.talent.v4beta1.JobEventH\000\022\023\n\013event_n" + - "otes\030\t \001(\tB\007\n\005event\"\366\003\n\010JobEvent\022E\n\004type" + - "\030\001 \001(\01622.google.cloud.talent.v4beta1.Job" + - "Event.JobEventTypeB\003\340A\002\022\021\n\004jobs\030\002 \003(\tB\003\340" + - "A\002\022\017\n\007profile\030\003 \001(\t\"\376\002\n\014JobEventType\022\036\n\032" + - "JOB_EVENT_TYPE_UNSPECIFIED\020\000\022\016\n\nIMPRESSI" + - "ON\020\001\022\010\n\004VIEW\020\002\022\021\n\rVIEW_REDIRECT\020\003\022\025\n\021APP" + - "LICATION_START\020\004\022\026\n\022APPLICATION_FINISH\020\005" + - "\022 \n\034APPLICATION_QUICK_SUBMISSION\020\006\022\030\n\024AP" + - "PLICATION_REDIRECT\020\007\022!\n\035APPLICATION_STAR" + - "T_FROM_SEARCH\020\010\022$\n APPLICATION_REDIRECT_" + - "FROM_SEARCH\020\t\022\036\n\032APPLICATION_COMPANY_SUB" + - "MIT\020\n\022\014\n\010BOOKMARK\020\013\022\020\n\014NOTIFICATION\020\014\022\t\n" + - "\005HIRED\020\r\022\013\n\007SENT_CV\020\016\022\025\n\021INTERVIEW_GRANT" + - "ED\020\017Bx\n\037com.google.cloud.talent.v4beta1B" + - "\nEventProtoP\001ZAgoogle.golang.org/genprot" + - "o/googleapis/cloud/talent/v4beta1;talent" + - "\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_ClientEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ClientEvent_descriptor, - new java.lang.String[] { "RequestId", "EventId", "CreateTime", "JobEvent", "EventNotes", "Event", }); - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_JobEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobEvent_descriptor, - new java.lang.String[] { "Type", "Jobs", "Profile", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java deleted file mode 100644 index f03ff6b2311a..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/EventServiceProto.java +++ /dev/null @@ -1,88 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/event_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class EventServiceProto { - private EventServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/talent/v4beta1/event_serv" + - "ice.proto\022\033google.cloud.talent.v4beta1\032\034" + - "google/api/annotations.proto\032\027google/api" + - "/client.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\'googl" + - "e/cloud/talent/v4beta1/event.proto\"\224\001\n\030C" + - "reateClientEventRequest\0223\n\006parent\030\001 \001(\tB" + - "#\340A\002\372A\035\022\033jobs.googleapis.com/Company\022C\n\014" + - "client_event\030\002 \001(\0132(.google.cloud.talent" + - ".v4beta1.ClientEventB\003\340A\0022\372\002\n\014EventServi" + - "ce\022\373\001\n\021CreateClientEvent\0225.google.cloud." + - "talent.v4beta1.CreateClientEventRequest\032" + - "(.google.cloud.talent.v4beta1.ClientEven" + - "t\"\204\001\202\323\344\223\002h\"3/v4beta1/{parent=projects/*/" + - "tenants/*}/clientEvents:\001*Z.\")/v4beta1/{" + - "parent=projects/*}/clientEvents:\001*\332A\023par" + - "ent,client_event\032l\312A\023jobs.googleapis.com" + - "\322AShttps://www.googleapis.com/auth/cloud" + - "-platform,https://www.googleapis.com/aut" + - "h/jobsB\177\n\037com.google.cloud.talent.v4beta" + - "1B\021EventServiceProtoP\001ZAgoogle.golang.or" + - "g/genproto/googleapis/cloud/talent/v4bet" + - "a1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.EventProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateClientEventRequest_descriptor, - new java.lang.String[] { "Parent", "ClientEvent", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.EventProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java deleted file mode 100644 index 4b39f1746b4f..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/FiltersProto.java +++ /dev/null @@ -1,152 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/filters.proto - -package com.google.cloud.talent.v4beta1; - -public final class FiltersProto { - private FiltersProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/cloud/talent/v4beta1/filters.pr" + - "oto\022\033google.cloud.talent.v4beta1\032\037google" + - "/api/field_behavior.proto\032(google/cloud/" + - "talent/v4beta1/common.proto\032\036google/prot" + - "obuf/duration.proto\032\030google/type/latlng." + - "proto\032\033google/type/timeofday.proto\"\200\005\n\010J" + - "obQuery\022\r\n\005query\030\001 \001(\t\022\033\n\023query_language" + - "_code\030\016 \001(\t\022\021\n\tcompanies\030\002 \003(\t\022E\n\020locati" + - "on_filters\030\003 \003(\0132+.google.cloud.talent.v" + - "4beta1.LocationFilter\022@\n\016job_categories\030" + - "\004 \003(\0162(.google.cloud.talent.v4beta1.JobC" + - "ategory\022B\n\016commute_filter\030\005 \001(\0132*.google" + - ".cloud.talent.v4beta1.CommuteFilter\022\035\n\025c" + - "ompany_display_names\030\006 \003(\t\022L\n\023compensati" + - "on_filter\030\007 \001(\0132/.google.cloud.talent.v4" + - "beta1.CompensationFilter\022\037\n\027custom_attri" + - "bute_filter\030\010 \001(\t\022\033\n\023disable_spell_check" + - "\030\t \001(\010\022E\n\020employment_types\030\n \003(\0162+.googl" + - "e.cloud.talent.v4beta1.EmploymentType\022\026\n" + - "\016language_codes\030\013 \003(\t\022G\n\022publish_time_ra" + - "nge\030\014 \001(\0132+.google.cloud.talent.v4beta1." + - "TimestampRange\022\025\n\rexcluded_jobs\030\r \003(\t\"\203\003" + - "\n\016LocationFilter\022\017\n\007address\030\001 \001(\t\022\023\n\013reg" + - "ion_code\030\002 \001(\t\022$\n\007lat_lng\030\003 \001(\0132\023.google" + - ".type.LatLng\022\031\n\021distance_in_miles\030\004 \001(\001\022" + - "a\n\026telecommute_preference\030\005 \001(\0162A.google" + - ".cloud.talent.v4beta1.LocationFilter.Tel" + - "ecommutePreference\022\017\n\007negated\030\006 \001(\010\"\225\001\n\025" + - "TelecommutePreference\022&\n\"TELECOMMUTE_PRE" + - "FERENCE_UNSPECIFIED\020\000\022\034\n\024TELECOMMUTE_EXC" + - "LUDED\020\001\032\002\010\001\022\027\n\023TELECOMMUTE_ALLOWED\020\002\022\035\n\031" + - "TELECOMMUTE_JOBS_EXCLUDED\020\003\"\312\003\n\022Compensa" + - "tionFilter\022M\n\004type\030\001 \001(\0162:.google.cloud." + - "talent.v4beta1.CompensationFilter.Filter" + - "TypeB\003\340A\002\022R\n\005units\030\002 \003(\0162>.google.cloud." + - "talent.v4beta1.CompensationInfo.Compensa" + - "tionUnitB\003\340A\002\022N\n\005range\030\003 \001(\0132?.google.cl" + - "oud.talent.v4beta1.CompensationInfo.Comp" + - "ensationRange\0228\n0include_jobs_with_unspe" + - "cified_compensation_range\030\004 \001(\010\"\206\001\n\nFilt" + - "erType\022\033\n\027FILTER_TYPE_UNSPECIFIED\020\000\022\r\n\tU" + - "NIT_ONLY\020\001\022\023\n\017UNIT_AND_AMOUNT\020\002\022\032\n\026ANNUA" + - "LIZED_BASE_AMOUNT\020\003\022\033\n\027ANNUALIZED_TOTAL_" + - "AMOUNT\020\004\"\313\003\n\rCommuteFilter\022G\n\016commute_me" + - "thod\030\001 \001(\0162*.google.cloud.talent.v4beta1" + - ".CommuteMethodB\003\340A\002\0223\n\021start_coordinates" + - "\030\002 \001(\0132\023.google.type.LatLngB\003\340A\002\0227\n\017trav" + - "el_duration\030\003 \001(\0132\031.google.protobuf.Dura" + - "tionB\003\340A\002\022!\n\031allow_imprecise_addresses\030\004" + - " \001(\010\022N\n\014road_traffic\030\005 \001(\01626.google.clou" + - "d.talent.v4beta1.CommuteFilter.RoadTraff" + - "icH\000\0220\n\016departure_time\030\006 \001(\0132\026.google.ty" + - "pe.TimeOfDayH\000\"L\n\013RoadTraffic\022\034\n\030ROAD_TR" + - "AFFIC_UNSPECIFIED\020\000\022\020\n\014TRAFFIC_FREE\020\001\022\r\n" + - "\tBUSY_HOUR\020\002B\020\n\016traffic_optionBz\n\037com.go" + - "ogle.cloud.talent.v4beta1B\014FiltersProtoP" + - "\001ZAgoogle.golang.org/genproto/googleapis" + - "/cloud/talent/v4beta1;talent\242\002\003CTSb\006prot" + - "o3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.type.LatLngProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_JobQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobQuery_descriptor, - new java.lang.String[] { "Query", "QueryLanguageCode", "Companies", "LocationFilters", "JobCategories", "CommuteFilter", "CompanyDisplayNames", "CompensationFilter", "CustomAttributeFilter", "DisableSpellCheck", "EmploymentTypes", "LanguageCodes", "PublishTimeRange", "ExcludedJobs", }); - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_LocationFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_LocationFilter_descriptor, - new java.lang.String[] { "Address", "RegionCode", "LatLng", "DistanceInMiles", "TelecommutePreference", "Negated", }); - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_CompensationFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CompensationFilter_descriptor, - new java.lang.String[] { "Type", "Units", "Range", "IncludeJobsWithUnspecifiedCompensationRange", }); - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_CommuteFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CommuteFilter_descriptor, - new java.lang.String[] { "CommuteMethod", "StartCoordinates", "TravelDuration", "AllowImpreciseAddresses", "RoadTraffic", "DepartureTime", "TrafficOption", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.type.LatLngProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java deleted file mode 100644 index 7b3679d4f337..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/GetTenantRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public interface GetTenantRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4beta1.GetTenantRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the tenant to be retrieved.
-   * The format is "projects/{project_id}/tenants/{tenant_id}", for example,
-   * "projects/foo/tenants/bar".
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java deleted file mode 100644 index 35920efb47f7..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/HistogramProto.java +++ /dev/null @@ -1,78 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/histogram.proto - -package com.google.cloud.talent.v4beta1; - -public final class HistogramProto { - private HistogramProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/talent/v4beta1/histogram." + - "proto\022\033google.cloud.talent.v4beta1\")\n\016Hi" + - "stogramQuery\022\027\n\017histogram_query\030\001 \001(\t\"\266\001" + - "\n\024HistogramQueryResult\022\027\n\017histogram_quer" + - "y\030\001 \001(\t\022S\n\thistogram\030\002 \003(\0132@.google.clou" + - "d.talent.v4beta1.HistogramQueryResult.Hi" + - "stogramEntry\0320\n\016HistogramEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\003:\0028\001B|\n\037com.google.clo" + - "ud.talent.v4beta1B\016HistogramProtoP\001ZAgoo" + - "gle.golang.org/genproto/googleapis/cloud" + - "/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_HistogramQuery_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQuery_descriptor, - new java.lang.String[] { "HistogramQuery", }); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor, - new java.lang.String[] { "HistogramQuery", "Histogram", }); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_HistogramQueryResult_HistogramEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java deleted file mode 100644 index 43c4ce658cf7..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobResourceProto.java +++ /dev/null @@ -1,163 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job.proto - -package com.google.cloud.talent.v4beta1; - -public final class JobResourceProto { - private JobResourceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n%google/cloud/talent/v4beta1/job.proto\022" + - "\033google.cloud.talent.v4beta1\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032(google/cloud/talent/v4beta1/co" + - "mmon.proto\032\037google/protobuf/timestamp.pr" + - "oto\"\340\017\n\003Job\022\014\n\004name\030\001 \001(\t\0224\n\007company\030\002 \001" + - "(\tB#\340A\002\372A\035\n\033jobs.googleapis.com/Company\022" + - "\033\n\016requisition_id\030\003 \001(\tB\003\340A\002\022\022\n\005title\030\004 " + - "\001(\tB\003\340A\002\022\030\n\013description\030\005 \001(\tB\003\340A\002\022\021\n\tad" + - "dresses\030\006 \003(\t\022J\n\020application_info\030\007 \001(\0132" + - "0.google.cloud.talent.v4beta1.Job.Applic" + - "ationInfo\022=\n\014job_benefits\030\010 \003(\0162\'.google" + - ".cloud.talent.v4beta1.JobBenefit\022H\n\021comp" + - "ensation_info\030\t \001(\0132-.google.cloud.talen" + - "t.v4beta1.CompensationInfo\022Q\n\021custom_att" + - "ributes\030\n \003(\01326.google.cloud.talent.v4be" + - "ta1.Job.CustomAttributesEntry\022=\n\014degree_" + - "types\030\013 \003(\0162\'.google.cloud.talent.v4beta" + - "1.DegreeType\022\022\n\ndepartment\030\014 \001(\t\022E\n\020empl" + - "oyment_types\030\r \003(\0162+.google.cloud.talent" + - ".v4beta1.EmploymentType\022\022\n\nincentives\030\016 " + - "\001(\t\022\025\n\rlanguage_code\030\017 \001(\t\0228\n\tjob_level\030" + - "\020 \001(\0162%.google.cloud.talent.v4beta1.JobL" + - "evel\022\027\n\017promotion_value\030\021 \001(\005\022\026\n\016qualifi" + - "cations\030\022 \001(\t\022\030\n\020responsibilities\030\023 \001(\t\022" + - "B\n\016posting_region\030\024 \001(\0162*.google.cloud.t" + - "alent.v4beta1.PostingRegion\022?\n\nvisibilit" + - "y\030\025 \001(\0162\'.google.cloud.talent.v4beta1.Vi" + - "sibilityB\002\030\001\0222\n\016job_start_time\030\026 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\0220\n\014job_end_time" + - "\030\027 \001(\0132\032.google.protobuf.Timestamp\0228\n\024po" + - "sting_publish_time\030\030 \001(\0132\032.google.protob" + - "uf.Timestamp\0227\n\023posting_expire_time\030\031 \001(" + - "\0132\032.google.protobuf.Timestamp\022<\n\023posting" + - "_create_time\030\032 \001(\0132\032.google.protobuf.Tim" + - "estampB\003\340A\003\022<\n\023posting_update_time\030\033 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\022!\n\024com" + - "pany_display_name\030\034 \001(\tB\003\340A\003\022G\n\014derived_" + - "info\030\035 \001(\0132,.google.cloud.talent.v4beta1" + - ".Job.DerivedInfoB\003\340A\003\022N\n\022processing_opti" + - "ons\030\036 \001(\01322.google.cloud.talent.v4beta1." + - "Job.ProcessingOptions\032D\n\017ApplicationInfo" + - "\022\016\n\006emails\030\001 \003(\t\022\023\n\013instruction\030\002 \001(\t\022\014\n" + - "\004uris\030\003 \003(\t\032\211\001\n\013DerivedInfo\0228\n\tlocations" + - "\030\001 \003(\0132%.google.cloud.talent.v4beta1.Loc" + - "ation\022@\n\016job_categories\030\003 \003(\0162(.google.c" + - "loud.talent.v4beta1.JobCategory\032\210\001\n\021Proc" + - "essingOptions\022)\n!disable_street_address_" + - "resolution\030\001 \001(\010\022H\n\021html_sanitization\030\002 " + - "\001(\0162-.google.cloud.talent.v4beta1.HtmlSa" + - "nitization\032e\n\025CustomAttributesEntry\022\013\n\003k" + - "ey\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud.t" + - "alent.v4beta1.CustomAttribute:\0028\001:k\352Ah\n\027" + - "jobs.googleapis.com/Job\022.projects/{proje" + - "ct}/tenants/{tenant}/jobs/{job}\022\035project" + - "s/{project}/jobs/{job}B~\n\037com.google.clo" + - "ud.talent.v4beta1B\020JobResourceProtoP\001ZAg" + - "oogle.golang.org/genproto/googleapis/clo" + - "ud/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Job_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Job_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_descriptor, - new java.lang.String[] { "Name", "Company", "RequisitionId", "Title", "Description", "Addresses", "ApplicationInfo", "JobBenefits", "CompensationInfo", "CustomAttributes", "DegreeTypes", "Department", "EmploymentTypes", "Incentives", "LanguageCode", "JobLevel", "PromotionValue", "Qualifications", "Responsibilities", "PostingRegion", "Visibility", "JobStartTime", "JobEndTime", "PostingPublishTime", "PostingExpireTime", "PostingCreateTime", "PostingUpdateTime", "CompanyDisplayName", "DerivedInfo", "ProcessingOptions", }); - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_ApplicationInfo_descriptor, - new java.lang.String[] { "Emails", "Instruction", "Uris", }); - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_DerivedInfo_descriptor, - new java.lang.String[] { "Locations", "JobCategories", }); - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_ProcessingOptions_descriptor, - new java.lang.String[] { "DisableStreetAddressResolution", "HtmlSanitization", }); - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor = - internal_static_google_cloud_talent_v4beta1_Job_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Job_CustomAttributesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java deleted file mode 100644 index 18b9f1759c33..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobServiceProto.java +++ /dev/null @@ -1,418 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/job_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class JobServiceProto { - private JobServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/talent/v4beta1/job_servic" + - "e.proto\022\033google.cloud.talent.v4beta1\032\034go" + - "ogle/api/annotations.proto\032\027google/api/c" + - "lient.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032(google/" + - "cloud/talent/v4beta1/common.proto\032)googl" + - "e/cloud/talent/v4beta1/filters.proto\032+go" + - "ogle/cloud/talent/v4beta1/histogram.prot" + - "o\032%google/cloud/talent/v4beta1/job.proto" + - "\032#google/longrunning/operations.proto\032\036g" + - "oogle/protobuf/duration.proto\032\033google/pr" + - "otobuf/empty.proto\032 google/protobuf/fiel" + - "d_mask.proto\032\027google/rpc/status.proto\"w\n" + - "\020CreateJobRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A" + - "\031\022\027jobs.googleapis.com/Job\0222\n\003job\030\002 \001(\0132" + - " .google.cloud.talent.v4beta1.JobB\003\340A\002\">" + - "\n\rGetJobRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027j" + - "obs.googleapis.com/Job\"w\n\020UpdateJobReque" + - "st\0222\n\003job\030\001 \001(\0132 .google.cloud.talent.v4" + - "beta1.JobB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.go" + - "ogle.protobuf.FieldMask\"A\n\020DeleteJobRequ" + - "est\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027jobs.googleap" + - "is.com/Job\"^\n\026BatchDeleteJobsRequest\022/\n\006" + - "parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.co" + - "m/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\"\266\001\n\017ListJobsR" + - "equest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.goo" + - "gleapis.com/Job\022\023\n\006filter\030\002 \001(\tB\003\340A\002\022\022\n\n" + - "page_token\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\0226\n\010j" + - "ob_view\030\005 \001(\0162$.google.cloud.talent.v4be" + - "ta1.JobView\"\234\001\n\020ListJobsResponse\022.\n\004jobs" + - "\030\001 \003(\0132 .google.cloud.talent.v4beta1.Job" + - "\022\027\n\017next_page_token\030\002 \001(\t\022?\n\010metadata\030\003 " + - "\001(\0132-.google.cloud.talent.v4beta1.Respon" + - "seMetadata\"\273\013\n\021SearchJobsRequest\022/\n\006pare" + - "nt\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googleapis.com/Jo" + - "b\022N\n\013search_mode\030\002 \001(\01629.google.cloud.ta" + - "lent.v4beta1.SearchJobsRequest.SearchMod" + - "e\022K\n\020request_metadata\030\003 \001(\0132,.google.clo" + - "ud.talent.v4beta1.RequestMetadataB\003\340A\002\0228" + - "\n\tjob_query\030\004 \001(\0132%.google.cloud.talent." + - "v4beta1.JobQuery\022\031\n\021enable_broadening\030\005 " + - "\001(\010\022\'\n\033require_precise_result_size\030\006 \001(\010" + - "B\002\030\001\022F\n\021histogram_queries\030\007 \003(\0132+.google" + - ".cloud.talent.v4beta1.HistogramQuery\0226\n\010" + - "job_view\030\010 \001(\0162$.google.cloud.talent.v4b" + - "eta1.JobView\022\016\n\006offset\030\t \001(\005\022\021\n\tpage_siz" + - "e\030\n \001(\005\022\022\n\npage_token\030\013 \001(\t\022\020\n\010order_by\030" + - "\014 \001(\t\022b\n\025diversification_level\030\r \001(\0162C.g" + - "oogle.cloud.talent.v4beta1.SearchJobsReq" + - "uest.DiversificationLevel\022]\n\023custom_rank" + - "ing_info\030\016 \001(\0132@.google.cloud.talent.v4b" + - "eta1.SearchJobsRequest.CustomRankingInfo" + - "\022\035\n\025disable_keyword_match\030\020 \001(\010\022[\n\022keywo" + - "rd_match_mode\030\022 \001(\0162?.google.cloud.talen" + - "t.v4beta1.SearchJobsRequest.KeywordMatch" + - "Mode\032\232\002\n\021CustomRankingInfo\022o\n\020importance" + - "_level\030\001 \001(\0162P.google.cloud.talent.v4bet" + - "a1.SearchJobsRequest.CustomRankingInfo.I" + - "mportanceLevelB\003\340A\002\022\037\n\022ranking_expressio" + - "n\030\002 \001(\tB\003\340A\002\"s\n\017ImportanceLevel\022 \n\034IMPOR" + - "TANCE_LEVEL_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\007\n\003L" + - "OW\020\002\022\010\n\004MILD\020\003\022\n\n\006MEDIUM\020\004\022\010\n\004HIGH\020\005\022\013\n\007" + - "EXTREME\020\006\"R\n\nSearchMode\022\033\n\027SEARCH_MODE_U" + - "NSPECIFIED\020\000\022\016\n\nJOB_SEARCH\020\001\022\027\n\023FEATURED" + - "_JOB_SEARCH\020\002\"W\n\024DiversificationLevel\022%\n" + - "!DIVERSIFICATION_LEVEL_UNSPECIFIED\020\000\022\014\n\010" + - "DISABLED\020\001\022\n\n\006SIMPLE\020\002\"\207\001\n\020KeywordMatchM" + - "ode\022\"\n\036KEYWORD_MATCH_MODE_UNSPECIFIED\020\000\022" + - "\032\n\026KEYWORD_MATCH_DISABLED\020\001\022\025\n\021KEYWORD_M" + - "ATCH_ALL\020\002\022\034\n\030KEYWORD_MATCH_TITLE_ONLY\020\003" + - "\"\327\006\n\022SearchJobsResponse\022R\n\rmatching_jobs" + - "\030\001 \003(\0132;.google.cloud.talent.v4beta1.Sea" + - "rchJobsResponse.MatchingJob\022R\n\027histogram" + - "_query_results\030\002 \003(\01321.google.cloud.tale" + - "nt.v4beta1.HistogramQueryResult\022\027\n\017next_" + - "page_token\030\003 \001(\t\022?\n\020location_filters\030\004 \003" + - "(\0132%.google.cloud.talent.v4beta1.Locatio" + - "n\022\034\n\024estimated_total_size\030\005 \001(\005\022\022\n\ntotal" + - "_size\030\006 \001(\005\022?\n\010metadata\030\007 \001(\0132-.google.c" + - "loud.talent.v4beta1.ResponseMetadata\022\"\n\032" + - "broadened_query_jobs_count\030\010 \001(\005\022I\n\020spel" + - "l_correction\030\t \001(\0132/.google.cloud.talent" + - ".v4beta1.SpellingCorrection\032\334\001\n\013Matching" + - "Job\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v" + - "4beta1.Job\022\023\n\013job_summary\030\002 \001(\t\022\031\n\021job_t" + - "itle_snippet\030\003 \001(\t\022\033\n\023search_text_snippe" + - "t\030\004 \001(\t\022Q\n\014commute_info\030\005 \001(\0132;.google.c" + - "loud.talent.v4beta1.SearchJobsResponse.C" + - "ommuteInfo\032~\n\013CommuteInfo\022;\n\014job_locatio" + - "n\030\001 \001(\0132%.google.cloud.talent.v4beta1.Lo" + - "cation\0222\n\017travel_duration\030\002 \001(\0132\031.google" + - ".protobuf.Duration\"~\n\026BatchCreateJobsReq" + - "uest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027jobs.googl" + - "eapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .google.clo" + - "ud.talent.v4beta1.JobB\003\340A\002\"\257\001\n\026BatchUpda" + - "teJobsRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027j" + - "obs.googleapis.com/Job\0223\n\004jobs\030\002 \003(\0132 .g" + - "oogle.cloud.talent.v4beta1.JobB\003\340A\002\022/\n\013u" + - "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + - "Mask\"\304\001\n\022JobOperationResult\022N\n\013job_resul" + - "ts\030\001 \003(\01329.google.cloud.talent.v4beta1.J" + - "obOperationResult.JobResult\032^\n\tJobResult" + - "\022-\n\003job\030\001 \001(\0132 .google.cloud.talent.v4be" + - "ta1.Job\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Sta" + - "tus*v\n\007JobView\022\030\n\024JOB_VIEW_UNSPECIFIED\020\000" + - "\022\024\n\020JOB_VIEW_ID_ONLY\020\001\022\024\n\020JOB_VIEW_MINIM" + - "AL\020\002\022\022\n\016JOB_VIEW_SMALL\020\003\022\021\n\rJOB_VIEW_FUL" + - "L\020\0042\316\022\n\nJobService\022\311\001\n\tCreateJob\022-.googl" + - "e.cloud.talent.v4beta1.CreateJobRequest\032" + - " .google.cloud.talent.v4beta1.Job\"k\202\323\344\223\002" + - "X\"+/v4beta1/{parent=projects/*/tenants/*" + - "}/jobs:\001*Z&\"!/v4beta1/{parent=projects/*" + - "}/jobs:\001*\332A\nparent,job\022\233\002\n\017BatchCreateJo" + - "bs\0223.google.cloud.talent.v4beta1.BatchCr" + - "eateJobsRequest\032\035.google.longrunning.Ope" + - "ration\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projec" + - "ts/*/tenants/*}/jobs:batchCreate:\001*Z2\"-/" + - "v4beta1/{parent=projects/*}/jobs:batchCr" + - "eate:\001*\332A\013parent,jobs\312A,\n\022JobOperationRe" + - "sult\022\026BatchOperationMetadata\022\267\001\n\006GetJob\022" + - "*.google.cloud.talent.v4beta1.GetJobRequ" + - "est\032 .google.cloud.talent.v4beta1.Job\"_\202" + - "\323\344\223\002R\022+/v4beta1/{name=projects/*/tenants" + - "/*/jobs/*}Z#\022!/v4beta1/{name=projects/*/" + - "jobs/*}\332A\004name\022\312\001\n\tUpdateJob\022-.google.cl" + - "oud.talent.v4beta1.UpdateJobRequest\032 .go" + - "ogle.cloud.talent.v4beta1.Job\"l\202\323\344\223\002`2//" + - "v4beta1/{job.name=projects/*/tenants/*/j" + - "obs/*}:\001*Z*2%/v4beta1/{job.name=projects" + - "/*/jobs/*}:\001*\332A\003job\022\233\002\n\017BatchUpdateJobs\022" + - "3.google.cloud.talent.v4beta1.BatchUpdat" + - "eJobsRequest\032\035.google.longrunning.Operat" + - "ion\"\263\001\202\323\344\223\002p\"7/v4beta1/{parent=projects/" + - "*/tenants/*}/jobs:batchUpdate:\001*Z2\"-/v4b" + - "eta1/{parent=projects/*}/jobs:batchUpdat" + - "e:\001*\332A\013parent,jobs\312A,\n\022JobOperationResul" + - "t\022\026BatchOperationMetadata\022\263\001\n\tDeleteJob\022" + - "-.google.cloud.talent.v4beta1.DeleteJobR" + - "equest\032\026.google.protobuf.Empty\"_\202\323\344\223\002R*+" + - "/v4beta1/{name=projects/*/tenants/*/jobs" + - "/*}Z#*!/v4beta1/{name=projects/*/jobs/*}" + - "\332A\004name\022\344\001\n\017BatchDeleteJobs\0223.google.clo" + - "ud.talent.v4beta1.BatchDeleteJobsRequest" + - "\032\026.google.protobuf.Empty\"\203\001\202\323\344\223\002m\"7/v4be" + - "ta1/{parent=projects/*/tenants/*}/jobs:b" + - "atchDelete:\001*Z/\"-/v4beta1/{parent=projec" + - "ts/*}/jobs:batchDelete\332A\rparent,filter\022\321" + - "\001\n\010ListJobs\022,.google.cloud.talent.v4beta" + - "1.ListJobsRequest\032-.google.cloud.talent." + - "v4beta1.ListJobsResponse\"h\202\323\344\223\002R\022+/v4bet" + - "a1/{parent=projects/*/tenants/*}/jobsZ#\022" + - "!/v4beta1/{parent=projects/*}/jobs\332A\rpar" + - "ent,filter\022\333\001\n\nSearchJobs\022..google.cloud" + - ".talent.v4beta1.SearchJobsRequest\032/.goog" + - "le.cloud.talent.v4beta1.SearchJobsRespon" + - "se\"l\202\323\344\223\002f\"2/v4beta1/{parent=projects/*/" + - "tenants/*}/jobs:search:\001*Z-\"(/v4beta1/{p" + - "arent=projects/*}/jobs:search:\001*\022\363\001\n\022Sea" + - "rchJobsForAlert\022..google.cloud.talent.v4" + - "beta1.SearchJobsRequest\032/.google.cloud.t" + - "alent.v4beta1.SearchJobsResponse\"|\202\323\344\223\002v" + - "\":/v4beta1/{parent=projects/*/tenants/*}" + - "/jobs:searchForAlert:\001*Z5\"0/v4beta1/{par" + - "ent=projects/*}/jobs:searchForAlert:\001*\032l" + - "\312A\023jobs.googleapis.com\322AShttps://www.goo" + - "gleapis.com/auth/cloud-platform,https://" + - "www.googleapis.com/auth/jobsB}\n\037com.goog" + - "le.cloud.talent.v4beta1B\017JobServiceProto" + - "P\001ZAgoogle.golang.org/genproto/googleapi" + - "s/cloud/talent/v4beta1;talent\242\002\003CTSb\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(), - com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(), - com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateJobRequest_descriptor, - new java.lang.String[] { "Parent", "Job", }); - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateJobRequest_descriptor, - new java.lang.String[] { "Job", "UpdateMask", }); - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchDeleteJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", }); - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageToken", "PageSize", "JobView", }); - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListJobsResponse_descriptor, - new java.lang.String[] { "Jobs", "NextPageToken", "Metadata", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor, - new java.lang.String[] { "Parent", "SearchMode", "RequestMetadata", "JobQuery", "EnableBroadening", "RequirePreciseResultSize", "HistogramQueries", "JobView", "Offset", "PageSize", "PageToken", "OrderBy", "DiversificationLevel", "CustomRankingInfo", "DisableKeywordMatch", "KeywordMatchMode", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsRequest_CustomRankingInfo_descriptor, - new java.lang.String[] { "ImportanceLevel", "RankingExpression", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor, - new java.lang.String[] { "MatchingJobs", "HistogramQueryResults", "NextPageToken", "LocationFilters", "EstimatedTotalSize", "TotalSize", "Metadata", "BroadenedQueryJobsCount", "SpellCorrection", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_MatchingJob_descriptor, - new java.lang.String[] { "Job", "JobSummary", "JobTitleSnippet", "SearchTextSnippet", "CommuteInfo", }); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor = - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_SearchJobsResponse_CommuteInfo_descriptor, - new java.lang.String[] { "JobLocation", "TravelDuration", }); - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchCreateJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Jobs", }); - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_BatchUpdateJobsRequest_descriptor, - new java.lang.String[] { "Parent", "Jobs", "UpdateMask", }); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor, - new java.lang.String[] { "JobResults", }); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor = - internal_static_google_cloud_talent_v4beta1_JobOperationResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_JobOperationResult_JobResult_descriptor, - new java.lang.String[] { "Job", "Status", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.FiltersProto.getDescriptor(); - com.google.cloud.talent.v4beta1.HistogramProto.getDescriptor(); - com.google.cloud.talent.v4beta1.JobResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java deleted file mode 100644 index 31ba88ad4a46..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantResourceProto.java +++ /dev/null @@ -1,70 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant.proto - -package com.google.cloud.talent.v4beta1; - -public final class TenantResourceProto { - private TenantResourceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/talent/v4beta1/tenant.pro" + - "to\022\033google.cloud.talent.v4beta1\032\037google/" + - "api/field_behavior.proto\032\031google/api/res" + - "ource.proto\"\303\002\n\006Tenant\022\014\n\004name\030\001 \001(\t\022\030\n\013" + - "external_id\030\002 \001(\tB\003\340A\002\022E\n\nusage_type\030\003 \001" + - "(\01621.google.cloud.talent.v4beta1.Tenant." + - "DataUsageType\0224\n,keyword_searchable_prof" + - "ile_custom_attributes\030\004 \003(\t\"N\n\rDataUsage" + - "Type\022\037\n\033DATA_USAGE_TYPE_UNSPECIFIED\020\000\022\016\n" + - "\nAGGREGATED\020\001\022\014\n\010ISOLATED\020\002:D\352AA\n\032jobs.g" + - "oogleapis.com/Tenant\022#projects/{project}" + - "/tenants/{tenant}B\201\001\n\037com.google.cloud.t" + - "alent.v4beta1B\023TenantResourceProtoP\001ZAgo" + - "ogle.golang.org/genproto/googleapis/clou" + - "d/talent/v4beta1;talent\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_Tenant_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_Tenant_descriptor, - new java.lang.String[] { "Name", "ExternalId", "UsageType", "KeywordSearchableProfileCustomAttributes", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java b/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java deleted file mode 100644 index a0b1d6283d02..000000000000 --- a/owl-bot-staging/java-talent/v4beta1/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/TenantServiceProto.java +++ /dev/null @@ -1,180 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/talent/v4beta1/tenant_service.proto - -package com.google.cloud.talent.v4beta1; - -public final class TenantServiceProto { - private TenantServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/talent/v4beta1/tenant_ser" + - "vice.proto\022\033google.cloud.talent.v4beta1\032" + - "\034google/api/annotations.proto\032\027google/ap" + - "i/client.proto\032\037google/api/field_behavio" + - "r.proto\032\031google/api/resource.proto\032(goog" + - "le/cloud/talent/v4beta1/common.proto\032(go" + - "ogle/cloud/talent/v4beta1/tenant.proto\032\033" + - "google/protobuf/empty.proto\032 google/prot" + - "obuf/field_mask.proto\"\224\001\n\023CreateTenantRe" + - "quest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudreso" + - "urcemanager.googleapis.com/Project\0228\n\006te" + - "nant\030\002 \001(\0132#.google.cloud.talent.v4beta1" + - ".TenantB\003\340A\002\"D\n\020GetTenantRequest\0220\n\004name" + - "\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/Tena" + - "nt\"\200\001\n\023UpdateTenantRequest\0228\n\006tenant\030\001 \001" + - "(\0132#.google.cloud.talent.v4beta1.TenantB" + - "\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.proto" + - "buf.FieldMask\"G\n\023DeleteTenantRequest\0220\n\004" + - "name\030\001 \001(\tB\"\340A\002\372A\034\n\032jobs.googleapis.com/" + - "Tenant\"\200\001\n\022ListTenantsRequest\022C\n\006parent\030" + - "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + - "leapis.com/Project\022\022\n\npage_token\030\002 \001(\t\022\021" + - "\n\tpage_size\030\003 \001(\005\"\245\001\n\023ListTenantsRespons" + - "e\0224\n\007tenants\030\001 \003(\0132#.google.cloud.talent" + - ".v4beta1.Tenant\022\027\n\017next_page_token\030\002 \001(\t" + - "\022?\n\010metadata\030\003 \001(\0132-.google.cloud.talent" + - ".v4beta1.ResponseMetadata2\240\007\n\rTenantServ" + - "ice\022\246\001\n\014CreateTenant\0220.google.cloud.tale" + - "nt.v4beta1.CreateTenantRequest\032#.google." + - "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\002)\"$/v4" + - "beta1/{parent=projects/*}/tenants:\001*\332A\rp" + - "arent,tenant\022\224\001\n\tGetTenant\022-.google.clou" + - "d.talent.v4beta1.GetTenantRequest\032#.goog" + - "le.cloud.talent.v4beta1.Tenant\"3\202\323\344\223\002&\022$" + - "/v4beta1/{name=projects/*/tenants/*}\332A\004n" + - "ame\022\246\001\n\014UpdateTenant\0220.google.cloud.tale" + - "nt.v4beta1.UpdateTenantRequest\032#.google." + - "cloud.talent.v4beta1.Tenant\"?\202\323\344\223\00202+/v4" + - "beta1/{tenant.name=projects/*/tenants/*}" + - ":\001*\332A\006tenant\022\215\001\n\014DeleteTenant\0220.google.c" + - "loud.talent.v4beta1.DeleteTenantRequest\032" + - "\026.google.protobuf.Empty\"3\202\323\344\223\002&*$/v4beta" + - "1/{name=projects/*/tenants/*}\332A\004name\022\247\001\n" + - "\013ListTenants\022/.google.cloud.talent.v4bet" + - "a1.ListTenantsRequest\0320.google.cloud.tal" + - "ent.v4beta1.ListTenantsResponse\"5\202\323\344\223\002&\022" + - "$/v4beta1/{parent=projects/*}/tenants\332A\006" + - "parent\032l\312A\023jobs.googleapis.com\322AShttps:/" + - "/www.googleapis.com/auth/cloud-platform," + - "https://www.googleapis.com/auth/jobsB\200\001\n" + - "\037com.google.cloud.talent.v4beta1B\022Tenant" + - "ServiceProtoP\001ZAgoogle.golang.org/genpro" + - "to/googleapis/cloud/talent/v4beta1;talen" + - "t\242\002\003CTSb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(), - com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_CreateTenantRequest_descriptor, - new java.lang.String[] { "Parent", "Tenant", }); - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_GetTenantRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_UpdateTenantRequest_descriptor, - new java.lang.String[] { "Tenant", "UpdateMask", }); - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_DeleteTenantRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListTenantsRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", "PageSize", }); - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_talent_v4beta1_ListTenantsResponse_descriptor, - new java.lang.String[] { "Tenants", "NextPageToken", "Metadata", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.talent.v4beta1.CommonProto.getDescriptor(); - com.google.cloud.talent.v4beta1.TenantResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -}